]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb/
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
62747a60
TT
12012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2
3 * gdb.mi/mi-fill-memory.exp: New test.
4
18a9fc12
TT
52012-11-12 Tom Tromey <tromey@redhat.com>
6
7 * gdb.base/completion.exp: Update for "info type-printers".
8 * gdb.python/py-typeprint.cc: New file.
9 * gdb.python/py-typeprint.exp: New file.
10 * gdb.python/py-typeprint.py: New file.
11
bd69fc68
TT
122012-11-12 Tom Tromey <tromey@redhat.com>
13
14 * gdb.base/call-sc.exp: Use "ptype/r".
15 * gdb.base/volatile.exp: Don't expect "int".
16 * gdb.cp/ptype-flags.cc: New file.
17 * gdb.cp/ptype-flags.exp: New file.
18 * gdb.cp/templates.exp: Use ptype/r.
19 (test_ptype_of_templates, test_template_typedef): Likewise.
20 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
21 argument. Handle template names and template parameters.
22 * gdb.mi/mi-var-cmd.exp: Accept "long".
23 * gdb.mi/mi-var-child.exp: Accept "long".
24 * gdb.mi/mi-var-display.exp: Accept "long".
25 * gdb.mi/mi2-var-child.exp: Accept "long".
26
b3720c3a
TT
272012-11-12 Tom Tromey <tromey@redhat.com>
28
29 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
30 "ptype" from calls to cp_test_ptype_class.
31 (test_enums): Likewise.
32 * gdb.cp/derivation.exp: Remove "ptype" from calls to
33 cp_test_ptype_class.
34 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
35 calls to cp_test_ptype_class.
36 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
37 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
38 from calls to cp_test_ptype_class.
39 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
40 command here. Change "in_command" argument to "in_exp".
41
0d63ecda
KS
422012-11-10 Keith Seitz <keiths@redhat.com>
43
44 PR gdb/14288
45 * gdb.base/printcmds.c: Add invalid_XXX globals
46 for repeated byte tests.
47 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
48 * gdb.base/wchar.c (main): Add and construct a wchar_t
49 array with repeated characters.
50 * gdb.base/wchar.exp: Add repeated character tests.
51
ed8a1c2d
AB
522012-11-09 Andrew Burgess <aburgess@broadcom.com>
53
54 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
55 disassembly output.
56
9107fc8d
PA
572012-11-09 Pedro Alves <palves@redhat.com>
58
59 PR gdb/14306
60
61 * gdb.multi/multi-arch-exec.c: New file.
62 * gdb.multi/multi-arch-exec.exp: New file.
63
558a9d82
YQ
642012-11-09 Yao Qi <yao@codesourcery.com>
65
66 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
67 (top level): Call it.
68
e714f336
YQ
692012-11-09 Yao Qi <yao@codesourcery.com>
70
71 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
72 typo.
73
6ecd4729
PA
742012-11-09 Pedro Alves <palves@redhat.com>
75
76 * gdb.multi/multi-arch.exp: New.
77
9015683b
TT
782012-11-08 Tom Tromey <tromey@redhat.com>
79
80 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
81 core files, if possible.
82 * gdb.base/siginfo-thread.c: New file
83 * gdb.base/siginfo-thread.exp: New file
84
ea9f10bb
TT
852012-11-08 Tom Tromey <tromey@redhat.com>
86
87 * gdb.base/comprdebug.exp: New file.
88
f6592439
PA
892012-11-06 Pedro Alves <palves@redhat.com>
90
91 PR gdb/14810
92
93 * gdb.base/disabled-location.c: New file.
94 * gdb.base/disabled-location.exp: New file.
95
2d338fa9
TT
962012-11-06 Tom Tromey <tromey@redhat.com>
97
98 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
99 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
100 gdb_gcore_cmd.
101 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
102 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
103 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
104 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
105 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
106 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
107 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
108 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
109 * lib/gdb.exp (gdb_gcore_cmd): New proc.
110
68c9da30
PA
1112012-11-05 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
114 procedure.
115 (do_vfork_and_follow_child_tests_exec)
116 (do_vfork_and_follow_child_tests_exit): Call it.
117
a7c8c931
PA
1182012-11-05 Pedro Alves <palves@redhat.com>
119
120 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
121 fails.
122
6f6484cd
YQ
1232012-11-03 Yao Qi <yao@codesourcery.com>
124
125 Fix PR gdb/14617.
126 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
127 Remove setup_kfail, and update test.
128
b45627a0
TT
1292012-11-02 Tom Tromey <tromey@redhat.com>
130
131 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
132 test.
133
f50f4e56
PA
1342012-11-02 Pedro Alves <palves@redhat.com>
135
136 PR gdb/14766
137
138 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
139 setup_kfail.
140 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
141 get registers".
142
71ce889d
PA
1432012-11-02 Pedro Alves <palves@redhat.com>
144
145 * gdb.base/foll-vfork-exit.c: New file.
146 * gdb.base/foll-vfork.exp (top level): New file-describing
147 comment.
148 (vfork_child_follow_to_exit): New procedure.
149 (tcatch_vfork_then_child_follow): Rename as ...
150 (tcatch_vfork_then_child_follow_exec): ... this.
151 (tcatch_vfork_then_child_follow_exit): New procedure.
152 (do_vfork_and_follow_parent_tests): New procedure, factored out
153 from do_vfork_and_exec_tests.
154 (do_vfork_and_follow_child_tests_exec): Ditto.
155 (do_vfork_and_exec_tests): Delete.
156 (do_vfork_and_follow_child_tests_exit): New procedure.
157 (top level): Run tests with both the program that has the vfork
158 child execing, and the program has the vfork child exiting.
159
1e35b1a9
PA
1602012-11-02 Pedro Alves <palves@redhat.com>
161
162 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
163 (check_vfork_catchpoints, vfork_parent_follow_through_step)
164 (vfork_parent_follow_to_bp): Call it.
165 (kill_child): Delete.
166 (vfork_and_exec_child_follow_to_main_bp)
167 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
168 longer call kill_child.
169 (tcatch_vfork_then_parent_follow): Call setup_gdb.
170 (do_vfork_and_exec_tests): Don't runto_main before calling each
171 test procedure.
172 (top level): Don't clean restart and set verbose before running
173 each test procedure.
174
1752012-11-02 Pedro Alves <palves@redhat.com>
176
177 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
178 (vfork_parent_follow_to_bp)
179 (vfork_and_exec_child_follow_to_main_bp)
180 (vfork_and_exec_child_follow_through_step)
181 (tcatch_vfork_then_parent_follow)
182 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
183 Use with_test_prefix.
184
1852012-11-02 Pedro Alves <palves@redhat.com>
186
187 * gdb.base/foll-vfork.c: Add copyright header.
188 * gdb.base/vforked-prog.c: Add copyright header.
189
1902012-11-02 Pedro Alves <palves@redhat.com>
191
192 * gdb.base/foll-vfork.exp
193 (vfork_and_exec_child_follow_through_step): Don't skip on
194 non-HP/UX targets. Expect the next to only step one line on
195 non-HP/UX targets, rather than stopping only after the exec.
196
1972012-11-02 Pedro Alves <palves@redhat.com>
198
199 Don't hard code line numbers.
200
201 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
202 Expect text from the sources instead of a line number.
203 (vfork_parent_follow_to_bp)
204 (vfork_and_exec_child_follow_to_main_bp)
205 (vfork_and_exec_child_follow_through_step)
206 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
207 Use gdb_get_line_number.
208
2092012-11-02 Pedro Alves <palves@redhat.com>
210
211 Modernize.
212
213 * gdb.base/foll-vfork.exp: Use standard_testfile and
214 build_executable. Pass descriptive string to untested.
215 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
216 (vfork_and_exec_child_follow_to_main_bp)
217 (vfork_and_exec_child_follow_through_step)
218 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
219 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
220 of send_gdb/gdb_expect.
221
222 (kill_child): New procedure.
223 (vfork_and_exec_child_follow_to_main_bp)
224 (vfork_and_exec_child_follow_through_step): Use it.
225
f0559fff
YQ
2262012-11-02 Yao Qi <yao@codesourcery.com>
227
228 * gdb.base/setvar.exp: Test setting nested struct.
229 * gdb.base/setvar.c (v_struct3): New.
230
c207c6da
DE
2312012-11-01 Doug Evans <dje@google.com>
232
233 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
234 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
235 use them.
236
2f27adfe
AB
2372012-10-31 Andrew Burgess <aburgess@broadcom.com>
238
239 PR cli/14772
240 * gdb.base/gnu_vector.c (union_with_vector_1)
241 (struct_with_vector_1): Add new struct and union for testing
242 ptype.
243 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
244 structs / unions containing vectors.
245
bb662ca6
YQ
2462012-10-25 Yao Qi <yao@codesourcery.com>
247
248 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
249 'setup_kfail' instead of 'setup_kfail_for_target'.
250 * gdb.base/varargs.exp: Likewise.
251 * lib/gdb.exp (setup_kfail_for_target): Remove.
252
635d23ff
MK
2532012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
254
255 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
256
afdb064f
MK
2572012-10-25 Mark Kettenis <kettenis@gnu.org>
258
259 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
260
d99dcf51
JB
2612012-10-24 Joel Brobecker <brobecker@adacore.com>
262
263 * gdb.ada/set_wstr: New testcase.
264
32560274
JB
2652012-10-24 Joel Brobecker <brobecker@adacore.com>
266
267 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
268
5ded5331
JB
2692012-10-24 Joel Brobecker <brobecker@adacore.com>
270
271 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
272
d8d84291
MK
2732012-10-24 Mark Kettenis <kettenis@gnu.org>
274
275 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
276
6e933c51
JK
2772012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
278
279 * gdb.base/callfuncs.exp (do_function_calls): Fix
280 setup_kfail_for_target for -m32 mode.
281
274bd000
MK
2822012-10-23 Mark Kettenis <kettenis@gnu.org>
283
284 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
285 are now fixed.
286
545f743d
YQ
2872012-10-23 Yao Qi <yao@codesourcery.com>
288
289 * gdb.base/info-os.exp: Resume the inferior until it exits.
290
48b56b6a 2912012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
292
99c7d5a8 293 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
294 * gdb.base/print-file-var.exp: Likewise.
295 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 296
8de0566d
YQ
2972012-10-17 Yao Qi <yao@codesourcery.com>
298
299 * gdb.mi/mi-memory-changed.exp: New.
300
44883546
YQ
3012012-10-16 Yao Qi <yao@codesourcery.com>
302
303 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
304 returns true.
305 Call gdb_load_shlibs.
306 * gdb.reverse/solib-reverse.exp: Likewise.
307
345f514a
KS
3082012-10-15 Keith Seitz <keiths@redhat.com>
309
310 * lib/cp-support.exp (cp_test_ptype_class): Add support
311 for class typedefs.
312
313 * gdb.cp/derivation.exp: Add tests for g_instance.
314
9e3a7d65
JK
3152012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
316
317 Fix entry values resolving in inlined frames.
318 * gdb.arch/amd64-entry-value-inline.S: New file.
319 * gdb.arch/amd64-entry-value-inline.c: New file.
320 * gdb.arch/amd64-entry-value-inline.exp: New file.
321
21a7b089
JK
3222012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
323 Doug Evans <dje@google.com>
324
325 Fix recent gdb_breakpoint regression.
326 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
327 braces from the parameter.
328 * gdb.java/jprint.exp: Likewise.
329
2c47921e
DE
3302012-10-15 Doug Evans <dje@google.com>
331
332 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
333
89398707
JB
3342012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
335
336 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
337
801e4185
TT
3382012-10-15 Tom Tromey <tromey@redhat.com>
339
340 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
341
74f910c8
TT
3422012-10-15 Tom Tromey <tromey@redhat.com>
343
344 * gdb.python/py-symbol.exp: Test symbol destructor.
345
91567807
YQ
3462012-10-14 Yao Qi <yao@codesourcery.com>
347
348 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
349 * gdb.mi/mi-cli.exp: New.
350
351 * gdb.mi/mi2-basics.exp: Remove.
352 * gdb.mi/mi2-break.exp: Remove.
353 * gdb.mi/mi2-console.exp: Remove.
354 * gdb.mi/mi2-disassemble.exp: Remove.
355 * gdb.mi/mi2-eval.exp: Remove.
356 * gdb.mi/mi2-file.exp: Remove.
357 * gdb.mi/mi2-hack-cli.exp: Remove.
358 * gdb.mi/mi2-pthreads.exp: Remove.
359 * gdb.mi/mi2-read-memory.exp: Remove.
360 * gdb.mi/mi2-regs.exp: Remove.
361 * gdb.mi/mi2-return.exp: Remove.
362 * gdb.mi/mi2-simplerun.exp: Remove.
363 * gdb.mi/mi2-stack.exp: Remove.
364 * gdb.mi/mi2-stepi.exp: Remove.
365 * gdb.mi/mi2-syn-frame.exp: Remove.
366 * gdb.mi/mi2-until.exp: Remove.
367 * gdb.mi/mi2-watch.exp: Remove.
368 * gdb.mi/mi2-var-block.exp: Remove.
369 * gdb.mi/mi2-var-cmd.exp: Remove.
370 * gdb.mi/mi2-var-display.exp: Remove.
371
87332029
YQ
3722012-10-12 Yao Qi <yao@codesourcery.com>
373
374 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
375 trail '.*' on matching patterns.
376
11fc9057
L
3772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
378
379 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
380 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
381 * gdb.arch/i386-disp-step.exp: Likewise.
382 * gdb.arch/i386-gnu-cfi.exp: Likewise.
383 * gdb.arch/i386-prologue.exp: Likewise.
384 * gdb.arch/i386-size-overlap.exp: Likewise.
385 * gdb.arch/i386-size.exp: Likewise.
386 * gdb.arch/i386-unwind.exp: Likewise.
387
7d46bcdc
L
3882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
389
390 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
391 * gdb.arch/i386-word.exp: Likewise.
392
31224d9d
L
3932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
394
395 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
396 is_ilp32_target to set nr_regs.
397 * gdb.arch/i386-sse.exp: Likewise.
398
5b7d0050
DE
3992012-10-11 Doug Evans <dje@google.com>
400
7c09e5a0
DE
401 PR breakpoints/14643.
402 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
403 * gdb.linespec/thread.c: New file.
404 * gdb.linespec/thread.exp: New file.
405
5b7d0050
DE
406 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
407 Recognize "message" -> print pass and fail. Add eof case.
408 (runto): Recognize message, no-message. Print pass/fail if requested,
409 with same treatment as gdb_breakpoint.
410 (runto_main): Pass no-message to runto.
411 (gdb_internal_error_resync): Add log message.
412 (gdb_file_cmd): Tweak internal error fail text for consistency.
413
2e24f4aa
JK
4142012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 Fix crash during stepping on ppc32.
417 * gdb.base/step-symless.c: New file.
418 * gdb.base/step-symless.exp: New file.
419
aa14df25
DE
4202012-10-03 Doug Evans <dje@google.com>
421
422 PR symtab/14601
423 * gdb.cp/using-crash.exp: New file.
424 * gdb.cp/using-crash.cc: New file.
425
975531db
DE
4262012-10-02 Doug Evans <dje@google.com>
427
428 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
429 more consistent.
430 (runto,gdb_debug_format): Ditto.
431 (gdb_file_cmd): Watch for eof in nested gdb_expect.
432 Clean up logging and error messages.
433
b3dc46ff
AB
4342012-10-01 Andrew Burgess <aburgess@broadcom.com>
435
436 Test find command on unmapped memory.
437 * gdb.base/find-unmapped.c: New file.
438 * gdb.base/find-unmapped.exp: New file.
439
45814d45
YQ
4402012-09-29 Yao Qi <yao@codesourcery.com>
441
442 * gdb.trace/mi-tracepoint-changed.exp: New.
443 * gdb.mi/mi-breakpoint-changed.exp: New.
444 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
445 * gdb.mi/pendshr2.c: New.
446
4c2786ba
YQ
4472012-09-28 Yao Qi <yao@codesourcery.com>
448
449 * gdb.mi/pr11022.exp: New.
450 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
451
7977e5d2
TT
4522012-09-27 Tom Tromey <tromey@redhat.com>
453
454 * gdb.cp/derivation.exp: Add regression test.
455 * gdb.cp/derivation.cc (class V_base, class V_inter, class
456 V_derived): New.
457 (vderived): New global.
458
0971de02
TT
4592012-09-26 Tom Tromey <tromey@redhat.com>
460
461 * gdb.dwarf2/dw2-common-block.S: New file.
462 * gdb.dwarf2/dw2-common-block.exp: New file.
463
4357ac6c
TT
4642012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
465
466 * gdb.fortran/common-block.exp: New file.
467 * gdb.fortran/common-block.f90: New file.
468
6f380991
AB
4692012-09-26 Andrew Burgess <aburgess@broadcom.com>
470
471 * gdb.base/duplicate-bp.c: New file.
472 * gdb.base/duplicate-bp.exp: New file.
473
8ae551cf
YQ
4742012-09-26 Yao Qi <yao@codesourcery.com>
475
476 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
477
478 Revert:
479 2012-09-21 Yao Qi <yao@codesourcery.com>
480
481 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
482
318102b9
SP
4832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
484
485 * gdb.base/longest-types.c: New test case.
486 * gdb.base/longest-types.exp: New test case.
487
a1e5fd69
YQ
4882012-09-25 Yao Qi <yao@codesourcery.com>
489
490 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
491
04e7407c
JK
4922012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
493
494 Fix internal error on canonicalization of clang types.
495 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
496 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
497 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
498
9bf4bce9
JK
4992012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 Fix disassemble without parameters in tailcall frame.
502 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
503
2603f7ee
AB
5042012-09-21 Andrew Burgess <aburgess@broadcom.com>
505
506 * gdb.dwarf2/dw2-op-out-param.S: New file.
507 * gdb.dwarf2/dw2-op-out-param.exp: New file.
508
a3569abd
YQ
5092012-09-21 Yao Qi <yao@codesourcery.com>
510
511 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
512
a065d7af
YQ
5132012-09-21 Yao Qi <yao@codesourcery.com>
514
515 * gdb.mi/mi-cli.exp: Remove.
516 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
517
15544bd9
YQ
5182012-09-21 Yao Qi <yao@codesourcery.com>
519
520 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
521 "=record-started" notification.
522
82a90ccf
YQ
5232012-09-21 Yao Qi <yao@codesourcery.com>
524
525 * gdb.mi/mi-record-changed.exp: New.
526 * gdb.mi/mi-reverse.exp: Adjust expected output.
527
d7de8e3c
TT
5282012-09-20 Tom Tromey <tromey@redhat.com>
529
530 * gdb.python/python.exp: Test atexit.register.
531
1aa99537
DE
5322012-09-20 Doug Evans <dje@google.com>
533
05eade73
DE
534 * boards/dwarf4-gdb-index.exp: New file.
535
1aa99537
DE
536 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
537 while running the tests.
538
4ae24af0
JB
5392012-09-18 Joel Brobecker <brobecker@adacore.com>
540
541 * gdb.ada/bp_reset: New testcase.
542
bb25a15c
YQ
5432012-09-18 Yao Qi <yao@codesourcery.com>
544
545 * gdb.trace/mi-tsv-changed.exp: New.
546
201b4506
YQ
5472012-09-18 Yao Qi <yao@codesourcery.com>
548
549 * gdb.trace/mi-traceframe-changed.exp: New.
550
6fc1c773
YQ
5512012-09-17 Yao Qi <yao@codesourcery.com>
552
553 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
554 when it is less than 0.
555
1ab3b62c
JK
5562012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 PR 14119
559 * gdb.arch/amd64-tailcall-ret.S: New file.
560 * gdb.arch/amd64-tailcall-ret.c: New file.
561 * gdb.arch/amd64-tailcall-ret.exp: New file.
562 * gdb.reverse/amd64-tailcall-reverse.S: New file.
563 * gdb.reverse/amd64-tailcall-reverse.c: New file.
564 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
565
acf9414f
JK
5662012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
567
568 PR 14548
569 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
570 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
571 * gdb.reverse/singlejmp-reverse.S: New file.
572 * gdb.reverse/singlejmp-reverse.c: New file.
573 * gdb.reverse/singlejmp-reverse.exp: New file.
574
666b578b
JK
5752012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
576
577 Fix compatibility with old GCC (~4.1).
578 * gdb.cp/converts.cc (my_enum_var): New variable.
579
42056501
AB
5802012-09-14 Andrew Burgess <aburgess@broadcom.com>
581
582 * gdb.xml/tdesc-regs.exp: Update expected output for new
583 vector_size syntax of vector types.
584
b9516fa1
YPK
5852012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
586
587 Refactor Python "gdb" module into a proper Python package, by
588 introducing a new "_gdb" module for code implemented in C, and
589 using reload/__import__ instead of exec.
590 * gdb.python/python.exp (Test stderr location): Update module
591 location of GDB-specific sys.stderr.
592 (Test stdout location): Ditto for sys.stdout.
593
18dc9ad8
JK
5942012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
595
596 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
597
ea3a9873
KS
5982012-09-12 Keith Seitz <keiths@redhat.com>
599
600 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
601 conversion statement.
602
5941debb
DE
6032012-09-12 Doug Evans <dje@google.com>
604
605 * gdb.base/help.exp: Remove testing of individual command help text,
606 too much of a maintenance burden. Instead, test the functionality
607 of "help" itself.
608
cfc35e02
DE
6092012-09-11 Doug Evans <dje@google.com>
610
3a0ed5d7
DE
611 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
612 breakpoint.
613
cfc35e02
DE
614 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
615 * gdb.dwarf2/fission-reread.S: Ditto.
616 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
617 * gdb.dwarf2/fission-reread.exp: Ditto.
618
350b1b26
AB
6192012-09-11 Andrew Burgess <aburgess@broadcom.com>
620
621 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
622
2fa15f23
JB
6232012-09-10 Joel Brobecker <brobecker@adacore.com>
624
625 * gdb.ada/optim_drec: New testcase.
626
09be558e
DE
6272012-09-10 Doug Evans <dje@google.com>
628
629 * boards/fission.exp: Explicitly mark "board" as not remote.
630
5b4f6e25
KS
6312012-09-10 Keith Seitz <keiths@redhat.com>
632
633 PR gdb/13483
634 * gdb.cp/converts.cc (A::A): Add ctor.
635 (A::member_): Add member.
636 (enum my_enum): New enumeration.
637 (main): Add calls to foo1_7 with various
638 permitted arguments.
639 * gdb.cp/converts.exp: Add tests for boolean
640 conversions permitted by the standard.
641
b4ca5ed9
YPK
6422012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
643
644 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
645 avoid spurious results due to ~/.gdbinit.
646 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
647 $INTERNAL_GDBFLAGS in run command.
648 * gdb.gdb/observer.exp (setup_test): Ditto.
649 * gdb.gdb/selftest.exp (test_with_self): Ditto.
650 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
651
d54b30bb
DE
6522012-09-06 Doug Evans <dje@google.com>
653
14910956
DE
654 * boards/fission.exp: New file.
655
d54b30bb
DE
656 * gdb.python/py-value.exp: Use clean_restart.
657
91b253e1
DE
6582012-09-05 Doug Evans <dje@google.com>
659
660 * gdb.base/info-macros.c: Fix whitespace.
661
1292279a
PA
6622012-08-28 Pedro Alves <palves@redhat.com>
663
664 PR gdb/14428
665
666 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
667
1c8cdcb1
JK
6682012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
669
670 * gdb.base/break-caller-line.c: New file.
671 * gdb.base/break-caller-line.exp: New file.
672
1e8e8b51
JK
6732012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
676 * gdb.arch/i386-cfi-notcurrent.S: New file.
677 * gdb.arch/i386-cfi-notcurrent.exp: New file.
678
1591a1e8
PA
6792012-08-27 Wei-cheng Wang <cole945@gmail.com>
680 Yao Qi <yao@codesourcery.com>
681 Pedro Alves <palves@redhat.com>
682
683 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
684 New procedures.
685 (top level): Add overlap checking tests.
686
4442ada7
TT
6872012-08-24 Tom Tromey <tromey@redhat.com>
688
689 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
690 gdb_test_multiple fails for other reasons.
691
e7d50cc9
YQ
6922012-08-24 Yao Qi <yao@codesourcery.com>
693
694 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
695
dfbd5e7b
PA
6962012-08-23 Pedro Alves <palves@redhat.com>
697
698 * gdb.base/help.exp: Adjust to "handle" help text change.
699
8d735b87
YQ
7002012-08-23 Yao Qi <yao@codesourcery.com>
701
702 * gdb.trace/disconnected-tracing.c (start, end): New.
703 (main): Call start and end.
704 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
705 existing tests into this proc.
706 (disconnected_tfind): New.
707
61b1d759
YQ
7082012-08-23 Yao Qi <yao@codesourcery.com>
709
710 * boards/native-gdbserver.exp (${board}_upload): New.
711 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
712 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
713 Execute tfile on remote target.
714 Copy trace file from target to host.
715
6ca1b147
JM
7162012-08-22 Joseph Myers <joseph@codesourcery.com>
717
718 * gdb.arch/thumb-bx-pc.S: New file.
719 * gdb.arch/thumb-bx-pc.exp: New file.
720
706e3705
TT
7212012-08-22 Tom Tromey <tromey@redhat.com>
722
723 * gdb.base/maint.exp: Update.
724
b4893d48
TT
7252012-08-22 Tom Tromey <tromey@redhat.com>
726
727 * lib/gdb.exp (skip_unwinder_tests): New proc.
728 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
729 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
730
45b7da81
TT
7312012-08-21 Tom Tromey <tromey@redhat.com>
732
733 * gdb.hp/gdb.aCC/exception.exp: Remove.
734
f94363d7
AP
735012-08-19 Andrew Pinski <apinski@cavium.com>
736
737 * gdb.arch/mips-octeon-bbit.c: New file.
738 * gdb.arch/mips-octeon-bbit.exp: New Test.
739
e5afdbd7
KS
740012-08-19 Keith Seitz <keiths@redhat.com>
741
742 PR c++/14365
743 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
744 * gdb.dwarf2/dw2-anon-mptr.S: New file.
745
c29e8b64
JK
7462012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
747
748 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
749 verbose -log by more specific untested call.
750
15a7e7bc
YQ
7512012-08-18 Yao Qi <yao@codesourcery.com>
752
753 * gdb.trace/tfind.exp: Move tests on various command help before
754 checking target supports trace.
755 Fix the expected output of 'help tfind end'.
756
a451cb65
KS
7572012-08-17 Keith Seitz <keiths@redhat.com>
758
759 PR c++/13356
760 * gdb.base/default.exp: Update all "check type" tests.
761 * gdb.base/help.exp: Likewise.
762 * gdb.base/setshow.exp: Likewise.
763 * gdb.cp/converts.cc (foo1_type_check): New function.
764 (foo2_type_check): New function.
765 (foo3_type_check): New function.
766 (main): Call new functions.
767 * converts.exp: Add tests for integer-to-pointer conversions
768 with/without strict type-checking.
769
dbf6a605
MF
7702012-08-16 Mike Frysinger <vapier@gentoo.org>
771
772 * gdb.base/help.exp: Update expected output.
773
0c92d8c1
JB
7742012-08-16 Joel Brobecker <brobecker@adacore.com>
775
776 * gdb.ada/rdv_wait: New testcase.
777
e56f7f42
JK
7782012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
779
780 * gdb.base/attach-twice.exp: Remove excessive ps exec.
781
f47f77df
DE
7822012-08-13 Doug Evans <dje@google.com>
783
e202d6e8 784 * gdb.base/help.exp: Update expected output.
f47f77df
DE
785 * gdb.base/default.exp: Update expected output of "show convenience".
786
a72c3253
DE
7872012-08-10 Doug Evans <dje@google.com>
788
789 * gdb.python/py-strfns.c: New file.
790 * gdb.python/py-strfns.exp: New file.
791 * gdb.python/py-type.exp (test_fields): Add vector tests.
792
de0bea00
MF
7932012-08-10 Mike Frysinger <vapier@gentoo.org>
794
795 PR cli/10436:
796 * gdb.base/completion.exp: Add tests for handle completion.
797
5b9afe8a
YQ
7982012-08-09 Yao Qi <yao@codesourcery.com>
799
800 * gdb.mi/mi-cmd-param-changed.exp: New.
801 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
802 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
803 * gdb.mi/mi2-prompt.exp: Likewise.
804
4f485ebc
DE
8052012-08-08 Doug Evans <dje@google.com>
806
807 * gdb.base/debug-expr.c: New file.
808 * gdb.base/debug-expr.exp: New file.
809 * gdb.base/exprs.exp: Test {type} casts.
810 * gdb.cp/debug-expr.exp: New file.
811
5888842d
JK
8122012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
815 global variable loop, not a 'break'. Add loop count limit to 100.
816 Add new fail case for terminated vgdb.
817
4f69f4c2
JK
8182012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
819 Jean-Marc Saffroy <saffroy@gmail.com>
820
821 PR 11804
822 * gdb.base/gcore-relro.exp: New file.
823 * gdb.base/gcore-relro-main.c: New file.
824 * gdb.base/gcore-relro-lib.c: New file.
825
e2de5390
JK
8262012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 Do not false FAIL with old GCCs.
829 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
830 GCC < 4.5 in $no_hw mode.
831
606603c5
JK
8322012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 * gdb.base/default.exp (cd): Accept new directory with no arguments.
835
777f26c2
JK
8362012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
837
838 * gdb.base/list.exp (test_only_end): New function.
839 Call it.
840
2c12abee
TT
8412012-08-06 Tom Tromey <tromey@redhat.com>
842
843 * gdb.python/py-mi.exp: Add test for printer whose children
844 are a list.
845 * gdb.python/py-prettyprint.c (struct children_as_list): New.
846 (main): New variable children_as_list.
847 * gdb.python/py-prettyprint.py (class pp_children_as_list):
848 New.
849 (register_pretty_printers): Register new printer.
850
0eae2cf4
EBM
8512012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
852
853 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
854 symbols. Abort if vgdb remote connection is closed.
855
09e0881d
DE
8562012-08-02 Doug Evans <dje@google.com>
857
858 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
859
b40f514f
SDJ
8602012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
861
862 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
863 s390x, PowerPC 64 and m68k-linux.
864
11315ae0
UW
8652012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
866
867 * gdb.base/annota1.exp: Accept no frames-invalid notification
868 when starting up the program.
869 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
870 show a symbolic value as well.
871 * gdb.server/server-exec-info.exp: Skip test when skipping
872 gdbserver test and/or when skipping shared library tests.
873 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
874 avoid name conflicts with other tests.
875
0547eeed
UW
8762012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
877
878 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
879 Fix wrong output on big-endian systems.
880 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
881 4-byte pointer types on 64-bit s390x.
882
bdddb4de
UW
8832012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
884
885 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
886 marker comment at the beginning (after intialization).
887 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
888 breakpoint on marker comment instead of function begin.
889 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
890 PowerPC.
891 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
892 or 64-bit PowerPC.
893 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
894 gdb,no_hardware_watchpoints flag is set.
895 (initialize): Remove now redundant can-use-hw-watchpoints change.
896
5d206025
YQ
8972012-08-02 Yao Qi <yao@codesourcery.com>
898 Pedro Alves <palves@redhat.com>
899
900 * boards/local-remote-host.exp: New.
901
4f665099
UW
9022012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
903
904 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
905 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
906 * gdb.base/print-file-var.exp: Likewise.
907 * gdb.server/solib-list.exp: Skip on remote targets.
908
b62e2b27
UW
9092012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
910
911 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
912 watchpoints on ARM. When expecting software watchpoints, tolerate
913 (remote) targets that report unsupported hardware watchpoint only
914 at continue time.
915 (test_wide_location_2): Likewise.
916
a967a851
JK
9172012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
918
919 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
920 valgrind versions.
921
75d9f9ff 9222012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
923
924 * gdb.base/valgrind-infcall.c: New file.
925 * gdb.base/valgrind-infcall.exp: New file.
926
75d9f9ff
JK
927 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
928
1c9f2ed2
KS
9292012-07-30 Keith Seitz <keiths@redhat.com>
930
931 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
932 linespecs.
933
7f9b2034
DE
9342012-07-30 Doug Evans <dje@google.com>
935
85220e01
DE
936 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
937 * gdb.dwarf2/pr13961.S: Ditto.
938
7f9b2034
DE
939 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
940
4e969b4f
AB
9412012-07-30 Andrew Burgess <aburgess@broadcom.com>
942
943 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
944 change its format immediately after reloading the binary.
945
e7de8362
JK
9462012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 Fix testsuite regression after --use-deprecated-index-sections removal.
949 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
950 string.
951 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
952
7255706c
YQ
9532012-07-27 Yao Qi <yao@codesourcery.com>
954
955 KFAIL for PR remote/14161.
956 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
957 Cleanup socket files.
958 (strace_info_marker): Detach inferior.
959
f2e8016f
TT
9602012-07-26 Tom Tromey <tromey@redhat.com>
961
962 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
963
f66713d2
JK
9642012-07-26 Markus Metzger <markus.t.metzger@intel.com>
965
966 * gdb.python/py-inferior.c (thread): New function.
967 (check_threads): New function.
968 (test_threads): New function.
969 * gdb.python/py-inferior.exp: Added test.
970 Replaced runto with continue to breakpoint.
971
8223e12c
TT
9722012-07-26 Tom Tromey <tromey@redhat.com>
973
974 * lib/ada.exp (standard_ada_testfile): New proc.
975 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
976 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
977 * gdb.ada/array_return.exp: Use standard_ada_testfile.
978 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
979 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
980 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
981 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
982 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
983 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
984 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
985 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
986 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
987 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
988 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
989 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
990 * gdb.ada/char_param.exp: Use standard_ada_testfile.
991 * gdb.ada/complete.exp: Use standard_ada_testfile.
992 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
993 standard_output_file.
994 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
995 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
996 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
997 standard_output_file.
998 * gdb.ada/exprs.exp: Use standard_ada_testfile.
999 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
1000 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
1001 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
1002 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
1003 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
1004 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
1005 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
1006 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
1007 * gdb.ada/homonym.exp: Use standard_ada_testfile.
1008 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
1009 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
1010 * gdb.ada/interface.exp: Use standard_ada_testfile.
1011 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
1012 standard_output_file
1013 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
1014 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
1015 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
1016 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
1017 * gdb.ada/nested.exp: Use standard_ada_testfile.
1018 * gdb.ada/null_array.exp: Use standard_ada_testfile.
1019 * gdb.ada/null_record.exp: Use standard_ada_testfile.
1020 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
1021 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
1022 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
1023 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
1024 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
1025 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
1026 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
1027 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
1028 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
1029 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
1030 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
1031 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
1032 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
1033 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
1034 * gdb.ada/start.exp: Use standard_ada_testfile.
1035 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
1036 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
1037 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
1038 * gdb.ada/tagged.exp: Use standard_ada_testfile.
1039 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
1040 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
1041 * gdb.ada/tasks.exp: Use standard_ada_testfile.
1042 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
1043 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
1044 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
1045 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
1046 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
1047 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
1048 * gdb.ada/widewide.exp: Use standard_ada_testfile.
1049
bbec57e4
JK
10502012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 Fix testsuite regression after --use-deprecated-index-sections removal.
1053 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
1054
9cc8e32c
JK
10552012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1056
1057 Fix compatibility with Tcl before 7.5.
1058 * lib/future.exp (lreverse): New function if it does not exist.
1059
ea5ca7b5
MK
10602012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
1061
1062 * gdb.mi/mi-pending.c: New method to set a second pending
1063 breakpoint.
1064 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
1065 condition.
1066
64776a0b
PA
10672012-07-20 Pedro Alves <palves@redhat.com>
1068
1069 PR threads/11692
1070 PR gdb/12203
1071
1072 * gdb.threads/create-fail.c: New file.
1073 * gdb.threads/create-fail.exp: New file.
1074
13e4e967
PA
10752012-07-19 Pedro Alves <palves@redhat.com>
1076
1077 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
1078 * config/vx.exp (gdb_start): Likewise.
1079 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
1080 * gdb.base/setvar.exp (test_set): Likewise.
1081 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
1082 * gdb.reverse/sigall-precsave.exp: Likewise.
1083 * gdb.reverse/sigall-reverse.exp: Likewise.
1084
b7aefa4d
PA
10852012-07-19 Pedro Alves <palves@redhat.com>
1086
1087 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
1088 handler before recording.
1089
608b4967
TT
10902012-07-19 Tom Tromey <tromey@redhat.com>
1091
1092 * gdb.cp/casts.exp: Add tests for typeof and decltype.
1093 * gdb.cp/casts.cc (decltype): New function.
1094 (main): Use it.
1095
b1e0c0fa
PA
10962012-07-19 Pedro Alves <palves@redhat.com>
1097
1098 * gdb.base/sigall.exp (signals): New list.
1099 <top level>: Loop over signals in the $signals list instead of
1100 calling a test function once per signal.
1101 * gdb.reverse/sigall-precsave.exp (signals): New list.
1102 <top level>: Loop over signals in the $signals list instead of
1103 calling a test function once per signal.
1104 * gdb.reverse/sigall-reverse.exp (signals): New list.
1105 <top level>: Loop over signals in the $signals list instead of
1106 calling a test function once per signal.
1107
6ace3df1
YQ
11082012-07-19 Yao Qi <yao@codesourcery.com>
1109
1110 * gdb.base/setshow.exp: Test 'set args ~'.
1111
263a0f8c
JK
11122012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1113
1114 * gdb.base/store.exp (check_set): Import gdb_prompt.
1115 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
1116 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
1117
8f043999
JK
11182012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 PR 11914
1121 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
1122 (main): Call eval_sub.
1123 * gdb.python/py-prettyprint.exp:
1124 (python execfile ('py-prettyprint.py')): Move it earlier.
1125 New breakpoint for eval-break.
1126 (continue to breakpoint: eval-break, info locals): New test.
1127 (python execfile ('py-prettyprint.py')): Move it from here.
1128 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
1129 (register_pretty_printers): Register pp_eval_type.
1130
725c7b66
JK
11312012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1132
1133 Fix a testcase regression by me.
1134 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
1135 DW_FORM_data4.
1136
4359dff1
JK
11372012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1138 Doug Evans <dje@google.com>
1139
1140 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
1141 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
1142
61e44cfa
JK
11432012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 Fix gdbserver run regression.
1146 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
1147
93c0ef37
TT
11482012-07-12 Tom Tromey <tromey@redhat.com>
1149
1150 * lib/gdb.exp (standard_testfile): Don't declare objdir.
1151 (clean_restart): Likewise.
1152 (core_find): Use standard_output_file.
1153
76027ef5
TT
11542012-07-12 Tom Tromey <tromey@redhat.com>
1155
1156 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
1157 * gdb.dwarf2/dw2-anonymous-func.exp: Use
1158 prepare_for_testing_full.
1159 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
1160 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
1161 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
1162 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
1163 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
1164 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
1165 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
1166 prepare_for_testing_full.
1167 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
1168 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
1169 prepare_for_testing_full.
1170 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
1171 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
1172 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
1173
85b4440a
TT
11742012-07-12 Tom Tromey <tromey@redhat.com>
1175
1176 * lib/gdb.exp (build_executable_from_specs): New proc, from
1177 build_executable.
1178 (build_executable): Use it.
1179 (prepare_for_testing_full): New proc.
1180
55baab26
TT
11812012-07-11 Tom Tromey <tromey@redhat.com>
1182
1183 * gdb.reverse/break-precsave.exp: Use standard_output_file.
1184 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
1185 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
1186 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
1187 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
1188 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
1189 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
1190 * gdb.reverse/step-precsave.exp: Use standard_output_file.
1191 * gdb.reverse/until-precsave.exp: Use standard_output_file.
1192 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
1193
298a9cf0
TT
11942012-07-10 Tom Tromey <tromey@redhat.com>
1195
1196 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
1197 standard_output_file.
1198 * gdb.mi/gdb2549.exp: Use standard_testfile.
1199 * gdb.mi/gdb669.exp: Use standard_testfile.
1200 * gdb.mi/gdb701.exp: Use standard_testfile.
1201 * gdb.mi/gdb792.exp: Use standard_testfile.
1202 * gdb.mi/mi-async.exp: Use standard_testfile.
1203 * gdb.mi/mi-basics.exp: Use standard_testfile.
1204 * gdb.mi/mi-break.exp: Use standard_testfile.
1205 * gdb.mi/mi-cli.exp: Use standard_testfile.
1206 * gdb.mi/mi-console.exp: Use standard_testfile.
1207 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
1208 * gdb.mi/mi-eval.exp: Use standard_testfile.
1209 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
1210 * gdb.mi/mi-file.exp: Use standard_testfile.
1211 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
1212 * gdb.mi/mi-logging.exp: Use standard_testfile.
1213 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
1214 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
1215 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
1216 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
1217 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
1218 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
1219 * gdb.mi/mi-pending.exp: Use standard_testfile,
1220 standard_output_file.
1221 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
1222 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
1223 * gdb.mi/mi-regs.exp: Use standard_testfile.
1224 * gdb.mi/mi-return.exp: Use standard_testfile.
1225 * gdb.mi/mi-reverse.exp: Use standard_testfile.
1226 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
1227 * gdb.mi/mi-solib.exp: Use standard_testfile,
1228 standard_output_file.
1229 * gdb.mi/mi-stack.exp: Use standard_testfile.
1230 * gdb.mi/mi-stepi.exp: Use standard_testfile.
1231 * gdb.mi/mi-stepn.exp: Use standard_testfile.
1232 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
1233 * gdb.mi/mi-until.exp: Use standard_testfile.
1234 * gdb.mi/mi-var-block.exp: Use standard_testfile.
1235 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
1236 * gdb.mi/mi-var-child.exp: Use standard_testfile.
1237 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
1238 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
1239 * gdb.mi/mi-var-display.exp: Use standard_testfile.
1240 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
1241 standard_output_file.
1242 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
1243 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
1244 * gdb.mi/mi-watch.exp: Use standard_testfile.
1245 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
1246 * gdb.mi/mi2-basics.exp: Use standard_testfile.
1247 * gdb.mi/mi2-break.exp: Use standard_testfile.
1248 * gdb.mi/mi2-cli.exp: Use standard_testfile.
1249 * gdb.mi/mi2-console.exp: Use standard_testfile.
1250 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
1251 * gdb.mi/mi2-eval.exp: Use standard_testfile.
1252 * gdb.mi/mi2-file.exp: Use standard_testfile.
1253 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
1254 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
1255 * gdb.mi/mi2-regs.exp: Use standard_testfile.
1256 * gdb.mi/mi2-return.exp: Use standard_testfile.
1257 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
1258 * gdb.mi/mi2-stack.exp: Use standard_testfile.
1259 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
1260 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
1261 * gdb.mi/mi2-until.exp: Use standard_testfile.
1262 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
1263 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
1264 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
1265 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
1266 * gdb.mi/mi2-watch.exp: Use standard_testfile.
1267
f5f3a911
TT
12682012-07-10 Tom Tromey <tromey@redhat.com>
1269
1270 * gdb.cp/abstract-origin.exp: Use standard_testfile.
1271 * gdb.cp/ambiguous.exp: Use standard_testfile,
1272 prepare_for_testing.
1273 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
1274 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
1275 * gdb.cp/anon-ns.exp: Use standard_testfile.
1276 * gdb.cp/anon-struct.exp: Use standard_testfile.
1277 * gdb.cp/anon-union.exp: Use standard_testfile,
1278 prepare_for_testing.
1279 * gdb.cp/arg-reference.exp: Use standard_testfile,
1280 prepare_for_testing.
1281 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
1282 * gdb.cp/breakpoint.exp: Use standard_testfile,
1283 prepare_for_testing.
1284 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
1285 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
1286 standard_output_file.
1287 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
1288 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
1289 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
1290 (test_static_members): Update.
1291 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
1292 * gdb.cp/converts.exp: Use standard_testfile.
1293 * gdb.cp/cp-relocate.exp: Use standard_testfile.
1294 * gdb.cp/cpcompletion.exp: Use standard_testfile,
1295 prepare_for_testing.
1296 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
1297 * gdb.cp/cplabel.exp: Use standard_testfile.
1298 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
1299 prepare_for_testing.
1300 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
1301 * gdb.cp/derivation.exp: Use standard_testfile,
1302 prepare_for_testing.
1303 * gdb.cp/destrprint.exp: Use standard_testfile.
1304 * gdb.cp/dispcxx.exp: Use standard_testfile.
1305 * gdb.cp/exception.exp: Use standard_testfile,
1306 prepare_for_testing.
1307 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
1308 * gdb.cp/extern-c.exp: Use standard_testfile,
1309 prepare_for_testing.
1310 * gdb.cp/formatted-ref.exp: Use standard_testfile,
1311 prepare_for_testing.
1312 * gdb.cp/fpointer.exp: Use standard_testfile.
1313 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
1314 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
1315 standard_output_file.
1316 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
1317 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
1318 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
1319 standard_output_file.
1320 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
1321 (do_tests): Update.
1322 * gdb.cp/koenig.exp: Use standard_testfile.
1323 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
1324 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
1325 * gdb.cp/m-static.exp: Use standard_testfile,
1326 prepare_for_testing.
1327 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
1328 * gdb.cp/mb-inline.exp: Use standard_testfile,
1329 prepare_for_testing.
1330 * gdb.cp/mb-templates.exp: Use standard_testfile,
1331 prepare_for_testing.
1332 * gdb.cp/member-ptr.exp: Use standard_testfile,
1333 prepare_for_testing.
1334 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
1335 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
1336 * gdb.cp/method2.exp: Use standard_testfile.
1337 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
1338 standard_output_file.
1339 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
1340 (do_tests): Update.
1341 * gdb.cp/namespace-enum.exp: Use standard_testfile,
1342 prepare_for_testing.
1343 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
1344 prepare_for_testing.
1345 * gdb.cp/namespace.exp: Use standard_testfile,
1346 prepare_for_testing.
1347 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
1348 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
1349 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
1350 * gdb.cp/nsimport.exp: Use standard_testfile,
1351 prepare_for_testing.
1352 * gdb.cp/nsnested.exp: Use standard_testfile.
1353 * gdb.cp/nsnoimports.exp: Use standard_testfile.
1354 * gdb.cp/nsrecurs.exp: Use standard_testfile,
1355 prepare_for_testing.
1356 * gdb.cp/nsstress.exp: Use standard_testfile,
1357 prepare_for_testing.
1358 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
1359 * gdb.cp/operator.exp: Use standard_testfile.
1360 * gdb.cp/oranking.exp: Use standard_testfile.
1361 * gdb.cp/overload-const.exp: Use standard_testfile.
1362 * gdb.cp/overload.exp: Use standard_testfile,
1363 prepare_for_testing.
1364 * gdb.cp/ovldbreak.exp: Use standard_testfile.
1365 * gdb.cp/ovsrch.exp: Use standard_testfile.
1366 * gdb.cp/paren-type.exp: Use standard_testfile.
1367 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
1368 prepare_for_testing.
1369 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
1370 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
1371 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
1372 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
1373 * gdb.cp/pr10728.exp: Use standard_testfile,
1374 standard_output_file.
1375 * gdb.cp/pr12028.exp: Use standard_testfile.
1376 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
1377 * gdb.cp/pr9167.exp: Use standard_testfile.
1378 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
1379 * gdb.cp/printmethod.exp: Use standard_testfile,
1380 prepare_for_testing.
1381 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
1382 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
1383 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
1384 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
1385 standard_output_file.
1386 * gdb.cp/readnow-language.exp: Use standard_testfile.
1387 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
1388 (gdb_start_again): Use clean_restart.
1389 * gdb.cp/ref-types.exp: Use standard_testfile,
1390 prepare_for_testing.
1391 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
1392 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
1393 * gdb.cp/smartp.exp: Use standard_testfile.
1394 * gdb.cp/static-method.exp: Use standard_testfile.
1395 * gdb.cp/static-print-quit.exp: Use standard_testfile.
1396 * gdb.cp/temargs.exp: Use standard_testfile.
1397 * gdb.cp/templates.exp: Use standard_testfile,
1398 prepare_for_testing.
1399 (do_tests): Update.
1400 * gdb.cp/try_catch.exp: Use standard_testfile,
1401 prepare_for_testing.
1402 * gdb.cp/typedef-operator.exp: Use standard_testfile.
1403 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
1404 * gdb.cp/virtbase.exp: Use standard_testfile,
1405 prepare_for_testing.
1406 * gdb.cp/virtfunc.exp: Use standard_testfile,
1407 prepare_for_testing.
1408 (do_tests): Update.
1409 * gdb.cp/virtfunc2.exp: Use standard_testfile,
1410 prepare_for_testing.
1411
686f09d0
TT
14122012-07-10 Tom Tromey <tromey@redhat.com>
1413
1414 * lib/gdb.exp (standard_testfile): Unset output variables from
1415 earlier invocations.
1416
9357e021
YQ
14172012-07-10 Yao Qi <yao@codesourcery.com>
1418
1419 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
1420 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
1421 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
1422 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
1423 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
1424 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
1425 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
1426 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
1427 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
1428 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
1429 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
1430 * gdb.mi/mi-var-display.exp: Likewise.
1431 * gdb.mi/mi-var-invalidate.exp: Likewise.
1432 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
1433 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
1434 * gdb.mi/mi2-console.exp: Likewise.
1435 * gdb.mi/mi2-disassemble.exp: Likewise.
1436 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
1437 * gdb.mi/mi2-read-memory.exp: Likewise.
1438 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
1439 * gdb.mi/mi2-simplerun.exp: Likewise.
1440 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
1441 * gdb.mi/mi2-syn-frame.exp: Likewise.
1442 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
1443 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
1444 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
1445
e314d629
TT
14462012-07-09 Tom Tromey <tromey@redhat.com>
1447
1448 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
1449 * gdb.base/callfuncs.exp: Add cast-based test.
1450 * gdb.base/callfuncs.c (voidfunc): New function.
1451
06928b3f
DE
14522012-07-08 Doug Evans <dje@google.com>
1453
1454 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
1455
32f11bad
JK
14562012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1457
1458 Fix XFAIL compatibility with old i386 systems.
1459 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
1460 Check also 'Cannot insert breakpoint 0'.
1461
76b83c51
JK
14622012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1463
1464 PR 14321
1465 * gdb.base/find.exp
1466 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
1467
a6fb9c08
TT
14682012-07-06 Tom Tromey <tromey@redhat.com>
1469
1470 * gdb.base/whatis.exp: Add test.
1471
71918a86
TT
14722012-07-06 Tom Tromey <tromey@redhat.com>
1473
1474 * gdb.base/whatis.exp: Add regression test.
1475
fcde5961
TT
14762012-07-06 Tom Tromey <tromey@redhat.com>
1477
1478 * gdb.base/whatis.exp: Add tests.
1479
f9cf0f4a
JK
14802012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1481
1482 PR 12649
1483 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
1484 gdb_test_multiple $gdb_prompt terminator.
1485
979ade8b
PA
14862012-07-04 Pedro Alves <palves@redhat.com>
1487
1488 * gdb.mi/mi-reverse.exp: Use supports_reverse and
1489 supports_process_record.
1490
8a980b44
PA
14912012-07-04 Pedro Alves <palves@redhat.com>
1492
1493 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
1494 endings.
1495 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
1496
855ba978
SS
14972012-07-03 Stan Shebs <stan@codesourcery.com>
1498
1499 * gdb.base/info-os.c (main): Retry resource acquisition until an
1500 available one is found.
1501 * gdb.base/info-os.exp: Collect resource keys from the program
1502 and use them in matching.
1503
fcb44371
JK
15042012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
1507 Wrap the test into loop for corefile and core0file.
1508
08a67be6
JK
15092012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
1512 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
1513 .note.GNU-stack.
1514
0f3c2347
JK
1515 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
1516
ff4a4500
SDJ
15172012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
1518
1519 * gdb.base/help.exp (help b, help br, help bre, help brea, help
1520 break): Include help message for the new `-probe' and `-probe-stap'
1521 options.
1522
d3ce09f5
SS
15232012-07-02 Stan Shebs <stan@codesourcery.com>
1524
1525 * gdb.base/dprintf.exp: Add agent style tests.
1526
a1624241
JK
15272012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1528
1529 * gdb.base/stale-infcall.c (infcall): New label test-next.
1530 (main): New labels test-pass and test-fail.
1531 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
1532 $test_fail_bpnum to test-fail.
1533 (test system longjmp tracking support): New test.
1534 Delete $test_fail_bpnum.
1535 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
1536 breakpoint.
1537
42e7ad6c
DE
15382012-06-30 Doug Evans <dje@google.com>
1539
1540 * gdb.dwarf2/fission-reread.S: New file.
1541 * gdb.dwarf2/fission-reread.exp: New file.
1542
37ce89eb
SS
15432012-06-28 Stan Shebs <stan@codesourcery.com>
1544
1545 * gdb.mi/mi-logging.exp: New file.
1546
e5ef252a
PA
15472012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1548 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.threads/siginfo-threads.exp: New file.
1551 * gdb.threads/siginfo-threads.c: New file.
1552 * gdb.threads/sigstep-threads.exp: New file.
1553 * gdb.threads/sigstep-threads.c: New file.
1554
22f1fbae
TT
15552012-06-28 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb.go/package.exp: Partially revert earlier patch; use
1558 gdb_compile again. Use standard_output_file.
1559
2e3cf129
DE
15602012-06-27 Doug Evans <dje@google.com>
1561
1562 * gdb.dwarf2/fission-base.c: New file.
1563 * gdb.dwarf2/fission-base.S: New file.
1564 * gdb.dwarf2/fission-base.exp: New file.
1565
785fd303
JK
15662012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1567
1568 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
1569
1bb9788d
TT
15702012-06-27 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
1573 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
1574
c83ee902
TT
15752012-06-27 Tom Tromey <tromey@redhat.com>
1576
1577 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
1578 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
1579 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
1580 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
1581 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
1582 prepare_for_testing.
1583 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
1584 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
1585 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
1586 standard_testfile.
1587 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
1588 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
1589 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
1590 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
1591 prepare_for_testing.
1592 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
1593 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
1594 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
1595 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
1596 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
1597 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
1598 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
1599 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
1600 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
1601 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
1602 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
1603 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
1604 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
1605 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
1606 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
1607 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
1608 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
1609 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
1610 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
1611 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
1612 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
1613 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
1614 standard_output_file.
1615 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
1616 standard_output_file.
1617 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
1618 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
1619 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
1620 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
1621 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
1622 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
1623 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
1624 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
1625 * gdb.dwarf2/implptr.exp: Use standard_testfile.
1626 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
1627 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
1628 * gdb.dwarf2/pieces.exp: Use standard_testfile.
1629 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
1630 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
1631 * gdb.dwarf2/valop.exp: Use standard_testfile,
1632 prepare_for_testing.
1633
5204774b
TT
16342012-06-27 Tom Tromey <tromey@redhat.com>
1635
1636 * gdb.python/python.exp: Fix regexps in pagination tests.
1637
ee0bf529
SCR
16382012-06-26 Siva Chandra Reddy <sivachandra@google.com>
1639
1640 * gdb.python/py-symtab.exp: Add tests to test the new attribute
1641 'last' of gdb.Symtab_and_line.
1642 * gdb.python/py-symbol.c: Move break point comment to enable
1643 testing of gdb.Symtab_and_line.last.
1644
14fcc022
TT
16452012-06-26 Tom Tromey <tromey@redhat.com>
1646
1647 * gdb.threads/step.c: Remove.
1648 * gdb.threads/step.exp: Remove.
1649 * gdb.threads/step2.exp: Remove.
1650
0efbbabc
TT
16512012-06-26 Tom Tromey <tromey@redhat.com>
1652
1653 * gdb.threads/watchpoint-fork.exp (test): Use
1654 standard_output_file. Don't declare objdir.
1655 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
1656 standard_output_file.
1657 * gdb.threads/attach-stopped.exp: Use standard_testfile.
1658 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
1659 clean_restart. Remove incdir.
1660 * gdb.threads/corethreads.exp: Use standard_testfile.
1661 * gdb.threads/execl.exp: Use standard_testfile,
1662 standard_output_file, clean_restart.
1663 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
1664 clean_restart.
1665 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
1666 clean_restart.
1667 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
1668 incdir.
1669 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
1670 clean_restart. Remove incdir.
1671 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
1672 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
1673 clean_restart. Remove incdir.
1674 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
1675 Remove incdir.
1676 * gdb.threads/leader-exit.exp: Use standard_testfile.
1677 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
1678 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
1679 clean_restart.
1680 * gdb.threads/manythreads.exp: Use standard_testfile,
1681 clean_restart. Remove incdir.
1682 * gdb.threads/multi-create.exp: Use standard_testfile,
1683 clean_restart.
1684 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
1685 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
1686 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
1687 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
1688 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
1689 * gdb.threads/pending-step.exp: Use standard_testfile,
1690 clean_restart. Remove incdir.
1691 * gdb.threads/print-threads.exp: Use standard_testfile,
1692 clean_restart. Remove incdir.
1693 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
1694 clean_restart. Remove incdir.
1695 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
1696 Remove incdir.
1697 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
1698 incdir.
1699 * gdb.threads/sigthread.exp: Use standard_testfile,
1700 clean_restart.
1701 * gdb.threads/staticthreads.exp: Use standard_testfile,
1702 clean_restart. Remove incdir.
1703 * gdb.threads/switch-threads.exp: Use standard_testfile,
1704 clean_restart. Remove incdir.
1705 * gdb.threads/thread-execl.exp: Use standard_testfile,
1706 clean_restart. Remove incdir.
1707 * gdb.threads/thread-find.exp: Use standard_testfile,
1708 clean_restart.
1709 * gdb.threads/thread-specific.exp: Use standard_testfile,
1710 clean_restart. Remove incdir.
1711 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
1712 clean_restart. Remove incdir.
1713 * gdb.threads/thread_check.exp: Use standard_testfile,
1714 clean_restart. Remove incdir.
1715 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
1716 incdir.
1717 * gdb.threads/threadapply.exp: Use standard_testfile,
1718 clean_restart. Remove incdir.
1719 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
1720 clean_restart. Remove incdir.
1721 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
1722 clean_restart.
1723 * gdb.threads/tls-shared.exp: Use standard_testfile,
1724 clean_restart, standard_output_file.
1725 * gdb.threads/tls-var.exp: Use standard_testfile,
1726 standard_output_file.
1727 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
1728 Remove incdir.
1729 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
1730 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
1731 incdir.
1732 * gdb.threads/watchthreads2.exp: Use standard_testfile,
1733 clean_restart. Remove incdir.
1734
497a5eb0
TT
17352012-06-26 Tom Tromey <tromey@redhat.com>
1736
1737 * gdb.trace/actions.exp: Use standard_testfile.
1738 * gdb.trace/ax.exp: Use standard_testfile.
1739 * gdb.trace/backtrace.exp: Use standard_testfile.
1740 * gdb.trace/change-loc.exp: Use standard_testfile.
1741 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
1742 * gdb.trace/collection.exp: Use standard_testfile,
1743 prepare_for_testing.
1744 * gdb.trace/deltrace.exp: Use standard_testfile.
1745 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
1746 * gdb.trace/ftrace.exp: Use standard_testfile.
1747 * gdb.trace/infotrace.exp: Use standard_testfile.
1748 * gdb.trace/packetlen.exp: Use standard_testfile.
1749 * gdb.trace/passc-dyn.exp: Use standard_testfile.
1750 * gdb.trace/passcount.exp: Use standard_testfile.
1751 * gdb.trace/pending.exp: Use standard_testfile.
1752 * gdb.trace/report.exp: Use standard_testfile.
1753 * gdb.trace/save-trace.exp: Use standard_testfile.
1754 * gdb.trace/stap-trace.exp: Use standard_testfile.
1755 * gdb.trace/status-stop.exp: Use standard_testfile.
1756 * gdb.trace/strace.exp: Use standard_testfile.
1757 * gdb.trace/tfile.exp: Use standard_testfile.
1758 * gdb.trace/tfind.exp: Use standard_testfile.
1759 * gdb.trace/trace-break.exp: Use standard_testfile.
1760 * gdb.trace/trace-mt.exp: Use standard_testfile.
1761 * gdb.trace/tracecmd.exp: Use standard_testfile.
1762 * gdb.trace/tspeed.exp: Use standard_testfile.
1763 * gdb.trace/tstatus.exp: Use standard_testfile.
1764 * gdb.trace/tsv.exp: Use standard_testfile.
1765 * gdb.trace/unavailable.exp: Use standard_testfile,
1766 prepare_for_testing.
1767 * gdb.trace/while-dyn.exp: Use standard_testfile.
1768 * gdb.trace/while-stepping.exp: Use standard_testfile.
1769
7686c074
TT
17702012-06-26 Tom Tromey <tromey@redhat.com>
1771
1772 * gdb.reverse/break-precsave.exp: Use standard_testfile.
1773 * gdb.reverse/break-reverse.exp: Use standard_testfile.
1774 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
1775 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
1776 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
1777 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
1778 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
1779 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
1780 prepare_for_testing.
1781 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
1782 prepare_for_testing.
1783 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
1784 prepare_for_testing.
1785 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
1786 prepare_for_testing.
1787 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
1788 prepare_for_testing
1789 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
1790 * gdb.reverse/machinestate.exp: Use standard_testfile.
1791 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
1792 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
1793 build_executable.
1794 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
1795 build_executable.
1796 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
1797 standard_output_file.
1798 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
1799 standard_output_file.
1800 * gdb.reverse/step-precsave.exp: Use standard_testfile.
1801 * gdb.reverse/step-reverse.exp: Use standard_testfile.
1802 * gdb.reverse/until-precsave.exp: Use standard_testfile.
1803 * gdb.reverse/until-reverse.exp: Use standard_testfile.
1804 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
1805 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
1806
481fc100
TT
18072012-06-26 Tom Tromey <tromey@redhat.com>
1808
1809 * gdb.stabs/weird.exp: Remove directory-checking code. Use
1810 standard_output_file.
1811 * gdb.stabs/exclfwd.exp: Use standard_testfile,
1812 prepare_for_testing. Remove directory-checking code.
1813
7bb18ae2
TT
18142012-06-25 Tom Tromey <tromey@redhat.com>
1815
1816 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1817 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1818 build_executable, not prepare_for_testing.
1819 * gdb.multi/base.exp: Use standard_output_file. Use
1820 build_executable, not prepare_for_testing.
1821
cf09b3e4
TT
18222012-06-25 Tom Tromey <tromey@redhat.com>
1823
1824 * gdb.fortran/subarray.exp: Use standard_testfile,
1825 prepare_for_testing.
1826 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1827 * gdb.fortran/module.exp: Use standard_testfile.
1828 * gdb.fortran/logical.exp: Use standard_testfile.
1829 * gdb.fortran/library-module.exp: Use standard_testfile,
1830 standard_output_file.
1831 * gdb.fortran/derived-type.exp: Use standard_testfile,
1832 prepare_for_testing.
1833 * gdb.fortran/complex.exp: Use standard_testfile,
1834 prepare_for_testing.
1835 * gdb.fortran/charset.exp: Use standard_testfile.
1836 * gdb.fortran/array-element.exp: Use standard_testfile,
1837 prepare_for_testing.
1838
18b5ff1b
KS
18392012-06-25 Keith Seitz <keiths@redhat.com>
1840
1841 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1842 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1843
17b77626
TT
18442012-06-25 Tom Tromey <tromey@redhat.com>
1845
1846 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1847 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1848 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1849 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1850
f91e3dc1
TT
18512012-06-25 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1854 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1855 * gdb.linespec/linespec.exp: Use standard_testfile.
1856
a884434d
TT
18572012-06-25 Tom Tromey <tromey@redhat.com>
1858
1859 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1860 prepare_for_testing.
1861
efc9d70a
TT
18622012-06-25 Tom Tromey <tromey@redhat.com>
1863
1864 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1865 prepare_for_testing.
1866 * gdb.opt/inline-break.exp: Use standard_testfile,
1867 prepare_for_testing.
1868 * gdb.opt/inline-bt.exp: Use standard_testfile,
1869 prepare_for_testing.
1870 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1871 prepare_for_testing.
1872 * gdb.opt/inline-locals.exp: Use standard_testfile,
1873 prepare_for_testing.
1874
e2fc92c6
TT
18752012-06-25 Tom Tromey <tromey@redhat.com>
1876
1877 * gdb.asm/asm-source.exp: Use standard_output_file,
1878 standard_testfile. Construct .o files in proper subdir.
1879
b0963d73
TT
18802012-06-25 Tom Tromey <tromey@redhat.com>
1881
1882 * gdb.server/ext-attach.exp: Use standard_testfile,
1883 prepare_for_testing.
1884 * gdb.server/ext-run.exp: Use standard_testfile,
1885 build_executable.
1886 * gdb.server/file-transfer.exp: Use standard_testfile,
1887 prepare_for_testing.
1888 * gdb.server/server-exec-info.exp: Use standard_testfile.
1889 * gdb.server/server-mon.exp: Use standard_testfile,
1890 prepare_for_testing.
1891 * gdb.server/server-run.exp: Use standard_testfile,
1892 build_executable.
1893 * gdb.server/solib-list.exp: Use standard_testfile,
1894 standard_output_file.
1895
8a3e1f8d
TT
18962012-06-25 Tom Tromey <tromey@redhat.com>
1897
1898 * lib/gdb.exp (standard_output_file): Use "file join".
1899 * gdb.go/chan.exp: Use standard_testfile.
1900 * gdb.go/handcall.exp: Use standard_testfile.
1901 * gdb.go/hello.exp: Use standard_testfile.
1902 * gdb.integers/chan.exp: Use standard_testfile.
1903 * gdb.go/methods.exp: Use standard_testfile.
1904 * gdb.go/package.exp: Use standard_testfile.
1905 * gdb.go/strings.exp: Use standard_testfile.
1906 * gdb.go/types.exp: Use standard_testfile.
1907 * gdb.go/unsafe.exp: Use standard_testfile.
1908
944a9061
MGD
19092012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1910
1911 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1912
1c06bd58
JK
19132012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1914
1915 Fix regression by the previous commit.
1916 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1917
b4a58790
TT
19182012-06-22 Tom Tromey <tromey@redhat.com>
1919
1920 * gdb.python/lib-types.exp: Use standard_testfile,
1921 prepare_for_testing.
1922 * gdb.python/py-block.exp: Use standard_testfile.
1923 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1924 * gdb.python/py-events.exp: Use standard_testfile,
1925 standard_output_file.
1926 * gdb.python/py-evsignal.exp: Use standard_testfile.
1927 * gdb.python/py-evethreads.exp: Use standard_testfile.
1928 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1929 * gdb.python/py-explore.exp: Use standard_testfile.
1930 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1931 standard_output_file.
1932 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1933 prepare_for_testing.
1934 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1935 * gdb.python/py-frame.exp: Use standard_testfile.
1936 * gdb.python/py-inferior.exp: Use standard_testfile.
1937 * gdb.python/py-infthread.exp: Use standard_testfile.
1938 * gdb.python/py-mi.exp: Use standard_testfile.
1939 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1940 build_executable.
1941 * gdb.python/py-objfile.exp: Use standard_testfile.
1942 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1943 prepare_for_testing.
1944 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1945 * gdb.python/py-progspace.exp: Use standard_testfile,
1946 build_executable.
1947 * gdb.python/py-prompt.exp: Use standard_testfile,
1948 build_executable.
1949 * gdb.python/py-section-script.exp: Use standard_testfile,
1950 build_executable.
1951 * gdb.python/py-shared.exp: Use standard_testfile,
1952 standard_output_file, clean_restart.
1953 * gdb.python/py-symbol.exp: Use standard_output_file,
1954 prepare_for_testing.
1955 * gdb.python/py-symtab.exp: Use standard_output_file,
1956 prepare_for_testing
1957 * gdb.python/py-template.exp: Use standard_testfile.
1958 * gdb.python/py-type.exp: Use standard_testfile.
1959 * gdb.python/py-value-cc.exp: Use standard_testfile.
1960 * gdb.python/py-value.exp: Use standard_testfile.
1961 * gdb.python/python.exp: Use standard_testfile, build_executable.
1962
2c44deac
TT
19632012-06-22 Tom Tromey <tromey@redhat.com>
1964
1965 * gdb.objc/basicclass.exp: Use standard_testfile.
1966 (do_objc_tests): Don't declare objdir.
1967 * gdb.objc/nondebug.exp: Use standard_testfile.
1968 (do_objc_tests): Don't declare objdir.
1969 * gdb.objc/objcdecode.exp: Use standard_testfile.
1970 (do_objc_tests): Don't declare objdir.
1971
c24ccbce
TT
19722012-06-22 Tom Tromey <tromey@redhat.com>
1973
1974 * gdb.java/jmain.exp: Use standard_testfile.
1975 * gdb.java/jmisc.exp: Use standard_testfile.
1976 * gdb.java/jnpe.exp: Use standard_testfile.
1977 * gdb.java/jprint.exp: Use standard_testfile.
1978
0a6d0306
TT
19792012-06-22 Tom Tromey <tromey@redhat.com>
1980
1981 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1982 (standard_output_file, standard_testfile): New procs.
1983 (build_executable, clean_restart): Use standard_output_file.
1984
6ea815ef
YQ
19852012-06-22 Yao Qi <yao@codesourcery.com>
1986
1987 * boards/native-gdbserver.exp: New proc ${board}_exec.
1988 * boards/native-stdio-gdbserver.exp: Likewise.
1989
4c93b1db
TT
19902012-06-21 Tom Tromey <tromey@redhat.com>
1991
1992 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1993 (build_executable): Update.
1994 (get_compiler_info): Remove 'binfile' argument.
1995 * gdb.ada/arrayidx.exp: Update.
1996 * gdb.ada/null_array.exp: Update.
1997 * gdb.arch/altivec-abi.exp: Update.
1998 * gdb.arch/altivec-regs.exp: Update.
1999 * gdb.arch/amd64-byte.exp: Update.
2000 * gdb.arch/amd64-dword.exp: Update.
2001 * gdb.arch/amd64-word.exp: Update.
2002 * gdb.arch/i386-avx.exp: Update.
2003 * gdb.arch/i386-byte.exp: Update.
2004 * gdb.arch/i386-sse.exp: Update.
2005 * gdb.arch/i386-word.exp: Update.
2006 * gdb.arch/ppc-dfp.exp: Update.
2007 * gdb.arch/ppc-fp.exp: Update.
2008 * gdb.arch/vsx-regs.exp: Update.
2009 * gdb.base/all-bin.exp: Update.
2010 * gdb.base/annota1.exp: Update.
2011 * gdb.base/async.exp: Update.
2012 * gdb.base/attach.exp: Update.
2013 * gdb.base/break-interp.exp: Update.
2014 * gdb.base/call-ar-st.exp: Update.
2015 * gdb.base/call-rt-st.exp: Update.
2016 * gdb.base/call-sc.exp: Update.
2017 * gdb.base/callfuncs.exp: Update.
2018 * gdb.base/catch-load.exp: Update.
2019 * gdb.base/completion.exp: Update.
2020 * gdb.base/complex.exp: Update.
2021 * gdb.base/condbreak.exp: Update.
2022 * gdb.base/consecutive.exp: Update.
2023 * gdb.base/constvars.exp: Update.
2024 * gdb.base/corefile.exp: Update.
2025 * gdb.base/eval-skip.exp: Update.
2026 * gdb.base/expand-psymtabs.exp: Update.
2027 * gdb.base/exprs.exp: Update.
2028 * gdb.base/fileio.exp: Update.
2029 * gdb.base/fixsection.exp: Update.
2030 * gdb.base/funcargs.exp: Update.
2031 * gdb.base/gdb11530.exp: Update.
2032 * gdb.base/gdb1555.exp: Update.
2033 * gdb.base/gnu-ifunc.exp: Update.
2034 * gdb.base/gnu_vector.exp: Update.
2035 * gdb.base/info-macros.exp: Update.
2036 * gdb.base/jit-simple.exp: Update.
2037 * gdb.base/jit-so.exp: Update.
2038 * gdb.base/jit.exp: Update.
2039 * gdb.base/langs.exp: Update.
2040 * gdb.base/list.exp: Update.
2041 * gdb.base/logical.exp: Update.
2042 * gdb.base/long_long.exp: Update.
2043 * gdb.base/longjmp.exp: Update.
2044 * gdb.base/macscp.exp: Update.
2045 * gdb.base/mips_pro.exp: Update.
2046 * gdb.base/miscexprs.exp: Update.
2047 * gdb.base/morestack.exp: Update.
2048 * gdb.base/nodebug.exp: Update.
2049 * gdb.base/opaque.exp: Update.
2050 * gdb.base/pc-fp.exp: Update.
2051 * gdb.base/pending.exp: Update.
2052 * gdb.base/permissions.exp: Update.
2053 * gdb.base/pointers.exp: Update.
2054 * gdb.base/prelink.exp: Update.
2055 * gdb.base/printcmds.exp: Update.
2056 * gdb.base/psymtab.exp: Update.
2057 * gdb.base/ptype.exp: Update.
2058 * gdb.base/relational.exp: Update.
2059 * gdb.base/scope.exp: Update.
2060 * gdb.base/setvar.exp: Update.
2061 * gdb.base/shlib-call.exp: Update.
2062 * gdb.base/shreloc.exp: Update.
2063 * gdb.base/signals.exp: Update.
2064 * gdb.base/sizeof.exp: Update.
2065 * gdb.base/so-impl-ld.exp: Update.
2066 * gdb.base/so-indr-cl.exp: Update.
2067 * gdb.base/solib-disc.exp: Update.
2068 * gdb.base/solib-display.exp: Update.
2069 * gdb.base/solib-nodir.exp: Update.
2070 * gdb.base/solib-overlap.exp: Update.
2071 * gdb.base/solib-symbol.exp: Update.
2072 * gdb.base/solib-weak.exp: Update.
2073 * gdb.base/solib.exp: Update.
2074 * gdb.base/store.exp: Update.
2075 * gdb.base/structs.exp: Update.
2076 * gdb.base/structs2.exp: Update.
2077 * gdb.base/type-opaque.exp: Update.
2078 * gdb.base/unload.exp: Update.
2079 * gdb.base/varargs.exp: Update.
2080 * gdb.base/volatile.exp: Update.
2081 * gdb.base/watch_thread_num.exp: Update.
2082 * gdb.base/watchpoint-solib.exp: Update.
2083 * gdb.base/watchpoint.exp: Update.
2084 * gdb.base/watchpoints.exp: Update.
2085 * gdb.base/whatis.exp: Update.
2086 * gdb.cell/arch.exp: Update.
2087 * gdb.cell/break.exp: Update.
2088 * gdb.cell/bt.exp: Update.
2089 * gdb.cell/core.exp: Update.
2090 * gdb.cell/data.exp: Update.
2091 * gdb.cell/ea-cache.exp: Update.
2092 * gdb.cell/f-regs.exp: Update.
2093 * gdb.cell/fork.exp: Update.
2094 * gdb.cell/gcore.exp: Update.
2095 * gdb.cell/mem-access.exp: Update.
2096 * gdb.cell/ptype.exp: Update.
2097 * gdb.cell/registers.exp: Update.
2098 * gdb.cell/sizeof.exp: Update.
2099 * gdb.cell/solib-symbol.exp: Update.
2100 * gdb.cell/solib.exp: Update.
2101 * gdb.cp/ambiguous.exp: Update.
2102 * gdb.cp/breakpoint.exp: Update.
2103 * gdb.cp/bs15503.exp: Update.
2104 * gdb.cp/casts.exp: Update.
2105 * gdb.cp/class2.exp: Update.
2106 * gdb.cp/cpexprs.exp: Update.
2107 * gdb.cp/cplusfuncs.exp: Update.
2108 * gdb.cp/ctti.exp: Update.
2109 * gdb.cp/dispcxx.exp: Update.
2110 * gdb.cp/gdb1355.exp: Update.
2111 * gdb.cp/gdb2384.exp: Update.
2112 * gdb.cp/gdb2495.exp: Update.
2113 * gdb.cp/infcall-dlopen.exp: Update.
2114 * gdb.cp/local.exp: Update.
2115 * gdb.cp/m-data.exp: Update.
2116 * gdb.cp/m-static.exp: Update.
2117 * gdb.cp/mb-ctor.exp: Update.
2118 * gdb.cp/mb-inline.exp: Update.
2119 * gdb.cp/mb-templates.exp: Update.
2120 * gdb.cp/member-ptr.exp: Update.
2121 * gdb.cp/method.exp: Update.
2122 * gdb.cp/namespace.exp: Update.
2123 * gdb.cp/nextoverthrow.exp: Update.
2124 * gdb.cp/nsdecl.exp: Update.
2125 * gdb.cp/nsrecurs.exp: Update.
2126 * gdb.cp/nsstress.exp: Update.
2127 * gdb.cp/nsusing.exp: Update.
2128 * gdb.cp/pr-1023.exp: Update.
2129 * gdb.cp/pr-1210.exp: Update.
2130 * gdb.cp/pr-574.exp: Update.
2131 * gdb.cp/pr9631.exp: Update.
2132 * gdb.cp/printmethod.exp: Update.
2133 * gdb.cp/psmang.exp: Update.
2134 * gdb.cp/re-set-overloaded.exp: Update.
2135 * gdb.cp/rtti.exp: Update.
2136 * gdb.cp/shadow.exp: Update.
2137 * gdb.cp/templates.exp: Update.
2138 * gdb.cp/try_catch.exp: Update.
2139 * gdb.dwarf2/dw2-ranges.exp: Update.
2140 * gdb.dwarf2/pr10770.exp: Update.
2141 * gdb.fortran/library-module.exp: Update.
2142 * gdb.hp/gdb.aCC/optimize.exp: Update.
2143 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
2144 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
2145 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
2146 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
2147 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
2148 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
2149 * gdb.hp/gdb.compat/xdb1.exp: Update.
2150 * gdb.hp/gdb.compat/xdb2.exp: Update.
2151 * gdb.hp/gdb.compat/xdb3.exp: Update.
2152 * gdb.hp/gdb.defects/bs14602.exp: Update.
2153 * gdb.hp/gdb.defects/solib-d.exp: Update.
2154 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
2155 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
2156 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
2157 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
2158 * gdb.mi/gdb792.exp: Update.
2159 * gdb.mi/mi-pending.exp: Update.
2160 * gdb.mi/mi-solib.exp: Update.
2161 * gdb.mi/mi-var-cp.exp: Update.
2162 * gdb.opt/clobbered-registers-O2.exp: Update.
2163 * gdb.opt/inline-bt.exp: Update.
2164 * gdb.opt/inline-cmds.exp: Update.
2165 * gdb.opt/inline-locals.exp: Update.
2166 * gdb.python/py-events.exp: Update.
2167 * gdb.python/py-finish-breakpoint.exp: Update.
2168 * gdb.python/py-type.exp: Update.
2169 * gdb.reverse/solib-precsave.exp: Update.
2170 * gdb.reverse/solib-reverse.exp: Update.
2171 * gdb.server/solib-list.exp: Update.
2172 * gdb.stabs/weird.exp: Update.
2173 * gdb.threads/attach-into-signal.exp: Update.
2174 * gdb.threads/attach-stopped.exp: Update.
2175 * gdb.threads/tls-shared.exp: Update.
2176 * gdb.trace/change-loc.exp: Update.
2177 * gdb.trace/strace.exp: Update.
2178
95c391b6
TT
21792012-06-19 Tom Tromey <tromey@redhat.com>
2180
2181 * gdb.base/whatis.exp: Add tests.
2182
e910f0b6
TT
21832012-06-19 Tom Tromey <tromey@redhat.com>
2184
2185 * gdb.cp/m-static.cc (keepalive): New function.
2186 (gnu_obj_1::method): Use it.
2187
422d65e7
DE
21882012-06-18 Doug Evans <dje@google.com>
2189
2190 * gdb.base/info-fun.exp: New file.
2191 * gdb.base/info-fun.c: New file.
2192 * gdb.base/info-fun-solib.c: New file.
2193
e2e4d78b
JK
21942012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2195
2196 Remove stale dummy frames.
2197 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
2198 (maintenance info breakpoints): New tests.
2199 * gdb.base/stale-infcall.c: New file.
2200 * gdb.base/stale-infcall.exp: New file.
2201
1788b2d3
JK
22022012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 * gdb.arch/amd64-entry-value-param.S: New file.
2205 * gdb.arch/amd64-entry-value-param.c: New file.
2206 * gdb.arch/amd64-entry-value-param.exp: New file.
2207
663b969e
TT
22082012-06-15 Tom Tromey <tromey@redhat.com>
2209
2210 * gdb.cp/namespace.exp: Add "show lang" test.
2211
8e09ad05
IS
22122012-06-15 Iain Sandoe <iain@codesourcery.com>
2213
2214 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
2215 case. (top level): Use gdb_file_cmd instead of gdb_load.
2216
f85e18ee
JK
22172012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2218
2219 PR tdep/14222
2220 * gdb.arch/i386-sse-stack-align.S: New file.
2221 * gdb.arch/i386-sse-stack-align.c: New file.
2222 * gdb.arch/i386-sse-stack-align.exp: New file.
2223
f3b5e280
KS
22242012-06-13 Keith Seitz <keiths@redhat.com>
2225
2226 PR breakpoints/13798 and mi/11541
2227 * gdb.linespec/ls-errs.exp: Add a few more tests for
2228 filenames with spaces and colons.
2229
50af5481
JK
22302012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2231
2232 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
2233 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
2234 (test_function): Call CV_f.
2235 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
2236 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
2237 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
2238 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
2239 (p CV_f(CV::i)): New tests.
2240
d55637df
TT
22412012-06-13 Tom Tromey <tromey@redhat.com>
2242
2243 * gdb.base/condbreak.exp: Add tests for "condition" completion.
2244
cc80f267
JK
22452012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2246
2247 Fix regression by the "ambiguous linespec" series.
2248 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
2249 tests.
2250
bb2af9cc
JK
22512012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2252
2253 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
2254 missing.
2255
e81a37f7
TT
22562012-06-11 Tom Tromey <tromey@redhat.com>
2257
2258 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
2259 location...
2260 (main): ...here.
2261
8efd7788
YQ
22622012-06-07 Yao Qi <yao@codesourcery.com>
2263
2264 * gdb.trace/strace.exp: Shorten some too-long lines.
2265
359f5fe6
PA
22662012-06-06 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.threads/clone-new-thread-event.c: New file.
2269 * gdb.threads/clone-new-thread-event.exp: New file.
2270
7b2fe205
YQ
22712012-06-06 Yao Qi <yao@codesourcery.com>
2272
2273 * gdb.base/dprintf.c (main): Add extra parameter when calling
2274 printf and fprintf.
2275 (bar): New function. It is a dead function, but to ensure
2276 'malloc' is linked explicitly.
2277
3eca55e8
YQ
22782012-06-06 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.base/info-proc.exp: Return if target doesn't support
2281 'info proc'.
2282
91cc9324
JK
22832012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2284
2285 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
2286 (run program with breakpoint commands): XFAIl if it is not.
2287
c56e7c43
JB
22882012-06-05 Joel Brobecker <brobecker@adacore.com>
2289
2290 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
2291 and add comment.
2292 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
2293 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
2294 "STOP" marker. Adjust testing strategy to make it work on
2295 all targets.
2296
2297 * gdb.base/print-file-var-main.c (main): Rewrite using local
2298 variables and adjust get_version_2's return value check.
2299 Add small comment.
2300 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
2301 marker. Adjust testing strategy to make it work on all targets.
2302
ccab2054
JB
23032012-06-05 Joel Brobecker <brobecker@adacore.com>
2304
2305 * gdb.ada/bad-task-bp-keyword: New testcase.
2306
d0d86158
JK
23072012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2308
2309 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
2310 Simplify it to ...
2311 (symbol-file ${testfile1}): ... here.
2312 (test eliminated var my_global_symbol)
2313 (test eliminated var my_static_symbol)
2314 (test eliminated var my_global_func, get address of main): Wrap them to
2315 'single psymtabs' and 'single symtabs'
2316 (get address of my_global_symbol, get address of my_static_symbol)
2317 (get address of my_global_func, get address of main): Wrap them to
2318 'order1' and 'order2'.
2319
952cf74c
JK
2320 * gdb.base/code_elim.exp
2321 (add-symbol-file ${testfile1} 0x100000)
2322 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
2323 'order2'.
2324 (order1: add-symbol-file ${testfile1} 0x100000)
2325 (order1: add-symbol-file ${testfile2} 0x200000)
2326 (order2: add-symbol-file ${testfile2} 0x200000)
2327 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
2328 .bss as appropriate.
2329
0c5bf5a9
JK
23302012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2331
2332 * gdb.server/solib-list-lib.c: New file.
2333 * gdb.server/solib-list-main.c: New file.
2334 * gdb.server/solib-list.exp: New file.
2335
4196f325
MR
23362012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
2337
2338 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
2339 for 'set print symbol' change.
2340
bfb05775
JK
23412012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2342
2343 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
2344 .debug_abbrev_seg3.
2345
685b1105
JK
23462012-05-24 John Steele Scott <toojays@toojays.net>
2347
2348 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
2349 * gdb.dwarf2/dw2-icc-opaque.S: New file.
2350 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
2351
f3e0e960
SS
23522012-05-23 Stan Shebs <stan@codesourcery.com>
2353
2354 * gdb.mi/mi-info-os.exp: New file.
2355
11eb1b4d
KS
23562012-05-23 Keith Seitz <keiths@redhat.com>
2357
2358 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
2359 return -1 to suppress the rest of the tests.
2360 (compile_stap_bin): Return boolean success value.
2361
b1af9e97
TT
23622012-05-21 Tom Tromey <tromey@redhat.com>
2363
2364 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
2365 Remove kfails.
2366 (test_print_mi_member_types): Likewise.
2367
248537e3
TT
23682012-05-21 Tom Tromey <tromey@redhat.com>
2369
2370 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
2371 print symbol' change.
2372
d791e155
TJB
23732012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
2374
2375 * gdb.python/py-prompt.exp: Quit if the target is remote.
2376
e77afa2e
JK
23772012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2378
2379 Fix ERROR: internal buffer is full.
2380 * gdb.base/info-os.exp (expect_multiline): New function.
2381 (get process list, get process groups, get threads)
2382 (get file descriptors, get internet-domain sockets)
2383 (get shared-memory regions, get semaphores, get message queues): Use
2384 it for these tests.
2385
9cb709b6
TT
23862012-05-18 Tom Tromey <tromey@redhat.com>
2387
2388 * gdb.mi/mi-var-cmd.exp: Update.
2389 * gdb.objc/basicclass.exp (do_objc_tests): Update.
2390 * gdb.cp/virtbase.exp: Update.
2391 * gdb.cp/classes.exp (test_static_members): Update.
2392 * gdb.cp/casts.exp: Update.
2393 * gdb.base/pointers.exp: Update.
2394 * gdb.base/funcargs.exp (pointer_args): Update.
2395 (structs_by_reference): Update.
2396 * gdb.base/find.exp: Update.
2397 * gdb.base/call-strs.exp: Send "set print symbol off".
2398 * gdb.base/call-ar-st.exp: Update.
2399 * gdb.ada/fun_addr.exp: Update.
2400 * gdb.base/printcmds.exp (test_print_symbol): New proc.
2401 Call it.
2402 (test_print_repeats_10, test_print_strings)
2403 (test_print_char_arrays): Update.
2404
b012acdd
TT
24052012-05-18 Tom Tromey <tromey@redhat.com>
2406
2407 * gdb.base/charset.exp (string_display): Update.
2408
1d51a733
TT
24092012-05-18 Tom Tromey <tromey@redhat.com>
2410
2411 * gdb.mi/mi2-var-display.exp: Update.
2412 * gdb.mi/mi-var-display.exp: Update.
2413 * gdb.mi/mi-var-child.exp: Update.
2414 * gdb.cp/expand-psymtabs-cxx.exp: Update.
2415 * gdb.cp/cp-relocate.exp (get_func_address): Update.
2416
957df313
DE
24172012-05-17 Doug Evans <dje@google.com>
2418
682c7f7b
DE
2419 * info-macros.exp: Pass "debug" to prepare_for_testing.
2420
957df313
DE
2421 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
2422 * gdb.ada/Makefile.in (clean): Ditto.
2423 * gdb.arch/Makefile.in (clean): Ditto.
2424 * gdb.asm/Makefile.in (clean): Ditto.
2425 * gdb.base/Makefile.in (clean): Ditto.
2426 * gdb.cell/Makefile.in (clean): Ditto.
2427 * gdb.cp/Makefile.in (clean): Ditto.
2428 * gdb.disasm/Makefile.in (clean): Ditto.
2429 * gdb.dwarf2/Makefile.in (clean): Ditto.
2430 * gdb.fortran/Makefile.in (clean): Ditto.
2431 * gdb.go/Makefile.in (clean): Ditto.
2432 * gdb.hp/Makefile.in (clean): Ditto.
2433 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
2434 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
2435 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
2436 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
2437 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
2438 * gdb.java/Makefile.in (clean): Ditto.
2439 * gdb.linespec/Makefile.in (clean): Ditto.
2440 * gdb.mi/Makefile.in (clean): Ditto.
2441 * gdb.modula2/Makefile.in (clean): Ditto.
2442 * gdb.multi/Makefile.in (clean): Ditto.
2443 * gdb.objc/Makefile.in (clean): Ditto.
2444 * gdb.opencl/Makefile.in (clean): Ditto.
2445 * gdb.opt/Makefile.in (clean): Ditto.
2446 * gdb.pascal/Makefile.in (clean): Ditto.
2447 * gdb.python/Makefile.in (clean): Ditto.
2448 * gdb.reverse/Makefile.in (clean): Ditto.
2449 * gdb.server/Makefile.in (clean): Ditto.
2450 * gdb.stabs/Makefile.in (clean): Ditto.
2451 * gdb.threads/Makefile.in (clean): Ditto.
2452 * gdb.trace/Makefile.in (clean): Ditto.
2453 * gdb.xml/Makefile.in (clean): Ditto.
2454
abc9d0dc
TT
24552012-05-16 Tom Tromey <tromey@redhat.com>
2456
2457 * gdb.base/macscp1.c (macscp_expr): Add comment.
2458 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
2459
6a3a010b
MR
24602012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2461
2462 * gdb.base/return-nodebug.exp: Also test float and double types.
2463
01429c8e
JK
24642012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 PR testsuite/12649
2467 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
2468
54115cd4
JK
2469 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
2470
0c5f383f
SDJ
24712012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
2472
2473 * gdb.base/stap-probe.exp (stap_test): Remove calls to
2474 `rerun_to_main'.
2475 (stap_test_no_debuginfo): Likewise.
2476
e7e0cddf
SS
24772012-05-14 Stan Shebs <stan@codesourcery.com>
2478
2479 * gdb.base/dprintf.c: New file.
2480 * gdb.base/dprintf.exp: New file.
2481
c772f8e7
HZ
24822012-05-14 Hui Zhu <hui_zhu@mentor.com>
2483
2484 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
2485 * gdb.trace/disconnected-tracing.c: New file.
2486 * gdb.trace/disconnected-tracing.exp: New file.
2487
7efc75aa
SCR
24882012-05-13 Siva Chandra Reddy <sivachandra@google.com>
2489
2490 * gdb.python/python.c: Add a new breakpoint comment.
2491 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
2492
85d4a676
SS
24932011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
2494
2495 * gdb.base/info-os.exp: New file.
2496 * gdb.base/info-os.c: New file.
2497
64ea88dc
JB
24982012-05-10 Joel Brobecker <brobecker@adacore.com>
2499
4647ab1b
JB
2500 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
2501 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
2502 New files.
64ea88dc 2503
afba63f1
JB
25042012-05-10 Joel Brobecker <brobecker@adacore.com>
2505
2506 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
2507 gdb.base/ctxobj.exp: New files.
2508
9d198b1e
TT
25092012-05-09 Tom Tromey <tromey@redhat.com>
2510
2511 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
2512
9bfee719
MR
25132012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
2514
2515 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
2516
3a7341d8
MR
25172012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
2518
2519 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
2520 before using it.
2521
52b3699b
TG
25222012-05-04 Tristan Gingold <gingold@adacore.com>
2523
2524 * gdb.base/set-noassign.exp: New test.
2525
a20ee7a4
SCR
25262012-05-03 Siva Chandra Reddy <sivachandra@google.com>
2527
2528 * gdb.python/py-symbol.exp: Add tests to test the new methods
2529 gdb.Symtab.global_block() and gdb.Symtab.static_block().
2530 * gdb.python/py-symbol.c: Add new struct to help test
2531 gdb.Symtab.static_block().
2532
bf2f0858
DE
25332012-05-03 Doug Evans <dje@google.com>
2534
2535 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
2536 commented out.
2537
2d4e0376
YQ
25382012-05-03 Yao Qi <yao@codesourcery.com>
2539
2540 * gdb.base/catch-syscall.exp: Skip it before compilation if target
2541 doesn't support.
2542 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
2543 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
2544
6d0bb9f3
YQ
25452012-05-03 Yao Qi <yao@codesourcery.com>
2546
2547 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
2548
fd820528
DE
25492012-04-30 Doug Evans <dje@google.com>
2550
2551 PR testsuite/13961
2552 * gdb.dwarf2/pr13961.S: New file.
2553 * gdb.dwarf2/pr13961.exp: New file.
2554
b9e219b9
YQ
25552012-04-29 Yao Qi <yao@codesourcery.com>
2556
2557 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
2558
3019eac3
DE
25592012-04-28 Doug Evans <dje@google.com>
2560
2561 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
2562 .Ltype_int_in_cu2. Use name "int2" instead of "int".
2563 All uses updated.
2564 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
2565 "ptype func_cu1" to expand cu2 before cu1.
2566
62e5f89c
SDJ
25672012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
2568 Tom Tromey <tromey@redhat.com>
2569
2570 * gdb.base/default.exp: Add `$_probe_arg*' convenience
2571 variables.
2572 * gdb.base/stap-probe.c: New file.
2573 * gdb.base/stap-probe.exp: New file.
2574 * gdb.trace/stap-trace.c: New file.
2575 * gdb.trace/stap-trace.exp: New file.
2576 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
2577 libgcc's unwinder.
2578
14132e89
MR
25792012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
2580
2581 * gdb.arch/mips16-thunks-inmain.c: New file.
2582 * gdb.arch/mips16-thunks-main.c: New file.
2583 * gdb.arch/mips16-thunks-sin.c: New file.
2584 * gdb.arch/mips16-thunks-sinfrob.c: New file.
2585 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
2586 * gdb.arch/mips16-thunks-sinmain.c: New file.
2587 * gdb.arch/mips16-thunks-sinmips16.c: New file.
2588 * gdb.arch/mips16-thunks.exp: New file.
2589
a766d390
DE
25902012-04-25 Doug Evans <dje@google.com>
2591
2592 * configure.ac: Create gdb.go/Makefile.
2593 * configure: Regenerate.
2594 * gdb.base/default.exp: Add "go" to "set language" testing.
2595 * gdb.go/Makefile.in: New file.
2596 * gdb.go/basic-types.exp: New file.
2597 * gdb.go/chan.exp: New file.
2598 * gdb.go/chan.go: New file.
2599 * gdb.go/handcall.exp: New file.
2600 * gdb.go/handcall.go: New file.
2601 * gdb.go/hello.exp: New file.
2602 * gdb.go/hello.go: New file.
2603 * gdb.go/integers.exp: New file.
2604 * gdb.go/integers.go: New file.
2605 * gdb.go/methods.exp: New file.
2606 * gdb.go/methods.go: New file.
2607 * gdb.go/package.exp: New file.
2608 * gdb.go/package1.go: New file.
2609 * gdb.go/package2.go: New file.
2610 * gdb.go/print.exp: New file.
2611 * gdb.go/strings.exp: New file.
2612 * gdb.go/strings.go: New file.
2613 * gdb.go/types.exp: New file.
2614 * gdb.go/types.go: New file.
2615 * gdb.go/unsafe.exp: New file.
2616 * gdb.go/unsafe.go: New file.
2617 * lib/future.exp: Add Go support.
2618 (gdb_find_go, gdb_find_go_linker): New procs.
2619 (gdb_default_target_compile): Add Go support.
2620 * lib/gdb.exp (skip_go_tests): New proc.
2621 * lib/go.exp: New file.
2622
e65f9ffb
TT
26232012-04-25 Tom Tromey <tromey@redhat.com>
2624
2625 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
2626
14e75d8e
JK
26272012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2628 Jan Kratochvil <jan.kratochvil@redhat.com>
2629
2630 PR symtab/7259:
2631 * gdb.base/enumval.c: New test case.
2632 * gdb.base/enumval.exp: New test case.
2633 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
2634 field.bitpos.
2635
f3525b70
PA
26362012-04-17 Pedro Alves <palves@redhat.com>
2637
2638 * Makefile.in (site.exp): Make site.exp source
2639 $srcdir/lib/append_gdb_boards_dir.exp.
2640 * lib/append_gdb_boards_dir.exp: New file.
2641
bccbefd2
JK
26422012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 New option "set auto-load safe-path".
2645 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
2646 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
2647
bf88dd68
JK
26482012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2649
2650 auto-load: Implementation.
2651 * gdb.base/help.exp (test set height): Increase the height.
2652 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
2653 to ...
2654 (info auto-load python-scripts): ... here.
2655 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
2656 to ...
2657 (info auto-load python-scripts *): ... here.
2658
c0d4d1c0
YQ
26592012-04-16 Yao Qi <yao@codesourcery.com>
2660
2661 * lib/trace-support.exp (get_in_proc_agent): New.
2662 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
2663 of in process trace agent.
2664 * gdb.trace/ftrace.exp: Likewise.
2665 * gdb.trace/pending.exp: Likewise.
2666 * gdb.trace/trace-break.exp: Likewise.
2667 * gdb.trace/trace-mt.exp
2668 * gdb.trace/tspeed.exp: Likewise.
2669 * gdb.trace/tstatus.exp
2670 * gdb.trace/strace.exp: Likewise.
2671
cbf68a60
TS
26722012-04-16 Thomas Schwinge <thomas@codesourcery.com>
2673
dd6d3b70
TS
2674 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
2675 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
2676
cbf68a60
TS
2677 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
2678
8264ba82
AG
26792012-04-14 Anton Gorenkov <xgsa@yandex.ru>
2680
2681 PR mi/13393
2682 * gdb.mi/mi-var-rtti.cc: New file.
2683 * gdb.mi/mi-var-rtti.exp: New file.
2684 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
2685 function.
2686 (mi_varobj_update_with_type_change): updated to avoid code duplication.
2687
de0919f8 26882012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
2689
2690 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
2691 EXECUTABLES.
2692 * gdb.python/py-explore.c: C program used for testing the new
2693 'explore' command on C constructs.
2694 * gdb.python/py-explore.cc: C++ program used for testing the new
2695 'explore' command on C++ constructs.
2696 * gdb-python/py-explore.exp: Tests for the new 'explore'
2697 command on C constructs.
2698 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
2699 command on C++ constructs.
2700
a82da7dd
MK
27012012-04-07 Mark Kettenis <kettenis@gnu.org>
2702
2703 * gdb.base/funcargs.exp (complex_args): Fix typo.
2704
e127cba8
JK
27052012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
2708 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
2709
40e084e1
KS
27102012-04-05 Keith Seitz <keiths@redhat.com>
2711
2712 * gdb.base/advance.exp: Update error message for
2713 "advance malformed" test.
2714 * gdb.base/break.exp: Likewise for "breakpoint with
2715 trailing garbage" test.
2716 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
2717 with trailing garbage" test.
2718 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
2719 trailng garbage" test.
2720 * gdb.base/until.exp: Likewise for "malformed until" test.
2721 * gdb.cp/ovldbreak.exp: Create the breakpoint table
2722 for "breakpoint info (after setting on all)".
2723 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
2724 tests.
2725 * gdb.cp/cplabel.cc: New file.
2726 * gdb.cp/cplabel.exp: New test.
2727 * gdb.linespec/ls-errs.c: New file.
2728 * gdb.linespec/ls-errs.exp: New test.
2729
a72c8f6a
JK
27302012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 * gdb.trace/unavailable.exp
2733 (collect globals: print object on: print derived_partial)
2734 (collect globals: print object on: print derived_whole)
2735 (collect globals: print object off: print derived_partial)
2736 (collect globals: print object off: print derived_whole): Update
2737 expected output.
2738
f87a3023
KS
27392012-03-30 Keith Seitz <keiths@redhat.com>
2740
2741 * gdb.python: Add test for linespecs with commas.
2742
e2171b3c
KS
27432012-03-28 Keith Seitz <keiths@redhat.com>
2744
2745 * gdb.linespec/ls-dollar.cc: New file.
2746 * gdb.linespec/ls-dollar.exp: New test.
2747
27482012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
2749
2750 * gdb.cp/namespace.exp: Add breakpoint tests for functions
2751 starting with the global namespace.
2752
2f4e0a80
DE
27532012-03-23 Doug Evans <dje@google.com>
2754
2755 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
2756
7b282c5a
SCR
27572012-03-22 Siva Chandra Reddy <sivachandra@google.com>
2758
2759 * gdb.python/py-value.cc: Add test case for testing the
2760 methodology exposing C++ values to Python.
2761 * gdb.python/py-value-cc.exp: Add tests testing the methodology
2762 exposing C++ values to Python.
2763 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
2764
2e98ca53
JK
27652012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2766 Siddhesh Poyarekar <siddhesh@redhat.com>
2767
2768 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
2769 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
2770 (generate native core dump): Make the test unsupported if core cannot
2771 be generated.
2772
8320cc4f
JK
27732012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2774
2775 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
2776 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
2777 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
2778
3a69ffb2
JK
27792012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2780
2781 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
2782
8fabffee
DE
27832012-03-17 Doug Evans <dje@google.com>
2784
2785 * dg-extract-results.sh: Handle KFAILs.
2786
ab260dad
JK
27872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2788
2789 PR symtab/13777
2790 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
2791
53ba8333
JB
27922012-03-16 Joel Brobecker <brobecker@adacore.com>
2793
2794 * gdb.ada/set_pckd_arr_elt: New testcase.
2795
481860b3
GB
27962012-03-16 Gary Benson <gbenson@redhat.com>
2797
2798 PR breakpoints/10738
2799 * gdb.opt/inline-break.exp: New file.
2800 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
2801 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
2802 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
2803 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
2804 * gdb.base/async-shell.exp: Likewise.
2805 * lib/mi-support.exp (library_loaded_re): Likewise.
2806
410528f0
TT
28072012-03-15 Tom Tromey <tromey@redhat.com>
2808
2809 * gdb.cp/virtfunc2.exp: Update expected output.
2810 * gdb.cp/pr9631.exp: Update expected output.
2811 * gdb.cp/member-ptr.exp: Update expected output.
2812 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
2813 output.
2814 * gdb.cp/casts.exp: Update expected output.
2815
c4aeac85
TT
28162012-03-15 Tom Tromey <tromey@redhat.com>
2817
2818 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2819 (test_info_vtbl): Likewise.
2820 (do_tests): Call test_info_vtbl.
2821 * gdb.cp/virtfunc.cc (va): New global.
2822
856d06f9
TS
28232012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2824
2825 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2826 describing DWARF data structures.
2827 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2828 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2829 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2830 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2831 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2832 * gdb.dwarf2/dw2-param-error.S: Likewise.
2833 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2834 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2835 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2836 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2837 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2838 * gdb.dwarf2/pr11465.S: Likewise.
2839
e837f12a
JK
28402012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 * gdb.mi/mi2-prompt.exp: New file.
2843
ccbb4f28
JB
28442012-03-13 Joel Brobecker <brobecker@adacore.com>
2845
2846 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2847
32039130
JB
28482012-03-13 Joel Brobecker <brobecker@adacore.com>
2849
2850 * gdb.ada/bp_range_type: New testcase.
2851
16899756
DE
28522012-03-13 Doug Evans <dje@google.com>
2853
2854 * gdb.base/default.exp: Delete tests for symbol-reloading.
2855 * gdb.base/help.exp: Ditto.
2856 * gdb.base/setshow.exp: Ditto.
2857 * gdb.base/gdb_history: Delete references to symbol-reloading.
2858
87b0bb13
JK
28592012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2860
2861 * gdb.base/attach-twice.c: New files.
2862 * gdb.base/attach-twice.exp: New files.
2863
0d7941a9
KS
28642012-03-08 Keith Seitz <keiths@redhat.com>
2865
2866 * lib/gdb.exp (gdb_get_line_number): Throw an
2867 error instead of returning -1.
2868 * gdb.base/break.exp: Remove unused variable
2869 bp_location5.
2870 * gdb.base/hbreak2.exp: Likewise.
2871 * gdb.base/sepdebug.exp: Likewise.
2872
f4647387
YQ
28732012-03-08 Yao Qi <yao@codesourcery.com>
2874 Pedro Alves <palves@redhat.com>
2875
2876 Fix PR server/13392.
2877 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2878 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2879 download tracepoints.
2880 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2881 (pending_tracepoint_resolved_during_trace): Likewise.
2882 (pending_tracepoint_installed_during_trace): Likewise.
2883 (pending_tracepoint_with_action_resolved): Likewise.
2884
83c532cb
KS
28852012-03-08 Keith Seitz <keiths@redhat.com>
2886
2887 * gdb.ada/array_bounds.exp: Get breakpoint for line
2888 with "START", not "STOP".
2889 * gdb.python/py-infthread.exp: Do not continue to
2890 line marked "Break here.", which is undefined.
2891
d6b6bbb7
LM
28922012-03-08 Luis Machado <lgustavo@codesourcery.com>
2893
2894 Revert:
2895
2896 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2897
2898 Implement testsuite workaround for PR breakpoints/13781.
2899 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2900 (set breakpoint condition-evaluation host): New conditional command.
2901
7fe25d9b
JK
29022012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2903
2904 Fix CU relative vs. absolute DIE offsets.
2905 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2906 one.
2907
51898c15
JK
29082012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2909
2910 Fix false FAIL on distros with relro linkage as default.
2911 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2912 -Wl,-z,norelro first.
2913
8131799e
JB
29142012-03-06 Joel Brobecker <brobecker@adacore.com>
2915
2916 * gdb.ada/bp_on_var: New testcase.
2917
ba241969
JB
29182012-03-06 Joel Brobecker <brobecker@adacore.com>
2919
2920 * gdb.ada/bp_enum_homonym: New testcase.
2921
abe49676
YQ
29222012-03-06 Yao Qi <yao@codesourcery.com>
2923
2924 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2925 x86_64-*-* and i?86-*-*.
2926 Set up KFAIL for gdb/13808.
2927
d8df103b
TT
29282012-03-05 Tom Tromey <tromey@redhat.com>
2929
2930 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2931 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2932
b7b189f3
TT
29332012-03-05 Tom Tromey <tromey@redhat.com>
2934
2935 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2936
69dc1c4d
YQ
29372012-03-04 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2940 messages for KFAIL.
2941
3f20c47f
JK
29422012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2943
2944 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2945 (print one_two_three, indexes off, print few_reps, indexes off)
2946 (print many_reps, indexes off, print empty, indexes off)
2947 (print one_two_three, print few_reps, print many_reps, print empty):
2948 Call setup_xfail if $gcc_old.
2949
abf1152a
JK
29502012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2951
2952 Implement testsuite workaround for PR breakpoints/13781.
2953 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2954 (set breakpoint condition-evaluation host): New conditional command.
2955
a06715f8
JK
29562012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2957
2958 Code cleanup.
2959 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2960 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2961 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2962 number 1 by $bpnum. Four times.
2963
5808517f
YQ
29642012-03-03 Yao Qi <yao@codesourcery.com>
2965
2966 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2967
dfe2ac14
JK
29682012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2969
2970 Setup KFAIL for PR server/13796.
2971 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2972
8bbc467a
JB
29732012-03-02 Joel Brobecker <brobecker@adacore.com>
2974
2975 * gdb.ada/operator_bp: New testcase.
2976
c0eac87f
JB
29772012-03-02 Joel Brobecker <brobecker@adacore.com>
2978
2979 * gdb.ada/info_locals_renaming: New testcase.
2980
4f42c881
TT
29812012-03-02 Tom Tromey <tromey@redhat.com>
2982
2983 * gdb.base/nextoverexit.c: New file.
2984 * gdb.base/nextoverexit.exp: New file.
2985
7380c0c9
EBM
29862012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2987
2988 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2989 parameter.
2990
1faeff08
MR
29912012-03-01 Maciej W. Rozycki <macro@mips.com>
2992
2993 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2994 core registers.
2995
320b6f49
MR
29962012-03-01 Maciej W. Rozycki <macro@mips.com>
2997 Maciej W. Rozycki <macro@codesourcery.com>
2998 Daniel Jacobowitz <dan@codesourcery.com>
2999
3000 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
3001
ad5f7d6e
PA
30022012-03-01 Pedro Alves <palves@redhat.com>
3003
3004 PR gdb/13767
3005
3006 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
3007 (gdb_collect_globals_test): Call it.
3008
d3dc44a6
KS
30092012-03-01 Keith Seitz <keiths@redhat.com>
3010
3011 * gdb.cp/method2.exp: Output of overload menu is now
3012 alphabetized. Update tests for "break A::method".
3013 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
3014 of hard-coding them.
3015 Overload menu is alphabetized: rewrite to accommodate.
3016 Unset variables LINE and TYPES which are used in other tests.
3017 Compute the output of "info break".
3018 Update the breakpoint table after all breakpoints are deleted.
3019 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
3020 compute ACTUALS and the method body based on parameters.
3021 Update expected output accordingly.
3022 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
3023 unique comments to allow the use of gdb_get_line_number.
3024
30252012-03-01 Keith Seitz <keiths@redhat.com>
3026
3027 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
3028 some Tcl syntax.
3029 * gdb.cp/ovldbreak.exp: Likewise.
3030
7949c2a0
KS
30312012-03-01 Keith Seitz <keiths@redhat.com>
3032
3033 * gdb.base/help.exp (help show user): Update expected result
3034 for new doc string changes (add "non-python").
3035
7d74f244
DE
30362012-03-01 Scott J. Goldman <scottjg@vmware.com>
3037
3038 * gdb.python/py-cmd.exp: Add test to verify that python commands can
3039 be put in the user-defined category and that the commands appear in
3040 "help user-defined".
3041
1b611343
JB
30422012-02-29 Joel Brobecker <brobecker@adacore.com>
3043
3044 * gdb.ada/tagged_not_init: New testcase.
3045
99b1c762
JB
30462012-02-29 Joel Brobecker <brobecker@adacore.com>
3047
3048 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
3049 * gdb.ada/enum_idx_packed: New testcase.
3050
2d4a02ee
JB
30512012-02-29 Joel Brobecker <brobecker@adacore.com>
3052
3053 * gdb.ada/aliased_array: New testcase.
3054
2e6fda7d
JB
30552012-02-29 Joel Brobecker <brobecker@adacore.com>
3056
3057 * gdb.ada/whatis_array_val: New testcase.
3058
9a7f938f
JK
30592012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3060
3061 Fix disp-step-syscall.exp: fork: single step over fork.
3062 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
3063 whitespaces.
3064 (single step over $syscall): Remove its check.
3065 (single step over $syscall final pc): New check.
3066
8703a944
JK
30672012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3068
3069 Support processors without SSSE3.
3070 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
3071 pabsd into ...
3072 (ssse3_test): ... a new function.
3073 (main): Call ssse3_test.
3074 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
3075 Update expected values everywhere.
3076 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
3077 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
3078 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
3079 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
3080 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
3081 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
3082 Move these tests lower.
3083 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
3084 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
3085 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
3086 New tests.
3087
c03e6ccc
YQ
30882012-02-29 Yao Qi <yao@codesourcery.com>
3089 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.trace/trace-mt.c: New.
3092 * gdb.trace/trace-mt.exp: New.
3093
7964b62a
TS
30942012-02-28 Thomas Schwinge <thomas@codesourcery.com>
3095
2c8910ba
TS
3096 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
3097 numbers instead of hardcoding them.
3098 * gdb.base/annota1.c: Provide suitable markers.
3099 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
3100 numbers instead of hardcoding them.
3101 * gdb.base/annota3.c: Provide suitable markers.
3102
3103 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
3104 * gdb.base/annota3.c: Likewise.
3105 * gdb.base/sigall.c: Likewise.
3106 * gdb.base/signals.c: Likewise.
3107 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 3108
5a41c0b7
MR
31092012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
3110
3111 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
3112 failure return path.
3113
ebbbe5c5
LM
31142012-02-27 Luis Machado <lgustavo@codesourcery.com>
3115
3116 * gdb.base/save-bp.exp: Account for new condition evaluator output.
3117
8d126d8a
LM
31182012-02-24 Luis Machado <lgustavo@codesourcery.com>
3119
3120 * gdb.base/cond-eval-mode.exp: New file.
3121
11337c2f
PA
31222012-02-24 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
3125 (top level): Use with_test_prefix.
3126
13fc3e3c
PA
31272012-02-24 Pedro Alves <palves@redhat.com>
3128
3129 * gdb.threads/attach-into-signal.exp (corefunc): Use
3130 with_test_prefix.
3131
07c1b626
JK
31322012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3133
3134 Fix false FAILs on old CPUs without SSE.
3135 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
3136 Return untested for Illegal instruction.
3137
596ba138
JK
31382012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3139
3140 Fix false FAILs with glibc debug infos installed.
3141 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
3142 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
3143
aeaa2474
SA
31442012-02-22 Sterling Augustine <saugustine@google.com>
3145
3146 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
3147 constant with cast.
3148
aed555c9
PA
31492012-02-21 Pedro Alves <palves@redhat.com>
3150
3151 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
3152
78afebb4
PA
31532012-02-21 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
3156
fdcfef12
PA
31572012-02-21 Pedro Alves <palves@redhat.com>
3158
3159 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
3160 with_test_prefix.
3161
0f4d39d5
PA
31622012-02-21 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
3165 with_test_prefix here.
3166 (top level): Do it here instead. Remove `:' from the
3167 with_test_prefix string.
3168 * gdb.base/attach-pie-misread.exp: Remove the leading space the
3169 the suffix `:' from the with_test_prefix prefix string.
3170 * gdb.base/break-interp.exp: Ditto.
3171 * gdb.base/catch-load.exp: Ditto.
3172 * gdb.base/disp-step-syscall.exp: Ditto.
3173 * gdb.base/jit-so.exp: Ditto.
3174 * gdb.base/jit.exp: Ditto.
3175 * gdb.base/sepdebug.exp: Ditto.
3176 * gdb.base/solib-display.exp: Ditto.
3177 * gdb.base/solib-overlap.exp: Ditto.
3178 * gdb.base/watch-cond-infcall.exp: Ditto.
3179 * gdb.base/watchpoint.exp: Ditto.
3180 * gdb.dwarf2/dw2-noloc.exp: Ditto.
3181 * gdb.mi/mi-watch.exp: Ditto.
3182 * gdb.mi/mi2-watch.exp: Ditto.
3183 * gdb.threads/non-ldr-exc-1.exp: Ditto.
3184 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3185 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3186 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3187 * gdb.threads/watchpoint-fork.exp: Ditto.
3188 * gdb.threads/watchthreads-reorder.exp: Ditto.
3189 * gdb.trace/change-loc.exp: Ditto.
3190 * gdb.trace/pending.exp: Ditto.
3191 * gdb.trace/status-stop.exp: Ditto.
3192 * gdb.trace/strace.exp: Ditto.
3193 * gdb.trace/trace-break.exp: Ditto.
3194 * gdb.trace/unavailable.exp: Ditto.
3195 * lib/gdb.exp (with_test_prefix): Always prefix with space and
3196 suffix with colon. Adjust leading comments.
3197
6a5870ce
PA
31982012-02-21 Pedro Alves <palves@redhat.com>
3199 Tom Tromey <tromey@redhat.com>
3200
3201 * lib/gdb.exp: Add description of test prefixes.
3202 (with_test_prefix): New procedure.
3203 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
3204 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
3205 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
3206 instead of lappend to append to pf_prefix.
3207 * gdb.base/catch-load.exp: Use with_test_prefix.
3208 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
3209 * gdb.base/jit-so.exp: Use with_test_prefix.
3210 * gdb.base/jit.exp: Use with_test_prefix.
3211 * gdb.base/return-nodebug.exp (do_test): Use append instead of
3212 lappend to append to pf_prefix.
3213 * gdb.base/sepdebug.exp: Use with_test_prefix.
3214 * gdb.base/solib-display.exp: Use with_test_prefix.
3215 * gdb.base/solib-overlap.exp: Use with_test_prefix.
3216 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
3217 * gdb.base/watchpoint.exp: Use with_test_prefix.
3218 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
3219 * gdb.mi/mi-watch.exp: Use with_test_prefix.
3220 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
3221 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
3222 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
3223 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
3224 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
3225 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
3226 append instead of lappend to append to pf_prefix.
3227 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
3228 * gdb.trace/change-loc.exp: Use with_test_prefix.
3229 * gdb.trace/pending.exp: Use with_test_prefix.
3230 * gdb.trace/status-stop.exp: Use with_test_prefix.
3231 * gdb.trace/strace.exp: Use with_test_prefix.
3232 * gdb.trace/trace-break.exp: Use with_test_prefix.
3233 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
3234 instead of lappend to append to pf_prefix.
3235
35dc4a6b
JK
32362012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 Fix racy FAILs.
3239 * gdb.base/inferior-died.c (main): Add return of 0.
3240 * gdb.base/inferior-died.exp (continue): Fix expectation of
3241 asynchronous events.
3242 (p 1): New test.
3243
c5a006e6
PA
32442012-02-20 Pedro Alves <palves@redhat.com>
3245
3246 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
3247 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
3248 gdb's internal debug output. For the non-threaded case, look for
3249 "Program received signal SIGLARM", for the threaded case, peek at
3250 the thread's siginfo.
3251
cc51a170
PA
32522012-02-20 Pedro Alves <palves@redhat.com>
3253
3254 General cleanup, make output test messages unique, and build
3255 different executable files for the non-threaded and threaded
3256 cases.
3257
3258 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
3259 Delete.
3260 (executable_nothr, executable_thr): New globals.
3261 (top level): Adjust to delete both executables.
3262 (corefunc): New parameter $executable. Set $pf_prefix instead of
3263 hand writing a prefix in tests. Issue a clean_restart and enable
3264 lin-lwp debug output here.
3265 (top level): Adjust. Use build_executable. Don't start gdb here,
3266 and don't enable lin-lwp debug output here.
3267 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
3268
c755f03d
JK
32692012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 Fix racy FAILs.
3272 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
3273 "continue" command.
3274
6bec5e0a
JK
32752012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3276
3277 Fix for gdbserver non-extended mode.
3278 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
3279 and gdb_run_cmd.
3280
2e8265fd
TT
32812012-02-17 Tom Tromey <tromey@redhat.com>
3282
3283 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
3284 * gdb.python/py-events.exp: Check 'dir' output.
3285 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
3286
9e507076
YQ
32872012-02-17 Yao Qi <yao@codesourcery.com>
3288
3289 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
3290
32d22ab1
TT
32912012-02-16 Tom Tromey <tromey@redhat.com>
3292
3293 * gdb.base/inferior-died.c: Don't include stdio.h.
3294
9addecb9
TT
32952012-02-16 Tom Tromey <tromey@redhat.com>
3296
3297 * gdb.base/inferior-died.c: New file.
3298 * gdb.base/inferior-died.exp: New file.
3299
4cb6da1c
AR
33002012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
3301
3302 * gdb.base/break-inline.exp: New file.
3303 * gdb.base/break-inline.c: New file.
3304
3af2590d
TT
33052012-02-15 Tom Tromey <tromey@redhat.com>
3306
3307 * gdb.base/pc-fp.exp: Add "info register" tests.
3308
29988831
TT
33092012-02-15 Tom Tromey <tromey@redhat.com>
3310
3311 * gdb.base/regs.exp: Remove.
3312
10010058
PA
33132012-02-15 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
3316 the target doesn't support tracepoints.
3317 * gdb.trace/circ.exp: Ditto.
3318 * gdb.trace/collection.exp: Ditto.
3319 * gdb.trace/packetlen.exp: Ditto.
3320 * gdb.trace/passc-dyn.exp: Ditto.
3321 * gdb.trace/report.exp: Ditto.
3322 * gdb.trace/tfind.exp: Ditto.
3323 * gdb.trace/tspeed.exp: Ditto.
3324 * gdb.trace/tsv.exp: Ditto.
3325 * gdb.trace/unavailable.exp: Ditto.
3326 * gdb.trace/while-dyn.exp: Ditto.
3327
a2e0062d
PA
33282012-02-15 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
3331 gdb_test_multiple, and call unsupported instead of fail, if the
3332 remote side does not support the request.
3333
a1999d40
PA
33342012-02-15 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
3337 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
3338 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
3339 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
3340 * gdb.server/server-run.exp: Make sure gdb is disconnected.
3341 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
3342 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
3343 doesn't start with "extended-" already.
3344
7cee1e54
PA
33452012-02-15 Pedro Alves <palves@redhat.com>
3346
3347 Support extended-remote. Avoid cascading timeouts.
3348
3349 * gdb.base/attach.exp (do_attach_tests): Add expected output for
3350 the extended-remote target. If attaching with no file fails, load
3351 the file manually.
3352 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
3353
816338b5
SS
33542012-02-14 Stan Shebs <stan@codesourcery.com>
3355
3356 * gdb.base/ena-dis-br.exp: Add enable count test.
3357
cc30c4bd
PA
33582012-02-13 Pedro Alves <palves@redhat.com>
3359
3360 * config/mips-idt.exp: Delete.
3361 * gdb.base/a2-run.exp: Remove mips-idt xfails.
3362 * gdb.base/bitfields.exp: Remove mips-idt restarts.
3363 * gdb.base/break.exp: Remove mips-idt references.
3364 * gdb.base/chng-syms.exp: Ditto.
3365 * gdb.base/default.exp: Ditto.
3366 * gdb.base/funcargs.exp (funcargs_reload): Delete.
3367 (top level): Don't call it.
3368 * gdb.base/opaque.exp: Remove mips-idt restarts.
3369 * gdb.base/ptype.exp: Remove mips-idt xfails.
3370 * gdb.base/scope.exp: Remove mips-idt restarts.
3371 * gdb.base/sepdebug.exp: Remove mips-idt references.
3372 * gdb.base/watchpoint.exp (maybe_clean_restart)
3373 (maybe_reinitialize): Delete.
3374 (test_disabling_watchpoints, test_disabling_watchpoints)
3375 (test_watchpoint_triggered_in_syscall)
3376 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
3377 Don't call them.
3378
57008375
JK
33792012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3380
3381 * gdb.server/server-exec-info.exp: New file.
3382
4a2d9c08
PA
33832012-02-10 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
3386 always non-empty.
3387 (test_attach): Always pass $exec to test_attach_gdb.
3388
09fa21bd
TT
33892012-02-08 Tom Tromey <tromey@redhat.com>
3390
3391 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
3392 before inferior is started.
3393
f0823d2c
TT
33942012-02-07 Tom Tromey <tromey@redhat.com>
3395
3396 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
3397 Symbol.value.
3398 * gdb.python/py-symbol.c (qq): Set default value.
3399
34002012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
3401
3402 * gdb.python/py-symbol.c (qq): New global.
3403 * gdb.python/py-symbol.exp: Add test for frame-less
3404 lookup_symbol.
3405 * gdb.python/py-symtab.exp: Fix line number.
3406
f7e44f65
JB
34072012-02-03 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.ada/mi_task_arg: New testcase.
3410
4c9ed63c
PA
34112012-02-02 Pedro Alves <palves@redhat.com>
3412
3413 * gdb.reverse/until-precsave.exp: Also put "record save" under the
3414 extended timeout.
3415
c0b9f2c6
PA
34162012-02-02 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
3419 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
3420
5f8cefd7
PA
34212012-02-02 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.base/term.exp: Rewrite.
3424 * gdb.base/term.c: New.
3425
2f3a2569
PA
34262012-02-02 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.base/default.exp (run "r" abbreviation, run): Add
3429 extended-remote expected output.
3430
f149aabd
TT
34312012-02-02 Tom Tromey <tromey@redhat.com>
3432
3433 * gdb.cp/dispcxx.exp: New file.
3434 * gdb.cp/dispcxx.cc: New file.
3435
03bef283
TT
34362012-02-01 Tom Tromey <tromey@redhat.com>
3437
3438 * gdb.base/jit-simple.exp: New file.
3439 * gdb.base/jit-simple.c: New file.
3440
a79b18b5
YQ
34412012-01-30 Yao Qi <yao@codesourcery.com>
3442
3443 * gdb.base/skip.exp: Make test result unique.
3444
f0d1a53e
JK
34452012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
3448 compatibility with valgrind-3.7.0.
3449
4b3c9f41
PA
34502012-01-27 Pedro Alves <palves@redhat.com>
3451
3452 * gdb.base/watchpoint.exp (no_hw): New global.
3453 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
3454 disable hw watchpoints.
3455 (test_wide_location_1, test_wide_location_2): If no_hw is set,
3456 don't expect hw watchpoints.
3457 (no_hw_watchpoints): Always clean restart.
3458 (do_tests): New procedure, factored out from the top level.
3459 (top level): Run tests twice. Once with hw watchpoints enabled,
3460 another time with hw watchpoints disabled.
3461
a13491c8
PA
34622012-01-27 Pedro Alves <palves@redhat.com>
3463
3464 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
3465 out from the top level.
3466 (top level): Call it instead.
3467
f2c8a051
PA
34682012-01-27 Pedro Alves <palves@redhat.com>
3469
3470 * gdb.base/watchpoint.exp (top level): Re-enable hardware
3471 watchpoints sooner.
3472
654d7a9e
PA
34732012-01-27 Pedro Alves <palves@redhat.com>
3474
3475 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
3476
274f47f3
PA
34772012-01-27 Pedro Alves <palves@redhat.com>
3478
3479 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
3480 "You may have requested too many hardware
3481 breakpoints/watchpoints".
3482
e4d63ba2
PA
34832012-01-27 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.base/watchpoint.exp (maybe_clean_restart)
3486 (maybe_reinitialize): New.
3487 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
3488 expect "hit N times".
3489 (test_disabling_watchpoints, test_complex_watchpoint)
3490 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
3491 Call maybe_clean_restart.
3492 (top level): Use clean_restart. Remove "mips-idt-*"
3493 reinitialization.
3494
dbd95daf
PA
34952012-01-27 Pedro Alves <palves@redhat.com>
3496
3497 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
3498
f3ad2025
PA
34992012-01-27 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.base/watchpoint.exp: Clean restart after tests that don't
3502 require `initialize' anymore. Remove unnecessary `initialize'
3503 calls.
3504
100aa3ae
PA
35052012-01-27 Pedro Alves <palves@redhat.com>
3506
3507 * gdb.base/watchpoint.exp (wp_set): Delete.
3508 (initialize, test_simple_watchpoint, top level): Remove dead code.
3509
c79a8e11
PA
35102012-01-27 Pedro Alves <palves@redhat.com>
3511
3512 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
3513 typo.
3514
048fe15a
PA
35152012-01-27 Pedro Alves <palves@redhat.com>
3516
3517 * config/extended-gdbserver.exp: New file.
3518 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
3519 comment.
3520 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
3521 * boards/native-extended-gdbserver.exp: New file.
3522
4033a6bf
PA
35232012-01-26 Pedro Alves <palves@redhat.com>
3524
3525 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
3526 and gdb_test_multiple.
3527
3d7f4b81
PA
35282012-01-26 Pedro Alves <palves@redhat.com>
3529
3530 Make test messages unique, and more identifiable.
3531 * gdb.multi/watchpoint-multi.exp: Change test messages.
3532
484abf42
TT
35332012-01-25 Tom Tromey <tromey@redhat.com>
3534
3535 * gdb.base/solib-disc.exp: Fix regexps.
3536
edcc5120
TT
35372012-01-24 Tom Tromey <tromey@redhat.com>
3538
3539 * lib/mi-support.exp (mi_expect_stop): Add special case for
3540 solib-event.
3541 * gdb.base/catch-load-so.c: New file.
3542 * gdb.base/catch-load.exp: New file.
3543 * gdb.base/catch-load.c: New file.
3544 * gdb.base/break-interp.exp (reach_1): Update regexp.
3545
30b91c90
JK
35462012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3547
3548 Fix fuzzy results.
3549 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
3550 lpsimple and func.
3551
53fe1783
GB
35522012-01-24 Gary Benson <gbenson@redhat.com>
3553
3554 Delete #if 0'd out code.
3555 * gdb.base/default.exp (info catch): Remove.
3556 * gdb.base/gdb_history (info catch): Likewise.
3557 * gdb.base/help.exp (info catch): Likewise.
3558
d0d8b0c6
JK
35592012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 Fix watchpoints to be specific for each inferior.
3562 * gdb.multi/watchpoint-multi.c: New file.
3563 * gdb.multi/watchpoint-multi.exp: New file.
3564
4403d8e9
JK
35652012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3566
3567 Fix watchpoints across inferior fork.
3568 * gdb.threads/watchpoint-fork-child.c: New file.
3569 * gdb.threads/watchpoint-fork-mt.c: New file.
3570 * gdb.threads/watchpoint-fork-parent.c: New file.
3571 * gdb.threads/watchpoint-fork-st.c: New file.
3572 * gdb.threads/watchpoint-fork.exp: New file.
3573 * gdb.threads/watchpoint-fork.h: New file.
3574
050a2e1d
PA
35752012-01-23 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.base/call-signal-resume.exp: Allow output after "return".
3578
6a52fb62
PA
35792012-01-20 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.python/py-finish-breakpoint.py: Fix typo.
3582
145b16a9
UW
35832012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
3584
3585 * gdb.base/info-proc.exp: Also run on remote targets. Main
3586 "info proc" command is now always present; whether target supports
3587 actual info proc operation is detected when attempting to issue
3588 the command.
3589
26f6125e
JK
35902012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3591
3592 * .gdbinit: Remove.
3593
eb5227ce
PA
35942012-01-19 Pedro Alves <palves@redhat.com>
3595
3596 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
3597 look at the funtions' returns.
3598 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
3599 (jprint.print(int, int)): Change return type to int. Adjust.
3600
1db33378
PP
36012012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3602
3603 PR gdb/9538
3604 * gdb.base/sepdebug.exp: New test.
3605
b9736cf8
PA
36062012-01-18 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
3609 Allow output before ^done.
3610
4aac40c8
TT
36112012-01-16 Tom Tromey <tromey@redhat.com>
3612
3613 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
3614 Add tests for relative directory.
3615
cafec441
TT
36162012-01-16 Tom Tromey <tromey@redhat.com>
3617
3618 * gdb.base/printcmds.c (enum flag_enum): New.
3619 (three): New global.
3620 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
3621 enum printing.
3622 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
3623 FlagEnumerationPrinter.
3624 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
3625 * gdb.python/py-pp-maint.c (enum flag_enum): New.
3626 (fval): New global.
3627
abcc4978
PA
36282012-01-16 Pedro Alves <palves@redhat.com>
3629
3630 * lib/gdb.exp (banned_procedures): New variable.
3631 (banned_variables_traced): Rename to ...
3632 (banned_traced): ... this.
3633 (gdb_init): Also trace banned procedures.
3634 (gdb_finish): Also untrace banned procedures.
3635
97ccebe8
PA
36362012-01-16 Pedro Alves <palves@redhat.com>
3637
3638 Remove all calls to strace.
3639
2af7517b
JK
36402012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
3643 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
3644
9241a8bc
PP
36452012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3646
3647 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
3648 * gdb.base/pie-execl.exp: Likewise.
3649
3848a17f
KS
36502012-01-12 Keith Seitz <keiths@redhat.com>
3651
3652 PR mi/10586
3653 * gdb.mi/var-cmd.c (struct anonymous): New structure.
3654 (do_anonymous_type_tests): New function.
3655 (main): Call do_anonymous_type_tests.
3656 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
3657 (verify_everything): New procedure.
3658 * gdb.mi/mi-var-cp.cc (class A): New class.
3659 (anonymous_structs_and_unions): New function.
3660 (main): Call anonymous_structs_and_unions.
3661 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
3662 (verify_everything): New procedure.
3663
440e2fca
KS
36642012-01-12 Keith Seitz <keiths@redhat.com>
3665
3666 * lib/mi-support.exp: Expand comments about PATH_EXPR.
3667 (varobj_tree::get_path_expr): Assume that all varobjs are
3668 compound unless they are known simple types.
3669 Adjust path expressions based on parent type, path parent type,
3670 and tree language.
3671 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
3672 the root varobj.
3673 (mi_walk_varobj_tree): Add LANGUAGE parameter.
3674
675399c9
PA
36752012-01-11 Pedro Alves <palves@redhat.com>
3676
3677 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
3678 core files on this machine" anymore.
3679
97ddaa9b
PH
36802012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3681
3682 * gdb.base/watchpoint.c (recurser): Initialize local_x.
3683 (main): Repeat recurser call.
3684 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
3685 equivalent to 'local_x'.
3686
ea733575
PH
36872012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3688 Joel Brobecker <brobecker@adacore.com>
3689
3690 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
3691
2ca0b532
PA
36922012-01-05 Pedro Alves <alves.ped@gmail.com>
3693
3694 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
3695 * gdb.python/py-events.c (first): Add bits for new "step N" test.
3696 * gdb.python/py-events.exp: Test that "step N" tripping on a
3697 breakpoint emits a breakpoint event.
3698
6e681866
JB
36992012-01-03 Joel Brobecker <brobecker@adacore.com>
3700
3701 * gdb.base/auxv.exp: Reformat the copyright notice.
3702
3c2d6aff
YQ
37032012-01-03 Yao Qi <yao@codesourcery.com>
3704
3705 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
3706 (strace_trace_on_diff_addr): New.
3707 * gdb.trace/strace.c: (main): Add two local variables.
3708
0852fee3
UW
37092011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
3710
3711 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
3712 * gdb.cell/gcore.exp: Likewise.
3713 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
3714 to verify the correct instance of main is selected.
3715
12c3e59c
JB
37162012-01-02 Joel Brobecker <brobecker@adacore.com>
3717
3718 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
3719 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
3720 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
3721 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
3722 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
3723 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
3724 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
3725 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
3726 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
3727 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
3728 gdb.threads/thread_check.c: Reformat copyright header.
3729
c0f378ec
EBM
37302011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
3731
e4a7ca93 3732 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
3733 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
3734 is not enabled.
3735
3bc96cfb
JK
37362011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3737
3738 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
3739 parameter to self_exec, adjust the function.
3740 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
3741 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
3742 (set var do_exit = 0): Remove test.
3743 (newline at end of file): Add one.
3744
095bcf5e
JB
37452011-12-27 Joel Brobecker <brobecker@adacore.com>
3746
3747 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
3748 New files.
3749
18d19bd1
JK
37502011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3751
3752 Fix racy FAILs.
3753 * gdb.threads/fork-thread-pending.c (barrier): New variable.
3754 (thread_function, thread_forker): Call pthread_barrier_wait for it.
3755 (main): Call pthread_barrier_init for it.
3756
e809353a
JK
37572011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 Fix double send_gdb leading to racy FAILs.
3760 * gdb.base/break.exp (set silent break bp_location1): Replace
3761 3x send_gdb and gdb_expect by gdb_test.
3762 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
3763 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
3764 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
3765 instead of send_gdb. Twice.
3766 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3767 3x send_gdb and gdb_expect by gdb_test.
3768 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
3769
da8cb7ec
JK
37702011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3771
3772 * gdb.linespec/linespec.exp: Compile using {c++}.
3773
ae1a303e
JK
37742011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3775
3776 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
3777 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
3778 (verify GCC PR debug/51668): New test.
3779
cc72b2a2
KP
37802011-12-23 Kevin Pouget <kevin.pouget@st.com>
3781
3782 Introduce gdb.FinishBreakpoint in Python.
3783 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
3784 py-finish-breakpoint2
3785 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
3786 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
3787 instead of line number.
3788 * gdb.python/py-finish-breakpoint.c: New file.
3789 * gdb.python/py-finish-breakpoint.exp: New file.
3790 * gdb.python/py-finish-breakpoint.py: New file.
3791 * gdb.python/py-finish-breakpoint2.cc: New file.
3792 * gdb.python/py-finish-breakpoint2.exp: New file.
3793 * gdb.python/py-finish-breakpoint2.py: New file.
3794
3b7962f9
JK
37952011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3796
3797 Partial fix of compatibility with gcc-4.7.
3798 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
3799 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
3800 Add comment to add a PASS case in the future.
3801
6538471c
JK
3802 Fix compatibility with gcc-4.7.
3803 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
3804
7052e42c
UW
38052011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
3806
3807 PR tdep/12797
3808 * gdb.base/callfuncs.exp: Remove KFAIL.
3809
9ac7f98e
JB
38102011-12-21 Joel Brobecker <brobecker@adacore.com>
3811
3812 * gdb.ada/task_bp: New testcase.
3813
f6eeced0
JK
38142011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3815
3816 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3817 -DNO_SECTIONS.
3818 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3819
72225e17
JK
38202011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3821
3822 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3823 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3824 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3825 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3826 conditional for gcc <= 4.5.
3827
13ac8d2c
JK
38282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3829
3830 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3831 by XFAIL.
3832 * gdb.cp/static-method.exp (info addr A::func())
3833 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3834 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3835 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3836 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3837 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3838 (test value of F in k3_m): Likewise.
3839 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3840 Likewise.
3841
049682ba
JK
38422011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3845 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3846 Remove.
3847 * gdb.threads/attachstop-mt.c: Remove.
3848 * gdb.threads/attachstop-mt.exp: Remove.
3849
2c9d8796
MK
38502011-12-17 Mark Kettenis <kettenis@gnu.org>
3851
3852 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3853
e0f9f062
DE
38542011-12-16 Doug Evans <dje@google.com>
3855
f4aa2101 3856 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
3857 * boards/native-gdbserver.exp: New file.
3858
e0f9f062
DE
3859 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3860 gdbserver output.
3861 (gdbserver_default_get_remote_address): New function.
3862 (gdbserver_start): Call gdb,get_remote_address to compute argument
3863 to "target remote" command.
3864
80b6e756
PM
38652011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3866
1c3ad6ab 3867 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
3868 python print-stack. Add set/show python print-stack
3869 off|full|message tests.
3870
1576bd00
YQ
38712011-12-15 Yao Qi <yao@codesourcery.com>
3872
3873 * gdb.trace/strace.c: New
3874 * gdb.trace/strace.exp: New.
3875
d6a0f6e0
TT
38762011-12-14 Tom Tromey <tromey@redhat.com>
3877
3878 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3879
31015e1d
DE
38802011-12-14 Doug Evans <dje@google.com>
3881
3882 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3883
7b50312a
PA
38842011-12-14 Pedro Alves <pedro@codesourcery.com>
3885
3886 PR threads/10729
3887
3888 * gdb.mi/watch-nonstop.c: New file.
3889 * gdb.mi/mi-watch-nonstop.exp: New file.
3890
924437bc
PA
38912011-12-13 Pedro Alves <pedro@codesourcery.com>
3892 Doug Evans <dje@google.com>
3893
3894 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3895 (clean_restart): Remove references to the gdb_stub target board
3896 variable.
3897 (gdb_step_for_stub): Delete.
3898
3899 * gdb.base/annota1.exp: Remove all references to [target_info
3900 exists gdb_stub], gdb_step_for_stub and usestubs.
3901 * gdb.base/annota3.exp: Ditto.
3902 * gdb.base/async.exp: Ditto.
3903 * gdb.base/break.exp: Ditto.
3904 * gdb.base/code-expr.exp: Ditto.
3905 * gdb.base/commands.exp: Ditto.
3906 * gdb.base/completion.exp: Ditto.
3907 * gdb.base/condbreak.exp: Ditto.
3908 * gdb.base/consecutive.exp: Ditto.
3909 * gdb.base/cvexpr.exp: Ditto.
3910 * gdb.base/define.exp: Ditto.
3911 * gdb.base/display.exp: Ditto.
3912 * gdb.base/ena-dis-br.exp: Ditto.
3913 * gdb.base/environ.exp: Ditto.
3914 * gdb.base/gnu-ifunc.exp: Ditto.
3915 * gdb.base/maint.exp: Ditto.
3916 * gdb.base/pending.exp: Ditto.
3917 * gdb.base/sect-cmd.exp: Ditto.
3918 * gdb.base/sepdebug.exp: Ditto.
3919 * gdb.base/unload.exp: Ditto.
3920 * gdb.base/watchpoint-solib.exp: Ditto.
3921 * gdb.cp/annota2.exp: Ditto.
3922 * gdb.cp/annota3.exp: Ditto.
3923 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3924 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3925 * gdb.mi/mi-pending.exp: Ditto.
3926 * gdb.trace/circ.exp: Ditto.
3927 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3928 * gdb.base/list.exp: Ditto.
3929
3930 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3931 breakpoint function and all references to the usestubs macro.
3932 * gdb.base/exprs.c: Ditto.
3933 * gdb.base/freebpcmd.c: Ditto.
3934 * gdb.base/bitfields.c: Ditto.
3935 * gdb.base/bitfields2.c: Ditto.
3936 * gdb.base/break.c: Ditto.
3937 * gdb.base/call-sc.c: Ditto.
3938 * gdb.base/call-signals.c: Ditto.
3939 * gdb.base/callfuncs.c: Ditto.
3940 * gdb.base/charset.c: Ditto.
3941 * gdb.base/consecutive.c: Ditto.
3942 * gdb.base/constvars.c: Ditto.
3943 * gdb.base/funcargs.c: Ditto.
3944 * gdb.base/int-type.c: Ditto.
3945 * gdb.base/interrupt.c: Ditto.
3946 * gdb.base/langs0.c: Ditto.
3947 * gdb.base/list0.c: Ditto.
3948 * gdb.base/mips_pro.c: Ditto.
3949 * gdb.base/miscexprs.c: Ditto.
3950 * gdb.base/nodebug.c: Ditto.
3951 * gdb.base/opaque0.c: Ditto.
3952 * gdb.base/pointers.c: Ditto.
3953 * gdb.base/printcmds.c: Ditto.
3954 * gdb.base/ptype.c: Ditto.
3955 * gdb.base/recurse.c: Ditto.
3956 * gdb.base/reread1.c: Ditto.
3957 * gdb.base/reread2.c: Ditto.
3958 * gdb.base/restore.c: Ditto.
3959 * gdb.base/return.c: Ditto.
3960 * gdb.base/run.c: Ditto.
3961 * gdb.base/scope0.c: Ditto.
3962 * gdb.base/sepdebug.c: Ditto.
3963 * gdb.base/setshow.c: Ditto.
3964 * gdb.base/setvar.c: Ditto.
3965 * gdb.base/sigall.c: Ditto.
3966 * gdb.base/signals.c: Ditto.
3967 * gdb.base/structs.c: Ditto.
3968 * gdb.base/structs2.c: Ditto.
3969 * gdb.base/testenv.c: Ditto.
3970 * gdb.base/twice.c: Ditto.
3971 * gdb.base/unwindonsignal.c: Ditto.
3972 * gdb.base/watchpoint.c: Ditto.
3973 * gdb.base/watchpoints.c: Ditto.
3974 * gdb.base/whatis.c: Ditto.
3975 * gdb.cp/classes.cc: Ditto.
3976 * gdb.cp/cplusfuncs.cc: Ditto.
3977 * gdb.cp/derivation.cc: Ditto.
3978 * gdb.cp/formatted-ref.cc: Ditto.
3979 * gdb.cp/misc.cc: Ditto.
3980 * gdb.cp/overload.cc: Ditto.
3981 * gdb.cp/ovldbreak.cc: Ditto.
3982 * gdb.cp/ref-params.cc: Ditto.
3983 * gdb.cp/ref-types.cc: Ditto.
3984 * gdb.cp/templates.cc: Ditto.
3985 * gdb.cp/virtfunc.cc: Ditto.
3986 * gdb.hp/gdb.aCC/run.c: Ditto.
3987 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3988 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3989 * gdb.reverse/consecutive-reverse.c: Ditto.
3990 * gdb.reverse/sigall-reverse.c: Ditto.
3991 * gdb.reverse/until-reverse.c: Ditto.
3992 * gdb.reverse/watch-reverse.c: Ditto.
3993 * gdb.trace/actions.c: Ditto.
3994 * gdb.trace/circ.c: Ditto.
3995 * gdb.trace/collection.c: Ditto.
3996
fabde485
PA
39972011-12-13 Pedro Alves <pedro@codesourcery.com>
3998
3999 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
4000 (func6, func7): New.
4001 (main): Call func6 and func7.
4002 * gdb.base/watchpoint.exp (test_wide_location_1)
4003 (test_wide_location_2): New.
4004 (top level): Re-enable hardware watchpoints if necessary. Call
4005 test_wide_location_1 and test_wide_location_2.
4006
ff7d1690
YQ
40072011-12-11 Yao Qi <yao@codesourcery.com>
4008
4009 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
4010
a6af7abe
JB
40112011-12-11 Joel Brobecker <brobecker@adacore.com>
4012
4013 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
4014 expected output for unsupported case.
4015
61638e15
JK
40162011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 PR testsuite/12649
4019 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
4020 Protect gdb_test_multiple by final $gdb_prompt match.
4021
0a00efc3
JK
40222011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4023
4024 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
4025 New variable, new test.
4026 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4027 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4028 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4029 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
4030 them if HAVE_GCC_45682_FIXED is not set.
4031
4511b1ba
YQ
40322011-12-10 Yao Qi <yao@codesourcery.com>
4033
4034 * gdb.trace/status-stop.exp: New.
4035 * gdb.trace/status-stop.c: New.
4036
27949e73
JK
40372011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4038
4039 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
4040 timeout.
4041
d8ea7931
TT
40422011-12-08 Tom Tromey <tromey@redhat.com>
4043
4044 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
4045 condition.
4046
1cc310d2
SS
40472011-12-07 Stan Shebs <stan@codesourcery.com>
4048
4049 * gdb.trace/tfind.exp: Update for output changes.
4050
d482a875
PA
40512011-12-07 Pedro Alves <pedro@codesourcery.com>
4052
4053 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
4054 throws "Cannot insert catchpoints in this configuration".
4055 * gdb.ada/mi_catch_ex.exp: Likewise.
4056
f0ba3972
PA
40572011-12-06 Pedro Alves <pedro@codesourcery.com>
4058
4059 * gdb.base/break-always.exp: Test changing memory at addresses
4060 with breakpoints inserted.
4061
f8eba3c6
TT
40622011-12-06 Joel Brobecker <brobecker@acacore.com>
4063
4064 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
4065 involving a fully qualified function name.
4066
40672011-12-06 Tom Tromey <tromey@redhat.com>
4068
4069 * gdb.ada/homonym.exp: Add three breakpoint tests.
4070
40712011-12-06 Tom Tromey <tromey@redhat.com>
4072
4073 * gdb.base/solib-weak.exp (do_test): Remove kfail.
4074 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
4075 * gdb.objc/objcdecode.exp: Update for output changes.
4076 * gdb.linespec/linespec.exp: New file.
4077 * gdb.linespec/lspec.cc: New file.
4078 * gdb.linespec/lspec.h: New file.
4079 * gdb.linespec/body.h: New file.
4080 * gdb.linespec/base/two/thefile.cc: New file.
4081 * gdb.linespec/base/one/thefile.cc: New file.
4082 * gdb.linespec/Makefile.in: New file.
4083 * gdb.cp/templates.exp (test_template_breakpoints): Update for
4084 output changes.
4085 * gdb.cp/re-set-overloaded.exp: Remove kfail.
4086 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
4087 makes one breakpoint.
4088 * gdb.cp/method2.exp (test_break): Update for output changes.
4089 * gdb.cp/mb-templates.exp: Update for output changes.
4090 * gdb.cp/mb-inline.exp: Update for output changes.
4091 * gdb.cp/mb-ctor.exp: Update for output changes.
4092 * gdb.cp/ovsrch.exp: Use fully-qualified names.
4093 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
4094 has multiple matches.
4095 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
4096 error message change.
4097 * gdb.base/list.exp (test_list_filename_and_number): Update for
4098 error message change.
4099 * gdb.base/break.exp: Disable pending breakpoints. Update for
4100 output changes.
4101 * configure.ac: Add gdb.linespec.
4102 * configure: Rebuild.
4103 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
4104
c642a434
UW
41052011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
4106
4107 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
4108 last_break register on s390*-*-* targets.
4109
b18003d1
JB
41102011-12-06 Joel Brobecker <brobecker@adacore.com>
4111
4112 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
4113 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
4114 of parameter X in procedure Foo.
4115
fe96589c
SS
41162011-12-05 Stan Shebs <stan@codesourcery.com>
4117
4118 * gdb.trace/tfind.exp: Update help string matches.
4119
1820ab47
JK
41202011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4121
4122 * gdb.server/ext-run.exp (get process list): Accept also systemd
4123 as PID 1.
4124
e11ac3a3
JK
41252011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4126 Pedro Alves <pedro@codesourcery.com>
4127
4128 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
4129 starting GDB.
4130 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
4131 $use_gdb_stub.
4132 * gdb.base/display.exp: Likewise.
4133 * gdb.base/ending-run.exp: Likewise.
4134 * gdb.base/list.exp (test_listsize): Likewise.
4135 * gdb.base/setshow.exp: Likewise.
4136 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
4137 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
4138 check by global $use_gdb_stub.
4139 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
4140 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
4141 (default_gdb_init): Unset global $use_gdb_stub.
4142 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
4143 by global $use_gdb_stub.
4144 * lib/gdbserver-support.exp: Extend comments for set_board_info
4145 gdb_protocol and gdb,socketport.
4146 (gdbserver_start_extended): Set global gdbserver_protocol and
4147 gdbserver_gdbport. Clear global use_gdb_stub.
4148 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
4149 from target use_gdb_stub.
4150 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
4151
1d41d75c
DE
41522011-12-03 Doug Evans <dje@google.com>
4153
4154 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
4155 (gdb_step_for_stub): Add comments.
4156
d6d7a51a
MR
41572011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
4158
4159 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
4160 to the caller.
4161 (gdb_test_multiple): Likewise.
4162
05acf274
JK
41632011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4164
4165 Fix gdb.mi/mi-solib.exp without system debug info installed.
4166 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
4167 expect attribute, return 0 for it. Update comments.
4168
2268b414
JK
41692011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4170
4171 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
4172 (corrupted list): Adjust the expectation.
4173
585861ea
JK
41742011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4175
4176 PR threads/13448
4177 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
4178 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
4179 * gdb.threads/tls-var-main.c: New file.
4180 * gdb.threads/tls-var.c: New file.
4181 * gdb.threads/tls-var.exp: New file.
4182
968643aa
JK
41832011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 PR testsuite/12649
4186 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
4187 Protect gdb_test_multiple by final $gdb_prompt match.
4188 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
4189 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4190 (test_tracepoints): Likewise.
4191
9750bca9
JK
41922011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 PR breakpoints/13346
4195 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
4196 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
4197 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
4198
ac1349b7
JB
41992011-12-01 Joel Brobecker <brobecker@adacore.com>
4200
4201 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
4202 * gdb.ada/homonym/homonym.adb: For use of all types defined
4203 locally inside both Get_Value subprograms.
4204
26d44faf
JK
42052011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4206
4207 Fix racy FAILs.
4208 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
4209 of send_gdb.
4210
514f6425
UW
42112011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4212
4213 * gdb.base/testenv.exp: Skip on remote targets. Unset global
4214 environment variable after test completed.
4215
4255c8d2
UW
42162011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4217
4218 * gdb.base/solib-nodir.exp: Skip if remote target.
4219 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
4220 application. Call gdb_load_shlibs.
4221 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
4222
a35ad96a
JB
42232011-11-29 Joel Brobecker <brobecker@adacore.com>
4224
4225 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
4226
1a1d5513
JB
42272011-11-28 Joel Brobecker <brobecker@adacore.com>
4228
4229 * gdb.ada/fullname_bp: New testcase.
4230
50b4ddf8
JK
42312011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4232
4233 PR testsuite/12649
4234 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
4235 Wrap send_gdb into a new gdb_test.
4236
fb0aec57
JK
4237 Code cleanup.
4238 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
4239 Convert send_gdb and gdb_expect to gdb_test_multiple.
4240
2376d946
JK
42412011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4242
4243 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
4244
1eec78bd
KS
42452011-11-23 Keith Seitz <keiths@redhat.com>
4246
4247 * lib/mi-support.exp (varobj_tree): New namespace and procs.
4248 (mi_varobj_tree_test_children_callback): New proc.
4249 (mi_walk_varobj_tree): New proc.
4250
36dfb11c
TT
42512011-11-22 Tom Tromey <tromey@redhat.com>
4252
4253 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
4254 Add "use_mi_command" argument.
4255 (mi_run_cmd, mi_run_with_cli): New procs.
4256 * gdb.mi/solib-lib.c: New file.
4257 * gdb.mi/solib-main.c: New file.
4258 * gdb.mi/mi-solib.exp: New file.
4259
0e965dd0
DE
42602011-11-21 Doug Evans <dje@google.com>
4261
4262 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
4263 _Unwind_DebugHook is missing.
4264
f196051f
SS
42652011-11-20 Stan Shebs <stan@codesourcery.com>
4266
4267 * gdb.trace/tstatus.exp: New.
4268 * gdb.trace/actions.c: Include string.h.
4269
bfccc43c
YQ
42702011-11-18 Yao Qi <yao@codesourcery.com>
4271
4272 * gdb.trace/pending.exp: New.
4273 * gdb.trace/pending.c: New.
4274 * gdb.trace/pendshr1.c: New.
4275 * gdb.trace/pendshr2.c: New.
4276 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
4277 tracepoint location becomes pending.
4278 (tracepoint_change_loc_2): New.
4279
73cd8ab1
DM
42802011-11-16 David S. Miller <davem@davemloft.net>
4281
4282 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
4283 target is sparc*-*-linux*
4284
77426730
PK
42852011-11-15 Paul Koning <paul_koning@dell.com>
4286
4287 * gdb.python/py-type.exp: New testcases for exceptions on scalar
4288 types.
4289
ed59ded5
DE
42902011-11-14 Doug Evans <dje@google.com>
4291
4292 * gdb.base/shell.exp: New file.
4293
405f8e94
SS
42942011-11-14 Stan Shebs <stan@codesourcery.com>
4295
4296 * gdb.trace/ftrace.c: New.
4297 * gdb.trace/ftrace.exp: New.
4298
1e4d1764
YQ
42992011-11-14 Yao Qi <yao@codesourcery.com>
4300
4301 * gdb.trace/change-loc-1.c: New.
4302 * gdb.trace/change-loc-2.c: New.
4303 * gdb.trace/change-loc.c: New.
4304 * gdb.trace/change-loc.exp: New.
4305 * gdb.trace/change-loc.h: New.
4306 * gdb.trace/trace-break.c (marker): Define new symbol.
4307 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
4308 New.
4309 (break_trace_same_addr_6): New.
4310
71eba9c2 43112011-11-12 Matt Rice <ratmice@gmail.com>
4312
4313 * gdb.base/info-macros.exp: Make tests for info definitions
4314 test info macro. Add tests for info macro argument processing.
4315 Rename a few tests.
4316
1d93e29a
KS
43172011-11-11 Keith Seitz <keiths@redhat.com>
4318
4319 PR gdb/12843
4320 * gdb.base/linespecs.exp: New file.
4321
a4b5b48a
DE
43222011-11-11 Doug Evans <dje@google.com>
4323
4324 * gdb.threads/print-threads.exp: Extend timeout for slower
4325 tests.
4326
f6b47be4
DE
43272011-11-10 Doug Evans <dje@google.com>
4328
792a0230
DE
4329 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
4330 "record to end of main" test.
4331
f6b47be4
DE
4332 * gdb.python/py-type.c (TS): New typedef.
4333 (ts): New global.
4334 * gdb.python/py-type.exp: Test field list of typedef.
4335
22355c90
JB
43362011-11-10 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.ada/small_reg_param: New testcase.
4339
a7860e76
TT
43402011-11-09 Tom Tromey <tromey@redhat.com>
4341
4342 * gdb.cp/destrprint.exp: New file.
4343 * gdb.cp/destrprint.cc: New file.
4344
72a2e3dc
MI
43452011-11-08 Meador Inge <meadori@codesourcery.com>
4346
4347 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
4348 (switch_stack_to_other): New test function.
4349 * gdb.arch/thumb-prologue.exp: New test cases.
4350
c7195df2 43512011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
4352
4353 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
4354
d3895d7d
YQ
43552011-11-08 Yao Qi <yao@codesourcery.com>
4356
4357 * gdb.exp (supports_process_record): New.
4358 (supports_reverse): New.
4359 * gdb.reverse/break-precsave.exp: Call support_process_record
4360 to run test conditionally.
4361 * gdb.reverse/consecutive-precsave.exp: Likewise.
4362 * gdb.reverse/i386-precsave.exp: Likewise.
4363 * gdb.reverse/machinestate-precsave.exp: Likewise.
4364 * gdb.reverse/solib-precsave.exp: Likewise.
4365 * gdb.reverse/step-precsave.exp: Likewise.
4366 * gdb.reverse/until-precsave.exp: Likewise.
4367 * gdb.reverse/watch-precsave.exp: Likewise.
4368 * gdb.reverse/break-reverse.exp: Call support_reverse to run
4369 test conditionally.
4370 * gdb.reverse/consecutive-reverse.exp: Likewise.
4371 * gdb.reverse/finish-precsave.exp: Likewise.
4372 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4373 * gdb.reverse/finish-reverse.exp: Likewise.
4374 * gdb.reverse/i386-reverse.exp: Likewise.
4375 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4376 * gdb.reverse/machinestate.exp: Likewise.
4377 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
4378 * gdb.reverse/sigall-precsave.exp: Likewise.
4379 * gdb.reverse/sigall-reverse.exp: Likewise.
4380 * gdb.reverse/solib-reverse.exp: Likewise.
4381 * gdb.reverse/step-reverse.exp: Likewise.
4382 * gdb.reverse/until-reverse.exp: Likewise.
4383 * gdb.reverse/watch-reverse.exp: Likewise.
4384
a59306a3
YQ
43852011-11-05 Yao Qi <yao@codesourcery.com>
4386
4387 * gdb.trace/trace-break.exp: Add test on setting two
4388 fast tracepoints at the same address.
4389
87769f59
JK
43902011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4391
4392 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
4393
3065dfb6
SS
43942011-11-02 Stan Shebs <stan@codesourcery.com>
4395
4396 * gdb.trace/collection.c: Add code using strings.
4397 * gdb.trace/collection.exp: Add tests of string collection.
4398
89e208db
JK
43992011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4400
4401 * gdb.base/skip-solib.exp (executable_main): New variable.
4402 (binfile_main): Base it on that.
4403 Use $executable_main in clean_restart calls. Drop gdb_exit and
4404 gdb_start calls.
4405
405e54e9
JK
44062011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4407
4408 Fix racy FAILs.
4409 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
4410 breakpoint_re globals import by async. Set string_regex to .* for
4411 async. Remove the optional thread_selected_re and breakpoint_re
4412 globals expectations.
4413
58e8570a
JM
44142011-11-01 Joseph Myers <joseph@codesourcery.com>
4415
4416 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
4417 well as Cygwin.
4418
7b35ec7f 44192011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
4420
4421 Add tests for skip command.
89e208db
JK
4422 * gdb.base/skip-solib-lib.c: New
4423 * gdb.base/skip-solib-main.c: New
4424 * gdb.base/skip-solib.exp: New
4425 * gdb.base/skip.c: New
4426 * gdb.base/skip.exp: New
4427 * gdb.base/skip1.c: New
4428 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 4429
b9fd1791
PA
44302011-10-31 Yao Qi <yao@codesourcery.com>
4431 Pedro Alves <pedro@codesourcery.com>
4432
4433 * gdb.trace/trace-break.c: New.
4434 * gdb.trace/trace-break.exp: New.
4435
4323fecc
JK
44362011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4437
4438 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
4439 break-here-2.
4440
0e5bf2a8
PA
44412011-10-28 Pedro Alves <pedro@codesourcery.com>
4442
4443 * gdb.threads/no-unwaited-for-left.c: New.
4444 * gdb.threads/no-unwaited-for-left.exp: New.
4445 * gdb.threads/non-ldr-exc-1.c: New.
4446 * gdb.threads/non-ldr-exc-1.exp: New.
4447 * gdb.threads/non-ldr-exc-2.c: New.
4448 * gdb.threads/non-ldr-exc-2.exp: New.
4449 * gdb.threads/non-ldr-exc-3.c: New.
4450 * gdb.threads/non-ldr-exc-3.exp: New.
4451 * gdb.threads/non-ldr-exc-4.c: New.
4452 * gdb.threads/non-ldr-exc-4.exp: New.
4453
3a3dad98
JK
44542011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4455
4456 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
4457 * gdb.base/attach-pie-misread.exp: Likewise.
4458 * gdb.base/break-interp.exp: Likewise.
4459 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
4460 testcases for use_gdb_stub.
4461 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
4462 (continue): New testcase.
4463 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
4464 * gdb.threads/attach-into-signal.exp: Likewise.
4465 * gdb.threads/attach-stopped.exp: Likewise.
4466 * gdb.threads/attachstop-mt.exp: Likewise.
4467
d6a5d40c
PK
44682011-10-28 Paul Koning <paul_koning@dell.com>
4469
4470 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
4471
ca539be8
JK
44722011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4473
4474 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
4475 (mi_gdb_test): Import globals thread_selected_re
4476 and breakpoint_re. Expect them optionally at the regex start.
4477
d234ef5c
DE
44782011-10-27 Doug Evans <dje@google.com>
4479
4480 * gdb.python/python.exp: Test source -s.
4481
ab964825
PK
44822011-10-26 Paul Koning <paul_koning@dell.com>
4483
4484 * gdb.python/lib-types.cc (struct A): New structure.
4485 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 4486
54d8a644
PK
44872011-10-25 Paul Koning <paul_koning@dell.com>
4488
4489 PR python/13327
d234ef5c 4490
54d8a644
PK
4491 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
4492 fetch_lazy method.
4493
b0221781
YQ
44942011-10-24 Yao Qi <yao@codesourcery.com>
4495
4496 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
4497 target is tic6x-*-*.
4498
6cda5a20
JB
44992011-10-21 Joel Brobecker <brobecker@adacore.com>
4500
4501 * gdb.ada/mi_task_info/task_switch.adb: New file.
4502 * gdb.ada/mi_task_info.exp: New file.
4503
5ed9db04
JK
45042011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4505
4506 * gdb.cp/expand-psymtabs-cxx.exp: New file.
4507 * gdb.cp/expand-psymtabs-cxx.cc: New file.
4508
9df2fbc4
PM
45092011-10-20 Phil Muldoon <pmuldoon@redhat.com>
4510
4511 PR python/12656
4512
4513 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
4514 global_block tests.
4515
736086ba
TT
45162011-10-18 Tom Tromey <tromey@redhat.com>
4517
4518 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
4519
4af31552
TT
45202011-10-18 Tom Tromey <tromey@redhat.com>
4521
4522 * gdb.base/source.exp: Don't include full file name in test name.
4523 * gdb.python/python.exp: Don't include full file name in test
4524 name.
4525
43136979
AR
45262011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4527
4528 * gdb.base/attach-pie-noexec.c: New files.
4529 * gdb.base/attach-pie-noexec.exp: New files.
4530
543a9323
JM
45312011-10-17 Joseph Myers <joseph@codesourcery.com>
4532
4533 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
4534 prompt for each extra line in command.
4535
21ae7a4d
JK
45362011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
4539 Revert the part of:
4540 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4541 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4542 Change the expected string.
4543
20ec36d9
JK
45442011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 Fix results with system glibc debug info installed.
4547 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
4548 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
4549 Accept also __libc_ symbol prefix and no prefix.
4550
6501c2fc
KS
45512011-10-14 Keith Seitz <keiths@redhat.com>
4552
4553 PR c++/13225
4554 * gdb.cp/converts.cc (foo3_1): New function.
4555 (foo3_2): New functions.
4556 * gdb.cp/converts.exp: Add tests for int to pointer conversion
4557 and null pointer conversions of integer constant zero.
4558 Add test to check if all arguments are checked for incompatible
4559 conversion BADNESS.
4560
55b1fd0c
TT
45612011-10-14 Tom Tromey <tromey@redhat.com>
4562
4563 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
4564 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
4565 linespec.
4566
22c05d8a
JK
45672011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 Fix internal error regression.
4570 * gdb.dwarf2/implptr-optimized-out.S: New file.
4571 * gdb.dwarf2/implptr-optimized-out.exp: New file.
4572
1d6edc3c
JK
45732011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 Fix empty DWARF expressions DATA vs. SIZE conditionals.
4576 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
4577 (loclist): New.
4578 (4): New abbrev.
4579 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
4580 Use prepare_for_testing, remove clean_restart.
4581 (p arraynoloc, p arraycallnoloc): New tests.
4582
9ec72168
JK
45832011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.cp/namespace-enum.exp (executable): New variable.
4586 (binfile): Use ${objdir}/${subdir}/ prefix.
4587 Use ${executable} for clean_restart.
4588
9c6c53f7
SA
45892011-10-11 Sterling Augustine <saugustine@google.com>
4590
4591 * gdb.cp/Makefile.in: Add namespace-enum test.
4592 * gdb.cp/namespace-enum.exp: New file.
4593 * gdb.cp/namespace-enum.c: New file.
4594 * gdb.cp/namespace-enum-main.c: New file.
4595
fac7ceb3
UW
45962011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
4597
4598 * gdb.python/py-shared.exp: Relax filename check to handle remote:
4599 sysroot.
4600
941b2081
JK
46012011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4602
4603 Reimplement @entry in input expressions.
4604 * gdb.base/exprs.c (v_int_array_init): New variable.
4605 * gdb.base/exprs.exp (print v_int_array_init)
4606 (print *v_int_array_init@1, print *v_int_array_init@2)
4607 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
4608 (print v_int_array_init[1]@1): New tests.
4609
0344e878
JM
46102011-10-10 Joseph Myers <joseph@codesourcery.com>
4611
4612 * gdb.cp/gdb2495.exp: Do not include directories in filename in
4613 expected message.
4614
5a56e9c5
DE
46152011-10-09 Doug Evans <dje@google.com>
4616
4617 * gdb.base/alias.exp: Add tests for alias command.
4618
2bda9cc5
JK
46192011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4620
4621 * gdb.arch/amd64-entry-value.s: New file.
4622 * gdb.mi/mi2-amd64-entry-value.s: New file.
4623
a471c594
JK
46242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 Display @entry parameter values even for references.
4627 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
4628 functions.
4629 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
4630 reference and datap_input.
4631 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
4632 breakpoints.
4633 (continue to breakpoint: entry_reference: reference)
4634 (entry_reference: bt at entry)
4635 (continue to breakpoint: entry_reference: breakhere_reference)
4636 (entry_reference: bt, entry_reference: ptype regparam)
4637 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
4638 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
4639 (entry_reference: p regcopy, entry_reference: p nodataparam)
4640 (entry_reference: p nodataparam@entry): New tests.
4641
36b11add
JK
46422011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4643
4644 Support @entry in input expressions.
4645 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
4646 (entry_stack: p s1@entry, entry_stack: p s2@entry)
4647 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
4648 (tailcall: p j@entry): New tests.
4649 * gdb.cp/koenig.cc (A::entry): New function.
4650 (main): Call it.
4651 * gdb.cp/koenig.exp (p entry (c)): New test.
4652
e18b2753
JK
46532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4654
4655 Display @entry parameter values (without references).
4656 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
4657 (different, validity, invalid): New functions.
4658 (main): Call them.
4659 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
4660 stacktest, breakhere_stacktest, different, breakhere_different,
4661 breakhere_validity and breakhere_invalid.
4662 (entry: bt): Update for @entry.
4663 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
4664 (entry_validity: *, entry_invalid: *): Many new tests.
4665 * gdb.base/break.exp
4666 (run until breakpoint set at small function, optimized file): Accept
4667 also the @entry suffix.
4668 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
4669 * gdb.mi/mi2-amd64-entry-value.c: New files.
4670 * gdb.mi/mi2-amd64-entry-value.exp: New files.
4671
2d6c5dc2
JK
46722011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4673
4674 Protect entry values against self tail calls.
4675 * gdb.arch/amd64-entry-value.cc (self2, self): New.
4676 (main): Call self.
4677 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
4678 (set debug entry-values 1, self: bt debug entry-values): New tests.
4679
111c6489
JK
46802011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4681
4682 Recognize virtual tail call frames.
4683 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
4684 (amb_b, amb_a): New.
4685 (main): Call a and b.
4686 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
4687 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
4688 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
4689 New tests.
4690
8e3b41a9
JK
46912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4692
4693 Implement basic support for DW_TAG_GNU_call_site.
4694 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
4695 * gdb.arch/amd64-entry-value.cc: New file.
4696 * gdb.arch/amd64-entry-value.exp: New file.
4697
181cebd4
JK
46982011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4699
4700 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
4701 * gdb.dwarf2/implptr-64bit.S: New file.
4702 * gdb.dwarf2/implptr-64bit.exp: New file.
4703
741f5e3c
JK
47042011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 Fix initial language detection with -readnow.
4707 * gdb.cp/readnow-language.cc: New file.
4708 * gdb.cp/readnow-language.exp: New file.
4709
a73d2258
JK
47102011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4711
4712 Fix printed anonymous struct name.
4713 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
4714
af369495
JM
47152011-10-09 Joseph Myers <joseph@codesourcery.com>
4716
4717 * gdb.base/solib-symbol.exp: Do not include directories in
4718 filenames in expected messages.
4719
1fa57852
DE
47202011-10-07 Doug Evans <dje@google.com>
4721
4722 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
4723
bd054e06
KP
47242011-10-07 Kevin Pouget <kevin.pouget@st.com>
4725
4726 Allow Python notification of new object-file loadings.
4727 * gdb.python/py-events.exp: Test newobjfile event.
4728 * gdb.python/py-events.py: Register newobjfile callback.
4729 * gdb.python/py-events.c: Add call to shared library
4730 * gdb.python/py-events-shlib.c: New file.
4731
8031b6f8
JM
47322011-10-06 Joseph Myers <joseph@codesourcery.com>
4733
4734 * gdb.base/fixsection.exp: Do not include directories in filename
4735 in expected message.
4736
7fea6923
PM
47372011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4738
4739 Add tests for passing of environment variables to inferior.
4740 * gdb.base/testenv.c: New test source.
4741 * gdb.base/testenv.exp: New expect test.
4742
687f2a88
PK
47432011-10-04 Paul Koning <paul_koning@dell.com>
4744
4745 * gdb.python/py-value.c (main): Break before return.
4746
cb6be26b
KP
47472011-10-04 Kevin Pouget <kevin.pouget@st.com>
4748
4749 PR python/12691: Add the inferior to Python exited event
4750 * gdb.python/py-events.exp: Test the inferior attribute of exited
4751 event with a fork.
4752 * gdb.python/py-events.py: Print inferior number on exit.
4753 * gdb.python/py-events.c: Fork the inferior.
4754
fb213700
EBM
47552011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4756
4757 * gdb.base/jit.exp: Add testcase name to log message
4758
aa2071bd
PK
47592011-10-03 Paul Koning <paul_koning@dell.com>
4760 Jan Kratochvil <jan.kratochvil@redhat.com>
4761
4762 * gdb.python/py-value.exp
4763 (python inval = gdb.parse_and_eval('*(int*)0'))
4764 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
4765 (set argc=2, python print argc_lazy): New tests.
4766
dd11a36c
JB
47672011-10-02 Joel Brobecker <brobecker@adacore.com>
4768
4769 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
4770
46f886f1
JK
47712011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4772 Pedro Alves <pedro@codesourcery.com>
4773
4774 * gdb.python/py-value.exp (test_value_in_inferior): New variable
4775 can_read_0, test for it.
4776 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
4777 (parse_and_eval with memory error): ... here, make it untested if
4778 can_read_0.
4779
c5cb204f
MP
47802011-09-30 Marek Polacek <mpolacek@redhat.com>
4781
4782 * gdb.python/python.exp (verify pagination beforehand)
4783 (verify pagination afterwards): Fix race by splitting the line.
4784
68fb0ec0
JM
47852011-09-29 Joseph Myers <joseph@codesourcery.com>
4786
4787 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
4788 for 64-bit multilibs from i?86-* targets.
4789
6aee0d90
MP
47902011-09-29 Marek Polacek <mpolacek@redhat.com>
4791
4792 * lib/gdb.exp: Fix a typo in one of the comments.
4793
e9101ff5
MP
47942011-09-29 Marek Polacek <mpolacek@redhat.com>
4795
4796 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
4797 matching pattern.
4798
7a81bdbf
PK
47992011-09-28 Paul Koning <paul_koning@dell.com>
4800
4801 * gdb.python/py-type.c (enum E): New.
4802 * gdb.python/py-type.exp (test_fields): Add tests for Python
4803 mapping access to fields.
4804 (test_enums): New test for field access on enums.
4805
6710bf39
SS
48062011-09-27 Stan Shebs <stan@codesourcery.com>
4807
4808 * gdb.trace/collection.exp: Test collection of $_ret.
4809
b2a6bdeb
AT
48102011-09-22 Andreas Tobler <andreast@fgznet.ch>
4811
4812 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4813 list of compilation switches for <*-*-freebsd*>.
4814
3c9057f3
SS
48152011-09-19 Stan Shebs <stan@codesourcery.com>
4816
4817 * gdb.trace/tspeed.exp: New file.
4818 * gdb.trace/tspeed.c: New file.
4819
34518530
YQ
48202011-09-18 Yao Qi <yao@codesourcery.com>
4821
4822 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4823 instructions.
4824 (test_adr_32bit, test_pop_pc): Likewise.
4825 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4826 Thumb instructions.
4827 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4828 in gdb_test_multiple.
4829 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4830
ab254057
YQ
48312011-09-17 Yao Qi <yao@codesourcery.com>
4832
4833 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4834 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4835 support single step to signal handler.
4836
9c317b71
YQ
48372011-09-17 Yao Qi <yao@codesourcery.com>
4838
4839 * gdb.base/disp-step-fork.c: New.
4840 * gdb.base/disp-step-syscall.exp: New.
4841 * gdb.base/disp-step-vfork.c: New.
4842
a8123151
JB
48432011-09-16 Joel Brobecker <brobecker@adacore.com>
4844
4845 * gdb.ada/tasks.exp: Make the expected output for
4846 the `info tasks' tests more resilient to spacing
4847 changes.
4848
63a9aad8
JK
48492011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4850
4851 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4852 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4853
2aa48337
KP
48542011-09-15 Kevin Pouget <kevin.pouget@st.com>
4855
4856 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4857 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4858
6839b47f
KP
48592011-04-30 Kevin Pouget <kevin.pouget@st.com>
4860
4861 Handle multiple breakpoint hits in Python interface:
4862 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4863 presence.
4864 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4865 breakpoint hits.
4866
0935723e
JK
48672011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4868 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.python/py-events.exp: Remove pretty printing comment.
4871 * gdb.python/py-evsignal.exp: New file.
4872 * gdb.python/py-evthreads.c: Include signal.h.
4873 (thread3): Remove variable count3. Remove variable bad and use raise
4874 instead.
4875 (thread2): Remove variable count2. Move thread3 pthread_create here,
4876 merge pthread_join to a single line.
4877 (main): Remove variable count1. Merge pthread_join with pthread_create
4878 to a single line.
4879 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4880 KFAIL python/12966 for gdbserver. Test return value of
4881 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4882 gdb_expect by gdb_test and gdb_test_multiple.
4883 (thread 2, thread 3): New tests.
4884
4801a9a3
PA
48852011-09-12 Matt Rice <ratmice@gmail.com>
4886 Pedro Alves <pedro@codesourcery.com>
4887
4888 PR gdb/13175
4889
4890 * gdb.base/interp.exp: New tests.
4891 * gdb.base/interp.c: New file.
4892
24ece742
DE
48932011-09-12 Doug Evans <dje@google.com>
4894
4895 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4896 * gdb.dwarf2/typeddwarf.exp: Ditto.
4897
7f062217
JK
48982011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 Fix compatibility with x32 arch.
4901 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4902 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4903 is_x86_like_target.
4904 * testsuite/gdb.trace/collection.exp: Likewise.
4905 * testsuite/gdb.trace/report.exp: Likewise.
4906 * testsuite/gdb.trace/unavailable.exp: Likewise.
4907 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4908 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4909 (is_x86_like_target): Check also is_amd64_regs_target.
4910
08711b9a
JK
49112011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4912
4913 PR breakpoints/12435
4914 * gdb.arch/amd64-prologue-xmm.c: New file.
4915 * gdb.arch/amd64-prologue-xmm.exp: New file.
4916 * gdb.arch/amd64-prologue-xmm.s: New file.
4917
b99b5f66
JK
49182011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 * gdb.dwarf2/dw2-param-error-main.c: New file.
4921 * gdb.dwarf2/dw2-param-error.S: New file.
4922 * gdb.dwarf2/dw2-param-error.exp: New file.
4923
a391a2f6
PA
49242011-09-08 Pedro Alves <pedro@codesourcery.com>
4925
4926 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4927 inferior's pid and look for a core dump named core.$pid. Use
4928 `remote_file' commands on the host instead of hand coding shell
4929 commands on the build.
4930 * gdb.base/valgrind-db-attach.exp: Kill the program before
4931 finishing the test.
4932
7d8e6458 49332011-09-02 Matt Rice <ratmice@gmail.com>
4934
4935 * lib/prompt.exp: New file for testing the first prompt.
4936 * gdb.python/py-prompt.exp: Ditto.
4937 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4938
68e77c9e
PA
49392011-09-02 Pedro Alves <pedro@codesourcery.com>
4940
4941 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4942 0, before testing gcore.
4943
9655e943
JK
49442011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4945
df6dc84d
JK
4946 * dw2-ifort-parameter-debug.S: Update copyright year.
4947 * dw2-ifort-parameter.c: Update copyright year.
4948 * dw2-ifort-parameter.exp: Update copyright year.
4949
9655e943
JK
4950 * dw2-ifort-parameter-debug.S: New file.
4951 * dw2-ifort-parameter.c: New file.
4952 * dw2-ifort-parameter.exp: New file.
4953
353d1d73
JK
49542011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4955
4956 * gdb.base/commands.exp (error_clears_commands_left): New function.
4957 (): Call it.
4958
5c07461a
JK
49592011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4960
4961 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4962 (C): Initialize `a'.
4963 * gdb.mi/mi-inheritance-syntax-error.exp
4964 (-data-evaluate-expression $path): Expect `a' as 5.
4965
0d932b2f
MK
49662011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4967
4968 PR mi/11912
4969 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4970 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4971 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4972 keyword in output of -var-info-path-expression.
4973
bdb54049
JK
49742011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4975
4976 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4977 * gdb.trace/collection.exp: Likewise.
4978 * gdb.trace/report.exp: Likewise.
4979 * gdb.trace/unavailable.exp: Likewise.
4980 * gdb.trace/while-dyn.exp: Likewise.
4981
59cde39c
KS
49822011-08-18 Keith Seitz <keiths@redhat.com>
4983
4984 PR c++/12266
4985 * gdb.cp/meth-typedefs.cc: New file.
4986 * gdb.cp/meth-typedefs.exp: New file.
4987
fa3a4f15
PM
49882011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4989
4990 * gdb.python/python.exp: Add extended-prompt tests.
4991
c1049fca
JK
49922011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 * gdb.arch/i386-dr3-watch.exp
4995 (watchpoint on gap1 does not fit debug registers)
4996 (delete all watchpoints): Fix racy expect strings.
4997
d93f7b5c
YQ
49982011-08-14 Yao Qi <yao@codesourcery.com>
4999
5000 * gdb.base/maint.exp: set data_section to ".neardata".
5001 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
5002 * gdb.base/savedregs.exp: Handle SIGILL.
5003 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
5004 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
5005
457e09f0
DE
50062011-08-12 Doug Evans <dje@google.com>
5007
5008 * gdb.python/py-symbol.exp: Add test for symbol.type.
5009
5d0bb2fb
UW
50102011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
5011
5012 * gdb.threads/pthreads.exp: Enable on non-native configurations.
5013 * gdb.mi/mi-pthreads.exp: Likewise.
5014 * gdb.mi/mi2-pthreads.exp: Likewise.
5015 * gdb.mi/gdb669.exp.exp: Likewise.
5016
fcdfa280
PA
50172011-08-09 Pedro Alves <pedro@codesourcery.com>
5018
5019 * lib/mi-support.exp (detect_async): Rename to...
5020 (mi_detect_async): ... this.
5021 * gdb.mi/mi-nonstop-exit.exp: Adjust.
5022 * gdb.mi/mi-nonstop.exp: Adjust.
5023 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
5024 * gdb.mi/mi-nsintrall.exp: Adjust.
5025 * gdb.mi/mi-nsmoribund.exp: Adjust.
5026 * gdb.mi/mi-nsthrexec.exp: Adjust.
5027
9d8fa392
PA
50282011-08-09 Pedro Alves <pedro@codesourcery.com>
5029
5030 * gdb.base/display.c (do_loops): New `p_i' local.
5031 * gdb.base/display.exp: Test displaying a variable that is
5032 temporarily at a bad address.
5033
b6cede78
JK
50342011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5035
5036 * gdb.dwarf2/dw2-op-stack-value.S: New file.
5037 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
5038
67bedb8c
JK
50392011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5040
5041 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
5042 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
5043 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 5044
af6e93b2
PA
50452011-08-05 Pedro Alves <pedro@codesourcery.com>
5046
5047 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
5048 procedure.
5049 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
5050
1cf0e11f
YQ
50512011-08-05 Yao Qi <yao@codesourcery.com>
5052
5053 * gdb.base/callfuncs.exp: Set language after main.
5054 * gdb.cp/cplusfuncs.exp: Likewise.
5055 * gdb.cp/inherit.exp: Likewise.
5056
a1e28cb2
UW
50572011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5058
5059 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
5060 * gdb.base/watch-vfork.exp: Skip on remote targets.
5061
d4f5bbb9
UW
50622011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5063
5064 * gdb.threads/thread-find.exp: Support remote targets.
5065
724f4f80
UW
50662011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
5067
5068 * gdb.base/jit.exp: Download solib_binfile to target.
5069 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
5070 and call dlopen without full path name.
5071 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
5072 dlopen without full path name.
5073
934709f0
PW
50742011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5075
5076 * gdb.base/break-always.exp: Complete the test
5077 with duplicated breakpoints and enabling/disabling them.
5078
c26106c4
TT
50792011-08-02 Tom Tromey <tromey@redhat.com>
5080
5081 PR gdb/11289:
5082 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
5083
9300444e 50842011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
5085
5086 PR gdb/13045
5087 * gdb.base/float.exp: Add new test case for PR gdb/13045
5088 * gdb.base/float.c: New file.
5089
00bd41d6
PM
50902011-07-28 Phil Muldoon <pmuldoon@redhat.com>
5091
5092 * gdb.python/py-mi.exp: Test printers returning string hint, and
5093 also not returning a value.
5094 * gdb.python/py-prettyprint.c: Add testcase for above.
5095 * gdb.python/py-prettyprint.py: Add test printer for above.
5096
d24f74ce
JK
50972011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
5100 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
5101 (.Ldie30) Add as field "data4".
5102 (.Ldie32) Rename field "b" to "shl".
5103 (abbrev4) Change for the "data4" field.
5104 (abbrev5, abbrev6) Remove.
5105 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
5106 (p &s.shl): ... here. Add comment.
5107 (p &s.data4): New.
5108
bb7da2bf
JK
51092011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5110
5111 Fix crash on lval_computed values.
5112 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
5113
11081198
JK
51142011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5115
5116 * gdb.base/help.exp (help whatis): Update the expected string.
5117
3c6e0cb3
JK
51182011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5119
5120 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
5121 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
5122 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5123 Change the expected string.
5124
efa80663
PA
51252011-07-26 Pedro Alves <pedro@codesourcery.com>
5126
5127 * gdb.base/watchpoint.exp
5128 (test_disable_enable_software_watchpoint): New procedure.
5129 (top level): Run it.
5130
db8e4570
UW
51312011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
5132
5133 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
5134 executable file "${binfile}", C++ version "${binfile}-cxx".
5135 * gdb.python/py-prettyprint.exp: Likewise.
5136 * gdb.python/py-symbol.exp: Likewise.
5137 * gdb.python/py-type.exp: Likewise.
5138 * gdb.python/py-value.exp: Likewise.
5139 * gdb.python/py-template.exp (test_template_arg): Pass full executable
5140 file name instead of just suffix.
5141
543305c9
JK
51422011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5143
5144 Fix implicit pointer offsets.
5145 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
5146 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
5147 (continue to breakpoint: continue to baz breakpoint for implptr)
5148 (sanity check element 0, sanity check element 1)
5149 (enter the inlined function, check element 0 for the offset)
5150 (check element 1 for the offset)
5151 (continue to breakpoint: ignore the second baz breakpoint): New tests.
5152 (set foo breakpoint for implptr): Update the breakpoint number.
5153
b3215adc
UW
51542011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5155
5156 * gdb.python/py-mi.exp: Use different file names for different
5157 versions of the executable under test.
5158 * gdb.python/py-prettyprint.exp: Likewise.
5159 * gdb.python/py-symbol.exp: Likewise.
5160 * gdb.python/py-template.exp: Likewise.
5161 * gdb.python/py-type.exp: Likewise.
5162 * gdb.python/py-value.exp: Likewise.
5163
182b9acc
UW
51642011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5165
5166 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
5167 flag after restarting GDB if necessary.
5168
e6052b5d
UW
51692011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5170
5171 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
5172
1ced966e
PA
51732011-07-22 Pedro Alves <pedro@codesourcery.com>
5174
5175 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
5176 backend doesn't leave used debug registers behind.
5177
3543a589
TT
51782011-07-22 Tom Tromey <tromey@redhat.com>
5179
5180 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
5181 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
5182 argument.
5183 * gdb.dwarf2/typeddwarf-amd64.S: New file.
5184
14d15303 51852011-07-21 Matt Rice <ratmice@gmail.com>
5186
5187 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
5188 in mostlyclean rule. Add files ending in .core.
5189
9b158ba0 51902011-07-21 Matt Rice <ratmice@gmail.com>
5191
5192 PR macros/12999
5193 * gdb.base/info-macros.c: New test sources.
5194 * gdb.base/info-macros.exp: New tests.
5195
d17b6f81
PM
51962011-07-21 Phil Muldoon <pmuldoon@redhat.com>
5197
5198 * gdb.python/python.exp: Add prompt substitution tests.
5199
918dd910
JK
52002011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 Fix crash if referenced CU is aged out.
5203 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
5204 New.
5205 * gdb.dwarf2/implptr.exp: Likewise.
5206
0e37a63c
JK
52072011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5208
5209 * gdb.dwarf2/implptr.S: Rebuilt.
5210 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
5211 (bar): Use them for j, k, l.
5212 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
5213 COMPILE.
5214 (print j in implptr:bar): Update for the intp typedef.
5215 (print p[0].x in implptr:foo): Use more exact regex.
5216
f65cf84c
TT
52172011-07-18 Tom Tromey <tromey@redhat.com>
5218
5219 * gdb.cp/static-method.exp: Add missing single quote.
5220
d5b4a7be
YQ
52212011-07-18 Yao Qi <yao@codesourcery.com>
5222
5223 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
5224 supported.
5225 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5226 * gdb.mi/mi-nonstop.exp: Likewise.
5227 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5228 * gdb.mi/mi-nsintrall.exp: Likewise.
5229 * gdb.mi/mi-nsmoribund.exp: Likewise.
5230 * gdb.mi/mi-nsthrexec.exp: Likewise.
5231 * gdb.python/py-evthreads.exp: Likewise.
5232
e9ea2662
JK
52332011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5234
5235 Code cleanup.
5236 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
5237 it. Substitute it instead of test_compiler_info everywhere.
5238
ce451573
UW
52392011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5240
5241 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
5242 remote targets as well.
5243
756d88a7
UW
52442011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5245
5246 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
5247 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
5248
31f83dc5
UW
52492011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5250
5251 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
5252 a remote machine, not the host.
5253 (gdb_compile_shlib): Set soname if target is remote.
5254
059241a0
PP
52552011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5256
5257 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
5258
28a0b48c 52592011-07-13 Matt Rice <ratmice@gmail.com>
5260
5261 * gdb.python/py-objfile-script-gdb.py: Renamed to
5262 py-objfile-script-gdb.py.in.
5263 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
5264 py-objfile-script-gdb.py.
5265 * gdb.python/py-objfile-script.exp: Update reference to
5266 py-objfile-script-gdb.py.
5267
9a771b67
JK
52682011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5269
5270 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
5271 reference undefined label.
5272
04ad99e6
JK
52732011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
5276 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
5277 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
5278 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
5279
713389e0
PM
52802011-07-11 Phil Muldoon <pmuldoon@redhat.com>
5281
5282 PR python/12438
5283 * gdb.python/python.exp: Add maint set/show python print-stack
5284 deprecated tests. Add set/show python print-backtrace tests.
5285
97d146f8
JK
52862011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5287
5288 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
5289 debug info.
5290
facde0e5 52912011-07-06 Matt Rice <ratmice@gmail.com>
5292
5293 * gdb.python/python.exp: Update filename paths.
5294 * gdb.python/py-symtab.exp: Ditto.
5295
438640d1
MP
52962011-07-06 Marek Polacek <mpolacek@redhat.com>
5297
5298 * gdb.python/py-evthreads.exp: Add missing `$'.
5299
33a365df
MF
53002011-07-06 Jie Zhang <jie.zhang@analog.com>
5301
5302 * config/bfin.exp: New file.
5303 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
5304 * gdb.asm/bfin.inc: New file.
5305
8f7ae686
MP
53062011-07-06 Marek Polacek <mpolacek@redhat.com>
5307
df46027d 5308 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
5309 the whole output.
5310
eb2a6f42
TT
53112011-07-05 Tom Tromey <tromey@redhat.com>
5312
5313 * gdb.java/jprint.java (jprint.hi): New field.
5314 * gdb.java/jprint.exp: Print string.
5315
177b42fe
TJB
53162011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
5317
5318 * gdb.base/call-sc.c: Fix typos.
5319 * gdb.base/ifelse.exp: Likewise.
5320 * gdb.base/structs.c: Likewise.
5321
3b2a0cf2
JB
53222011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5323
5324 * gdb.base/jit-so.exp: New test.
5325 * gdb.base/jit-dlmain.c: New file.
5326 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
5327
46fc714c
JK
53282011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5329
5330 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
5331 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
5332 * gdb.cp/pr9167.exp (p b): Likewise.
5333 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
5334 (test value of P in inner_m, test type of Z in inner_m): Call
5335 setup_xfail for gcc <= 4.5.
46fc714c 5336
418c7cf7
JK
53372011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5338
5339 * gdb.cp/paren-type.cc: New files.
5340 * gdb.cp/paren-type.exp: New files.
5341
3d50dd94
JK
53422011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5343
5344 Stop on first linespec terminator instead of eating what we can.
5345 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
5346 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
5347 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
5348 (break C::f()): ... this one.
5349 (break C::operator()()): New test.
5350 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
5351 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
5352 test.
5353
dcf9f4ab
JK
53542011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 Fall back linespec to minimal symbols.
5357 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
5358 error message.
5359 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
5360 * gdb.cp/minsym-fallback-main.cc: New file.
5361 * gdb.cp/minsym-fallback.cc: New file.
5362 * gdb.cp/minsym-fallback.exp: New file.
5363 * gdb.cp/minsym-fallback.h: New file.
5364
3f542ed1
JK
53652011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5366
5367 * gdb.cp/no-dmgl-verbose.cc: New file.
5368 * gdb.cp/no-dmgl-verbose.exp: New file.
5369
53702011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
5371
5372 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
5373 __GI_.
5374 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
5375 (f): New function.
5376 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
5377 (complete p 'func<short>(): ... here.
5378 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
5379 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
5380 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
5381 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
5382 Make them KFAIL gcc/49546.
5383
00eb2c4a
JB
53842011-07-01 Joel Brobecker <brobecker@adacore.com>
5385
5386 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
5387
85a20c42
JK
53882011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 Test GCC PR debug/49546.
5391 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
5392 (test type of F in k3_m, test value of F in k3_m): New.
5393 * gdb.cp/temargs.cc (struct S3, struct K3): New.
5394 (main): New variable k3. Call k3.k3_m.
5395
d2d43431
JB
53962011-07-01 Jean-Charles Delay <delay@adacore.com>
5397
5398 * gdb.ada/packed_array.exp: Fix expected outout.
5399
54ae186f
JB
54002011-07-01 Jean-Charles Delay <delay@adacore.com>
5401
5402 * gdb.ada/packed_array.exp: fixed expected output.
5403
8f17729f
JB
54042011-07-01 Joel Brobecker <brobecker@adacore.com>
5405
5406 * gdb.ada/same_enum: New testcase.
5407
f5aa6869
JB
54082011-07-01 Joel Brobecker <brobecker@adacore.com>
5409
5410 * gdb.ada/ptr_typedef: New testcase.
5411
828292f2
JB
54122011-07-01 Joel Brobecker <brobecker@adacore.com>
5413
5414 * gdb.ada/arrayptr.exp: Add ptype test.
5415
18920c42
JB
54162011-07-01 Joel Brobecker <brobecker@adacore.com>
5417
5418 * gdb.ada/char_enum: New testcase.
5419
3536d9e3 54202011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
5421
5422 * gdb.base/dump.exp (capture_pointer_with_type): New.
5423 Get value from address instead of name.
5424 Start GDB once, and do `dump' and `restore'
5425 tests together.
5426
db863c42
MF
54272011-06-30 Jie Zhang <jie.zhang@analog.com>
5428 Mike Frysinger <vapier@gentoo.org>
5429
5430 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
5431 helper functions for getting/setting remotetimeout variable.
5432 * lib/gdb.exp (gdb_load): If the target is remote, set
5433 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
5434 with $loadtimeout. Set $load_ok to 0 before doing the load.
5435 Instead of returning, immediately, set $load_ok to 0. Call
5436 set_remotetimeout with $oldremotetimeout, and then return if
5437 $load_ok is 1.
5438
e9e642a8
AB
54392011-06-30 Andrew Burgess <aburgess@broadcom.com>
5440
5441 * gdb.python/py-template.exp: Don't run this test if the target
5442 does not support c++ tests.
5443
32019081
JK
54442011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5445
5446 Fix non-only rename list for Fortran modules import.
5447 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
5448 tests.
5449 * gdb.fortran/module.f90 (module moduse): New.
5450 (program module): use moduse, test var_x, var_y and var_z.
5451
0ecee54c
TT
54522011-06-29 Tom Tromey <tromey@redhat.com>
5453
5454 PR testsuite/12040:
5455 * gdb.fortran/array-element.exp: Use f90, not f77.
5456 * gdb.fortran/complex.exp: Use f90, not f77.
5457 * gdb.fortran/derived-type.exp: Use f90, not f77.
5458 * gdb.fortran/library-module.exp: Use f90, not f77.
5459 * gdb.fortran/logical.exp: Use f90, not f77.
5460 * gdb.fortran/module.exp: Use f90, not f77.
5461 * gdb.fortran/multi-dim.exp: Use f90, not f77.
5462 * gdb.fortran/subarray.exp: Use f90, not f77.
5463
3b2b8fea
TT
54642011-06-29 Tom Tromey <tromey@redhat.com>
5465
5466 * gdb.fortran/charset.exp: New file.
5467 * gdb.fortran/charset.f90: New file.
5468
42159ca5
TT
54692011-06-29 Tom Tromey <tromey@redhat.com>
5470
5471 PR testsuite/12040:
5472 * lib/future.exp: New file, mostly extracted from ada.exp.
5473 Rewrote compatibility code to use rename.
5474 (gdb_find_gfortran): New proc.
5475 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
5476 gfortran patch.
5477 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
5478 Move to future.exp.
5479 * lib/gdb.exp: Always load future.exp.
5480
af69a5ce
YQ
54812011-06-28 Yao Qi <yao@codesourcery.com>
5482
5483 * gdb.cp/exception.cc: Don't include iostream.
5484 (bar): Remove print statement.
5485 (catcher): New.
5486 (main): Remove print statements. Call function catcher.
5487 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
5488 Set breakpoint on catcher, and check the value of parameter.
5489
ab5c6a72
YQ
54902011-06-23 Yao Qi <yao@codesourcery.com>
5491
5492 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
5493 1.2 is disabled. KFAIL for uclinux.
5494
9497469f
MP
54952011-06-23 Marek Polacek <mpolacek@redhat.com>
5496
5497 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
5498 mi_gdb_test.
5499
b9132588
MP
55002011-06-23 Marek Polacek <mpolacek@redhat.com>
5501
5d197ed0 5502 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 5503
e55595ca
MP
55042011-06-23 Marek Polacek <mpolacek@redhat.com>
5505
5d197ed0
MP
5506 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
5507
55082011-06-23 Marek Polacek <mpolacek@redhat.com>
5509
5510 * gdb.mi/mi2-basics.exp: Fix races. Honour the
5511 `test_exec_and_symbol_mi_operatons' return value.
5512 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5513 gdb_test_multiple.
5514 (test_exec_and_symbol_mi_operatons): Likewise.
5515 (test_path_specification): Likewise.
e55595ca 5516
be777e08
YQ
55172011-06-23 Yao Qi <yao@codesourcery.com>
5518
5519 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
5520 supported.
5521 * lib/gdb.exp (support_displaced_stepping): New.
5522
615556d6
YQ
55232011-06-23 Yao Qi <yao@codesourcery.com>
5524
5525 * gdb.threads/execl.exp: Skip on remote target.
5526
833b0ca7
MP
55272011-06-21 Marek Polacek <mpolacek@redhat.com>
5528
5d197ed0 5529 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
5530 mi_gdb_test.
5531
1ee4023a
MP
55322011-06-20 Marek Polacek <mpolacek@redhat.com>
5533
5d197ed0 5534 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 5535
d0b1d624
MP
55362011-06-20 Marek Polacek <mpolacek@redhat.com>
5537
5d197ed0 5538 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
5539 mi_gdb_test.
5540
79aa92c1
MP
55412011-06-20 Marek Polacek <mpolacek@redhat.com>
5542
5d197ed0 5543 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 5544
5ce5db06
YQ
55452011-06-14 Yao Qi <yao@codesourcery.com>
5546
5547 gdb/testsuite/
5548 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
5549
533a737e
JK
55502011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5551
5552 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
5553
d0e53741
TT
55542011-06-10 Tom Tromey <tromey@redhat.com>
5555
5556 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
5557 Add tests for pointer-to-member-function.
5558 * gdb.cp/temargs.cc (S::somefunc): New function.
5559 (K2): New class.
5560 (main): Instantiate K2; call method.
5561
b5916bbd
JB
55622011-06-08 Joel Brobecker <brobecker@adacore.com>
5563
5564 * gdb.python/py-inferior.c (f2): Make str an array rather
5565 than a pointer.
5566 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
5567
5be4dfca
JK
55682011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5569
5570 * gdb.base/async-shell.c: New file.
5571 * gdb.base/async-shell.exp: New file.
5572
9f47e254
PA
55732011-06-06 Pedro Alves <pedro@codesourcery.com>
5574
5575 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
5576
64b9b334
JB
55772011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
5578
5579 From Stephen Kitt <steve@sk2.org>
5580 * gdb.base/help.exp: Adjust following some spelling corrections
5581 in GDB.
5582
dbc0f131
YQ
55832011-06-01 Yao Qi <yao@codesourcery.com>
5584
5585 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
5586
fd336a18
KS
55872010-05-31 Keith Seitz <keiths@redhat.com>
5588
5589 PR c++/12750
5590 * gdb.cp/static-method.cc: New file.
5591 * gdb.cp/static-method.exp: New file.
5592
fa8b9902
KS
55932010-05-31 Keith Seitz <keiths@redhat.com>
5594
5595 PR symtab/12704
5596 * gdb.cp/anon-ns.cc: New file.
5597 * gdb.cp/anon-ns.exp: New file.
5598
0a5b1e09
PA
55992011-05-31 Pedro Alves <pedro@codesourcery.com>
5600
5601 * gdb.arch/i386-dr3-watch.c: New file.
5602 * gdb.arch/i386-dr3-watch.exp: New file.
5603
0578b8d1
YQ
56042011-05-30 Yao Qi <yao@codesourcery.com>
5605
5606 * gdb.base/callfuncs.c (t_structs_fc): New.
5607 (t_structs_dc, t_structs_ldc): New.
5608 (t_double_many_args):
5609 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
5610 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
5611 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
5612 * gdb.base/callfuncs.exp: Call new functions.
5613
6680506e
YQ
56142011-05-30 Yao Qi <yao@codesourcery.com>
5615
ff4d2c60
YQ
5616 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
5617 Call rerun_and_prepare for each test to isolate effects.
5618
56192011-05-30 Yao Qi <yao@codesourcery.com>
5620
5621 * gdb.base/varargs.c (find_max_float_real): New.
5622 (find_max_double_real, find_max_long_double_real): New.
5623 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
5624 * lib/gdb.exp (setup_kfail_for_target): New.
5625
e43ec454
YQ
56262011-05-30 Yao Qi <yao@codesourcery.com>
5627
5628 * gdb.base/funcargs.c (callca, callcb, callcc): New.
5629 (callcd, callce, callcf, callc1a, callc1b): New.
5630 (callc2a, callc2b): New.
5631 * gdb.base/funcargs.exp (complex_args): New.
5632 (complex_integral_args, complex_float_integral_args): New.
5633 * lib/gdb.exp (support_complex_tests): New. Determine
5634 whether to run test cases on _Complex types.
5635
432b4d03
JK
56362011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5637
5638 * gdb.threads/leader-exit.c: New file.
5639 * gdb.threads/leader-exit.exp: New file.
5640
6caf069d
MP
56412011-05-27 Marek Polacek <mpolacek@redhat.com>
5642
9497469f 5643 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 5644
97fce28b
MP
56452011-05-27 Marek Polacek <mpolacek@redhat.com>
5646
5647 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
5648 remove the `supported' variable.
5649 * gdb.mi/mi-nonstop.exp: Likewise.
5650 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5651 * gdb.mi/mi-nsintrall.exp: Likewise.
5652 * gdb.mi/mi-nsmoribund.exp: Likewise.
5653 * gdb.mi/mi-nsthrexec.exp: Likewise.
5654
9da8c2a0
PA
56552011-05-26 Pedro Alves <pedro@codesourcery.com>
5656
5657 * gdb.reverse/finish-reverse-bkpt.exp: New test.
5658
2c03e5be
PA
56592011-05-26 Pedro Alves <pedro@codesourcery.com>
5660
5661 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
5662
2e21250d
KS
56632011-05-24 Keith Seitz <keiths@redhat.com>
5664
5665 PR breakpoint/12803
5666 * gdb.cp/cmpd-minsyms.cc (a): New method.
5667 (b): New method.
5668 (c): New method.
5669 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
5670
cdac0397
PA
56712011-05-24 Pedro Alves <pedro@codesourcery.com>
5672
5673 * gdb.base/commands.exp (watchpoint_command_test): Check that the
5674 watchpoint's command list didn't execute when the watchpoint went
5675 out of scope.
5676
ee5683ab
PM
56772011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
5678
5679 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
5680 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
5681 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
5682 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5683 * gdb.arch/i386-permbkpt.exp: Likewise.
5684 * gdb.arch/i386-prologue.exp: Likewise.
5685 * gdb.arch/i386-size-overlap.exp: Likewise.
5686 * gdb.arch/i386-size.exp: Likewise.
5687 * gdb.arch/i386-unwind.exp: Likewise.
5688 * gdb.reverse/i386-precsave.exp: Likewise.
5689 * gdb.reverse/i386-reverse.exp: Likewise.
5690 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5691 * gdb.reverse/i387-env-reverse.exp: Likewise.
5692 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5693
c91c8c16
PA
56942011-05-24 Pedro Alves <pedro@codesourcery.com>
5695
5696 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
5697 file doesn't error, using MI.
5698
c50491a7
TT
56992011-05-23 Tom Tromey <tromey@redhat.com>
5700
5701 * gdb.base/charset.exp (string_display): Add tests to assign to
5702 arrays.
5703 * gdb.base/charset.c (short_array, int_array, long_array): New.
5704
4a07b7da
PA
57052011-05-20 Pedro Alves <pedro@codesourcery.com>
5706
5707 Cope with async mode.
5708
4a07b7da
PA
5709 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
5710 into gdb_test + mi_expect_stop.
5711
b275f2d2
PA
57122011-05-20 Pedro Alves <pedro@codesourcery.com>
5713
5714 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
5715 (callme): Remove printf call.
5716
eec52c44
PM
57172011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
5718
5719 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
5720 quote pattern to avoid problems with Cygwin/mingw expect versions.
5721 * gdb.base/default.exp (show convenience): Use double
5722 quote pattern for regular expressions.
5723
b3c8eb43
JK
57242011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5725
5726 Fix -readnow for -gdwarf-4 unused type units.
5727 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
5728 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
5729
ed731959
JK
57302011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5731
5732 * gdb.base/kill-after-signal.c: New file.
5733 * gdb.base/kill-after-signal.exp: New file.
5734
3b48433d
PA
57352011-05-16 Pedro Alves <pedro@codesourcery.com>
5736
5737 * gdb.ada/start.exp: Call untested with the correct test filename.
5738 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
5739 test filename. Make the test's binary unique.
5740 * gdb.arch/i386-signal.exp: Call untested with the correct test
5741 filename.
5742 * gdb.arch/i386-size-overlap.exp: Ditto.
5743 * gdb.arch/Makefile.in (EXECUTABLES): Update.
5744 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5745 * gdb.cp/call-c.exp: Ditto.
5746 * gdb.mi/mi-reverse.exp: Call untested with the correct test
5747 filename. Make the test's binary unique.
5748 * gdb.mi/Makefile.in (EXECUTABLES): Update.
5749 * gdb.python/py-mi.exp: Ditto.
5750 * gdb.python/Makefile.in (EXECUTABLES): Update.
5751 * gdb.reverse/i386-precsave.exp: Ditto.
5752 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
5753 test filename.
5754 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5755 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
5756 unique.
5757 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
5758 test filename.
5759 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
5760 * gdb.trace/tfile.exp: Ditto.
5761
ba4a8bdd
YQ
57622011-05-14 Yao Qi <yao@codesourcery.com>
5763
5764 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
5765 type.
5766
dbaefcf7
DE
57672011-05-13 Doug Evans <dje@google.com>
5768
5769 * gdb.python/py-objfile-script.exp: New file.
5770 * gdb.python/py-objfile-script.c: New file.
5771 * gdb.python/py-objfile-script-gdb.py: New file.
5772 * testsuite/gdb.python/py-section-script.exp: Test
5773 "info auto-load-scripts".
5774
9930639c
TT
57752011-05-13 Tom Tromey <tromey@redhat.com>
5776
5777 * gdb.dwarf2/clztest.exp: New file.
5778 * gdb.dwarf2/clztest.c: New file.
5779 * gdb.dwarf2/clztest.S: New file.
5780
05272e11
DE
57812011-05-13 Doug Evans <dje@google.com>
5782
cc63ef9b
DE
5783 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
5784 String16 tests.
05272e11 5785
6edba76f
TT
57862011-05-13 Tom Tromey <tromey@redhat.com>
5787
5788 * lib/gdb.exp (is_x86_like_target): New proc.
5789 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
5790 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
5791 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
5792 -nostdlib to compiler.
5793 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
5794 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
5795 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
5796 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
5797 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
5798
028d0ed5
TJB
57992011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5800
5801 * gdb.python/py-function.exp: Test setting a value from a function
5802 which executes a command.
5803
8a9b8146
TT
58042011-05-12 Tom Tromey <tromey@redhat.com>
5805
5806 * gdb.dwarf2/typeddwarf.S: New file.
5807 * gdb.dwarf2/typeddwarf.c: New file.
5808 * gdb.dwarf2/typeddwarf.exp: New file.
5809
10483e8e
MP
58102011-05-12 Marek Polacek <mpolacek@redhat.com>
5811
5812 * gdb.mi/mi-basics.exp: Fix races. Honour the
5813 `test_exec_and_symbol_mi_operatons' return value.
5814 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5815 gdb_test_multiple.
5816 (test_exec_and_symbol_mi_operatons): Likewise.
5817 (test_path_specification): Likewise.
5818
faf067f1
JK
58192011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5820
5821 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5822 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5823 Replace `file copy' and `file rename' by `file mtime'. Twice.
5824
7ff911a3
JK
58252011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * gdb.base/readline-ask.c: New file.
5828 * gdb.base/readline-ask.exp: New file.
5829 * gdb.base/readline-ask.inputrc: New file.
5830
a536c6d7
UW
58312011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5832
5833 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5834 to avoid race condition.
5835 * gdb.cell/coremaker.c: Use small stack size.
5836 * gdb.cell/ea-standalone.exp: Use file name without path as
5837 argument to c_to.
5838 * gdb.cell/fork.exp: Allow other output when continuing to end.
5839
d472a426
JK
58402011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5841
5842 * gdb.threads/corethreads.c: New file.
5843 * gdb.threads/corethreads.exp: New file.
5844
58452011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
5846
5847 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5848 Try to compile the test using -Wl,-z,norelro first.
5849 (load_core): New variable libthread_db_seen, initialize it.
5850 (zeroed-threads cannot be listed): Protect it by XFAIL on
5851 !$libthread_db_seen.
5852
8be455d7
JK
58532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5854
5855 PR 12573
5856 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5857 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5858 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5859
1976171a
JK
58602011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5861
5862 * gdb.cp/psymtab-parameter.cc: New file.
5863 * gdb.cp/psymtab-parameter.exp: New file.
5864
7db6f30f
JK
58652011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5866
5867 Fix a race.
5868 * gdb.cp/static-print-quit.exp (print c): Split to ...
5869 (print c - <return>, print c - q <return>, print c - to quit):
5870 ... these. Make the testfile untested on gdb-7.1.
5871
85161e9e 58722011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
5873
5874 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5875 gdb_rename_execfile, gdb_touch_execfile): New.
5876 * gdb.base/reread.exp: Use new procs to handle multiple
5877 exec files.
5878
0c51be18
YQ
58792011-05-05 Yao Qi <yao@codesourcery.com>
5880
5881 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5882 (test_adr_32bit, test_pop_pc): New.
5883 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5884 (test_adr_32bit, test_pop_pc): New.
5885
4d393d60
JM
58862011-05-04 Joseph Myers <joseph@codesourcery.com>
5887
5888 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5889 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5890 targets.
5891 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5892 handle targets.
5893
8ffd0459
JK
58942011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5895
5896 * gdb.base/completion.exp (complete help info wat): Rename to ...
5897 (complete 'help info wat'): ... here.
5898 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5899 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5900
8e28d804
PA
59012011-05-04 Pedro Alves <pedro@codesourcery.com>
5902
5903 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5904 gdb_test and explicit $gdb_prompt/timeout matches.
5905
3eb2ef34
YQ
59062011-05-04 Yao Qi <yao@codesourcery.com>
5907
5908 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5909 and __thumb2__.
5910
aaaf81a3
MP
59112011-05-03 Marek Polacek <mpolacek@redhat.com>
5912
5913 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5914 in place of `gdb_test "delete breakpoints"'. This eliminates two
5915 testcases.
5916
c4cbc0df
PA
59172011-05-02 Pedro Alves <pedro@codesourcery.com>
5918
5919 PR testsuite/12649
5920 Fix races.
5921
5922 * gdb.base/completion.exp: Remove all sleep calls. Remove
5923 unnecessary regexs. Don't explicitly expect anything after the
5924 prompt. Eat the prompt if necessary.
5925
b4cbb4a3
EBM
59262011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5927
5928 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5929 accept to show the caller line again as well as the line after.
5930
d65aec65
PM
59312011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5932
5933 PR mi/12531
5934
5935 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5936 compile target.
5937 * gdb.python/py-prettyprint.exp: Add C++ object for
5938 CPLUS_FAKE_CHILD test.
5939
30852783
UW
59402011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5941
5942 * gdb.base/signest.exp: New file.
5943 * gdb.base/signest.c: Likewise.
5944
c7b1f0d9
JK
59452011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5948 thread and breakpoint notifications.
5949
559a7a62
JK
59502011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5951
5952 * gdb.base/fortran-sym-case.c: New file.
5953 * gdb.base/fortran-sym-case.exp: New file.
5954 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5955 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5956 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5957
8344e389
JK
59582011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5959
5960 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5961 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5962 false #1', `if true else false #2' and `if true else false #3'.
5963
2484c66b
UW
59642011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5965
5966 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5967 while delivering signal.
5968
8d3788bd
VP
59692011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5970
5971 MI breakpoint notifications.
5972
5973 * testsuite/gdb.mi/mi-cli.exp: Adust.
5974 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5975 * testsuite/gdb.mi/mi-watch.exp: Adust.
5976 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5977 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5978 notifications.
5979
3e03848b
JK
59802011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5983 * gdb.base/gdbindex-stabs.c: New file.
5984 * gdb.base/gdbindex-stabs.exp: New file.
5985
918c9108
YQ
59862011-04-25 Yao Qi <yao@codesourcery.com>
5987
5988 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5989 with /*...*/.
5990 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5991
90556b8c
JK
59922011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5993
5994 * gdb.python/py-value.exp (test_objfiles): Name the first test
5995 `py-value in file.filename'.
5996
03f2bd59
JK
59972011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5998
5999 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
6000 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
6001 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
6002 !gdbserver_reconnect_p..
6003 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
6004
7b08b9eb
JK
60052011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6006
6007 * gdb.cp/cpcompletion.exp (complete class methods)
6008 (complete class methods beginning with F): Move them above runto. New
6009 comment about the runto delimiter.
6010
b78974c3
PA
60112011-04-20 Pedro Alves <pedro@codesourcery.com>
6012
6013 * gdb.base/maint.exp: Test that "maint print registers" works
6014 without a running program.
6015
20429c40 60162011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 6017
20429c40
MP
6018 * gdb.base/setshow.exp: Fix racy tests.
6019 ($old_gdb_prompt): New variable.
6020
7a9dd1b2
TT
60212011-04-19 Tom Tromey <tromey@redhat.com>
6022
6023 * gdb.mi/mi-nsmoribund.exp:
6024 * gdb.hp/gdb.objdbg/objdbg01.exp:
6025 * gdb.base/structs.exp (test_struct_returns):
6026 * gdb.base/call-sc.exp (test_scalar_returns):
6027 * gdb.base/bigcore.exp: Remove duplicate words.
6028
02835898
JK
60292011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6030
6031 * gdb.base/break-interp-lib.c (v, vptr): New variables.
6032 * gdb.base/break-interp.exp (test_attach): New comment.
6033
254f582e
JK
60342011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6035
6036 * gdb.threads/gcore-thread.exp ($core0file): New variable.
6037 (clear __stack_user.next, clear stack_used.next)
6038 (save a zeroed-threads corefile): New test.
6039 Call core_load for $core0file.
6040 (zeroed-threads cannot be listed): New test.
6041
4fe85f5c
JK
60422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6043
6044 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
6045 filename.
6046 ($srcfile): Preserve the original value.
6047 ($testfile): Match it the .exp filename.
6048 ($corefile): New variable. Substitute it around.
6049 Use clean_restart.
6050 ($prev_timeout): Remove.
6051 (load_core): Move core loading into this proc.
6052 Fix restore of $timeout if load_core fails.
6053
63524580
JK
60542011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6055
6056 * gdb.base/eu-strip-infcall.c: New file.
6057 * gdb.base/eu-strip-infcall.exp: New file.
6058
90359a16
JK
60592011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
6062 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
6063
626e7282
JK
60642011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6065
6066 Fix Python access to inlined frames.
6067 * gdb.python/py-frame-inline.c: New file.
6068 * gdb.python/py-frame-inline.exp: New file.
6069
3363d018
EBM
60702011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
6071
6072 * gdb.base/gdb1090.exp: Change breakpoint location to read the
6073 content of 's24' correctly (avoiding "optimized out").
6074 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
6075
28781456
JK
60762011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6077
6078 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
6079
4a4106ca
TJB
60802011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6081
6082 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
6083 expect a colon in watch -location output.
6084
d26ccb4f
JK
60852011-04-13 Marek Polacek <mpolacek@redhat.com>
6086
df46027d 6087 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
6088 New testcase `expect response to define backtrace'. Also remove
6089 redundant `default' block.
6090
e1ab1f9c
JK
60912011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6092
6093 * gdb.python/py-prettyprint.c (struct hint_error): New.
6094 (main): New variable hint_error.
6095 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
6096 "print hint_error".
6097 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
6098 (register_pretty_printers): Register it.
6099
0c2e6019
TT
61002011-04-04 Tom Tromey <tromey@redhat.com>
6101
6102 * gdb.cp/maint.exp (test_help): Update.
6103 (test_namespace): Likewise.
6104
af57139d
JB
61052011-04-01 Joel Brobecker <brobecker@adacore.com>
6106
6107 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
6108 * gdb.ada/arrayptr.exp: Add new tests.
6109
956a9fb9
JB
61102011-04-01 Joel Brobecker <brobecker@adacore.com>
6111
6112 * gdb.ada/mi_catch_ex: New testcase.
6113
d0c4d642
PA
61142011-04-01 Pedro Alves <pedro@codesourcery.com>
6115
6116 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
6117 base::overload(void) method without specifying "const".
6118
18819fa6
UW
61192011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
6120
6121 * gdb.arch/thumb-singlestep.S: New file.
6122 * gdb.arch/thumb-singlestep.exp: Likewise.
6123
a4c8e806
TT
61242011-03-31 Tom Tromey <tromey@redhat.com>
6125
6126 * gdb.python/py-prettyprint.py (exception_flag): New global.
6127 (NoStringContainerPrinter._iterator.next): Check it.
6128 * gdb.python/py-prettyprint.c (main): New variable nstype2.
6129 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
6130
53832f31
TT
61312011-03-29 Tom Tromey <tromey@redhat.com>
6132
6133 * gdb.cp/anon-struct.cc: New file.
6134 * gdb.cp/anon-struct.exp: New file.
6135
e4620230
JK
61362011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6137
6138 Test STT_GNU_IFUNC support.
6139 * gdb.base/gnu-ifunc-lib.c: New file.
6140 * gdb.base/gnu-ifunc.c: New file.
6141 * gdb.base/gnu-ifunc.exp: New file.
6142
d0fb5eae
JK
61432011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 Support a ring of related breakpoints.
6146 * gdb.base/watchpoint-delete.c: New file.
6147 * gdb.base/watchpoint-delete.exp: New file.
6148
20106cfb
JK
61492011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6150
6151 * gdb.ada/arrayparam.exp (print first after function call): Use
6152 explicit package name. Add a comment
6153 (print lasta after function call): Rename ...
6154 (print last after function call): ... it and use explicit package
6155 name.
6156 (print length after function call): Use explicit package name.
6157 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
6158 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
6159 (multiple matches for symbol i): Rename ...
6160 (multiple matches for symbol integervar): ... it.
6161 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
6162 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
6163
e7ab5e63
AB
61642011-03-25 Andrew Burgess <aburgess@broadcom.com>
6165
6166 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
6167 environment variable to make grep output more predictable. Move
6168 all the environment setup into gdb_init so it's done once per test
6169 case rather than each time we start gdb.
6170
9ef07c8c
TT
61712011-03-24 Tom Tromey <tromey@redhat.com>
6172
6173 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
6174 test.
6175
dd90784c
JK
61762011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6177
6178 * gdb.dwarf2/dw2-entry-value-main.c: New file.
6179 * gdb.dwarf2/dw2-entry-value.S: New file.
6180 * gdb.dwarf2/dw2-entry-value.exp: New file.
6181
05775840
PM
61822011-03-22 Phil Muldoon <pmuldoon@redhat.com>
6183
6184 PR python/12183
6185
6186 * gdb.python/py-function.exp: Add GdbError tests.
6187
8661b11b
PA
61882011-03-18 Pedro Alves <pedro@codesourcery.com>
6189
6190 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
6191 (reglocal_test_func, statlocal_test_func): New functions.
6192 (globals_test_func): Call new functions.
6193 * gdb.trace/unavailable.exp (gdb_collect_args_test)
6194 (gdb_collect_locals_test): New procedure.
6195 (gdb_trace_collection_test): Call new procedures.
6196
0fdb4f18
PA
61972011-03-18 Pedro Alves <pedro@codesourcery.com>
6198
6199 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
6200 (test_register, test_register_unavailable): New procedures.
6201 (gdb_unavailable_registers_test): New procedure.
6202 (gdb_trace_collection_test): Call it.
6203
99c3dc11
PM
62042011-03-18 Phil Muldoon <pmuldoon@redhat.com>
6205
6206 PR python/12149
6207
6208 * gdb.python/python.exp: Add gdb.write tests.
6209
29703da4
PM
62102010-03-17 Phil Muldoon <pmuldoon@redhat.com>
6211
6212 * gdb.python/Makefile.in: Add py-objfile.
6213 * gdb.python/py-objfile.exp: New file.
6214 * gdb.python/py-objfile.c: New file.
6215 * gdb.python/py-block.exp: Add is_valid tests.
6216 * gdb.python/py-inferior.exp: Ditto.
6217 * gdb.python/py-infthread.exp: Ditto.
6218 * gdb.python/py-symbol.exp: Ditto.
6219 * gdb.python/py-symtab.exp: Ditto.
6220
598997c8
KS
62212011-03-16 Keith Seitz <keiths@redhat.com>
6222
6223 PR c++/12273
6224 * gdb.cp/cmpd-minsyms.exp: New test.
6225 * gdb.cp/cmpd-minsyms.cc: New file.
6226
6227 PR c++/11734
6228 * gdb.cp/ovsrch.exp: New test.
6229 * gdb.cp/ovsrch.h: New file.
6230 * gdb.cp/ovsrch1.cc: New file.
6231 * gdb.cp/ovsrch2.cc: New file.
6232 * gdb.cp/ovsrch3.cc: New file.
6233 * gdb.cp/ovsrch4.cc: New file.
6234
c91513d8
PP
62352011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6236
6237 PR gdb/12528
6238 * gdb.base/Makefile.in: Adjust EXECUTABLES.
6239 * gdb.base/break-on-linker-gcd-function.exp: New test.
6240 * gdb.base/break-on-linker-gcd-function.cc: New file.
6241
7470fc63
AT
62422011-03-15 Andreas Tobler <andreast@fgznet.ch>
6243
6244 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
6245
959e7469
PM
62462011-03-15 Phil Muldoon <pmuldoon@redhat.com>
6247
6248 * lib/gdb.exp (gdb_unload): Add another termination case.
6249
9373cf26
JK
62502011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6251
6252 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
6253 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
6254 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
6255 Provide a stub byte there.
6256 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
6257 DW_AT_entry_pc.
6258 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
6259
24e9cda0
UW
62602011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
6261
6262 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
6263 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
6264 "generic ABI, auto".
6265 (altivec_abi_tests): Accept vectors returned by reference.
6266
7371cf6d
PM
62672010-03-14 Phil Muldoon <pmuldoon@redhat.com>
6268
6269 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
6270
ce77046a
UW
62712011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
6272
6273 * gdb.python/py-section-script.exp: Skip test if no Python support.
6274
176400c3
UW
62752011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6276
6277 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
6278
ecec24e6
PM
62792011-03-10 Phil Muldoon <pmuldoon@redhat.com>
6280
6281 * gdb.python/py-parameter.exp: Update tests to the new Python
6282 parameter API. Add "no documentation" test. Add deprecated API
6283 backward compatibility test.
6284
5dbdd470
TT
62852011-03-09 Tom Tromey <tromey@redhat.com>
6286
6287 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
6288 gdb_continue_to_end.
6289
b66e66ee
MK
62902011-03-09 Mark Kettenis <kettenis@gnu.org>
6291
6292 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
6293 tabs.
6294
eceb0c5f
TT
62952011-03-09 Tom Tromey <tromey@redhat.com>
6296
6297 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
6298 parentheses.
6299 (gdb_continue_to_end): Add "allow_extra" parameter. Use
6300 $command.
6301 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
6302 argument to gdb_continue_to_end.
6303 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
6304 argument to gdb_continue_to_end.
6305 * gdb.cp/annota3.exp: Fix regex.
6306 * gdb.cp/annota2.exp: Fix regex.
6307 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
6308 gdb_continue_to_end.
6309 * gdb.base/call-signal-resume.exp: Revert earlier patch.
6310 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
6311 gdb_continue_to_end.
6312
63154eca
PA
63132011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 * gdb.server/ext-run.exp
6316 (load new file without any gdbserver inferior): New test.
6317
967d1f9b
TT
63182011-03-07 Tom Tromey <tromey@redhat.com>
6319
6320 * Makefile.in (TAGS): Rewrite.
6321
d68dcbb9
JK
63222011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6323
6324 * gdb.trace/report.exp (12.1: trace report #1): New match for the
6325 initial commands echo. New match for `Found trace'. Anchor all the
6326 other matches. Anchor and match for `No trace frame found' the final
6327 match.
6328
6bf58e63
TT
63292011-03-07 Tom Tromey <tromey@redhat.com>
6330
6331 * Makefile.in (TAGS): New target.
6332
fda326dd
TT
63332011-03-07 Tom Tromey <tromey@redhat.com>
6334
6335 * lib/opencl.exp (skip_opencl_tests): Update for exit message
6336 change.
6337 * lib/mi-support.exp (mi_gdb_test): Update for exit message
6338 change.
6339 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
6340 exit message change.
6341 (skip_altivec_tests): Update for exit message change.
6342 (skip_vsx_tests): Likewise.
6343 (gdb_continue_to_end): Likewise. Add 'command' argument.
6344 * lib/cell.exp (skip_cell_tests): Update for exit message change.
6345 * gdb.threads/tls.exp: Update for exit message change.
6346 * gdb.threads/thread-unwindonsignal.exp: Use
6347 gdb_continue_to_end.
6348 * gdb.threads/step.exp (step_it): Update for exit message change.
6349 (continue_all): Likewise.
6350 * gdb.threads/print-threads.exp (test_all_threads): Update for
6351 exit message change.
6352 * gdb.threads/interrupted-hand-call.exp: Use
6353 gdb_continue_to_end.
6354 * gdb.threads/execl.exp: Use gdb_continue_to_end.
6355 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
6356 gdb_continue_to_end.
6357 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
6358 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
6359 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
6360 * gdb.cp/method.exp: Update for exit message change.
6361 * gdb.cp/mb-templates.exp: Update for exit message change.
6362 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
6363 * gdb.cp/annota3.exp: Update for exit message change.
6364 * gdb.cp/annota2.exp: Update for exit message change.
6365 * gdb.cell/fork.exp: Use gdb_continue_to_end.
6366 * gdb.base/term.exp: Update for exit message change.
6367 * gdb.base/step-test.exp (test_i): Update for exit message change.
6368 * gdb.base/sigstep.exp (advance): Update for exit message change.
6369 (advancei): Likewise.
6370 * gdb.base/siginfo.exp: Update for exit message change.
6371 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
6372 * gdb.base/reread.exp: Use gdb_continue_to_end.
6373 * gdb.base/langs.exp: Use gdb_continue_to_end.
6374 * gdb.base/interrupt.exp: Update for exit message change.
6375 * gdb.base/gdb1555.exp: Update for exit message change.
6376 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
6377 * gdb.base/ending-run.exp: Update for exit message change.
6378 * gdb.base/chng-syms.exp: Update for exit message change.
6379 * gdb.base/checkpoint.exp: Update for exit message change.
6380 * gdb.base/catch-syscall.exp (check_for_program_end): Use
6381 gdb_continue_to_end.
6382 (test_catch_syscall_with_wrong_args): Likewise.
6383 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
6384 * gdb.base/break-interp.exp (test_ld): Update for exit message
6385 change.
6386 * gdb.base/bang.exp: Update for exit message change.
6387 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
6388 (do_call_attach_tests): Likewise.
6389 * gdb.base/a2-run.exp: Update for exit message change.
6390 * gdb.arch/ppc-dfp.exp: Update for exit message change.
6391 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
6392 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
6393
dd19bd70
JK
63942011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6395
6396 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
6397
30e62689
TT
63982011-03-03 Tom Tromey <tromey@redhat.com>
6399
6400 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
6401 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
6402 * gdb.hp/gdb.aCC/configure.ac: Remove.
6403 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
6404 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
6405 * gdb.hp/gdb.base-hp/configure.ac: Remove.
6406 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
6407 * gdb.hp/gdb.compat/configure (Makefile): Remove.
6408 * gdb.hp/gdb.compat/configure.ac: Remove.
6409 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
6410 * gdb.hp/gdb.defects/configure (Makefile): Remove.
6411 * gdb.hp/gdb.defects/configure.ac: Remove.
6412 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
6413 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
6414 * gdb.hp/gdb.objdbg/configure.ac: Remove.
6415 * gdb.hp/configure.ac: Remove.
6416 * gdb.hp/configure: Remove.
6417 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
6418 substitution.
6419 (Makefile): Remove rule.
6420 * gdb.cell/configure.ac: Remove.
6421 * gdb.cell/configure: Remove.
6422 * gdb.stabs/Makefile.in (Makefile): Remove.
6423 (distclean): Don't remove config.status or config.log.
6424 * gdb.stabs/configure (Makefile): Remove.
6425 * gdb.stabs/configure.ac: Remove.
6426 * configure: Rebuild.
6427 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
6428 Remove stabs- and cell-specific logic. Test for existence of
6429 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
6430 subdirectories, gdb.cell, and and gdb.stabs.
6431 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
6432
c171f854
JB
64332011-03-03 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
6436 end of buffer.
6437
9a5193cb
JB
64382011-03-02 Joel Brobecker <brobecker@adacore.com>
6439
6440 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
6441 gdb_test when running a test where we expected no output back.
6442
9bb4c1bb
MS
64432011-02-28 Michael Snyder <msnyder@vmware.com>
6444
6445 * gdb.cp/overload.cc: Change initializer value to integer.
6446
3bd0f5ef
MS
64472011-02-27 Michael Snyder <msnyder@vmware.com>
6448
6449 * gdb.multi/base.exp: Add test for remove-inferiors.
6450
2279eaad
JB
64512011-02-26 Joel Brobecker <brobecker@adacore.com>
6452
6453 * gdb.python/py-frame.exp: Simplify the initialization phase
6454 using prepare_for_testing.
6455
c82c0b55
MS
64562011-02-25 Michael Snyder <msnyder@vmware.com>
6457
6458 * gdb.multi/base.exp: Add tests for info inferiors with args.
6459
1d94651b
JK
64602011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6461
6462 * gdb.dwarf2/dw2-ranges.S: Rename to ...
6463 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
6464 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
6465 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
6466 asmfile3. Comment the STABS (#3) file compilation. Compile
6467 everything through assembler. Provide KFAIL for symtab/12497.
6468 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
6469 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
6470 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
6471 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
6472
3bd0f5ef
MS
64732011-02-24 Michael Snyder <msnyder@vmware.com>
6474
6475 * gdb.base/break.exp: Add tests for delete breakpoints using
6476 convenience variables and value history references.
6477
12c1418e
MS
64782011-02-24 Michael Snyder <msnyder@vmware.com>
6479
6480 * gdb.base/break.exp: Remove debugging 'printf' accidentally
6481 left behind in previous check-in.
6482
e5a67952
MS
64832011-02-23 Michael Snyder <msnyder@vmware.com>
6484
6485 * gdb.base/break.exp: Add tests for "info break" with arguments.
6486 * gdb.trace/infotrace.exp: Update patterns for error and help.
6487 * gdb.base/completion.exp: Update pattern.
6488 * gdb.base/ena-dis-br.exp: Update pattern.
6489 * gdb.base/help.exp: Update patterns.
6490
64912011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
6492
6493 * gdb.base/memattr.exp: New test.
6494 * gdb.base/memattr.c: Test load for memattr.exp.
6495
6e6fbe60
DE
64962011-02-22 Doug Evans <dje@google.com>
6497
6498 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
6499
1d41d745
MS
65002011-02-22 Michael Snyder <msnyder@vmware.com>
6501
6502 * Makefile.in: Make more clean.
6503 * gdb.ada/Makefile.in: Ditto.
6504 * gdb.arch/Makefile.in: Ditto.
6505 * gdb.asm/Makefile.in: Ditto.
6506 * gdb.base/Makefile.in: Ditto.
6507 * gdb.cp/Makefile.in: Ditto.
6508 * gdb.dwarf2/Makefile.in: Ditto.
6509 * gdb.java/Makefile.in: Ditto.
6510 * gdb.mi/Makefile.in: Ditto.
6511 * gdb.modula2/Makefile.in: Ditto.
6512 * gdb.python/Makefile.in: Ditto.
6513 * gdb.server/Makefile.in: Ditto.
6514 * gdb.stabs/Makefile.in: Ditto.
6515 * gdb.threads/Makefile.in: Ditto.
6516 * gdb.trace/Makefile.in: Ditto.
6517
79ba84ca
MS
65182011-02-22 Michael Snyder <msnyder@vmware.com>
6519
df46027d 6520 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
6521 info threads.
6522
b9b35694
JB
65232011-02-22 Joel Brobecker <brobecker@adacore.com>
6524
6525 * gdb.python/py-breakpoint.exp: Fix the expected output of
6526 one of the "maint info breakpoints" tests to accept the output
6527 generated on platforms that do not have hardware watchpoints.
6528
8bfb830f
JB
65292011-02-22 Joel Brobecker <brobecker@adacore.com>
6530
6531 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
6532 clean_restart. Be a little stricter in the expected output
6533 for one of the tests. Fix a typo in one of the comments.
6534
c45f3c54
JB
65352011-02-22 Joel Brobecker <brobecker@adacore.com>
6536
6537 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
6538 Delete variable binfile, no longer use. Add or modify test
6539 comments to make them unique.
6540
b97c863c
MS
65412011-02-21 Michael Snyder <msnyder@vmware.com>
6542
6543 * Makefile.in: Update for make clean.
6544 * gdb.ada/Makefile.in: Ditto.
6545 * gdb.arch/Makefile.in: Ditto.
6546 * gdb.asm/Makefile.in: Ditto.
6547 * gdb.base/Makefile.in: Ditto.
6548 * gdb.cp/Makefile.in: Ditto.
6549 * gdb.dwarf2/Makefile.in: Ditto.
6550 * gdb.java/Makefile.in: Ditto.
6551 * gdb.mi/Makefile.in: Ditto.
6552 * gdb.modula2/Makefile.in: Ditto.
6553 * gdb.python/Makefile.in: Ditto.
6554 * gdb.server/Makefile.in: Ditto.
6555 * gdb.stabs/Makefile.in: Ditto.
6556 * gdb.threads/Makefile.in: Ditto.
6557 * gdb.trace/Makefile.in: Ditto.
6558
aea5b279
MS
65592011-02-21 Michael Snyder <msnyder@vmware.com>
6560
6561 * gdb.threads/thread-find.exp: Update patterns for changes in
6562 output of "info threads" command.
6563
e3039479
UW
65642011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6565 Ulrich Weigand <uweigand@de.ibm.com>
6566
6567 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
6568 (skip_hw_watchpoint_tests): Likewise.
6569 (skip_hw_watchpoint_multi_tests): Likewise.
6570
b800ec70
UW
65712011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
6572
6573 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
6574 (skip_hw_watchpoint_tests): Likewise.
6575 (skip_hw_watchpoint_multi_tests): Likewise.
6576 (skip_hw_watchpoint_access_tests): Likewise.
6577
6578 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
6579 * gdb.base/pr11022.exp: Likewise.
6580 * gdb.base/watch-read.exp: Likewise.
6581 * gdb.base/watch_thread_num.exp: Likewise.
6582 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6583 * gdb.base/watchpoint-hw.exp: Likewise.
6584 * gdb.base/watchpoint.exp: Likewise.
6585 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
6586 * gdb.threads/watchthreads-reorder.exp: Likewise.
6587 * gdb.threads/watchthreads.exp: Likewise.
6588 * gdb.threads/watchthreads2.exp: Likewise.
6589
91033e37
JB
65902011-02-21 Joel Brobecker <brobecker@adacore.com>
6591
6592 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
6593 the debugger is unable to find the array bounds.
6594
eeaafae2
JK
65952011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 * gdb.cp/typedef-operator.exp: New file.
6598 * gdb.cp/typedef-operator.cc: New file.
6599
e338d953
MS
66002011-02-17 Michael Snyder <msnyder@vmware.com>
6601
6602 * gdb.threads/thread-find.exp: Fix regular expressions.
6603
e67ad678
JB
66042011-02-17 Joel Brobecker <brobecker@adacore.com>
6605
6606 * gdb.ada/packed_array: Expand testcase to test printing of
6607 unconstrained packed array.
6608
93084bca
JB
66092011-02-17 Joel Brobecker <brobecker@adacore.com>
6610
6611 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
6612
a0c78a73
PA
66132011-02-16 Pedro Alves <pedro@codesourcery.com>
6614
f65d5553 6615 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
6616 (main): Initialize it before collecting, and and clear it
6617 afterwards.
f65d5553
PA
6618 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6619 collecting with '{type} addr', where the addr expression is not an
6620 rvalue.
a0c78a73 6621
3dfcbbd2
KW
66222011-02-16 Ken Werner <ken.werner@de.ibm.com>
6623
6624 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
6625 a bool variable. Expect correct OpenCL names for vector types. Use the
6626 uc3 variable name instead of referring to the uchar3 built-in type.
6627 Escape the asterisk at the half pointer test.
6628
08807d5a
PA
66292011-02-16 Pedro Alves <pedro@codesourcery.com>
6630
f65d5553 6631 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
6632 (main): Initialize it before collecting, and and clear it
6633 afterwards.
f65d5553
PA
6634 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6635 collecting overlapping memory ranges.
08807d5a 6636
60f98dde
MS
66372011-02-15 Michael Snyder <msnyder@vmware.com>
6638
6639 * gdb.base/default.exp: Add tests for thread commands.
6640 * gdb.base/help.exp: Add tests for thread commands.
6641 * gdb.threads/thread-find.exp: New test for thread find command.
6642
648cd113
KW
66432011-02-15 Ken Werner <ken.werner@de.ibm.com>
6644
6645 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
6646
494e194e
YQ
66472011-02-15 Yao Qi <yao@codesourcery.com>
6648
6649 PR tdep/12352
6650 * gdb.arch/arm-disp-step.S : New test for str instruction.
6651 * gdb.arch/arm-disp-step.exp : Likewise.
6652
d9492458
TJB
66532011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
6654
6655 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
6656 "vector_register2_vr" test strings. Test the extended floating
6657 point registers (F32~F63).
6658 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
6659 IBM XL C compiler. Make the test program use a register provided
6660 by the compiler for the lxvd2x instruction.
6661
8af8e3bc
PA
66622011-02-14 Pedro Alves <pedro@codesourcery.com>
6663
6664 * gdb.trace/unavailable.cc (class Base, class Middle, class
6665 Derived): New types.
6666 (derived_unavail, derived_partial, derived_whole): New globals.
6667 (virtual_partial): New global.
6668 (virtualp): Point at virtual_partial.
6669 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
6670 related to unavailable vptr.
6671
1b28d0b3
PA
66722011-02-14 Pedro Alves <pedro@codesourcery.com>
6673
6674 * gdb.trace/unavailable.cc (a, b, c): New globals.
6675 (main): Set and clear them.
6676 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
6677 `a' and `c', and check that `b' isn't collected, although `a' and
6678 `c' are.
6679
ec0a52e1
PA
66802011-02-14 Pedro Alves <pedro@codesourcery.com>
6681
6682 * gdb.trace/unavailable.cc (struct Virtual): New.
6683 (virtualp): New global pointer.
6684 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
6685 printing a pointer to an object whose type has a vtable, with
6686 print object on.
6687
24e6bcee
PA
66882011-02-14 Pedro Alves <pedro@codesourcery.com>
6689
6690 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
6691 value repeat handles unavailableness.
6692
39d37385
PA
66932011-02-14 Pedro Alves <pedro@codesourcery.com>
6694
6695 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
6696 tests for building arrays from unavailable values, subscripting
6697 non-memory rvalue unvailable arrays, and accessing fields or
6698 baseclasses of non-lazy unavailable values,
6699 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
6700 struct types.
6701 (g_smallstruct, g_smallstruct_b): New globals.
6702
06d72e16
PA
67032011-02-14 Pedro Alves <pedro@codesourcery.com>
6704
6705 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
6706
bc9a5551
JK
67072011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6708
6709 Fix const/volatile qualifiers of C++ types, PR c++/12328.
6710 * gdb.cp/overload-const.exp: New file.
6711 * gdb.cp/overload-const.cc: New file.
6712
54fcddd0
UW
67132011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6714
6715 * gdb.opencl/callfuncs.cl: New file.
6716 * gdb.opencl/callfuncs.exp: New test.
6717 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
6718
d6dafb7c
UW
67192011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6720
6721 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
6722 when computing result.
6723 * gdb.arch/altivec-abi.exp: Update expected results.
6724
a449c2d8
TJB
67252011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6726
6727 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
6728 * gdb.base/jit.exp: Likewise.
6729 * gdb.base/pie-execl.exp: Likewise.
6730 * gdb.base/solib-nodir.exp: Likewise.
6731 * gdb.base/solib-overlap.exp: Likewise.
6732
764880b7
PA
67332011-02-07 Pedro Alves <pedro@codesourcery.com>
6734
6735 * gdb.trace/collection.c (global_pieces): New.
6736 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
6737 New procedure.
6738 (gdb_trace_collection_test): Call it.
6739
505500db
SW
67402011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
6741
6742 * gdb.python/py-evthreads.c: New file.
6743 * gdb.python/py-evthreads.exp: New file.
6744 * gdb.python/py-events.py: New file.
6745 * gdb.python/py-events.exp: New file.
6746 * gdb.python/py-events.c: New file.
6747
385203ed
DD
67482011-02-04 David Daney <ddaney@caviumnetworks.com>
6749
6750 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
6751
9011945e
AB
67522011-02-03 Andrew Burgess <aburgess@broadcom.com>
6753
6754 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
6755 gdb.base/disasm-end-cu.exp: New test for disassembling over the
6756 boundary between two compilation units.
6757
580688f3
PA
67582011-02-02 Pedro Alves <pedro@codesourcery.com>
6759
6760 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
6761 (Virtual): New structs.
6762 (virtual_o, virtual_middle_b): New globals.
6763 * gdb.cp/virtbase.exp: New tests.
6764
d3f0f853
PP
67652011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6766
6767 * gdb.base/jit.exp: New file.
6768 * gdb.base/jit-main.c: New file.
6769 * gdb.base/jit-solib.c: New file.
6770
b2030fb5
UW
67712011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
6772
6773 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
6774 proceed to initial kernel entry point.
6775 * gdb.opencl/datatypes.exp: Likewise.
6776 * gdb.opencl/operators.exp: Likewise.
6777 * gdb.opencl/vec_comps.exp: Likewise.
6778
2db19d1e
SW
67792011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
6780
6781 * gdb.cp/nsnested.cc: New.
6782 * gdb.cp/nsnested.exp: New.
6783 * gdb.cp/nsnoimports.exp: New.
6784 * gdb.cp/nsnoimports.cc: New.
6785
6b0c4c1f
JB
67862011-01-31 Joel Brobecker <brobecker@adacore.com>
6787
6788 * gdb.base/interact.exp: Add extra tests that verify that
6789 the value of the interactive-mode setting does not change
6790 after the script is sourced.
6791
80b23b6a
JK
67922011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6793
6794 * gdb.cp/noparam.exp: New file.
6795 * gdb.cp/noparam.cc: New file.
6796
ffd5ec24
PA
67972011-01-28 Pedro Alves <pedro@codesourcery.com>
6798
6799 * gdb.trace/tfile.exp: Test that with no traceframe selected,
6800 there's no stack or registers.
6801
a81766d8
TT
68022011-01-26 Tom Tromey <tromey@redhat.com>
6803
6804 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
6805 space before string output. Add test for "set print pretty off"
6806 case.
6807
585fdaa1
PA
68082011-01-25 Pedro Alves <pedro@codesourcery.com>
6809
6810 * gdb.base/frame-args.exp: Adjust.
6811 * gdb.dwarf2/dw2-noloc.exp: Adjust.
6812 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
6813 * gdb.dwarf2/pieces.exp: Adjust.
6814 * gdb.opt/clobbered-registers-O2.exp: Adjust.
6815 * gdb.opt/inline-locals.exp: Adjust.
6816 * gdb.threads/fork-child-threads.exp: Adjust.
6817
d468832a
KW
68182011-01-25 Ken Werner <ken.werner@de.ibm.com>
6819
6820 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6821 OpenCL kernel function. Add a comment as marker. Add address space
6822 qualifiers for the remaining program scope variables.
6823 * gdb.opencl/datatypes.cl: Likewise.
6824 * gdb.opencl/operators.cl: Likewise.
6825 * gdb.opencl/vec_comps.cl: Likewise.
6826 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6827 Add breakpoint at the marker comment.
6828 * gdb.opencl/datatypes.exp: Likewise.
6829 * gdb.opencl/operators.exp: Likewise.
6830 * gdb.opencl/vec_comps.exp: Likewise.
6831
490f124f
PA
68322011-01-24 Pedro Alves <pedro@codesourcery.com>
6833
6834 * gdb.base/printcmds.c (some_struct): New struct and instance.
6835 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6836 procedure.
6837 <global scope>: Call it.
6838
6da78614
KW
68392011-01-21 Ken Werner <ken.werner@de.ibm.com>
6840
6841 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6842 argument to the gdb_compile_opencl_hostapp call.
6843
ec64c9aa
YQ
68442011-01-19 Yao Qi <yao@codesourcery.com>
6845
6846 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6847 positve list.
6848
810cfdbb
YQ
68492011-01-19 Yao Qi <yao@codesourcery.com>
6850
6851 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6852 canonical form.
6853 Remove "xscale-*-*"
6854 * gdb.xml/tdesc-regs.exp: Likewise.
6855 * gdb.python/py-section-script.exp: Replace ARM target triplet
6856 with canonical form.
6857 Match arm*-*-symbianelf*.
6858 * gdb.base/dup-sect.exp: Likewise.
6859 * lib/dwarf.exp: New.
6860 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6861 dwarf2_support.
6862 * gdb.dwarf2/dup-psym.exp: Likewise.
6863 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6864 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6865 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6866 * gdb.dwarf2/dw2-basic.exp: Likewise.
6867 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6868 * gdb.dwarf2/dw2-const.exp: Likewise.
6869 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6870 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6871 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6872 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6873 * gdb.dwarf2/dw2-filename.exp: Likewise.
6874 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6875 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6876 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6877 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6878 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6879 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6880 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6881 * gdb.dwarf2/dw2-producer.exp: Likewise.
6882 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6883 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6884 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6885 * gdb.dwarf2/dw2-strp.exp: Likewise.
6886 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6887 * gdb.dwarf2/implptr.exp: Likewise.
6888 * gdb.dwarf2/mac-fileno.exp: Likewise.
6889 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6890 * gdb.dwarf2/pieces.exp: Likewise.
6891 * gdb.dwarf2/pr11465.exp: Likewise.
6892 * gdb.dwarf2/valop.exp: Likewise.
6893 * gdb.dwarf2/watch-notconst.exp: Likewise.
6894 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6895
4694da01
TT
68962011-01-19 Tom Tromey <tromey@redhat.com>
6897
6898 * gdb.python/py-infthread.exp: Add thread tests.
6899
b075872c
JB
69002011-01-14 Joel Brobecker <brobecker@adacore.com>
6901
6902 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6903
2c3e6e24
JB
69042011-01-14 Joel Brobecker <brobecker@adacore.com>
6905
6906 * gdb.ada/widewide: New testcase.
6907
de8fa76c
JB
69082011-01-13 Joel Brobecker <brobecker@adacore.com>
6909
6910 * gdb.base/interact.exp: New testcase.
6911
1b05df00
TT
69122011-01-12 Tom Tromey <tromey@redhat.com>
6913
6914 * gdb.mi/gdb2549.exp: Update for error message changes.
6915 * gdb.mi/mi-cli.exp: Likewise.
6916 * gdb.mi/mi-disassemble.exp: Likewise.
6917 * gdb.mi/mi-pthreads.exp: Likewise.
6918 * gdb.mi/mi-regs.exp: Likewise.
6919 * gdb.mi/mi-stack.exp: Likewise.
6920 * gdb.mi/mi-var-block.exp: Likewise.
6921 * gdb.mi/mi-var-cmd.exp: Likewise.
6922 * gdb.mi/mi2-cli.exp: Likewise.
6923 * gdb.mi/mi2-disassemble.exp: Likewise.
6924 * gdb.mi/mi2-pthreads.exp: Likewise.
6925 * gdb.mi/mi2-regs.exp: Likewise.
6926 * gdb.mi/mi2-stack.exp: Likewise.
6927 * gdb.mi/mi2-var-block.exp: Likewise.
6928 * gdb.mi/mi2-var-cmd.exp: Likewise.
6929
c2ff108b
JK
69302011-01-12 Andrew Burgess <aburgess@broadcom.com>
6931 Jan Kratochvil <jan.kratochvil@redhat.com>
6932
6933 PR fortran/11104 and DWARF unbound arrays detection.
6934 * gdb.fortran/multi-dim.exp: New file.
6935 * gdb.fortran/multi-dim.f90: New file.
6936
b716877b
AB
69372011-01-12 Andrew Burgess <aburgess@broadcom.com>
6938
6939 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6940 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6941 add new tests for opcode dumping.
6942
6c162d5e
TT
69432011-01-11 Tom Tromey <tromey@redhat.com>
6944
6945 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6946
77b06cd7
TJB
69472010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6948
6949 Convert hardware watchpoints to use breakpoint_ops.
6950 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6951 type is not supported.
6952 * gdb.base/foll-fork.exp: Likewise.
6953 * gdb.base/foll-vfork.exp: Likewise.
6954
f39a75d0
PM
69552011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6956
6957 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6958 Use load_lib gdb-python.exp.
6959 * gdb.python/python.exp: Ditto.
6960 * gdb.python/py-function.exp: Ditto.
6961
fc529d80
AS
69622011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6963
6964 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6965
fb03cb59
JK
69662011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6967
6968 * configure: Regenerate.
6969
d8e22779
TT
69702011-01-06 Tom Tromey <tromey@redhat.com>
6971
6972 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6973
09050809
JB
69742011-01-06 Joel Brobecker <brobecker@adacore.com>
6975
fc529d80
AS
6976 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6977 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6978 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6979 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6980 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6981 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6982 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6983 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6984 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6985 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6986 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6987 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6988 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6989 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6990 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6991 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6992 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6993 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6994 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6995 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6996 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6997 gdb.ada/uninitialized_vars.exp,
6998 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6999 Simplify by using clean_restart.
09050809 7000
8ed5dd9e
JB
70012011-01-06 Joel Brobecker <brobecker@adacore.com>
7002
7003 Add marker to be used as anchor for inserting breakpoints.
7004 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
7005 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
7006 Likewise.
7007
7008 Remove uses of gdb_start_cmd.
7009 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
7010 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
7011
7012 Do not run testcase if testing with GDBserver.
7013 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
7014 if testing with GDBserver.
7015
368a124f
JB
70162011-01-06 Joel Brobecker <brobecker@adacore.com>
7017
7018 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
7019 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
7020 copyright header.
7021
44944448
JB
70222011-01-05 Joel Brobecker <brobecker@adacore.com>
7023
7024 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
7025 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
7026 testsuite/gdb.fortran/complex.f,
7027 testsuite/gdb.fortran/derived-type.f90,
7028 testsuite/gdb.fortran/library-module-lib.f90,
7029 testsuite/gdb.fortran/library-module-main.f90,
7030 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
7031 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
7032 Copyright year update.
7033
31886ea6
JB
70342011-01-05 Joel Brobecker <brobecker@adacore.com>
7035
7036 * gdb.base/langs1.f: Add copyright header.
7037
ebedcab5
JK
70382011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7039
7040 * gdb.base/morestack.exp: New file.
7041 * gdb.base/morestack.c: New file.
7042
de1eb2f9
JK
70432011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
7046
9e87a409
JB
70472010-12-29 Joel Brobecker <brobecker@adacore.com>
7048
7049 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
7050 * gdb.ada/arrayptr.exp: Add test printing that new variable.
7051
720d1a40
JB
70522010-12-29 Joel Brobecker <brobecker@adacore.com>
7053
7054 * gdb.ada/lang_switch.exp: Correct expected parameter value.
7055
a283af87
AS
70562010-12-25 Andreas Schwab <schwab@linux-m68k.org>
7057
5d3d9cba
AS
7058 * gdb.threads/tls.exp: Fix typo.
7059
a283af87
AS
7060 * gdb.threads/thread-specific.exp (get_thread_list): Update.
7061 * gdb.threads/execl.exp: Update.
7062
2a20745c
YQ
70632010-12-23 Yao Qi <yao@codesourcery.com>
7064
7065 * gdb.arch/arm-disp-step.exp: New.
7066 * gdb.arch/arm-disp-step.S: New.
7067
a7658b96
TT
70682010-12-21 Tom Tromey <tromey@redhat.com>
7069
7070 * gdb.threads/execl.exp: Update.
7071 * gdb.threads/linux-dp.exp: Update.
7072 * gdb.threads/manythreads.exp: Update.
7073 * gdb.threads/tls.exp: Update.
7074
5b79abe7
TT
70752010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7076
7077 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
7078 (NextOverThrowDerivates) <resumebpt>: New.
7079 (resumebpt_test): New.
7080 (main): Call resumebpt_test.
7081 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
7082
0914bcdb
SS
70832010-12-12 Stan Shebs <stan@codesourcery.com>
7084
7085 * gdb.trace/tsv.exp: Test print command on trace state variables.
7086
305aeedc
TT
70872010-12-09 Tom Tromey <tromey@redhat.com>
7088
7089 * gdb.base/interp.exp: Add regression test.
7090
186c406b
TT
70912010-12-09 Tom Tromey <tromey@redhat.com>
7092
7093 * gdb.java/jnpe.java: New file.
7094 * gdb.java/jnpe.exp: New file.
7095 * gdb.cp/nextoverthrow.exp: New file.
7096 * gdb.cp/nextoverthrow.cc: New file.
7097
aae1c79a
DE
70982010-12-07 Doug Evans <dje@google.com>
7099
7100 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
7101 of data-directory.
7102 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
7103 updated.
7104 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
7105
60f98dde 71062010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
7107
7108 * gdb.base/callfuncs.exp: Test for skip_float_tests.
7109 * gdb.base/call-sc.exp: Ditto.
7110 * gdb.base/finish.exp: Ditto.
7111 * gdb.base/return.exp: Ditto.
7112 * gdb.base/return2.exp: Ditto.
7113
5fa290c1
DE
71142010-11-30 Doug Evans <dje@google.com>
7115
7116 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
7117 (gdb_expect_list): Fix spelling errors in comments.
7118 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
7119 send_gdb/gdb_expect_list where applicable.
7120 * gdb.base/call-ar-st.exp: Ditto.
7121 * gdb.base/funcargs.exp: Ditto.
7122 * gdb.base/gcore.exp: Ditto.
7123 * gdb.base/page.exp: Ditto.
7124 * gdb.base/sigaltstack.exp: Ditto.
7125 * gdb.base/siginfo.exp: Ditto.
7126 * gdb.base/sigstep.exp: Ditto.
7127 * gdb.base/trace-commands.exp: Ditto.
7128
4e04c971
DE
71292010-11-29 Doug Evans <dje@google.com>
7130
7131 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
7132 printer-name;subprinter-name.
7133
8cf6f0b1
TT
71342010-11-29 Tom Tromey <tromey@redhat.com>
7135
7136 * gdb.dwarf2/implptr.exp: New file.
7137 * gdb.dwarf2/implptr.c: New file.
7138 * gdb.dwarf2/implptr.S: New file.
7139
94b6973e
PM
71402010-11-29 Phil Muldoon <pmuldoon@redhat.com>
7141
fc529d80 7142 PR python/12199
94b6973e
PM
7143
7144 * gdb.python/py-breakpoint.exp: Test the delete method.
7145
8358c15c
JK
71462010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 Fix step_resume_breakpoint unsaved during an infcall.
7149 * gdb.base/step-resume-infcall.exp: New file.
7150 * gdb.base/step-resume-infcall.c: New file.
7151
f6df29bc
TJB
71522010-11-24 Edjunior Machado <emachado@br.ibm.com>
7153
7154 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
7155
f2b5a5cf
TJB
71562010-11-24 Edjunior Machado <emachado@br.ibm.com>
7157
7158 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
7159 on ppc64's symbols; "finish" and "return" commands must accept to
7160 show the caller line again as well as the line after.
7161 * gdb.asm/powerpc64.inc: New file.
7162
6b0ecdc2
DE
71632010-11-23 Doug Evans <dje@google.com>
7164
7165 * lib/gdb.exp (gdb_test_sequence): New function.
7166 (gdb_expect_list): Add verbose -log call for each pattern.
7167 * gdb.base/signals.exp (test_handle_all_print): Call it.
7168 Reduce timeout increment from 6 minutes to 1 minute.
7169 * gdb.server/ext-run.exp: Call it.
7170
ea976c60
PM
71712010-11-23 Phil Muldoon <pmuldoon@redhat.com>
7172
f2b5a5cf 7173 PR python/12212
ea976c60
PM
7174
7175 * gdb.python/python.exp: Check that selected_thread raises an
7176 error when no inferior is loaded.
7177
c0efa795
JK
71782010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
7181 * gdb.dwarf2/dw2-stack-boundary.S: New file.
7182
ec3aa567
JK
71832010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7184
7185 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
7186 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
7187
d8249011
DE
71882010-11-18 Doug Evans <dje@google.com>
7189
7190 * gdb.server/ext-run.exp: Fix intermittent failures.
7191
d4eba7d1
NF
71922010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7193
7194 * gdb.stabs/gdb11479.exp: Use runto_main.
7195
b04c2f88
NF
71962010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7197
7198 * gdb.base/break-entry.exp: Skip if using a stub.
7199
ae9d7ce4
NF
72002010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7201
7202 * gdb.python/py-inferior.exp: Pack values in target endianness.
7203
621c8364
TT
72042010-11-12 Tom Tromey <tromey@redhat.com>
7205
7206 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
7207 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
7208 MemoryError.
7209 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
7210 type.
7211 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
7212 MemoryError.
7213 (test_subscript_regression): Update exception type.
7214
84f4c1fe
PM
72152010-11-11 Phil Muldoon <pmuldoon@redhat.com>
7216
7217 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
7218 breakpoint tests.
7219
a1442452
PA
72202010-11-09 Pedro Alves <pedro@codesourcery.com>
7221
7222 * gdb.base/watchpoint.exp: Test "watch -location" with an
7223 innacessible location.
7224
efd11a33
JK
72252010-11-09 Edjunior Machado <emachado@br.ibm.com>
7226 Luis Machado <luisgpm@br.ibm.com>
7227
7228 * gdb.base/maint.exp: Expect "." prefix.
7229 * gdb.base/nodebug.exp: Expect "." Likewise.
7230 * gdb.base/sepsymtab.exp: Expect "." Likewise.
7231 * gdb.base/watchpoint-cond-gone.exp: Likewise.
7232 * gdb.base/watchpoint.exp: Expect a software watch to be created for
7233 POWER server processors.
7234
aa00efb5
JK
72352010-11-08 Edjunior Machado <emachado@br.ibm.com>
7236 Luis Machado <luisgpm@br.ibm.com>
7237
7238 * gdb.base/break-entry.exp: convert entry point for
7239 ppc64 and expect leading `.' on ppc64's symbols
7240
99e7ae30
DE
72412010-11-05 Doug Evans <dje@google.com>
7242
7243 * gdb.base/help.exp: Update expected output.
b521dba8
DE
7244 * gdb.python/py-param.exp: Delete, contents moved to ...
7245 * gdb.python/py-parameter.exp: ... here. New file.
7246 Add test for gdb.parameter ("directories").
99e7ae30 7247
f4b8a18d
KW
72482010-11-05 Ken Werner <ken.werner@de.ibm.com>
7249
7250 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
7251 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
7252 * configure: Regenerate.
7253 * gdb.opencl/Makefile.in: New File.
7254 * gdb.opencl/datatypes.exp: Likewise.
7255 * gdb.opencl/datatypes.cl: Likewise.
7256 * gdb.opencl/operators.exp: Likewise.
7257 * gdb.opencl/operators.cl: Likewise.
7258 * gdb.opencl/vec_comps.exp: Likewise.
7259 * gdb.opencl/vec_comps.cl: Likewise.
7260 * gdb.opencl/convs_casts.exp: Likewise.
7261 * gdb.opencl/convs_casts.cl: Likewise.
7262 * lib/opencl.exp: Likewise.
7263 * lib/opencl_hostapp.c: Likewise.
7264 * lib/opencl_kernel.cl: Likewise.
7265 * lib/cl_util.c: Likewise.
7266 * lib/cl_util.c: Likewise.
7267 * gdb.base/default.exp (set language): Add "opencl" to the list of
7268 languages.
7269
a9d5ef47
SW
72702010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
7271
7272 * gdb.cp/overload.exp: Added test for inheritance overload.
7273 * gdb.cp/overload.cc: Ditto.
7274 * gdb.cp/oranking.exp: Removed releveant kfails.
7275
03eb1c79
JK
72762010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7277 Joel Brobecker <brobecker@adacore.com>
7278
7279 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
7280 check test_compiler_info.
7281
dbc98a8b
KW
72822010-11-03 Ken Werner <ken.werner@de.ibm.com>
7283
7284 * gdb.base/gnu_vector.exp: Adjust expect messages.
7285
120bd360
KW
72862010-11-03 Ken Werner <ken.werner@de.ibm.com>
7287
7288 * gdb.base/gnu_vector.exp: Add unary operator tests.
7289
c37f7098
KW
72902010-11-03 Ken Werner <ken.werner@de.ibm.com>
7291
7292 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
7293
7b51bc51
DE
72942010-11-02 Doug Evans <dje@google.com>
7295
7296 * gdb.python/py-pp-maint.c: New file.
7297 * gdb.python/py-pp-maint.exp: New file.
7298 * gdb.python/py-pp-maint.py: New file.
7299
50c97f38
TT
73002010-11-02 Tom Tromey <tromey@redhat.com>
7301
7302 * gdb.base/default.exp: Remove "scheme" from language list.
7303
a289b8f6
JK
73042010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7305
7306 Revert:
7307 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7308 * gdb.threads/sigstep-threads.exp: New file.
7309 * gdb.threads/sigstep-threads.c: New file.
7310
cd017491
MS
73112010-10-20 Michael Snyder <msnyder@vmware.com>
7312
7313 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
7314
8e6a5956
UW
73152010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7316
7317 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
7318 Skip test completely if gdb,no_hardware_watchpoints.
7319
2c04da0d
UW
73202010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7321
7322 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
7323 strict, but do not check for any particular function name within libc.
7324
79afc5ef
SW
73252010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7326
7327 * gdb.cp/smartp.exp: New test.
7328 * gdb.cp/smartp.cc : New test.
7329
026ffab7
SW
73302010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7331
7332 * gdb.cp/converts.exp: Test pointer to bool conversion.
7333 Test pointer to long conversion.
7334 * gdb.cp/oranking.exp: Removed relevant kfail.
7335
3a772aa4
TT
73362010-10-18 Tom Tromey <tromey@redhat.com>
7337
7338 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
7339 argument to lazy_string.
7340 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
7341 (pp_ls.to_string): Use it.
7342 * gdb.python/py-prettyprint.c (main): Move declarations to top.
7343 Add "estring2" local.
7344
5fc3827b
JK
73452010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7346
7347 Fix s390x compatibility.
7348 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
7349 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
7350
8aeb23f3
JK
73512010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7352
7353 * gdb.threads/sigstep-threads.exp: New file.
7354 * gdb.threads/sigstep-threads.c: New file.
7355
c1e56572
JK
73562010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7357
7358 * gdb.base/pie-execl.exp: New file.
7359 * gdb.base/pie-execl.c: New file.
7360
92163a10
JK
73612010-10-13 Doug Evans <dje@google.com>
7362 Jan Kratochvil <jan.kratochvil@redhat.com>
7363
7364 PR exp/12117
7365 * gdb.cp/ptype-cv-cp.cc: New file.
7366 * gdb.cp/ptype-cv-cp.exp: New file.
7367
7062b0a0
SW
73682010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
7369
7370 * gdb.cp/converts.cc: New test program.
7371 * gdb.cp/converts.exp: New test.
7372 * gdb.cp/overload.exp: Added test for void* vs int*.
7373 * gdb.cp/overload.exp: Ditto.
7374 * gdb.cp/oranking.exp: Removed related kfail.
7375
0e3509db
DE
73762010-10-13 Doug Evans <dje@google.com>
7377
7378 * lib/gdb-python.exp (gdb_check_python_config): New function.
7379 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
7380 * gdb.python/lib-types.cc: New file.
7381 * gdb.python/lib-types.exp: New file.
7382
8dc78533
JK
73832010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 * gdb.python/py-error.exp: New file.
7386 * gdb.python/py-error.py: New file.
7387
93c17e06
JK
73882010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7389
7390 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
7391 gdb_test_multiple.
7392
d8b34041
JK
73932010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7394
7395 * gdb.base/break-interp.exp: Use ldlags for linking flags.
7396 * gdb.base/prelink.exp: Likewise.
7397 * gdb.base/solib-nodir.exp: Likewise.
7398 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
7399 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
7400 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
7401
e0cc584e
UW
74022010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
7403
7404 * break-interp.exp (test_ld): Use two separate gdb_expect statements
7405 for the "info files" test to avoid timeouts on slow machines.
7406
cfc353b1
JK
74072010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7408
7409 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
7410 (main): Make openlib dummy call.
7411
d3d7896d
JK
74122010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
7415 * break-interp.exp (reach): Move the core body ...
7416 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
7417 (test_ld): Provide always real argument, even to the linker. Replace
7418 dl_main by _dl_debug_state.
7419
5e533c94
JK
74202010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 Fix results of prelinked PIEs on ppc*.
7423 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
7424 Accept also DISPLACEMENT "PRESENT".
7425 (main): Replace "ZERO" displacements by "PRESENT".
7426
33540610
SW
74272010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
7428
7429 * gdb.cp/oranking.exp: New test.
7430 * gdb.cp/oranking.cc: New test program.
7431
3bdf2bbd
KW
74322010-10-08 Ken Werner <ken.werner@de.ibm.com>
7433
7434 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
7435 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
7436
2f608a3a
KW
74372010-10-06 Ken Werner <ken.werner@de.ibm.com>
7438
7439 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
7440 lush, lynx) New constant.
7441 * gdb.base/constvars.exp: Test const array types.
7442 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
7443
aa2e2d8d
DE
74442010-10-06 Doug Evans <dje@google.com>
7445
7446 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
7447 of syscall staging area.
7448
2844d6b5
KW
74492010-10-06 Ken Werner <ken.werner@de.ibm.com>
7450
7451 * gdb.base/gnu_vector.c: Add variable c4.
7452 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
7453 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7454
7d8ac8bb
MR
74552010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
7456
7457 * gdb.arch/altivec-abi.exp: Fix a typo.
7458
84a02e58
MR
74592010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
7460
7461 * lib/mi-support.exp (thread_selected_re): Correct pattern used
7462 to match a thread ID.
7463
b18e6318
JK
74642010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7465
7466 Fix s390x testcase compatibility.
7467 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
7468
a2c09bd0
DE
74692010-10-01 Doug Evans <dje@google.com>
7470
7471 * lib/gdb-python.exp: New file.
7472 * gdb.python/py-block.exp: Use it.
7473 * gdb.python/py-breakpoint.exp: Ditto.
7474 * gdb.python/py-frame.exp: Ditto.
7475 * gdb.python/py-inferior.exp: Ditto.
7476 * gdb.python/py-param.exp: Ditto.
7477 * gdb.python/py-prettyprint.exp: Ditto.
7478 * gdb.python/py-shared.exp: Ditto.
7479 * gdb.python/py-symbol.exp: Ditto.
7480 * gdb.python/py-symtab.exp: Ditto.
7481 * gdb.python/py-type.exp: Ditto.
7482 * gdb.python/py-value.exp: Ditto.
7483 * gdb.python/python.exp: Ditto.
7484
38f12cfc
TT
74852010-09-30 Tom Tromey <tromey@redhat.com>
7486
7487 * gdb.base/anon.exp: New file.
7488 * gdb.base/anon.c: New file.
7489
9ae8282d
TT
74902010-09-30 Tom Tromey <tromey@redhat.com>
7491
7492 * gdb.base/completion.exp: Test completion through anonymous
7493 union.
7494 * gdb.base/break1.c (struct some_struct): Add anonymous union.
7495
e9e07ba6
JK
74962010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7497
7498 Fix printing parameters of inlined functions.
7499 * gdb.dwarf2/dw2-inline-param.exp: New file.
7500 * gdb.dwarf2/dw2-inline-param-main.c: New file.
7501 * gdb.dwarf2/dw2-inline-param.S: New file.
7502
cd2effb2
JK
75032010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7504
7505 PR corefiles/12071.
7506 * gdb.base/corefile.exp (quit with a process, no question: load core)
7507 (quit with a core file): New tests.
7508
bceffbf3
JK
75092010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7510
7511 Fix GDB crash on inferior calls with self-referencing classes.
7512 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
7513 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
7514 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
7515
1736ad11
JK
75162010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7517
7518 Fix lost siginfo_t for inferior calls.
7519 * gdb.base/siginfo-infcall.exp: New file.
7520 * gdb.base/siginfo-infcall.c: New file.
7521
a176ad92
JB
75222010-09-22 Joel Brobecker <brobecker@adacore.com>
7523
7524 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
7525
c2b0a229
JK
75262010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
7529 New test.
7530 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
7531
e8ae22d1
JB
75322010-09-22 Joel Brobecker <brobecker@adacore.com>
7533
7534 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
7535 type of our const type.
7536
ec322823
SW
75372010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
7538
7539 * gdb.cp/pr12028.cc: New.
7540 * gdb.cp/pr12028.exp: New.
7541
72929c62
JB
75422010-09-22 Joel Brobecker <brobecker@adacore.com>
7543
7544 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
7545
875b4ff5 75462010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 7547 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
7548
7549 PR mi/11407
7550 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
7551 * gdb.mi/dw2-ref-missing-frame-main.c New File.
7552 * gdb.mi/dw2-ref-missing-frame.S New File.
7553 * gdb.mi/dw2-ref-missing-frame.exp New File.
7554
7155d578
TT
75552010-09-14 Tom Tromey <tromey@redhat.com>
7556
7557 PR symtab/8399:
7558 * gdb.threads/tls.exp: Remove kfail. Update expected output.
7559
515ed532
TT
75602010-09-14 Tom Tromey <tromey@redhat.com>
7561
7562 PR exp/11803:
7563 * gdb.threads/tls.exp: Use C++.
7564 (check_thread_local): Use K::another_thread_local.
7565 * gdb.threads/tls.c (class K): New.
7566 (another_thread_local): Now a member of K.
7567 (spin): Update. No longer K&R C.
7568
450ca57c
SW
75692010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7570
7571 * gdb.cp/koenig.cc: created class for testing member lookup.
7572 * gdb.cp/koenig.exp: Added test for member lookup.
7573
dbd492a3
JK
75742010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7575
7576 Fix false FAILs on sourcetree topdir directory containing "kill".
7577 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
7578 source line matching regexp.
7579
8d4d924b
JK
75802010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7581
7582 * gdb.python/python.exp (set height 0, collect help from uiout)
7583 (verify help to uiout): New tests.
7584
8e64f2a0
JK
75852010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7586
7587 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
7588 is_lp64_target to check 64bit target.
7589
4569eed2
JK
75902010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7591
7592 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
7593 (test_ld) <powerpc64-*>: New.
7594
5e1617b1
DJ
75952010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7596
7597 * gdb.cp/templates.exp (test_template_args): Allow "struct".
7598
c767944b
DJ
75992010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7600
7601 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
7602 (FunctionArg::method): New function.
7603 (empty, arg): New variables.
7604 (main): Call arg.method.
7605 * gdb.cp/templates.exp (test_template_args): New function.
7606 (do_tests): Call it.
7607
27d3a3fc
UW
76082010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7609
7610 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
7611 of "next" to proceed over pthread_exit call.
7612
55b7ce7f
UW
76132010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7614
7615 * gdb.base/maint.exp: Avoid wildcards against potentially very long
7616 "maint print statistics" output to prevent expect timeouts.
7617
809df446
JK
76182010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7619
7620 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
7621 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7622 (test_float_rejected): ... here.
7623 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
7624 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7625 (test_float_rejected): ... here.
7626 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
7627 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7628 (test_float_rejected): ... here.
7629 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
7630 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7631 (test_float_rejected): ... here.
7632
8464be76
DJ
76332010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7634
7635 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
7636 before disabling hardware watchpoints.
7637 (test_inaccessible_watchpoint): Check that hardware watchpoints
7638 are used. Test for watchpoints on a constant address.
7639
14dba4b4
JK
76402010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7641
7642 * gdb.base/ui-redirect.exp: New file.
7643
3f3540e1 76442010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 7645 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
7646
7647 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
7648
0f254bb7
DE
76492010-08-31 Doug Evans <dje@google.com>
7650
7651 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
7652
03f17ccf
TT
76532010-08-30 Tom Tromey <tromey@redhat.com>
7654
7655 PR python/11792:
7656 * gdb.python/py-value.exp (test_subscript_regression): Add
7657 dynamic_type test.
7658
640617ad
DJ
76592010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
7660
7661 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
7662 instead of running to main. Do not test the main function.
7663 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
7664 Add new main.
7665
2ed91d1b
PA
76662010-08-26 Pedro Alves <pedro@codesourcery.com>
7667
7668 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
7669 one test.
7670
673bfd45
DE
76712010-08-24 Doug Evans <dje@google.com>
7672
7673 PR symtab/11942
7674 * gdb.dwarf2/dw4-sig-types.cc: New file.
7675 * gdb.dwarf2/dw4-sig-types.h: New file.
7676 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
7677 * gdb.dwarf2/dw4-sig-types.exp: New file.
7678
f9ffd4bb
TT
76792010-08-23 Tom Tromey <tromey@redhat.com>
7680
7681 PR python/11145:
7682 * gdb.python/py-value.c (Base, Derived): New types.
7683 (base): New global.
7684 * gdb.python/py-value.exp (test_subscript_regression): Add
7685 dynamic_cast test.
7686
d839c8a4
TT
76872010-08-23 Tom Tromey <tromey@redhat.com>
7688
7689 PR python/10676:
7690 * gdb.python/py-type.exp (test_fields): Add tests for type
7691 equality.
7692
702c2711
TT
76932010-08-23 Tom Tromey <tromey@redhat.com>
7694
7695 PR python/11915:
7696 * gdb.python/py-type.exp (test_fields): Add tests for array.
7697
832bafd3
KS
76982010-08-23 Keith Seitz <keiths@redhat.com>
7699
7700 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
7701 have any children. Create a new abbrev for it.
7702 Add missing terminal sequence to .debug_abbrev.
7703
c37bf528
KS
77042010-08-20 Keith Seitz <keiths@redhat.com>
7705
7706 PR symtab/11465:
7707 * gdb.dwarf2/pr11465.exp: New test.
7708 * gdb.dwarf2/pr11465.S: New file.
7709 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
7710 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
7711
4572cbac
TJB
77122010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
7713
7714 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
7715 registers. Update data sets with the new v2_double element in the
7716 VSX register union. Add vector_register3_vr data set for the AltiVec
7717 registers. Use gdb_test_no_output instead of send_gdb.
7718
e7fbb131
PA
77192010-08-19 Pedro Alves <pedro@codesourcery.com>
7720
7721 * gdb.python/py-shared.exp: New file, factored out from
7722 python.exp.
7723 * gdb.python/py-shared.c: New file.
7724 * gdb.python/py-shared-sl.c: New file.
7725 * gdb.python/python-1.c: New file.
7726 * gdb.python/python-sl.c: Delete.
7727 * gdb.python/python.c: Mention python-1.c.
7728 * gdb.python/python.exp: Move shared library tests to
7729 py-shared.exp.
7730 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
7731 (MISCELLANEOUS): New.
7732 (clean mostlyclean): Also remove $MISCELLANEOUS.
7733
d30f5e1f
DE
77342010-08-19 Doug Evans <dje@google.com>
7735
7736 PR exp/11926
7737 * gdb.base/printcmds.exp (test_float_accepted): New function.
7738 Move existing float tests there. Add tests for floats with suffixes.
7739 (test_float_rejected): New function.
7740 * gdb.java/jv-print.exp (test_float_accepted): New function.
7741 (test_float_rejected): New function.
7742 * gdb.objc/print.exp: New file.
7743 * gdb.pascal/print.exp: New file.
7744 * lib/objc.exp: New file.
7745
7b3fd859
PM
77462010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
7747
7748 * gdb.base/default.exp (info set): Avoid full buffer error and force
7749 reading up to final gdb prompt.
7750 (show): Likewise.
7751
c92817ce
TT
77522010-08-18 Tom Tromey <tromey@redhat.com>
7753
7754 PR symtab/11919:
7755 * gdb.base/completion.exp: Add test.
7756
f1208f9e
DE
77572010-08-18 Doug Evans <dje@google.com>
7758
7759 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
7760 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
7761 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
7762 Simplify, early exit if runto_main fails.
7763 * gdb.fortran/exprs.exp: load_lib fortran.exp.
7764 (set_lang_fortran): Moved to lib/fortran.exp.
7765 * gdb.fortran/types.exp: load_lib fortran.exp.
7766 (set_lang_fortran): Moved to lib/fortran.exp.
7767 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
7768 * gdb.java/jprint.exp (set_lang_java): Ditto.
7769 * gdb.java/jv-exp.exp: load_lib java.exp.
7770 If set_lang_java fails, issue a warning instead of failure to be
7771 consistent with other set_lang_foo uses.
7772 (set_lang_java): Moved to lib/java.exp.
7773 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
7774 If set_lang_java fails, issue a warning instead of failure to be
7775 consistent with other set_lang_foo uses.
7776 * gdb.pascal/types.exp: load_lib pascal.exp.
7777 (set_lang_pascal): Moved to lib/pascal.exp.
7778 * lib/fortran.exp: New file.
7779 * lib/java.exp (set_lang_java): New function.
7780 * lib/pascal.exp (set_lang_pascal): New function.
7781
2f06b485
YQ
77822010-08-18 Yao Qi <yao@codesourcery.com
7783
7784 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
7785 func_nofb_start and func_loopfb_start, so that address of functions
7786 is equal to these labels on Thumb.
7787
96e25403
YQ
77882010-08-18 Yao Qi <yao@codesourcery.com>
7789
7790 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
7791 to reflect latest c source file.
7792
36e6adc4
JK
77932010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7794
7795 * gdb.cp/infcall-dlopen.exp: New file.
7796 * gdb.cp/infcall-dlopen.cc: New file.
7797 * gdb.cp/infcall-dlopen-lib.cc: New file.
7798
f431efe5
PA
77992010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7800 Pedro Alves <pedro@codesourcery.com>
7801
7802 PR breakpoints/11371
7803
7804 * gdb.base/watch-cond-infcall.exp: New file.
7805 * gdb.base/watch-cond-infcall.c: New file.
7806
06a64a0b
TT
78072010-08-16 Tom Tromey <tromey@redhat.com>
7808
7809 * gdb.base/help.exp: Update.
7810 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
7811 watchpoint.
7812 (test_watch_location): New proc.
7813 (test_watchpoint_in_big_blob): Delete watchpoint.
7814 * gdb.base/watchpoint.c (func5): New function.
7815 (main): Call it.
7816
70ebf4ed
DE
78172010-08-16 Doug Evans <dje@google.com>
7818
7819 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7820
ca5c20b6
PM
78212010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7822
7823 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7824 tests.
7825
7346b668
KW
78262010-08-11 Ken Werner <ken.werner@de.ibm.com>
7827
7828 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7829 * gdb.base/gnu_vector.c: New File.
7830 * gdb.base/gnu_vector.exp: Likewise.
7831
cb2e07a6
PM
78322010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7833
7834 * gdb.python/python.c: New File.
7835 * gdb.python/python-sl.c: New File.
7836 * gdb.python/python.exp: Test solib_address and decode_line
7837 * functions.
7838
5da1313b
JK
78392010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7840
7841 * gdb.python/python.exp (show height, set height 10)
7842 (verify pagination beforehand, verify pagination beforehand: q)
7843 (gdb.execute does not page, verify pagination afterwards)
7844 (verify pagination afterwards: q): New.
7845
49c3ccf7
DE
78462010-08-02 Doug Evans <dje@google.com>
7847
7848 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7849 because of an older gcc, change test2
7850 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7851 to unsupported.
7852
42c0c4f1
KH
78532010-07-30 Kazu Hirata <kazu@codesourcery.com>
7854
7855 * gdb.base/break-always.exp: Do not expect full paths to file
7856 names.
7857 * gdb.base/commands.exp: Likewise.
7858
d3765805
DE
78592010-07-30 Doug Evans <dje@google.com>
7860
c98ee71b
DE
7861 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7862 xfail them when run with older gccs.
7863
fd961404
DE
7864 * lib/gdb.exp (build_executable): Forward "c++" option to
7865 get_compiler_info.
7866
999adef4
DE
7867 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7868 "python print ttype.template_argument(1)" and
7869 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7870 if using gcc 4.4 or earlier.
7871
d3765805
DE
7872 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7873 attach-to-debugger handling.
7874
1276c759
JK
78752010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7876
7877 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7878 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7879 (main): Use copyreloc.
7880 * gdb.base/prelink.exp (split debug of executable)
7881 (.dynbss vs. .bss address shift): New tests.
7882
88caa9b9
PA
78832010-07-29 Pedro Alves <pedro@codesourcery.com>
7884
7885 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7886 in gdb_test_multiple.
7887
c6f2ac43
PA
78882010-07-29 Pedro Alves <pedro@codesourcery.com>
7889
7890 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7891 environment.
7892
326fd672
TT
78932010-07-28 Tom Tromey <tromey@redhat.com>
7894
7895 PR python/11060:
7896 * gdb.python/py-type.c (Temargs): New template.
7897 (temvar): New variable.
7898 * gdb.python/py-type.exp (test_template): New proc.
7899
3ce3b1ba
PA
79002010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7901
7902 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7903 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7904
34eaf542
TT
79052010-07-28 Tom Tromey <tromey@redhat.com>
7906
7907 PR c++/9946:
7908 * gdb.cp/temargs.exp: New file.
7909 * gdb.cp/temargs.cc: New file.
7910
d41b819e
JK
79112010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7912
7913 * gdb.base/help.exp (help disassemble): Update the content.
7914
26ab7092
JK
79152010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7916
7917 * gdb.threads/ia64-sigill.exp: New file.
7918 * gdb.threads/ia64-sigill.c: New file.
7919
5283e9e1
TT
79202010-07-27 Tom Tromey <tromey@redhat.com>
7921
7922 * gdb.opt/inline-cmds.c (ATTR): New define.
7923 (func1): Use it.
7924 (func2): Likewise.
7925 (func3): Likewise.
7926 (outer_inline1): Likewise.
7927 (outer_inline2): Likewise.
7928 * gdb.opt/inline-bt.c (ATTR): New define.
7929 (func1): Use it.
7930 (func2): Likewise.
7931 * gdb.opt/inline-locals.c (ATTR): New define.
7932 (func1): Use it.
7933 (func2): Likewise.
7934
e992ef73
TT
79352010-07-27 Tom Tromey <tromey@redhat.com>
7936
7937 * gdb.stabs/gdb11479.c (hack): New function.
7938 (test): Use it.
7939 (test2): Use it.
7940 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7941 (int32_search_buf, int64_search_buf): No longer static.
7942 (x): Remove.
7943 * gdb.base/relocate.c (hack): New function.
7944
5374244e
PM
79452010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7946
7947 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7948 * gdb.python/py-value.c (func1): New function.
7949 (func2): Likewise.
7950
a99aee83
CV
79512010-07-26 Corinna Vinschen <vinschen@redhat.com>
7952
7953 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7954 as not to clash with .data section.
7955
a04ba985
JG
79562010-07-26 Jerome Guitton <guitton@adacore.com>
7957
7958 * gdb.base/code_elim.exp: New file.
7959 * gdb.base/code_elim1.c: New file.
7960 * gdb.base/code_elim2.c: New file.
7961
23bd0f7c
PA
79622010-07-21 Pedro Alves <pedro@codesourcery.com>
7963
7964 PR symtab/11827
7965
7966 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7967 (some_volatile_enum): New variable.
7968 * gdb.base/printcmds.exp (test_print_enums): New.
7969 <top level>: Call it.
7970
883df6dd
SW
79712010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7972
7973 * gdb.cp/fpointer.cc: New test.
7974 * gdb.cp/fpointer.exp: New test.
7975
569b05a5
JK
79762010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7977
7978 * gdb.base/solib-nodir.exp: New file.
7979 * lib/gdb.exp (runto): New case for a GDB internal error.
7980
51d7d803
JK
79812010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7982 Ulrich Weigand <uweigand@de.ibm.com>
7983 Tom Tromey <tromey@redhat.com>
7984
7985 * gdb.base/charset-malloc.c: New file.
7986 * gdb.base/charset.c (malloc_stub): New prototype.
7987 (main): Call it instead of malloc itself.
7988 * gdb.base/charset.exp: Use only prepare_for_testing.
7989 (binfile): Remove the variable.
7990
c0edd9ed
JK
79912010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7992
7993 Make core files the process_stratum.
7994 * gdb.base/corefile.exp (run: load core again)
7995 (run: sanity check we see the core file, run: with core)
7996 (run: core file is cleared, attach: load core again)
7997 (attach: sanity check we see the core file, attach: with core)
7998 (attach: core file is cleared): New tests.
7999 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
8000
3cbaedff
KW
80012010-07-14 Ken Werner <ken.werner@de.ibm.com>
8002
8003 * gdb.arch/altivec-abi.exp: New tests.
8004
91158a56
TT
80052010-07-13 Tom Tromey <tromey@redhat.com>
8006
8007 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
8008 (main): Use it.
8009 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
8010
0f5238ed
TT
80112010-07-13 Tom Tromey <tromey@redhat.com>
8012
8013 * gdb.base/label.exp: New file.
8014 * gdb.base/label.c: New file.
8015
add265ae
L
80162010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
8017 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 * lib/gdb.exp (is_ilp32_target): New.
8020 (is_lp64_target): Likewise.
8021
8022 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
8023 target.
8024 * gdb.arch/amd64-disp-step.exp: Likewise.
8025 * gdb.arch/amd64-dword.exp: Likewise.
8026 * gdb.arch/amd64-i386-address.exp: Likewise.
8027 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 8028
add265ae
L
8029 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
8030 target.
8031 * gdb.arch/i386-bp_permanent.exp: Likewise.
8032 * gdb.arch/i386-byte.exp: Likewise.
8033 * gdb.arch/i386-disp-step.exp: Likewise.
8034 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8035 * gdb.arch/i386-prologue.exp: Likewise.
8036 * gdb.arch/i386-size-overlap.exp: Likewise.
8037 * gdb.arch/i386-size.exp: Likewise.
8038 * gdb.arch/i386-sse.exp: Likewise.
8039 * gdb.arch/i386-unwind.exp: Likewise.
8040 * gdb.arch/i386-word.exp: Likewise.
8041
8042 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
8043 test only when building 64-bit executables. Do not hard-code
8044 -m64 option.
8045
2dfb8c17
DE
80462010-07-07 Doug Evans <dje@google.com>
8047
8048 * lib/gdb.exp (gdb_test_list_exact): New function.
8049 * gdb.base/default.exp (show convenience): Call it, add tests for
8050 $_sdata = void, $_thread = 0.
8051
4e5799b6
JK
80522010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8053 Joel Brobecker <brobecker@adacore.com>
8054
8055 Fix re-run of PIE executable, PR shlibs/11776.
8056 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
8057 Remove $displacement_main to match the solib-svr4.c change. New "kill"
8058 and re-"run" of the inferior.
8059
1a219cc7
JK
80602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8061 Joel Brobecker <brobecker@adacore.com>
8062
8063 Cope with missing /usr/sbin/prelink.
8064 * lib/prelink-support.exp (prelink_no):
8065 <result == 1 && $output is "no such file or directory">: New.
8066 (prelink_yes): Likewise. Return on failed prelink_no.
8067
5e3b36f8
JK
80682010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8069 Joel Brobecker <brobecker@adacore.com>
8070
8071 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
8072 build_executable by build_executable_own_libs. Replace "prelink -R"
8073 execution by a call of prelink_yes. Comment why "prelink -r" needs no
8074 change.
8075 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
8076 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
8077 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
8078 Replace build_executable by build_executable_own_libs's function
8079 build_executable_own_libs.
8080 (prelinkNO): Create new stub to call prelink_no.
8081 (prelinkYES): Create new stub to call prelink_yes.
8082 (test_attach): Rename calls of copy to file_copy.
8083 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
8084 (copy): Move to ...
8085 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
8086 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
8087 * gdb.base/prelink.exp: Disable testcase also for is_remote and
8088 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
8089 special flags by gdb_compile_shlib. Replace second gdb_compile by
8090 build_executable_own_libs. Replace "prelink -R" execution by a call of
8091 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
8092 a second call of prelink_yes. Replace restart commands by
8093 clean_restart.
8094 (prelink): Rename to ...
8095 (seen displacement message): ... this test. Extend its expectation
8096 strictness.
8097
86e4bafc
JK
80982010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
8101 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
8102 displacement message exactly once.
8103
3cd07d20
JK
81042010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8105 Joel Brobecker <brobecker@adacore.com>
8106
8107 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
8108 its restore after the <$relink_args != ""> loop. new comment.
8109
0a1e94c7
JK
81102010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8111 Joel Brobecker <brobecker@adacore.com>
8112
8113 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
8114 code for it. New variable relink_args.
8115 (prelinkYES): Call prelinkNO.
8116 (test_attach): Accept new parameter relink_args. Re-prelink the binary
8117 in such case. Move the core code to ...
8118 (test_attach_gdb): ... a new function. Send GDB command "file".
8119 Extend expected "Attaching to " string.
8120
2f70bcfb
TT
81212010-07-02 Tom Tromey <tromey@redhat.com>
8122
8123 * gdb.base/bitops.exp: Remove extraneous "pass".
8124
a17ac5b0
TT
81252010-07-02 Ken Werner <ken.werner@de.ibm.com>
8126
8127 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8128
dc10affe
PA
81292010-07-01 Pedro Alves <pedro@codesourcery.com>
8130
d41c0fc8
PA
8131 * gdb.base/help.exp: Adjust expected output.
8132
81332010-07-01 Pedro Alves <pedro@codesourcery.com>
8134
8135 * gdb.base/help.exp: Adjust expected output.
dc10affe 8136
0a600c36
JK
81372010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8138
8139 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
8140 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
8141 c++/11702.
8142
37cc8bfe
JK
81432010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8144 Doug Evans <dje@google.com>
8145
8146 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
8147 add .dynamic entry'.
8148
254e6b9e
DE
81492010-06-29 Doug Evans <dje@google.com>
8150
8151 Test PR c++/11702.
8152 * gdb.cp/m-static.exp: Add testcase.
8153 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
8154
595939de 81552010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
8156 Tom Tromey <tromey@redhat.com>
8157 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
8158
8159 * gdb.python/py-inferior.c: New File.
8160 * gdb.python/py-infthread.c: New File.
8161 * gdb.python/py-inferior.exp: New File.
8162 * gdb.python/py-infthread.exp: New File.
8163
98751a41
JK
81642010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8165
8166 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
8167 (ptype ::C::OtherFileClass typedefs): New.
8168 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
8169 (C::OtherFileClass::cOtherFileClassVar2): New.
8170 (C::OtherFileClass::cOtherFileClassVar_use): Use also
8171 cOtherFileClassVar2.
8172 (C::cOtherFileType2, C::cOtherFileVar2): New.
8173 (C::cOtherFileVar_use): use also cOtherFileVar2.
8174 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
8175
41f62f39
JK
81762010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8177
8178 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
8179 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
8180 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
8181 (print ::C::cOtherFileVar)
8182 (whatis C::OtherFileClass::cOtherFileClassType)
8183 (whatis ::C::OtherFileClass::cOtherFileClassType)
8184 (print C::OtherFileClass::cOtherFileClassVar)
8185 (print ::cOtherFileClassVar)
8186 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
8187 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
8188 trailing content.
8189 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
8190 (C::OtherFileClass::cOtherFileClassVar)
8191 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
8192 (C::cOtherFileVar, C::cOtherFileVar_use): New.
8193
af53d231
JK
81942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8195
8196 Test PR c++/11703 and PR gdb/1448.
8197 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
8198 gdb/1448.
8199
9655fd1a
JK
82002010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8201
8202 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
8203 (main) <rtti_data>: New.
8204 * gdb.cp/virtbase.exp (print rtti_data): New.
8205
824cc8dd
JK
82062010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8207 Joel Brobecker <brobecker@adacore.com>
8208
8209 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
8210
6036c742
JK
82112010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8212
8213 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
8214
de6a0421
DE
82152010-06-28 Doug Evans <dje@google.com>
8216
8217 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
8218
b2dae948
DE
82192010-06-27 Doug Evans <dje@google.com>
8220
8221 * gdb.cp/m-static.exp: Update expected test output.
8222
0f3bb72e
PH
82232010-06-25 Paul Hilfinger <hilfinger@adacore.com>
8224
889bf7c5
PA
8225 * gdb.gdb/selftest.exp: Adjust expected message for
8226 capturing start-up runtime.
0f3bb72e 8227
bc9f0842
TT
82282010-06-25 Tom Tromey <tromey@redhat.com>
8229
8230 PR python/10808:
8231 * gdb.python/python.exp: Add new tests.
8232
099ef718
SW
82332010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
8234
8235 * gdb.cp/operator.cc: Created an import loop.
8236 * gdb.cp/operator.exp: Added testcase for import loop.
8237
5868a632
JK
82382010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8239
8240 Test PR python/11407.
8241 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
8242 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
8243 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
8244 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
8245 executable_nofb and executable_fb. New variables srcsfile, objsfile,
8246 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
8247 binfile. Call gdb_compile with clean_restart twice.
8248 (func_nofb print, func_nofb backtrace, func_loopfb print)
8249 (func_loopfb backtrace): New.
8250
af76db58
JK
82512010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
8254 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
8255 by a hand made one.
8256 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
8257 i?86 requirement. Remove variables srcfile and binfile. New variable
8258 sources, executable_nofb and executable_fb. Call prepare_for_testing.
8259
f2c7657e
UW
82602010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8261
8262 * gdb.cell/dwarfaddr.exp: New file.
8263 * gdb.cell/dwarfaddr.S: New file.
8264
628fe4e4
JK
82652010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8266
8267 Test PR 9436.
8268 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
8269
f1421989
HZ
82702010-06-24 Hui Zhu <teawater@gmail.com>
8271
8272 * gdb.base/eval.exp: New file.
8273
d03285ec
UW
82742010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8275
8276 * gdb.cell/fork.exp: New file.
8277 * gdb.cell/fork.c: Likewise.
8278 * gdb.cell/fork-spu.c: Likewise.
8279
41b2c92d
PM
82802010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
8281
8282 * lib/gdb.exp (banned_variables_traced): New global variable.
8283 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
8284 (gdb_init): Use `trace add variable' instead of obsolete
8285 `trace variable'.
8286
d5bc977f
DE
82872010-06-21 Doug Evans <dje@google.com>
8288
8289 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
8290
d2ed6730
UW
82912010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8292
8293 * gdb.arch/spu-ls.exp: New file.
8294 * gdb.arch/spu-ls.c: Likewise.
8295
6aed2dbc
SS
82962010-06-18 Stan Shebs <stan@codesourcery.com>
8297
8298 * gdb.threads/thread-specific.exp: Add tests of $_thread.
8299
e0756905
UW
83002010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8301
8302 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
8303 * gdb.base/watch-cond.exp: Likewise.
8304 * gdb.python/py-breakpoint.exp: Likewise.
8305
d8053d4d
PA
83062010-06-18 Pedro Alves <pedro@codesourcery.com>
8307
8308 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
8309 clean_restart, make sure every test has a distinct message, and
8310 that messages don't include the executable' full path.
8311
81ce510c
DE
83122010-06-17 Doug Evans <dje@google.com>
8313
8314 * gdb.arch/i386-size.exp: Updated expected output for
8315 DISASSEMBLY_OMIT_FNAME.
8316
65d79d4b
SDJ
83172010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8318 Sergio Durigan Junior <sergiodj@redhat.com>
8319
8320 * gdb.base/watch-notconst.c: New file.
8321 * gdb.base/watch-notconst.S: New file.
8322 * gdb.base/watch-notconst2.c: New file.
8323 * gdb.base/watch-notconst2.S: New file.
8324 * gdb.base/watch-notconst.exp: New file.
8325 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
8326 (func4): Add operations on `global_ptr_ptr'.
8327 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
8328 routine to test watchpoints created with a constant expression.
8329 (test_inaccessible_watchpoint): Include tests for watchpoints
8330 created with a constant expression.
8331
df0f4836
KB
83322010-06-14 Kevin Buettner <kevinb@redhat.com>
8333
8334 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8335 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
8336 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
8337 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
8338 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8339 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8340 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
8341 of `_start'.
8342
b769def5
UW
83432010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8344
8345 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
8346 not supported on the target.
8347 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8348 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8349 * gdb.mi/mi-nsintrall.exp: Likewise.
8350 * gdb.mi/mi-nsmoribund.exp: Likewise.
8351 * gdb.mi/mi-nsthrexec.exp: Likewise.
8352
d914c394
SS
83532010-06-11 Stan Shebs <stan@codesourcery.com>
8354
8355 * gdb.base/permissions.exp: New file.
8356
83572010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
8358
8359 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
8360 does not support ELF executable class.
8361
f3ce5b9c
UW
83622010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8363
8364 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
8365
8e46892c
JK
83662010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
8369 (runto): Catch "The target does not support running in non-stop mode.".
8370
6cc55c64
MS
83712010-06-11 Michael Snyder <msnyder@vmware.com>
8372
8373 * gdb.base/setshow.exp (set language asm): Don't use
8374 gdb_test_no_output, fails on some targets.
8375
caddefa4
UW
83762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8377
8378 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
8379 * gdb.cp/pr9167.exp: Likewise.
8380
468b1aa7
UW
83812010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8382
8383 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
8384
5c3552dc
UW
83852010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8386
8387 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
8388
02e6fe6a
UW
83892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8390
8391 * gdb.base/charset.c (main): Make sure malloc gets linked in.
8392
0e03807e
TT
83932010-06-11 Tom Tromey <tromey@redhat.com>
8394
8395 PR gdb/9977, PR exp/11636::
8396 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
8397 (pieces_test_f6): Update expected output.
8398
2bdf28a0
JK
83992010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8400
8401 * gdb.base/moribund-step.exp: New.
8402
f6978de9
MS
84032010-06-08 Michael Snyder <msnyder@vmware.com>
8404
8405 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 8406 * gdb.ada/boolean_expr.exp:
f6978de9
MS
8407 * gdb.ada/frame_args.exp: Ditto.
8408 * gdb.ada/lang_switch.exp: Ditto.
8409 * gdb.ada/ptype_arith_binop.exp: Ditto.
8410 * gdb.ada/ref_param.exp: Ditto.
8411 * gdb.ada/type_coercion.exp:Ditto.
8412
8413 * gdb.asm/asm-source.exp: Ditto.
8414
8415 * gdb.base/attach.exp: Ditto.
8416 * gdb.base/bitfields2.exp: Ditto.
8417 * gdb.base/call-signal-resume.exp: Ditto.
8418 * gdb.base/callfuncs.exp: Ditto.
8419 * gdb.base/commands.exp: Ditto.
8420 * gdb.base/dbx.exp: Ditto.
8421 * gdb.base/default.exp: Ditto.
8422 * gdb.base/dump.exp: Ditto.
8423 * gdb.base/exprs.exp: Ditto.
8424 * gdb.base/freebpcmd.exp: Ditto.
8425 * gdb.base/interrupt.exp: Ditto.
8426 * gdb.base/list.exp: Ditto.
8427 * gdb.base/long_long.exp: Ditto.
8428 * gdb.base/maint.exp: Ditto.
8429 * gdb.base/ptype.exp: Ditto.
8430 * gdb.base/return.exp: Ditto.
8431 * gdb.base/setshow.exp: Ditto.
8432 * gdb.base/sigbpt.exp: Ditto.
8433 * gdb.base/sigrepeat.exp: Ditto.
8434
8435 * gdb.cp/classes.exp: Ditto.
8436
8437 * gdb.dwarf2/dw2-restore.exp: Ditto.
8438
8439 * gdb.gdb/selftest.exp: Ditto.
8440
8441 * gdb.multi/base.exp: Ditto.
8442 * gdb.multi/bkpt-multi-exec.exp: Ditto.
8443
8444 * gdb.python/py-block.exp: Ditto.
8445 * gdb.python/py-prettyprint.exp: Ditto.
8446 * gdb.python/py-template.exp: Ditto.
8447
8448 * gdb.server/ext-attach.exp: Ditto.
8449 * gdb.server/ext-run.exp: Ditto.
8450 * gdb.server/server-mon.exp: Ditto.
8451
8452 * gdb.threads/fork-thread-pending.exp: Ditto.
8453 * gdb.threads/hand-call-in-threads.exp: Ditto.
8454 * gdb.threads/interrupted-hand-call.exp: Ditto.
8455 * gdb.threads/linux-dp.exp: Ditto.
8456 * gdb.threads/manythreads.exp: Ditto.
8457 * gdb.threads/print-threads.exp: Ditto.
8458 * gdb.threads/pthreads.exp: Ditto.
8459 * gdb.threads/schedlock.exp: Ditto.
8460 * gdb.threads/thread-unwindonsignal.exp: Ditto.
8461 * gdb.threads/threadapply.exp: Ditto.
8462
de7ff789
MS
84632010-06-08 Michael Snyder <msnyder@vmware.com>
8464
889bf7c5 8465 * gdb.ada/exec_changed.exp:
de7ff789
MS
8466 Use ".*" instead of "" as wildcard regexp.
8467
8468 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
8469 * gdb.base/call-ar-st.exp: Ditto.
8470 * gdb.base/checkpoint.exp: Ditto.
8471 * gdb.base/default.exp: Ditto.
8472 * gdb.base/dump.exp: Ditto.
8473 * gdb.base/ending-run.exp: Ditto.
8474 * gdb.base/fileio.exp: Ditto.
8475 * gdb.base/miscexprs.exp: Ditto.
8476 * gdb.base/pointers.exp: Ditto.
8477 * gdb.base/readline.exp: Ditto.
8478 * gdb.base/reread.exp: Ditto.
8479 * gdb.base/restore.exp: Ditto.
8480 * gdb.base/shlib-call.exp: Ditto.
8481 * gdb.base/valgrind-db-attach.exp: Ditto.
8482 * gdb.base/volatile.exp: Ditto.
8483 * gdb.base/watchpoints.exp: Ditto.
8484
8485 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
8486
8487 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
8488 * gdb.python/py-value.exp: Ditto.
8489
8490 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
8491 * gdb.trace/circ.exp: Ditto.
8492 * gdb.trace/collection.exp: Ditto.
8493 * gdb.trace/packetlen.exp: Ditto.
8494 * gdb.trace/passc-dyn.exp: Ditto.
8495 * gdb.trace/report.exp: Ditto.
8496 * gdb.trace/tfile.exp: Ditto.
8497 * gdb.trace/tfind.exp: Ditto.
8498 * gdb.trace/while-dyn.exp: Ditto.
8499
3bebe2f2
JK
85002010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8501
8502 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
8503
5c631832
JK
85042010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8505
8506 Test PR 10640.
8507 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
8508
4c3376c8
SW
85092010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
8510
8511 * gdb.cp/koenig.exp: Test for ADL operators.
8512 * gdb.cp/koenig.cc: Added ADL operators.
8513 * gdb.cp/operator.exp: New test.
8514 * gdb.cp/operator.cc: New test.
8515
dc226d5a
MS
85162010-06-04 Michael Snyder <msnyder@vmware.com>
8517
dfb88a23
MS
8518 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
8519 * gdb.base/pending.exp: Ditto.
f7ae76b3 8520
dc226d5a
MS
8521 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
8522
967cf477
DE
85232010-06-04 Doug Evans <dje@google.com>
8524
8525 * gdb.python/py-prettyprint.exp: Add new test for enabled and
8526 disabled printers.
8527 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
8528 (enable_lookup_function): New function.
8529
eb801841
TT
85302010-06-04 Tom Tromey <tromey@redhat.com>
8531
8532 * gdb.python/py-value.exp (test_value_hash): Don't test equality
8533 of hash and id.
8534
38979823
JK
85352010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
8538 newline.
8539 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
8540 (empty verbose non-noisy clear, empty verbose noisy clear)
8541 (empty non-verbose noisy clear): Likewise.
8542
35ec993f
MS
85432010-06-03 Michael Snyder <msnyder@vmware.com>
8544
8545 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
8546 * gdb.base/display.exp: Ditto.
8547 * gdb.base/find.exp: Ditto.
8548 * gdb.base/ifelse.exp: Ditto.
8549 * gdb.base/multi-forks.exp: Ditto.
8550 * gdb.base/recurse.exp: Ditto.
8551 * gdb.base/setshow.exp: Ditto.
8552 * gdb.base/value-double-free.exp: Ditto.
8553 * gdb.base/watch-vfork.exp: Ditto.
8554 * gdb.base/watch_thread_num.exp: Ditto.
8555 * gdb.base/watchpoint-solib.exp: Ditto.
8556 * gdb.base/watchpoint.exp: Ditto.
8557 * gdb.base/watchpoints.exp: Ditto.
8558
8559 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
8560 * gdb.cp/overload.exp: Ditto.
8561 * gdb.cp/virtfunc.exp: Ditto.
8562
8563 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
8564
889bf7c5 8565 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
8566 Replace gdb_test with gdb_test_no_output.
8567
889bf7c5 8568 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
8569 Replace gdb_test with gdb_test_no_output.
8570 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
8571 * gdb.threads/watchthreads.exp: Ditto.
8572 * gdb.threads/watchthreads2.exp: Ditto.
8573
8574 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
8575 * gdb.trace/tfind.exp: Ditto.
8576
c22decce
JB
85772010-06-03 Joel Brobecker <brobecker@adacore.com>
8578
8579 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
8580 successful test if message is the empty string.
8581
fd5700c7
JK
85822010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8583
8584 * gdb.fortran/module.exp (stopped language detection): New test.
8585
f55ee35c
JK
85862010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8587
8588 Support DW_TAG_module as separate namespaces.
8589 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
8590 gdb.fortran/library-module-lib.f90: New.
8591 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
8592 (print i): Remove.
8593 (continue to breakpoint: i-is-1, print var_i value 1)
8594 (continue to breakpoint: i-is-2, print var_i value 2)
8595 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
8596 (print var_d, print var_i value 14, ptype modmany, complete `modm)
8597 (complete `modmany, complete `modmany`, complete `modmany`var)
8598 (show language, setting breakpoint at module): New tests.
8599 * gdb.fortran/module.f90 (module mod): Remove.
8600 (module mod1, module mod2, module modmany, subroutine sub1)
8601 (subroutine sub2, program module): New.
8602
b8e8282f
JK
86032010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8604
8605 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
8606 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
8607 * gdb.cp/anon-union.exp (pass): Rename to ...
8608 (print z 2): ... here.
b8e8282f 8609
019ebafc
MS
86102010-06-02 Michael Snyder <msnyder@vmware.com>
8611
e68d8fd4
MS
8612 * gdb.trace/actions.exp: Use gdb_test_no_output.
8613 * gdb.trace/circ.exp: Ditto.
8614 * gdb.trace/packetlen.exp: Ditto.
8615 * gdb.trace/save-trace.exp: Ditto.
8616 * gdb.trace/tracecmd.exp: Ditto.
8617 * gdb.trace/tsv.exp: Ditto.
8618
12b5d08a
MS
8619 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
8620 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
8621 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
8622 * gdb.threads/manythreads.exp: Ditto.
8623 * gdb.threads/print-threads.exp: Ditto.
8624 * gdb.threads/pthreads.exp: Ditto.
8625 * gdb.threads/schedlock.exp: Ditto.
8626 * gdb.threads/staticthreads.exp: Ditto.
8627 * gdb.threads/thread-specific.exp: Ditto.
8628 * gdb.threads/thread-unwindonsignal.exp: Ditto.
8629 * gdb.threads/threadapply.exp: Ditto.
8630 * gdb.threads/watchthreads.exp: Ditto.
8631 * gdb.threads/watchthreads2.exp: Ditto.
8632
89493308
MS
8633 * gdb.python/py-block.exp: Use gdb_test_no_output.
8634 * gdb.python/py-prettyprint.exp: Ditto.
8635 * gdb.python/py-template.exp: Ditto.
8636 * gdb.python/py-value.exp: Ditto.
8637
8638 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
8639 * gdb.reverse/watch-reverse.exp: Ditto.
8640
8641 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
8642 * gdb.server/ext-run.exp: Ditto.
8643
019ebafc
MS
8644 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
8645 * gdb.dwarf2/dw2-compressed.exp: Ditto.
8646 * gdb.dwarf2/dw2-intercu.exp: Ditto.
8647 * gdb.dwarf2/dw2-intermix.exp: Ditto.
8648 * gdb.dwarf2/dw2-producer.exp: Ditto.
8649 * gdb.dwarf2/mac-fileno.exp: Ditto.
8650
8651 * gdb.gdb/observer.exp: Use gdb_test_no_output.
8652 * gdb.gdb/selftest.exp: Ditto.
8653
8654 * gdb.multi/base.exp: Use gdb_test_no_output.
8655
8656 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
8657
3e0ca3a5
JK
86582010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8659
8660 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
8661
9db70545
MS
86622010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
8663
a8d52276
MS
8664 * gdb.cp/class2.exp: Use gdb_test_no_output.
8665 * gdb.cp/classes.exp: Ditto.
8666 * gdb.cp/extern-c.exp: Ditto.
8667 * gdb.cp/inherit.exp: Ditto.
8668 * gdb.cp/maint.exp: Ditto.
8669 * gdb.cp/mb-inline.exp: Ditto.
8670 * gdb.cp/mb-templates.exp: Ditto.
8671 * gdb.cp/method2.exp: Ditto.
8672 * gdb.cp/misc.exp: Ditto.
8673 * gdb.cp/ovldbreak.exp: Ditto.
8674 * gdb.cp/punctuator.exp: Ditto.
8675 * gdb.cp/templates.exp: Ditto.
8676 * gdb.cp/virtbase.exp: Ditto.
8677
889bf7c5 8678 * gdb.threads/attach-stopped.exp:
9db70545 8679 Replace uses of send_gdb / gdb_expect.
889bf7c5 8680 * gdb.threads/attachstop-mt.exp:
9db70545 8681 Replace uses of send_gdb / gdb_expect.
889bf7c5 8682 * gdb.threads/gcore-thread.exp:
9db70545 8683 Replace uses of send_gdb / gdb_expect.
889bf7c5 8684 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
8685 Replace uses of send_gdb / gdb_expect.
8686 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8687 * gdb.threads/print-threads.exp:
9db70545
MS
8688 Replace uses of send_gdb / gdb_expect.
8689 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
8690 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
8691 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
8692
8693 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
8694 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
8695 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
8696 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
8697 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
8698 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
8699 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
8700 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
8701 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
8702 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
8703 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
8704
359cc68c
JK
87052010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8706
8707 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
8708
7d3fe98e
SW
87092010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
8710
8711 * gdb.cp/koenig.exp: Added new test case.
8712 * gdb.cp/koenig.cc: Ditto.
8713
27d3a1a2
MS
87142010-06-01 Michael Snyder <msnyder@vmware.com>
8715
8716 * gdb.base/arithmet.exp: Use gdb_test_no_output.
8717 * gdb.base/arrayidx.exp: Ditto.
8718 * gdb.base/attach.exp: Ditto.
8719 * gdb.base/auxv.exp: Ditto.
8720 * gdb.base/bigcre.exp: Ditto.
8721 * gdb.base/break-always.exp: Ditto.
8722 * gdb.base/break-interp.exp: Ditto.
8723 * gdb.base/break.exp: Ditto.
8724 * gdb.base/breakpoint-shadow.exp: Ditto.
8725 * gdb.base/call-ar-st.exp: Ditto.
8726 * gdb.base/call-sc.exp: Ditto.
8727 * gdb.base/call-signal-resume.exp: Ditto.
8728 * gdb.base/callfuncs.exp: Ditto.
8729 * gdb.base/catch-syscall.exp: Ditto.
8730 * gdb.base/charset.exp: Ditto.
8731 * gdb.base/code-expr.exp: Ditto.
8732 * gdb.base/commands.exp: Ditto.
8733 * gdb.base/cond-expr.exp: Ditto.
8734 * gdb.base/condbreak.exp: Ditto.
8735 * gdb.base/cursal.exp: Ditto.
8736 * gdb.base/cvexpr.exp: Ditto.
8737 * gdb.base/default.exp: Ditto.
8738 * gdb.base/del.exp: Ditto.
8739 * gdb.base/detach.exp: Ditto.
8740 * gdb.base/display.exp: Ditto.
8741 * gdb.base/ena-dis-br.exp: Ditto.
8742 * gdb.base/eval-skip.exp: Ditto.
8743 * gdb.base/foll-fork.exp: Ditto.
8744 * gdb.base/foll-vfork.exp: Ditto.
8745 * gdb.base/frame-args.exp: Ditto.
8746 * gdb.base/funcargs.exp: Ditto.
8747 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8748 * gdb.base/gdbvars.exp: Ditto.
8749 * gdb.base/help.exp: Ditto.
8750 * gdb.base/ifelse.exp: Ditto.
8751 * gdb.base/included.exp: Ditto.
8752 * gdb.base/list.exp: Ditto.
8753 * gdb.base/macscp.exp: Ditto.
8754 * gdb.base/maint.exp: Ditto.
8755 * gdb.base/multi-fork.exp: Ditto.
8756 * gdb.base/overlays.exp: Ditto.
8757 * gdb.base/page.exp: Ditto.
8758 * gdb.base/pending.exp: Ditto.
8759 * gdb.base/pointers.exp: Ditto.
8760 * gdb.base/pr11022.exp: Ditto.
8761 * gdb.base/prelink.exp: Ditto.
8762 * gdb.base/printcmds.exp: Ditto.
8763 * gdb.base/psymtab.exp: Ditto.
8764 * gdb.base/randomize.exp: Ditto.
8765 * gdb.base/relational.exp: Ditto.
8766 * gdb.base/relocate.exp: Ditto.
8767 * gdb.base/remote.exp: Ditto.
8768 * gdb.base/sepdebug.exp: Ditto.
8769 * gdb.base/set-lang-auto.exp: Ditto.
8770 * gdb.base/setshow.exp: Ditto.
8771 * gdb.base/setvar.exp: Ditto.
8772 * gdb.base/signals.exp: Ditto.
8773 * gdb.base/signull.exp: Ditto.
8774 * gdb.base/sigstep.exp: Ditto.
8775 * gdb.base/sizeof.exp: Ditto.
8776 * gdb.base/solib-disc.exp: Ditto.
8777 * gdb.base/store.exp: Ditto.
8778 * gdb.base/structs.exp: Ditto.
8779 * gdb.base/structs2.exp: Ditto.
8780 * gdb.base/subst.exp: Ditto.
8781 * gdb.base/term.exp: Ditto.
8782 * gdb.base/trace-commands.exp: Ditto.
8783 * gdb.base/unwindonsignal.exp: Ditto.
8784 * gdb.base/valgrind-db-attach.exp: Ditto.
8785 * gdb.base/varargs.exp: Ditto.
8786 * gdb.base/watch-cond.exp: Ditto.
8787 * gdb.base/watch_thread_num.exp: Ditto.
8788 * gdb.base/watchpoint-cond-gone.exp: Ditto.
8789 * gdb.base/watchpoint.exp: Ditto.
8790 * gdb.base/whatis-exp.exp: Ditto.
8791
f8d3bf8f
MS
87922010-06-01 Michael Snyder <msnyder@vmware.com>
8793
8794 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
8795 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
8796 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
8797 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
8798 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
8799 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
8800 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
8801 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
8802 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
8803 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
8804 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
8805 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
8806 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
8807 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
8808 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
8809
3f9e0d32
JK
88102010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8811
8812 * gdb.base/commands.exp (begin commands on watch): Remove excessive
8813 trailing newline.
8814 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
8815 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8816 (p *args): ... here and remove excessive trailing newline.
8817
f629457d
JB
88182010-05-31 Joel Brobecker <brobecker@adacore.com>
8819
8820 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8821
09eef106
JK
88222010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8823
8824 Accept the new Linux kernel "t (tracing stop)" string.
8825 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8826 Update comment.
8827 (state_wait) <T (tracing stop)>: New.
8828 (main): Update the state_wait expect string.
8829
94f31136
PA
88302010-05-28 Pedro Alves <pedro@codesourcery.com>
8831
8832 * limits.c, limits.exp: Delete files.
8833 * Makefile.in (clean mostlyclean): Adjust.
8834 * tracecmd.exp: Adjust.
8835
096554ab
JK
88362010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8837
8838 * gdb.base/tui-layout.exp: New.
8839
27d3a1a2 88402010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 8841
889bf7c5 8842 * gdb.reverse/break-precsave.exp:
bcd2dc50 8843 Replace uses of send_gdb / gdb_expect.
889bf7c5 8844 * gdb.reverse/break-reverse.exp:
bcd2dc50 8845 Replace uses of send_gdb / gdb_expect.
889bf7c5 8846 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 8847 Replace uses of send_gdb / gdb_expect.
889bf7c5 8848 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 8849 Replace uses of send_gdb / gdb_expect.
889bf7c5 8850 * gdb.reverse/finish-precsave.exp:
bcd2dc50 8851 Replace uses of send_gdb / gdb_expect.
889bf7c5 8852 * gdb.reverse/finish-reverse.exp:
bcd2dc50 8853 Replace uses of send_gdb / gdb_expect.
889bf7c5 8854 * gdb.reverse/i386-precsave.exp:
bcd2dc50 8855 Replace uses of send_gdb / gdb_expect.
889bf7c5 8856 * gdb.reverse/i386-reverse.exp:
bcd2dc50 8857 Replace uses of send_gdb / gdb_expect.
889bf7c5 8858 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 8859 Replace uses of send_gdb / gdb_expect.
889bf7c5 8860 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 8861 Replace uses of send_gdb / gdb_expect.
889bf7c5 8862 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 8863 Replace uses of send_gdb / gdb_expect.
889bf7c5 8864 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 8865 Replace uses of send_gdb / gdb_expect.
889bf7c5 8866 * gdb.reverse/machinestate.exp:
bcd2dc50 8867 Replace uses of send_gdb / gdb_expect.
889bf7c5 8868 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 8869 Replace uses of send_gdb / gdb_expect.
889bf7c5 8870 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 8871 Replace uses of send_gdb / gdb_expect.
889bf7c5 8872 * gdb.reverse/solib-precsave.exp:
bcd2dc50 8873 Replace uses of send_gdb / gdb_expect.
889bf7c5 8874 * gdb.reverse/solib-reverse.exp:
bcd2dc50 8875 Replace uses of send_gdb / gdb_expect.
889bf7c5 8876 * gdb.reverse/step-precsave.exp:
bcd2dc50 8877 Replace uses of send_gdb / gdb_expect.
889bf7c5 8878 * gdb.reverse/step-reverse.exp:
bcd2dc50 8879 Replace uses of send_gdb / gdb_expect.
889bf7c5 8880 * gdb.reverse/until-precsave.exp:
bcd2dc50 8881 Replace uses of send_gdb / gdb_expect.
889bf7c5 8882 * gdb.reverse/until-reverse.exp:
bcd2dc50 8883 Replace uses of send_gdb / gdb_expect.
889bf7c5 8884 * gdb.reverse/watch-precsave.exp:
bcd2dc50 8885 Replace uses of send_gdb / gdb_expect.
889bf7c5 8886 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
8887 Replace uses of send_gdb / gdb_expect.
8888
3def43e0
JK
88892010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8890
8891 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8892 excessive newline.
8893
27d3a1a2 88942010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
8895
8896 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
8897 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8898 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8899 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8900 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8901 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8902 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8903 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8904 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8905 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8906 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8907 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8908 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8909 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8910 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8911 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8912 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8913 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8914 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 8915
27d3a1a2 89162010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 8917
22454424
MS
8918 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8919 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8920
8921 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8922 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8923 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8924
889bf7c5 8925 * gdb.reverse/consecutive-reverse.exp:
22454424 8926 Replace uses of send_gdb / gdb_expect.
889bf7c5 8927 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
8928 Replace uses of send_gdb / gdb_expect.
8929
8930 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8931 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8932 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 8933 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
8934 Replace uses of send_gdb / gdb_expect.
8935 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8936 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8937 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8938 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8939 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8940 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8941 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8942 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8943 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
8944
89452010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 8946
22454424 8947 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8948
22454424 8949 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8950
22454424
MS
8951 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8952 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8953 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8954 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8955 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8956 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8957 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8958 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8959 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 8960
6e5f2c59
TT
89612010-05-25 Tom Tromey <tromey@redhat.com>
8962
8963 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8964
bbc8b958
TT
89652010-05-25 Tom Tromey <tromey@redhat.com>
8966
8967 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8968 argument order.
8969 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8970 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8971 order.
8972 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8973 order.
8974 * gdb.base/call-sc.exp (setup_kfails): Remove.
8975 (setup_compiler_kfails): Remove.
8976 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8977 argument order.
8978 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8979 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8980 (advancei): Fix setup_kfail argument order.
8981 * gdb.base/radix.exp: Fix setup_kfail argument order.
8982 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8983 order.
8984 * gdb.base/structs.exp (setup_kfails): Remove.
8985 (setup_compiler_kfails): Fix setup_kfail argument order.
8986 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8987 order.
8988 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8989 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8990 setup_kfail argument order.
8991 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8992
83d1babf
TT
89932010-05-25 Tom Tromey <tromey@redhat.com>
8994
8995 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8996
6acb16a2
MS
89972010-05-25 Michael Snyder <msnyder@vmware.com>
8998
8999 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
9000 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
9001 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
9002 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
9003 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
9004 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
9005 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
9006 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
9007 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
9008 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
9009 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
9010 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
9011 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
9012 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
9013 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
9014 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
9015 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
9016 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
9017 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
9018 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
9019 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
9020 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
9021 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
9022 * gdb.base/default.exp: Replace send_gdb with gdb_test.
9023 * gdb.base/define.exp: Replace send_gdb with gdb_test.
9024 * gdb.base/display.exp: Replace send_gdb with gdb_test.
9025 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
9026 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
9027 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
9028 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
9029 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
9030 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
9031 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
9032 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
9033 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
9034 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
9035 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
9036 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
9037 * gdb.base/help.exp: Replace send_gdb with gdb_test.
9038 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
9039 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
9040 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9041 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
9042 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
9043 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
9044 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
9045 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 9046 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
9047
90482010-05-25 Doug Evans <dje@google.com>
9049
9050 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
9051 gdb.string_to_argv.
ad3986f0 9052
d3b1e874
TT
90532010-05-21 Tom Tromey <tromey@redhat.com>
9054
9055 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
9056 Call it.
9057 * gdb.dwarf2/pieces.S: Update.
9058 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
9059
cb826367
TT
90602010-05-21 Tom Tromey <tromey@redhat.com>
9061
9062 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
9063 Call it.
9064 * gdb.dwarf2/pieces.c (struct C): New.
9065 (f6): New function.
9066 * gdb.dwarf2/pieces.S: Replace.
9067
74de6778
TT
90682010-05-21 Tom Tromey <tromey@redhat.com>
9069
9070 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
9071 Call it.
9072
afd74c5f
TT
90732010-05-21 Tom Tromey <tromey@redhat.com>
9074
9075 * gdb.dwarf2.pieces.exp: New file.
9076 * gdb.dwarf2.pieces.S: New file.
9077 * gdb.dwarf2.pieces.c: New file.
9078
a7b75dfd 90792010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 9080 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
9081
9082 * lib/gdb.exp (gdb_test_no_output): New function.
9083 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
9084 when testing commands that should produce no output.
9085
c81c812a
JB
90862010-05-17 Joel Brobecker <brobecker@adacore.com>
9087
9088 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
9089 parameter that we want to watch being a constant.
9090
0cce5bd9
JB
90912010-05-17 Joel Brobecker <brobecker@adacore.com>
9092
9093 * gdb.ada/cond_lang: New testcase.
9094
47050449
JB
90952010-05-17 Joel Brobecker <brobecker@adacore.com>
9096
9097 * lib/gdb.exp (banned_variables): New variable/constant.
9098 (gdb_init): Add write trace on variables listed in banned_variables.
9099 (gdb_finish): Remove write traces on variables listed in
9100 banned_variables.
9101
77c01586
JB
91022010-05-17 Joel Brobecker <brobecker@adacore.com>
9103
9104 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
9105 * gdb.cp/koenig.exp: Likewise.
9106
88d4aea7
PM
91072010-05-14 Phil Muldoon <pmuldoon@redhat.com>
9108
889bf7c5 9109 PR python/11482
88d4aea7
PM
9110
9111 * gdb.python/py-value.exp (test_value_hash): New function.
9112
f5a010c0
PM
91132010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
9114
9115 PR exp/11530.
9116 * gdb.base/gdb11530.c: New file.
9117 * gdb.base/gdb11530.exp: New file.
9118
8ef4892f
JK
91192010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9120
9121 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
9122 * gdb.dwarf2/dw2-modula2-self-type.S: New.
9123
7322dca9
SW
91242010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
9125
9126 * gdb.cp/koenig.exp: New test.
9127 * gdb.cp/koenig.cc: New test program.
9128
02e7ea18
JB
91292010-05-05 Joel Brobecker <brobecker@adacore.com>
9130
9131 Remove the use of prms_id and bug_id throughout the testsuite.
9132
e1c34c5d
PM
91332010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
9134
9135 PR exp/11349.
9136 * testsuite/gdb.cp/ref-types.exp: Add test to examine
9137 use a reference local variable.
9138
8e1d0c49
JK
91392010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9140
9141 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
9142 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
9143 variable different_dir. Move debugfile into a full directory pathname
9144 under DIFFERENT_DIR.
9145 * lib/gdb.exp (separate_debug_filename): Remove.
9146 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
9147 variable debug_dir and mkdir of it. Update function comments.
9148
e66408ed
PA
91492010-04-29 Pedro Alves <pedro@codesourcery.com>
9150
9151 PR gdb/11557
9152
9153 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
9154 files.
9155
d7b32ed3
PM
91562010-04-29 Phil Muldoon <pmuldoon@redhat.com>
9157
889bf7c5 9158 * gdb.python/py-param.exp: New File.
d7b32ed3 9159
6aecb9c2
JB
91602010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
9161
9162 * gdb.base/default.exp: Fix "set language" test.
9163
bdf92a1c
PM
91642010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
9165
9166 PR breakpoints/11531.
9167 * gdb.base/gdb11531.c: New file.
9168 * gdb.base/gdb11531.exp: New file.
9169
3f172e24
TT
91702010-04-26 Tom Tromey <tromey@redhat.com>
9171
9172 * gdb.base/completion.exp: Add tests for completion and deprecated
9173 commands.
9174
64af4c92
JK
91752010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9176
9177 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
9178 (print /x char_array): Escape curly brackets.
9179
492928e4
JK
91802010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9181
9182 Fix deadlock on looped list of loaded shared objects.
9183 * gdb.base/solib-corrupted.exp: New.
9184
66d09542
DE
91852010-04-23 Doug Evans <dje@google.com>
9186
9187 * gdb.python/py-section-script.c: New file.
9188 * gdb.python/py-section-script.exp: New file.
9189 * gdb.python/py-section-script.py: New file.
9190
8bd10a10
CM
91912010-04-20 Chris Moller <cmoller@redhat.com>
9192
9193 PR 10179
9194
9195 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
9196 * gdb.base/pr10179-a.c:
9197 * gdb.base/pr10179-b.c:
9198 * gdb.base/pr10179.exp: New files.
9199
c0201579
JK
92002010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 Fix crashes on dangling display expressions.
9203 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
9204 is SEP.
9205 (lib_flags): Remove the "debug" keyword.
9206 (libsepdebug): New variable for iterating new loop.
9207 (save_pf_prefix): New variable wrapping the loop.
9208 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
9209 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
9210
793b0ff8
PM
92112010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9212
9213 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
9214
097f51f7
PM
92152010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9216
9217 PR stabs/11479.
9218 * gdb.stabs/gdb11479.exp: New file.
9219 * gdb.stabs/gdb11479.c: New file.
9220
9a22f0d0
PM
92212010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9222
9223 * gdb.base/charset.c (Strin16, String32): New variables.
9224 * gdb.base/charset.exp (gdb_test): Test correct display
9225 of 16 or 32 bit strings.
9226
92272010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
9228
9229 PR 9167
9230 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
9231 * gdb.cp/pr9167.cc: New file.
9232 * gdb.cp/pr9167.exp: New file.
9233
9234
6e354e5e
PM
92352010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
9236
9237 PR pascal/11492.
9238 * gdb.pascal/gdb11492.pas: New file.
9239 * gdb.pascal/gdb11492.exp: New file.
9240
be942545
JB
92412010-04-20 Joel Brobecker <brobecker@adacore.com>
9242
1667e6e3 9243 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 9244
0c3acc09
JB
92452010-04-20 Joel Brobecker <brobecker@adacore.com>
9246
9247 * gdb.ada/dyn_loc: New testcase.
9248
ec31cde5
CM
92492010-04-20 Chris Moller <cmoller@redhat.com>
9250
9251 PR 10867
889bf7c5 9252
ec31cde5
CM
9253 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
9254 * gdb.cp/pr10687.cc: New file.
9255 * gdb.cp/pr10687.exp: New file.
9256
9257
ce4b0682
SDJ
92582010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9259 Sergio Durigan Junior <sergiodj@redhat.com>
9260
9261 * gdb.fortran/logical.exp: New testcase.
9262 * gdb.fortran/logical.f90: New file.
9263
3436961f
DE
92642010-04-19 Doug Evans <dje@google.com>
9265
9266 * gdb.base/help.exp (help source): Update expected output.
9267
4d836c09
JK
92682010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9269
9270 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
9271 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
9272 gdb_exit and return.
9273 (executable): New variable.
9274 (binfile): Use it.
9275
6149aea9
PA
92762010-04-19 Pedro Alves <pedro@codesourcery.com>
9277
9278 PR breakpoints/8554.
9279
9280 * gdb.trace/save-trace.exp: Adjust.
9281
ed41462c
L
92822010-04-17 H.J. Lu <hongjiu.lu@intel.com>
9283
9284 PR corefiles/11511
9285 * gdb.arch/system-gcore.exp: New.
9286 * gdb.arch/gcore.c: Likewise.
9287
3f7b2faa
DE
92882010-04-15 Doug Evans <dje@google.com>
9289
fa33c3cd
DE
9290 * gdb.python/py-progspace.c: New file.
9291 * gdb.python/py-progspace.exp: New file.
9292
3f7b2faa
DE
9293 * gdb.base/source.exp: Add tests for "source -s".
9294
79f283fe
PM
92952010-04-14 Phil Muldoon <pmuldoon@redhat.com>
9296
9297 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
9298 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
9299 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
9300 * gdb.python/py-mi.exp: New test for to_string returning None.
9301
fc8eb08a
PM
93022010-04-12 Phil Muldoon <pmuldoon@redhat.com>
9303
9304 * gdb.python/py-breakpoint.c: Make result global.
9305
26e197f6
JK
93062010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9307
9308 Fix non-GNU make compatibility.
9309 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
9310
adc36818
PM
93112010-04-09 Phil Muldoon <pmuldoon@redhat.com>
9312
9313 * gdb.python/py-breakpoint.exp: New File.
9314 * gdb.python/py-breakpoint.C: Ditto.
9315
64e17368
SS
93162010-04-08 Stan Shebs <stan@codesourcery.com>
9317
9318 * gdb.trace/actions.exp: Clear default-collect.
9319 * gdb.trace/save-trace.exp: Clear default-collect.
9320
fff5cc64
PM
93212010-04-08 Phil Muldoon <pmuldoon@redhat.com>
9322
9323 * gdb.python/py-value: Add null string variable.
9324 (test_lazy_string): Test zero length, NULL address lazy
9325 strings.
9326
a055a187
L
93272010-04-07 H.J. Lu <hongjiu.lu@intel.com>
9328
9329 * gdb.arch/i386-avx.c: New.
9330 * gdb.arch/i386-avx.exp: Likewise.
9331
9332 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
9333
96e39866
DE
93342010-04-06 Doug Evans <dje@google.com>
9335
9336 * gdb.base/source-test.gdb: New file.
9337 * gdb.base/source.exp: Test source -v.
9338
5984a431
UW
93392010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9340
9341 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
9342
ec8a089a
PM
93432010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
9344
9345 * gdb.stabs/aout.sed: Convert all backslash to double backslash
9346 within one line, unless it is followed by a double quote.
9347 * gdb.stabs/hppa.sed: Idem.
9348 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
9349 * gdb.stabs/weird.exp: Check for correct parsing of
9350 char and string constants.
ec8a089a
PM
9351 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
9352 in .stabs to .stabx substitution.
9353
fce3c1f0
SS
93542010-04-05 Stan Shebs <stan@codesourcery.com>
9355
9356 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
9357 constant global.
9358 * gdb.trace/tfile.exp: Try to print them.
9359
d77f58be
SS
93602010-04-04 Stan Shebs <stan@codesourcery.com>
9361
9362 * gdb.base/completion.exp: Update for new "info watchpoints".
9363 * gdb.base/default.exp: Ditto.
9364 * gdb.base/help.exp: Ditto.
9365 * gdb.base/watchpoint.exp: Ditto.
9366 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 9367
af54718e
SS
93682010-04-04 Stan Shebs <stan@codesourcery.com>
9369
9370 * gdb.trace/tfile.exp: Sharpen tfind test.
9371
74d1f91e
JK
93722010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9373
9374 * gdb.base/break-entry.exp: New.
9375
eb8e76db 93762010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 9377 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
9378
9379 * gdb.reverse/i386-sse-reverse.exp: New file.
9380 * gdb.reverse/i386-sse-reverse.c: New file.
9381
bf65cad8
PA
93822010-04-02 Pedro Alves <pedro@codesourcery.com>
9383
9384 * gdb.trace/tfind.exp: Adjust expected disassembly output.
9385
fff87407
SS
93862010-04-01 Stan Shebs <stan@codesourcery.com>
9387
9388 * gdb.trace/actions.exp: Tweak expected output.
9389 * gdb.trace/while-stepping.exp: Tweak expected output.
9390
fe01d668
L
93912010-04-01 H.J. Lu <hongjiu.lu@intel.com>
9392
9393 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
9394
86b17b60
PA
93952010-04-01 Pedro Alves <pedro@codesourcery.com>
9396
9397 * gdb.base/commands.exp: Adjust.
9398 * gdb.cp/extern-c.exp: Adjust.
9399
2c58c0a9
PA
94002010-04-01 Pedro Alves <pedro@codesourcery.com>
9401
9402 * gdb.trace/collection.c (local_test_func): Define a local struct,
9403 and instanciate it.
9404
0db9b91c
PA
94052010-04-01 Pedro Alves <pedro@codesourcery.com>
9406
9407 * gdb.trace/collection.exp (gdb_collect_args_test)
9408 (gdb_collect_argarray_test): XFAIL the tests that assume the
9409 argarray argument's elements are collected.
9410
8072405b
JK
94112010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9412
9413 * gdb.dwarf2/dw2-bad-parameter-type.exp,
9414 gdb.dwarf2/dw2-bad-parameter-type.S: New.
9415
8bf6485c
SS
94162010-03-31 Stan Shebs <stan@codesourcery.com>
9417
9418 * gdb.trace/save-trace.exp: Test save/restore of default-collect
9419 and tracepoint conditionals.
9420 (gdb_verify_tracepoints): Delete unused return.
9421
fd7f724a
KS
94222010-03-26 Keith Seitz <keiths@redhat.com>
9423
9424 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
9425 appear in the output before main.
9426 Remove KFAIL for gdb/2215 aka bz 9320.
9427
8d9e7719
DE
94282010-03-30 Doug Evans <dje@google.com>
9429
0906dd0b
DE
9430 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
9431 by dejagnu.
9432 * gdb.arch/amd64-dword.exp: Ditto.
9433
8d9e7719
DE
9434 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
9435 match.
9436 (break printf): Ditto.
9437
1da644f0
SW
94382010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
9439
9440 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
9441 gcc < 4.4.
9442 * gdb.cp/shadow.exp: Ditto.
9443
a8121990
PA
94442010-03-29 Pedro Alves <pedro@codesourcery.com>
9445
9446 * gdb.trace/collection.exp (run_trace_experiment): Make sure
9447 "tstart" is silent.
9448
6e79d367
PA
94492010-03-29 Pedro Alves <pedro@codesourcery.com>
9450
9451 * gdb.trace/collection.exp (executable): New.
9452 (binfile): Use it.
9453 (fpreg, spreg, pcreg): New.
9454 (test_register): Use gdb_test_multiple. Pass /x to print.
9455 (prepare_for_trace_test): New.
9456 (run_trace_experiment): Use "continue", not gdb_run_cmd.
9457 (gdb_collect_args_test, gdb_collect_argstruct_test)
9458 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
9459 prepare_for_trace_test.
9460 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
9461 fpreg, spreg and pcreg.
9462 (gdb_collect_expression_test, gdb_collect_globals_test): Use
9463 prepare_for_trace_test.
9464 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
9465 try to detect tracing support here. Don't set breakpoints at
9466 `begin' or `end' here.
9467 <global scope>: Use clean_restart. Run to main before checking
9468 for tracing support. Check for for tracing support here.
9469
09248348
JK
94702010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9471
9472 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
9473 " as $displacement" to "seen displacement message".
9474
d350db38
PA
94752010-03-28 Pedro Alves <pedro@codesourcery.com>
9476
9477 * gdb.trace/while-dyn.exp (executable): New variable.
9478 (binfile): Use it.
9479 (test_while_stepping): New function. Move most tests here. Call
9480 it once for each of the while-stepping, stepping and ws aliases.
9481
907af001
UW
94822010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9483
9484 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
9485 that do not provide the tagless_struct type name at all.
9486 (test_print_anon_union): Do not check value of uninitialized
9487 union member. Do not use cp_test_ptype_class, so we can accept
9488 "long" as well as "long int".
9489
610197fd
PA
94902010-03-26 Pedro Alves <pedro@codesourcery.com>
9491
9492 * gdb.trace/tfile.c (tohex, bin2hex): New.
9493 (write_error_trace_file): Hexify error description.
9494
6c28cbf2
SS
94952010-03-25 Stan Shebs <stan@codesourcery.com>
9496
9497 * gdb.trace/tfile.c: Generate an additional trace file, improve
9498 portability.
9499 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
9500 files in a better way.
9501
e62b8c7e
KS
95022010-03-25 Keith Seitz <keiths@redhat.com>
9503
9504 * gdb.java/jprint.exp: XFAIL printing of static class members
9505 because of GCC debuginfo problem.
9506
82ccf5a5
JK
95072010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9508
9509 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
9510
293e2f9e
DJ
95112010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9512
9513 * gdb.base/completion.exp: Allow long instead of long int.
9514 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
9515 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
9516 variable p.
9517 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
9518 * gdb.base/pointers.exp: Allow long instead of long int.
9519 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
9520 * gdb.base/step-line.exp: Allow a directory before the source file name.
9521
95a42b64
TT
95222010-03-24 Tom Tromey <tromey@redhat.com>
9523
9524 PR breakpoints/9352:
9525 * gdb.base/default.exp: Update.
9526 * gdb.base/commands.exp: Update.
9527 * gdb.cp/extern-c.exp: Test setting commands on multiple
9528 breakpoints at once.
9529
2390201f
DJ
95302010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9531
9532 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
9533 if gdb,nosignals.
9534 * gdb.base/watchpoints.c: Do not include unnecessary headers.
9535 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
9536 exited".
9537
8c9a6790
SS
95382010-03-24 Stan Shebs <stan@codesourcery.com>
9539
9540 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
9541
a6c727b2
DJ
95422010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9543
9544 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
9545 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
9546 argument. Handle "short" and "long".
9547 (Top level): Pass overprototyped output for old_fptr and xptr.
9548
4dfd5423
PA
95492010-03-23 Pedro Alves <pedro@codesourcery.com>
9550
9551 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
9552 format strings and add casts to avoid compiler warnings.
9553
95542010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
9555
9556 * lib/trace-support.exp (gdb_trace_setactions):
9557 Don't expect whitespace after ">" prompt.
9558 * gdb.trace/actions.exp: Adjust for output changes.
9559 * gdb.trace/while-stepping.exp: Likewise.
9560
c847d045
JK
95612010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9562
9563 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
9564 and r157645).
9565
5f717f1d
JK
95662010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9567
9568 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
9569 New.
9570
7d6d51d5
DJ
95712010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
9572
9573 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
9574 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
9575
3b11a015
SS
95762010-03-19 Stan Shebs <stan@codesourcery.com>
9577
9578 * gdb.trace/ax.exp: New file.
9579
d7d158ed
DE
95802010-03-19 Doug Evans <dje@google.com>
9581
6bb85cd1
DE
9582 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
9583 output from gcc.
9584
d7d158ed
DE
9585 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
9586 named /usr/sbin/prelink<foo>.
9587
4daf5ac0
SS
95882010-03-18 Stan Shebs <stan@codesourcery.com>
9589
9590 * gdb.trace/circ.exp: Test circular-trace-buffer.
9591 * gdb.trace/tfile.exp: Update tstatus test.
9592
e8d05480
JB
95932010-03-18 Joel Brobecker <brobecker@adacore.com>
9594
9595 * gdb.dwarf2/dw2-anonymous-func.S: New file.
9596 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
9597
441b986a
UW
95982010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9599
9600 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
9601
4247603b
PA
96022010-03-18 Pedro Alves <pedro@codesourcery.com>
9603
9604 * gdb.base/default.exp: Adjust the expected output of the finish
9605 and until commands when the inferior is not being run.
9606
13387711
SW
96072010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
9608
9609 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
9610 * gdb.cp/nsusing.exp: Ditto.
9611
6e31430b
TT
96122010-03-15 Tom Tromey <tromey@redhat.com>
9613
9614 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
9615 * gdb.cp/userdef.cc (operator==): New function.
9616 (main): New locals mem1, mem2.
9617
e2d69cb5
JZ
96182010-03-15 Jie Zhang <jie@codesourcery.com>
9619
9620 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
9621 Declare and use new loadtimeout variable.
9622
f572f0a9
DJ
96232010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
9624
9625 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
9626 Use gdb_load later.
9627
51f4c0b0
PA
96282010-03-14 Pedro Alves <pedro@codesourcery.com>
9629
9630 * gdb.base/solib-disc.c (main): Make format of fprintf a string
9631 literal. Add missing endlines to prints to stderr.
9632
1c809c68
TT
96332010-03-12 Tom Tromey <tromey@redhat.com>
9634
9635 PR c++/9708:
9636 * gdb.cp/m-static.exp: Add regression test.
9637 * gdb.cp/m-static.cc (method): New method.
9638 (main): Call it.
9639
00ae8fef
SW
96402010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
9641
9642 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
9643 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
9644
759f0f0b
PA
96452010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9646
21e24d21
PA
9647 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
9648
96492010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9650
759f0f0b
PA
9651 * lib/gdb.exp (skip_stl_tests): New.
9652 (gdb_compile): Symbian needs -ldl.
9653 (shlib_target_file): New.
9654 (shlib_symbol_file): New.
9655 (gdb_load_shlibs): Use shlib_target_file.
9656 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
9657 * gdb.cp/exception.exp: Use skip_stl_tests.
9658 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
9659 * gdb.cp/try_catch.exp: Use skip_stl_tests.
9660 * gdb.cp/mb-templates.exp: Ditto.
9661 * gdb.base/commands.exp: Relax regexes.
9662 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
9663 shlib_target_file and shlib_symbol_file.
9664 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
9665 sections.
9666 * gdb.base/ending-run.exp: Accept E32Main for symbian.
9667 * gdb.base/solib-disc.exp: Use
9668 shlib_target_file and shlib_symbol_file.
9669 * gdb.base/unload.exp: Don't skip on symbian. Use
9670 shlib_target_file and shlib_symbol_file.
9671 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
9672
6a8f2671 96732010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 9674
6a8f2671
PA
9675 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
9676 * gdb.trace/report.exp: Adjust for x86 and x86_64.
9677 Issue a tfind end before looking for a tracepoint frame.
9678 * gdb.trace/tfind.exp: Adjust tstatus output.
9679 Adjust disassembly output.
9680 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
9681
ccf26247
JK
96822010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9683
9684 * gdb.base/break-interp.exp: Create new displacement parameter value
9685 for the test_ld calls.
9686 (reach): New parameter displacement, verify its content. New push of
9687 pf_prefix "reach-$func:". Import global expect_out.
9688 (test_core): New parameter displacement, verify its content. New push
9689 of pf_prefix "core:". New command "set verbose on". Import global
9690 expect_out.
9691 (test_attach): New parameter displacement, verify its content. New
9692 push of pf_prefix "attach:". New command "set verbose on". Import
9693 global expect_out.
9694 (test_ld): New parameter displacement, pass it to the reach, test_core
9695 and test_attach calls and verify its content in the "ld.so exit" test.
9696 * gdb.base/prelink.exp: Remove gdb_exit and final return.
9697 (prelink): Update expected text, use gdb_test.
9698
e469c7fb
DE
96992010-03-10 Doug Evans <dje@google.com>
9700
9701 * gdb.base/checkpoint.exp: Fix comment.
9702 Lengthen timeout while doing >600 checkpoints test.
9703 Rename duplicate "kill all one" test to keep test names unique.
9704
60e1c644
PA
97052010-03-10 Pedro Alves <pedro@codesourcery.com>
9706
9707 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
9708
cec808ec
KS
97092010-03-08 Keith Seitz <keiths@redhat.com>
9710
889bf7c5
PA
9711 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
9712 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
9713 (dm_type_long): New function.
9714 (dm_type_unsigned_short): New function.
9715 (dm_type_unsigned_long): New function.
9716 (myint): New typedef.
9717 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
9718 long, unsigned shor and long, operator char*, and typedef.
9719 (test_lookup_operator_functions): Add operator char* test.
9720 (test_paddr_operator_functions): Likewise.
9721 (test_paddr_overloaded_functions): Use probe values for
9722 short, long, and unsigned short and long.
9723 (test_paddr_hairy_functions): If the demangler probe detected
9724 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
9725 demangler.
9726 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
9727 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
9728 and "print null_pmf".
9729 Add test "ptype a.*pmf".
9730 * gdb.cp/overload.exp: Allow optional "int" to appear with
9731 "short" and "long".
9732 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
9733 long expect value for men_overload1arg.
9734 Allow "int" to appear with "short" and "long".
9735 When testing "info break", add argument for main (void).
9736 Also allow "int" to appear with "short" and "long".
9737 Ditto with "unsigned" and "long long".
cec808ec
KS
9738 * gdb.java/jmain.exp: Do not enclose methods names in single
9739 quotes.
9740 * gdb.java/jmisc.exp: Likewise.
9741 * gdb.java/jprint.exp: Likewise.
9742 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
9743
9744 From Jan Kratochvil <jan.kratochvil@redhat.com>:
9745 * gdb.cp/exception.exp (backtrace after first throw)
9746 (backtrace after second throw): Allow a namespace before __cxa_throw.
9747 (backtrace after first catch, backtrace after second catch): Allow
9748 a namespace before __cxa_begin_catch.
9749
9750 * gdb.cp/cpexprs.exp: New file.
9751 * gdb.cp/cpexprs.cc: New file.
9752
9753 From Daniel Jacobowitz <dan@codesourcery.com>
9754 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
9755 to use string_to_regexp.
9756 (ctor, dtor): New functions. Use them to match constructor
9757 and destructor function types.
9758 (Top level): Use runto_main.
9759
f870a310
TT
97602010-03-05 Tom Tromey <tromey@redhat.com>
9761
9762 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
9763 gdb.target_charset.
9764 (pp_ns.to_string): Likewise.
9765
0c199f28
KS
97662010-03-04 Keith Seitz <keiths@redhat.com>
9767
9768 * gdb.cp/overload.exp: Test that the filename portion of a linespec
9769 can be quoted. Test that both the filename and function/line
9770 portions can be quoted at the same time.
9771
c7437ca6
PA
97722010-03-04 Pedro Alves <pedro@codesourcery.com>
9773
9774 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
9775
b111b805
DE
97762010-03-03 Doug Evans <dje@google.com>
9777
24486cb7
DE
9778 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
9779 libc contains libpthread.
9780
b111b805
DE
9781 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
9782 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
9783 of gdb_compile. Add another pattern to match android backtrace.
9784
a0e0ef55
TT
97852010-03-03 Tom Tromey <tromey@redhat.com>
9786
9787 PR gdb/11345:
9788 * gdb.base/printcmds.exp (test_printf): Add test.
9789
1ba53b71
L
97902010-03-02 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * gdb.arch/amd64-byte.exp: New.
9793 * gdb.arch/amd64-dword.exp: Likewise.
9794 * gdb.arch/amd64-pseudo.c: Likewise.
9795 * gdb.arch/amd64-word.exp: Likewise.
9796 * gdb.arch/i386-byte.exp: Likewise.
9797 * gdb.arch/i386-pseudo.c: Likewise.
9798 * gdb.arch/i386-word.exp: Likewise.
9799
f5dff777
DJ
98002010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9801
9802 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
9803 types. Add structreg, bitfields, and flags registers.
9804 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
9805 registers.
9806
90884b2b
L
98072010-03-01 H.J. Lu <hongjiu.lu@intel.com>
9808
9809 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
9810 (load_description): Set architecture if defined.
9811
dc00d89f
PM
98122010-02-28 Phil Muldoon <pmuldoon@redhat.com>
9813
9814 * gdb.python/py-frame.exp: Add read_var block tests.
9815 * gdb.python/py-frame.c (block): New function.
9816
0e095b7e
JK
98172010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9818 Daniel Jacobowitz <dan@codesourcery.com>
9819
9820 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9821
624f1a65
DM
98222010-02-25 David S. Miller <davem@davemloft.net>
9823
9824 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9825 fix logic for setting all_syscalls_numbers.
9826
f3e9a817
PM
98272010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9828
9829 * Makefile.in: Add py-block and py-symbol.
9830 * gdb.python/py-symbol.exp: New File.
9831 * gdb.python/py-symtab.exp: New File.
9832 * gdb.python/py-block.exp: New File.
9833 * gdb.python/py-symbol.c: New File.
9834 * gdb.python/py-block.c: New File.
9835
f6bbabf0
PM
98362010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9837
9838 PR python/11314
9839 * lib/gdb.exp (skip_python_tests): New function.
9840 * gdb.python/py-cmd.exp: Use skip_python_tests.
9841 * gdb.python/py-frame.exp: Likewise.
9842 * gdb.python/py-function.exp: Likewise.
9843 * gdb.python/py-prettyprint.exp: Likewise.
9844 * gdb.python/py-template.exp: Likewise.
9845 * gdb.python/py-type.exp: Likewise.
9846 * gdb.python/py-value.exp: Likewise.
9847
85d721b8
PA
98482010-02-22 Pedro Alves <pedro@codesourcery.com>
9849
9850 PR9605
9851
9852 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9853
48e32051
TT
98542010-02-19 Tom Tromey <tromey@redhat.com>
9855
9856 PR c++/8693, PR c++/9496:
9857 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9858 regression tests.
9859
ac9c0048
JK
98602010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9861
9862 Fix compatibility with m68k as.
9863 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9864 Use only /* comments */.
9865
57bb97a4
UW
98662010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9867
9868 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9869 * configure: Regenerate.
9870
7d1bf85c
DJ
98712010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9872
9873 * gdb.python/py-type.exp: Check for Python support.
9874
061b5285
PA
98752010-02-17 Pedro Alves <pedro@codesourcery.com>
9876
9877 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9878 `regsub' syntax available.
9879
f8a8bc2c
PA
98802010-02-17 Pedro Alves <pedro@codesourcery.com>
9881
9882 * gdb.base/shmain.c (main): Remove printf call.
9883 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9884 * gdb.base/unload.c (main): Make format of fprintf a string
9885 literal. Add missing endlines to prints to stderr.
9886 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9887
6f451e5e
TT
98882010-02-17 Tom Tromey <tromey@redhat.com>
9889
9890 * gdb.java/jprint.java (jprint.props): New field.
9891 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9892
12d79008
PA
98932010-02-17 Pedro Alves <pedro@codesourcery.com>
9894
ef801a0e 9895 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
9896 available.
9897
d252f7e5
DJ
98982010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9899
9900 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9901 creation to support remote host testing.
9902
67bdab6c
DJ
99032010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9904
9905 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9906 Recognize "command not found".
9907
bb391223
DJ
99082010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9909
9910 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9911 single-stepping.
9912
70362913
DJ
99132010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9914
9915 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9916 if arguments are not supported.
9917
493f3c00
DJ
99182010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9919
9920 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9921 be const or non-const.
9922
8034c749
DJ
99232010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9924
9925 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9926 mi_send_resuming_command to send -exec-continue.
9927
791dfb64
DJ
99282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9929
9930 * gdb.base/list.exp (test_list_filename_and_function): Add test
9931 with single quotes.
9932 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9933 matching.
9934 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9935 Add KFAIL'd tests for PR gdb/11289.
9936
7c5fe868
DJ
99372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9938
9939 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9940
fdc498b8
DJ
99412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9942
9943 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9944 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9945 a temporary directory.
9946
b519e2a6
DJ
99472010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.base/charset.exp: Use a single regular expression to match
9950 show host-charset and show target-charset output.
9951
74164c56
JK
99522010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9953
9954 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9955 "Illegal process-id" expect string more exact.
9956 (attach to digits-starting nonsense is prohibited): New.
9957
701ed6dc
JK
99582010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9959
9960 * gdb.base/prelink.exp (set verbose on): New.
9961
889bf7c5 99622010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
9963
9964 * mi-reverse.exp: New file. Test for reverse option to the
9965 following MI commands: exec-continue, exec-finish, exec-next,
9966 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 9967
dadf0e9c
JB
99682010-02-09 Joel Brobecker <brobecker@adacore.com>
9969
9970 * gdb.ada/ptype_tagged_param: New testcase.
9971
714f19d5
TT
99722010-02-08 Tom Tromey <tromey@redhat.com>
9973
9974 PR c++/8017:
9975 * gdb.cp/overload.exp: Add tests.
9976 * gdb.cp/overload.cc (struct K): New.
9977 (namespace N): New.
9978 (main): Call new functions.
9979 (K::staticoverload): Define.
9980
889bf7c5 99812010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
9982
9983 PR gdb/10728
9984 * gdb.cp/pr10728-x.h: New file.
9985 * gdb.cp/pr10728-x.cc: New file.
9986 * gdb.cp/pr10728-y.cc: New file.
9987 * gdb.cp/pr10728.exp: New file.
9988 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9989
889bf7c5 99902010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
9991
9992 PR gdb/9067
9993 * gdb.cp/pr9067.exp: New
9994 * gdb.cp/pr9067.cc: New
9995 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9996
7b356089
JB
99972010-02-08 Joel Brobecker <brobecker@adacore.com>
9998
9999 * lib/gdb.exp (gdb_test_timeout): New global variable.
10000 Set it to timeout if not already set.
10001 (gdb_init): Reset the value of timeout to gdb_test_timeout.
10002
1be00882
DE
100032010-02-05 Doug Evans <dje@google.com>
10004
10005 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
10006 user.
10007
82856980
SW
100082010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
10009
10010 PR c++/7935:
10011 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
10012
1a334831
TT
100132010-02-04 Tom Tromey <tromey@redhat.com>
10014
10015 * gdb.cp/virtbase.exp: Make test case names unique.
10016
9c3c02fd
TT
100172010-02-02 Tom Tromey <tromey@redhat.com>
10018
10019 * gdb.cp/virtbase.exp: Add regression tests.
10020 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
10021 (main): Instantiate RHC.
10022
0cc2414c
TT
100232010-02-02 Tom Tromey <tromey@redhat.com>
10024
10025 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
10026 type-printing change.
10027
edf3d5f3
TT
100282010-02-02 Tom Tromey <tromey@redhat.com>
10029
10030 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
10031 * gdb.cp/virtbase.cc: New file.
10032 * gdb.cp/virtbase.exp: New file.
10033 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
10034
e4b7f41c
JK
100352010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10036
10037 PR libc/11214:
10038 * gdb.threads/current-lwp-dead.c: Include features.h.
10039 (HAS_NOMMU): New.
10040 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
10041
b381ea14
JK
100422010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10043
10044 * gdb.base/symbol-without-target_section.exp,
10045 gdb.base/symbol-without-target_section.c: New.
10046
c593ac0e
DJ
100472010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10048
10049 * gdb.base/bigcore.exp: Reset increased timeout.
10050 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
10051
db25f29d
DJ
100522010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10053
10054 * gdb.base/gcore.exp (capture_command_output): Use
10055 gdb_test_multiple.
10056
f9d67f43
DJ
100572010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10058
10059 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
10060 * gdb.arch/thumb2-it.exp (test_it_break): New function.
10061 (Top level): Call it.
10062
177321bd
DJ
100632010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
10064
10065 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
10066
97f2ed50
DJ
100672010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10068
10069 * gdb.base/call-strs.exp, gdb.base/default.exp,
10070 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
10071 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
10072 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
10073 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
10074 gdb.base/watchpoint-solib.exp: Save and restore timeout.
10075 * gdb.base/ending-run.exp: Correct restore of timeout.
10076 * gdb.base/page.exp: Remove unnecessary timeout setting.
10077
e4e2711a
JB
100782010-01-29 Joel Brobecker <brobecker@adacore.com>
10079
10080 * gdb.ada/rec_return: New testcase.
10081
ba581dc1
JB
100822010-01-29 Joel Brobecker <brobecker@adacore.com>
10083
10084 * gdb.ada/call_pn: New testcase.
10085
4ea95be9
DJ
100862010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10087
10088 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
10089 (Top level): Use it to resume.
10090 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
10091 the Thumb mode displaced stepping error as unsupported.
10092
df83a9bf
SW
100932010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
10094
889bf7c5
PA
10095 * gdb.cp/nsusing.exp: Added more tests.
10096 * gdb.cp/nsrecurs.exp: Ditto.
10097 * gdb.cp/nsusing.cc: Added test functions.
10098 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 10099
40b27cdc
JK
101002010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10101
10102 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
10103 absolute directory pathnames in gdb.sum file.
10104
de958931
SW
101052010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
10106
10107 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
10108 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
10109
708ead4e
TT
101102010-01-26 Tom Tromey <tromey@redhat.com>
10111
10112 PR exp/7643:
10113 * gdb.base/printcmds.exp (test_print_string_constants): Remove
10114 setup_kfail.
10115
b14e635e
SW
101162010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
10117
10118 * gdb.cp/nsrecurs.exp: New test.
10119 * gdb.cp/nsrecurs.cc: New test program.
10120 * gdb.cp/nsstress.exp: New test.
10121 * gdb.cp/nsstress.cc: New test program.
10122 * gdb.cp/nsdecl.exp: New test.
10123 * gdb.cp/nsdecl.cc: New test program.
10124
8540c487
SW
101252010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
10126
10127 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
10128 imported into file scope.
10129 Marked test as xfail.
10130 * gdb.cp/namespace-using.cc (marker5): New function.
10131 * gdb.cp/shadow.exp: New test.
10132 * gdb.cp/shadow.cc: New test program.
10133 * gdb.cp/nsimport.exp: New test.
10134 * gdb.cp/nsimport.cc: New test program.
10135
421d5d99
TT
101362010-01-25 Tom Tromey <tromey@redhat.com>
10137
10138 PR gdb/11049:
10139 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
10140 with "set print null-stop on".
10141
691f8dc1
JK
101422010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10143
10144 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
10145 Adjust it for DISASSEMBLY_OMIT_FNAME.
10146
0b92b5bb
TT
101472010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10148
10149 PR symtab/11199:
10150 * gdb.dwarf2/member-ptr-forwardref.exp,
10151 gdb.dwarf2/member-ptr-forwardref.S: New.
10152
23787403
JK
101532010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10154
10155 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
10156 (thread1_func): Protect thread1_tid with thread1_tid_cond by
10157 thread1_tid_mutex. Remove gdbstop_mutex handling.
10158 (thread2_func): Protect thread2_tid with thread2_tid_cond by
10159 thread2_tid_mutex. Remove gdbstop_mutex handling.
10160 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
10161 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
10162 pthread_cond_wait conditionalizations by while loops.
10163
b966cb8a
TT
101642010-01-20 Tom Tromey <tromey@redhat.com>
10165
10166 PR backtrace/10770:
10167 * gdb.dwarf2/pr10770.exp: New file.
10168 * gdb.dwarf2/pr10770.c: New file.
10169 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
10170
fcae584b
VP
101712010-01-20 Vladimir Prus <vladimir@codesourcery.com>
10172
10173 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
10174 that target was removed, and the test always runs native anyway.
10175
a0f49112
JK
101762010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10177
10178 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
10179 gdb.base/watchpoint-cond-gone-stripped.c: New.
10180
ceeb3d5a
TT
101812010-01-19 Tom Tromey <tromey@redhat.com>
10182
10183 PR c++/8000:
10184 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
10185 existing tests.
10186 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
10187 (main): Use AAA::SomeEnum.
10188
dd322c54
JK
101892010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10190
10191 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
10192 (test_ignore_count): Declare line_callme_body global.
10193 (run to breakpoint with ignore count): Use line_callme_body.
10194 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
10195 (set line_main_hello, set line_main_return): Reindent.
10196 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
10197 New.
10198 (continue to callee4): Use line_callee4_body.
10199 (check *stopped from CLI command): Use line_callee4_next.
10200 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
10201 (set line_main_hello, set line_main_return): Reindent.
10202 (set line_callee4_head, set line_callee4_body): New.
10203 (continue to callee4): Use line_callee4_body.
10204
4e8f195d
TT
102052010-01-18 Tom Tromey <tromey@redhat.com>
10206
10207 PR c++/9680:
10208 * gdb.cp/casts.cc: Add new classes and variables.
10209 * gdb.cp/casts.exp: Test new operators.
10210
9e14a9ba
JB
102112010-01-18 Tom Tromey <tromey@redhat.com>
10212 Thiago Jung Bauermann <bauerman@br.ibm.com>
10213
10214 * gdb.python/source2.py: New file.
10215 * gdb.python/source1: New file.
10216 * gdb.python/python.exp: Test "source" command.
10217
00bf0b85
SS
102182010-01-15 Stan Shebs <stan@codesourcery.com>
10219
10220 * gdb.trace/tfile.c: New file.
10221 * gdb.trace/tfile.exp: New file.
889bf7c5 10222
55235ad7
JK
102232010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10224
10225 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
10226
9f2982ff
JK
102272010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10228
10229 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
10230
bbfba9ed
JK
102312010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10232
10233 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
10234 (libfunc): New parameter action. Implement also selectable "sleep".
10235 * gdb.base/break-interp-main.c: Include assert.h.
10236 (libfunc): New parameter action.
10237 (main): New parameters argc and argv. Assert argc. Pass argv.
10238 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
10239 (test_attach): New proc.
10240 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
10241 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
10242
61f0d762
JK
102432010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10244
10245 * gdb.base/break-interp.exp (test_core): New proc.
10246 (test_ld): Call it.
10247
06a6f270
JK
102482010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10249
10250 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
10251 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
10252 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
10253 and gdb_compile_shlib. Use new -Wl compiler options.
10254 (dl bt, main bt): New tests.
10255
51bee8e9
JK
102562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10257
10258 Support PIEs with no symfile_objfile.
10259 * gdb.base/break-interp.exp: New argument at the test_ld calls.
10260 (test_ld): New parameter trynosym.
10261 (test_ld <$trynosym>): New block.
10262
b8040f19
JK
102632010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10264
10265 * gdb.base/break-interp.exp: New file.
10266
be759fcf
PM
102672010-01-13 Phil Muldoon <pmuldoon@redhat.com>
10268
10269 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
10270 * gdb.python/py-prettyprint.py (pp_ls): New printer.
10271 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
10272 test.
10273 * gdb.python/py-prettyprint.c: Define lazystring test structure.
10274 * gdb.python/py-mi.exp: Add lazy string test.
10275
dc146f7c
VP
102762010-01-13 Vladimir Prus <vladimir@codesourcery.com>
10277
10278 * lib/mi-support.exp (mi_check_thread_states): Handle
10279 core number in thread listing.
10280
b4ba55a1
JB
102812010-01-12 Joel Brobecker <brobecker@adacore.com>
10282
10283 * gdb.base/maint.exp: Adjust the expected output for the
10284 "maint print type" test. Use gdb_test_multiple instead of
10285 gdb_sent/gdb_expect.
10286
08e24bd4
DE
102872010-01-11 Doug Evans <dje@google.com>
10288
6496a609
DE
10289 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
10290 from gdbserver_download. All callers updated.
10291
08e24bd4
DE
10292 * gdb.server/ext-run.exp: "info os processes" requires xml support.
10293
b5cfddf5
JK
102942010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10295
10296 Implement binary numbers parsing.
10297 * gdb.base/printcmds.exp (test_integer_literals_accepted)
10298 (test_integer_literals_rejected): New binary tests.
10299
3725885a
RW
103002010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10301
10302 * gdb.cell/configure: Regenerate.
10303
37aeb5df
JK
103042010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10305
10306 * gdb.base/corefile.exp: Move the core finding block out and call it as
10307 core_find, new variable $corefile, replace corefile by $corefile and
10308 [file tail $corefile] for usage vs. test names resp.
10309 * lib/gdb.exp (core_find): Move it as a new function here. New
10310 parameter binfile and deletefiles. New variable $destcore. Pre-delete
10311 $destcore. Return "" on error.
10312
d521f563
JK
103132010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10314
10315 Workaround PR binutils/10802.
10316 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
10317 (twice).
10318
28f24826
DJ
103192010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10320
10321 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
10322
2de75e71
JB
103232010-01-08 Joel Brobecker <brobecker@adacore.com>
10324
10325 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
10326 call, to avoid interruption.
10327
fe00719b 103282010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
10329
10330 * gdb.stabs/weird.def (args93): New.
10331
d0ef5df8
DE
103322010-01-07 Doug Evans <dje@google.com>
10333
10334 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
10335
3a08d52f
TT
103362010-01-07 Tom Tromey <tromey@redhat.com>
10337
10338 * gdb.base/source.exp: Use correct line number.
10339
7a697b8d
SS
103402010-01-05 Stan Shebs <stan@codesourcery.com>
10341
10342 * gdb.trace/tracecmd.exp: Test ftrace.
10343
7803799a
UW
103442010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10345
10346 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
10347
c54eabfa
JK
103482010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10349
10350 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
10351 "uint_for_mi_testing".
10352
02e7ef19
JB
103532010-01-01 Joel Brobecker <brobecker@adacore.com>
10354
10355 Test indented comment in file being sourced.
10356 * gdb.base/commands.exp: Test indented comment in file being sourced.
10357
abd775ce
JB
103582010-01-01 Joel Brobecker <brobecker@adacore.com>
10359
10360 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
10361 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
10362 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
10363 notice.
10364
79b55b82
JB
103652010-01-01 Joel Brobecker <brobecker@adacore.com>
10366
10367 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
10368 notice.
10369
8997583e
JK
103702010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10371
10372 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
10373 missing $after_stopped and comma (,) expectation.
10374
6da95a67
SS
103752009-12-31 Stan Shebs <stan@codesourcery.com>
10376
10377 * gdb.trace/actions.exp: Test teval action.
889bf7c5 10378
218d2fc6
TJB
103792009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10380
10381 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
10382 (top level): Call test_watchpoint_in_big_blob.
10383 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
10384 watchpoints.
10385 (func3): Write to buf.
10386
236f1d4d
SS
103872009-12-29 Stan Shebs <stan@codesourcery.com>
10388
10389 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 10390
f61e138d
SS
103912009-12-28 Stan Shebs <stan@codesourcery.com>
10392
10393 * gdb.trace/tsv.exp: New file.
10394 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 10395
0219b378
DJ
103962009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
10397
10398 * gdb.base/find.c (main): Reference search buffers.
10399 * gdb.base/included.c (main): Reference integer.
10400 * gdb.base/ptype.c (charfoo): Declare.
10401 (intfoo): Call charfoo.
10402 * gdb.base/scope0.c (useitp): New function.
10403 (usestatics): Use useitp.
10404 (useit): Add a type for val.
10405 * gdb.base/scope1.c (useit1): Take a pointer argument.
10406 (usestatics1): Update calls to useit1.
10407 * gdb.cp/call-c.cc: Declare foo.
10408 (main): Call foo.
10409 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
10410 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
10411 (main): Call C::ensureRefs and ensureOtherRefs.
10412 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
10413 variables.
10414 (ensureOtherRefs): New function.
10415 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
10416 * gdb.cp/templates.cc (main): Call t5i.value.
10417
3f78692f
JK
104182009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10419
10420 Fix compatibility with G++-4.5.
10421 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
10422 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
10423 (uncaught return): Remove.
10424
429374b8
JK
104252009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10426 Phil Muldoon <pmuldoon@redhat.com>
10427
10428 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
10429 (bp_location13, bp_location14, bp_location17, bp_location18)
10430 (marker3_proto, marker4_proto): New variables.
10431 (breakpoint info): Update output.
10432 (run until breakpoint at marker3, run until breakpoint at marker4): New
10433 tests.
10434
859825b8
JK
104352009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10436
10437 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
10438 Replace the printf call of Y by provided "y-set-1" label. New block
10439 for the second shared library.
10440 * gdb.base/unload.exp: Compile also the second library, call
10441 gdb_load_shlibs also for it. Use now gdb_breakpoint.
10442 (single pending breakpoint info): Rename to ...
10443 (pending breakpoint info before run): ... this extended test.
10444 (libfile2, libname2, libsrcfile2, libsrc2)
10445 (lib_sl2): New variables.
10446 (exec_opts): Set also SHLIB_NAME2.
10447 (pending breakpoint info on first run at shrfunc1)
10448 (pending breakpoint info on second run at shrfunc1)
10449 (pending breakpoint info on second run at shrfunc2)
10450 (print y from libfile, print y from libfile2): New tests.
10451 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
10452 * gdb.base/unloadshr2.c: New.
10453
e6a386cd
HZ
104542009-12-22 Hui Zhu <teawater@gmail.com>
10455
10456 * gdb.reverse/sigall-reverse.exp: Adjust.
10457
9e19b45e
VP
104582009-12-21 Vladimir Prus <vladimir@codesourcery.com>
10459
10460 PR gdb/10884
10461
10462 * gdb.mi/var-cmd.c (do_bitfield_tests): New
10463 (main): Call do_bitfield_tests.
aacf5b1e 10464 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 10465
d53a7b30
JB
104662009-12-20 Joel Brobecker <brobecker@adacore.com>
10467
10468 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
10469 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
10470 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
10471 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
10472 gdb.modula2/unbounded1.c: Update copyright header.
10473
191ca0a1
CM
104742009-12-10 Chris Moller <moller@mollerware.com>
10475
10476 PR gdb/9399
10477 * gdb.cp/virtfunc2.exp: New tests
10478 * gdb.cp/virtfunc2.cc: New tests
10479 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
10480
0fa6cf1b
MS
104812009-12-10 Oza Pawandeep (paawan1982@yahoo.com
10482
10483 * gdb.reverse/i387-env-reverse.c: New file.
10484 * gdb.reverse/i387-env-reverse.exp: New file.
10485 * gdb.reverse/i387-stack-reverse.c: New file.
10486 * gdb.reverse/i387-stack-reverse.exp: New file.
10487
361ae042
PM
104882009-12-08 Phil Muldoon <pmuldoon@redhat.com>
10489
10490 * gdb.python/py-type.exp (test_range): New test.
10491
bfd31e71
PM
104922009-12-03 Phil Muldoon <pmuldoon@redhat.com>
10493
10494 PR python/10805
10495
10496 * gdb.python/py-type.exp: New file.
10497 * gdb.python/py-type.c: New file.
10498 * Makefile.in: Add py-type.
10499
57a1d736
TT
105002009-12-03 Tom Tromey <tromey@redhat.com>
10501
10502 * gdb.python/py-value.exp (test_parse_and_eval): New
10503 function.
10504
1f3b5d1b
PP
105052009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10506
10507 PR gdb/11022
10508
10509 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
10510 * gdb.base/pr11022.c: New test.
10511
8b7dbdc9
JK
105122009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10513
10514 Fix spurious false FAILs.
10515 * gdb.base/structs.c (chartest): New.
10516 (main): Fill-in chartest.
10517 * gdb.base/structs.exp (anychar_re, first): New.
10518 (start_structs_test): Import global anychar_re and first.
10519 New gdb_test call "set print elements 300; ${testfile}"
10520 (start_structs_test <$first>): New block.
10521 (any): Import global anychar_re. New variable ac. Use ${ac}.
10522
6a53b2ec
JK
105232009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10524
10525 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
10526
d7167b4c
JK
105272009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10528
10529 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
10530 Force $srcfile file.
10531 * gdb.base/foll-fork.c (callee): Comment out the printf call.
10532
b1798462
UW
105332009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10534
10535 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
10536 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10537 * gdb.threads/watchthreads-reorder.exp: Likewise.
10538
b6199126
DJ
105392009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
10540
10541 PR gdb/8704
10542
10543 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
10544 "if", and "thread". Correct matching in the previous test.
10545
b22a0510
DJ
105462009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
10547
10548 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
10549
930636d2
MS
105502009-11-23 Michael Snyder <msnyder@vmware.com>
10551
10552 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
10553 * gdb.reverse-watch-precsave.exp: Ditto.
10554
21a0512e
PP
105552009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
10556
10557 * gdb.asm/asm-source.exp: Adjust.
10558 * gdb.base/help.exp: Adjust.
889bf7c5 10559
fc30d5e0
PA
105602009-11-22 Pedro Alves <pedro@codesourcery.com>
10561
10562 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
10563 (do_syscall_tests_without_xml): Set data-directory to
10564 /the/path/to/nowhere.
10565
f6bc2008
PA
105662009-11-21 Pedro Alves <pedro@codesourcery.com>
10567
10568 * gdb.threads/local-watch-wrong-thread.c,
10569 gdb.threads/local-watch-wrong-thread.exp: New files.
10570
8c2fb5de
PA
105712009-11-21 Pedro Alves <pedro@codesourcery.com>
10572
10573 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
10574 assume new `regsub' syntax available.
10575
ebec9a0f
PA
105762009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10577
a79d3c27
JK
10578 * gdb.base/watchpoint-hw-hit-once.exp,
10579 gdb.base/watchpoint-hw-hit-once.c: New.
10580
105812009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10582
10583 * gdb.threads/watchthreads-reorder.exp,
10584 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 10585
276a961b
MK
105862009-11-17 Nathan Sidwell <nathan@codesourcery.com>
10587
10588 * gdb.xml/tdesc-regs.exp: Use for m68k.
10589
4867c1fb
PA
105902009-11-15 Pedro Alves <pedro@codesourcery.com>
10591
10592 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
10593
f6838f81
DJ
105942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10595
10596 * lib/gdb.exp (current_target_name): New procedure.
10597 (gdb_wrapper_target): New variable.
10598 (gdb_wrapper_init): Set gdb_wrapper_target.
10599 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
10600 wrapper.
10601
4ac4dd3f
DJ
106022009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10603
10604 * gdb.base/remote.exp: Delete the slowest load test.
10605 Do not load with fixed packet sizes.
10606
a7881759
DJ
106072009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10608
10609 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
10610
97a5b505
DJ
106112009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10612
10613 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
10614 srcfile when setting a breakpoint.
10615
d3e1fc54
DJ
106162009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
10617
10618 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
10619 macros.
10620
7cbcbded
DJ
106212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10622
10623 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
10624 to be in memory.
10625 * gdb.base/display.c (force_mem): New.
10626 (do_loops): Use it. Add breakpoint comments.
10627 (do_vars): Add a breakpoint comment.
10628 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
10629 line numbers.
10630
bdea3a92
NF
106312009-11-13 Nathan Froyd <froydnj@codesourcery.com>
10632
10633 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
10634 instead of a bare "run".
10635
269f82e5
PP
106362009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10637
10638 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 10639
a69b7d9d
DJ
106402009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10641
10642 * lib/cell.exp (skip_cell_tests): Clean up test files before
10643 returning.
10644
b598bfda
DJ
106452009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10646
10647 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
10648 and the breakpoint menu. Do not call perror if a prompt is seen.
10649 Consume the following GDB prompt.
10650 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
10651 * gdb.cp/namespace.exp: Use gdb_test.
10652 * gdb.cp/templates.exp: Use gdb_test.
10653 (test_template_breakpoints): Use gdb_test_multiple.
10654
87728fa0
DJ
106552009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10656
10657 * gdb.base/break1.c (struct some_struct, values): Move earlier.
10658 (marker4): Reference values.
10659
b67c692f
DJ
106602009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10661
10662 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
10663 is missing.
10664
f0df251a
DJ
106652009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10666
10667 * gdb.base/break.c (need_malloc): New.
10668 * gdb.base/constvars.c (main): Reference crass and crisp.
10669 * gdb.base/gdb1821.c (main): Reference bar.
10670 * gdb.cp/gdb1355.cc (main): Reference s1.
10671 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
10672 (main): Call them.
10673 * gdb.cp/hang2.cc (dummy2): Define.
10674 * gdb.cp/hang3.cc (dummy3): Define.
10675 * gdb.cp/m-data.cc (main): Reference shadow.
10676
bdf7534a
NF
106772009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10678 Nathan Froyd <froydnj@codesourcery.com>
10679
10680 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
10681 remote host.
10682
f24fce77
NF
106832009-11-12 Nathan Froyd <froydnj@codesourcery.com>
10684
10685 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
10686 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
10687 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10688 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10689 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10690 * gdb.dwarf2/dw2-producer.exp: Likewise.
10691 * gdb.dwarf2/mac-fileno.exp: Likewise.
10692 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
10693 py-prettyprint.py to the remote host.
10694 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
10695
40f0318e
KS
106962009-11-11 Keith Seitz <keiths@redhat.com>
10697
10698 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
10699 use it instead of "Foo".
10700 * gdb.cp/classes.exp (do_tests): Add a test to access
10701 a method through a typedef'd class name.
10702
f3d9f7fb
NF
107032009-11-11 Nathan Froyd <froydnj@codesourcery.com>
10704
10705 * gdb.base/long_long.exp: Permit leading zeros on floating-point
10706 exponents.
10707 * gdb.base/pointers.exp: Likewise.
10708 * gdb.cp/ref-types.exp: Likewise.
10709
a4216f37
KS
107102009-11-11 Keith Seitz <keiths@redhat.com>
10711
10712 * gdb.cp/cplusfuncs.cc (class foo): Add operators
10713 new[] and delete[].
10714 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
10715 "void".
10716 (probe_demangler): Remove all single-quoting of
10717 method and variable names.
10718 (info_func_regexp): Remove the word "void" from any
10719 occurrence of "(void)".
10720 (print_addr_2): Remove all single-quoting of
10721 method names.
10722 (print_addr_2_kfail): Likewise.
10723 (print_addr): Single-quote C function names before
10724 passing to print_addr_2.
10725 (test_paddr_operator_functions): Remove single-quoting
10726 for method names.
10727 Add tests for operator new[] and operator delete[].
10728
9b14d7aa
JK
107292009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
10732
85feb311
KS
107332009-11-09 Keith Seitz <keiths@redhat.com>
10734
10735 * gdb.cp/overload.exp: Add tests for resolving overloaded
10736 methods in expression parsing/evaluation.
10737
fa335448
DJ
107382009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
10739
10740 * lib/gdb.exp (default_gdb_version): Use --version instead of
10741 --command.
10742
ec3c07fc
NS
107432009-11-10 Nathan Sidwell <nathan@codesourcery.com>
10744
10745 * lib/gdb.exp (gdb_compile_test): New.
10746 (skip_ada_tests, skip_java_tests): New.
10747 (gdb_compile): Use gdb_compile_test for f77.
10748 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
10749 * lib/java.exp (compile_java_from_source): Remove runtests check,
10750 use gdb_compile_test to record result.
10751 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
10752 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
10753 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
10754 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
10755 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
10756 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
10757 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
10758 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
10759 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
10760 adjust gdb_compile invocations.
10761
b8b4e42b
JK
107622009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10763
10764 * Makefile.in (abs_builddir): New.
10765 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
10766 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
10767 `$(abs_builddir)/site.exp'.
10768
f8b7eaf3
DJ
107692009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
10770
10771 * config/m68k-emc.exp, lib/emc-support.exp,
10772 gdb.trace/gdb_c_test.c: Delete.
10773 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
10774 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10775 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10776 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10777 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10778 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
10779 casing for m68k-*-elf.
10780
c4187697
NS
107812009-11-03 Pedro Alves <pedro@codesourcery.com>
10782
10783 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
10784 * gdb.arch/i386-prologue.exp: Likewise.
10785 * gdb.arch/i386-unwind.exp: Likewise.
10786
db16b772
DJ
107872009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10788
10789 * lib/gdb.exp (gdb_expect): Fix timeout typo.
10790
bcf71277
DJ
107912009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10792
10793 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
10794
0105cee2
DJ
107952009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10796
10797 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
10798
24ddea62
JK
107992009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10800
10801 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
10802
287ccc17
JK
108032009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
10806 * gdb.base/sepdebug2.c: New file.
10807
08bca259 108082009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
10809
10810 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
10811 the modified warnings for catch syscall. Verify if GDB was compiled
10812 with support for lib expat, and choose which tests to run depending
10813 on this.
10814
5d4e2b76
VP
108152009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10816
10817 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10818 that composite commands are parsed OK. And also test
10819 that breakpoint commands do work.
10820
240e538a
MS
108212009-10-23 Michael Snyder <msnyder@vmware.com>
10822
10823 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10824 to allow for new disassembly style.
10825
9c419145
PP
108262009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10827
10828 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 10829
02506ff1
MS
108302009-10-22 Michael Snyder <msnyder@vmware.com>
10831
10832 * gdb.reverse/break-precsave.exp: New test.
10833 * gdb.reverse/consecutive-precsave.exp: Ditto.
10834 * gdb.reverse/finish-precsave.exp: Ditto.
10835 * gdb.reverse/i386-precsave.exp: Ditto.
10836 * gdb.reverse/machinestate-precsave.exp: Ditto.
10837 * gdb.reverse/sigall-precsave.exp: Ditto.
10838 * gdb.reverse/solilb-precsave.exp: Ditto.
10839 * gdb.reverse/step-precsave.exp: Ditto.
10840 * gdb.reverse/until-precsave.exp: Ditto.
10841 * gdb.reverse/watch-precsave.exp: Ditto.
10842
4cf866a3
MS
108432009-10-22 Michael Snyder <msnyder@vmware.com>
10844
10845 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10846 for gdb_expect. Adjust one test's expect strings for the new
10847 format of disassemble.
10848 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10849 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10850 gdb_test_multiple.
10851 * gdb.reverse/step-reverse.exp: Delete 'return'.
10852 * gdb.reverse/until-reverse.exp: Delete blank lines.
10853 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10854
2b28d209
PP
108552009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10856
10857 * gdb.base/consecutive.exp: Adjust.
10858 * gdb.base/display.exp: Likewise.
10859 * gdb.base/pc-fp.exp: Likewise.
10860 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 10861
33b9c32b
MS
108622009-10-19 Michael Snyder <msnyder@vmware.com>
10863
10864 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10865 * gdb.reverse/finish-reverse.c: Ditto.
10866 * gdb.reverse/sigall-reverse.c: Ditto.
10867 * gdb.reverse/solib-reverse.c: Ditto.
10868 * gdb.reverse/step-reverse.c: Ditto.
10869 * gdb.reverse/watch-reverse.c: Ditto.
10870
6c95b8df
PA
108712009-10-19 Pedro Alves <pedro@codesourcery.com>
10872 Stan Shebs <stan@codesourcery.com>
10873
10874 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10875 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10876 "Executing new program".
10877 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10878 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10879 left listed after having been killed.
10880 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10881 * gdb.base/maint.exp: Adjust test.
10882
10883 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10884 * gdb.multi/Makefile.in: New.
10885 * gdb.multi/base.exp: New.
10886 * gdb.multi/goodbye.c: New.
10887 * gdb.multi/hangout.c: New.
10888 * gdb.multi/hello.c: New.
10889 * gdb.multi/bkpt-multi-exec.c: New.
10890 * gdb.multi/bkpt-multi-exec.exp: New.
10891 * gdb.multi/crashme.c: New.
10892
279017b7
TG
108932009-10-13 Tristan Gingold <gingold@adacore.com>
10894
10895 * gdb.base/sepdebug.exp: Check debug info are found.
10896
0413d738
PA
108972009-10-08 Pedro Alves <pedro@codesourcery.com>
10898
10899 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10900 bits.
10901
c628eecc
JK
109022009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10903
10904 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10905
38af1bfe
JB
109062009-10-07 Joel Brobecker <brobecker@adacore.com>
10907
10908 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10909 of the comments.
10910
2b0adecd
PM
109112009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10912
10913 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10914 * gdb.base/annota3.exp: Idem.
10915 * gdb.base/maint.exp: Idem.
10916
8d417781
PM
109172009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10918
889bf7c5 10919 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
10920 to default.
10921
bb61102d
PM
109222009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10923
889bf7c5 10924 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
10925 mingw and cygwin targets.
10926
ace5c364
PM
109272009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10928 Pedro Alves <pedro@codesourcery.com>
10929
889bf7c5 10930 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
10931 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10932
c2d494a0
PM
109332009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10934
e1b52ce2
PM
10935 * gdb.base/shr1.c: Use %p in format string.
10936 * gdb.base/unload.c: Avoid warning in fprintf.
10937 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 10938
209f53f5
PM
109392009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10940
10941 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10942 long type.
10943 (test_unlink): Correct printf string.
10944 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10945 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10946
8172766a
JK
109472009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10948
10949 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10950 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10951 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10952
0f73703c
UW
109532009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10954
10955 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10956 * gdb.objc/nondebug.exp: Likewise.
10957
b32306ca
UW
109582009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10959
10960 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10961 target_info setting.
10962
10963 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10964 that detect new threads during "info threads".
10965
0057022f
UW
109662009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10967
10968 * gdb.threads/manythreads.c (main): Increase thread stack size
10969 to 2*PTHREAD_STACK_MIN.
10970 * gdb.threads/multi-create.c (main): Likewise.
10971 (create_function): Likewise.
10972
f29c0325
UW
109732009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10974
10975 * gdb.base/dump.exp: Pass difference of pointer types instead
10976 of integer types as offset to restore in intarr3.srec case.
10977
fcb34849
UW
109782009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10979
10980 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10981
d5142e3b
UW
109822009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10983
10984 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10985
087b74b2 109862009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 10987
087b74b2
PM
10988 New test for two watchpoints, with disabling of
10989 the first inserted.
10990 * testsuite/gdb.base/watchpoints.c: New file.
10991 * testsuite/gdb.base/watchpoints.exp: New file.
10992
96c07c5b
TT
109932009-09-25 Tom Tromey <tromey@redhat.com>
10994
10995 * gdb.base/charset.exp: Test utf-16 strings with Python.
10996
b8899f2b
TT
109972009-09-25 Tom Tromey <tromey@redhat.com>
10998
10999 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
11000 UCS-4.
11001 * gdb.base/charset.c (utf_32_string): Rename.
11002 (init_utf32): Rename.
11003 (main): Update.
11004
329719ec
TT
110052009-09-22 Tom Tromey <tromey@redhat.com>
11006
11007 * gdb.python/py-function.exp: Add regression tests.
11008
11ef0d76
KS
110092009-09-21 Keith Seitz <keiths@redhat.com>
11010
11011 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
11012 with invalid operator.
11013
3fe8f3b3
KS
110142009-09-21 Keith Seitz <keiths@redhat.com>
11015
11016 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
11017 and destructor using typedef name of class.
11018 * gdb.cp/classes.cc (class Base1): Add a destructor.
11019 (base1): New typedef.
11020 (use_methods): Instanitate an object of type base1.
11021 * gdb.cp/templates.exp (test_template_typedef): New procedure.
11022 (do_tests): Call test_template_typedef.
11023 * gdb.cp/templates.cc (Baz::~Baz): New method.
11024 (intBazOne): New typedef.
11025 (main): Instantiate intBazOne.
11026
7a9fe101
PM
110272009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11028
11029 PR python/10633
11030
11031 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
11032 Function.
11033 (run_lang_tests): Add print elements test.
11034
2e4d963f
PM
110352009-09-21 Phil Muldoon <pmuldoon@redhat.com>
11036
11037 * gdb.python/py-value.exp (test_subscript_regression): New
11038 function. Test for invalid subscripts.
11039 * gdb.python/py-value.c (main): Add test array, and pointer to it.
11040 (ptr_ref): New function.
11041
ec7e75e7
PP
110422009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11043
11044 * gdb.base/default.exp: Fix "show convenience".
11045
0cc7d26f
TT
110462009-09-15 Tom Tromey <tromey@redhat.com>
11047
11048 * lib/mi-support.exp (mi_create_varobj): Update.
11049 (mi_create_floating_varobj): Likewise.
11050 (mi_create_dynamic_varobj): New proc.
11051 (mi_varobj_update): Update.
11052 (mi_varobj_update_with_type_change): Likewise.
11053 (mi_varobj_update_kv_helper): New proc.
11054 (mi_varobj_update_dynamic_helper): Rewrite.
11055 (mi_varobj_update_dynamic): New proc.
11056 (mi_list_varobj_children): Update.
11057 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
11058 * gdb.python/python-prettyprint.py (pp_outer): New class.
11059 (pp_nullstr): Likewise.
11060 (lookup_function): Register new printers.
11061 * gdb.python/python-prettyprint.c (struct substruct): New type.
11062 (struct outerstruct): Likewise.
11063 (substruct_test): New function.
11064 (struct nullstr): New type.
11065 (string_1, string_2): New globals.
11066 (main): Add new tests.
11067 * gdb.python/python-mi.exp: Added regression tests.
11068 * gdb.mi/mi2-var-display.exp: Update.
11069 * gdb.mi/mi2-var-cmd.exp: Update.
11070 * gdb.mi/mi2-var-child.exp: Update.
11071 * gdb.mi/mi2-var-block.exp: Update.
11072 * gdb.mi/mi-var-invalidate.exp: Update.
11073 * gdb.mi/mi-var-display.exp: Update.
11074 * gdb.mi/mi-var-cmd.exp: Update.
11075 * gdb.mi/mi-var-child.exp: Update.
11076 * gdb.mi/mi-var-block.exp: Update.
11077 * gdb.mi/mi-break.exp: Update.
11078 * gdb.mi/gdb701.exp: Update.
11079
a96d9b2e
SDJ
110802009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11081
11082 * Makefile.in: Inclusion of catch-syscall object.
11083 * gdb.base/catch-syscall.c: New file.
11084 * gdb.base/catch-syscall.exp: New file.
11085
b43b923a
MS
110862009-09-12 Michael Snyder <msnyder@vmware.com>
11087
11088 * gdb.reverse/step-reverse.exp: Explicitly check for targets
11089 that can support reverse debuggnig.
11090
cec03d70
TT
110912009-09-11 Tom Tromey <tromey@redhat.com>
11092
11093 * gdb.dwarf2/valop.S: New file.
11094 * gdb.dwarf2/valop.exp: New file.
11095
e23bb3fc
MK
110962009-09-11 Mark Kettenis <kettenis@gnu.org>
11097
11098 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
11099
37c3696d
DE
111002009-09-10 Doug Evans <dje@google.com>
11101
11102 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
11103 Add $gdb_prompt to second breakpoint regexp.
11104
5172aecb
JB
111052009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
11106
11107 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
11108 names, add missing ones.
11109 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
11110 * gdb.python/py-frame.c: Rename from python-frame.c.
11111 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
11112 testfile name.
11113 * gdb.python/py-function.exp: Rename from python-function.exp.
11114 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
11115 testfile name.
11116 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
11117 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
11118 Adjust testfile name.
11119 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
11120 * gdb.python/py-template.cc: Rename from python-template.cc.
11121 * gdb.python/py-template.exp: Rename from python-template.exp.
11122 Adjust testfile name.
11123 * gdb.python/py-value.c: Rename from python-value.c.
11124 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
11125 testfile name.
11126
b554e4bd
JK
111272009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11128
11129 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
11130 $bpt2address.
11131 (Second breakpoint address is valid on ia64)
11132 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
11133
9a68ae16
JM
111342009-09-03 Joseph Myers <joseph@codesourcery.com>
11135
11136 * gdb.base/ending-run.exp: Restrict regular expression matching
11137 line number to require closing brace following.
11138
146b9145
DE
111392009-09-03 Doug Evans <dje@google.com>
11140
11141 * gdb.base/store.exp (check_set): Fix typo in expected value message.
11142
787d21e1
TT
111432009-09-02 Tom Tromey <tromey@redhat.com>
11144
11145 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
11146
e7802207
TT
111472009-09-02 Tom Tromey <tromey@redhat.com>
11148
11149 * gdb.dwarf2/callframecfa.exp: New file.
11150 * gdb.dwarf2/callframecfa.S: New file.
11151
817aadd2
JK
111522009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11153
11154 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
11155 gdb.base/solib-overlap-main.c: New.
11156
4a76eae5
DJ
111572009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
11158
11159 PR gdb/10565
11160
11161 * gdb.base/bitfields.c (struct container, container): New.
11162 (main): Initialize it and call break5.
11163 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
11164
d4b96c9a
JK
111652009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11166
11167 Support constant DW_AT_data_member_location by GCC PR debug/40659.
11168 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
11169
4e22772d
JK
111702009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11171
11172 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
11173
2efab443
MS
111742009-08-26 Michael Snyder <msnyder@vmware.com>
11175
11176 * gdb.base/i386-reverse.c: New file.
11177 * gdb.base/i386-reverse.exp: New file.
11178 * gdb.base/Makefile.in: Add new files to be removed.
11179
07ab73a0
JM
111802009-08-26 Joseph Myers <joseph@codesourcery.com>
11181
11182 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
11183 environment-pwd for remote host.
11184 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
11185
676accff
KS
111862009-08-24 Keith Seitz <keiths@redhat.com>
11187
11188 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
11189 Add two new C++ completer tests which limit the output to a
889bf7c5 11190 given class.
676accff 11191
f9f7ad22
MS
111922009-08-24 Michael Snyder <msnyder@vmware.com>
11193
11194 * gdb.base/del.exp: Fix typo in comment.
11195 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
11196
81ecdfbb
RW
111972009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11198
11199 * configure: Regenerate.
11200 * gdb.hp/configure: Likewise.
11201 * gdb.hp/gdb.aCC/configure: Likewise.
11202 * gdb.hp/gdb.base-hp/configure: Likewise.
11203 * gdb.hp/gdb.compat/configure: Likewise.
11204 * gdb.hp/gdb.defects/configure: Likewise.
11205 * gdb.hp/gdb.objdbg/configure: Likewise.
11206 * gdb.stabs/configure: Likewise.
11207
cab0c772
UW
112082009-08-19 Doug Evans <dje@google.com>
11209
11210 * gdb.base/gdbvars.c: New file.
11211 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
11212
b8fa0bfa
PA
112132009-08-14 Pedro Alves <pedro@codesourcery.com>
11214
11215 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11216 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
11217
b84aa90a
PA
112182009-08-13 Pedro Alves <pedro@codesourcery.com>
11219
11220 * gdb.base/default.exp: Adjust "set language test": it's now an
11221 enum command. Larger help string moved to "help set language".
11222 * gdb.base/help.exp: Adjust "help set language" expected output,
11223 now lists all known languages.
11224
0d8f9b2c
NF
112252009-08-11 Nathan Froyd <froydnj@codesourcery.com>
11226
11227 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
11228 all frame arguments.
11229 * gdb.arch/altivec-regs.exp: Likewise.
11230
bda180e0
TT
112312009-08-07 Tom Tromey <tromey@redhat.com>
11232
11233 * gdb.base/setshow.exp: Add tests for changes to set language, set
11234 check range, and set check type.
11235
48cb2d85
VP
112362009-08-03 Vladimir Prus <vladimir@codesourcery.com>
11237
11238 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
11239 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 11240 Call it.
48cb2d85 11241
1ea34204
UW
112422009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11243
11244 * configure.ac: Run gdb.cell tests when appropriate.
11245 * configure: Regenerate.
11246 * lib/cell.exp: New file.
11247 * gdb.cell: New directory.
11248 * gdb.cell/configure.ac: New file.
11249 * gdb.cell/configure: New file.
11250 * gdb.cell/Makefile.in: New file.
11251 * gdb.cell/arch.exp: New file.
11252 * gdb.cell/break.c: New file.
11253 * gdb.cell/break.exp: New file.
11254 * gdb.cell/break-spu.c: New file.
11255 * gdb.cell/bt.c: New file.
11256 * gdb.cell/bt2-spu.c: New file.
11257 * gdb.cell/bt-spu.c: New file.
11258 * gdb.cell/bt.exp: New file.
11259 * gdb.cell/coremaker.c: New file.
11260 * gdb.cell/coremaker-spu.c: New file.
11261 * gdb.cell/core.exp: New file.
11262 * gdb.cell/gcore.exp: New file.
11263 * gdb.cell/data.c: New file.
11264 * gdb.cell/data.exp: New file.
11265 * gdb.cell/data-spu.c: New file.
11266 * gdb.cell/ea-cache.exp: New file.
11267 * gdb.cell/ea-cache.c: New file.
11268 * gdb.cell/ea-cache-spu.c: New file.
11269 * gdb.cell/ea-standalone.c: New file.
11270 * gdb.cell/ea-standalone.exp: New file.
11271 * gdb.cell/ea-test.c: New file.
11272 * gdb.cell/ea-test.exp: New file.
11273 * gdb.cell/f-regs.exp: New file.
11274 * gdb.cell/mem-access.c: New file.
11275 * gdb.cell/mem-access.exp: New file.
11276 * gdb.cell/mem-access-spu.c: New file.
11277 * gdb.cell/ptype.exp: New file.
11278 * gdb.cell/registers.exp: New file.
11279 * gdb.cell/size.c: New file.
11280 * gdb.cell/sizeof.exp: New file.
11281 * gdb.cell/size-spu.c: New file.
11282 * gdb.cell/solib.exp: New file.
11283 * gdb.cell/solib-symbol.exp: New file.
11284
85e747d2
UW
112852009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11286
11287 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
11288
58d6951d
DJ
112892009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11290
11291 * gdb.base/float.exp: Handle VFP registers.
11292
6e0a4f15
MS
112932009-07-14 Michael Snyder <msnyder@vmware.com>
11294
dcd5da87
MS
11295 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
11296 to bring gdb to the beginning of the calling line.
11297
6e0a4f15
MS
11298 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
11299 confusing the i386 epilogue unwinder.
11300
782b2b07
SS
113012009-07-14 Stan Shebs <stan@codesourcery.com>
11302
11303 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
11304
f662c3bc
MS
113052009-07-14 Michael Snyder <msnyder@vmware.com>
11306
11307 * gdb.reverse/step-reverse.exp (stepi into function call):
11308 Call instruction may not be first instruction in the line.
11309 (reverse stepi from a function call): Used wrong line number.
11310
8f313923
JK
113112009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11312
11313 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
11314
4662c76e
JK
113152009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11316
11317 Fix gdb.base/macscp.exp when using custom inputrc.
11318 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
11319 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
11320 env(TERM) set.
11321 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
11322 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
11323
aa81e255
JK
113242009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11325
11326 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
11327 * gdb.base/annota1.exp (thread_test): Import global $testfile.
11328 Change the compilation target to match the testcase name.
11329 * gdb.base/sect-cmd.exp: Change the compilation target to match the
11330 testcase name.
11331 * a2-run.exp: Use for setup prepare_for_testing. Change the
11332 compilation target to match the testcase name.
11333 * gdb.base/commands.exp: Likewise.
11334 * gdb.base/finish.exp: Likewise.
11335 * gdb.base/float.exp: Likewise.
11336 * gdb.base/info-target.exp: Likewise.
11337 * gdb.base/relational.exp: Likewise.
11338 * gdb.base/term.exp: Likewise.
11339 * gdb.base/until.exp: Likewise.
11340 * gdb.base/volatile.exp: Likewise.
11341 * gdb.base/whatis-exp.exp: Likewise.
11342
4c93b1d7
HZ
113432009-07-11 Hui Zhu <teawater@gmail.com>
11344
11345 * gdb.base/help.exp (disassemble): Update expected help text.
11346
812f7342
TT
113472009-07-09 Tom Tromey <tromey@redhat.com>
11348
11349 * lib/gdb.exp: Handle TRANSCRIPT.
11350 (remote_spawn, remote_close, send_gdb): New procs.
11351
fbb8f299
PM
113522009-07-10 Phil Muldoon <pmuldoon@redhat.com>
11353
11354 * gdb.python/python-prettyprint.c: Add counted null string
11355 structure.
11356 * gdb.python/python-prettyprint.exp: Print null string. Test for
11357 embedded nulls.
11358 * gdb.python/python-prettyprint.py (pp_ns): New Function.
11359 * gdb.python/python-value.exp (test_value_in_inferior): Add
11360 variable length string fetch tests.
11361 * gdb.python/python-value.c (main): Add strings for string fetch tests.
11362
c0ac0ec7
JK
113632009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11364
11365 * gdb.base/dump.exp (inaccessible memory is reported): New test.
11366
30b66ecc
TT
113672009-07-07 Tom Tromey <tromey@redhat.com>
11368
11369 * gdb.base/call-rt-st.exp: Update for change to escape output.
11370 * gdb.base/callfuncs.exp: Likewise.
11371 * gdb.base/charset.exp: Likewise.
11372 * gdb.base/constvars.exp: Likewise.
11373 * gdb.base/long_long.exp: Likewise.
11374 * gdb.base/pointers.exp: Likewise.
11375 * gdb.base/printcmds.exp: Likewise.
11376 * gdb.base/setvar.exp: Likewise.
11377 * gdb.base/store.exp: Likewise.
11378 * gdb.cp/ref-types.exp: Likewise.
11379 * gdb.mi/mi-var-child.exp: Likewise.
11380 * gdb.mi/mi-var-display.exp: Likewise.
11381 * gdb.mi/mi2-var-display.exp: Likewise.
11382 * gdb.base/charset.exp: Test octal escape sequence length.
11383 Update for change to escape output.
11384
187c4a2b
JK
113852009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
11388
d80a43f9
DJ
113892009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
11390
11391 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
11392
047427a8
JK
113932009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11394
11395 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
11396 gdbserver increasing $portnum if "Can't bind address" has been seen.
11397
8b5a0f4f
PA
113982009-07-05 Pedro Alves <pedro@codesourcery.com>
11399
11400 * gdb.base/ending-run.exp: Add "step out of main" pattern for
11401 mingw32ce.
11402
7d93ba58
PA
114032009-07-05 Pedro Alves <pedro@codesourcery.com>
11404
11405 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
11406 VFP format.
11407
2277426b
PA
114082009-07-02 Pedro Alves <pedro@codesourcery.com>
11409
11410 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
11411 linux. Adjust to use "inferior", "info inferiors", "detach
11412 inferior" and "kill inferior" instead of "restart", "info fork",
11413 "detach fork" and "delete fork".
11414 * gdb.base/ending-run.exp: Spell out "info".
11415 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
11416 the "kill" command.
11417
5af949e3
UW
114182009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11419
11420 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
11421 change to prefix TLS offset in hex with 0x.
11422
5d3729b5
UW
114232009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11424
11425 * gdb.base/default.exp: Update test case for "x" changes.
11426
af589bd0
TG
114272009-07-01 Tristan Gingold <gingold@adacore.com>
11428
11429 * gdb.base/bigcore.exp: Make darwin untested.
11430
40974f91
JK
114312009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11432
11433 * gdb.base/completion.exp (directory completion): Create the directory.
11434 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
11435 escapeuniquesub.
11436 (directory completion 2): Expect now ${escapeuniquesub}.
11437 (Glob remaining of directory test): Remove one excessive newline.
11438 Expect the real output.
11439
59dd3af6
JK
114402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11441
11442 Fix `make check//%' target after `make check' has been ran.
11443 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
11444 a mkdir call.
11445 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
11446 (%/.dir): Remove.
11447
f4e164aa
JK
114482009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11449
11450 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
11451 the expected result record.
11452
69af2122
JK
114532009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11454
11455 Remove racy FAILs relying just on the timeouts.
11456 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
11457 (annotation_level 2): Remove racy FAILs.
11458
2fd481e1
PP
114592009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11460
11461 gdb/10275
889bf7c5
PA
11462 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
11463
c38f313d
DJ
114642009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
11465
11466 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
11467
8b777f02
VP
114682009-06-30 Vladimir Prus <vladimir@codesourcery.com>
11469
11470 * gdb.mi/mi-stack.exp: Testing symbolic options
11471 to -stack-list-locals and -stack-list-arguments.
11472
00c7eacf
JK
114732009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11474
11475 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
11476
6bc80edc
TT
114772009-06-29 Tom Tromey <tromey@redhat.com>
11478
11479 * dg-extract-results.sh: New file.
11480 * Makefile.in (FORCE_PARALLEL): New variable.
11481 (CHECK_TARGET): New conditional variable.
11482 (check): Use CHECK_TARGET.
11483 (DO_RUNTEST): New variable.
11484 (check-single): New target.
11485 (TEST_DIRS): New variable.
11486 (TEST_TARGETS): Likewise.
11487 (check-parallel): New target.
11488 (check-gdb.%): New pattern.
11489 (BASE1_FILES): New variable.
11490 (BASE2_FILES): Likewise.
11491 (check-gdb.base%): New pattern.
11492 (%/.dir): New pattern.
11493 * configure: Rebuild.
11494 * aclocal.m4 (AM_CONDITIONAL): New defun.
11495 * configure.ac: Check whether user is using GNU make.
11496 (GMAKE): New conditional.
11497
794684b6
SW
114982009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
11499
11500 * gdb.cp/namespace-nested-import.cc: New test.
11501 * gdb.cp/namespace-nested-import.exp: New test.
11502
edb3359d
DJ
115032009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
11506 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
11507 * gdb.opt/Makefile.in (EXECUTABLES): Update.
11508 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
11509 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
11510 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
11511 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
11512 gdb.opt/inline-markers.c: New files.
11513 * lib/gdb.exp (skip_inline_frame_tests): New function.
11514 (skip_inline_var_tests): New function.
11515
cf657a0c
AS
115162009-06-27 Andreas Schwab <schwab@linux-m68k.org>
11517
11518 * gdb.cp/exception.exp: Don't require $hex before inner frame in
11519 backtrace.
11520
28d41a99
MS
115212009-06-27 Michael Snyder <msnyder@vmware.com>
11522
11523 * gdb.reverse: New directory.
11524 * gdb.reverse/break-reverse.c: New test.
11525 * gdb.reverse/break-reverse.exp: New test.
11526 * gdb.reverse/consecutive-reverse.c: New test.
11527 * gdb.reverse/consecutive-reverse.exp: New test.
11528 * gdb.reverse/finish-reverse.c: New test.
11529 * gdb.reverse/finish-reverse.exp: New test.
11530 * gdb.reverse/machinestate.c: New test.
11531 * gdb.reverse/ms1.c: New test.
11532 * gdb.reverse/machinestate.exp: New test.
11533 * gdb.reverse/Makefile.in: New file.
11534 * gdb.reverse/shr2.c: New test.
11535 * gdb.reverse/solib-reverse.c: New test.
11536 * gdb.reverse/solib-reverse.exp: New test.
11537 * gdb.reverse/step-reverse.c: New test.
11538 * gdb.reverse/step-reverse.exp: New test.
11539 * gdb.reverse/until-reverse.c: New test.
11540 * gdb.reverse/ur1.c: New test.
11541 * gdb.reverse/until-reverse.exp: New test.
11542 * gdb.reverse/watch-reverse.c: New test.
11543 * gdb.reverse/watch-reverse.exp: New test.
11544 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
11545 * configure: Regenerate.
11546
fe3c8b0d
DE
115472009-06-26 Doug Evans <dje@google.com>
11548
11549 * gdb.base/psymtab.exp: Turn off pending breakpoints.
11550
3a72a602
PM
115512009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
11552
11553 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
11554 windows problem for 'file delete $binfile'.
11555
27aa8d6a
SW
115562009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
11557
11558 * gdb.cp/namespace-using.exp: New test.
11559 * gdb.cp/namespace-using.cc: New test.
11560
8ac055f8
JB
115612009-05-20 Joel Brobecker <brobecker@adacore.com>
11562
11563 * gdb.ada/variant_record_packed_array: New testcase.
11564
85e306ed
TT
115652009-06-23 Tom Tromey <tromey@redhat.com>
11566
11567 * gdb.base/charset.exp (test_combination): Regression test.
11568 * gdb.base/charset.c (my_wchar_t): New typedef.
11569 (myvar): New global.
11570 (main): Set myvar.
11571
56643c5e
PM
115722009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
11573
11574 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
11575 target.
11576
1fac167a
UW
115772009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11578
11579 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
11580
7ccb0be9
UW
115812009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11582
11583 * gdb.mi/gdb680.exp: Update test for error message.
11584
568d6575
UW
115852009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11586
11587 * gdb.base/annota1.exp: Allow multiple occurrences of the
11588 frames-invalid annotation.
11589 * gdb.cp/annota2.exp: Likewise.
11590
7cd1089b
PM
115912009-06-15 Phil Muldoon <pmuldoon@redhat.com>
11592
11593 * gdb.cp/gdb2495.cc: New file.
11594 * gdb.cp/gdb2495.exp: New file.
11595
72c63395
JK
115962009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11597
11598 Report error on GDB crash during runto.
11599 * lib/gdb.exp (runto <eof>): New.
11600
3788363d
DJ
116012009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
11602
11603 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
11604 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
11605 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
11606 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
11607 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
11608 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
11609 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
11610 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
11611 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
11612 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
11613 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
11614 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
11615 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11616 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
11617 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
11618 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
11619 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
11620 gdb.server/server-mon.exp, gdb.server/server-run.exp,
11621 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
11622 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
11623 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
11624 gdb.trace/passcount.exp, gdb.trace/report.exp,
11625 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
11626 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
11627 gdb.trace/while-stepping.exp: Use a unique name for the compiled
11628 executable.
11629
17592de3
PA
116302009-06-07 Pedro Alves <pedro@codesourcery.com>
11631
11632 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
11633 defined before referencing it.
11634
701e355d
DE
116352009-06-03 Doug Evans <dje@google.com>
11636
11637 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
11638 * gdb.arch/i386-see.c: Ditto.
11639
f2292c65
PM
116402009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
11641
11642 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
11643 (check_macro): Return 1 if undefined.
11644 If first test fails, check if macro debug information is available,
11645 and report unsupported test if no macro information is found.
11646
5a437975
DE
116472009-05-29 Doug Evans <dje@google.com>
11648
11649 * gdb.threads/hand-call-in-threads.exp: New.
11650 * gdb.threads/hand-call-in-threads.c: New.
11651
c141c696
MS
116522009-05-29 Michael Snyder <msnyder@vmware.com>
11653
11654 * gdb.base/break-always.exp: Change "1" to "on".
11655 Add confirmation check.
11656
b3444185
PA
116572009-05-28 Pedro Alves <pedro@codesourcery.com>
11658
11659 * gdb.threads/threxit-hop-specific.c: New.
11660 * gdb.threads/threxit-hop-specific.exp: New.
11661 * gdb.threads/thread-execl.c: New.
11662 * gdb.threads/thread-execl.exp: New.
11663
b6313243
TT
116642009-05-27 Tom Tromey <tromey@redhat.com>
11665 Thiago Jung Bauermann <bauerman@br.ibm.com>
11666
11667 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
11668 (mi_child_regexp): Likewise.
11669 (mi_list_varobj_children_range): Likewise.
11670 (mi_get_features): Likewise.
11671 (mi_list_varobj_children): Rewrite.
11672 * gdb.python/python-mi.exp: New file.
11673
a6bac58e
TT
116742009-05-27 Tom Tromey <tromey@redhat.com>
11675 Thiago Jung Bauermann <bauerman@br.ibm.com>
11676 Phil Muldoon <pmuldoon@redhat.com>
11677 Paul Pluzhnikov <ppluzhnikov@google.com>
11678
11679 * gdb.python/python-prettyprint.exp: New file.
11680 * gdb.python/python-prettyprint.c: New file.
11681 * gdb.python/python-prettyprint.py: New file.
11682 * gdb.base/display.exp: print/r is now valid.
11683
2c74e833
TT
116842009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
11685 Tom Tromey <tromey@redhat.com>
11686 Pedro Alves <pedro@codesourcery.com>
11687 Paul Pluzhnikov <ppluzhnikov@google.com>
11688
11689 * gdb.python/python-template.exp: New file.
11690 * gdb.python/python-template.cc: New file.
11691 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11692 tests.
11693 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11694 Call it.
11695 (test_value_after_death): New proc.
11696 * gdb.python/python-value.c (PTR): New typedef.
11697 (main): New variable 'x'.
11698
89c73ade
TT
116992009-05-27 Tom Tromey <tromey@redhat.com>
11700
11701 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11702 tests.
11703 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11704 Call it.
11705
a75724bc
PA
117062009-05-27 Pedro Alves <pedro@codesourcery.com>
11707
11708 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
11709
e58b0e63
PA
117102009-05-24 Pedro Alves <pedro@codesourcery.com>
11711
11712 * gdb.threads/fork-thread-pending.c: New.
11713 * gdb.threads/fork-thread-pending.exp: New.
11714
4ac36638
JK
117152009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11716
11717 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
11718 * gdb.dwarf2/dw2-strp.S (a_string2): New.
11719
889bf7c5 117202009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 11721
889bf7c5 11722 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 11723
b242c3c2
PA
117242009-05-17 Pedro Alves <pedro@codesourcery.com>
11725
11726 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
11727 `gdb_get_line_number'. Call `callee' in both parent and child.
11728 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
11729 `gdb_get_line_number' instead of hardcoding line numbers.
11730 (catch_fork_unpatch_child): New procedure to test detaching
11731 breakpoints from child fork.
11732 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
11733 hardcoding line numbers.
11734 (do_fork_tests): Run `catch_fork_unpatch_child'.
11735
ee342b23
VP
117362009-05-17 Vladimir Prus <vladimir@codesourcery.com>
11737
11738 * gdb.mi/mi-cmd-var.exp: Check that when varobj
11739 of structure type enters or leaves the scope, it
11740 is reported by -var-update.
11741
e2009e98
DE
117422009-05-11 Doug Evans <dje@sebabeach.org>
11743
11744 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 11745 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
11746 * gdb.threads/schedlock.c (main): Fix off-by-one error.
11747
00903456
JK
117482009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11749
11750 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
11751
dc621c35
DE
117522009-04-30 Doug Evans <dje@google.com>
11753
11754 * gdb.threads/watchthreads2.exp: New testcase.
11755 * gdb.threads/watchthreads2.c: New testcase.
11756
9ab4e744
DE
117572009-04-29 Doug Evans <dje@google.com>
11758
11759 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
11760 * gdb.cp/mb-ctor.cc: Ditto.
11761 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
11762 * gdb.cp/mb-inline.h (multi_line_foo): New function.
11763 * gdb.cp/mb-inline1.cc: Call it.
11764 * gdb.cp/mb-inline2.cc: Ditto.
11765 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
11766 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
11767
484086b7
JK
117682009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11769
11770 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
11771 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
11772 Replace all uses of `decimal' by `nonzero'.
11773 (info macro FROM_COMMANDLINE): New test.
11774
379a77b5
TT
117752009-04-27 Tom Tromey <tromey@redhat.com>
11776
11777 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
11778
b92b73c2
DE
117792009-04-27 Doug Evans <dje@google.com>
11780
11781 * gdb.threads/watchthreads.c (main): Initialize args before starting
11782 the threads. Plus formatting cleanup.
11783 * gdb.threads/watchthreads.exp: Avoid errant failures due to
11784 biased scheduling of one thread.
11785
945a118d
JG
117862009-04-27 Jerome Guitton <guitton@adacore.com>
11787
11788 * gdb.cp/templates.cc (GetMax): New template.
11789 (main): Declare two instances of GetMax.
11790 * gdb.cp/templates.exp: Add new test.
11791
d389af10
JK
117922009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11793
11794 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
11795
e7f86de9
JM
117962009-04-22 Joseph Myers <joseph@codesourcery.com>
11797
11798 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
11799
334cc82d
TT
118002009-04-15 Tom Tromey <tromey@redhat.com>
11801
11802 * gdb.base/charset.exp: Add regression test.
11803
d12672cc
JB
118042009-04-14 Joel Brobecker <brobecker@adacore.com>
11805
11806 * gdb.base/exe-lock.exp: New testcase.
11807
18e8c3bc
TT
118082009-04-13 Tom Tromey <tromey@redhat.com>
11809
11810 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
11811 operator on Frame.
11812
5ecd5cbe
UW
118132009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11814
11815 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11816 * gdb.server/ext-attach.exp: Likewise.
11817
7309f756
VP
118182009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11819
11820 Eliminate some sleep usage.
11821
889bf7c5
PA
11822 * gdb.mi/basics.c (do_nothing): New.
11823 (main): Use do_nothing instead of printf, so that
11824 not to introduce race condition between output of
11825 inferiour and output of gdb. Do not use sleep as it
11826 is not generally available on embedded targets.
7309f756 11827
f4b95f6f
PA
118282009-04-02 Pedro Alves <pedro@codesourcery.com>
11829
11830 * gdb.server/ext-attach.exp: Expect an optional process id after
11831 "Detached from remote process".
11832
de40b933
JK
118332009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11834
11835 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11836 gdb.dwarf2/dw2-unresolved.exp: New.
11837
2ae101a4
PA
118382009-04-02 Pedro Alves <pedro@codesourcery.com>
11839
11840 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11841 mi_run_to_main.
11842
56a8e183
PA
118432009-04-02 Pedro Alves <pedro@codesourcery.com>
11844
11845 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11846 mi_run_to_main. Skip thread exit test on remote targets.
11847 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11848 mi_run_to_main.
11849 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11850 mi_run_to_main.
11851 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11852 when expecting ^connected. Detect when the target doesn't support
11853 non-stop mode.
11854 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11855 supported. Return -1 on error, 0 on success.
11856 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11857 (mi_runto): Return mi_runto_helper's result explicitly.
11858
c35fafde
PA
118592009-04-01 Pedro Alves <pedro@codesourcery.com>
11860
11861 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11862
f8a8dce6
JB
118632009-04-01 Tom Tromey <tromey@redhat.com>
11864
11865 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11866 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11867 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11868 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11869
71c25dea
TT
118702009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11871 Jan Kratochvil <jan.kratochvil@redhat.com>
11872
11873 PR gdb/931
11874 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11875 output.
11876 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11877 for gdb/931.
11878 * dw2-strp.S (DW_AT_language): Change to C++.
11879 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11880
02d9a9ce
JB
118812009-03-31 Joel Brobecker <brobecker@adacore.com>
11882
11883 * gdb.ada/tasks: New testcase.
11884
1042e4c0
SS
118852009-03-30 Stan Shebs <stan@codesourcery.com>
11886
11887 * gdb.trace/actions.exp: Update to match new info trace format.
11888 * gdb.trace/deltrace.exp: Ditto.
11889 * gdb.trace/infotrace.exp: Ditto.
11890 * gdb.trace/passcount.exp: Ditto.
11891 * gdb.trace/save-trace.exp: Ditto.
11892 * gdb.trace/while-stepping.exp: Ditto.
11893 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11894
f8f6f20b
TJB
118952009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11896
11897 * gdb.python/python-frame.c: New file.
11898 * gdb.python/python-frame.exp: New file.
11899
c0c6f777
TJB
119002009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11901
11902 * gdb.python/python-value.exp: Add tests for the address
11903 attribute.
11904
3cb51905
AS
119052009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11906
11907 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11908
88fc996f
DE
119092009-03-26 Doug Evans <dje@google.com>
11910
11911 * gdb.mi/mi-nonstop-exit.exp: New file.
11912 * gdb.mi/non-stop-exit.c: New file.
11913
56ef84b1
TT
119142009-03-26 Tom Tromey <tromey@redhat.com>
11915
11916 Update for change to prologue skipping:
11917 * gdb.mi/mi2-simplerun.exp: Update.
11918 * gdb.mi/mi2-break.exp: Update.
11919 * gdb.mi/mi-simplerun.exp: Update.
11920 * gdb.mi/mi-break.exp: Update.
11921 * gdb.base/ending-run.exp: Update.
11922
def2b000
TJB
119232009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11924
11925 * gdb.python/python-value.exp (test_value_in_inferior): Test
11926 gdb.Value.is_optimized_out attribute.
11927
442ddf59
JK
119282009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11929
11930 * gdb.dwarf2/dw2-noloc-main.c: New file.
11931 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11932 (.text): Remove.
11933 (.data): New.
11934 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11935 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11936 (DW_TAG_subprogram func_cu1, noloc): Remove.
11937 (main): New.
11938 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11939 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11940 (file_symbols): New procedure.
11941
a8df5de4
TT
119422009-03-25 Tom Tromey <tromey@redhat.com>
11943
11944 * gdb.base/charset.exp (valid_target_charset): New proc.
11945 Use it to skip tests on invalid charsets.
11946
cc1d7add
PM
119472009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11948
11949 * gdb.base/completion.exp: Add a test for directory completion.
11950
bcd5727b
JK
119512009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11952
11953 Fix a racy FAIL.
11954 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11955 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11956
cc924cad
TJB
119572009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11958
11959 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11960 * gdb.python/python-function.exp: Add test for function returning
11961 a GDB value.
11962
bc3b79fd
TJB
119632009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11964
11965 * gdb.python/python-function.exp: New file.
11966
6c7a06a3
TT
119672009-03-20 Tom Tromey <tromey@redhat.com>
11968
11969 * gdb.base/store.exp: Update for change to escape output.
11970 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11971 to escape output.
11972 * gdb.base/pointers.exp: Update for change to escape output.
11973 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11974 to escape output.
11975 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11976 escape output.
11977 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11978 to escape output.
11979 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11980 escape output.
11981 * gdb.base/setvar.exp: Update for change to escape output.
11982 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11983 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11984 to escape output.
11985 (test_print_string_constants): Likewise.
11986 * gdb.base/charset.exp (valid_host_charset): Check size of
11987 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11988 cases. Handle "auto"-related output.
11989 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11990 (uvar, Uvar): New globals.
11991
c31af87b
JG
119922009-03-19 Jerome Guitton <guitton@adacore.com>
11993
11994 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11995 deltas.
11996 * gdb.ada/fixed_points.exp: Ditto.
11997
51272cf2
PA
119982009-03-18 Pedro Alves <pedro@codesourcery.com>
11999
12000 * return-nodebug.c: Don't include stdio.h.
12001 (init): Delete.
12002 (func): Delete definition and provide extern declaration.
12003 (t): New.
12004 (main): Don't call printf. Call func and store its result in t.
12005 * return-nodebug1.c: New.
12006 * return-nodebug.exp: Don't expect stdio output. Instead, print
12007 the global variable t. Drop printf formatters and cast types from
12008 foreach loop. Don't use prepare_for_testing. Compile
12009 return-nodebug.c and return-nodebug1.c in separate steps. Don't
12010 define FORMAT or CAST.
12011
d24948ac
PP
120122009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12013
12014 * gdb.base/solib-display.exp: Disable test for remote targers.
12015
61ff14c6
JK
120162009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12017
12018 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
12019
cb4dce93
JK
120202009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12021
12022 Fix a racy FAIL.
12023 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
12024 code from `follow parent, print pids'.
12025 (`follow child, print pids', `follow parent, print pids'): Call it.
12026 Replace `gdb_test "break..."' by gdb_breakpoint.
12027
f7c60c5e
VP
120282009-03-13 Vladimir Prus <vladimir@codesourcery.com>
12029
12030 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 12031 sync and async modes.
f7c60c5e 12032
383ace49
JB
120332009-03-12 Joel Brobecker <brobecker@adacore.com>
12034
12035 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
12036 that was checked in by mistake. Remove loading of ada.exp, since
12037 this is not necessary in this case.
12038
4ce102af
JB
120392009-03-12 Joel Brobecker <brobecker@adacore.com>
12040
12041 * gdb.ada/ptype_arith_binop.exp: New testcase.
12042
529a2aef
JB
120432009-03-12 Joel Brobecker <brobecker@adacore.com>
12044
12045 * gdb.ada/mod_from_name: New testcase.
12046
8a38181c
JB
120472009-03-12 Joel Brobecker <brobecker@adacore.com>
12048
12049 * gdb.ada/tick_last_segv: New testcase.
12050
11436dee
VP
120512009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12052
61ff14c6 12053 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 12054
1f31650a
VP
120552009-03-12 Vladimir Prus <vladimir@codesourcery.com>
12056
61ff14c6
JK
12057 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
12058 include the token in ^running and frame info in *stopped.
1f31650a 12059
a3247a22
PP
120602009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12061
12062 * solib-display.exp: New file.
12063 * solib-display-main.c: New file.
12064 * solib-display-lib.c: New file.
61ff14c6 12065
aae64587
PA
120662009-03-05 Pedro Alves <pedro@codesourcery.com>
12067
12068 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
12069
44aabfbc
JK
120702009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12071
12072 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
12073 (list_and_check_macro): Use more specific test name.
12074 (next to definition): Make the test names unique.
12075
c087fcd3
PM
120762009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
12077
12078 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 12079
c86cf029
VP
120802009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12081
12082 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
12083 notifications.
12084 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
12085 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
12086 * lib/mi-support.exp (library_loaded_re): New.
12087 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
12088
3ea85240
VP
120892009-02-17 Vladimir Prus <vladimir@codesourcery.com>
12090
12091 * gdb.gdb/observer.exp: Use test_notification observer, not
12092 normal_stop, everywhere.
12093 (test_normal_stop_notifications): Rename to...
12094 (test_notifications): ...this.
12095 (test_observer_normal_stop): Rename to...
12096 (test_observer): ...this.
12097
1903f0e6
DE
120982009-02-16 Doug Evans <dje@google.com>
12099
12100 * gdb.arch/amd64-disp-step.S (test_int3): New test.
12101 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
12102 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
12103 (test_prefixed_syscall,test_int3): New tests.
12104 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
12105 (test_prefixed_syscall,test_int3): New tests.
12106
1d33d6ba
VP
121072009-02-14 Vladimir Prus <vladimir@codesourcery.com>
12108
3cb51905
AS
12109 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
12110 (mi_expect_interrupt): Likewise.
12111 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
12112 response.
1d33d6ba 12113
faafb047
PM
121142009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12115
12116 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
12117 * gdb.base/pc-fp.exp (get_valueofx): Remove.
12118 Replace calls to get_valueofx by get_hexadecimal_valueof.
12119
417e16e2
PM
121202009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12121
12122 * lib/gdb.exp (get_valueof): Accept anything as a return value.
12123 (get_integer_valueof): New procedure.
12124 (get_sizeof): Use new get_integer_value_of.
12125 * gdb.base/sizeof.exp: Replace all uses of get_valueof
12126 by get_integer_valueof.
12127
7065b901
TT
121282009-02-13 Tom Tromey <tromey@redhat.com>
12129
12130 * gdb.base/remote.exp (get_sizeof): Remove.
12131 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
12132 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
12133 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
12134 * lib/gdb.exp (get_valueof): Move from long_long.exp.
12135 (get_sizeof): Likewise.
12136
5d7cb8df
JK
121372009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12138
12139 PR fortran/9806
12140 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
12141
b2febfff
PP
121422009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12143
12144 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
12145
4aa995e1
PA
121462009-02-06 Pedro Alves <pedro@codesourcery.com>
12147
12148 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
12149
d8906c6f
TJB
121502009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12151
12152 * gdb.python/python-cmd.exp: New file.
12153
ff4ab08d
TG
121542009-02-06 Tristan Gingold <gingold@adacore.com>
12155
12156 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
12157
aacd552b
TG
121582009-02-05 Tristan Gingold <gingold@adacore.com>
12159
12160 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
12161 pointer is dereferenced and use this signal name in regexp.
12162 * gdb.base/signull.exp: Ditto.
12163 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
12164 * gdb.base/signull.c (main): Ditto.
12165
08c637de
TJB
121662009-02-04 Tom Tromey <tromey@redhat.com>
12167 Thiago Jung Bauermann <bauerman@br.ibm.com>
12168
12169 * gdb.python/python-value.exp: Use `gdb.history' instead of
12170 `gdb.value_from_history'.
12171 (test_value_numeric_ops): Add test for conversion of enum constant.
12172 * gdb.python/python-value.c (enum e): New type.
12173 (evalue): New global.
12174 (main): Use argv.
12175
20261af8
JG
121762009-02-04 Jerome Guitton <guitton@adacore.com>
12177
12178 * gdb.ada/uninitialized_vars: New test program.
12179 * gdb.ada/uninitialized_vars.exp: New testcase.
12180
52e44b43
TT
121812009-02-02 Tom Tromey <tromey@redhat.com>
12182
12183 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
12184 * gdb.cp/pr2489.cc: Rename...
12185 * gdb.cp/pr9594.cc: ... to this.
12186
1c71341a
TT
121872009-02-02 Tom Tromey <tromey@redhat.com>
12188
12189 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
12190 * gdb.cp/pr2489.cc: New file.
12191 * gdb.cp/cpcompletion.exp: New file.
12192
a4295225
TT
121932009-02-02 Tom Tromey <tromey@redhat.com>
12194
12195 PR exp/9059:
12196 * gdb.cp/call-c.exp: Add regression test.
12197 * gdb.cp/call-c.cc (FooHandle): New typedef.
12198 (main): New variable 'handle'.
12199
592375cd
VP
122002009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12201
12202 * lib/mi-support.exp (et_mi_thread_list)
12203 (check_mi_and_console_threads): Adjust for current thread in
12204 -thread-list-ids output.
12205
41447f92
VP
122062009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12207
889bf7c5
PA
12208 * gdb.mi/mi-break.exp (test_disabled_creation): New.
12209 Call it.
41447f92 12210
35669430
DE
122112009-01-28 Doug Evans <dje@google.com>
12212
12213 * gdb.arch/amd64-disp-step.S: New file.
12214 * gdb.arch/amd64-disp-step.exp: New file.
12215 * gdb.arch/i386-disp-step.S: New file.
12216 * gdb.arch/i386-disp-step.exp: New file.
12217
09f00d9a
PM
122182009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
12219
12220 * gdb.base/find.exp: Set newline variable
12221 using quotes instead of braces to fix cygwin failures.
12222
1e8fb976
PA
122232009-01-23 Pedro Alves <pedro@codesourcery.com>
12224
12225 * gdb.base/radix.exp: Add tests to ensure that that set
12226 input-radix 0 and set output-radix 0 are really rejected.
12227
da061712
PA
122282009-01-23 Pedro Alves <pedro@codesourcery.com>
12229
12230 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
12231 copyright years.
12232
dd7e2d2b
PA
122332009-01-23 Pedro Alves <pedro@codesourcery.com>
12234
12235 PR gdb/9664:
12236 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
12237
392452f6
PA
122382009-01-22 Pedro Alves <pedro@codesourcery.com>
12239
12240 PR c++/9631:
12241 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
12242
8653e71c
PM
122432009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
12244
12245 * gdb.server/file-transfer.exp: Use EXEEXT variable for
12246 binfile definition to fix Windows OS failure.
12247
a12cc160
DJ
122482009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12249
12250 PR gdb/9346
12251 * gdb.base/interrupt.c (sigint_handler): New.
12252 (main): Install a SIGINT handler if SIGNALS is defined. Exit
12253 on error.
12254 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
12255 Test "signal SIGINT".
12256
b89667eb
DE
122572009-01-19 Doug Evans <dje@google.com>
12258
12259 * gdb.base/break.exp: Update expected gdb output.
12260 * gdb.base/sepdebug.exp: Ditto.
12261 * gdb.mi/mi-syn-frame.exp: Ditto.
12262 * gdb.mi/mi2-syn-frame.exp: Ditto.
12263 * gdb.base/call-signal-resume.exp: New file.
12264 * gdb.base/call-signals.c: New file.
12265 * gdb.base/unwindonsignal.exp: New file.
12266 * gdb.base/unwindonsignal.c: New file.
12267 * gdb.threads/interrupted-hand-call.exp: New file.
12268 * gdb.threads/interrupted-hand-call.c: New file.
12269 * gdb.threads/thread-unwindonsignal.exp: New file.
12270
adb483fe
DJ
122712009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
12272
12273 * gdb.base/define.exp: Test defining and hooking prefix commands.
12274 * gdb.python/python.exp: Update test for "show user" output.
12275
60023297
JK
122762009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12277
12278 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
12279 now the output exactly, using less wildcards. Expect also the output
12280 of gfortran-4.3. Update for the f-valprint.c modification from
12281 2008-04-22.
12282 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
12283 Remove gdb_test test names where matching the command.
12284
ccc57cf9
PA
122852009-01-01 Pedro Alves <pedro@codesourcery.com>
12286
12287 PR breakpoints/9681:
12288 * gdb.base/watchpoint.exp: Add regression test.
12289
c7a6ca08
PA
122902008-12-31 Pedro Alves <pedro@codesourcery.com>
12291
12292 * gdb.threads/attach-into-signal.exp: Don't use
12293 gdb_suppress_entire_file.
12294 * gdb.threads/attach-stopped.exp: Ditto.
12295 * gdb.threads/attachstop-mt.exp: Ditto.
12296
3a031f65
PA
122972008-12-31 Pedro Alves <pedro@codesourcery.com>
12298
12299 PR gdb/8812:
12300 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
12301
09e6485f
PA
123022008-12-29 Pedro Alves <pedro@codesourcery.com>
12303
12304 PR gdb/7536:
12305 * gdb.base/radix.exp: Add tests to ensure invalid input radices
12306 and unsupported output radices are really rejected.
12307
0cd53049
JK
123082008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12309
12310 * gdb.cp/punctuator.exp: Backslash the '$' signs.
12311
ba163c7e
TT
123122008-12-22 Tom Tromey <tromey@redhat.com>
12313
12314 * gdb.cp/punctuator.exp: New file.
12315
6f4de6c9
JK
123162008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12317
12318 * gdb.base/completion.exp (Completing non-existing component): New test.
12319
0f34d0b4
JK
123202008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12321
12322 Fix for PR gdb/8648.
12323 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
12324 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
12325 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
12326 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
12327
db2ad4c3
JK
123282008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12329
12330 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
12331
bb5ef15e
DP
123322008-12-16 Christophe Lyon <christophe.lyon@st.com>
12333
12334 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
12335 compiler actually generate code at the expected line number.
12336
90142adc
JZ
123372008-12-15 Jie Zhang <jie.zhang@analog.com>
12338
12339 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
12340
fad6eecd
TT
123412008-12-12 Tom Tromey <tromey@redhat.com>
12342
12343 * gdb.base/commands.exp (redefine_hook_test): New proc.
12344 Call it.
12345
17c8aaf5
TT
123462008-12-11 Tom Tromey <tromey@redhat.com>
12347
12348 * gdb.base/macscp.exp: New regression test.
12349
7c8adf68
TT
123502008-12-11 Tom Tromey <tromey@redhat.com>
12351
12352 * gdb.base/macscp.exp: Print "address.addr".
12353 * gdb.base/macscp1.c (struct outer): New struct.
12354 (address): New global.
12355
b05dcbb7
TT
123562008-12-09 Tom Tromey <tromey@redhat.com>
12357
12358 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
12359 Call it.
12360
2d476de1
DE
123612008-12-04 Doug Evans <dje@google.com>
12362
12363 * gdb.server/ext-run.exp: Relax regexp for init program.
12364
87bdc959
TG
123652008-12-03 Tristan Gingold <gingold@adacore.com>
12366
12367 * gdb.base/macscp.exp: Generate an object file during compilation
12368 to work around Darwin dsymutil limitations.
12369
e0740f77
JK
123702008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12371
12372 Test resolving external references to TLS variables.
12373 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
12374 FILE2_THREAD_LOCAL.
12375 (testfile2, srcfile2): New variables.
12376 * gdb.threads/tls.c (file2_thread_local)
12377 (function_referencing_file2_thread_local): New.
12378 * gdb.threads/tls2.c: New file.
12379
67f0aac5
JB
123802008-11-28 Joel Brobecker <brobecker@adacore.com>
12381
12382 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
12383 rather than integer, as integer might not be big enough when
12384 on 64bit targets.
67f0aac5 12385
c332165e
JG
123862008-11-27 Jerome Guitton <guitton@adacore.com>
12387
12388 * gdb.cp/formatted-ref.exp: Add equality test.
12389 * gdb.ada/formatted_ref.exp: Ditto.
12390
fc9b693c
JK
123912008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12392
12393 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
12394 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
12395
a9c64011
AS
123962008-11-20 Andreas Schwab <schwab@suse.de>
12397
12398 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
12399 matching syscall entry point.
12400 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12401 (tcatch_vfork_then_child_follow): Likewise. Finish through
12402 vfork even if we stopped at the syscall trampoline.
12403
e2fd701e
DE
124042008-11-20 Doug Evans <dje@google.com>
12405
12406 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
12407
69abc51c
TJB
124082008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
12409
12410 * gdb.arch/ppc-dfp.exp: New file.
12411 * gdb.arch/ppc-dfp.c: New file.
12412
c14c28ba
PP
124132008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12414
12415 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 12416
2e74121d
DE
124172008-11-17 Doug Evans <dje@google.com>
12418
12419 * gdb.mi/mi-syn-frame.exp: Update expected output.
12420 * gdb.mi/mi2-syn-frame.exp: Update expected output.
12421
66bb093b
VP
124222008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12423
12424 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
12425 "thread N" results in =thread-selected.
12426 * lib/mi-support (mi_run_cmd, mi_expect_stop)
12427 (mi_send_resuming_command_raw): Be prepared for
12428 =thread-selected.
12429
3d043ef6
VP
124302008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12431
a9c64011
AS
12432 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
12433 * lib/mi-support.exp: Likewise.
3d043ef6 12434
808104c8
JB
124352008-11-16 Joel Brobecker <brobecker@adacore.com>
12436
12437 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
12438 commands from the expected output for "help catch".
12439
00b22944
JB
124402008-11-15 Joel Brobecker <brobecker@adacore.com>
12441
12442 * gdb.ada/int_deref.exp: New testcase.
12443
59669435
TT
124442008-11-14 Nick Roberts <nickrob@snap.net.nz>
12445
12446 * gdb.mi/gdb2549.exp: New file.
12447
de04a248
DE
124482008-11-11 Doug Evans <dje@google.com>
12449
12450 * gdb.base/callexit.exp: New file.
12451 * gdb.base/callexit.c: New file.
12452
6b8ce727
DE
124532008-11-10 Doug Evans <dje@google.com>
12454
12455 * lib/gdb.exp (GDBFLAGS): Move -nx ...
12456 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
12457 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
12458 (default_gdb_start,default_gdb_exit): Ditto.
12459 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
12460 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
12461 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
12462 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
12463 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
12464 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
12465
1b14b8aa
AS
124662008-11-03 Andreas Schwab <schwab@suse.de>
12467
12468 * gdb.base/hashline2.exp: Fix typo.
12469 * gdb.base/hashline3.exp: Likewise.
12470
f3134b88
TT
124712008-10-30 Tom Tromey <tromey@redhat.com>
12472
12473 * gdb.base/pointers.exp: Add test.
12474 * gdb.base/pointers.c (k, S): New typedefs.
12475 (instance): New global.
12476
c2226152
AS
124772008-10-30 Andreas Schwab <schwab@suse.de>
12478
12479 * gdb.base/args.exp: Add tests for newlines.
12480
462f405c
JB
124812008-10-30 Joel Brobecker <brobecker@adacore.com>
12482
12483 gdb.base/foll-exec.exp: Update the expected output of a couple
12484 of "info breakpoints" tests.
12485
79a45b7d
TT
124862008-10-28 Tom Tromey <tromey@redhat.com>
12487
12488 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
12489
adc13a14
PA
124902008-10-24 Pedro Alves <pedro@codesourcery.com>
12491
12492 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
12493 gdb_start_cmd.
12494 Use runto_main before any test that requires execution.
12495
252fbfc8
PA
124962008-10-23 Pedro Alves <pedro@codesourcery.com>
12497
12498 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
12499 instead of SIGINT.
12500
28148e3d
JB
125012008-10-22 Joel Brobecker <brobecker@adacore.com>
12502
12503 * gdb.base/completion.exp: Update expected output following
12504 the addition of the "info tasks" command.
12505
c209f847
TT
125062008-10-22 Tom Tromey <tromey@redhat.com>
12507
12508 * gdb.base/exprs.exp (test_expr): Add test for string
12509 concatenation.
12510
f177e350
PA
125112008-10-19 Pedro Alves <pedro@codesourcery.com>
12512
12513 * configure.ac: Output gdb.python/Makefile.
12514 * configure: Regenerate.
12515 * gdb.python/Makefile.in: New.
12516
cce89356
JB
125172008-10-16 Joel Brobecker <brobecker@adacore.com>
12518
12519 * gdb.base/foll-fork.exp: Adjust the expected output to match
12520 the new description for fork/vfork catchpoints in the "info
12521 breakpoints" output.
12522
176d289d
TJB
125232008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12524
12525 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
12526
a08702d6
TJB
125272008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12528
12529 * gdb.python/python-value.c: New file.
12530 * gdb.python/python-value.exp: New file.
12531
1c5cfe86
PA
125322008-10-15 Pedro Alves <pedro@codesourcery.com>
12533
12534 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
12535
5a98ad69
DP
125362008-10-15 Denis Pilat <denis.pilat@st.com>
12537
41702f1b 12538 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 12539
dcb1a1e2
TT
125402008-10-09 Tom Tromey <tromey@redhat.com>
12541
12542 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
12543 'fprintf' and 'stderr'.
12544
9124fe48
JB
125452008-10-07 Joel Brobecker <brobecker@adacore.com>
12546
12547 * gdb.ada/ref_tick_size.exp: New testcase.
12548
45452591
DE
125492008-10-06 Doug Evans <dje@google.com>
12550
12551 * gdb.dwarf2/dw2-cu-size.exp: New file.
12552 * gdb.dwarf2/dw2-cu-size.S: New file.
12553
12554 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
12555 .Ltype_int for clarity.
12556
4fc5b208
PP
125572008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12558
12559 PR gdb/2384:
12560 * gdb.cp/gdb2384.exp: Extended to test more cases.
12561 * gdb.cp/gdb2384.cc: Likewise.
12562 * gdb.cp/gdb2384-base.h: Likewise.
12563 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 12564
d78df370
JK
125652008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12566
12567 * gdb.base/maint.exp (maint print type): Remove printing
12568 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
12569
9a044a89
TT
125702008-09-30 Tom Tromey <tromey@redhat.com>
12571
12572 * gdb.base/macscp.exp: Add completion tests.
12573 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
12574 (TWENTY_THREE): Likewise.
12575 (FORTY_EIGHT): Likewise.
12576
506800a9
TT
125772008-09-30 Tom Tromey <tromey@redhat.com>
12578
12579 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
12580 everywhere.
12581 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
12582
1a6f01b5
JK
125832008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12584
12585 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
12586 testcase is derived from. Fix racy dependency on an expected PID
12587 number. No longer support the testcase on Linux kernel 2.4.x.
12588
2fae03e8
TT
125892008-09-27 Tom Tromey <tromey@redhat.com>
12590
12591 * gdb.base/macscp.exp: Add tests for stringification, splicing,
12592 and varargs.
12593
1ad15515
PA
125942008-09-22 Pedro Alves <pedro@codesourcery.com>
12595
12596 * lib/mi-support.exp (mi_expect_interrupt): New.
12597 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
12598 from gdb.mi/mi-nonstop.exp.
12599 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
12600 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
12601 lib/mi-support.exp.
12602 Use mi_check_thread_states throughout. Avoid ".*" and do not
12603 require an anchor after -exec-run.
12604
d0b76dc6
DJ
126052008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
12606
12607 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
12608 stop is pending. Avoid ".*" when two stops are pending.
12609 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
12610 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
12611 newlines in fullnames.
12612 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
12613 (mi_expect_stop): Update comments. Only anchor in sync mode.
12614 Do not match newlines.
12615 (mi_send_resuming_command_raw): Always return status.
12616 (mi_get_stop_line): Do not match more than one line by accident.
12617 Only anchor in sync mode.
12618 (mi_run_inline_test): If -exec-next fails, give up.
12619
9990c830
UW
126202008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12621
12622 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
12623 on SPU.
12624
ebcf6f00
JB
126252008-09-10 Joel Brobecker <brobecker@adacore.com>
12626
12627 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
12628
b6db24e5
JB
126292008-09-10 Joel Brobecker <brobecker@adacore.com>
12630
12631 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
12632 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
12633 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
12634 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
12635 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
12636 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
12637 gdb.ada/interface.exp, gdb.ada/null_array.exp,
12638 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
12639 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
12640 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
12641 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
12642 Include the "= " sequence in the expected output of print tests.
12643
2bf448e0
JB
126442008-09-10 Joel Brobecker <brobecker@adacore.com>
12645
12646 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
12647 description for boolean types.
12648
d51fd4c8
PA
126492008-09-09 Pedro Alves <pedro@codesourcery.com>
12650
12651 * gdb.base/hook-stop-continue.c: New.
12652 * gdb.base/hook-stop-continue.exp: New.
12653
694182d2
DJ
126542008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12655
12656 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
12657
3b8a7fc0
JG
126582008-09-08 Jerome Guitton <guitton@adacore.com>
12659
12660 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
12661 (stack_check_probe_2, stack_check_probe_loop_1)
12662 (stack_check_probe_loop_2): New functions.
12663 (main): Add call to these new functions.
12664 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
12665 functions, check that the breakpoint is inserted at the appropriate
12666 location.
12667 (insert_breakpoint): Slightly refine this procedure so that it can
12668 be called several times in the test.
12669
96cc0ae8
JG
126702008-09-08 Jerome Guitton <guitton@adacore.com>
12671
12672 * gdb.base/stack-checking.c: New file.
12673 * gdb.base/stack-checking.exp: New file.
12674
1f08b409
TJB
126752008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12676
12677 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
12678 * gdb.arch/altivec-regs.exp: Likewise.
12679 * gdb.arch/vsx-regs.exp: Likewise.
12680
3099e1c4
TJB
126812008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12682
12683 * gdb.arch/ppc-fp.exp: New file.
12684 * gdb.arch/ppc-fp.c: New file.
12685
cc69bfc1
PP
126862008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12687
12688 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
12689 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 12690
b02a33db
MS
126912008-09-04 Michael Snyder <msnyder@vmware.com>
12692
12693 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
12694 as "at" (for non-debug functions such as _start).
12695
2992cbe0
UW
126962008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12697
12698 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
12699 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
12700 software watchpoints.
12701 * gdb.base/watch_thread_num.exp: Likewise.
12702
514f746b
AR
127032008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
12704
12705 * gdb.arch/i386-bp_permanent.exp: New test.
12706
876cecd0
TT
127072008-08-24 Tom Tromey <tromey@redhat.com>
12708
12709 * gdb.base/maint.exp: Update "maint print type".
12710
80f73d71
VP
127112008-08-21 Vladimir Prus <vladimir@codesourcery.com>
12712
12713 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
12714 support. Adjust the order of "*running" notifications.
12715 * gdb.mi/non-stop.c: Don't cast from int to void* and
12716 back.
12717
d9c78d7d
MK
127182008-08-20 Mark Kettenis <kettenis@gnu.org>
12719
12720 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
12721 expect to find it in the "info frame" output.
12722
97a2d1d3
DJ
127232008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
12724
12725 * gdb.base/interp.exp: Always consume both prompts.
12726
b96e2927
PA
127272008-08-20 Pedro Alves <pedro@codesourcery.com>
12728
12729 * gdb.base/pending.exp: Test pending breakpoints without symbols
12730 loaded.
12731
8cf6e61a
VP
127322008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12733
12734 * lib/mi-support.exp (mi_expect_stop): Produce
12735 more details on failures.
12736 * gdb.mi/mi-nonstop.exp: New.
12737 * gdb.mi/non-stop.c: New.
12738
c6ebd6cf
VP
127392008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12740
a9c64011
AS
12741 * gdb.mi/mi-async.exp: Use 'set target-async'.
12742 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 12743
46a9b8ed
DJ
127442008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
12745
12746 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
12747
44feb3ce
TT
127482008-08-17 Tom Tromey <tromey@redhat.com>
12749
12750 * gdb.base/help.exp (help catch): Rewrite.
12751
311a4e6b
TJB
127522008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12753
12754 * gdb.base/define.exp: Test indented command documentation.
12755 * gdb.python/python.exp: Test indented multi-line command.
12756
604c2f83
LM
127572008-08-15 Luis Machado <luisgpm@br.ibm.com>
12758
12759 * testsuite/gdb.arch/vsx-regs.c: New source file.
12760 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
12761 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
12762
886a217c
TT
127632008-08-14 Tom Tromey <tromey@redhat.com>
12764
12765 * gdb.base/macscp.exp: Add regression test for "macro define" or
12766 "macro undef" with no arguments.
12767
c814a4f3
PP
127682008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12769
12770 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 12771
12ab8a60
UW
127722008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12773
12774 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
12775
d57a3c85
TJB
127762008-08-06 Tom Tromey <tromey@redhat.com>
12777
12778 * gdb.python/python.exp: New file.
12779
c7b778ff
JK
127802008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12781
12782 Fix for PR gdb/1543.
12783 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
12784 $LOCATION.
12785 (location): New variable.
12786 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
12787 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
12788 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
12789 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
12790 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
12791 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
12792 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
12793 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
12794 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
12795 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
12796 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
12797 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
12798 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
12799 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
12800 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12801 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
12802 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
12803 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
12804 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
12805 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12806 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
12807 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
12808 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
12809 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
12810 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
12811 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
12812 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
12813 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
12814 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
12815 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12816 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12817 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12818 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12819 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12820 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12821 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12822 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12823 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12824 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12825 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12826 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12827 gdb.base/type-opaque.exp, gdb.base/until.exp,
12828 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12829 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12830 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12831 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12832 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12833 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12834 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12835 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12836 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12837 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12838 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12839 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12840 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12841 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12842 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12843 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12844 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12845 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12846 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12847 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12848 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12849 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12850 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12851 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12852 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12853 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12854 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12855 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12856 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12857 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12858 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12859 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12860 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12861 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12862 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12863 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12864 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12865 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12866 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12867 to bug-gdb@prep.ai.mit.edu .
12868
5e06a3d1
VP
128692008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12870
12871 * lib/mi-support.exp (mi_load_shlibs): New.
12872 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12873
9d81d21b
VP
128742008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12875
12876 * lib/mi-support.exp (get_mi_thread_list)
12877 (check_mi_and_console_threads): New, moved from ...
12878 * gdb.mi/mi-pthread.exp: ...here.
12879 * gdb.mi/gdb669.exp (get_mi_thread_list)
12880 (check_mi_and_console_threads): Delete.
12881 * gdb.mi/mi2-pthread.exp: Likewise.
12882
bae98fe0
TT
128832008-07-28 Tom Tromey <tromey@redhat.com>
12884
12885 * Makefile.in (just-check): Remove. Move body to...
12886 (check): ... here.
12887
57380f4e
DJ
128882008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12889
12890 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12891 Add a test for duplicated SIGINTs.
12892
e09490f1
DJ
128932008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12894
12895 * gdb.threads/schedlock.exp (get_args): Update to work for any
12896 value of NUM.
12897 (Top level): Report the number of threads that did not resume.
12898
6387b45f
DJ
128992008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12900
12901 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12902
62f64ff2
DJ
129032008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12904
12905 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12906 non-MI prompt.
12907
fa8de41e
TT
129082008-07-26 Tom Tromey <tromey@redhat.com>
12909
12910 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12911 (function_struct, function_struct_ptr): New globals.
12912 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12913 function pointer in a struct.
12914
ccb3ac8a
TT
129152008-07-26 Tom Tromey <tromey@redhat.com>
12916
12917 * gdb.base/macscp.exp: Add test for macro lexing bug.
12918
d7d9f01e
TT
129192008-07-18 Tom Tromey <tromey@redhat.com>
12920
12921 * gdb.base/macscp.exp: Add macro tests.
12922
9bf07184
PP
129232008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12924
12925 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12926
becf6477
PP
129272008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12928
12929 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12930
0709f7d3
PP
129312008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12932
12933 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 12934
7093c834
PP
129352008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12936
12937 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 12938
b432ffe3
JK
129392008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12940
12941 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12942
b1a268e5
VP
129432008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12944
12945 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12946
e2995f8e
KB
129472008-07-11 Kevin Buettner <kevinb@redhat.com>
12948
12949 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12950 of regexp to account for changes made to GDB in the printing of
12951 byte vectors.
12952
14032a66
TT
129532008-07-11 Tom Tromey <tromey@redhat.com>
12954
12955 * gdb.base/completion.exp: Add 'help' completion test.
12956
981505ef
JK
129572008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12958
12959 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12960
10568435
JK
129612008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12962
12963 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12964
4487aabf
PA
129652008-07-09 Pedro Alves <pedro@codesourcery.com>
12966
12967 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12968
a4a9b1c4
PA
129692008-07-09 Pedro Alves <pedro@codesourcery.com>
12970
12971 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12972
3c3185ac
JK
129732008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12974
12975 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12976
7ebd49dc
VP
129772008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12978
12979 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12980 previous commit. Add a comment.
12981
84e46146
PA
129822008-06-28 Pedro Alves <pedro@codesourcery.com>
12983
12984 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12985
0f8d4a2f
VP
129862008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12987
12988 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12989
f747e0ce
PA
129902008-06-27 Pedro Alves <pedro@codesourcery.com>
12991
12992 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12993 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12994 compiling an executable, link in an object that forces unbuffered
12995 output.
12996 * lib/set_unbuffered_mode.c: New file.
12997
734a5c36
JK
129982008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12999
13000 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
13001
a2840c35
VP
130022008-06-25 Vladimir Prus <vladimir@codesourcery.com>
13003
a9c64011
AS
13004 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
13005 mi_expect_stop.
13006 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
13007 Demand that *running is output.
13008 (detect_async): Perform checking every time.
13009 (mi_send_resuming_command): Extract everything into...
13010 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
13011 (mi_expect_stop): Don't accept any output before *stopped.
13012
6ae37fef
VP
130132008-06-13 Vladimir Prus <vladimir@codesourcery.com>
13014
13015 Robustify mi-simplerun.
a9c64011
AS
13016 * gdb.mi/basics.c (main): Add a call to sleep.
13017 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
13018 * gdb.mi/mi2-cli.exp: Likewise.
13019 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 13020
b4aa76f0 130212008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
13022
13023 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
13024
e1ac3328
VP
130252008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13026
a9c64011
AS
13027 * gdb.mi/mi-console.exp: Adjust.
13028 * gdb.mi/mi-syn-frame.exp: Adjust.
13029 * gdb.mi/mi2-console.exp: Adjust.
13030 * gdb.mi/mi2-syn-frame.exp: Adjust.
13031 * lib/mi-support.exp (mi_run_cmd): Adjust.
13032 (mi_send_resuming_command): Adjust.
e1ac3328 13033
f7f9a841
VP
130342008-06-10 Vladimir Prus <vladimir@codesourcery.com>
13035
13036 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
13037 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
13038 testing of stopped.
13039 * gdb.mi/mi2-syn-frame.exp: Likewise.
13040 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
13041 (async, detect_async): New.
13042 (mi_expect_stop, mi_continue_to_line): Adjust expectation
13043 depending on if we're running in sync or async mode.
f7f9a841 13044
37cd5d19
TT
130452008-06-09 Tom Tromey <tromey@redhat.com>
13046
13047 * gdb.base/completion.exp: New tests for field name completion
13048 with spaces, and field name completion with '->'.
13049
65d12d83
TT
130502008-06-06 Tom Tromey <tromey@redhat.com>
13051
13052 * gdb.base/break1.c (struct some_struct): New struct.
13053 (values): New global.
13054 * gdb.base/completion.exp: Add field name completion test.
13055
ebfe2e3f
PP
130562008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13057
13058 * gdb.cp/call-c.exp: Test for incorrect handling of reference
13059 to pointer.
13060 * gdb.cp/call-c.cc: Likewise.
13061
bcf6fc3a
NR
130622008-06-06 Nick Roberts <nickrob@snap.net.nz>
13063
13064 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
13065 annotation.
13066
49fd4a42 130672008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 13068 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
13069
13070 * gdb.threads/execl.c, gdb.threads/execl1.c,
13071 gdb.threads/execl.exp: New tests.
a9c64011 13072
8a34ac3f
AR
130732008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
13074 Daniel Jacobowitz <dan@codesourcery.com>
13075
13076 * gdb.cp/exception.exp: Activate test, make it work with pending
13077 catchpoints.
13078
86ae69ef
JK
130792008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13080
13081 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
13082
f7f9ae2c
VP
130832008-05-28 Vladimir Prus <vladimir@codesourcery.com>
13084
a9c64011
AS
13085 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
13086 now printed.
13087 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 13088
2a2d4dc3
AS
130892008-05-27 Andreas Schwab <schwab@suse.de>
13090
13091 * gdb.base/frame-args.exp: Handle arguments that are optimized
13092 out.
13093
5099e4d9
LM
130942008-05-26 Luis Machado <luisgpm@br.ibm.com>
13095
13096 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
13097 quiet for ppc32 and group options into a single variable.
13098
d9c36a91
JB
130992008-05-23 Joel Brobecker <brobecker@adacore.com>
13100
13101 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
13102 of zero-size elements.
13103 * gdb.ada/null_array.exp: Test printing this new array.
13104
103a8671
JK
131052008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13106
13107 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
13108
07a4cc1a 131092008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
13110
13111 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
13112 of the "finish" command.
13113
55f996a7
NR
131142008-05-21 Nick Roberts <nickrob@snap.net.nz>
13115
13116 * gdb.base/annota1.exp: Test for new annotation.
13117
907fc202
UW
131182008-05-16 Pedro Alves <pedro@codesourcery.com>
13119
13120 * gdb.base/fixsection.exp: New file.
13121 * gdb.base/fixsection0.c: New file.
13122 * gdb.base/fixsection1.c: New file.
13123
e8f97270
UW
131242008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13125
13126 * gdb.base/annota1.exp: Accept printf@... in place of printf.
13127 * gdb.base/annota3.exp: Likewise.
13128
ac0bb574
NF
131292008-05-13 Nathan Froyd <froydnj@codesourcery.com>
13130
13131 * gdb.base/watch_thread_num.exp: Don't run tests that require
13132 watchpoints if the target doesn't support them.
13133
6fadd07a
DE
131342008-05-12 Doug Evans <dje@google.com>
13135
13136 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
13137
6e9a4a30
JB
131382008-05-09 Joel Brobecker <brobecker@adacore.com>
13139
13140 * gdb.ada/assign_1.exp: New testcase.
13141
08388c79
DE
131422008-05-09 Doug Evans <dje@google.com>
13143
a3c83fae
DE
13144 * gdb.base/find.exp: New file.
13145 * gdb.base/find.c: New file.
08388c79 13146
bd5ddfe8
DJ
131472008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
13148
13149 * gdb.base/commands.exp (watchpoint_command_test): Handle
13150 gdb,no_hardware_watchpoints.
13151 * gdb.base/float.exp: Allow ARM targets without floating point.
13152 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
13153
b5dd68e2 131542008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 13155 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
13156
13157 * gdb.ada/lang_switch: New test program.
13158 * gdb.ada/lang_switch.exp: New testcase.
13159
382d13d1
DE
131602008-05-05 Doug Evans <dje@google.com>
13161
13162 * gdb.base/help.exp (disassemble): Update expected help text.
13163
9dd789d0
PA
131642008-05-04 Pedro Alves <pedro@codesourcery.com>
13165
13166 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
13167
611c83ae
PA
131682008-05-04 Pedro Alves <pedro@codesourcery.com>
13169
13170 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
13171 different times.
13172
ff013f42
JK
131732008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13174
13175 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
13176 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
13177 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
13178 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
13179
96dff6a2
VP
131802008-05-04 Vladimir Prus <vladimir@codesourcery.com>
13181
13182 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
13183 notification to appear.
13184
55cd6f92
DJ
131852008-05-04 Daniel Jacobowitz <dan@debian.org>
13186
13187 * gdb.base/fullname.c: New file.
13188 * gdb.base/fullname.exp: New file.
13189 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
13190
d705c43c
PA
131912008-05-03 Pedro Alves <pedro@codesourcery.com>
13192
13193 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
13194 expressions with macros.
13195
333222e1
JK
131962008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13197
13198 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
13199
5ac01682
DJ
132002008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
13201
13202 * gdb.base/completion.exp: Handle lack of other symbols beginning
13203 with "a".
13204
13205 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
13206
237fc4c9
PA
132072008-05-02 Jim Blandy <jimb@codesourcery.com>
13208
13209 * gdb.asm/asmsrc1.s: Add scratch space.
13210
ed5e9466
DJ
132112008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13212 Daniel Jacobowitz <dan@codesourcery.com>
13213
13214 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
13215 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
13216 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
13217
b39cc962
DJ
132182007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
13219
13220 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
13221
36d520f5
JB
132222008-05-01 Joel Brobecker <brobecker@adacore.com>
13223
13224 * gdb.base/info-target.exp: New testcase.
13225
8d4e3071
DJ
132262008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13227
13228 * gdb.cp/hang.exp: Use .cc instead of .C.
13229 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
13230 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
13231
6f3f3097
DJ
132322008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13233
13234 * gdb.base/gdb1250.exp: Remove perror.
13235 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
13236
5550a914
PA
132372008-04-30 Pedro Alves <pedro@codesourcery.com>
13238
13239 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
13240 .2byte.
13241
d848e687
DJ
132422008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
13243
13244 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
13245 (maybe_kfail): New.
13246
93b5768b
PA
132472008-04-25 Pedro Alves <pedro@codesourcery.com>
13248
13249 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
13250
721c02de
VP
132512008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13252
a9c64011
AS
13253 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
13254 * gdb.mi/mi2-syn-frame.exp: Likewise.
13255 * lib/mi-support.exp: Likewise.
721c02de 13256
74960c60
VP
132572008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13258
13259 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
13260 to specify regexp for the location to stop at.
13261 * gdb.base/break-always.c: New.
13262 * gdb.base/break-always.exp: New.
13263
d24317b4
VP
132642008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13265
13266 * lib/mi-support.exp (mi_runto_helper): Adjust
13267 for the original-location field.
13268 (mi_create_breakpoint, mi_list_breakpoints): New.
13269 * gdb.mi/mi-break.exp: Adjust.
13270 * gdb.mi/mi2-break.exp: Adjust.
13271 * gdb.mi/mi-pending.exp: Adjust.
13272 * gdb.mi/mi-simplerun.exp: Adjust.
13273 * gdb.mi/mi2-simplerun.exp: Adjust.
13274 * gdb.mi/mi-syn-frame.exp: Adjust.
13275 * gdb.mi/mi2-syn-frame.exp: Adjust.
13276 * gdb.mi/mi-until.exp: Adjust.
13277 * gdb.mi/mi2-until.exp: Adjust.
13278 * gdb.mi/mi-var-display.exp: Adjust.
13279 * gdb.mi/mi2-var-display.exp: Adjust.
13280 * gdb.mi/mi-watch.exp: Adjust.
13281 * gdb.mi/mi2-watch.exp: Adjust.
13282
fdc59709 132832008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 13284
a9c64011
AS
13285 * aclocal.m4: Add override.m4.
13286 * configure: Regenerate.
fdc59709 13287
8e91f023
VP
132882008-04-19 Vladimir Prus <vladimir@codesourcery.com>
13289
13290 * gdb.mi/var-cmd.c (do_at_tests): Verify that
13291 '-var-update --all-values' reports new value even the type
13292 of a variable object has changed.
13293
233a11ab
CS
132942008-04-18 Craig Silverstein <csilvers@google.com>
13295
13296 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
13297 files.
d24317b4 13298
9c1137ad
JB
132992008-04-18 Joel Brobecker <brobecker@adacore.com>
13300
13301 * gdb.ada/atomic_enum: New test program.
13302 * gdb.ada/atomic_enum.exp: New testcase.
13303
66d0bbc7
DE
133042008-04-17 Doug Evans <dje@google.com>
13305
13306 * gdb.opt/Makefile.in: Fix whitespace.
13307
100906b0
UW
133082008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
13309
13310 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
13311
4584e32e
DE
133122008-04-17 Doug Evans <dje@google.com>
13313
13314 * gdb.base/hashline1.exp: New testcase.
13315 * gdb.base/hashline2.exp: New testcase.
13316 * gdb.base/hashline2.exp: New testcase.
13317
0a320680
PA
133182008-04-17 Pedro Alves <pedro@codesourcery.com>
13319
13320 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
13321
18ac113b
AR
133222008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
13323
13324 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
13325 temporary breakpoint to match "Temporary breakpoint".
13326 * gdb.base/break.exp (delete_breakpoints): Likewise.
13327 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
13328 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
13329 * gdb.base/display.exp: Likewise.
13330 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
13331 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
13332 * gdb.base/restore.exp (restore_tests): Likewise.
13333 * gdb.base/sepdebug.exp: Likewise.
13334 * gdb.base/watchpoint.exp: Likewise.
13335 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
13336 * gdb.mi/mi-pending.exp: Likewise.
13337 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
13338 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
13339 * gdb.mi/mi-var-cmd.exp: Likewise.
13340 * gdb.mi/mi-var-display.exp: Likewise.
13341 * gdb.mi/mi2-cli.exp: Likewise.
13342 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
13343 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
13344 * gdb.mi/mi2-var-display.exp: Likewise.
13345 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
13346 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
13347 new "disp" field.
a9c64011 13348 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
13349 reason. This is to support fix for PR2424.
13350
add38693
JK
133512008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13352
13353 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
13354
fcacd99f
VP
133552008-04-13 Vladimir Prus <vladimir@codesourcery.com>
13356
13357 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 13358 field. Add more floating varobj tests.
fcacd99f 13359 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
13360 field.
13361 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
13362 (main): Call do_at_tests.
13363 * lib/mi-support.exp (mi_create_floating_varobj)
13364 (mi_varobj_update_with_type_change): New.
fcacd99f 13365
de051565
MK
133662008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
13367
13368 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
13369 option of -var-evaluate-expression.
13370 * gdb.mi/mi2-var-display.exp: Likewise.
13371
dbc52822
VP
133722008-04-07 Vladimir Prus <vladimir@codesourcery.com>
13373
13374 Introduce test setup helpers.
a9c64011
AS
13375 * lib/gdb.exp (build_executable, clean_restart)
13376 (prepare_for_testing): New.
13377 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
13378 * gdb.base/return.exp: Likewise.
13379 * gdb.base/ending-run.exp: Likewise.
dbc52822 13380
473591da
NR
133812008-04-07 Nick Roberts <nickrob@snap.net.nz>
13382
13383 * gdb.mi/mi-async.exp: New test for asynchronous Machine
13384 Interface (MI) responses.
13385
2b2d9e11
VP
133862008-04-06 Vladimir Prus <vladimir@codesourcery.com>
13387
a9c64011
AS
13388 * gdb.cp/breakpoint.cc: New code to test conditions involving
13389 member variables.
13390 * gdb.cp/breakpoint.exp: Test condition involving member
13391 variables.
2b2d9e11 13392
bb378428
VP
133932008-04-05 Vladimir Prus <vladimir@codesourcery.com>
13394
13395 * lib/mi-support.exp (mi_expect_stop): New.
13396 (mi_run_cmd): Change the
13397 token. Use mi_send_resuming_command, use
13398 mi_expect_stop.
13399 (mi_execute_to_helper): Rename to mi_execute_to.
13400 (mi_send_resuming_command): Add more error patterns.
13401 (mi_wait_for_stop): Renamed to...
13402 (mi_get_stop_line): ...this.
13403 (mi_run_inline_test): Adjust.
13404
13405 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
13406 * gdb.mi/mi-console.exp: Likewise.
13407 * gdb.mi/mi-pending.exp: Likewise.
13408 * gdb.mi/mi-simplerun.exp: Likewise.
13409 * gdb.mi/mi-stack.exp: Likewise.
13410 * gdb.mi/mi-stepi.exp: Likewise.
13411 * gdb.mi/mi-syn-frame.exp: Add comment.
13412 * gdb.mi/mi-until.exp: Likewise.
13413 * gdb.mi/mi-var-display.exp: Likewise.
13414 * gdb.mi/mi-watch.exp: Likewise.
13415 * gdb.mi/mi2-cli.exp: Likewise.
13416 * gdb.mi/mi2-console.exp: Likewise.
13417 * gdb.mi/mi2-simplerun.exp: Likewise.
13418 * gdb.mi/mi2-stack.exp: Likewise.
13419 * gdb.mi/mi2-stepi.exp: Likewise.
13420 * gdb.mi/mi2-until.exp: Likewise.
13421 * gdb.mi/mi2-var-display.exp: Likewise.
13422 * gdb.mi/mi2-watch.exp: Likewise.
13423
62172bb9
UW
134242008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13425
13426 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
13427
13428 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
13429
a13e061a
PA
134302008-04-04 Pedro Alves <pedro@codesourcery.com>
13431
13432 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
13433 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
13434 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13435 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
13436 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
13437 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
13438 expect an mi error duplicated in stderr.
13439
eae06beb
JB
134402008-04-03 Joel Brobecker <brobecker@adacore.com>
13441
13442 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
13443 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
13444 Add a couple of tests that verify the behavior when the new setting
13445 is set to "cancel" and "all".
13446 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
13447 "ask" before we start the testing.
13448
79c6ced6
AR
134492008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
13450
13451 * gdb.cp/casts.cc: Add class reference variables.
13452 * gdb.cp/casts.exp: New test cases for up/down casting references.
13453
6c2d1a6b
MK
134542008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
13455
13456 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
13457 instead of beginning to make an extra test pass.
13458 * gdb.mi/mi2-var-display.exp: Likewise.
13459
55b411d9
MR
134602008-03-31 Maciej W. Rozycki <macro@mips.com>
13461
13462 * gdb.base/break.exp: Mark failures as such. Fix formatting.
13463
c6140da2
MD
134642008-03-31 Markus Deuling <deuling@de.ibm.com>
13465 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13466
13467 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
13468 value. Add xfail for older kernels.
13469
79732189
AR
134702008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
13471
13472 Bring mi-support in line with gdb.exp.
13473 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
13474 (mi_gdb_start): New function.
13475
33c3676e
MR
134762008-03-28 Maciej W. Rozycki <macro@mips.com>
13477
13478 * gdb.mi/mi-var-cmd.exp: Fix a typo.
13479
92e28119
VP
134802008-03-26 Vladimir Prus <vladimir@codesourcery.com>
13481
13482 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
13483 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 13484
9e8e3afe
VP
134852008-03-26 Vladimir Prus <vladimir@codesourcery.com>
13486
13487 * lib/mi-support.exp (mi_create_varobj_checked): New.
13488 (mi_list_varobj_children): Allow to check for a
13489 value.
13490 (mi_list_array_varobj_children): New.
13491
13492 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
13493 and mi_list_varobj_children, as opposed to hardcoding
13494 expected strings.
13495 * gdb.mi/gdb701.exp: Likewise.
13496 * gdb.mi/gdb792.exp: Likewise.
13497 * gdb.mi/mi-var-block.exp: Likewise.
13498 * gdb.mi/mi-var-cmd.exp: Likewise.
13499 * gdb.mi/mi-var-invalidate.exp: Likewise.
13500 * gdb.mi/mi2-var-block.exp: Likewise.
13501 * gdb.mi/mi2-var-child.exp: Likewise.
13502 * gdb.mi/mi2-var-cmd.exp: Likewise.
13503 * gdb.mi/mi2-var-display.exp: Likewise.
13504
9df50351
JK
135052008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13506
13507 Fix random false FAILs on i386.
13508 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
13509
31e5d73a
DJ
135102008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
13511
13512 PR gdb/544
13513 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
13514
12f4afab
DJ
135152008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
13516
13517 PR gdb/544
13518 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
13519
b562a0cb
DJ
135202008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13521
13522 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
13523 fixed PR gdb/544.
13524
17faa917
DJ
135252008-03-21 Pedro Alves <pedro@codesourcery.com>
13526
13527 * gdb.threads/fork-child-threads.exp: Test next over fork.
13528
6214f497
DJ
135292008-03-21 Chris Demetriou <cgd@google.com>
13530
13531 * gdb.base/break.exp (rbreak junk): New test for rbreak
13532 "Junk at end of arguments" issue.
13533
63092375
DJ
135342008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13535
13536 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
13537 *& to work on created array elements.
13538 (Top level): Test print $pc with a file. Test string operations
13539 without a target.
13540 * gdb.base/ptype.exp: Do not expect *& to work on created array
13541 elements.
13542
b21991b0
DJ
135432008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13544
13545 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13546 gdb.threads/staticthreads.exp: Update exit query.
13547
c4b347c7
SL
135482008-03-07 Sandra Loosemore <sandra@codesourcery.com>
13549
13550 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
13551
fa4727a6
DJ
135522008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
13553
13554 * gdb.base/watchpoint.c (global_ptr, func4): New.
13555 (main): Call func4.
13556 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
13557 (test_inaccessible_watchpoint): New.
13558
2f34202f
MR
135592008-02-29 Maciej W. Rozycki <macro@mips.com>
13560
13561 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
13562 select the largest.
13563
0d6ba1b1
DJ
135642008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
13565
13566 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
13567 frames-invalid annotations.
13568
e691325a
PM
135692008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
13570
a9c64011 13571 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 13572
f85b5ecc
DE
135732008-02-27 Doug Evans <dje@google.com>
13574
13575 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
13576 for bug 1738.
13577 (breakpoint_to_handler_entry): Ditto.
13578
b40e7bf3
JB
135792008-02-27 Joel Brobecker <brobecker@adacore.com>
13580
13581 * gdb.base/ending-run.exp: Use the first line of code inside
13582 function body to test breakpoints.
13583 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
13584 location where the breakpoint is inserted when using the line
13585 where a function is declared. Fix typo in the description of
13586 one of the tests.
13587 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
13588
2faca73a
PM
135892008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13590
13591 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 13592 tests.
2faca73a 13593
6f439c36
PM
135942008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13595
13596 * gdb.base/args.exp: avoid same output for tests
13597 with single quotes.
13598
54e52265
VP
135992008-02-26 Vladimir Prus <vladimir@codesourcery.com>
13600
a9c64011
AS
13601 * gdb.base/annota1.exp: Adjust for 'info break'
13602 format changes.
13603 * gdb.base/annota3.exp: Likewise.
13604 * gdb.base/break.exp: Likewise.
13605 * gdb.base/condbreak.exp: Likewise.
13606 * gdb.base/pending.exp: Likewise.
13607 * gdb.base/sepdebug.exp: Likewise.
13608 * gdb.base/unload.exp: Likewise.
13609 * gdb.cp/ovldbreak.exp: Likewise.
13610 * gdb.mi/mi-pending.exp: Likewise.
54e52265 13611
897b09ca
DE
136122008-02-07 Doug Evans <dje@google.com>
13613
13614 * gdb.cp/mb-inline.exp: New.
13615 * gdb.cp/mb-inline.h: New.
13616 * gdb.cp/mb-inline1.cc: New.
13617 * gdb.cp/mb-inline2.cc: New.
13618
b1c32d35
PM
136192008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
13620
13621 * gdb.pascal/floats.pas: New test program.
13622 * gdb.pascal/floats.exp: New testcase.
13623
1a4ca44a
TJB
136242008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13625
13626 * gdb.base/callfuncs.c (t_float_many_args): New function.
13627 (t_double_many_args): New function.
13628 * gdb.base/callfuncs.exp: Add tests for exceeding float
13629 and double parameters passed through the stack.
13630
439048e8
JB
136312008-02-05 Joel Brobecker <brobecker@adacore.com>
13632
13633 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
13634 gdb.ada/complete/foo.adb: New files.
13635 * gdb.ada/complete.exp: New testcase.
13636
81fe8080
DE
136372008-02-03 Doug Evans <dje@google.com>
13638
301f0ecf
DE
13639 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
13640
81fe8080
DE
13641 * gdb.cp/gdb2384.exp: New file.
13642 * gdb.cp/gdb2384.cc: New file.
13643 * gdb.cp/gdb2384-base.h: New file.
13644 * gdb.cp/gdb2384-base.cc: New file.
13645
4b071aec
DE
136462008-02-02 Doug Evans <dje@google.com>
13647
13648 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
13649
61137ba6
JB
136502007-02-01 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.ada/sym_print_name: New test program.
13653 * gdb.ada/sym_print_name.exp: New testcase.
13654
136552007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
13656
13657 * gdb.ada/nested/hello.adb: New file.
13658 * gdb.ada/nested.exp: New testcase.
13659 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13660
98deb0da
VP
136612008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13662
13663 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
13664 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
13665 don't cause future evaluations of function to report
13666 creation of internal breakpoints.
98deb0da 13667
723a2275
VP
136682008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13669
13670 * gdb.mi/mi-break.exp (test_error): New.
13671 Call it.
13672
fb546a2f
LM
136732008-01-31 Luis Machado <luisgpm@br.ibm.com>
13674
13675 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
13676 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
13677
2d8fd90a
PM
136782008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13679
13680 * gdb.pascal/integers.pas: New test program.
13681 * gdb.pascal/integers.exp: New testcase.
13682
a7fa0ded
PM
136832008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13684
13685 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
13686
5e1a1926
TJB
136872008-01-30 Luis Machado <luisgpm@br.ibm.com>
13688
13689 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
13690 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
13691
8d04f9f0
JB
136922008-01-30 Paul Hilfinger <hilfinger@adacore.com>
13693
13694 * gdb.ada/formatted_ref: New test program.
13695 * gdb.ada/formatted_ref.exp: New testcase.
13696
13697 * gdb.cp/formatted-ref.cc: New file.
13698 * gdb.cp/formatted-ref.exp: New testcase.
13699
ce75a98f
JB
137002008-01-30 Joel Brobecker <brobecker@adacore.com>
13701
13702 * gdb.base/ptype.exp: Add testing of "ptype $pc".
13703
e835f6bf
NR
137042008-01-30 Nick Roberts <nickrob@snap.net.nz>
13705
13706 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
13707 (test_file_list_exec_source_file): Update to new macro-info field.
13708
d118ef87
PH
137092008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
13710
13711 * gdb.ada/exprs: New test program.
13712 * gdb.ada/exprs.exp: New testcase.
13713
7d35ab09
TJB
137142008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13715
13716 * dfp-test.c (DELTA, DELTA_B): New definitions.
13717 (double_val1, double_val2, double_val3, double_val4, double_val5,
13718 double_val6, double_val7, double_val8, double_val9, double_val10,
13719 double_val11, double_val12, double_val13, double_val14, dec32_val1,
13720 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
13721 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
13722 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
13723 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
13724 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
13725 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
13726 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
13727 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
13728 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
13729 dec128_val16): New global variables.
13730 (decimal_dec128_align): New function.
13731 (decimal_mixed): Likewise.
13732 (decimal_many_args_dec32): Likewise.
13733 (decimal_many_args_dec64): Likewise.
13734 (decimal_many_args_dec128): Likewise.
13735 (decimal_many_args_mixed): Likewise.
13736 * dfp-test.exp: Add tests calling new inferior functions.
13737
2d717e4f
DJ
137382008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13739
13740 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
13741 gdb.server/ext-run.exp: New files.
13742 * lib/gdbserver-support.exp (gdbserver_download): New.
13743 (gdbserver_start): New. Update gdbserver expected
13744 output.
13745 (gdbserver_spawn): Use them.
13746 (gdbserver_start_extended): New.
13747
e85a822c
DJ
137482008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13749
13750 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
13751 Run on GNU/Linux.
13752 (do_exec_tests): Check for systems which do not support catchpoints.
13753 Do not match START.
13754 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
13755 Run on GNU/Linux. Enable verbose output.
13756 (check_fork_catchpoints): New.
13757 (explicit_fork_child_follow, catch_fork_child_follow)
13758 (tcatch_fork_parent_follow): Update expected messages.
13759 (do_fork_tests): Use check_fork_catchpoints.
13760 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
13761 Run on GNU/Linux. Enable verbose output.
13762 (check_vfork_catchpoints): New.
13763 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
13764 expected messages.
13765 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
13766
401ea829
JB
137672008-01-29 Jim Blandy <jimb@red-bean.com>
13768
13769 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
13770 host' errors.
13771 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
13772
aceaf3ad
JB
137732008-01-29 Jim Blandy <jimb@red-bean.com>
13774
13775 * gdb.threads/sigthread.c: Use barriers to ensure that
13776 child_thread and child_thread_two are always initialized before we
13777 start to use them.
13778
a5606eee
VP
137792008-01-29 Vladimir Prus <vladimir@codesourcery.com>
13780
13781 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
13782 * gdb.base/watchpoint-solib.c: New.
13783 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 13784
c55a82bb
PM
137852008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
13786
13787 * gdb.base/gdb1056.exp: Add unsigned integer test.
13788
0993fe05
DE
137892008-01-28 Doug Evans <dje@google.com>
13790
13791 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
13792
4fe42e7f
JB
137932008-01-27 Jim Blandy <jimb@codesourcery.com>
13794
c7a69933
JB
13795 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
13796
4fe42e7f
JB
13797 * gdb.base/expand-psymtabs.exp: Doc fix.
13798
5def8285
MK
137992008-01-26 Mark Kettenis <kettenis@gnu.org>
13800
13801 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13802
5313c911
NR
138032008-01-24 Nick Roberts <nickrob@snap.net.nz>
13804
a9c64011 13805 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
13806 -var-set-format.
13807
93815fbf
VP
138082008-01-23 Chris Demetriou <cgd@google.com>
13809
13810 * gdb.threads/thread_events.c: New testcase source file.
13811 * gdb.threads/thread_events.exp: New testcase expect file.
13812
467a88ee
NR
138132008-01-23 Nick Roberts <nickrob@snap.net.nz>
13814
13815 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
13816
13817 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
13818 -var-set-format.
13819
d8f82aba
DJ
138202008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13821 Vladimir Prus <vladimir@codesourcery.com>
13822
13823 * gdb.base/float.exp: Allow missing floating point for m68k and
13824 PowerPC.
13825
60c46647
VP
138262008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13827
13828 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
13829 ignore count.
13830 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13831 * gdb.mi/mi-cli.exp: Adjust.
13832 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 13833
c7dd36a1
PA
138342008-01-17 Pedro Alves <pedro@codesourcery.com>
13835
13836 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13837 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13838 with dummy_ptr's address.
13839 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13840 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13841 all targets.
13842 * gdb.mi/mi2-var-child.exp: Likewise.
13843
39d5313e
JB
138442008-01-09 Joel Brobecker <brobecker@adacore.com>
13845
13846 * gdb.ada/null_array: New test program.
13847 * gdb.ada/null_array.exp: New testcase.
13848
0aea4bf3
LM
138492008-01-09 Luis Machado <luisgpm@br.ibm.com>
13850
13851 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13852 with required float modifiers.
13853
0b354900
JB
138542008-01-08 Joel Brobecker <brobecker@adacore.com>
13855
13856 * gdb.ada/funcall_param: New test program.
13857 * gdb.ada/funcall_param.exp: New testcase.
13858
cdb7f5d4
JB
138592008-01-08 Joel Brobecker <brobecker@adacore.com>
13860
13861 * gdb.ada/arrayparam: New test program.
13862 * gdb.ada/arrayparam.exp: New testcase.
13863
88e2547f
JB
138642008-01-08 Joel Brobecker <brobecker@adacore.com>
13865
13866 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13867 landed. Should also fix random failures in the test following it.
13868
f6867ce0
TJB
138692008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13870
13871 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13872 for expressions with decimal float values.
13873 (test_dfp_conversions): New function to test casts to and from
13874 decimal float types.
13875 Call test_dfp_conversions.
13876 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13877 elements.
13878 (main): Initialize ds.float4 and ds.double8 elements.
13879 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13880 string to new error message.
13881 (d64_set_tests): Likewise.
13882 (d128_set_tests): Likewise.
13883 Add tests for expressions with decimal float variables. Add tests for
13884 conversions to and from decimal float types.
13885
f9c11282
JB
138862008-01-05 Joel Brobecker <brobecker@adacore.com>
13887
13888 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13889 * gdb.ada/packed_tagged.exp: New testcase.
13890
0ecbca72
JB
138912008-01-04 Joel Brobecker <brobecker@adacore.com>
13892
13893 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13894 gdb.ada/homonym/homonym_main.adb: New files.
13895 * gdb.ada/homonym.exp: New testcase.
13896
c18d3d89
JB
138972008-01-04 Joel Brobecker <brobecker@adacore.com>
13898
13899 * gdb.ada/packed_array.exp: Add testing of references to
13900 a packed array.
13901
ecc7085b
JB
139022008-01-04 Joel Brobecker <brobecker@adacore.com>
13903
13904 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13905 New files.
13906 * gdb.ada/type_coercion.exp: New testcase.
13907
c474c922
JB
139082008-01-04 Joel Brobecker <brobecker@adacore.com>
13909
13910 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13911 gdb.ada/tagged/foo.adb: New file.
13912 * gdb.ada/tagged.exp: New testcase.
13913
9005b927
JB
139142008-01-04 Joel Brobecker <brobecker@adacore.com>
13915
13916 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13917 gdb.ada/ptype_field/foo.adb: New files.
13918 * gdb.ada/ptype_field.exp: New testcase.
13919
1a6aaad8
JB
139202008-01-03 Joel Brobecker <brobecker@adacore.com>
13921
13922 * gdb.ada/print_pc.exp: New testcase.
13923
0ef22f53
JB
139242008-01-03 Joel Brobecker <brobecker@adacore.com>
13925
13926 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13927 gdb.ada/taft_type/p.adb: New files.
13928 * gdb.ada/taft_type.exp: New testcase.
13929
1689ecf8
JB
139302008-01-03 Joel Brobecker <brobecker@adacore.com>
13931
13932 * gdb.ada/array_bounds/bar.adb: New file.
13933 * gdb.ada/array_bounds.exp: New testcase.
13934
a4d0b9c3
JB
139352008-01-03 Joel Brobecker <brobecker@adacore.com>
13936
13937 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13938 gdb.ada/arrayptr/foo.adb: New files.
13939 * gdb.ada/arrayptr.exp: New testcase.
13940
a31ace00
JB
139412008-01-03 Joel Brobecker <brobecker@adacore.com>
13942
13943 * gdb.base/set-lang-auto.exp: New testcase.
13944
a97fced3
JB
139452008-01-03 Joel Brobecker <brobecker@adacore.com>
13946
13947 * gdb.ada/fun_addr/foo.adb: New file.
13948 * gdb.ada/fun_addr.exp: New testcase.
13949
ef29ce1a
JK
139502008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13951
13952 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13953 New files
13954
0fafefe3
JB
139552008-01-02 Joel Brobecker <brobecker@adacore.com>
13956
13957 * array_subscript_addr/p.adb: New file.
a9c64011 13958 * array_subscript_addr.exp: New testcase.
0fafefe3 13959
c4359f8d
JB
139602008-01-02 Joel Brobecker <brobecker@adacore.com>
13961
a9c64011 13962 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
13963 New files.
13964 * gdb.ada/str_cmp_ref.exp: New testcase.
13965
1aa1b15b
JB
139662008-01-01 Joel Brobecker <brobecker@adacore.com>
13967
13968 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13969 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 13970 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 13971
81c9b2cf
JB
139722008-01-01 Joel Brobecker <brobecker@adacore.com>
13973
13974 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13975 gdb.ada/ref_param/pck.ads: New files.
13976 * gdb.ada/ref_param.exp: New testcase.
13977
319e4674
JB
139782008-01-01 Joel Brobecker <brobecker@adacore.com>
13979
13980 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13981 gdb.ada/interface/foo.adb: New files.
13982 * gdb.ada/interface.exp: New testcase.
13983
ef682c56
JB
139842007-12-31 Jim Blandy <jimb@codesourcery.com>
13985
13986 * gdb.base/multi-forks.exp: Consume all output from child
13987 processes before proceeding to next test.
13988
f6f3eb6c
JB
139892007-12-29 Jim Blandy <jimb@codesourcery.com>
13990
13991 * configure: Regenerated.
13992
f652e42f
JB
139932007-12-27 Joel Brobecker <brobecker@adacore.com>
13994
13995 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13996 gdb.ada/fixed_cmp/fixed.adb: New files.
13997 * gdb.ada/fixed_cmp.exp: New testcase.
13998
6943e596
JB
139992007-12-27 Joel Brobecker <brobecker@adacore.com>
14000
14001 * gdb.ada/boolean_expr.exp: New testcase.
14002
aad9a193
JB
140032007-12-26 Jim Blandy <jimb@codesourcery.com>
14004
14005 * gdb.base/multi-forks.exp: Doc fix.
14006
fb5f3683
JB
140072007-12-26 Joel Brobecker <brobecker@adacore.com>
14008
14009 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14010 * gdb.ada/char_param.exp: Do not compile our test program with
14011 -gnata, this is unnecessary.
14012 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
14013
384e4a9c
JB
140142007-12-24 Joel Brobecker <brobecker@adacore.com>
14015
14016 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
14017 gdb.ada/print_chars/foo.adb: New files.
14018 * gdb.ada/print_chars.exp: New testcase.
14019
01e044f7
JB
140202007-12-24 Joel Brobecker <brobecker@adacore.com>
14021
14022 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
14023 gdb.ada/char_param/foo.adb: New files.
14024 * gdb.ada/char_param.exp: New testcase.
14025
0ce17860
JB
140262007-12-22 Jim Blandy <jimb@codesourcery.com>
14027
14028 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
14029 hard-coding source line numbers into the test.
14030 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
14031 gdb_get_line_number to find.
14032
919809b9
JB
140332007-12-22 Joel Brobecker <brobecker@adacore.com>
14034
14035 * gdb.base/ptype.c (highest): New struct type.
14036 (the_highest): New variable of that type.
14037 (main): Add dummy assignment to a field of variable the_highest.
14038 * gdb.base/ptype.exp: Test type printing of our new variable.
14039
abc8a88d
PM
140402007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
14041
14042 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 14043 and record first explicitly generated thread number.
abc8a88d
PM
14044 Use that thread number for thread specific watchpoint test.
14045 Add iteration number to repetitive tests.
14046
5158f3e3
CES
140472007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14048 Jim Blandy <jimb@codesourcery.com>
14049
14050 * gdb.base/expand-psymtabs.c: New testcase
14051 source file.
14052 * gdb.base/expand-psymtabs.exp: New testcase
14053 expect file.
14054
37e4754d
LM
140552007-12-17 Luis Machado <luisgpm@br.ibm.com>
14056
14057 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
14058 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
14059
551e5d04
JB
140602007-12-17 Joel Brobecker <brobecker@adacore.com>
14061
14062 * gdb.ada/frame_args/foo.adb: New file.
14063 * gdb.ada/frame_args/pck.ads: New file.
14064 * gdb.ada/frame_args/pck.adb: New file.
14065 * gdb.ada/frame_args.exp: New testcase.
14066
a05ee097
JB
140672007-12-17 Joel Brobecker <brobecker@adacore.com>
14068
14069 * gdb.base/frame-args.c: New file.
14070 * gdb.base/frame-args.exp: New testcase.
14071
c162e8c9 140722007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 14073 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
14074
14075 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
14076
afe8ab22 140772007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14078
afe8ab22
VP
14079 * gdb.mi/mi-pending.exp: New.
14080 * gdb.mi/mi-pending.c: New.
14081 * gdb.mi/mi-pendshr.c: New.
14082
dfdfb3ca
JB
140832007-12-06 Jim Blandy <jimb@codesourcery.com>
14084
14085 * gdb.base/default.exp: Update expected output for 'info catch'.
14086
b7fca990
JK
140872007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14088
14089 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
14090 must be set to binary.
14091
6a1afc1e
PA
140922007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
14093
14094 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
14095
a6b151f1
DJ
140962007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
14097
14098 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
14099 gdb.mi/mi-file-transfer.exp: New.
14100
43039443
JK
141012007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14102
14103 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
14104
0ef2251b
MR
141052007-11-22 Maciej W. Rozycki <macro@mips.com>
14106
14107 * gdb.trace/backtrace.exp: Fix a typo.
14108 * gdb.trace/circ.exp: Likewise.
14109 * gdb.trace/collection.exp: Likewise.
14110 * gdb.trace/limits.exp: Likewise.
14111 * gdb.trace/report.exp: Likewise.
14112 * gdb.trace/tfind.exp: Likewise.
14113 * gdb.trace/while-dyn.exp: Likewise.
14114
5443631e
NR
141152007-11-21 Nick Roberts <nickrob@snap.net.nz>
14116
14117 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
14118 objects of pointers that can't be dereferenced are now
14119 "noneditable".
14120
a4ce5b0d
UW
141212007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14122
14123 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
14124 (target_cpu): Remove.
14125
d6e956e5
VP
141262007-10-15 Vladimir Prus <vladimir@codesourcery.com>
14127
14128 * gdb.base/ending-run.exp: Expect the list of cleared
14129 breakpoint to come in natural order, not the reversed one.
a9c64011 14130
214270ab
VP
141312007-11-07 Vladimir Prus <vladimir@codesourcery.com>
14132
14133 * gdb.mi/mi-var-child.c (do_child_deletion): New.
14134 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 14135
1a619819
LM
141362007-11-05 Luis Machado <luisgpm@br.ibm.com>
14137
14138 * gdb.base/printcmds.exp: New function
14139 test_printf_with_dfp.
14140
5b01a6fa
DE
141412007-11-02 Doug Evans <dje@google.com>
14142
14143 * gdb.disasm/t01_mov.s: Remove carriage returns.
14144 * gdb.disasm/t02_mova.s: Ditto.
14145 * gdb.disasm/t03_add.s: Ditto.
14146 * gdb.disasm/t04_sub.s: Ditto.
14147 * gdb.disasm/t05_cmp.s: Ditto.
14148 * gdb.disasm/t06_ari2.s: Ditto.
14149 * gdb.disasm/t07_ari3.s: Ditto.
14150 * gdb.disasm/t08_or.s: Ditto.
14151 * gdb.disasm/t09_xor.s: Ditto.
14152 * gdb.disasm/t10_and.s: Ditto.
14153 * gdb.disasm/t11_logs.s: Ditto.
14154 * gdb.disasm/t12_bit.s: Ditto.
14155 * gdb.disasm/t13_otr.s: Ditto.
14156
ec33ab7f
JK
141572007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14158
14159 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
14160
ae0d01ff
UW
141612007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14162
14163 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
14164 provide DFP support.
14165
55eddb0f
DJ
141662007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
14167
14168 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
14169 Test "set powerpc vector-abi". Skip auto-detection tests for old
14170 toolchains.
14171
7020f05c
PA
141722007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14173
14174 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
14175 with [string compare].
14176
84bc3db9
PA
141772007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14178
14179 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
14180 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
14181
5876dc88
LM
141822007-10-25 Luis Machado <luisgpm@br.ibm.com>
14183
14184 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
14185 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
14186 * gdb.opt/Makefile.in: New makefile.
14187 * Makefile.in: Create new directory "gdb.opt".
14188 * configure.ac: Add "gdb.opt" directory.
14189 * configure: Regenerated.
a9c64011 14190
c3ea9a14
DE
141912007-10-25 Doug Evans <dje@google.com>
14192
14193 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
14194 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
14195
a9c64011 141962007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
14197 Thiago Jung Bauermann <bauerman@br.ibm.com>
14198
14199 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
14200 Floating Point expressions.
14201 * gdb.base/dfp-test.exp: new file adding tests for Decimal
14202 Floating Point variables.
14203 * gdb.base/dfp-test.c: new file containing program with Decimal
14204 Floating variables, used by gdb.base/dfp-test.exp.
14205
62a24a2b
DJ
142062007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
14207
14208 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
14209
e7b1eae6
UW
142102007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14211
14212 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
14213 compiling test case with GCC.
14214 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
14215
c641edcc
UW
142162007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14217
14218 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14219 format changes.
14220
5e5ebfe6
MS
142212007-10-18 Michael Snyder <msnyder@specifix.com>
14222
14223 * gdb.base/dbx.exp: Add missing "-re " operator.
14224
e831e7b6
GM
142252007-10-16 Gaius Mulley <gaius@glam.ac.uk>
14226
14227 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
14228 * configure.ac: Removed trailing spaces after backslash.
14229 * gdb.modula2: New directory.
14230 * gdb.modula2/Makefile.in: New file.
14231 * gdb.modula2/unbounded-array.exp: New file.
14232 * gdb.modula2/unbounded1.c: New file.
14233
7cc46491
DJ
142342007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
14235
14236 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
14237
142382007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
14239
14240 * gdb.base/sigstep.c (main): Add checks for
14241 return values for setitimer call.
14242 Call setitimer again with itimer = ITIMER_REAL
14243 if first call to setitimer fails.
14244
e91528f0
KH
142452007-10-11 Kazu Hirata <kazu@codesourcery.com>
14246
14247 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
14248 of $timeout.
14249
2ec9a4f8
DJ
142502007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14251
14252 * gdb.server/server-run.exp: Test for dynamic linker symbols.
14253
142542007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
14255
14256 * lib/gdb.exp (gdb_run_cmd): Move comment outside
14257 of gdb_expect call, to avoid interruption.
14258
64b2fa04
PA
142592007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
14260
14261 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
14262 (v_unsigned_long_long, v_long_long_array)
14263 (v_signed_long_long_array, v_unsigned_long_long_array)
14264 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
14265 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
14266 [!NO_LONG_LONG]: New.
14267 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
14268 v_long_long_member.
14269
14270 (v_long_long_func, v_signed_long_long_func)
14271 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
14272 (main) [!NO_LONG_LONG]: Initialize long long variants.
14273
14274 * gdb.base/whatis.exp: If board file requests no_long_long, build
14275 test with NO_LONG_LONG defined. Test long long, signed long long,
14276 and unsigned long long variants but only if board file doesn't
14277 disable it.
14278
a912286e 142792007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 14280 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
14281
14282 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
14283 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
14284 * configure: Regenerated.
14285 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
14286 gdb.pascal/types.exp, lib/pascal.exp: New files.
14287
471ba8c9
DJ
142882007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
14289
14290 * gdb.cp/classes.exp (do_tests): Always step to the line after the
14291 call.
14292 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
14293 to return to the call.
14294 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
14295 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
14296 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
14297 * gdb.mi/mi-until.exp (test_until): Likewise.
14298 * gdb.mi/mi2-until.exp (test_until): Likewise.
14299
fef8a650
DJ
143002007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
14301
14302 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
14303 two-char array.
14304 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
14305
d983da9c
DJ
143062007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
14307
14308 * gdb.threads/watchthreads.c (thread_function): Sleep between
14309 iterations.
14310 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
14311 at once for S/390. Generate matching fails and passes.
14312
17f62551
VP
143132007-09-27 Vladimir Prus <vladimir@codesourcery.com>
14314
14315 * gdb.mi/var-cmd.c (do_children_tests): Initialize
14316 the 'struct_declarations' variable to zeros.
a9c64011 14317
ed0616c6
VP
143182007-09-24 Vladimir Prus <vladimir@codesourcery.com>
14319
14320 * gdb.cp/mb-ctor.cc: New.
14321 * gdb.cp/mb-ctor.exp: New.
14322 * gdb.cp/mb-templates.cc: New.
14323 * gdb.cp/mb-templates.exp: New.
14324
41f1b697
DJ
143252007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
14326
14327 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
14328
3f213f78
PA
143292007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
14330
14331 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
14332 targets.
14333 * configure: Regenerate.
14334
0d381245 143352007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14336
0d381245
VP
14337 * gdb.base/annota1.exp: Adjust for 'info break'
14338 format changes.
14339 * gdb.base/annota3.exp: Likewise.
14340 * gdb.base/break.exp: Likewise.
14341 * gdb.base/condbreak.exp: Likewise.
14342 * gdb.base/pending.exp: Likewise.
14343 * gdb.base/sepdebug.exp: Likewise.
14344 * gdb.base/unload.exp: Likewise.
14345 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 14346
fe3f5fa8
VP
143472007-09-22 Vladimir Prus <vladimir@codesourcery.com>
14348
14349 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
14350 messages.
14351 * gdb.base/chng-syms.exp: Likewise.
14352 * gdb.base/unload.exp: Likewise.
a9c64011 14353
a75cf6c0
DJ
143542007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
14355
14356 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
14357
18ecae38
DJ
143582007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
14359
14360 * schedlock.c (NUM): Change to 1.
14361 (main): Use args[0] for the main thread.
14362 * schedlock.exp: Only expect two threads. Only issue one pass or fail
14363 regardless of the number of threads.
14364
5509918f
MR
143652007-09-14 Maciej W. Rozycki <macro@mips.com>
14366
4a543daf
MR
14367 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
14368 type down.
14369 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14370 test.
14371 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
14372 watchpoint type down.
14373 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14374 test.
14375
143762007-09-14 Maciej W. Rozycki <macro@mips.com>
14377
5509918f
MR
14378 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
14379 Move all the tests here and run them twice, once using software
14380 watchpoints and once using hardware watchpoints.
14381 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
14382
40b53987
DJ
143832007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
14384
14385 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
14386 test.
14387
695e2681
MK
143882007-09-10 Mark Kettenis <kettenis@gnu.org>
14389
8b3fc8d8
MK
14390 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
14391 build-id.
14392
695e2681
MK
14393 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
14394 know about $ORIGIN. Calculate output dir from $dest instead of
14395 using ${objdir}/{$subdir}.
14396
58d69f29
MK
143972007-09-09 Mark Kettenis <kettenis@gnu.org>
14398
14399 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
14400 gcore, before continuing with the test.
14401
3e347599
DJ
144022007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
14403
14404 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
14405 * gdb.mi/mi-watch.exp: Likewise.
14406
ea37ba09
DJ
144072007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14408 Jim Blandy <jimb@codesourcery.com>
14409
14410 * gdb.arch/i386-sse.exp: Do not expect character constants.
14411 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
14412 * gdb.base/display.exp: Allow print/s.
14413 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
14414 and unsigned char array changes.
14415
2025a643
DJ
144162007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14417
14418 * gdb.base/display.exp: Add tests for printf %p.
14419
26669a27
PA
144202007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
14421
14422 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
14423 the dll name to unicode.
14424
c8f021f8
JK
144252007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14426
14427 * gdb.base/default.exp (show version): Update the version text.
14428 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
14429
4cf31eea
JK
144302007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14431
14432 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
14433 New files.
14434
4935890f
JK
144352007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14436
14437 * lib/gdb.exp (build_id_debug_filename_get): New function.
14438 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
14439 Remove the generate DEBUG file for the future testcase runs.
14440 New testcase for the NT_GNU_BUILD_ID retrieval.
14441 Move the final testing step to ...
14442 (test_different_dir): ... a new function.
14443 New parameter XFAIL to XFAIL all the tests performed.
14444 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
14445 New parameter TYPE to PF_PREFIX all the tests performed.
14446
02142340
VP
144472007-08-31 Vladimir Prus <vladimir@codesourcery.com>
14448
14449 * gdb.mi/mi-var-cp.cc (path_expression): New
14450 function.
14451 * gdb.mi/mi-var-cp.exp: Run path exression tests.
14452
36acd84e
UW
144532007-08-27 Markus Deuling <deuling@de.ibm.com>
14454
14455 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
14456 to fit into SPU Local Store memory.
14457
a896d121
JB
144582007-08-23 Joel Brobecker <brobecker@adacore.com>
14459
14460 * gdb.base/default.exp: Adjust the expected output of "info
14461 warranty" after the switch to GPLv3.
14462
7b433602
JB
144632007-08-23 Joel Brobecker <brobecker@adacore.com>
14464
14465 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
14466 to 30000 (from 20000).
14467
e22f8b7c
JB
144682007-08-23 Joel Brobecker <brobecker@adacore.com>
14469
14470 Switch the license of all .exp files to GPLv3.
14471 Switch the license of all .f and .f90 files to GPLv3.
14472 Switch the license of all .s and .S files to GPLv3.
14473
5a0e3bd0
JB
144742007-08-23 Joel Brobecker <brobecker@adacore.com>
14475
14476 * configure.ac: Switch license to GPLv3.
14477
cc00619d
JB
144782007-08-23 Joel Brobecker <brobecker@adacore.com>
14479
14480 Switch the licensing to GPLv3 for all .ads and .adb files.
14481
8d26208a
DJ
144822007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
14483
14484 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
14485 and t_int_double.
14486 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
14487
4fcb9948
JB
144882007-08-17 Joel Brobecker <brobecker@adacore.com>
14489
14490 * gdb.base/step-line.c: Switch license to GPL version 3, and
14491 update copyright year.
14492 * gdb.base/step-line.inp: Likewise.
14493
b9c34f67
JB
144942007-08-17 Joel Brobecker <brobecker@adacore.com>
14495
14496 * gdb.base/gdb1555.exp: Make expected output immune to formatting
14497 changes inside gdb1555.c.
14498 * gdb.base/pending.exp: Likewise.
14499
2cc17678
DJ
145002007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
14501
14502 * config/default.exp: New file.
14503
e48883f7
DJ
145042007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
14505
14506 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
14507 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
14508
1ab80e5b
MR
145092007-07-30 Maciej W. Rozycki <macro@mips.com>
14510
14511 * gdb.base/dump.exp: Force the correct endianness for binary
14512 formats not carrying this information.
14513
aba471f5
DJ
145142007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14515
14516 * gdb.threads/staticthreads.exp: Match .*sem_post.
14517
d4e07204
DJ
145182007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14519
14520 * gdb.base/readline.exp (operate_and_get_next): Match the final
14521 prompt.
14522
2b97317d
KB
145232007-07-23 Kevin Buettner <kevinb@redhat.com>
14524
14525 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
14526 to restarting SID.
14527
44efa07a
KB
145282007-07-18 Kevin Buettner <kevinb@redhat.com>
14529
14530 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
14531 prior to `gdb_start'.
14532
7b5ebade
KB
145332007-07-18 Kevin Buettner <kevinb@redhat.com>
14534
14535 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
14536 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
14537 Remove call to gdb_unload.
14538
255e7678
DJ
145392007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
14540 Daniel Jacobowitz <dan@codesourcery.com>
14541
14542 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
14543 for __WIN32__.
14544 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
14545 * gdb.base/unload.exp: Use shared library test routines.
14546
3a40aaa0
UW
145472007-07-03 Markus Deuling <deuling@de.ibm.com>
14548
14549 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
14550 * gdb.base/solib-symbol-lib.c: Likewise.
14551 * gdb.base/solib-symbol-main.c: Likewise.
14552
b0f4b84b
DJ
145532007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
14554
14555 * config/gdbserver.exp (gdb_reconnect): New.
14556 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
14557 gdb.base/solib-disc.exp: New files.
14558 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
14559 remote debugging".
14560 (gdb_compile): Add shlib_load flag.
14561 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
14562 port.
14563 (gdbserver_reconnect): New.
14564
1b05479a
DJ
145652007-07-01 Nick Roberts <nickrob@snap.net.nz>
14566 Daniel Jacobowitz <dan@codesourcery.com>
14567
14568 * gdb.base/annota3.exp: Test for if construct.
14569
86f78eb2
DJ
145702007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
14571
14572 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
14573
6a2eb474 145742007-06-21 Chris Dearman <chris@mips.com>
a9c64011 14575 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
14576
14577 * gdb.base/display.exp: Allow a newline after display/i.
14578 * gdb.base/pc-fp.exp: Likewise.
14579 * gdb.base/sigbpt.exp: Likewise.
14580
f8b73d13
DJ
145812007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14582
14583 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
14584 required features to be included.
14585
4339e69e
DJ
145862007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
14587
14588 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
14589 in info threads output.
14590
23d964e7
UW
145912007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14592 Markus Deuling <deuling@de.ibm.com>
14593
14594 * gdb.arch/spu-info.exp: New testcase.
14595 * gdb.arch/spu-info.c: New file.
14596
fd20f75b
DJ
145972007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
14598
14599 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
14600 tpcs_offset. Restore lr after the call.
14601 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
14602
2226f861
DJ
146032007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
14604
14605 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
14606 (gdbserver_run): Kill any running gdbserver.
14607 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
14608
d12371a9
MR
146092007-05-17 Maciej W. Rozycki <macro@mips.com>
14610
14611 * gdb.base/sigbpt.exp: Preset segv_addr.
14612
93f02886
DJ
146132007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
14614
14615 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
14616 (gdb_compile_shlib): Likewise.
14617 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
14618 (default_gdb_init): Clear cleanfiles.
14619 (gdb_finish): Delete recorded cleanfiles.
14620 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
14621
14622 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
14623 Do not use isnative.
14624 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
14625 gdb.base/so-impl-ld.exp: Likewise.
14626 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
14627 * gdb.base/unload.exp: Likewise. Do not pass empty option to
14628 gdb_compile.
14629
b04e06d7
VP
146302007-05-15 Vladimir Prus <vladimir@codesourcery.com>
14631
14632 * config/unknown.exp: Remove.
14633
069ed931
UW
146342007-05-15 Markus Deuling <deuling@de.ibm.com>
14635
14636 * gdb.base/info-proc.exp: Check is_remote.
14637
09db0d03
UW
146382007-05-14 Markus Deuling <deuling@de.ibm.com>
14639
14640 * gdb.base/gcore.exp: Initialize variable core_supported.
14641
af2cbe8c
DJ
146422007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14643
14644 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
14645
027c0295
DJ
146462007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14647
14648 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
14649 * gdb.threads/print-threads.exp (test_all_threads): Allow
14650 negative and hexadecimal thread IDs.
14651
dc5000e7
DJ
146522007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14653
14654 * gdb.java/jprint.java (public): Avoid invalid call to static
14655 method.
14656
2e74ed18
DP
146572007-05-14 Denis Pilat <denis.pilat@st.com>
14658
14659 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
14660 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
14661 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14662 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
14663 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
14664
83547f02
UW
146652007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14666
14667 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 14668 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
14669 this mode.
14670 * gdb.base/ovlymgr.c: Provide stubs for spu target.
14671 * gdb.base/spu.ld: New file.
14672
b18be20d
DJ
146732007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
14674
14675 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
14676
be444858
DJ
146772007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
14678
14679 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
14680
b1d53152
DJ
146812007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14682
14683 * gdb.java/jmain.exp: Handle demangled names with and without method
14684 signatures.
14685
d084b331
DJ
146862007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14687
14688 * gdb.mi/mi-syn-frame.c (main, foo, bar)
14689 (have_a_very_merry_interrupt): Remove calls to puts.
14690 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
14691 inferior output.
14692 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
14693 test names.
14694
db9d7fc5
DJ
146952007-04-29 Markus Deuling <deuling@de.ibm.com>
14696 Daniel Jacobowitz <dan@codesourcery.com>
14697
14698 * gdb.base/auxv.exp (core_works): Also check is_remote.
14699 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
14700
ef783a7d 147012007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 14702
ef783a7d
VP
14703 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
14704 message, not the undefined 'module' variable.
14705 * gdb.base/siginfo.exp: Likewise.
14706 * gdb.base/sigstep.exp: Likewise.
14707 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
14708 serialport.
14709 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
14710
b7b73cae
CV
147112007-04-25 Corinna Vinschen <vinschen@redhat.com>
14712
14713 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
14714 target sim fails. Return 0 otherwise.
14715 (gdb_load): Return prematurely if gdb_target_sim fails.
14716
7d90fdfa
DP
147172007-04-16 Denis Pilat <denis.pilat@st.com>
14718
14719 * gdb.base/setshow.exp: Reset height after having set it to 100.
14720
5d3e9c85
DP
147212007-04-16 Denis Pilat <denis.pilat@st.com>
14722
14723 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
14724
18e75969
DP
147252007-04-16 Denis Pilat <denis.pilat@st.com>
14726
14727 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
14728
25d5ea92
VP
147292007-04-14 Vladimir Prus <vladimir@codesourcery.com>
14730
14731 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
14732 tests. Run the frozen varobjs test.
14733 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 14734 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 14735
0b49cb80
JK
147362007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14737
14738 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
14739 gdb.base/type-opaque.exp: New files.
14740
a73bafbc 147412007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
14742
14743 * gdb.mi/mi-var-child.c
a73bafbc
VP
14744 (do_children_tests): User char[2] instead of
14745 char so that automatic printing of pointers to char
14746 don't give unpredicable result.
14747 * gdb.mi/var-cmd.c (do_locals_test): Initialize
14748 local variables.
14749 * gdb.mi/mi-var-child.exp: Step to right line
14750 of do_children_tests.
14751 * gdb.mi/mi2-var-child.exp: Likewise.
14752 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 14753 do_locals_tests.
a73bafbc
VP
14754 (do_children_tests): User char[2] instead of
14755 char so that automatic printing of pointers to char
a9c64011 14756 don't give unpredicable result.
a73bafbc 14757 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14758 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
14759 Pass test name to mi_wait_for_stop.
14760
7ce59000
DJ
147612007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14762
14763 * gdb.asm/asm-source.exp: Remove d10v case.
14764 * lib/gdb.exp (skip_cplus_tests): Likewise.
14765 * gdb.asm/d10v.inc: Deleted.
14766
20389057
DJ
147672007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14768
14769 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
14770
8807d78b
DJ
147712007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14772
14773 * config/netware.exp: Delete file.
14774
aa3edb8e
JB
147752007-03-29 Joel Brobecker <brobecker@adacore.com>
14776
14777 * gdb.dwarf2/dw2-noloc.S: New file.
14778 * gdb.dwarf2/dw2-noloc.exp: New file.
14779
297561ac
PA
147802007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
14781
14782 * gdb.cp/method2.cc: New test.
14783 * gdb.cp/method2.exp: New test.
14784 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
14785
1f81bd39
DJ
147862007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14787
14788 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
14789
9453113a
DJ
147902007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
14791
14792 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
14793
b741e217
DJ
147942007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14795
14796 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
14797 (gdb_load): Delete, replace with...
14798 (gdb_reload): ...this.
14799 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
14800 * gdb.server/server-mon.exp: Likewise.
14801 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
14802 (gdb_start_cmd): New.
14803 (gdb_file_cmd): Save the last loaded file.
14804 (gdb_reload): New.
14805 (gdb_gnu_strip_debug): Use transform.
14806 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
14807 support here. Use new $last_loaded_file. Check mtime.
14808 (gdb_target_cmd): Handle ObjC failure case.
14809 (infer_host_exec): Delete.
14810 (gdbserver_load): Rename to...
14811 (gdbserver_run): ...this. Simplify.
14812 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
14813 (mi_gdb_load): Move most contents to a new function...
14814 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
14815 (mi_run_cmd): Use mi_gdb_target_load.
14816 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14817 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14818 Use gdb_run_cmd.
14819 * gdb.base/charsign.exp: Remove incorrect comment.
14820 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14821 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14822 gdb.base/start.exp: Use gdb_start_cmd.
14823
446ab585 148242007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 14825 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
14826
14827 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14828 * gdb.base/signull.exp: Similarly.
14829
bbb88ebf
UW
148302007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14831
14832 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14833 messages available to test cases (like chng-sym.exp).
14834
cb8c4a99
AS
148352007-03-14 Andreas Schwab <schwab@suse.de>
14836
14837 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14838 format changes.
14839
4e463ff5
DJ
148402007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14841
14842 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14843 (optimized_1): New.
14844 (main): Call optimized_1.
14845 (gdb2029): Correct typos. Call gdb2029_marker.
14846 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14847 for gdb2029.
14848
b6db2c47
MK
148492007-03-12 Mark Kettenis <kettenis@gnu.org>
14850
14851 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14852 as tabs. Remove redundant test pattern.
14853
70ed3737
UW
148542007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14855
14856 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14857 for /a format output.
14858
47b67b60
DJ
148592007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14860
14861 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14862 collect output incrementally.
14863
b8953b0e
UW
148642007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14865
14866 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14867 for -var-create lpcharacter test.
14868 * gdb.mi/mi2-var-cmd.exp: Likewise.
14869
7acd5c40
UW
148702007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14871
14872 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14873 pass on targets where address zero is readable.
14874
9c6759c1
UW
148752007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14876
14877 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14878 just a single architecture.
14879
a2f1aeb4
UW
148802007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14881
14882 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14883 (fetch_all_registers): New function, uses gdb_test_multiple and
14884 exp_continue to fetch inferior output line-by-line.
14885 Replace all uses of do_get_all_registers by fetch_all_registers.
14886
46579ac2
UW
148872007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14888
14889 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14890 in target_info.
14891
fc133f24
MS
148922007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14893
a9c64011 14894 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
14895 consistancy; add a default (timeout) case.
14896
7646a51d
MS
148972007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14898
14899 * gdb.base/watchpoint.exp: Fix truncated comment.
14900
dcfff61f
MS
149012007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14902
14903 * Makefile.in: Remove spurious single-quotes from sed command.
14904
664e3ee9
DJ
149052007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14906
14907 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14908 func.
14909 * gdb.mi/mi2-var-cmd.exp: Likewise.
14910
d7cc6f2f
JB
149112007-02-27 Joel Brobecker <brobecker@adacore.com>
14912
a9c64011
AS
14913 * gdb.dwarf2/dw2-producer.S: New file.
14914 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
14915
149162007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
14917
14918 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14919 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14920 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14921 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14922 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14923 Revert tests to use mi_gdb_test and include value field in output
14924 of -var-create.
14925
93d42b30
DJ
149262007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14927
14928 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14929
c499ed39
DJ
149302007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14931
14932 * gdb.base/maint.exp: Remove full paths from test names.
14933 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14934 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14935
9836f81b
JB
149362007-02-27 Joel Brobecker <brobecker@adacore.com>
14937
14938 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14939
c74d0ad8
DJ
149402007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14941
14942 * gdb.server/server-mon.exp: New test.
14943
2711e456
DJ
149442007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14945
14946 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14947
ff6f572f
DJ
149482007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14949
14950 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14951 register capitalization.
14952
fada3feb
DP
149532007-02-13 Denis Pilat <denis.pilat@st.com>
14954
14955 * gdb.mi/mi-var-invalidate.exp: New file.
14956
fb1e4ffc
DJ
149572007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14958
14959 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14960
3da939d7
DJ
149612007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14962
14963 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14964
123dc839
DJ
149652007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14966
14967 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14968 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14969
877e3645 149702007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
14971
14972 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14973 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14974 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14975 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14976 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 14977 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 14978 Update tests to include value field in output of -var-create.
a9c64011 14979
3c0a2960
AS
149802007-02-08 Andreas Schwab <schwab@suse.de>
14981
14982 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14983
108546a0
DJ
149842007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14985
14986 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14987 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14988
d701dcab
DP
149892007-02-02 Denis Pilat <denis.pilat@st.com>
14990
14991 * gdb.threads/threadapply.exp: check that frame is not changed by
14992 the thread apply all command.
14993
783e3e2f
AS
149942007-01-31 Andreas Schwab <schwab@suse.de>
14995
6d9c3a87
AS
14996 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14997
3c50d7b9
AS
14998 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14999 in the dwarf sections.
15000 * gdb.dwarf2/mac-fileno.S: Likewise.
15001
783e3e2f
AS
15002 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
15003 bspstore register on ia64.
15004
78ff580e
AS
150052007-01-29 Andreas Schwab <schwab@suse.de>
15006
cc8e9b12
AS
15007 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
15008 "frame-begin" annotation.
15009
78ff580e
AS
15010 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
15011 number of "frames-invalid" annotations.
15012
704a4f78
DJ
150132007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15014
15015 * gdb.base/commands.exp: Call if_commands_test.
15016 (gdb_test_no_prompt, if_commands_test): New.
15017
e741bf94
MK
150182007-01-28 Mark Kettenis <kettenis@gnu.org>
15019
15020 * gdb.threads/sigthread.c (NSIGS): Make bigger.
15021
474d0ad3
AS
150222007-01-27 Andreas Schwab <schwab@suse.de>
15023
15024 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
15025 .short/.int/.quad in the dwarf sections.
15026 * gdb.dwarf2/dw2-intercu.S: Likewise.
15027 * gdb.dwarf2/dw2-intermix.S: Likewise.
15028
e784b426
JK
150292007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15030
15031 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
15032 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
15033 array.
e784b426
JK
15034 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
15035 * gdb.base/setvar.exp: Likewise.
15036
37f08e04
AS
150372007-01-26 Andreas Schwab <schwab@suse.de>
15038
9a01813a
AS
15039 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
15040 test.
15041
37f08e04
AS
15042 * gdb.base/multi-forks.exp ("restart $i"): Also match
15043 __kernel_syscall_via_break.
15044
6e2a9270
VP
150452007-01-24 Vladimir Prus <vladimir@codesourcery.com>
15046
15047 * lib/mi-support.exp (mi_delete_varobj): New.
15048 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
15049 testcase.
15050 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
15051 (main): Call the above.
15052 (reference_update_test, base_in_reference_test)
15053 (reference_to_pointer): Delete the created varobjs.
a9c64011 15054
e515b470
DJ
150552007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
15056
15057 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
15058 * configure: Regenerated.
15059 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
15060 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
15061 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
15062 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
15063 * lib/gdb.exp (gdb_skip_xml_test): New function.
15064
08d8bcd7
DJ
150652007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
15066
15067 * gdb.base/sigrepeat.exp: Correct error message.
15068
150692007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
15070 Daniel Jacobowitz <dan@codesourcery.com>
15071
15072 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
15073 gdb.arch/i386-gnu-cfi-asm.S: New files.
15074
97c3f1f3
JK
150752007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15076
15077 * lib/gdb.exp: Abort on missing `site.exp'.
15078
cb1df416
DJ
150792007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15080 Daniel Jacobowitz <dan@codesourcery.com>
15081
15082 * gdb.base/included.c, gdb.base/included.exp,
15083 gdb.base/included.h: New files.
15084
35990120
DJ
150852007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15086
15087 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
15088 (maximize_rlimit): Reduce limits on 64-bit systems.
15089
6e81a116 150902007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
15091
15092 From Marcus Deuling <deuling@de.ibm.com>:
15093 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
15094 every case.
15095
6c3c41f3
NR
150962007-01-13 Nick Roberts <nickrob@snap.net.nz>
15097
15098 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
15099 (test_path_specification): Use objdir instead of srcdir to always
15100 get an absolute filename.
15101
2f12c312
DJ
151022007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
15103
15104 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
15105
81121995
VP
151062007-01-11 Vladimir Prus <vladimir@codesourcery.com>
15107
15108 * gdb.mi/mi-var-cp.cc (reference_update_tests):
15109 Make sure the variable we're using is in scope.
15110 (reference_to_pointer): Likewise.
15111
4741b737
DJ
151122007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15113
15114 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
15115 has no debug information.
15116
054410c3
DJ
151172007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15118
15119 * gdb.base/annota1.exp: Remove extra send_gdb.
15120
818f79f6
DJ
151212007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15122
15123 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
15124
f7a6bb70
DJ
151252007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15126
15127 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
15128
57e66780
DJ
151292007-01-08 Nick Roberts <nickrob@snap.net.nz>
15130 Daniel Jacobowitz <dan@codesourcery.com>
15131
15132 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
15133 lcharacter or linteger change. Correct duplicated test name.
15134 * gdb.mi/mi2-var-cmd.exp: Likewise.
15135
3d799a95
DJ
151362007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
15137
15138 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
15139
151402007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 15141
a9c64011
AS
15142 * gdb.base/nofield.c: New file.
15143 * gdb.base/nofield.exp: New testcase.
51679ba9 15144
eafb94e8
NR
151452007-01-05 Nick Roberts <nickrob@snap.net.nz>
15146
15147 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
15148
15149 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
15150 test.
15151
5e572bb4
DJ
151522007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15153
15154 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
15155
74a44383
DJ
151562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15157
15158 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
15159 when continuing.
15160
1b572db9
DJ
151612007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15162
15163 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
15164 Expect ".exe" extension.
15165
381bc39b
DJ
151662007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15167
15168 * gdb.base/charset.exp: Add explicit filename to break.
15169 * gdb.base/dbx.exp: Add explicit filename to breaks.
15170
2b70e4c6
DJ
151712007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15172
15173 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
15174 * gdb.mi/mi2-file.exp: Likewise.
15175
303b6f5d
DJ
151762007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15177
15178 Implement specification of MI tests as comments
15179 in C and C++ sources.
15180 * lib/mi-support.exp (mi_autotest_data): New variable.
15181 (mi_autotest_source): New variable.
15182 (count_newlines, mi_prepare_inline_tests)
15183 (mi_get_inline_test, mi_continue_to_line)
15184 (mi_run_inline_test, mi_tbreak)
15185 (mi_send_resuming_command, mi_wait_for_stop): New functions.
15186 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
15187 Run inline tests.
15188 * gdb.mi/mi-var-cp.cc: Define tests here.
15189
23da0d94
VP
151902007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15191
15192 Simplify usage of mi_continue_to.
15193 * lib/mi-support.exp (mi_runto_helper): Renamed
15194 from mi_runto, added new parameter 'run_or_continue'.
15195 (mi_runto): Use mi_runto_helper.
15196 (mi_continue_to): Accept just function name as parameter.
15197 Use mi_runto_helper.
15198 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
15199 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 15200
f9e18282
JB
152012006-01-04 Joel Brobecker <brobecker@adacore.com>
15202
15203 Make this testcase a bit more realistic. The current code
15204 is too simplistic, and allows the compiler to optimize out
15205 some of the entities we need for this testcase.
15206 * gdb.ada/null_record/bar.ads (Void_Star): New type.
15207 (Do_Nothing): Add extra parameter.
15208 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
15209 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
15210 by using a variable of type Void_Star.
15211
fd678c65
JB
152122006-01-04 Joel Brobecker <brobecker@adacore.com>
15213
15214 * gdb.ada/catch_ex/foo.adb: New file.
15215 * gdb.ada/catch_ex.exp: New testcase.
15216
05cfdb42
DJ
152172007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
15218
15219 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
15220 pass --image-base to linker.
15221
2e03ee74
DJ
152222007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15223 Daniel Jacobowitz <dan@codesourcery.com>
15224
15225 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
15226 secondary prompts.
15227
0d5de010
DJ
152282007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15229
15230 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
15231 output. Test the types of members and member pointers.
15232 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
15233 gdb/2092.
15234 * gdb.cp/member-ptr.exp: Search for a comment instead of a
15235 statement. Enable for GCC. Update expected output for some tests
15236 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
15237 layout.
15238 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
15239 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
15240 (Diamond::vget_base): New.
15241 (main): Add new tests.
15242 * gdb.cp/printmethod.exp: Update expected output for member functions.
15243 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
15244 print pEe->D::vg().
15245
61a771aa
DJ
152462007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15247
15248 * gdb.threads/tls.exp: Allow stops in sem_post.
15249
2fa63963
DJ
152502006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
15251
15252 * gdb.base/annota1.exp: Allow .*printf in backtraces.
15253 * gdb.base/annota3.exp: Likewise.
15254 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
15255 again (instead of timing out).
15256 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
15257 GCC bug 26475.
15258 * gdb.java/jmisc.exp: Adjust to work with method signatures including
15259 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
15260 test from jmisc1.exp.
15261 * gdb.java/jmisc1.exp: Delete.
15262 * gdb.java/jprint.exp: Adjust to work with method signatures including
15263 return types.
15264 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
15265 * gdb.threads/linux-dp.exp: Don't be confused by program output.
15266 * lib/java.exp (compile_java_from_source): Pass the correct type
15267 to target_compile.
15268
5eefc2b7
JB
152692006-12-31 Joel Brobecker <brobecker@adacore.com>
15270
15271 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
15272 (stack_align_edx): New function.
15273 (stack_align_eax): New function.
15274 (main): Add calls to stack_align_edx and stack_align_eax.
15275 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
15276 Add testing for the cases where the register used during a stack
15277 realignment is edx. Same for eax.
15278
227c54da
DJ
152792006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
15280
15281 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
15282 and generic PE targets.
15283
cab8ac94
JB
152842006-12-29 Joel Brobecker <brobecker@adacore.com>
15285
15286 * gdb.ada/array_return.exp: Update copyright date list.
15287
ba54f318
JB
152882006-12-27 Joel Brobecker <brobecker@adacore.com>
15289
15290 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
15291 (Create_Small_Float_Vector): New function.
15292 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
15293 function body.
15294 * gdb.ada/array_return/p.adb: Use new type and function from
15295 package Pck.
15296 * gdb.ada/array_return.exp: Add a test verifying that GDB is
15297 able to print the value returned by a function returning an
15298 array of float.
15299
6b7a35dd
JB
153002006-12-20 Joel Brobecker <brobecker@adacore.com>
15301
15302 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
15303 The associated tests should be PASSing.
15304
038224f6
VP
153052006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15306
15307 Test for base in references.
15308 * gdb.mi/mi-var-cp.cc: Add test code.
15309 * gdb.mi/mi-var-cp.exp: Test for bases in references.
15310 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
15311 * gdb.mi/mi2-watch.exp: Likewise.
15312 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
15313 (mi_list_varobj_children): New function.
15314
b26ed50d
VP
153152006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15316
15317 * lib/mi-support.exp
15318 (mi_runto): Accept "()" after function name.
15319 (mi_create_varobj): New function.
15320 (mi_varobj_update): New function.
15321 (mi_Check_varobj_value): New function.
15322 * gdb.mi/mi-var-cp.exp: New file.
15323 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 15324
08232497
DJ
153252006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
15326
15327 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
15328 gdb.base/weaklib2.c: New files.
15329
d394c993 153302006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 15331
ac6c2fba
NS
15332 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
15333 info. Adjust test names.
15334
8ec659a0 15335 * gdb.base/break.c (main): Move position of malloc.
d394c993 15336 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 15337
acd65feb
VP
153382006-11-28 Vladimir Prus <vladimir@codesourcery.com>
15339
15340 * gdb.mi/mi-var-cmd.exp: Check -var-update after
15341 assignement of arrays and function pointers.
15342 * gdb.mi/var-cmd.c: Add declaration necessary for above
15343 tests.
15344
f556d5e5
NS
153452006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15346
15347 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
15348
15349 * gdb.threads/linux-dp.exp: Read thread table before and after
15350 creating each philosopher and verify it.
15351
697bc68d
NS
153522006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15353 Paul Brook <paul@codesourcery.com>
15354 Daniel Jacobowitz <dan@codesourcery.com>
15355
15356 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 15357 main to remove duplication. Add start function of the form
697bc68d
NS
15358 '_*start[1-9]*'. Add RVDS start function.
15359
29d73ae4
DJ
153602006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15361
15362 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
15363
c1d88655
UW
153642006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15365
15366 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
15367 * gdb.asm/spu.inc: New file.
15368 * gdb.base/term.exp: Disable if [target_info exists noargs].
15369 * gdb.gdb/complaints.exp: Disable if ![isnative].
15370 * gdb.gdb/selftest.exp: Likewise.
15371 * gdb.gdb/observer.exp: Likewise.
15372 * gdb.gdb/xfullpath.exp: Likewise.
15373 * gdb.base/attach.exp: Disable on SPU target.
15374 * gdb.cp/bs145503.exp: Likewise.
15375 * gdb.cp/exception.exp: Likewise.
15376 * gdb.cp/userdef.exp: Likewise.
15377
32a13b1a
DJ
153782006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15379
15380 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
15381
d8295fe9
VP
153822006-11-10 Vladimir Prus <vladimir@codesourcery.com>
15383
15384 * gdb.base/completion.exp: Fix completion tests for
15385 'info' and 'info '.
15386 * gdb.base/help.exp (help_test_raw, test_class_help)
15387 (test_prefix_command_help): Move...
15388 * lib/gdb.exp: Here.
15389 * gdb.base/main.exp: Adjust.
15390 * gdb.cp/maint.exp: Adjust.
15391 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 15392
8c394015
VP
153932006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15394
15395 * gdb.stabs/weird.exp (print_weird_var): Use
15396 gdb_test_multiple instead of gdb_expect.
15397
027fc1bc
VP
153982006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15399
15400 * gdb.base/help.exp (help_test_raw): New.
15401 (test_class_help): New.
15402 (test_prefix_command_help): New.
15403 Adjust testcases.
15404
67609209
FR
154052006-11-09 Christophe Lyon <christophe.lyon@st.com>
15406
15407 * gdb.base/constvars.c (main): Write to crass and crips, so that
15408 they are allocated by the compiler.
15409
f73adfeb
AS
154102006-10-27 Andreas Schwab <schwab@suse.de>
15411
15412 * gdb.base/multi-forks.exp: Use "detach fork" instead of
15413 "detach-fork".
15414
2f83a18e
DJ
154152006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
15416
15417 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
15418 of patterns.
15419
94277a38
DJ
154202006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15421
15422 * gdb.base/sepdebug.exp: Remove debug format test.
15423 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
15424 Handle no-symtab.
15425 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
15426
5bd2f6e2
DJ
154272006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15428
15429 * gdb.threads/manythreads.c (thread_function, main): Don't cast
15430 int to pointer or pointer to int.
15431 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
15432
8c008720
DJ
154332006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
15434
15435 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
15436
9e35dae4
DJ
154372006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15438
15439 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
15440
d9639e13
DJ
154412006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15442
15443 PR c++/2116
15444 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
15445
390a1bd0
JB
154462006-10-06 Joel Brobecker <brobecker@adacore.com>
15447
15448 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
15449 the corresponding bug has been fixed in GDB (PR/2018).
15450
dd920c33
JB
154512006-10-06 Joel Brobecker <brobecker@adacore.com>
15452
15453 * gdb.base/subst.exp: New testcase.
15454
53bbefe9
JB
154552006-10-06 Joel Brobecker <brobecker@adacore.com>
15456
15457 * gdb.ada/array_return/pck.ads: Add copyright notice.
15458 * gdb.ada/array_return/pck.adb: Likewise.
15459 * gdb.ada/array_return/p.adb: Likewise.
15460 * gdb.ada/exec_changed/first.adb: Likewise.
15461 * gdb.ada/exec_changed/second.adb: Likewise.
15462
09851417
JB
154632006-10-06 Joel Brobecker <brobecker@adacore.com>
15464
15465 * gdb.ada/watch_arg/watch.adb: New file.
15466 * gdb.ada/watch_arg.exp: New testcase.
15467
041bf30d
VP
154682006-10-02 Vladimir Prus <vladimir@codesourcery.com>
15469
15470 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 15471 via string_to_regexp.
041bf30d 15472 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 15473
f286fbdd 154742006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
15475
15476 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
15477 Remove unused / obsolete files.
15478
7c07f349
NR
154792006-09-19 Nick Roberts <nickrob@snap.net.nz>
15480
15481 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
15482
cd5ff84a
VP
154832006-09-17 Vladimir Prus <vladimir@codesourcery.com>
15484
15485 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
15486 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 15487 the number of frames.
cd5ff84a 15488
ae018d1a
DJ
154892006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
15490
15491 * gdb.base/args.c (main): Add breakpoint marker.
15492 * gdb.base/args.exp: Use args_test for tests. Add new tests which
15493 really test empty arguments.
15494 (args_load): Delete.
15495 (args_test): New.
15496
b399c549
NR
154972006-09-13 Nick Roberts <nickrob@snap.net.nz>
15498
15499 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 15500 check for one file.
b399c549 15501
2ab1eb7a
VP
155022006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
15503
15504 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
15505 HIGH_FRAME argument to -stack-list-locals can be larger than
15506 the number of frames.
a9c64011 15507
476308bf
FF
155082006-08-18 Fred Fish <fnf@specifix.com>
15509
15510 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
15511 '$' in front of skip_vmx_tests_saved when setting that.
15512
8625200f
AS
155132006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
15514
15515 * gdb.base/trace-commands.exp: New file.
15516
089ec8f1
DJ
155172006-08-10 Joel Brobecker <brobecker@adacore.com>
15518 Daniel Jacobowitz <dan@codesourcery.com>
15519
15520 * gdb.base/step-bt.exp: Make hexadecimal address optional in
15521 expected output of the backtrace commands.
15522
b60f0898
JB
155232006-08-09 Joel Brobecker <brobecker@adacore.com>
15524
15525 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
15526 untested followed by return combination.
15527 * gdb.arch/altivec-regs.exp: Likewise.
15528 * gdb.arch/e500-abi.exp: Likewise.
15529 * gdb.arch/e500-regs.exp: Likewise.
15530 * gdb.arch/gdb1291.exp: Likewise.
15531 * gdb.arch/gdb1431.exp: Likewise.
15532 * gdb.arch/gdb1558.exp: Likewise.
15533 * gdb.arch/i386-prologue.exp: Likewise.
15534 * gdb.arch/i386-unwind.exp: Likewise.
15535 * gdb.asm/asm-source.exp: Likewise.
15536 * gdb.base/a2-run.exp: Likewise.
15537 * gdb.base/advance.exp: Likewise.
15538 * gdb.base/all-bin.exp: Likewise.
15539 * gdb.base/annota1.exp: Likewise.
15540 * gdb.base/annota3.exp: Likewise.
15541 * gdb.base/args.exp: Likewise.
15542 * gdb.base/arithmet.exp: Likewise.
15543 * gdb.base/assign.exp: Likewise.
15544 * gdb.base/async.exp: Likewise.
15545 * gdb.base/attach.exp: Likewise.
15546 * gdb.base/bang.exp: Likewise.
15547 * gdb.base/bigcore.exp: Likewise.
15548 * gdb.base/bitfields.exp: Likewise.
15549 * gdb.base/bitfields2.exp: Likewise.
15550 * gdb.base/break.exp: Likewise.
15551 * gdb.base/call-sc.exp: Likewise.
15552 * gdb.base/call-strs.exp: Likewise.
15553 * gdb.base/callfuncs.exp: Likewise.
15554 * gdb.base/checkpoint.exp: Likewise.
15555 * gdb.base/chng-syms.exp: Likewise.
15556 * gdb.base/code-expr.exp: Likewise.
15557 * gdb.base/commands.exp: Likewise.
15558 * gdb.base/completion.exp: Likewise.
15559 * gdb.base/cond-expr.exp: Likewise.
15560 * gdb.base/condbreak.exp: Likewise.
15561 * gdb.base/consecutive.exp: Likewise.
15562 * gdb.base/constvars.exp: Likewise.
15563 * gdb.base/corefile.exp: Likewise.
15564 * gdb.base/cvexpr.exp: Likewise.
15565 * gdb.base/dbx.exp: Likewise.
15566 * gdb.base/define.exp: Likewise.
15567 * gdb.base/detach.exp: Likewise.
15568 * gdb.base/display.exp: Likewise.
15569 * gdb.base/dump.exp: Likewise.
15570 * gdb.base/ena-dis-br.exp: Likewise.
15571 * gdb.base/ending-run.exp: Likewise.
15572 * gdb.base/environ.exp: Likewise.
15573 * gdb.base/eval-skip.exp: Likewise.
15574 * gdb.base/exprs.exp: Likewise.
15575 * gdb.base/fileio.exp: Likewise.
15576 * gdb.base/finish.exp: Likewise.
15577 * gdb.base/float.exp: Likewise.
15578 * gdb.base/foll-exec.exp: Likewise.
15579 * gdb.base/foll-fork.exp: Likewise.
15580 * gdb.base/foll-vfork.exp: Likewise.
15581 * gdb.base/freebpcmd.exp: Likewise.
15582 * gdb.base/funcargs.exp: Likewise.
15583 * gdb.base/gcore.exp: Likewise.
15584 * gdb.base/gdb1090.exp: Likewise.
15585 * gdb.base/gdb1250.exp: Likewise.
15586 * gdb.base/huge.exp: Likewise.
15587 * gdb.base/info-proc.exp: Likewise.
15588 * gdb.base/interrupt.exp: Likewise.
15589 * gdb.base/jump.exp: Likewise.
15590 * gdb.base/langs.exp: Likewise.
15591 * gdb.base/lineinc.exp: Likewise.
15592 * gdb.base/list.exp: Likewise.
15593 * gdb.base/logical.exp: Likewise.
15594 * gdb.base/long_long.exp: Likewise.
15595 * gdb.base/macscp.exp: Likewise.
15596 * gdb.base/maint.exp: Likewise.
15597 * gdb.base/mips_pro.exp: Likewise.
15598 * gdb.base/miscexprs.exp: Likewise.
15599 * gdb.base/multi-forks.exp: Likewise.
15600 * gdb.base/opaque.exp: Likewise.
15601 * gdb.base/overlays.exp: Likewise.
15602 * gdb.base/pc-fp.exp: Likewise.
15603 * gdb.base/pointers.exp: Likewise.
15604 * gdb.base/printcmds.exp: Likewise.
15605 * gdb.base/psymtab.exp: Likewise.
15606 * gdb.base/ptype.exp: Likewise.
15607 * gdb.base/recurse.exp: Likewise.
15608 * gdb.base/relational.exp: Likewise.
15609 * gdb.base/relocate.exp: Likewise.
15610 * gdb.base/remote.exp: Likewise.
15611 * gdb.base/reread.exp: Likewise.
15612 * gdb.base/restore.exp: Likewise.
15613 * gdb.base/return.exp: Likewise.
15614 * gdb.base/return2.exp: Likewise.
15615 * gdb.base/scope.exp: Likewise.
15616 * gdb.base/sect-cmd.exp: Likewise.
15617 * gdb.base/sep.exp: Likewise.
15618 * gdb.base/sepdebug.exp: Likewise.
15619 * gdb.base/setshow.exp: Likewise.
15620 * gdb.base/setvar.exp: Likewise.
15621 * gdb.base/sigall.exp: Likewise.
15622 * gdb.base/sigbpt.exp: Likewise.
15623 * gdb.base/signals.exp: Likewise.
15624 * gdb.base/signull.exp: Likewise.
15625 * gdb.base/sizeof.exp: Likewise.
15626 * gdb.base/solib.exp: Likewise.
15627 * gdb.base/step-line.exp: Likewise.
15628 * gdb.base/step-test.exp: Likewise.
15629 * gdb.base/structs.exp: Likewise.
15630 * gdb.base/structs2.exp: Likewise.
15631 * gdb.base/term.exp: Likewise.
15632 * gdb.base/twice.exp: Likewise.
15633 * gdb.base/until.exp: Likewise.
15634 * gdb.base/varargs.exp: Likewise.
15635 * gdb.base/volatile.exp: Likewise.
15636 * gdb.base/watchpoint.exp: Likewise.
15637 * gdb.base/whatis-exp.exp: Likewise.
15638 * gdb.base/whatis.exp: Likewise.
15639 * gdb.cp/ambiguous.exp: Likewise.
15640 * gdb.cp/annota2.exp: Likewise.
15641 * gdb.cp/annota3.exp: Likewise.
15642 * gdb.cp/bool.exp: Likewise.
15643 * gdb.cp/breakpoint.exp: Likewise.
15644 * gdb.cp/casts.exp: Likewise.
15645 * gdb.cp/class2.exp: Likewise.
15646 * gdb.cp/classes.exp: Likewise.
15647 * gdb.cp/cplusfuncs.exp: Likewise.
15648 * gdb.cp/ctti.exp: Likewise.
15649 * gdb.cp/derivation.exp: Likewise.
15650 * gdb.cp/exception.exp: Likewise.
15651 * gdb.cp/gdb1355.exp: Likewise.
15652 * gdb.cp/hang.exp: Likewise.
15653 * gdb.cp/inherit.exp: Likewise.
15654 * gdb.cp/local.exp: Likewise.
15655 * gdb.cp/m-data.exp: Likewise.
15656 * gdb.cp/m-static.exp: Likewise.
15657 * gdb.cp/member-ptr.exp: Likewise.
15658 * gdb.cp/method.exp: Likewise.
15659 * gdb.cp/misc.exp: Likewise.
15660 * gdb.cp/namespace.exp: Likewise.
15661 * gdb.cp/overload.exp: Likewise.
15662 * gdb.cp/ovldbreak.exp: Likewise.
15663 * gdb.cp/pr-1023.exp: Likewise.
15664 * gdb.cp/pr-1210.exp: Likewise.
15665 * gdb.cp/pr-574.exp: Likewise.
15666 * gdb.cp/printmethod.exp: Likewise.
15667 * gdb.cp/psmang.exp: Likewise.
15668 * gdb.cp/ref-params.exp: Likewise.
15669 * gdb.cp/ref-types.exp: Likewise.
15670 * gdb.cp/rtti.exp: Likewise.
15671 * gdb.cp/templates.exp: Likewise.
15672 * gdb.cp/try_catch.exp: Likewise.
15673 * gdb.cp/userdef.exp: Likewise.
15674 * gdb.cp/virtfunc.exp: Likewise.
15675 * gdb.disasm/am33.exp: Likewise.
15676 * gdb.disasm/h8300s.exp: Likewise.
15677 * gdb.disasm/mn10300.exp: Likewise.
15678 * gdb.disasm/sh3.exp: Likewise.
15679 * gdb.disasm/t01_mov.exp: Likewise.
15680 * gdb.disasm/t02_mova.exp: Likewise.
15681 * gdb.disasm/t03_add.exp: Likewise.
15682 * gdb.disasm/t04_sub.exp: Likewise.
15683 * gdb.disasm/t05_cmp.exp: Likewise.
15684 * gdb.disasm/t06_ari2.exp: Likewise.
15685 * gdb.disasm/t07_ari3.exp: Likewise.
15686 * gdb.disasm/t08_or.exp: Likewise.
15687 * gdb.disasm/t09_xor.exp: Likewise.
15688 * gdb.disasm/t10_and.exp: Likewise.
15689 * gdb.disasm/t11_logs.exp: Likewise.
15690 * gdb.disasm/t12_bit.exp: Likewise.
15691 * gdb.disasm/t13_otr.exp: Likewise.
15692 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
15693 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
15694 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15695 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
15696 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
15697 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15698 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15699 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15700 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
15701 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
15702 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15703 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15704 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15705 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15706 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15707 * gdb.mi/gdb701.exp: Likewise.
15708 * gdb.mi/gdb792.exp: Likewise.
15709 * gdb.mi/mi-basics.exp: Likewise.
15710 * gdb.mi/mi-break.exp: Likewise.
15711 * gdb.mi/mi-cli.exp: Likewise.
15712 * gdb.mi/mi-console.exp: Likewise.
15713 * gdb.mi/mi-disassemble.exp: Likewise.
15714 * gdb.mi/mi-eval.exp: Likewise.
15715 * gdb.mi/mi-file.exp: Likewise.
15716 * gdb.mi/mi-read-memory.exp: Likewise.
15717 * gdb.mi/mi-regs.exp: Likewise.
15718 * gdb.mi/mi-return.exp: Likewise.
15719 * gdb.mi/mi-simplerun.exp: Likewise.
15720 * gdb.mi/mi-stack.exp: Likewise.
15721 * gdb.mi/mi-stepi.exp: Likewise.
15722 * gdb.mi/mi-syn-frame.exp: Likewise.
15723 * gdb.mi/mi-until.exp: Likewise.
15724 * gdb.mi/mi-var-block.exp: Likewise.
15725 * gdb.mi/mi-var-child.exp: Likewise.
15726 * gdb.mi/mi-var-cmd.exp: Likewise.
15727 * gdb.mi/mi-var-display.exp: Likewise.
15728 * gdb.mi/mi-watch.exp: Likewise.
15729 * gdb.mi/mi2-basics.exp: Likewise.
15730 * gdb.mi/mi2-break.exp: Likewise.
15731 * gdb.mi/mi2-cli.exp: Likewise.
15732 * gdb.mi/mi2-console.exp: Likewise.
15733 * gdb.mi/mi2-disassemble.exp: Likewise.
15734 * gdb.mi/mi2-eval.exp: Likewise.
15735 * gdb.mi/mi2-file.exp: Likewise.
15736 * gdb.mi/mi2-read-memory.exp: Likewise.
15737 * gdb.mi/mi2-regs.exp: Likewise.
15738 * gdb.mi/mi2-return.exp: Likewise.
15739 * gdb.mi/mi2-simplerun.exp: Likewise.
15740 * gdb.mi/mi2-stack.exp: Likewise.
15741 * gdb.mi/mi2-stepi.exp: Likewise.
15742 * gdb.mi/mi2-syn-frame.exp: Likewise.
15743 * gdb.mi/mi2-until.exp: Likewise.
15744 * gdb.mi/mi2-var-block.exp: Likewise.
15745 * gdb.mi/mi2-var-child.exp: Likewise.
15746 * gdb.mi/mi2-var-cmd.exp: Likewise.
15747 * gdb.mi/mi2-var-display.exp: Likewise.
15748 * gdb.mi/mi2-watch.exp: Likewise.
15749 * gdb.stabs/exclfwd.exp: Likewise.
15750 * gdb.stabs/weird.exp: Likewise.
15751 * gdb.threads/gcore-thread.exp: Likewise.
15752 * gdb.trace/actions.exp: Likewise.
15753 * gdb.trace/backtrace.exp: Likewise.
15754 * gdb.trace/circ.exp: Likewise.
15755 * gdb.trace/collection.exp: Likewise.
15756 * gdb.trace/deltrace.exp: Likewise.
15757 * gdb.trace/infotrace.exp: Likewise.
15758 * gdb.trace/limits.exp: Likewise.
15759 * gdb.trace/packetlen.exp: Likewise.
15760 * gdb.trace/passc-dyn.exp: Likewise.
15761 * gdb.trace/passcount.exp: Likewise.
15762 * gdb.trace/report.exp: Likewise.
15763 * gdb.trace/save-trace.exp: Likewise.
15764 * gdb.trace/tfind.exp: Likewise.
15765 * gdb.trace/tracecmd.exp: Likewise.
15766 * gdb.trace/while-dyn.exp: Likewise.
15767 * gdb.trace/while-stepping.exp: Likewise.
15768
f4b618d1
JB
157692006-08-08 Joel Brobecker <brobecker@adacore.com>
15770
15771 * gdb.base/step-bt.c: New file.
15772 * gdb.base/step-bt.exp: New testcase.
15773
3d00d119
DJ
157742006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
15775
15776 * config/monitor.exp (gdb_load): Remove support for obsolete
15777 download-write-size.
15778 * gdb.base/remote.exp: Likewise. Update all callers of
15779 gdb_timed_load.
15780
017b5bd4
DJ
157812006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
15782
15783 * cursal.exp: Pass binfile to gdb_load.
15784
837c599d
DJ
157852006-08-01 Nathan Sidwell <nathan@codesourcery.com>
15786
15787 * gdb.base/cursal.exp: Add "" to gdb_load call.
15788
8dd4540b
MK
157892006-07-29 Mark Kettenis <kettenis@gnu.org>
15790
15791 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
15792 NetBSD/ELF targets.
15793
ab5c9f60
DJ
157942006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
15795
15796 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
15797 operator*.
15798
4c42eaff
DJ
157992006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
15800
15801 * gdb.base/completion.exp: Update for change in "file" behavior.
15802 * gdb.stabs/weird.exp: Likewise.
15803 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
15804 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
15805
0155cc76
NS
158062006-07-24 Nathan Sidwell <nathan@codesourcery.com>
15807
15808 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
15809 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
15810
16026cd7
AS
158112006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
15812
15813 * gdb.base/default.exp: Update source command error message.
15814 * gdb.base/help.exp: Update 'help source' message.
15815
16963cb6
DJ
158162006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15817
15818 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15819 test.
15820
6d7fd486
AS
158212006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15822
15823 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15824
29e8a844
DJ
158252006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15826
15827 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15828
6afcfa39
DJ
158292006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15830
15831 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15832
267a692b
MK
158332006-07-17 Mark Kettenis <kettenis@gnu.org>
15834
15835 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15836 *-*-openbsd* from targets for wich we expect ARM FPA floating
15837 point format.
15838
85d2fec4
NR
158392006-07-17 Nick Roberts <nickrob@snap.net.nz>
15840
15841 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15842
158432006-07-17 Mark Kettenis <kettenis@gnu.org>
15844
15845 * gdb.base/annota3.exp: Expect frame-begin annotation.
15846
85b4c6e8
JB
158472006-07-14 Joel Brobecker <brobecker@adacore.com>
15848
15849 * gdb.base/help.exp: Adjust "help unset" test to accept
15850 any list of unset commands.
15851
fb933624
DJ
158522006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15853 Daniel Jacobowitz <dan@codesourcery.com>
15854
15855 * gdb.cp/ref-params.exp: New test.
15856 * gdb.cp/ref-params.cc: New source file.
15857 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15858
1dff4b64
MK
158592006-07-08 Mark Kettenis <kettenis@gnu.org>
15860
15861 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15862 spaces/tabs in regular expressions since they might not be there.
15863
40d2e0e3
AS
158642006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15865
15866 * gdb.base/ifelse.exp: New file.
15867
f6c957d2
NS
158682006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15869
15870 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15871 line.
15872 * gdb.base/huge.exp: Loop over compilation to find a size that
15873 is acceptable.
15874 * gdb.base/remote.exp: Correct expected strings.
15875 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15876
b9c5a23d
DJ
158772006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15878
15879 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15880
9af2e58d
DJ
158812006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15882
15883 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15884 native.
15885
30930ca5
DJ
158862006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15887
15888 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15889 enable stabs testing.
15890
aa32fa1d
DJ
158912006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15892
bd4a4c80 15893 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
15894 gdb_test_multiple does.
15895
321fef15
DJ
158962006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15897
15898 * Makefile.in (host_alias): Remove.
15899 (target_alias): Use @target_noncanonical@.
15900 (site.exp): Don't set host_alias.
15901 * aclocal.m4: Remove contents. Include acx.m4.
15902 * configure: Regenerated.
15903 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15904
e1c2defa
NS
159052006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15906
e63b55d1
NS
15907 * lib/gdb.exp (gdb_load_cmd): New.
15908
5600ea19
NS
15909 * gdb.base/fileio.c: Add system(NULL) test.
15910 * gdb.base/fileio.exp: Check it.
15911
e1c2defa
NS
15912 * gdb.base/break.c: Add 10a breakpoint at }
15913 * gdb.base/break.exp: Add test for breakpoint at }
15914 * gdb.cp/anon-union.cc: Add code at end of function.
15915 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15916 * gdb.mi/var-cmd.c: Add code at end of function.
15917 * gdb.mi/mi-var-display.exp: Adjust end of next.
15918 * gdb.mi/mi2-var-display.exp: Likewise.
15919 * gdb.base/fileio.c: Add stop function and insert calls at
15920 stopping places.
15921 * gdb.base/fileio.exp: Breakpoint stop function and remove
15922 explicit line number references.
15923
6c0112ec
JB
159242006-05-19 Joel Brobecker <brobecker@adacore.com>
15925
a9c64011
AS
15926 * gdb.base/del.exp (test_delete_alias): New function.
15927 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 15928
154189a4
FF
159292006-05-18 Fred Fish <fnf@specifix.com>
15930
15931 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15932 required. Check for spurious output after program exits normally.
15933
582e64c2
FF
159342006-05-17 Fred Fish <fnf@specifix.com>
15935
15936 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15937 gdb_load, so it works in the simulator.
15938
8ef6493a
FF
159392006-05-11 Fred Fish <fnf@specifix.com>
15940
15941 * gdb.base/bang.exp: Ignore unexpected output between the
15942 "program exited normally" and the gdb prompt, as many other
15943 tests do.
15944
692b141c
MK
159452006-05-07 Mark Kettenis <kettenis@gnu.org>
15946
15947 * gdb.base/help.exp: Make "delete checkpoint" part option for
15948 "help d" and "help delete" tests.
15949
540b8a30
UW
159502006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15951
a9c64011 15952 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
15953 expected output in some mi_gdb_test statements.
15954 * gdb.mi/mi2-basics.exp: Likewise.
15955
9b6462d9
JB
159562006-05-05 Joel Brobecker <brobecker@adacore.com>
15957
15958 * gdb.base/del.c: New file.
15959 * gdb.base/del.exp: New testcase.
15960
954de43b
DM
159612006-05-05 David S. Miller <davem@sunset.davemloft.net>
15962
15963 * gdb.base/break.exp: Do not assume a breakpoint on
15964 main will actually be in $srcfile when optimizing.
1303f75e
DM
15965 * gdb.base/savedregs.exp: Do not require that the dummy
15966 frame location match up to a symbol and source file location.
c3242428
DM
15967 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15968 will get printed without a mi_cmd_data_list_register_values prefix.
15969 (*-data-list-register-*): Correct regular expressions to expect the new
15970 pseudo d? floating point registers.
15971 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 15972
c7e64c9a
DJ
159732006-05-05 Christophe Lyon <christophe.lyon@st.com>
15974
15975 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15976 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15977 is allocated by the compiler.
15978 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15979 anons, e, anone to force their allocation by the compiler.
15980
159812006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
15982
15983 * gdb.base/help.exp: Update expected text for help d and
15984 help delete.
15985
27ce9a6d
MK
159862006-05-02 Mark Kettenis <kettenis@gnu.org>
15987
15988 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15989 NetBSD/ELF targets.
15990
8608915f
MK
159912006-04-30 Mark Kettenis <kettenis@gnu.org>
15992
15993 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15994 single-step breakpoint fails; make this a KFAIL on
15995 sparc*-*-openbsd*.
15996 * gdb.base/siginfo.exp: Likewise.
15997 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15998
b8db102d
MS
159992006-04-26 Michael Snyder <msnyder@redhat.com>
16000
16001 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
16002 which may have to consume output from other forks.
16003 Add tests to make sure that "delete fork" succeeded.
16004
c702009a
MS
160052006-04-20 Michael Snyder <msnyder@redhat.com>
16006
16007 * 2006-03-22 Jim Blandy <jimb@redhat.com>
16008 Add support for the Renesas M32C and M16C.
16009
16010 * gdb.asm/asm-source.exp: Add m32c target.
16011 * gdb.asm/m32c.inc: Support for m32c target.
16012
e28493f2
AS
160132006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
16014
16015 * gdb.base/commands.exp (recursive_source_test): New test.
16016
880da185
DM
160172006-04-04 David S. Miller <davem@sunset.davemloft.net>
16018
16019 * gdb.base/float.exp: Add pattern for sparc targets.
16020
61d9b92f
DJ
160212006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16022
16023 * gdb.base/commands.exp (stray_arg0_test): New test.
16024
bd717df8
PB
160252006-03-30 Paul Brook <paul@codesourcery.com>
16026
16027 * gdb.mi/mi-until.exp: kfail broken until command.
16028 * gdb.mi/mi2-until.exp: Ditto.
16029
ec793d3c
NR
160302006-03-27 Nick Roberts <nickrob@snap.net.nz>
16031
16032 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
16033
831004b7
AO
160342006-03-08 Alexandre Oliva <aoliva@redhat.com>
16035
16036 * gdb.base/prelink.exp: Anchor tested-for regular expression
16037 on gdb prompt.
16038
effe49a0
PB
160392006-03-07 Paul Brook <paul@codesourcery.com>
16040
16041 * gdb.base/assign.exp: Correct fail message.
16042
e5461016
PB
160432006-03-07 Paul Brook <paul@codesourcery.com>
16044
16045 * lib/compiler.c: Extract armcc version number.
16046 * lib/compiler.cc: Ditto.
16047
fc91c6c2
PB
160482006-03-07 Paul Brook <paul@codesourcery.com>
16049
16050 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
16051 additional_flags=-w.
16052 * gdb.arch/altivec-regs.exp: Ditto.
16053 * gdb.arch/e500-abi.exp: Ditto.
16054 * gdb.arch/e500-regs.exp: Ditto.
16055 * gdb.base/all-bin.exp: Ditto.
16056 * gdb.base/annota1.exp: Ditto.
16057 * gdb.base/annota3.exp: Ditto.
16058 * gdb.base/args.exp: Ditto.
16059 * gdb.base/arithmet.exp: Ditto.
16060 * gdb.base/assign.exp: Ditto.
16061 * gdb.base/async.exp: Ditto.
16062 * gdb.base/bang.exp: Ditto.
16063 * gdb.base/break.exp: Ditto.
16064 * gdb.base/call-rt-st.exp: Ditto.
16065 * gdb.base/completion.exp: Ditto.
16066 * gdb.base/cond-expr.exp: Ditto.
16067 * gdb.base/condbreak.exp: Ditto.
16068 * gdb.base/consecutive.exp: Ditto.
16069 * gdb.base/define.exp: Ditto.
16070 * gdb.base/display.exp: Ditto.
16071 * gdb.base/ena-dis-br.exp: Ditto.
16072 * gdb.base/environ.exp: Ditto.
16073 * gdb.base/eval-skip.exp: Ditto.
16074 * gdb.base/info-proc.exp: Ditto.
16075 * gdb.base/jump.exp: Ditto.
16076 * gdb.base/logical.exp: Ditto.
16077 * gdb.base/long_long.exp: Ditto.
16078 * gdb.base/maint.exp: Ditto.
16079 * gdb.base/miscexprs.exp: Ditto.
16080 * gdb.base/pc-fp.exp: Ditto.
16081 * gdb.base/pointers.exp: Ditto.
16082 * gdb.base/relational.exp: Ditto.
16083 * gdb.base/reread.exp: Ditto.
16084 * gdb.base/sect-cmd.exp: Ditto.
16085 * gdb.base/sep.exp: Ditto.
16086 * gdb.base/sepdebug.exp: Ditto.
16087 * gdb.base/until.exp: Ditto.
16088 * gdb.base/whatis-exp.exp: Ditto.
16089 * gdb.cp/annota2.exp: Ditto.
16090 * gdb.cp/annota3.exp: Ditto.
16091 * gdb.trace/actions.exp: Ditto.
16092 * gdb.trace/backtrace.exp: Ditto.
16093 * gdb.trace/circ.exp: Ditto.
16094 * gdb.trace/collection.exp: Ditto.
16095 * gdb.trace/deltrace.exp: Ditto.
16096 * gdb.trace/infotrace.exp: Ditto.
16097 * gdb.trace/limits.exp: Ditto.
16098 * gdb.trace/packetlen.exp: Ditto.
16099 * gdb.trace/passc-dyn.exp: Ditto.
16100 * gdb.trace/passcount.exp: Ditto.
16101 * gdb.trace/report.exp: Ditto.
16102 * gdb.trace/save-trace.exp: Ditto.
16103 * gdb.trace/tfind.exp: Ditto.
16104 * gdb.trace/tracecmd.exp: Ditto.
16105 * gdb.trace/while-dyn.exp: Ditto.
16106 * gdb.trace/while-stepping.exp: Ditto.
16107 * lib/gdb.exp: Ditto.
16108 (gdb_compile): Handle nowarning option.
16109
5f4a23d9
AO
161102006-03-07 Alexandre Oliva <aoliva@redhat.com>
16111
16112 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
16113 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
16114 Rename executable to prelinkt. Don't re-prelink if we didn't
16115 get a core file. Test prelink -u exit status to tell whether
16116 prelinking failed. Use gdb_test_multiple.
16117
9733fc94
DJ
161182006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
16119
16120 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
16121 (do_tests): Call it.
16122
cc10cae3
AO
161232006-02-28 Alexandre Oliva <aoliva@redhat.com>
16124
16125 * gdb.base/prelink.exp: New test.
16126 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
16127
15c46491
WZ
161282006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
16129
16130 * gdb.fortran/derived-type.f90: New file.
16131 * gdb.fortran/derived-type.exp: New testcase.
16132
5c9f7ded
DJ
161332006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
16134
16135 * gdb.base/default.exp: Allow ';' as a directory separator.
16136
5b96932b
AS
161372006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16138
16139 * gdb.base/help.exp (help add-symbol-file): Update.
16140
1986bccd
AS
161412006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16142
16143 * gdb.base/help.exp (help load): Update expected results.
16144
a8b7528f
FF
161452006-02-19 Fred Fish <fnf@specifix.com>
16146
16147 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
16148 specifix hex value as part of results.
16149 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 16150
f8261448
FF
161512006-02-16 Fred Fish <fnf@specifix.com>
16152
16153 * gdb.base/whatis.c: Define variables using typedefs char_addr,
16154 ushort_addr, and slong_addr, so the typedefs are not optimized
16155 away.
16156 * gdb.base/whatis.exp: Add tests using type name for struct type,
16157 union type, enum type, and typedef.
a9c64011 16158
31d8bdd2
MK
161592006-02-13 Mark Kettenis <kettenis@gnu.org>
16160
16161 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
16162
34e41e63
JB
161632006-02-13 Jim Blandy <jimb@redhat.com>
16164
16165 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
16166 case where it takes two "next" commands to skip past the init
16167 call.
16168
ac6e4f31
FF
161692006-02-12 Fred Fish <fnf@specifix.com>
16170
16171 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
16172 to handle cases where it takes two "next" commands to skip
16173 past the init call.
16174
2db2d571
JB
161752006-02-07 Joel Brobecker <brobecker@adacore.com>
16176
16177 * gdb.ada/array_return.exp: Mark the last test as expected to fail
16178 on hppa32 targets.
16179
38fcd64c
DJ
161802006-02-06 Vladimir Prus <ghost@cs.msu.su>
16181
16182 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
16183 field.
16184
1315ad46
MK
161852006-01-29 Mark Kettenis <kettenis@gnu.org>
16186
16187 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
16188
5625b943
DJ
161892006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16190
16191 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
16192 files.
16193
80df1bbe
DJ
161942006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16195
16196 * gdb.cp/maint.exp: Set complaints to a positive value.
16197
9078e690
DJ
161982006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16199
16200 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
16201 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
16202 function name.
16203
9c903399
DJ
162042006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16205
16206 * gdb.base/checkpoint.c: Update copyright notice. Include
16207 <stdlib.h>.
16208
761ae4d6
JB
162092006-01-04 Jim Blandy <jimb@redhat.com>
16210
16211 * gdb.asm/asm-source.exp: Independently provide default values for
16212 asm-flags and debug-flags. Use 'string equal' to do the
16213 comparison, not the implicit expr's '==' operator. Remove
16214 now-unneeded assignments to asm-flags. In h8300 case, place
16215 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
16216
099ac3dd
MS
162172006-01-04 Michael Snyder <msnyder@redhat.com>
16218
16219 * gdb.base/checkpoint.c: New file.
16220 * gdb.base/checkpoint.exp: New file.
16221 * gdb.base/multi-fork.c: New file.
16222 * gdb.base/multi-fork.exp: New file.
16223 * gdb.base/pi.txt: New file (data for checkpoint.c test).
16224
f4d85314
FF
162252006-01-04 Fred Fish <fnf@specifix.com>
16226
16227 * gdb.base/ptype.c (foo): Add typedef.
16228 (intfoo): Add function.
16229 * gdb.base/ptype1.c: New file.
16230 * gdb.base/ptype.exp: Handle compilation and linking with two
16231 source files. Test that proper type for "foo" is found based
16232 on source context rather than first match found in symtabs.
16233
a1b06f35
MK
162342005-12-28 Mark Kettenis <kettenis@gnu.org>
16235
16236 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
16237 * gdb.asm/openbsd.inc: Indent commands.
16238
d082a1e2
MK
162392005-12-26 Mark Kettenis <kettenis@gnu.org>
16240
c65016bd
MK
16241 * gdb.base/freebpcmd.exp: Increase timeout.
16242
d082a1e2
MK
16243 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
16244
d3c32a0e
DJ
162452005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
16246
16247 * gdb.base/default.exp: Update check for "show version".
16248
9fdb1f50
RC
162492005-12-09 Randolph Chung <tausq@debian.org>
16250
16251 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
16252 * gdb.asm/pa64.inc: New file.
16253
5f2c56f7
RC
162542005-12-09 Randolph Chung <tausq@debian.org>
16255
16256 * gdb.asm/common.inc: Indent commands.
16257 * gdb.asm/asmsrc1.s: Likewise.
16258 * gdb.asm/asmsrc2.s: Likewise.
16259
8117349c
RC
162602005-12-09 Randolph Chung <tausq@debian.org>
16261
16262 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
16263 (get_addr_of_sym): Remove duplicate print.
16264 (gen_core): xfail hppa*-*-hpux*, update expected output.
16265 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
16266 * gdb.arch/pa64-nullify.s: New file.
16267
8f07f25a
RC
162682005-12-09 Randolph Chung <tausq@debian.org>
16269
16270 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
16271
55b39184
DJ
162722005-12-07 Christophe Lyon <christophe.lyon@st.com>
16273
16274 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
16275 code generation for these functions.
16276 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
16277 error message.
16278
31e2b00f
AS
162792005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
16280
16281 * gdb.base/help.exp (help b, help br, help bre, help brea)
16282 (help break): Update the expected message.
16283
c3d0b56e
SC
162842005-11-11 Stephane Carrez <stcarrez@nerim.fr>
16285
16286 * gdb.asm/m68hc11.inc: Setup the data section.
16287 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
16288 script for this test.
16289 (m6812-*-*): Likewise.
16290
36ae0ea9
RC
162912005-11-09 Randolph Chung <tausq@debian.org>
16292
16293 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
16294
9d6f42e9
WZ
162952005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
16296
16297 * gdb.base/break.exp: Fix a comment typo.
16298
e2126a14
EZ
162992005-11-03 Jim Blandy <jimb@redhat.com>
16300
a9c64011
AS
16301 Checked in by Elena Zannoni <ezannoni@redhat.com>
16302
889bf7c5 16303 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 16304
e0ac7199
CV
163052005-11-02 Corinna Vinschen <vinschen@redhat.com>
16306
16307 * gdb.arch/gdb1558.c: Include stdio.h.
16308
31d3fb18
MK
163092005-10-31 Mark Kettenis <kettenis@gnu.org>
16310
16311 * gdb.asm/asm-source.exp: Use -e instead of --entry.
16312
e52b687c
MK
163132005-10-31 Mark Kettenis <kettenis@gnu.org>
16314
16315 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
16316
f4711d79
PG
163172005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
16318
a9c64011
AS
16319 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16320 vscr" tests to better match output.
f4711d79 16321
987a9106
JB
163222005-10-12 Jim Blandy <jimb@redhat.com>
16323
16324 * gdb.base/structs.exp (any): New function.
16325 (test_struct_returns): Don't make any assumptions at all about
16326 what value the function returns when GDB can't set the return
16327 value.
16328
2336bb58
JB
163292005-10-09 Joel Brobecker <brobecker@adacore.com>
16330
16331 * gdb.ada/arrayidx/p.adb: New file.
16332 * gdb.ada/arrayidx.exp: New testcase
16333
163342005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
16335
16336 * gdb.ada/array_return/pck.ads: New file.
16337 * gdb.ada/array_return/pck.adb: New file.
16338 * gdb.ada/array_return/p.adb: New file.
16339 * gdb.ada/array_return.exp: New testcase.
16340
705335ea
JB
163412005-10-03 Joel Brobecker <brobecker@adacore.com>
16342
a9c64011
AS
16343 * gdb.base/arrayidx.c: New file.
16344 * gdb.base/arrayidx.exp: New testcase.
705335ea 16345
11ee9940
NR
163462005-09-29 Nick Roberts <nickrob@snap.net.nz>
16347
16348 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
16349 frames-invalid and breakpoints-invalid are no longer generated
16350 with level 3 so don't expect them in the output.
16351
39fb8e9e
BR
163522005-09-27 Bob Rossi <bob@brasko.net>
16353
a9c64011 16354 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
16355 from test. Escape the | in mi_gdb_test call.
16356 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
16357 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
16358 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
16359 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
16360 expected regex's in mi_gdb_test calls.
16361 * lib/mi-support.exp: Remove arbitrary .* from tests.
16362 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
16363 Fully anchor GDB/MI expected results in mi_gdb_test.
16364 * lib/gdb.exp (string_to_regexp): Escape the ] character.
16365 * gdb.base/sizeof.exp: Remove escape character. Correct test.
16366
2af48f68
PB
163672005-09-26 Paul Brook <paul@codesourcery.com>
16368
16369 * long_long.exp: Exclude eabi targets from arm FPA float format test.
16370
f34502bc
WZ
163712005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16372
16373 * bfp-test.c: New file.
16374 * bfp-test.exp: New testcase.
16375
ca929517
WZ
163762005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16377
16378 * gdb.fortran/subarray.exp: New testcase to test the evaluation
16379 of subarray and substring variable.
16380 * gdb.fortran/subarray.f: New source file for the test of subarray
16381 and substring variable evaluation.
16382 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
16383 of string constant.
16384
c761af65
DJ
163852005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
16386
16387 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
16388 copyright dates.
16389
561d7a1d
PG
163902005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
16391
16392 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
16393 powerpc altivec' test with an almost identical 'info vector' test.
16394
b2b64cc9
PG
163952005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16396
a9c64011
AS
16397 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16398 vscr" tests to match output.
b2b64cc9 16399
6ac4d15a
PG
164002005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16401
a9c64011
AS
16402 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
16403 output.
6ac4d15a 16404
40e55bef
BR
164052005-09-11 Bob Rossi <bob@brasko.net>
16406
889bf7c5
PA
16407 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
16408 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
16409 commands that return an MI output command and an asyncronous MI output
16410 command.
40e55bef
BR
16411 * gdb.mi/mi-console.exp: Ditto.
16412
3c7385ec
BR
164132005-09-11 Bob Rossi <bob@brasko.net>
16414
16415 * gdb.mi/mi-var-child.c: Include <string.h>.
16416
a6cd0eb3
DJ
164172005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
16418
16419 * killed.exp: Correct gdb_expect syntax.
16420
2f168eed
CV
164212005-08-09 Corinna Vinschen <vinschen@redhat.com>
16422
16423 * lib/mi-support.exp (mi_gdb_load): Fix typo.
16424
ecd3fd0f
BR
164252005-08-02 Bob Rossi <bob@brasko.net>
16426
16427 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
16428 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
16429 Change tests to inferior-tty-set/show.
16430 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
16431 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
16432 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
16433 inferior. Use mi_gdb_test to get GDB and Inferior output.
16434 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
16435 descriptor.
16436 (mi_inferior_tty_name): Add inferior PTY file name.
16437 (mi_gdb_start): Add INFERIOR_PTY parameter.
16438 (mi_gdb_test): Add IPATTERN parameter.
16439
f1ea48cb 164402005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 16441
f1ea48cb
BR
16442 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
16443 parameter to mi_gdb_test.
16444 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
16445
6e650a67
DJ
164462005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16447
16448 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
16449 struct_declarations.
16450 * gdb.mi/mi-var-child.exp: Step over the initialization of
16451 struct_declarations.
16452
8be260b6
DJ
164532005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16454
16455 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
16456 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
16457 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
16458 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
16459 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
16460 file.
16461
4e660f07
NR
164622005-07-27 Nick Roberts <nickrob@snap.net.nz>
16463
16464 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
16465 (do_children_tests): Assign values to the extra elements.
16466
16467 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
16468 them for tests for "-var-update --no-values" and
a9c64011 16469 "-var-update --all-values".
4e660f07
NR
16470 Add test for "-var-list-children --simple-values".
16471
16472 * gdb.mi/basics.c (callee4): Add integer array D[3]...
16473
16474 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
16475 "-stack-list-locals --simple-values" Improve doc strings and
16476 comments.
16477
6bdae935
MK
164782005-07-18 Mark Kettenis <kettenis@gnu.org>
16479
598b7a6f
MK
16480 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
16481 *-*-openbsd*.
16482 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
16483
6bdae935
MK
16484 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
16485 sigaltsatck'.
16486
1323e929 164872005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 16488
1323e929
BR
16489 * gdb.base/default.exp (tty): Changed output of command.
16490 * gdb.base/help.exp (help tty): Ditto.
16491
b1a9c082
MK
164922005-07-12 Mark Kettenis <kettenis@gnu.org>
16493
16494 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
16495
10a844a2
MK
164962005-07-10 Mark Kettenis <kettenis@gnu.org>
16497
16498 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
16499 -stack-select-frame without arguments.
16500 (test_stack_frame_listing): Add test for newly implemented command
16501 -stack-info-frame.
16502
3cb3b8df
BR
165032005-07-06 Bob Rossi <bob@brasko.net>
16504
16505 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
16506 command.
16507 (Copyright): Update copyright.
16508
a0c5fbcf
WZ
165092005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
16510
16511 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
16512 tests to evaluate exponentiation expression.
16513
984971d0
AS
165142005-06-29 Andreas Schwab <schwab@suse.de>
16515
16516 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
16517 main to avoid warnings.
16518
16519 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
16520
fe03833f
NR
165212005-06-20 Nick Roberts <nickrob@snap.net.nz>
16522
16523 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
16524 -stack-select-frame without arguments.
16525 (test_stack_frame_listing): Add test for newly implemented command
16526 -stack-info-frame.
a9c64011 16527
7a55f279
WZ
165282005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
16529
0ffa0ea5
DJ
16530 * gdb.fortran/array-element.f: New file.
16531 * gdb.fortran/array-element.exp: New testcase.
7a55f279 16532
26585198
DJ
165332005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16534
16535 * gdb.base/bigcore.exp: Correct checks for systems which can
16536 not dump a large core file.
16537
c1bd25fd
DJ
165382005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16539
16540 * gdb.base/relocate.c: Add a copyright notice.
16541 (dummy): Remove.
16542 * gdb.base/relocate.exp: Test printing the values of variables
16543 from a relocatable file.
16544
589e074d
DJ
165452005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16546
16547 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
16548 excess MI output after an error.
16549
0915f927
JB
165502005-05-29 Joel Brobecker <brobecker@adacore.com>
16551
16552 * gdb.arch/alpha-step.c: New file.
16553 * gdb.arch/alpha-step.exp: New testcase.
16554
76ff342d
DJ
165552005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
16556 Dennis Brueni <dennis@slickedit.com>
16557
16558 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
16559 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
16560 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
16561 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
16562 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16563 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
16564 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
16565
96b0c7ac
DJ
165662005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
16567 Wu Zhou <woodzltc@cn.ibm.com>
16568
16569 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
16570 IBM's xlc compiler.
16571 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
16572 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
16573
f21565d2
JB
165742005-05-13 Jim Blandy <jimb@redhat.com>
16575
16576 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
16577 calling gdb_suppress_entire_file.
16578 * gdb.base/charset.exp: Same.
16579 * gdb.base/call-rt-st.exp: Same.
16580
6006a3a1
BR
165812005-05-05 Bob Rossi <bob_rossi@cox.net>
16582
16583 * lib/gdb.exp (fullname_syntax): Added global regex.
16584 (fullname_syntax_POSIX): Ditto.
16585 (fullname_syntax_UNC): Ditto.
16586 (fullname_syntax_DOS_CASE): Ditto.
16587 (fullname_syntax_DOS): Ditto.
16588 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
16589 fullname_syntax variable to scope and use it.
16590 (test_file_list_exec_source_files): Ditto.
16591 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
16592
c3b69c04
DJ
165932005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
16594
16595 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
16596
3c95e6af
PG
165972004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
16598
a9c64011
AS
16599 * lib/gdb.exp (skip_altivec_tests): New function, based on
16600 check_vmx_hw_available from the GCC testsuite.
16601 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
16602 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 16603
78df6c56
JB
166042005-05-02 Jim Blandy <jimb@redhat.com>
16605
16606 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
16607 calling gdb_suppress_entire_file.
16608
1690f9cf
DJ
166092005-04-30 Randolph Chung <tausq@debian.org>
16610
16611 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
16612 Slightly relax "sem_post" name checking.
16613
5ea106f7
PG
166142005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16615
16616 * gdb.base/unload.exp: Use new shared library infrastructure.
16617
bf7234cf
PG
166182005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16619
16620 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 16621 infrastructure.
bf7234cf 16622
547b869a
CV
166232005-04-29 Corinna Vinschen <vinschen@redhat.com>
16624
16625 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
16626 * gdb.asm/h8300.inc: New file.
16627
f07e55f0
PG
166282005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16629
16630 * gdb.base/shlib-call.exp: Change to use new shared library
16631 infrastructure.
16632
3cbba3d1
PG
166332005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16634
a9c64011
AS
16635 * gdb.base/pending.exp: Change to use new shared library
16636 infrastructure.
3cbba3d1 16637
ed6df200
PG
166382005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16639
a9c64011
AS
16640 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
16641 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 16642
8c8f4ebe
PG
166432005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
16644
a9c64011
AS
16645 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
16646 shared objects being adjusted and update copyright years.
8c8f4ebe 16647
607fbc54
DJ
166482005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
16649
16650 * ChangeLog: Correct some 2003-01-13 dates.
16651 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
16652 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
16653 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
16654 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
16655 gdb.trace/tfind.exp: Update copyright years.
16656
57bf0e56
DJ
166572005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
16658 Daniel Jacobowitz <dan@codesourcery.com>
16659
16660 * lib/gdb.exp (gdb_compile): Handle shlib=.
16661 (gdb_compile_shlib): New function.
16662
9b593790
PG
166632005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
16664
a9c64011 16665 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 16666
9494c6a5
DJ
166672005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16668
16669 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
16670 gdb.server.
16671 * configure.ac: Likewise.
16672 * configure: Regenerated.
16673 * gdb.gdbserver/Makefile.in: Moved to...
16674 * gdb.server/Makefile.in: ... here.
16675 * gdb.gdbserver/server.c: Moved to...
16676 * gdb.server/server.c: ... here.
16677 * gdb.gdbserver/server-run.exp: Moved to...
16678 * gdb.server/server-run.exp: ... here.
16679
6f8eac0e
DJ
166802005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16681
16682 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
16683 * configure.ac: Create gdb.gdbserver/Makefile.
16684 * configure: Regenerated.
16685 * lib/gdbserver-support.exp: New file, derived from
16686 config/gdbserver.exp.
16687 * config/gdbserver.exp: Use gdbserver-support.exp.
16688 * gdb.gdbserver/Makefile.in: New file.
16689 * gdb.gdbserver/server.c: New file.
16690 * gdb.gdbserver/server-run.exp: New file.
16691
6e87504d
PG
166922005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
16693
a9c64011
AS
16694 * lib/gdb.exp (test_compiler_info): Return compiler_info
16695 if no arguments are given.
6e87504d 16696
d1779be4
PG
166972005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
16698
16699 * gdb.arch/altivec-abi.exp: Check for compiler and set
16700 use altivec' flag accordingly.
16701 * gdb.arch/altivec-regs.exp: Likewise.
16702
88750304
DJ
167032005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
16704
16705 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
16706
f3fb768d
AS
167072005-03-27 Andreas Schwab <schwab@suse.de>
16708
16709 * gdb.base/bigcore.c (main): Add missing mode argument in open
16710 call.
16711
7e813ac5
DJ
167122005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
16713
16714 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
16715 downloads.
16716 * config/gdbserver.exp (gdb_load): Likewise.
16717
8e3049aa
PB
167182005-03-14 Paul Brook <paul@codesourcery.com>
16719
16720 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
16721 targets.
16722
a9df7c44
JB
167232005-03-09 Joel Brobecker <brobecker@adacore.com>
16724
16725 * gdb.dwarf2/dup-psym.S: New file.
16726 * gdb.dwarf2/dup-psym.exp: New testcase.
16727
9f0d94e8
JB
167282005-03-09 Joel Brobecker <brobecker@adacore.com>
16729
16730 * gdb.ada/exec_changed/first.adb: New file.
16731 * gdb.ada/exec_changed/second.adb: New file.
16732 * gdb.ada/exec_changed.exp: New testcase.
16733
5f579bc5
NS
167342005-03-08 Nathan Sidwell <nathan@codesourcery.com>
16735
36e9969c
NS
16736 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
16737 (A2): New class.
16738 (main): Test operator+.
16739 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
16740 breakpoint test.
16741
5f579bc5
NS
16742 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
16743 * gdb.base/signull.exp: Disable if gdb,nosignals.
16744 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
16745 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
16746 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
16747 * gdb.mi/mi2-console.exp: Likewise.
16748 * gdb.trace/collection.exp (run_trace_experiment): Consume the
16749 continue output at start.
16750 (gdb_collect_locals_test): Robustify regexp.
16751 * gdb.trace/passc-dyn.exp: Fix comment typo.
16752 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
16753
be46087e
CV
167542005-03-08 Corinna Vinschen <vinschen@redhat.com>
16755
16756 * gdb.asm/asm-source.exp: Add iq2000 case.
16757 * gdb.asm/iq2000.inc: New file.
16758
384e1a61 167592005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 16760
384e1a61
MI
16761 * gdb.base/command.exp: Change hardcoded value to regular expression.
16762 * gdb.base/float.exp: Add powerpc to the list of targets checked.
16763
584b6e9e
DJ
167642005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
16765
16766 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
16767 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
16768 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
16769 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
16770 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
16771
ab5b5d61
MK
167722005-03-05 Mark Kettenis <kettenis@gnu.org>
16773
16774 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
16775 changes.
16776
ae051c1b
PG
167772004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
16778
a9c64011
AS
16779 * lib/compiler.c: Add test for IBM's xlc compiler.
16780 * lib/compiler.cc: Likewise.
ae051c1b 16781
3f0f6ed2
JB
167822004-02-24 Joel Brobecker <brobecker@adacore.com>
16783
16784 * gdb.ada/fixed_points.exp: Create compilation object directory
16785 before running the test.
16786 * gdb.ada/null_record.exp: Likewise.
16787 * gdb.ada/packed_array.exp: Likewise.
16788 * gdb.ada/start.exp: Likewise.
16789
724f452b
JB
167902005-02-15 Joel Brobecker <brobecker@adacore.com>
16791
16792 * gdb.ada/packed_array/pa.adb: New file.
16793 * gdb.ada/packed_array.exp: New testcase.
16794
57f5cdfb 167952005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 16796
1f393151
MK
16797 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
16798 files.
16799
ebdda337
MK
16800 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
16801 on *-*-openbsd*. Correctly match whitespace in regukar
16802 expressions.
16803
cf309262
DJ
168042005-02-10 Daniel Jacobowitz <dan@debian.org>
16805
16806 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
16807 PR exp/1821
16808 * gdb.base/gdb1821.c: New test file.
16809 * gdb.base/gdb1821.exp: New test file.
16810
3be49e7a
JB
168112005-02-09 Joel Brobecker <brobecker@adacore.com>
16812
16813 * gdb.base/start.c: New file.
16814 * gdb.base/start.exp: New testcase.
16815
e292e67d
JB
168162005-02-09 Joel Brobecker <brobecker@adacore.com>
16817
16818 * gdb.ada/start/dummy.adb: New file.
16819 * gdb.ada/start.exp: New testcase.
16820
dbdfa66c
CV
168212005-02-09 Corinna Vinschen <vinschen@redhat.com>
16822
16823 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16824 for printing symbols and statistics.
16825 Add test for using relative pathnames in "maint print msymbols" test.
16826 Mark "maint info sections DATA" XFAIL on Cygwin.
16827 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16828 tests.
16829
d7941671
AC
168302005-02-09 Andreas Schwab <schwab@suse.de>
16831
16832 Committed by Andrew Cagney <cagney@gnu.org>
16833 * gdb.base/remotetimeout.exp: New file.
16834
74e5ef44
MK
168352005-02-07 Mark Kettenis <kettenis@gnu.org>
16836
16837 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16838
464dd14d
JB
168392005-02-03 Joel Brobecker <brobecker@adacore.com>
16840
16841 * gdb.ada/gnat_ada.gpr: New file.
16842 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16843 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16844 * configure.ac: No longer generate gnat_ada.gpr.
16845 * configure: Regenerate.
16846 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16847 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16848 * gdb.ada/null_record/bar.ads: Likewise.
16849 * gdb.ada/null_record/bar.adb: Likewise.
16850 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16851 * gdb.ada/null_record.exp (testdir): New variable.
16852 (testfile): executable is now in testdir subdirectory.
16853 (srcfile): Use full path to the main compilation unit.
16854 * gdb.ada/fixed_points.exp: Same changes as above.
16855
30d756ae
NR
168562005-02-03 Nick Roberts <nickrob@snap.net.nz>
16857
16858 * gdb.base/interp.exp: New test.
16859
9d799f85
AC
168602005-01-24 Andrew Cagney <cagney@gnu.org>
16861
16862 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16863
15656118
AC
168642005-01-19 Andrew Cagney <cagney@gnu.org>
16865
a892c31b
AC
16866 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16867 configure.ac not configure.in.
16868
15656118
AC
16869 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16870 of powerpc*-*-*.
16871 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 16872 * gdb.base/list.exp (test_list_function)
15656118
AC
16873 (test_list_filename_and_function): Ditto.
16874 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16875
a7b01baf
AC
168762005-01-16 Andrew Cagney <cagney@gnu.org>
16877
17d92a02
AC
16878 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16879
a7b01baf
AC
16880 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16881
bc8332bb
AC
168822005-01-14 Andrew Cagney <cagney@gnu.org>
16883
16884 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16885 * gdb.mi/mi2-var-cmd.exp: Ditto.
16886
4d074752
CV
168872005-01-10 Corinna Vinschen <vinschen@redhat.com>
16888
16889 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16890
bec39cab
AC
168912005-01-07 Andrew Cagney <cagney@gnu.org>
16892
16893 * configure.ac: Rename configure.in, require autoconf 2.59.
16894 * configure: Re-generate.
16895 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16896 * gdb.stabs/configure: Re-generate.
16897 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16898 * gdb.hp/configure: Re-generate.
16899 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16900 autoconf 2.59.
16901 * gdb.hp/gdb.objdbg/configure: Re-generate.
16902 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16903 autoconf 2.59.
16904 * gdb.hp/gdb.defects/configure: Re-generate.
16905 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16906 autoconf 2.59.
16907 * gdb.hp/gdb.compat/configure: Re-generate.
16908 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16909 autoconf 2.59.
16910 * gdb.hp/gdb.base-hp/configure: Re-generate.
16911 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16912 autoconf 2.59.
16913 * gdb.hp/gdb.aCC/configure: Re-generate.
16914
f10b16d4
JB
169152004-12-15 Jim Blandy <jimb@redhat.com>
16916
16917 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16918 under NPTL when there is debugging info available for libpthread.
16919
fb6e1814
JG
169202004-12-13 Jerome Guitton <guitton@gnat.com>
16921
16922 * gdb.ada/fixed_points.c: New file.
16923 * gdb.ada/fixed_points.exp: New file.
16924
fe46cd3a
RC
169252004-12-03 Randolph Chung <tausq@debian.org>
16926
16927 * gdb.arch/pa-nullify.exp: New file.
16928 * gdb.arch/pa-nullify.s: New file.
16929
8de0841b
RC
169302004-11-30 Randolph Chung <tausq@debian.org>
16931
16932 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16933 instead of "tbug". Fix regexp to work properly with gdb_test.
16934
c8170782
PH
169352004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16936
16937 * gdb.base/bitfields2.exp: New test.
16938 * gdb.base/bitfields2.c: New file.
16939
954269c2
RE
169402004-11-28 Richard Earnshaw <rearnsha@arm.com>
16941
16942 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16943
0107feed
RC
169442004-11-16 Randolph Chung <tausq@debian.org>
16945
16946 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16947
f073ae8c
DJ
169482004-11-14 Daniel Jacobowitz <dan@debian.org>
16949
16950 * gdb.threads/threadapply.exp: Correct "macro details" test.
16951
19ad59e7
JJ
169522004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16953
16954 * gdb.threads/threadapply.exp: New test.
16955 * gdb.threads/threadapply.c: New file.
16956
9cf0961b
MK
169572004-11-07 Mark Kettenis <kettenis@gnu.org>
16958
16959 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16960 frames.
16961
c789492a
FL
169622004-11-05 Felix Lee <felix+log1@specifixinc.com>
16963
16964 * gdb.base/cursal.exp: New file.
16965 * gdb.base/cursal.c: New file.
16966
a1e167bb
AC
169672004-11-03 Andrew Cagney <cagney@gnu.org>
16968
16969 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16970
b7cbf173
MK
169712004-10-30 Mark Kettenis <kettenis@gnu.org>
16972
16973 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16974 NetBSD/ELF targets.
16975
88f9d34f
JB
169762004-10-29 Joel Brobecker <brobecker@gnat.com>
16977
16978 * gdb.threads/bp_in_thread.c: New file, copied from
16979 pthread_cond_wait.c.
16980 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16981 file, rather than reusing the .c file from another testcase.
16982
ca7d6a0c
JB
169832004-10-20 Joel Brobecker <brobecker@gnat.com>
16984
16985 * gdb.ada/null_record.exp: Check where we stopped after
16986 sending the start command, instead of where the associated
16987 temporary breakpoint was inserted.
16988
0d863d03
AC
169892004-10-14 Andrew Cagney <cagney@gnu.org>
16990
16991 * gdb.mi/gdb701.c (main): Return 0.
16992
d11e72cb
DJ
169932004-10-13 Daniel Jacobowitz <dan@debian.org>
16994
d40539a4 16995 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 16996
e1923096
JJ
169972004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16998
16999 * gdb.threads/schedlock.c: Add comment markers to use to find
17000 line numbers.
17001 * gdb.threads/schedlock.exp: Adjust regex to handle the new
17002 comments.
17003 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
17004 breakpoint lines.
17005
ec8ba2c9
DJ
170062004-10-12 Daniel Jacobowitz <dan@debian.org>
17007
17008 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
17009
0eb3658b
DJ
170102004-10-12 Daniel Jacobowitz <dan@debian.org>
17011
17012 * configure.in: Add gdb.dwarf2.
17013 * configure: Regenerated.
17014 * Makefile.in: Add gdb.dwarf2.
17015 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
17016 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
17017 gdb.dwarf2/file1.txt: New files.
17018
a271cc33
OF
170192004-10-11 Orjan Friberg <orjanf@axis.com>
17020
a9c64011 17021 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
17022 of "run", since the latter doesn't work with remote targets. Adjust
17023 the breakpoint numbering accordingly.
17024 * gdb.threads/pthread_cond_wait.exp: Ditto.
17025
895ce074
MC
170262004-10-08 Michael Chastain <mec.gnu@mindspring.com>
17027
17028 * gdb.base/overlays.exp: Update copyright years.
17029
6be3092d
KI
170302004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
17031
17032 * gdb.base/overlays.exp: Disable if target is Linux.
17033
e05389b8
FL
170342004-10-06 Felix Lee <felix+log1@specifixinc.com>
17035
17036 * config/gdbserver.exp (gdb_load): Use right filename on remote.
17037
73cb587d
KI
170382004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
17039
17040 * gdb.asm/asm-source.exp: Add m32r-linux target.
17041 * gdb.asm/m32r-linux.inc: New file.
17042
3c0edcdc
AC
170432004-09-24 Andrew Cagney <cagney@redhat.com>
17044 David Anderson <anderson@redhat.com>
17045
17046 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
17047 command fails, assume things will work.
17048 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
17049 (_GNU_SOURCE): Define.
17050 (print_unsigned, print_hex): Change parameter to "long long".
17051 (print_byte_count): New function, use to print byte counts.
17052 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
17053 O_LARGEFILE.
17054 (main): Compute an upper bound on a corefile in max_core_size.
17055 Limit memory chunk size to max_core_size. Limit total memory
17056 allocated to max_core_size.
17057
4bb3667f
AC
170582004-09-23 Andrew Cagney <cagney@gnu.org>
17059
17060 * gdb.base/bigcore.exp: Replace the code that creates a corefile
17061 from a separate process with code that creates a corefile by
17062 making the inferior dump core.
17063
60fe1a51
MK
170642004-09-23 Mark Kettenis <kettenis@gnu.org>
17065
17066 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
17067 block.
17068
8e937346
MC
170692004-09-23 Michael Chastain <mec.gnu@mindspring.com>
17070
17071 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
17072 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
17073 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
17074 Likewise.
17075
7213f6d6
JJ
170762004-09-20 Jeff Johnston <jjohnstn@redhat.com>
17077
17078 * gdb.java/jprint.exp: New test case for java inferior call.
17079 * gdb.java/jprint.java: Ditto.
17080
eac69dca
JB
170812004-09-15 Joel Brobecker <brobecker@gnat.com>
17082
17083 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
17084
22227696
MC
170852004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17086
17087 * gdb.threads/killed.c: Include <stdlib.h>.
17088 * gdb.threads/pthreads.c: Likewise.
17089
7dd403a4
MC
170902004-09-14 Michael Chastain <mec.gnu@mindspring.com>
17091
17092 * gdb.threads/killed.c: Add copyright notice.
17093
33f2d567
JM
170942004-09-10 Jason Molenda (jmolenda@apple.com)
17095
a9c64011
AS
17096 * gdb.base/define.exp: Two new tests to verify zero space chars
17097 after 'if' and 'while' commands in a user-defined command is correctly
17098 parsed.
33f2d567 17099
e05b62ac
AC
171002004-09-08 Andrew Cagney <cagney@gnu.org>
17101
17102 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
17103 delivery test with duplicate at end of file.
17104
9cbe82da
MK
171052004-09-06 Mark Kettenis <kettenis@jive.nl>
17106
17107 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
17108
564803d9
MC
171092004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17110
17111 * config/hppro.exp: Removed.
17112
7c6807ce
MC
171132004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17114
17115 * config/sparclet.exp: Removed.
17116
bf7e26dd
MC
171172004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17118
17119 * config/udi.exp: Removed.
17120
714e341b
MC
171212004-09-02 Michael Chastain <mec.gnu@mindspring.com>
17122
17123 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
17124 of "exp_continue".
17125 (advancei): Likewise.
17126
1236e623
JJ
171272004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17128
17129 * gdb.base/unload.exp: Fix so messages aren't duplicated.
17130
3bdcad15
MI
171312004-09-01 Manoj Iyer <manjo@austin.ibm.com>
17132
228af206 17133 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
17134 to check for nodebug in executable.
17135 * gdb.gdb/observer.exp (setup_test): Likewise.
17136 * gdb.gdb/selftest.exp (test_with_self): Likewise.
17137 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
17138
c72b934c
AC
171392004-09-01 Andrew Cagney <cagney@gnu.org>
17140
17141 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17142 files.
17143
edd9b715
JJ
171442004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17145
17146 * gdb.base/unload.exp: Fix expected warning message to match
17147 latest format.
17148
fb4ce06b
CV
171492004-09-01 Corinna Vinschen <vinschen@redhat.com>
17150
17151 * gdb.base/call-rt-st.exp: Fix typos.
17152
ce78e7c3
MI
171532004-08-31 Manoj Iyer <manjo@austin.ibm.com>
17154
17155 * gdb.threads/thread_check.exp: New testcase.
17156 * gdb.threads/thread_check.c: New testcase.
17157
2dedb159
AC
171582004-08-31 Andrew Cagney <cagney@gnu.org>
17159
17160 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
17161 (skip_to_handler_entry): New procedures. Test stepping into a
17162 handler when the breakpoint is at the handler's entry point.
17163
68f53502
AC
171642004-08-30 Andrew Cagney <cagney@gnu.org>
17165
17166 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
17167 gdb/1757.
17168
3e3ffd2b
MC
171692004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17170
17171 With code from Manoj Iyer <manjo@austin.ibm.com>:
17172 * lib/gdb.exp (gdb_file_cmd): Return more information in the
17173 return value. Add an arm for "no debugging symbols found".
17174 Change a stray "error" to "perror".
17175 (gdb_run_cmd): Adapt to new return value.
17176 * gdb.base/remote.exp: Adapt to new return value.
17177 * gdb.gdb/complaints.exp: Likewise.
17178 * gdb.gdb/observer.exp: Likewise.
17179 * gdb.gdb/selftest.exp: Likewise.
17180 * gdb.gdb/xfullpath.exp: Likewise.
17181
4b6f5fd2
JB
171822004-08-27 Joel Brobecker <brobecker@gnat.com>
17183
17184 * gdb.threads/bp_in_thread.exp: New testcase.
17185
e5b25496
MC
171862004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17187
17188 Fix PR testsuite/1735.
17189 * gdb.threads/schedlock.c (thread_function): Add a cast
17190 to suppress a gcc warning.
17191 * gdb.threads/thread-specific.c (thread_function): Likewise.
17192
934353d6
MC
171932004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17194
17195 * gdb.base/unload.c: Include <stdlib.h>.
17196
f98a0aef 171972004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 17198
f98a0aef 17199 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
17200 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
17201 synchronized after the "return".
17202
5a2e8882
MC
172032004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17204
17205 * gdb.mi/basics.c: Include <stdio.h>.
17206 * gdb.mi/pthreads.c: Include <stdlib.h>.
17207 * gdb.mi/var-cmd.c: Include <stdlib.h>.
17208
a9640423
MC
172092004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17210
17211 * gdb.threads/schedlock.c: Add copyright notice.
17212
b04e311d
AC
172132004-08-25 Andrew Cagney <cagney@gnu.org>
17214
17215 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
17216 (skip_over_handler, breakpoint_over_hander): New test procedures.
17217 (advance, advancei): Add a proper prefix, do not use
17218 rerun_to_main.
17219 * gdb.base/sigstep.c (main): Change to use an infinite loop.
17220
7c27f15b
MC
172212004-08-24 Michael Chastain <mec.gnu@mindspring.com>
17222
17223 * gdb.mi/basics.c: Add copyright notice.
17224 * gdb.mi/var-cmd.c: Add copyright notice.
17225
fffc87ae
MC
172262004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17227
17228 * lib/gdb.exp: Remove signed_keyword_not_used.
17229 * lib/compiler.c: Likewise.
17230 * lib/compiler.cc: Likewise.
17231
d782e0bf
MC
172322004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17233
17234 * gdb.base/whatis.c: Remove conditional disabling of "signed".
17235 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
17236
96033e83
MC
172372004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17238
17239 * gdb.base/whatis.c: Add copyright notice.
17240
cf38c229
MK
172412004-08-20 Mark Kettenis <kettenis@gnu.org>
17242
17243 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
17244 it to skip the breakpoints encoded in the inline assembly.
17245
f4b49756
MC
172462004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17247
17248 * Makefile.in: Add gdb.fortran.
17249
2f193b69
MC
172502004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17251
17252 * gdb.base/call-sc.exp (test_scalar_returns):
17253 Fix cut-and-paste glitch in "Make fun return now".
17254
89a237cb
MC
172552004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17256
17257 * configure.in: Add gdb.fortran.
17258 * configure: Regenerate.
17259 * gdb.fortran/Makefile.in: New file.
17260 * lib/gdb.exp (skip_fortran_tests): New procedure.
17261
469aff8e
MC
172622004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17263
17264 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
17265 reference to bug-gnu@prep.ai.mit.edu.
17266 * gdb.mi/mi-var-child.exp: Likewise.
17267 * gdb.mi/mi-var-cmd.exp: Likewise.
17268 * gdb.mi/mi-var-display.exp: Likewise.
17269 * gdb.mi/mi2-var-block.exp: Likewise.
17270 * gdb.mi/mi2-var-child.exp: Likewise.
17271 * gdb.mi/mi2-var-cmd.exp: Likewise.
17272 * gdb.mi/mi2-var-display.exp: Likewise.
17273
00b51b9f
MK
172742004-08-15 Mark Kettenis <kettenis@gnu.org>
17275
17276 * gdb.base/unload.c (main): Make local variable msg const.
17277
45f07fef
MC
172782004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17279
17280 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
17281 to bug-gnu@prep.ai.mit.edu.
17282 * gdb.mi/mi-disassemble.exp: Likewise.
17283 * gdb.mi/mi-eval.exp: Likewise.
17284 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
17285 default line number.
17286 * gdb.mi/mi-return.exp: Likewise.
17287 * gdb.mi/mi-simplerun.exp: Likewise.
17288 * gdb.mi/mi-stack.exp: Likewise.
17289 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
17290 number with explicit range test.
17291 * gdb.mi/mi-watch.exp: Likewise.
17292 * gdb.mi/mi2-break.exp: Likewise.
17293 * gdb.mi/mi2-cli.exp: Likewise.
17294 * gdb.mi/mi2-disassemble.exp: Likewise.
17295 * gdb.mi/mi2-eval.exp: Likewise.
17296 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
17297 default line number.
17298 * gdb.mi/mi2-return.exp: Likewise.
17299 * gdb.mi/mi2-simplerun.exp: Likewise.
17300 * gdb.mi/mi2-stack.exp: Likewise.
17301 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
17302 number with explicit range test.
17303 * gdb.mi/mi2-watch.exp: Likewise.
17304
dd8c8ee7
MC
173052004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17306
17307 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
17308 * gdb.cp/m-static.exp: Likewise.
17309 * gdb.cp/rtti.exp: Likewise.
17310
4e838464
MK
173112004-08-14 Mark Kettenis <kettenis@gnu.org>
17312
17313 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
17314
8d8cb839
EZ
173152004-08-14 Eli Zaretskii <eliz@gnu.org>
17316
17317 * ChangeLog: Prefix Local Variables with semi-colons and indent
17318 the reference to older ChangeLog files, to fix fontification in
17319 Emacs.
17320
deea8bb0
MC
173212004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17322
17323 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
17324 * gdb.mi/mi2-break.exp: Likewise.
17325
c3297504
MC
173262004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17327
17328 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
17329
25808999
MC
173302004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17331
17332 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
17333
226a8d71
MC
173342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17335
17336 * gdb.cp/classes.exp: Remove unused declarations. Just let
17337 test names default instead of providing special names. Remove
17338 extraneous demangler test.
17339
37fdf854
JJ
173402004-08-12 Jeff Johnston <jjohnstn@redhat.com>
17341
17342 * gdb.base/unload.exp: New test for breakpoints in dynamically
17343 loaded libraries.
17344 * gdb.base/unload.c: Ditto.
17345 * gdb.base/unloadshr.c: Ditto.
17346
2d3a7986
MC
173472004-08-12 Michael Chastain <mec.gnu@mindspring.com>
17348
17349 * gdb.cp/classes.exp (test_ptype_class_objects): Call
17350 cp_test_ptype_class.
17351 (test_enums): Likewise.
17352
c72b934c
AC
173532004-08-10 Andrew Cagney <cagney@gnu.org>
17354
17355 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17356 files.
17357
cc503c8a
AC
173582004-08-10 Andrew Cagney <cagney@gnu.org>
17359
17360 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
17361 init_malloc call.
17362
902f2ccb
MC
173632004-08-10 Michael Chastain <mec.gnu@mindspring.com>
17364
17365 * ChangeLog: Add copyright notice. The notice is copied
17366 from emacs 21.3 top level ChangeLog.
17367
78c90502
MC
173682004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17369
17370 * lib/cp-support.exp: New file.
17371 * lib/cp-support.exp (cp_test_type_class): New function.
17372 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
17373 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
17374 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
17375 cp_test_ptype_class.
17376
88e5ea78
MC
173772004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17378
17379 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
17380 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17381 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
17382 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
17383 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
17384 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
17385 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
17386 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
17387 gdb.mi/mi2-watch.exp: Update copyright years.
17388
6a89fc9c
MK
173892004-08-09 Mark Kettenis <kettenis@gnu.org>
17390
17391 * gdb.base/sigaltstack.exp: Provide proper anchoring.
17392
1482e0de
MC
173932004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17394
17395 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
17396 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
17397 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
17398 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17399 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
17400 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
17401 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
17402 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17403 gdb.mi/mi-watch.exp: Update copyright years.
17404
1a5ce3f3
DJ
174052004-08-08 Daniel Jacobowitz <dan@debian.org>
17406
17407 PR gdb/1738
17408 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
17409 from a breakpoint with a pending signal.
17410
04f6ecf2
DJ
174112004-08-08 Daniel Jacobowitz <dan@debian.org>
17412
17413 PR gdb/1736
17414 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
17415 * gdb.base/sigaltstack.exp (finish_test): Consume output until
17416 the prompt.
17417 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
17418
54d90d35
DJ
174192004-08-08 Daniel Jacobowitz <dan@debian.org>
17420
17421 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
17422
d2f6abb0
DJ
174232004-08-08 Daniel Jacobowitz <dan@debian.org>
17424
17425 PR gdb/1736
17426 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
17427 for i?86-*-linux*.
17428
5598c03d
DJ
174292004-08-08 Daniel Jacobowitz <dan@debian.org>
17430
17431 * gdb.arch/i386-prologue.exp: Compile without debug information.
17432
c6fee705
MC
174332004-08-08 Michael Chastain <mec.gnu@mindspring.com>
17434
17435 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
17436 rather than asking gdb to search.
17437
dd90efdb
MC
174382004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17439
17440 * gdb.base/gcore.c: Include <string.h>.
17441
1e84bec1
MC
174422004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17443
17444 * gdb.base/gcore.c: Add copyright notice.
17445
e425eb2b
MC
174462004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17447
17448 * gdb.base/freebpcmd.c: Include <stdio.h>.
17449 * gdb.base/long_long.c: Include <string.h>.
17450 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
17451 * gdb.base/siginfo.c: Include <string.h>.
17452 * gdb.base/sigstep.c: Include <string.h>.
17453
cb9aaed5
MC
174542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17455
17456 * gdb.base/complex.c: Include <stdlib.h>.
17457
55944f3d
MC
174582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17459
17460 * gdb.base/complex.c: Add copyright notice.
17461
7b2953d9
MC
174622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17463
17464 * gdb.base/charset.c: Include <stdlib.h>.
17465
c9133d23
MC
174662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17467
17468 * gdb.base/auxv.c: Include <stdlib.h>.
17469
0a8490ad
MC
174702004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17471
17472 * gdb.base/auxv.c: Add copyright notice.
17473
3426d5ec
MC
174742004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17475
17476 * gdb.base/coremaker.c: Add copyright notice.
17477 * gdb.base/coremaker2.c: Add copyright notice.
17478
8da195dd
AC
174792004-08-04 Andrew Cagney <cagney@gnu.org>
17480
17481 * gdb.base/store.exp: Update copyright.
17482 (check_set, up_set, check_struct, up_struct): Add a prefix to test
17483 names, do not import gdb_prompt.
17484
8d394f98
AC
174852004-08-01 Andrew Cagney <cagney@gnu.org>
17486
17487 Fix PR testsuite/1729.
17488 * gdb.base/dump.exp: Add test name to callers of capture_value, do
17489 not use capture_value with value 4.
17490 (capture_value): Add optional test name parameter.
17491 (test_reload_saved_value, test_restore_saved_value): Use $msg as
17492 the prefix, pass to capture_value.
17493
b6702b23
MK
174942004-08-01 Mark Kettenis <kettenis@gnu.org>
17495
17496 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
17497 * gdb.arch/i386-prologue.c (standard): New prototype and function.
17498 (main): Call new function.
17499
c203e0ca
MC
175002004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17501
17502 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
17503
a7995a30
MC
175042004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17505
17506 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
17507
9366563b
MC
175082004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17509
b6eeaf26 17510 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
17511 Accept more values of vtbl pointer. Remove some messages
17512 about "obsolete gcc or gdb".
17513
2fc1f950
MC
175142004-07-30 Michael Chastain <mec.gnu@mindspring.com>
17515
17516 * gdb.cp/classes.exp: Accept more varieties of ptype output.
17517
c724d49b
MC
175182004-07-30 Michael Chastain <mec.gnu@mindspring.com>
17519
17520 * gdb.base/asm-source.exp: Properly convert target board
17521 debug flags from gcc format to binutils format.
17522
736b0fce
MK
175232004-07-28 Mark Kettenis <kettenis@gnu.org>
17524
17525 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
17526 gdb1718". PR backtrace/1718 partially fixed.
17527
5633ea5c
JJ
175282004-07-27 Jeff Johnston <jjohnstn@redhat.com>
17529
17530 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
17531
575eebb1
NC
175322004-07-26 Nick Clifton <nickc@redhat.com>
17533
17534 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
17535 good default value for a specific architecture is available then
17536 set it to that value. Otherwise default to the -gstabs switch.
17537 Remove the -g... switches from the asm-flags variable. Allow the
17538 target board info to override the value if it wants to. Pass the
17539 switch on the assembler command line.
17540
62104619
MK
175412004-07-23 Mark Kettenis <kettenis@gnu.org>
17542
17543 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
17544 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
17545 (main): Call new function.
17546
4a1135b8
MC
175472004-07-22 Michael Chastain <mec.gnu@mindspring.com>
17548
17549 Test for PR exp/1715.
17550 * gdb.base/radix.exp: Refactor common procedures. Make all
17551 test names unique. Change XFAIL to KFAIL.
17552
8a12c1f0
MC
175532004-07-20 Michael Chastain <mec.gnu@mindspring.com>
17554
17555 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
17556 * gdb.ada/gnat_ada.gin: ... to here.
17557 * configure.in: Use gnat_ada.gin.
17558 * configure: Regenerate.
17559
23b451cf
AC
175602004-07-20 Andrew Cagney <cagney@gnu.org>
17561
17562 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
17563 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
17564 XFAILs. Clean up test messages and comments. Check backtraces.
17565 Delete re-sync code.
17566
ab618a02
MC
175672004-07-19 Michael Chastain <mec.gnu@mindspring.com>
17568
17569 Fix PR cli/740.
17570 * gdb.base/annota1.exp: Honor gdb,nosignals.
17571 * gdb.base/annota3.exp: Likewise.
17572
46dad340
MC
175732004-07-19 Michael Chastain <mec.gnu@mindspring.com>
17574
17575 * lib/java.exp: Update copyright notice.
17576
756d8c70
AC
175772004-07-19 Andrew Cagney <cagney@gnu.org>
17578
17579 * gdb.base/selftest.exp: Copy file from here ...
17580 * gdb.gdb/selftest.exp: ... to here.
17581
586027e6
AC
175822004-07-16 Andrew Cagney <cagney@redhat.com>
17583
17584 * lib/insight-support.exp: Delete file.
17585 * lib/java.exp (java_init): Fix copyright.
17586
029d2200
AC
175872004-07-16 Andrew Cagney <cagney@gnu.org>
17588
17589 * gdb.base/restore.c: Append "prologue" to comments marking the a
17590 function's prologue.
17591 * gdb.base/restore.exp: Update copyright, re-indent.
17592 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
17593 callerN" prefix where needed. Update patterns that match a
17594 function's prologue.
17595
653b62c5
MC
175962004-07-16 Michael Chastain <mec.gnu@mindspring.com>
17597
17598 * gdb.base/restore.c: Add copyright notice.
17599
f7d690e5
AC
176002004-07-16 Andrew Cagney <cagney@gnu.org>
17601
17602 * gdb.base/logical.exp: Update copyright.
17603 (evaluate): New procedure. Use to re-implement tests using
17604 several tables.
17605
d629a7cb
MH
176062004-07-14 Martin Hunt <hunt@redhat.com>
17607
17608 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
17609 which fixes some problems where init.tcl was not found.
17610
9c7bb332
AC
176112004-07-13 Andrew Cagney <cagney@gnu.org>
17612
6bf46641
AC
17613 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
17614 (check_sizeof, check_valueof): Do not include the output in the
17615 test name. Use gdb_test.
17616 (get_valueof): Use gdb_test_multiple.
17617
c4ffd4c0
AC
17618 * gdb.base/step-test.exp: Update copyright. Use
17619 gdb_test_multiple. Ensure that test names do not include
17620 architecture dependent output.
17621
ab89363a
AC
17622 * gdb.gdb/observer.exp: Update copyright.
17623 (setup_test): Use gdb_test_multiple.
17624 (attach_first_observer, attach_second_observer)
17625 (attach_third_observer, detach_first_observer)
17626 (detach_second_observer, detach_third_observer)
17627 (reset_counters, check_counters): Make $message a prefix.
17628 (test_normal_stop_notifications): Add "args" parameter - a list of
17629 init functions to be called. Make $message a prefix,
17630 (test_observer_normal_stop): Change the message prefixes so that
17631 they are unique, pass the attach / detach procedures to
17632 test_normal_stop_notifications.
17633
ec58997a
AC
17634 * gdb.base/signull.exp (test_segv): Prefix all tests with
17635 "${name}". Clean up test messages.
17636
b475183b
AC
17637 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
17638
9c7bb332
AC
17639 * gdb.base/ena-dis-br.exp: Update copyright.
17640 (break_at): New function. Replace send_gdb with gdb_test,
17641 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
17642 ignore count, not stopped at bpt", with KFAIL.
17643
2dd95497
CV
176442004-07-13 Corinna Vinschen <vinschen@redhat.com>
17645
17646 * gdb.base/attach.exp: Remove cleanupfile handling.
17647
419e626b
AC
176482004-07-12 Andrew Cagney <cagney@gnu.org>
17649
17650 * gdb.base/annota1.exp: Cleanup corefile test name.
17651 * gdb.base/annota3.exp: Ditto.
17652
8b1b3228
AC
176532004-07-12 Andrew Cagney <cagney@gnu.org>
17654
78650829
AC
17655 * gdb.base/signals.exp: Clean up copyright, re-indent.
17656
8b1b3228
AC
17657 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
17658 gdb_test and gdb_test_multiple.
17659
935c2760
JJ
176602004-07-08 Jeff Johnston <jjohnstn@redhat.com>
17661
17662 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 17663 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
17664 provide line number info for first statement in main.
17665
1544280f
AC
176662004-07-08 Andrew Cagney <cagney@gnu.org>
17667
1279f4ff
AC
17668 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
17669
1544280f
AC
17670 * gdb.base/sigbpt.exp: Make the common part of each test name a
17671 prefix instead of suffix.
17672
bcc82369
BR
176732004-07-07 Bob Rossi <bob_rossi@cox.net>
17674
17675 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
17676 test from test_tbreak_creation_and_listing to
17677 test_file_list_exec_source_file
17678 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
17679 Changed name of test from test_tbreak_creation_and_listing to
17680 test_file_list_exec_source_file
17681
23f4b0aa
JJ
176822004-07-07 Jeff Johnston <jjohnstn@redhat.com>
17683
17684 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
17685 the jmisc() constructor instead of <init>.
17686 * gdb.java/jmisc1.exp: Ditto.
17687
56401cd5
AC
176882004-07-07 Andrew Cagney <cagney@gnu.org>
17689
17690 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
17691 corrupting the PC.
17692
44ae2f6a
MC
176932004-07-06 Michael Chastain <mec.gnu@mindspring.com>
17694
17695 * gdb.cp/templates.exp: Accept whitespace change in demangler
17696 output.
17697
45a83408
AC
176982004-07-06 Andrew Cagney <cagney@gnu.org>
17699
17700 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
17701
d205ad70
MC
177022004-07-02 Michael Chastain <mec.gnu@mindspring.com>
17703
17704 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
17705 * lib/compiler.cc: Likewise.
17706
06ea1a61
MC
177072004-06-30 Michael Chastain <mec.gnu@mindspring.com>
17708
17709 * lib/compiler.cc: Work around string preprocessing problem
17710 with old hp c++ compiler.
17711 * lib/compiler.c: Likewise.
17712
daab1251
CV
177132004-06-29 Corinna Vinschen <vinschen@redhat.com>
17714
17715 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
17716 directives to conditionalize symbol prefixing.
17717 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
17718 additional_flags handling. Add underscore prefix for Cygwin.
17719 * gdb.arch/i386-unwind.c: Use preprocessor directives to
17720 conditionalize symbol prefixing.
17721 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
17722 additional_flags handling. Add underscore prefix for Cygwin.
17723
cc984116
CV
177242004-06-29 Corinna Vinschen <vinschen@redhat.com>
17725
17726 * gdb.base/bigcore.exp: Skip test on Cygwin.
17727
c279b077
MC
177282004-06-28 Michael Chastain <mec.gnu@mindspring.com>
17729
17730 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
17731 formats for "info register". Use gdb_test_multiple. Fix
17732 the "invalid register" test.
17733
0e915747
CV
177342004-06-28 Corinna Vinschen <vinschen@redhat.com>
17735
17736 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
17737 PID for Cygwin. Add Cygwin specific strings to check for in some
17738 tests.
17739 (do_attach_tests): Add a test for user interaction when attaching
17740 to a process with no matching symbol table already loaded.
17741
11422c86
AC
177422004-06-26 Andrew Cagney <cagney@gnu.org>
17743
17744 Test PR java/1567 and PR java/1565.
17745 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
17746 * gdb.java/jmisc2.exp: Delete file.
17747
cefbce26
MC
177482004-06-26 Michael Chastain <mec.gnu@mindspring.com>
17749
17750 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
17751
e19f872c
CV
177522004-06-25 Corinna Vinschen <vinschen@redhat.com>
17753
17754 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
17755 attach process.
17756
d931ba3b
MC
177572004-06-23 Michael Chastain <mec.gnu@mindspring.com>
17758
17759 * gdb.cp/pr-1553.exp: Remove.
17760
aef68c48
MC
177612004-06-22 Michael Chastain <mec.gnu@mindspring.com>
17762
17763 * gdb.cp/pr-1553.cc: Remove.
17764 * gdb.cp/pr-1553.exp: Disable this test.
17765
8d5df71a
JB
177662004-06-20 Jim Blandy <jimb@redhat.com>
17767
a9c64011 17768 Fix PR testsuite/1680.
8d5df71a
JB
17769 * gdb.arch/i386-sse.exp: Properly quote curly braces in
17770 regular expressions.
17771
4ac6f39d
MC
177722004-06-19 Michael Chastain <mec.gnu@mindspring.com>
17773
17774 Fix PR testsuite/1679.
17775 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
17776 Issue an UNSUPPORTED result instead.
17777
1b413552
JB
177782004-06-18 Jim Blandy <jimb@redhat.com>
17779
17780 * gdb.base/charset.exp: Only send a control-C if we see a new
17781 prompt and incomplete command.
17782
6daa6ebd
MC
177832004-06-18 Michael Chastain <mec.gnu@mindspring.com>
17784
17785 * gdb.cp/pr-574.cc: Add copyright notice.
17786
51fa4ae0
JB
177872004-06-17 Jim Blandy <jimb@redhat.com>
17788
17789 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
17790 cases where the regexp has no groups; this grabs random text from
17791 the previous test suite, whatever that was.
17792
8fea26c5
MC
177932004-06-17 Michael Chastain <mec.gnu@mindspring.com>
17794
17795 * gdb.cp/printmethod.cc: Add copyright notice.
17796
1e3aeb41
MC
177972004-06-16 Michael Chastain <mec.gnu@mindspring.com>
17798
17799 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
17800
9d9030bc
AC
178012004-06-16 Andrew Cagney <cagney@gnu.org>
17802
17803 * gdb.base/signull.c: Update copyright. Include <string.h>.
17804 (bowler): Replace data_pointer with data_read
17805 and data_write cases. Add code_descriptor case.
17806 (zero, desc): New array and pointer.
17807 (data, code): Change to simple pointers.
17808 * gdb.base/signull.exp: Fix probe pattern matching a function
17809 descriptor SIGSEGV. Replace data_pointer with data_read and
17810 data_write tests.
17811
acd4ad44
AC
178122004-06-16 Andrew Cagney <cagney@gnu.org>
17813
17814 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
17815
08fd625c
MC
178162004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17817
17818 * gdb.base/long_long.c: Add copyright notice.
17819
1903502c
MC
178202004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17821
17822 * gdb.base/long_long.exp: Remove reference to
17823 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17824 to gdb_breakpoint and gdb_continue_to_breakpoint.
17825
83313cb1
JB
178262004-06-14 Jim Blandy <jimb@redhat.com>
17827
17828 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17829 endian case.
17830
1bf404ef
AC
178312004-06-14 Andrew Cagney <cagney@gnu.org>
17832
17833 * gdb.base/gcore.exp (capture_command_output): Delete the always
17834 passing tests containing inferior values.
17835 * gdb.base/ending-run.exp: Do not include the breakpoint address
17836 in the test message. Update copyright.
17837 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17838 size in the test name, use gdb_test_multiple. Update copyright.
17839
ef220b33
MC
178402004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17841
17842 * gdb.cp/ref-types.cc: Add copyright notice.
17843
4f70a4c9
MC
178442004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17845
17846 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17847 hp_aCC_compiler.
17848 * lib/compiler.cc: Likewise.
17849 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17850 'set' commands. Log diagnostics for other lines. Set
17851 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17852
335928ac
MC
178532004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17854
17855 * gdb.cp/try_catch.cc: Add copyright notice.
17856
2efb12e8
MC
178572004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17858
17859 * gdb.cp/userdef.cc: Add copyright notice.
17860
0bbed51a
MC
178612004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17862
17863 * gdb.cp/virtfunc.cc: Add copyright notice.
17864
e12a46c9
RC
178652004-06-11 Randolph Chung <tausq@debian.org>
17866
17867 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17868 problem.
17869
338e05af
AC
178702004-06-10 Andrew Cagney <cagney@gnu.org>
17871
17872 * lib/compiler.cc, lib/compiler.c: Append either
17873 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17874 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17875 instead of gcc-3-3.
17876
dc3f10cb
AC
178772004-06-09 Andrew Cagney <cagney@gnu.org>
17878
b4d946af
AC
17879 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17880 gdb/1455, bug is specific to "long long" and "double".
a9c64011 17881
dc3f10cb
AC
17882 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17883 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17884 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17885 fixed.
17886
b5c0bfa2
AC
178872004-06-09 Andrew Cagney <cagney@gnu.org>
17888
17889 * gdb.base/structs.exp (test_struct_returns): Replace
17890 "return_value_unknown" and "finish_value_unknown" by
17891 "return_value_known" and "finish_value_known". Instead of
17892 "return_value_unknown" iff "finish_value_unknown", check
17893 "return_value_known" implies "finish_value_known".
17894
caeb605f
MH
178952004-06-08 Martin Hunt <hunt@redhat.com>
17896
17897 * gdb.base/float.exp: Add pattern for mips targets.
17898
c892bb64
RC
178992004-06-08 Randolph Chung <tausq@debian.org>
17900
17901 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17902 message for unknown architectures more clear.
17903
48306d3e
JB
179042004-06-08 Joel Brobecker <brobecker@gnat.com>
17905
17906 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17907 start the execution of the program.
17908
83ecb59f
JB
179092004-06-07 Jim Blandy <jimb@redhat.com>
17910
17911 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17912 * gdb.arch/i386-cpuid.h: New helper file.
17913
55264cb4
RC
179142004-06-07 Randolph Chung <tausq@debian.org>
17915
17916 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17917 has started.
17918
23cadb28
RM
179192004-06-04 Roland McGrath <roland@redhat.com>
17920
17921 Fix PR gdb/1647.
17922 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17923 differently to be robust to output buffering differences.
17924
51d01eda
MC
179252004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17926
17927 * gdb.threads/pthreads.exp: Update copyright years.
17928 (check_control_c): Change asynchronous 'after' to synchronous.
17929
f4fc3b93
RM
179302004-06-04 Roland McGrath <roland@redhat.com>
17931
17932 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17933 next gdb prompt.
17934
4013522b
MC
179352004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17936
17937 Fix PR gdb/1636.
17938 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17939 calls to synchronous.
17940
7a8f1e6b
JB
179412004-05-26 Jim Blandy <jimb@redhat.com>
17942
17943 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17944
81bb3443
RC
179452004-05-24 Randolph Chung <tausq@debian.org>
17946
17947 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17948 * gdb.asm/pa.inc: New file.
17949
8f5a3103
MK
179502004-05-22 Mark Kettenis <kettenis@gnu.org>
17951
17952 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17953
734b8fe8 179542004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 17955 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
17956
17957 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17958 GDB prompt.
17959
725603e1
UW
179602004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17961
f4fc3b93 17962 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
17963 setjmp/longjmp. Use sigaction instead of signal.
17964
8b923272 179652004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 17966 Michael Snyder <msnyder@redhat.com>
8b923272
JB
17967
17968 * gdb.threads/pthread_cond_wait.c: New file.
17969 * gdb.threads/pthread_cond_wait.exp: New testcase.
17970
8bfabb04
AC
179712004-05-13 Andrew Cagney <cagney@redhat.com>
17972
17973 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17974 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17975
42edda50
AC
179762004-05-11 Andrew Cagney <cagney@redhat.com>
17977
17978 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17979 fixed but revealed gdb/1639.
17980
d303a6c7
AC
179812004-05-10 Andrew Cagney <cagney@redhat.com>
17982
17983 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17984 func1" and "next to 2nd alarm", kernel bug avoided.
17985
bf08c2a1
DJ
179862004-05-10 Daniel Jacobowitz <dan@debian.org>
17987
17988 PR external/1568
17989 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17990 XFAIL if it is smaller than bytes_allocated.
17991 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17992 (main): Make chunks_allocated unsigned. Correct comment.
17993
c0586a34
JB
179942004-05-07 Joel Brobecker <brobecker@gnat.com>
17995
17996 * gdb.arch/powerpc-aix-prologue.c: New file.
17997 * gdb.arch/powerpc-aix-prologue.exp: New file.
17998
f2785d12
JB
179992004-05-07 Jim Blandy <jimb@redhat.com>
18000
18001 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
18002 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
18003
bd7f6e30
JB
180042004-05-06 Joel Brobecker <brobecker@gnat.com>
18005
18006 * gdb.base/sep.exp: No longer setup_kfail when the program was
18007 built with dwarf2.
18008
0a5e7efe
JI
180092004-05-05 Jim Ingham <jingham@apple.com>
18010
18011 * gdb.base/pending.exp: Make sure pending breakpoints
18012 preserve the ignore count.
f4fc3b93 18013
a8958849
MK
180142004-04-27 Jerome Guitton <guitton@gnat.com>
18015
18016 * i386-prologue.exp: Add testcase for jump instruction as first
18017 instruction of the real code.
18018 * i386-prologue.c (jump_at_beginning): New function.
18019
7e103f5b
MK
180202004-04-28 Mark Kettenis <kettenis@gnu.org>
18021
18022 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
18023 x86_64-*-*.
18024
5d38b224
MK
180252004-04-28 Mark Kettenis <kettenis@gnu.org>
18026
18027 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
18028 i*86-*-*.
18029
0ef32fd9
MK
180302004-04-25 Mark Kettenis <kettenis@gnu.org>
18031
18032 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
18033 expression that checks the return type.
18034
71d7dd7c
AC
180352004-04-23 Andrew Cagney <cagney@redhat.com>
18036
18037 * gdb.base/call-sc.exp: New test of scalar call/return values.
18038 * gdb.base/call-sc.c: Ditto.
18039
1e9f977e
JJ
180402004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18041
18042 * gdb.threads/manythreads.c: Reduce thread stack size.
18043
899d9e3a
JJ
180442004-04-23 Jeff Johnston <jjohnstn@redhat.com>
18045
18046 * gdb.threads/manythreads.c: Add copyright notice.
18047
61bcae62
AC
180482004-04-23 Andrew Cagney <cagney@redhat.com>
18049
18050 * gdb.base/siginfo.exp: Better handle step out of signal.
18051 * gdb.base/sigstep.exp: Ditto.
18052
7339a42e 180532004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 18054 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
18055
18056 * gdb.threads/manythreads.c: New testcase.
18057 * gdb.threads/manythreads.exp: Ditto.
18058
5c98409b
JB
180592004-04-22 Jim Blandy <jimb@redhat.com>
18060
18061 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
18062 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
18063
3b611f1a
MC
180642004-04-21 Michael Chastain <mec.gnu@mindspring.com>
18065
18066 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
18067
f0fd9238
AC
180682004-04-21 Andrew Cagney <cagney@redhat.com>
18069
18070 * gdb.base/sigstep.c: New file.
18071 * gdb.base/sigstep.exp: New file.
18072
90990674
JB
180732004-04-16 Joel Brobecker <brobecker@gnat.com>
18074
18075 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
18076 call to observer_notify_normal_stop.
18077
78cef34b
AC
180782004-04-15 Andrew Cagney <cagney@redhat.com>
18079
18080 * gdb.base/siginfo.c: New file.
18081 * gdb.base/siginfo.exp: New file.
18082
d2343407
JB
180832004-04-12 J. Brobecker <brobecker@gnat.com>
18084
18085 * gdb.base/sep.exp: Fix typo in comment.
18086
a2dba3c8
JB
180872004-04-12 J. Brobecker <brobecker@gnat.com>
18088
18089 * gdb.base/sep.c: New file.
18090 * gdb.base/sep-proc.c: New file.
18091 * gdb.base/sep.exp: New testcase.
18092
15f7b60e
MK
180932004-04-09 Mark Kettenis <kettenis@gnu.org>
18094
18095 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
18096 support.
18097
44f4de1a
AC
180982004-04-05 Andrew Cagney <cagney@redhat.com>
18099
18100 * gdb.base/sigaltstack.c: New file.
18101 * gdb.base/sigaltstack.exp: New file.
18102
ef04f396
JB
181032004-04-04 Joel Brobecker <brobecker@gnat.com>
18104
18105 * gdb.base/foll-fork.exp: Update the expected output for
18106 "help set follow-fork-mode", to match a change that was made
18107 to the help of this variable on 2004-01-13.
18108
d40d2c92
JB
181092004-04-01 Joel Brobecker <brobecker@gnat.com>
18110
18111 * lib/ada.exp: Add copyright notice.
18112 * bar.ads: Likewise.
18113 * bar.adb: Likewise.
18114 * null_record.adb: Likewise.
18115 * null_record.exp: Likewise.
18116 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
18117
f86ef5a3
JB
181182004-04-01 Joel Brobecker <brobecker@gnat.com>
18119
18120 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
18121 * configure: Regenerate.
18122
414e70e3
JB
181232004-04-01 Joel Brobecker <brobecker@gnat.com>
18124
18125 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
18126 to build the application. Remove the message printed when in
18127 verbose mode, redundant with the UNSUPPORTED message above.
18128
f0aaee49
JB
181292004-03-31 Joel Brobecker <brobecker@gnat.com>
18130
18131 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
18132 * gdb.ada (null_record.exp): New testcase.
18133
ac81cb54
JB
181342004-03-31 Joel Brobecker <brobecker@gnat.com>
18135
18136 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
18137
854af2f7
JB
181382004-03-31 Joel Brobecker <brobecker@gnat.com>
18139
18140 * gdb.ada: New subdirectory.
18141 * gdb.ada/Makefile.in: New file.
18142 * gdb.ada/gnat_ada.gpr.in: New file.
18143
034cb681
JB
181442004-03-31 Joel Brobecker <brobecker@gnat.com>
18145
18146 * lib/ada.exp: New file.
18147
78a1a894
DJ
181482004-03-24 Daniel Jacobowitz <drow@mvista.com>
18149
18150 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
18151 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
18152
4b2b3b3e
AC
181532004-03-22 Andrew Cagney <cagney@redhat.com>
18154
18155 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
18156 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
18157 Problem identified by Ulrich Weigand.
18158
23c73aa3
DC
181592004-03-17 David Carlton <carlton@kealia.com>
18160
18161 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
18162 PR c++/826.
18163
d63a86f8
RM
181642004-03-16 Roland McGrath <roland@redhat.com>
18165
18166 * gdb.base/auxv.exp: New file.
18167 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
18168
0e02aa50
DC
181692004-03-12 David Carlton <carlton@kealia.com>
18170
18171 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
18172 * gdb.cp/pr-1553.cc: Ditto.
18173 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
18174 pass branch.
18175
c20b71be
MC
181762004-03-12 Michael Chastain <mec.gnu@mindspring.com>
18177
18178 * gdb.cp/templates.exp: Accept more template types.
18179
c7414a01
MC
181802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18181
18182 From Corinna Vinschen with modifications.
18183 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
18184 local variable obj_with_enum.
18185 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
18186 results with obj_with_enum.
18187
ed69573c
MC
181882004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18189
18190 * gdb.cp/classes.cc: New file, copied from misc.cc.
18191 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
18192
28301461
MC
181932004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18194
18195 * gdb.cp/misc.cc: Add copyright notice.
18196
1198ecbe
DC
181972004-03-05 David Carlton <carlton@kealia.com>
18198
18199 * gdb.cp/rtti.exp: Add 'print *obj3' test.
18200 * gdb.cp/rtti.h: Update copyright.
18201 (namespace n2::n3): New.
18202 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
18203 (n2::n3::func3): New.
18204 (main): Call n2::n3::func3.
18205 * gdb.cp/rtti2.cc: Update copyright.
18206 (n2::create3): New.
18207
9e08c470
MK
182082004-03-04 Mark Kettenis <kettenis@gnu.org>
18209
18210 * gdb.asm/openbsd.inc: Fix typo.
18211
4bebc3aa
FF
182122004-03-03 Fred Fish <fnf@redhat.com>
18213
18214 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
18215 "val" instead of unused "size". Update copyright year.
18216
6ea9fb37
DJ
182172004-02-29 Daniel Jacobowitz <drow@mvista.com>
18218
18219 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
18220 to use unsigned char.
18221 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
18222 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
18223
23b23974
DJ
182242004-02-29 Daniel Jacobowitz <drow@mvista.com>
18225
18226 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
18227 line of output.
18228
7574fd53
DJ
182292004-02-28 Daniel Jacobowitz <drow@mvista.com>
18230
18231 * gdb.base/relocate.c (dummy): Initialize.
18232
a195357f
DJ
182332004-02-28 Daniel Jacobowitz <drow@mvista.com>
18234
18235 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
18236 a breakpoint at exit.
18237
72fd54a9
FF
182382004-02-27 Fred Fish <fnf@redhat.com>
18239
18240 * gdb.base/chng-syms.exp: Add expect condition to match failing
18241 case that isn't a timeout.
18242
b9d23137
AC
182432004-02-27 Andrew Cagney <cagney@redhat.com>
18244
18245 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
18246 support.
18247
15d208f6 182482004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 18249
15d208f6
FF
18250 * gdb.arch/gdb1431.c: Remove.
18251 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
18252 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
18253 of "until" incorrectly.
18254
98f9cd2d
JB
182552004-02-26 J. Brobecker <brobecker@gnat.com>
18256
18257 * gdb.cp/class2.cc (empty): New class.
18258 (refer): New function.
18259 (main): Declare an object of type empty and use it.
18260 * gdb.cp/class2.exp: Print the value of an object of type empty.
18261
9b50c11b
JJ
182622004-02-26 Jeff Johnston <jjohnstn@redhat.com>
18263
18264 * gdb.base/langs.exp: Update query string to match the
18265 new nquery format used for pending breakpoints.
18266
0dcd613f
AC
182672004-02-26 Andrew Cagney <cagney@redhat.com>
18268
18269 Fix PR i18n/1570.
18270 * gdb.base/charset.c: Update copyright notice.
18271 (main, init_string): Remove the escape character '\e' tests.
18272 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
18273 * gdb.base/charset.exp (valid_host_charset): Ditto.
18274 * gdb.base/setvar.exp: Ditto.
18275
b8a56647
AC
182762004-02-24 Andrew Cagney <cagney@redhat.com>
18277
90d59e34
AC
18278 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
18279 mmapped data in core file" PASS and FAIL messages consistent.
18280
b8a56647
AC
18281 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
18282 setting a breakpoint. Work around PR java/1565.
18283
9f27c604
JJ
182842004-02-23 Jeff Johnston <jjohnstn@redhat.com>
18285
18286 * lib/gdb.exp (gdb_breakpoint): Update query string to match
18287 new nquery format.
18288 * gdb.base/pending.exp: Ditto.
18289
3224a706
MK
182902004-02-22 Mark Kettenis <kettenis@gnu.org>
18291
18292 * configure.in: Run stabs tests on *BSD.
18293 * configure: Regenerated.
18294
41e0a9ca
MK
182952004-02-21 Mark Kettenis <kettenis@gnu.org>
18296
18297 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
18298
1e1b3428
FF
182992004-02-20 Fred Fish <fnf@redhat.com>
18300
18301 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
18302 blank in test for "returns short", for consistency with other
18303 "returns xxx" tests. Update copyright year.
18304
f9a7572a
FF
183052004-02-19 Fred Fish <fnf@redhat.com>
18306
18307 New testcase for PR breakpoint/1558.
18308 * gdb.arch/gdb1558.exp: New file.
18309 * gdb.arch/gdb1558.c: New file.
18310
b2ce2854
EZ
183112004-02-19 Elena Zannoni <ezannoni@redhat.com>
18312
18313 * gdb.base/nodebug.exp: Fix typo.
18314
e7c9ff01
JB
183152004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18316
18317 Committed by Jim Blandy <jimb@redhat.com>.
18318
62f4b920
JB
18319 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
18320
2db536a1
JB
18321 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
18322
e7c9ff01
JB
18323 * gdb.base/float.exp: Support s390*-*-* targets.
18324
f3205b34
AF
183252004-02-17 Adam Fedor <fedor@gnu.org>
18326
18327 * gdb.base/gdb1555.exp: New file.
18328 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
18329
9d62932d
EZ
183302004-02-17 Elena Zannoni <ezannoni@redhat.com>
18331
18332 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
18333
344c9711
FF
183342004-02-16 Fred Fish <fnf@redhat.com>
18335
18336 * gdb.arch/gdb1291.c: Remove
18337 * gdb.arch/gdb1291.s: New test input file.
18338 * gdb.arch/gdb1291.exp: Expand test to check case that should not
18339 fail. Test for correct result, known incorrect result, other
18340 failures and timeouts.
18341
2d822687
AC
183422004-02-16 Andrew Cagney <cagney@redhat.com>
18343
18344 * gdb.base/bigcore.exp: New file.
18345 * gdb.base/bigcore.c: New file.
18346
dac15b66
AC
183472004-02-13 Andrew Cagney <cagney@redhat.com>
18348
18349 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
18350 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
18351 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
18352 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
18353 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
18354 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
18355 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
18356 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
18357 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
18358 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
18359
6bdfc2c4
JJ
183602004-02-11 Jeff Johnston <jjohnstn@redhat.com>
18361
18362 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
18363 executed is an alloc instruction.
18364
87b3ede8
DC
183652004-02-11 David Carlton <carlton@kealia.com>
18366
18367 * gdb.cp/breakpoint.exp: New.
18368 * gdb.cp/breakpoint.cc: New.
18369
6e19e2bf
MC
183702004-02-11 Michael Chastain <mec.gnu@mindspring.com>
18371
18372 Partial fix for PR gdb/1543.
18373 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
18374 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
18375 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
18376 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
18377 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
18378 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
18379 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
18380 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
18381 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
18382 to bug-gdb@prep.ai.mit.edu .
18383 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
18384 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
18385 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
18386 Likewise.
18387
5c5455dc
AC
183882004-02-10 Andrew Cagney <cagney@redhat.com>
18389
18390 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
18391 using gdb_internal_error_resync.
18392
9cf689d7
DJ
183932004-02-09 Daniel Jacobowitz <drow@mvista.com>
18394
18395 * gdb.threads/thread-specific.exp: Stop early if no threads are
18396 found.
18397
d2dc51db
MC
183982004-02-09 Michael Chastain <mec.gnu@mindspring.com>
18399
18400 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
18401
14b1a056
DJ
184022004-02-08 Daniel Jacobowitz <drow@mvista.com>
18403
18404 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
18405 breakpoints.
18406
83f66e8f
DJ
184072004-02-07 Daniel Jacobowitz <drow@mvista.com>
18408
18409 * config/sim.exp (gdb_load): Handle $arg == "".
18410 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
18411 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
18412
30fc0091
EZ
184132004-02-07 Elena Zannoni <ezannoni@redhat.com>
18414
a9c64011
AS
18415 * gdb.base/maint.exp: Update test to reflect
18416 obstack changes.
30fc0091 18417
4d806929
JJ
184182004-02-04 Jeff Johnston <jjohnstn@redhat.com>
18419
18420 * gdb.base/pendshr.c (pendfunc): New function that calls
18421 pendfunc1.
18422 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
18423
7bfdd688
FF
184242004-02-04 Fred Fish <fnf@redhat.com>
18425
18426 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
18427 function symbols and update copyright years.
18428 * gdb.arch/gdb1291.c: Ditto.
18429
aaa08ee4
MC
184302004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18431
18432 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
18433
dbad7755
MC
184342004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18435
18436 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
18437
ec4646ef
MC
184382004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18439
18440 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
18441
1b802196
FF
184422004-02-02 Fred Fish <fnf@redhat.com>
18443
18444 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
18445 remote targets. Update copyright years.
18446
18fe2033
JJ
184472004-02-02 Jeff Johnston <jjohnstn@redhat.com>
18448
18449 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
18450 support.
18451 * gdb.base/langs.exp: Fix test which attempts to create
18452 breakpoint on non-existent function to handle new pending
18453 support.
18454 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
18455 a breakpoint.
18456 * gdb.base/pending.exp: New test.
18457 * gdb.base/pending.c: New file.
18458 * gdb.base/pendshr.c: Ditto.
18459
8d577d32
DC
184602004-02-02 David Carlton <carlton@kealia.com>
18461
18462 * gdb.cp/overload.exp: Add overloadNamespace tests.
18463 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
18464 (overloadNamespace, XXX): New.
18465 (main): Call XXX::marker2.
18466
3ad13771
FF
184672004-02-01 Fred Fish <fnf@redhat.com>
18468
18469 * gdb.base/dump.exp: Use runto_main instead of "runto main".
18470 * gdb.base/finish.exp: Ditto.
18471 * gdb.base/gcore.exp: Ditto.
18472 * gdb.base/huge.exp: Ditto.
18473 * gdb.base/info-proc.exp: Ditto.
18474 * gdb.base/return2.exp: Ditto.
18475 * gdb.threads/gcore-thread.exp: Ditto.
18476
44c75849
DJ
184772004-02-01 Daniel Jacobowitz <drow@mvista.com>
18478
18479 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
18480
005bc093
MK
184812004-02-01 Mark Kettenis <kettenis@gnu.org>
18482
18483 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
18484 that opening the file succeeds on OpenBSD.
18485
c47cebdb
DJ
184862004-02-01 Daniel Jacobowitz <drow@mvista.com>
18487
18488 * gdb.threads/thread-specific.c: New file.
18489 * gdb.threads/threads-specific.exp: New test script.
18490 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
18491 to expect_out.
18492
5a01311c
MK
184932004-02-01 Mark Kettenis <kettenis@gnu.org>
18494
18495 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
18496 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
18497 only on the "print_small_structs from print_long_arg_list" test.
18498
ce22a4f1
DJ
184992004-02-01 Daniel Jacobowitz <drow@mvista.com>
18500
18501 * gdb.base/completion.exp: Kill a stray backslash.
18502
18503 From Jim Ingham <jingham@apple.com>:
18504 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
18505 agrees with the result from sending a tab.
18506
abbab9d3
DJ
185072004-01-31 Daniel Jacobowitz <drow@mvista.com>
18508
18509 * gdb.base/chng-syms.exp: Remove stray newline.
18510
53904d1e
MK
185112004-01-31 Mark Kettenis <kettenis@gnu.org>
18512
18513 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
18514 *-*-openbsd*.
18515 * gdb.asm/openbsd.inc: New file.
18516
3a4b3aac
MK
185172004-01-30 Mark Kettenis <kettenis@gnu.org>
18518
18519 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
18520 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
18521 *-*solaris2*. Remove commented out default settings for
18522 asm-flags. Replace gdb_compile with target_link.
18523
ebac27b4
MC
185242004-01-29 Michael Chastain <mec.gnu@mindspring.com>
18525
18526 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
18527 for all tests. Remove old hp-ux and cygnus xfail cases.
18528
d8679d84
PH
185292004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
18530
18531 * gdb.base/chng-syms.exp: New file.
18532 * gdb.base/chng-syms.c: New file.
18533
0a55bc22
MC
185342004-01-24 Michael Chastain <mec.gnu@mindspring.com>
18535
18536 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
18537 Provide arms for current output in all my configurations.
18538
94b8e876
MC
185392004-01-24 Michael Chastain <mec.gnu@mindspring.com>
18540
18541 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
18542 * lib/compiler.cc: Likewise.
18543 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
18544 get the right preprocessor. Eval the output directly. Remove
18545 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
18546 hp_f77_compiler and hp_f90_compiler completely.
18547 (gdb_preprocess): Delete.
18548 (get_compiler): Delete.
18549
7cf03d44
MK
185502004-01-24 Mark Kettenis <kettenis@gnu.org>
18551
18552 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
18553 <string.h>.
18554
68b6dce9
NR
185552004-01-24 Nick Roberts <nick@nick.uklinux.net>
18556
18557 * gdb.mi/mi-stack.exp: Update copyright.
18558
b368761e
DC
185592004-01-23 David Carlton <carlton@kealia.com>
18560
18561 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
18562 test for cp_lookup_transparent_type.
18563 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
18564 call them.
18565
f2061b53
DJ
185662004-01-23 Daniel Jacobowitz <drow@mvista.com>
18567
18568 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
18569 after -var-update.
18570
37fc574a
DC
185712004-01-23 David Carlton <carlton@kealia.com>
18572
18573 * gdb.cp/namespace.cc (C::ensureRefs): New.
18574 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
18575
8e94b928
NR
185762004-01-20 Nick Roberts <nick@nick.uklinux.net>
18577
18578 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
18579 case "-stack-list-locals 2".
18580 * gdb.mi/mi-var-child.exp: Test for case
18581 "-var-list-children --all-values NAME".
18582
997b0952
MC
185832004-01-18 Michael Chastain <mec.gnu@mindspring.com>
18584
18585 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
18586
52470da3
MK
185872004-01-18 Mark Kettenis <kettenis@gnu.org>
18588
7049b4b8
MK
18589 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
18590 used with gdb_test_multiple.
18591
52470da3
MK
18592 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
18593 read at address 0. This fixes PR testsuite/1504.
18594
da6012e5
DJ
185952004-01-18 Daniel Jacobowitz <drow@mvista.com>
18596
18597 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
18598 Remove downloading, guessing the host executable, the calls to
18599 gdb_file_cmd and gdb_target_cmd, and "load" support.
18600 (infer_host_exec): New function broken out from gdb_load.
18601 (gdb_load): New wrapper for gdbserver_gdb_load.
18602 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
18603 gdb_target_cmd. Use -target-select.
18604 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
18605 Download binaries to the host. Clear last_mi_remote_file when
18606 we load a new binary.
18607 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
18608 call gdbserver_gdb_load and mi_gdb_target_cmd.
18609
32c70722
MC
186102004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18611
18612 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
18613 type patterns.
18614
b0cecf36
MC
186152004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18616
18617 * gdb.cp/templates.exp: Fix typo in test name of
18618 "print Foo<volatile char*>::foo".
18619
4120d7e6
MC
186202004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18621
18622 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
18623
f679e530
BE
186242004-01-16 Ben Elliston <bje@wasabisystems.com>
18625
18626 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
18627 (clean mostlyclean): Remove empty rm.
18628
091c48f6
MC
186292004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18630
18631 * gdb.base/setvar.exp: Add copyright years.
18632
3e5fc8d2
DC
186332004-01-14 David Carlton <carlton@bactrian.org>
18634
18635 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
18636 PR c++/1511 and update coment.
18637 * gdb.cp/templates.exp: Update patterns to match current output.
18638 If changes involve something other than whitespace, KFAIL
18639 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
18640
63d06c5c
DC
186412004-01-14 David Carlton <carlton@kealia.com>
18642
18643 * gdb.cp/namespace.exp: Add tests involving classes defined within
18644 namespaces.
18645 * gdb.cp/namespace.cc (C::CClass): New.
18646 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
18647
a51dab88
EZ
186482004-01-14 Elena Zannoni <ezannoni@redhat.com>
18649
18650 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
18651 what debug info we have. Print a better message if something goes
18652 wrong while producing the separate debug info file.
18653
a476ccc9
MC
186542004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18655
18656 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
18657
f453692c
MC
186582004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18659
18660 * gdb.base/callfuncs.c: Add copyright notice.
18661
f40063a5
MC
186622004-01-13 Michael Chastain <mec.gnu@mindspring.com>
18663
18664 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
18665 inheritance. PR gdb/1498, PR gcc/13539.
18666
19ac3974
EZ
186672004-01-13 Elena Zannoni <ezannoni@redhat.com>
18668
a9c64011
AS
18669 * gdb.threads/gcore-thread.exp: Prefix name of binary with
18670 test specific name.
18671 * gdb.mi/gdb669.exp: Ditto.
18672 * gdb.mi/mi-pthreads.exp: Ditto.
18673 * gdb.mi/mi1-pthreads.exp: Ditto.
18674 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 18675
56c97c6e
MC
186762004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18677
18678 * gdb.cp/member-ptr.cc: Add copyright notice.
18679
a0644324
MC
186802004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18681
18682 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
18683 some patterns for recent versions of gcc and hpacc. Delete
18684 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
18685 Delete tests that access a NULL pointer-to-member-data. This
18686 script is still disabled for gcc.
18687
32fabe09
EZ
186882004-01-12 Elena Zannoni <ezannoni@redhat.com>
18689
18690 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 18691 escaped correctly.
32fabe09 18692
1f8a6abb
EZ
186932004-01-12 Elena Zannoni <ezannoni@redhat.com>
18694
18695 * gdb.base/sepdebug.exp: New file.
18696 * gdb.base/sepdebug.c: New file.
18697 * lib/gdb.exp (separate_debug_filename): New procedure.
18698 (gdb_gnu_strip_debug): New procedure.
18699
48efe704
AC
187002004-01-12 Andrew Cagney <cagney@redhat.com>
18701
18702 * gdb.mi/ChangeLog: Delete file. Renamed to ...
18703 * gdb.mi/ChangeLog-1999-2003: New file.
18704
a9415475
AC
187052004-01-12 Andrew Cagney <cagney@redhat.com>
18706
18707 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
18708 "Renaming a directory to a non-empty directory returns ENOTEMPTY
18709 or EEXIST", treat EBUSY as an XFAIL.
18710
83b8cf9d
MC
187112004-01-11 Michael Chastain <mec.gnu@mindspring.com>
18712
18713 * gdb.base/scope.exp: Remove obsolete setup_xfail for
18714 hp_cc_compiler.
18715
9939d2a8
MC
187162004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18717
18718 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
18719 decorations.
18720
1ff8cadf
MC
187212004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18722
18723 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
18724 and "(aCC)" decorations. Remove obsolete doco about old
18725 test results.
18726
6fa9022e
MC
187272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18728
18729 * gdb.cp/exception.exp: Fix typo in doco.
18730
209721fe
MK
187312004-01-09 Mark Kettenis <kettenis@gnu.org>
18732
18733 * gdb.base/gdb1476.exp: Fix typo.
18734
ef11303e
MC
187352004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18736
18737 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
18738 file.
18739
041ab88c
MC
187402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18741
18742 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
18743 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
18744 Use gdb_compile. Remove restriction on gcc. Add some patterns
18745 for recent version of gdb. Delete second half, which was a copy
18746 of the first half with different build flags. This test is
18747 still disabled because it is still not ready for production.
18748
e36d075a
MC
187492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18750
18751 * gdb.cp/exception.cc: Add copyright notice.
18752 * gdb.cp/exception.exp: Add a notice that this file is broken
18753 because of line number changes caused by addition of copyright
18754 notice.
18755
42b190ad
MC
187562004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18757
18758 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
18759 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
18760
8f25f06b
MC
187612004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18762
18763 * gdb.cp/classes.exp: Accept gnu abi 2.
18764 * gdb.cp/derivation.exp: Likewise.
18765 * gdb.cp/overload.exp: Likewise.
18766 * gdb.cp/virtfunc.exp: Likewise.
18767
06ded8b8
MC
187682004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18769
18770 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
18771 semicolon after end of function.
18772
77c26ae3
MC
187732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18774
18775 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
18776 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
18777 boilerplate code for compiling and running the program under
18778 test. Add some string method tests.
18779
20757486
MC
187802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18781
18782 * gdb.cp/bs15503.cc: Add copyright notice.
18783 * gdb.cp/bs15503.exp: Adjust line number.
18784
0fd3b503
MC
187852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18786
18787 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
18788 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
18789
10d1bea8
MC
187902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18791
18792 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
18793 hp_cc_compiler.
18794
2789202a
MC
187952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18796
18797 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
18798 * gdb.cp/ctti.exp: Use the marker instead of "next".
18799 With gcc, run further before bailing.
18800
b862f14c
MC
188012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18802
18803 * gdb.cp/cttiadd.cc: Add copyright notice.
18804 * gdb.cp/cttiadd1.cc: Likewise.
18805 * gdb.cp/cttiadd2.cc: Likewise.
18806 * gdb.cp/cttiadd3.cc: Likewise.
18807
96da2469
MC
188082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18809
18810 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
18811 Use gdb_test, gdb_test_multiple. Use floating-point values that
18812 have exact representations in IEEE-ish formats.
18813
053248ff
MC
188142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18815
18816 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18817 compilers. Delete duplicate call to get_compiler_info.
18818 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18819 * gdb.base/volatile.exp: Likewise.
18820
84acecdd
MK
188212004-01-07 Mark Kettenis <kettenis@gnu.org>
18822
18823 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18824 memory at address 0.
18825
fe11a27f
MC
188262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18827
18828 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18829 to test for hp-ux assembler. Fix copyright years.
18830
60ad077b
AC
188312004-01-07 Andrew Cagney <cagney@redhat.com>
18832
18833 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18834
1c9b8f33
AC
188352004-01-07 Andrew Cagney <cagney@redhat.com>
18836
18837 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18838 when creating the read-only file. From analysis by Roland McGrath
18839 and Elena Zannoni.
18840
753ccc7a
MC
188412004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18842
18843 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18844
eca3e36b
MC
188452004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18846
18847 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18848 data pointers.
18849
f8d4bac4
MC
188502004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18851
18852 * gdb.cp/m-static.exp: Compile one source file at a time.
18853 Delete unused call to get_compiler_info.
18854
9b4e0f94
MC
188552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18856
18857 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18858 * gdb.base/call-rt-st.exp: Likewise.
18859 * gdb.base/nodebug.exp: Likewise.
18860 * gdb.base/volatile.exp: Likewise.
18861 * gdb.cp/ref-types.exp: Likewise.
18862 * gdb.cp/templates.exp: Likewise.
18863
023c1024
MK
188642004-01-05 Mark Kettenis <kettenis@gnu.org>
18865
18866 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18867
19703c4a
MC
188682004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18869
18870 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18871 hppa*-hp-hpux*.
18872
18b67037
MK
188732004-01-04 Mark Kettenis <kettenis@gnu.org>
18874
ba6219c8
MK
18875 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18876 x86_64-*-*.
18877
18b67037
MK
18878 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18879 sparc64-*-* and sparc*-solaris2*.
18880
1bfbbb9d
MK
188812004-01-04 Mark Kettenis <kettenis@gnu.org>
18882
18883 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18884 return ${tests}" test. The ${tests} already mentions the
18885 filename.
18886
06846494
MC
188872004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18888
18889 * gdb.cp/local.exp: Accept gcc abi 2.
18890
3b0cb202
MC
188912004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18892
18893 * gdb.cp/templates.exp: Accept gcc abi 2.
18894
0643ec3f
MC
188952004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18896
18897 * lib/compiler.cc: Remove supports_template_debugging.
18898 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18899
d231d0b1
MC
189002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18901
18902 * gdb.cp/namespace.exp: Accept gcc abi 2.
18903
44ffb27c
MC
189042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18905
18906 * gdb.cp/method.exp: Accept gcc abi 2.
18907
184ad485
MC
189082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18909
18910 * gdb.cp/classes.exp: Generate identical results as old version.
18911 * gdb.cp/derivation.exp: Likewise.
18912 * gdb.cp/overload.exp: Likewise.
18913 * gdb.cp/virtfunc.exp: Likewise.
18914
116f09e7
MC
189152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18916
18917 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18918 mysterious bug with sourceware version of expect.
18919
b1379776
MC
189202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18921
18922 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18923 current versions of gcc, including gcc abi 2. Remove gratuitous
18924 restart of test program. Use gdb_test_multiple and gdb_test for
18925 all tests. Add patterns to xfail missing "const" in "const char *"
18926 and kfail PR gdb/1155.
18927
6b7a4c0e
MC
189282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18929
18930 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18931 current versions of gcc, including gcc abi 2. Remove gratuitous
18932 restart of test program. Use gdb_test_multiple and gdb_test for
18933 all tests. Add patterns to kfail PR gdb/1498.
18934
51615d72
MC
189352003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18936
18937 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18938 current versions of gcc, including gcc abi 2. Use "breakpoint"
18939 and "continue" instead of restarting the target program. Use
18940 gdb_test_multiple and gdb_test for all tests.
18941
7b79a9d7
MK
189422004-01-01 Mark Kettenis <kettenis@gnu.org>
18943
18944 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18945 for *-*-solaris2*.
18946
1cd3489f
MC
189472003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18948
18949 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18950 current versions of gcc, including gcc abi 2. Use "breakpoint"
18951 and "continue" instead of restarting the target program several
18952 times. Use gdb_test_multiple and gdb_test for all tests.
18953
850742db
MC
189542003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18955
18956 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18957 source files.
18958
eb4bbda8
MC
189592003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18960
18961 * gdb.base/environ.exp: Handle compiling test case from multiple
18962 source files.
18963
e42c7771
MC
189642003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18965
18966 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18967
80e4b428
JB
189682003-12-17 Jim Blandy <jimb@redhat.com>
18969
5f06973a
JB
18970 * gdb.base/freebpcmd.c: Add copyright notice.
18971
80e4b428
JB
18972 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18973
0ab84fb7
MC
189742003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18975
18976 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18977
1b3bb3d0
JB
189782003-12-13 Jim Blandy <jimb@redhat.com>
18979
18980 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18981
3a4c9371
KB
189822003-12-12 Kevin Buettner <kevinb@redhat.com>
18983
18984 * gdb.asm/frv.inc: New file.
18985 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18986
a1dea79a
FF
189872003-12-09 Fred Fish <fnf@redhat.com>
18988
18989 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18990 functions to break1.c and leave prototypes behind. Add more
18991 "set breakpoint NN here" comments.
18992 * gdb.base/break1.c: New file.
18993
18994 * gdb.base/break.exp: Handle compiling test case from multiple
18995 source files and change source file references as needed.
18996 * gdb.base/completion.exp: Ditto.
18997 * gdb.base/condbreak.exp: Ditto.
18998 * gdb.base/define.exp: Ditto.
18999 * gdb.base/ena-dis-br.exp: Ditto.
19000 * gdb.base/info-proc.exp: Ditto.
19001 * gdb.base/maint.exp: Ditto.
19002 * gdb.base/until.exp: Ditto.
19003
19004 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
19005 hardcoded line numbers.
19006 * gdb.base/define.exp: Ditto.
19007 * gdb.base/ena-dis-br.exp: Ditto.
19008 * gdb.base/maint.exp: Ditto.
19009 * gdb.base/until.exp: Ditto.
19010
19011 * gdb.base/completion.exp: Use "break1" for completion tests since
19012 "break" is no longer a unique prefix.
19013
5266b69c
AC
190142003-12-06 Andrew Cagney <cagney@redhat.com>
19015
19016 * gdb.base/structs.exp (test_struct_returns): When applicable, set
19017 "return_value_unimplemented". When an unimplemented struct return
19018 architecture, report incorrect values as a KFAIL
19019
374451f0
MC
190202003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19021
19022 * gdb.cp/rtti.exp: Accept new wording of warning from
19023 cp_lookup_rtti_type.
19024
ba9b20a7
MC
190252003-12-05 Michael Chastain <mec.gnu@mindspring.com>
19026
19027 Partial fix for PR testsuite/1456.
19028 * gdb.base/scope.exp (test_at_main): Replace references to
19029 gcc_compiled with calls to test_compiler_info.
19030 (test_at_foo): Likewise.
19031 (test_at_bar): Likewise.
19032
b74b6d0b
MC
190332003-12-04 Michael Chastain <mec.gnu@mindspring.com>
19034
19035 Partial fix for PR testsuite/1456.
19036 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
19037 to test_compiler_info.
19038
ccfa3402
MC
190392003-12-03 Michael Chastain <mec.gnu@mindspring.com>
19040
19041 * gdb.base/so-impl-ld.exp: Update copyright notice.
19042
f6246aba
MC
190432003-12-02 Michael Chastain <mec.gnu@mindspring.com>
19044
19045 Partial fix for PR testsuite/1456.
19046 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
19047 to test_compiler_info.
19048
13ae734a
MC
190492003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19050
19051 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
19052 from current versions of gdb. Clean up regular expressions.
19053 Delete redundant timeout case.
19054
d8e1cdee
MC
190552003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19056
19057 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
19058 from current versions of gdb. Clean up regular expressions.
19059 Delete redundant timeout case.
19060
96457b64
MC
190612003-12-01 Michael Chastain <mec.gnu@mindspring.com>
19062
19063 Partial fix for PR testsuite/1456.
19064 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
19065 gcc_compiled with call to test_compiler_info.
19066
f35309fc
MC
190672003-11-30 Michael Chastain <mec.gnu@mindspring.com>
19068
19069 Partial fix for PR testsuite/1456.
19070 * gdb.base/list.exp (test_list_function): Delete unused declaration
19071 of gcc_compiled.
19072
d7afdf9b
MC
190732003-11-29 Michael Chastain <mec.gnu@mindspring.com>
19074
19075 Partial fix for PR testsuite/1456.
19076 * gdb.base/complex.exp: Replace reference to gcc_compiled with
19077 call to test_compiler_info.
19078
71507b56
MK
190792003-11-29 Mark Kettenis <kettenis@gnu.org>
19080
19081 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
19082 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
19083 it to create the appropriate note.inc.
19084 * gdb.asm/asmsrc1.s: Include "note.inc".
19085 * gdb.asm/netbsd.inc: New file.
19086 * gdb.asm/empty.inc: New file.
19087
f81f93f7
MC
190882003-11-28 Michael Chastain <mec.gnu@mindspring.com>
19089
19090 Partial fix for PR testsuite/1456.
19091 * gdb.base/constvars.exp: Replace references to gcc_compiled with
19092 calls to test_compiler_info.
19093
9a77938e
MC
190942003-11-27 Michael Chastain <mec.gnu@mindspring.com>
19095
19096 Partial fix for PR testsuite/1456.
19097 * gdb.base/volatile.exp: Replace references to gcc_compiled with
19098 calls to test_compiler_info.
19099
e8367dc7
MK
191002003-11-27 Mark Kettenis <kettenis@gnu.org>
19101
19102 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
19103 pattern for the KFAILs.
19104
526c61ee
AF
191052003-11-25 Adam Fedor <fedor@gnu.org>
19106
19107 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
19108 * gdb.objc/objcdecode.m: New file.
19109
28f2d600
AF
191102003-11-25 Adam Fedor <fedor@gnu.org>
19111
19112 * gdb.objc/nondebug.exp: Test for PR objc/1236.
19113 * gdb.objc/nondebug.m: New file.
19114
a3895cee
BE
191152003-11-26 Ben Elliston <bje@wasabisystems.com>
19116
19117 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19118 NetBSD as it does on FreeBSD. Modelled on a similar change by
19119 Mark Kettenis on 2003-05-30.
19120 (link-flags): Set to "--entry _start" regardless of target.
19121 Special linker flags are to be appended to $link-flags.
19122 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
19123
c9f2c8a3
MC
191242003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19125
19126 * gdb.cp/method.exp: Accept output of new demangler.
19127
15a0587a 191282003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
19129
19130 * gdb/class2.exp: New file.
19131 * gdb/class2.cc: New file.
19132
3c00b570
MC
191332003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19134
19135 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
19136 of new demangler.
19137
7027acc7
MK
191382003-11-23 Mark Kettenis <kettenis@gnu.org>
19139
19140 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
19141 of gdb_test "run".
19142
b0e1598a
MK
191432003-11-23 Mark Kettenis <kettenis@gnu.org>
19144
19145 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
19146 "continue" into "run".
19147
4d9eda44
MC
191482003-11-23 Michael Chastain <mec.gnu@mindspring.com>
19149
19150 Partial fix for PR testsuite/1456.
19151 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
19152 call to test_compiler_info.
19153 * gdb.cp/ctti.exp: Likewise.
19154 * gdb.cp/derivation.exp: Likewise.
19155 * gdb.cp/member-ptr.exp: Likewise.
19156 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
19157 reference to gcc_compiled.
19158
191592003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
19160
19161 Fix PR testsuite/1463.
19162 * gdb.base/structs.exp (start_structs_test): Call
19163 get_debug_format before using the debug format.
19164
d422fe19
AC
191652003-11-22 Andrew Cagney <cagney@redhat.com>
19166
19167 * lib/gdb.exp (gdb_test_multiple): Add simple example.
19168 * gdb.base/structs.exp: Use gdb_test_multiple.
19169
039cf96d
AC
191702003-11-20 Andrew Cagney <cagney@redhat.com>
19171
6882279b
AC
19172 * gdb.base/structs.exp: Handle and recover from internal errors.
19173 Replace "foo${n}" with "foo<n>" in test messages.
19174
e53890ae
AC
19175 * gdb.base/structs.exp: Update copyright. Rewrite.
19176 * gdb.base/structs.c: Update copyright. Rewrite.
19177
2b211c59
AC
19178 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
19179 resync count exceeded.
d63a86f8 19180
039cf96d
AC
19181 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
19182 from the internal error.
19183 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
19184 Original from Jim Blandy.
19185 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 19186
eac98b22
AC
191872003-11-19 Andrew Cagney <cagney@redhat.com>
19188
19189 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
19190 KFAIL.
19191
67455b2a
MK
191922003-11-17 Mark Kettenis <kettenis@gnu.org>
19193
19194 New testcase for PR backtrace/1435.
19195 * gdb.arch/i386-unwind.exp: New file.
19196 * gdb.arch/i386-unwind.c: New file.
19197
853d6e5b
AC
191982003-11-17 Andrew Cagney <cagney@redhat.com>
19199
19200 * lib/gdb.exp (compiler_info): New global.
19201 (test_compiler_info): New function.
19202 (get_compiler_info): Set compiler_info.
19203 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
19204 "compiler_info" to gcc-<major>-<minor>.
19205
38cf6e11
MC
192062003-11-15 Michael Chastain <mec.gnu@mindspring.com>
19207
19208 * gdb.trace/configure: Remove.
19209
a50d3602
EZ
192102003-11-13 Elena Zannoni <ezannoni@redhat.com>
19211
19212 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 19213 breakpoints.
a50d3602
EZ
19214 * gdb.base/break.exp: Remove all references to explicit line
19215 numbers.
19216
d9407aaa
NC
192172003-11-11 Nick Clifton <nickc@redhat.com>
19218
19219 * gdb.base/shreloc.exp: Do not run for targets which do not
19220 support shared objects.
19221
db488fc1
CV
192222003-11-10 Corinna Vinschen <vinschen@redhat.com>
19223
19224 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
19225 Don't run tests if nofileio flag is given.
19226
6a90a18e
EZ
192272003-11-07 Elena Zannoni <ezannoni@redhat.com>
19228
19229 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 19230 as well as 'Watchpoint'.
6a90a18e 19231
0b915e9c
EZ
192322003-11-06 Elena Zannoni <ezannoni@redhat.com>
19233
19234 Reported by Jim Ingham <jingham@apple.com>:
19235 * gdb.base/annota1.exp: Match at least one occurrence of the
19236 signal handler annotation.
19237
d7e4b55f
EZ
192382003-11-06 Elena Zannoni <ezannoni@redhat.com>
19239
a9c64011
AS
19240 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
19241 as well as 'Watchpoint'.
d7e4b55f 19242
2fe4e8d0
MC
192432003-11-05 Michael Chastain <mec@shout.net>
19244
19245 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
19246
6ef88553
KW
192472003-11-03 Kris Warkentin <kewarken@qnx.com>
19248
19249 * gdb.arch/gdb1291.c: New test file.
19250 * gdb.arch/gdb1291.exp: New test script.
19251 * gdb.arch/gdb1431.c: New test file.
19252 * gdb.arch/gdb1431.exp: New test script.
19253
ae7dc4d8
MC
192542003-10-22 Michael Chastain <mec@shout.net>
19255
19256 * gdb.mi/pthreads.c: Add copyright notice.
19257
c39d7427
MC
192582003-10-22 Michael Chastain <mec@shout.net>
19259
19260 * gdb.threads/pthreads.c: Add copyright notice.
19261
8b7d96c1
MC
192622003-10-20 Michael Chastain <mec@shout.net>
19263
19264 * gdb.base/gdb1056.exp: New test script.
19265
d1d69fdd
DJ
192662003-10-13 Daniel Jacobowitz <drow@mvista.com>
19267
19268 * gdb.threads/killed.exp: Use gdb_run_cmd.
19269
7d605576
DJ
192702003-10-13 Daniel Jacobowitz <drow@mvista.com>
19271
19272 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
19273 create a core file.
19274 * gdb.threads/gcore-thread.exp: Likewise.
19275
618ec112
CV
192762003-10-13 Corinna Vinschen <vinschen@redhat.com>
19277
19278 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
19279 type, based on char type.
19280 (struct bit_flags_short_t): New bitfield type, based on short type.
19281 (init_bit_flags_char): New fuction.
19282 (init_bit_flags_short): Ditto.
19283 (print_bit_flags_char): Ditto.
19284 (print_bit_flags_short): Ditto.
19285 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
19286
9367a73c
MC
192872003-10-11 Michael Chastain <mec@shout.net>
19288
19289 * gdb.base/call-rt-st.exp: Update copyright year.
19290
1decf120
KI
192912003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
19292
19293 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
19294 * gdb.disasm/sh3.s: Ditto.
19295
5445b2ae
DJ
192962003-10-07 Daniel Jacobowitz <drow@mvista.com>
19297
19298 * gdb.threads/switch-threads.exp: New test.
19299 * gdb.threads/switch-threads.c: New source file.
19300
aec24853
CV
193012003-10-07 Corinna Vinschen <vinschen@redhat.com>
19302
19303 * gdb.base/ending-run.exp: Add sh specific case.
19304
adc7428d
AC
193052003-10-06 Andrew Cagney <cagney@redhat.com>
19306
19307 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
19308 * gdb.disasm/mn10200.exp: Delete obsolete file.
19309
c9d37158
DJ
193102003-09-29 Daniel Jacobowitz <drow@mvista.com>
19311
19312 * ChangeLog: Correct an entry command.exp -> commands.exp.
19313 * gdb.base/commands.exp (bp_deleted_in_command_test)
19314 (temporary_breakpoint_commands): Check noargs.
19315
79c2c32d
DC
193162003-09-25 David Carlton <carlton@kealia.com>
19317
19318 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
19319 of some print tests, where appropriate. Add tests for C::D::cd,
19320 E::ce, F::cXfX, G::XgX.
19321 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
19322
594e6d67
RE
193232003-09-25 Richard Earnshaw <rearnsha@arm.com>
19324
19325 * lib/java.exp (java_init): Import target_alias before using it.
19326
10f0d451
DC
193272003-09-25 David Carlton <carlton@kealia.com>
19328
19329 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
19330
274bcba0
EZ
193312003-09-23 Elena Zannoni <ezannoni@redhat.com>
19332
d63a86f8 19333 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 19334 weirdness.
274bcba0 19335
cdbf20f7
MC
193362003-09-17 Michael Chastain <mec@shout.net>
19337
19338 * gdb.cp/gdb1355.exp: New file.
19339 * gdb.cp/gdb1355.c: New file.
19340
71e06f80
CV
193412003-09-15 Corinna Vinschen <vinschen@redhat.com>
19342
19343 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
19344 * gdb.asm/sh.inc: New file.
19345
5c4e30ca
DC
193462003-09-11 David Carlton <carlton@kealia.com>
19347
bd45b7af
DC
19348 * gdb.cp/namespace.exp: Add tests for namespace types.
19349 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
19350 (test_namespace): New.
19351
1c199746
EZ
193522003-09-11 Elena Zannoni <ezannoni@redhat.com>
19353
a9c64011 19354 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 19355 * gdb.stabs/weird.exp: Ditto.
1c199746 19356
04ed252f
MC
193572003-09-08 Michael Chastain <mec@shout.net>
19358
19359 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
19360
d8a2d9e7
MC
193612003-09-07 Michael Chastain <mec@shout.net>
19362
19363 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
19364 'parse error'.
19365
161afb24
MK
193662003-09-07 Mark Kettenis <m.kettenis@osp.nl>
19367
19368 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
19369
49f2741a
MC
193702003-08-30 Michael Chastain <mec@shout.net>
19371
19372 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
19373 * gdb.gdb/observer.exp: Ditto.
19374 * gdb.gdb/xfullpath.exp: Ditto.
19375
8afa723e
MK
193762003-08-29 Mark Kettenis <kettenis@gnu.org>
19377
19378 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
19379 *-*-*bsd*.
19380
f31dfe3b
JJ
193812003-08-28 Jeff Johnston <jjohnstn@redhat.com>
19382
19383 * gdb.base/dump.exp: Skip for ia64.
19384
4630e498
JJ
193852003-08-25 Jeff Johnston <jjohnstn@redhat.com>
19386
19387 * gdb.asm/asm-source.exp: Add ia64 support.
19388 * gdb.asm/ia64.inc: New file.
19389
1105b7ef
MC
193902003-08-22 Michael Chastain <mec@shout.net>
19391
19392 * gdb.cp: New directory.
19393 * gdb.cp/*: Copy from gdb.c++/*.
19394 * gdb.c++/*: Remove.
19395 * Makefile.in: Change gdb.c++ to gdb.cp.
19396 * configure.in: Ditto.
19397 * configure: Regnerate.
19398
c945b932
MK
193992003-08-18 Mark Kettenis <kettenis@gnu.org>
19400
19401 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
19402 * gdb.arch/i386-prologue.c (gdb1338): Add function.
19403
2b66634b
DJ
194042003-08-17 Daniel Jacobowitz <drow@mvista.com>
19405
19406 * mi-var-display.exp (-var-list-children weird): Accept function
19407 pointers with argument types.
19408 * mi1-var-display.exp (-var-list-children weird): Likewise.
19409 * mi2-var-display.exp (-var-list-children weird): Likewise.
19410
a356f73b
DJ
194112003-08-17 Daniel Jacobowitz <drow@mvista.com>
19412
19413 * gdb.base/annota3.exp: Add missing newline.
19414
483417b8
MC
194152003-08-06 Michael Chastain <mec@shout.net>
19416
19417 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
19418
c99c59c3
MS
194192003-08-12 Michael Snyder <msnyder@redhat.com>
19420
19421 * gdb.base/float.exp: Add test for SH.
19422
55ed7501
MK
194232003-08-10 Mark Kettenis <kettenis@gnu.org>
19424
19425 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
19426
1a371f2e
EZ
194272003-08-07 Elena Zannoni <ezannoni@redhat.com>
19428
19429 * gdb.base/completion.exp: Remove reduntant completion test
19430 on filename.
19431
e0f353ce
EZ
194322003-08-07 Elena Zannoni <ezannoni@redhat.com>
19433
a9c64011
AS
19434 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
19435 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
19436 gdb.trace/save-trace.exp: Make sure that full pathnames are
19437 escaped correctly.
e0f353ce 19438
5710a1af 194392003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 19440
a9c64011
AS
19441 * configure.in: Don't generate config.h from config.hin.
19442 * configure: Regenerate.
19443 * config.hin: Remove file.
19444 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
19445 * gdb.threads/pthreads.c: Ditto.
5710a1af 19446
dcd81ce9
DJ
194472003-08-07 Daniel Jacobowitz <drow@mvista.com>
19448
19449 From Kei Sakamoto <sakamoto.kei@renesas.com>:
19450 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
19451 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
19452 Replace ld24 with seth/add3.
19453
6009d884
AC
194542003-08-02 Andrew Cagney <cagney@redhat.com>
19455
19456 * gdb.base/annota3.exp: New file.
19457 * gdb.base/annota3.c: New file.
19458 * gdb.c++/annota3.exp: New file.
19459 * gdb.c++/annota3.cc: New file.
19460
51514e06
MC
194612003-07-29 Michael Chastain <mec@shout.net>
19462
19463 * gdb.threads/tls.c (spin): Check errno only if sem_wait
19464 actually failed.
19465 (do_pass): Likewise.
19466 * gdb.threads/tls.exp: Always initialize no_of_threads.
19467
4ee6625b
DJ
194682003-07-27 Daniel Jacobowitz <drow@mvista.com>
19469
19470 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
19471 pattern.
19472 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
19473 * gdb.threads/tls.exp: Recognize one case of the host library not
19474 supporting TLS.
19475
225f2bf6
AC
194762003-07-27 Andrew Cagney <cagney@redhat.com>
19477
19478 * gdb.base/fileio.exp: Use SH when running commands using
19479 remote_exec.
19480
bcb27c9f
DJ
194812003-07-24 Daniel Jacobowitz <drow@mvista.com>
19482
19483 From Kei Sakamoto <sakamoto.kei@renesas.com>:
19484 * gdb.base/relocate.c (dummy): New padding array.
19485
3d67be83
MS
194862003-07-22 Michael Snyder <msnyder@redhat.com>
19487
d63a86f8 19488 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
19489
19490 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
19491 patterns to be more general, accepting old and new output.
19492 Some output chars (such as '+') also must be quoted.
d63a86f8 19493 Some addresses are displayed numerically instead of
3d67be83
MS
19494 symbolically.
19495
57ba3b85
MS
194962003-07-23 Michael Snyder <msnyder@redhat.com>
19497
686d097c
MS
19498 * gdb.base/return2.exp: Don't test long-long return.
19499
57ba3b85
MS
19500 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
19501 * gdb.disasm/t01_mov.exp: Ditto.
19502 * gdb.disasm/t02_mova.s: Ditto.
19503 * gdb.disasm/t02_mova.exp: Ditto.
19504 * gdb.disasm/t03_add.s: Ditto.
19505 * gdb.disasm/t03_add.exp: Ditto.
19506 * gdb.disasm/t04_sub.s: Ditto.
19507 * gdb.disasm/t04_sub.exp: Ditto.
19508 * gdb.disasm/t05_cmp.s: Ditto.
19509 * gdb.disasm/t05_cmp.exp: Ditto.
19510 * gdb.disasm/t06_ari2.s: Ditto.
19511 * gdb.disasm/t06_ari2.exp: Ditto.
19512 * gdb.disasm/t07_ari3.s: Ditto.
19513 * gdb.disasm/t07_ari3.exp: Ditto.
19514 * gdb.disasm/t08_or.s: Ditto.
19515 * gdb.disasm/t08_or.exp: Ditto.
19516 * gdb.disasm/t09_xor.s: Ditto.
19517 * gdb.disasm/t09_xor.exp: Ditto.
19518 * gdb.disasm/t10_and.s: Ditto.
19519 * gdb.disasm/t10_and.exp: Ditto.
19520 * gdb.disasm/t11_logs.s: Ditto.
19521 * gdb.disasm/t11_logs.exp: Ditto.
19522 * gdb.disasm/t12_bit.s: Ditto.
19523 * gdb.disasm/t12_bit.exp: Ditto.
19524 * gdb.disasm/t13_otr.s: Ditto.
19525 * gdb.disasm/t13_otr.exp: Ditto.
19526
e00759ef
EZ
195272003-07-22 Elena Zannoni <ezannoni@redhat.com>
19528
19529 * gdb.threads/tls.exp :Add kfail for 'info address' case.
19530
8bc2021f
EZ
195312003-07-22 Elena Zannoni <ezannoni@redhat.com>
19532
a9c64011
AS
19533 * gdb.threads/tls.c : New file.
19534 * gdb.threads/tls.exp : New file.
19535 * gdb.threads/tls-main.c : New file.
19536 * gdb.threads/tls-shared.c : New file.
19537 * gdb.threads/tls-shared.exp : New file.
8bc2021f 19538
89320c4c
AS
195392003-07-22 Andreas Schwab <schwab@suse.de>
19540
19541 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
19542
180dea7c
AS
195432003-07-20 Andreas Schwab <schwab@suse.de>
19544
19545 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
19546 due to insn reordering.
19547
0714963c
AC
195482003-07-15 Andrew Cagney <cagney@redhat.com>
19549
19550 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
19551
98a23b3f
MC
195522003-07-15 Michael Chastain <mec@shout.net>
19553
19554 * gdb.base/gdb1250.exp: New file.
19555 * gdb.base/gdb1250.c: New file.
19556
27e417a2
ML
195572003-07-09 Michal Ludvig <mludvig@suse.cz>
19558
19559 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
19560 expansion of size_t to 'unsigned long', not only to 'unsigned'.
19561
8bc2021f
EZ
195622003-07-09 Elena Zannoni <ezannoni@redhat.com>
19563
a9c64011
AS
19564 * gdb.threads/tls.c: New file.
19565 * gdb.threads/tls.exp: New file.
19566 * gdb.threads/tls-main.c: New file.
19567 * gdb.threads/tls-shared.c: New file.
19568 * gdb.threads/tls-shared.exp: New file.
8bc2021f 19569
d99968dc
EZ
195702003-07-09 Elena Zannoni <ezannoni@redhat.com>
19571
19572 * gdb.base/annota1.exp: Make sure that we properly escape the
19573 full path of the source file. Xfail more permissive patterns,
d63a86f8 19574 due to a compiler debug info problem.
d99968dc 19575
83876b3b
AS
195762003-07-07 Andreas Schwab <schwab@suse.de>
19577
2705e972
AS
19578 * gdb.asm/m68k.inc: New file.
19579 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
19580
83876b3b
AS
19581 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
19582 arguments"): Also match negative number.
19583
19584 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
19585
3a871b37
DJ
195862003-07-03 Daniel Jacobowitz <drow@mvista.com>
19587
19588 * gdb.base/store.c (charest): New typedef.
19589 (add_char): Rename to add_charest, update.
19590 (wack_char): Rename to wack_charest, update types. Return l + r
19591 to keep r live across the call.
19592 (wack_short, wack_int, wack_long, wack_longest, wack_float)
19593 (wack_double, wack_doublest): Return l + r to keep r live across
19594 the call.
19595 * gdb.base/store.exp: Accomodate store.c changes.
19596
b2a7f303
DC
195972003-06-30 David Carlton <carlton@kealia.com>
19598
19599 * gdb.c++/maint.exp (test_invalid_name): New.
19600 (test_first_component): Add tests for invalid names.
19601
3c6cb4a1
MC
196022003-06-29 Michael Chastain <mec@shout.net>
19603
19604 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
19605 output of '<VTT for class>' for virtual base classes.
19606
f1c2644b
DJ
196072003-06-29 Daniel Jacobowitz <drow@mvista.com>
19608
19609 * gdb.base/completion.exp: Tab-complete "complet" instead of
19610 "compl".
19611 * gdb.base/complex.exp, gdb.base/complex.c: New files.
19612
18080350
DJ
196132003-06-29 Daniel Jacobowitz <drow@mvista.com>
19614
19615 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
19616 * gdb.base/volatile.exp: Likewise.
19617
f56973f8
DJ
196182003-06-29 Daniel Jacobowitz <drow@mvista.com>
19619
19620 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
19621 gdb/1265.
19622
196232003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
19624 Daniel Jacobowitz <drow@mvista.com>
19625
19626 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
19627 initial line count of 'captured_main' from 26 to 32.
19628 (test_with_self): Allow xmalloc call to be interleaved with the
19629 preceding two lines.
19630
e766d4d6
JB
196312003-06-24 Joel Brobecker <brobecker@gnat.com>
19632
19633 * gdb.base/bang.exp: New testcase.
19634
f125c9a4
JB
196352003-06-23 Joel Brobecker <brobecker@gnat.com>
19636
19637 * gdb.base/langs.exp: Add some tests for the "minimal" language
19638 support.
19639
6e25beaf
EZ
196402003-06-23 Elena Zannoni <ezannoni@redhat.com>
19641
19642 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
19643 the testcase.
19644
2f816dda
DJ
196452003-06-22 Daniel Jacobowitz <drow@mvista.com>
19646
19647 * gdb.base/relocate.exp: Test add-symbol-file with a variable
19648 offset.
19649
db5a5748
DJ
196502003-06-22 Daniel Jacobowitz <drow@mvista.com>
19651
19652 * gdb.c++/pr-1210.cc: New file.
19653 * gdb.c++/pr-1210.exp: New file.
19654
1df0c130
DJ
196552003-06-21 Daniel Jacobowitz <drow@mvista.com>
19656
19657 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
19658 000-exec-continue.
19659
a92feac0
MK
196602003-06-15 Mark Kettenis <kettenis@gnu.org>
19661
19662 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
19663 on *-*-*bsd* instead of *-*-freebsd*.
19664
81a58f5b
AC
196652003-06-14 Andrew Cagney <cagney@redhat.com>
19666
19667 * gdb.base/store.exp: Test longest and doublest. Test all
19668 parameters. Weaken return statement match.
19669 * gdb.base/store.c: Add longest and doublest - aka long long and
19670 long double functions. Put all parameters into local register
19671 variables. Use negative values.
19672
b257a0d3
AC
196732003-06-14 Andrew Cagney <cagney@redhat.com>
19674
19675 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
19676 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
19677 exit status.
19678 * gdb.base/fileio.exp: Disable target when nointerrupts and
19679 noinferiorio, instead of limiting it to remote. Use remote_exec
19680 instead of system.
d63a86f8 19681
21c38304
JJ
196822003-06-12 Jeff Johnston <jjohnstn@redhat.com>
19683
19684 * gdb.base/float.exp: Add ia64 support.
19685
1bcdb424
CV
196862003-06-12 Corinna Vinschen <vinschen@redhat.com>
19687
19688 * gdb.base/fileio.exp: Run only on remote targets.
19689
6aeb981f
CV
196902003-06-10 Corinna Vinschen <vinschen@redhat.com>
19691
19692 * gdb.base/fileio.c: New file, testing File-I/O.
19693 * gdb.base/fileio.exp: Ditto.
19694
53df362e
RG
196952003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
19696
19697 * gdb.base/shreloc.exp: New file, check symbol values obtained from
19698 shared objects after relocation at load time (gdb PR/1132).
19699 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 19700 as above, part of the shared object relocation test.
53df362e 19701
ffee1b46
MK
197022003-06-08 Mark Kettenis <kettenis@gnu.org>
19703
b5ca3722
MK
19704 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
19705 fully filled history list.
19706 * gdb.base/gdb_history: New file.
19707
03ed860d
MK
19708 * gdb.base/signals.exp: XFAIL "continue to func1" on
19709 i*86-*-freebsd*.
19710
ffee1b46
MK
19711 * gdb.base/attach.exp: When trying to attach to a nonexistent
19712 process, make it possible to specify the PID based on the target,
19713 and do so for *-*-freebsd*.
19714
d80dbb52
RH
197152003-06-02 Richard Henderson <rth@redhat.com>
19716
19717 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
19718
6dd77b81
RH
197192003-06-02 Richard Henderson <rth@redhat.com>
19720
19721 * gdb.base/selftest.exp: Next over lim_at_start initialization.
19722
f6347e16
RH
197232003-06-02 Richard Henderson <rth@redhat.com>
19724
19725 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
19726
2c161407
DJ
197272003-06-01 Daniel Jacobowitz <drow@mvista.com>
19728
19729 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
19730 of globalvar.
19731
572eb746
MK
197322003-06-01 Mark Kettenis <kettenis@gnu.org>
19733
19734 * gdb.asm/asm-source.exp: Check for memory read errors in
19735 disassembler test on *BSD too.
19736
9e9617a5
RH
197372003-06-01 Richard Henderson <rth@redhat.com>
19738
19739 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
19740 for .frame.
19741 (gdbasm_call): Lose ldgp.
19742 (gdbasm_startup): Add frame information.
19743 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
19744
7b34ad4e
MK
197452003-05-31 Mark Kettenis <kettenis@gnu.org>
19746
19747 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
19748 i?86-*-*.
19749
10059fdf
MK
197502003-05-30 Mark Kettenis <kettenis@gnu.org>
19751
19752 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19753 FreeBSD.
19754
acf4b816
RH
197552003-05-29 Richard Henderson <rth@redhat.com>
19756
19757 * gdb.asm/alpha.inc: New file.
19758 * gdb.asm/asm-source.exp: Use it.
19759
e9ecd949
JB
197602003-05-29 Jim Blandy <jimb@redhat.com>
19761
19762 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
19763 'core.PID'.
19764
e3e5a4f3
JB
197652003-05-22 Jim Blandy <jimb@redhat.com>
19766
19767 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
19768 backtrace.
d63a86f8 19769
72fe3d25
DC
197702003-05-20 David Carlton <carlton@math.stanford.edu>
19771
19772 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
19773 this time.
19774
58da2eb2
DC
197752003-05-19 David Carlton <carlton@bactrian.org>
19776
19777 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19778 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
19779
1fcb5155
DC
197802003-05-19 David Carlton <carlton@bactrian.org>
19781
19782 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19783 namespace tests.
19784 Bump copyright date.
19785 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
19786 (main): Call C::D::marker2.
19787 * gdb.c++/namespace1.cc: New file.
19788
85e85163
JJ
197892003-05-14 Jeff Johnston <jjohnstn@redhat.com>
19790
19791 Roland McGrath <roland@redhat.com>
d63a86f8 19792 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
19793 there is no manager thread.
19794
a25fbfec
JJ
197952003-05-08 Jeff Johnston <jjohnstn@redhat.com>
19796
d63a86f8
RM
19797 * gdb.threads/schedlock.exp: Remove assumption that all threads
19798 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
19799 in one of the child threads rather than the main thread.
19800
be375bae
JB
198012003-05-07 Jim Blandy <jimb@redhat.com>
19802
09bf6082
JB
19803 Add support for assembly source testing on the s390x.
19804 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
19805 architecture.
19806 * gdb.asm/s390x.inc: New file.
19807
be375bae
JB
19808 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
19809 succession of 'if' statements.
19810
00905d52
AC
198112003-05-05 Andrew Cagney <cagney@redhat.com>
19812
19813 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
19814
b1e29e33
AC
198152003-05-05 Andrew Cagney <cagney@redhat.com>
19816
19817 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19818 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19819
e33d66ec
EZ
198202003-05-02 Elena Zannoni <ezannoni@redhat.com>
19821
19822 * gdb.base/charset.exp: Update based on new behavior of set/show
19823 charset commands.
19824
2b6fd0d8
AC
198252003-05-01 Andrew Cagney <cagney@redhat.com>
19826
19827 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19828 variable do not give memory errors.
19829
130cacce
AF
198302003-04-30 Adam Fedor <fedor@gnu.org>
19831
19832 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19833 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19834 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19835 gdb.objc/basicclass.m: : New files
19836
19837 * lib/gdb.exp (gdb_compile_objc): New procedure.
19838
bea71854
DJ
198392003-04-27 Daniel Jacobowitz <drow@mvista.com>
19840
19841 * gdb.base/signals.exp: Make backtrace tests more specific.
19842
0f20eeea
DC
198432003-04-23 David Carlton <carlton@bactrian.org>
19844
19845 * gdb.c++/maint.exp (test_first_component): Add tests for
19846 'operator' in more locations.
19847
c8c4d8dc
KB
198482003-04-16 Kevin Buettner <kevinb@redhat.com>
19849
19850 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19851
3fe60e3c
EZ
198522003-04-16 Elena Zannoni <ezannoni@redhat.com>
19853
19854 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 19855 func marke' instead. Update test name.
3fe60e3c 19856
9219021c
DC
198572003-04-15 David Carlton <carlton@math.stanford.edu>
19858
19859 * gdb.c++/maint.exp: New file.
19860
5dd55bdd
EZ
198612003-04-14 Elena Zannoni <ezannoni@redhat.com>
19862
19863 * gdb.threads/schedlock.c: Change type of thread function argument
19864 to long, to avoid warnings on 64-bit platforms.
19865
00890572
EZ
198662003-04-14 Elena Zannoni <ezannoni@redhat.com>
19867
a9c64011
AS
19868 * gdb.base/attach.exp: Add new message from ptrace in case of
19869 attaching to nonexistent process.
d63a86f8 19870
93201743
JB
198712003-04-11 Jim Blandy <jimb@redhat.com>
19872
19873 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19874 gdb.c++/userdef.cc: Place comments on the lines to which the
19875 marker function might return.
19876 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19877 gdb.c++/userdef.exp: Look for those comments to check that we've
19878 returned to the right place, instead of checking line numbers.
19879
2a11c64d
EZ
198802003-04-11 Elena Zannoni <ezannoni@redhat.com>
19881
a9c64011
AS
19882 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19883 match on sourcefile name, instead of directory name.
2a11c64d 19884
68ab8fc5
EZ
198852003-04-10 Elena Zannoni <ezannoni@redhat.com>
19886
d63a86f8 19887 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
19888 working directory name.
19889
5624293a
JB
198902003-04-09 Jim Blandy <jimb@redhat.com>
19891
19892 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19893 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19894 after an inferior function call, report the failure, but allow the
19895 test to continue.
19896
f1f02ee4
SC
198972003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19898
19899 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19900 with -DPROTOTYPES.
19901
6eb79af0
SC
199022003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19903
19904 * gdb.base/break.exp: Revert last patch.
19905
8dfb4cf0
SC
199062003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19907
19908 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19909 with -DPROTOTYPES.
19910
ed4c619a
AC
199112003-04-02 Andrew Cagney <cagney@redhat.com>
19912
19913 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19914 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19915 matching directories by the name breakpoint.
19916 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19917 Make "continue to marker1" consistent.
19918 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19919 message consistent.
19920 * lib/gdb.exp: Put "the program is no longer running", and "the
19921 program exited" in parenthesis.
19922 * lib/mi-support.exp: Ditto.
d63a86f8 19923
4e35d5f0 199242003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 19925
4e35d5f0
BR
19926 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19927
71900fe8
AC
199282003-03-29 Andrew Cagney <cagney@redhat.com>
19929
19930 * gdb.base/sizeof.c (main): Print the value of '\377'.
19931 * gdb.base/sizeof.exp: Check the sign of '\377'.
19932
c0655a16
MC
199332003-03-27 Michael Chastain <mec@shout.net>
19934
19935 * gdb.base/gdb1090.exp: New file.
19936 * gdb.base/gdb1090.cc: New file.
19937
5b2a3989
JB
199382003-03-27 J. Brobecker <brobecker@gnat.com>
19939
19940 * gdb.gdb/observer.exp: New regression test.
19941
79876890
MC
199422003-03-27 Michael Chastain <mec@shout.net>
19943
19944 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19945 * gdb.base/ptype.exp: Likewise.
19946
6eac95e3
CV
199472003-03-27 Corinna Vinschen <vinschen@redhat.com>
19948
19949 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19950
e8c71839
MC
199512003-03-26 Michael Chastain <mec@shout.net>
19952
19953 * gdb.base/ptype.exp: Actually use some typedef'd types.
19954
71b10041
SC
199552003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19956
19957 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19958 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19959
2512cf80
CV
199602003-03-20 Corinna Vinschen <vinschen@redhat.com>
19961
19962 * gdb.base/default.exp: Fix regular expression.
19963
0d195a4f
CV
199642003-03-20 Corinna Vinschen <vinschen@redhat.com>
19965
19966 * gdb.base/args.exp: Fix regular expression.
19967
8a2dbca8
CV
199682003-03-20 Corinna Vinschen <vinschen@redhat.com>
19969
19970 * gdb.base/help.exp: Allow Win32 child process.
19971
bf028682
CV
199722003-03-20 Corinna Vinschen <vinschen@redhat.com>
19973
19974 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19975 when stepping out of main().
19976
182dbe85
CV
199772003-03-20 Corinna Vinschen <vinschen@redhat.com>
19978
19979 * gdb.base/default.exp: Check for win32 specific message when calling
19980 "run" without executable.
19981
d67a6ba5
CV
199822003-03-20 Corinna Vinschen <vinschen@redhat.com>
19983
19984 * gdb.base/args.exp: Expect .exe in output.
19985
a955b5bb
CV
199862003-03-20 Corinna Vinschen <vinschen@redhat.com>
19987
19988 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19989 Cygwin native.
19990
bf6bad4b
AC
199912003-03-17 Andrew Cagney <cagney@redhat.com>
19992
19993 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19994 vector registes.
19995 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19996 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19997
293e9a31
DC
199982003-03-17 David Carlton <carlton@math.stanford.edu>
19999
20000 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
20001 test, for PR breakpoints/38.
20002 Call test_watchpoint_and_breakpoint.
20003 * gdb.base/watchpoint.c (func3): New function.
20004 (main): Call func3.
20005
5330f2db
DC
200062003-03-04 David Carlton <carlton@math.stanford.edu>
20007
20008 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
20009 Garply<Garply<char> >:: garply".
20010 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
20011 with respect to PR c++/1111; note also PR c++/1113.
20012 (test_template_breakpoints): KFAIL "constructor breakpoint" with
20013 respect to PR c++/1062.
20014 KFAIL "destructor breakpoint" with respect to PR c++/1112.
20015
6ece72da
DC
200162003-03-03 David Carlton <carlton@math.stanford.edu>
20017
20018 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
20019 with respect to PR c++/57.
20020 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
20021 c++/826.
20022 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
20023 respect to PR c++/57.
20024
85ca1584
DC
200252003-03-03 David Carlton <carlton@math.stanford.edu>
20026
20027 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
20028 respect to PR c++/33 into FAILs.
20029
98e9c5b8
MC
200302003-03-03 Michael Chastain <mec@shout.net>
20031
7bedbf27
MC
20032 * configure.in: Update copyright years.
20033
200342003-03-03 Michael Chastain <mec@shout.net>
20035
20036 * Makefile.in: Update copyright years.
98e9c5b8 20037
f683e100
DC
200382003-02-28 David Carlton <carlton@math.stanford.edu>
20039
20040 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
20041 print class instead of struct and/or superfluous protection
20042 specifiers, as long as the resulting output is equivalent to the
20043 source code.
20044 Delete FIXME from end of messages on tests that don't need
20045 fixing.
20046
a9e0cf2c
DC
200472003-02-28 David Carlton <carlton@math.stanford.edu>
20048
20049 * gdb.c++/templates.exp (do_tests): Allow const in the two
20050 Foo<volatile char *>::foo tests.
20051
e8d359df
MS
200522003-02-27 Michael Snyder <msnyder@redhat.com>
20053
d63a86f8 20054 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
20055 will be consistant.
20056
0b71dc91
DC
200572003-02-26 David Carlton <carlton@math.stanford.edu>
20058
20059 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
20060 char *>::foo" test with respect to PR c++/33. Create a new test
20061 which is identical to that one except that it doesn't put the
20062 space between the "char" and the "*"; KFAIL it, too.
20063
dd14ab43
DC
200642003-02-26 David Carlton <carlton@math.stanford.edu>
20065
20066 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
20067 template types into either PASSes or KFAILs (corresponding to PR
20068 c++/57). Tweak indentation. Update copyright.
20069
1146c7f1
SC
200702003-02-23 Stephane Carrez <stcarrez@nerim.fr>
20071
20072 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
20073
74641dfb
MC
200742003-02-13 Michael Chastain <mec@shout.net>
20075
20076 * gdb.base/exprs.exp: Remove i960 remnants.
20077 * gdb.base/funcargs.exp: Likewise.
20078 * gdb.base/list.exp: Likewise.
20079 * gdb.base/ptype.exp: Likewise.
20080
559cd2d0
DC
200812003-02-14 David Carlton <carlton@math.stanford.edu>
20082
20083 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
20084 pEe->D::vg()" from XFAIL to KFAIL.
20085
c4f90d87
JM
200862003-02-13 Jason Molenda (jmolenda@apple.com)
20087
20088 * gdb.base/maint.exp: Update maint print statistics regexp to include
20089 new entries.
20090
cbc4d97c
MC
200912003-02-13 Michael Chastain <mec@shout.net>
20092
20093 * gdb.c++/inherit.exp: Remove call to get_debug_format.
20094
40f235b7
MC
200952003-02-12 Michael Chastain <mec@shout.net>
20096
20097 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
20098 * gdb.c++/inherit.exp: Likewise.
20099 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
20100 * gdb.c++/templates.exp: Likewise.
20101 * gdb.c++/virtfunc.exp: Likewise.
20102
c56716b0
JM
201032003-02-06 Jason Molenda (jason-cl@molenda.com)
20104
20105 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
20106 why the code is written that way.
20107
070afcf8
MC
201082003-02-05 Michael Chastain <mec@shout.net>
20109
20110 * gdb.base/dump.exp: Add missing copyright line.
20111
5d0331e5
JM
201122003-02-05 Jason Molenda (jason-cl@molenda.com)
20113
f7ae6d3e 20114 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
20115 at the beginning so the breakpoint doesn't get set on the loop.
20116
92851186
MC
201172003-02-05 Michael Chastain <mec@shout.net>
20118
20119 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
20120 output for configurations with gcc 2.95.3.
20121
cbf1e085
AC
201222003-02-05 Keith Seitz <keiths@redhat.com>
20123 Andrew Cagney <ac131313@redhat.com>
20124
20125 * gdb.mi/mi-cli.exp: New file.
d63a86f8 20126
29518e1e
MC
201272003-02-04 Michael Chastain <mec@shout.net>
20128
20129 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
20130 Call perror and then continue.
20131
5af1d5f3
MC
201322003-02-03 Michael Chastain <mec@shout.net>
20133
20134 * gdb.c++/pr-1023.cc: New file.
20135 * gdb.c++/pr-1023.exp: New file.
20136
6b549786
JB
201372003-02-05 Jim Blandy <jimb@redhat.com>
20138
20139 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
20140 it's local to foobar. Check for it there, and check that it's not
20141 present in main.
20142 * gdb.c++/local.cc (marker2): New function.
20143 (foobar): Call marker1.
20144 (main): Call marker2 instead of marker1.
20145
67f16606
AC
201462003-02-04 Andrew Cagney <ac131313@redhat.com>
20147
20148 * gdb.disasm/mn10200.exp: Obsolete file.
20149 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
20150 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
20151 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
20152
1c5cb38e
DC
201532003-02-04 David Carlton <carlton@math.stanford.edu>
20154
20155 * gdb.c++/overload.exp: Test intToChar(1).
20156 * gdb.c++/overload.cc (intToChar): New.
20157 (main): Call intToChar.
20158
d1fe6965
DC
201592003-02-03 David Carlton <carlton@math.stanford.edu>
20160
20161 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
20162 'might_kfail' arg.
20163 KFAIL some of the continue_to_bp_overloaded calls, according to
20164 PR c++/1025.
20165
9ba61c5d
MC
201662003-02-01 Michael Chastain <mec@shout.net>
20167
20168 * gdb.base/advance.c (marker1): New marker function.
20169 * gdb.base/advance.exp: When the 'advance' command lands on the
20170 return breakpoint, it can legitimately stop on either the
20171 current line or the next line. Accommodate both outcomes.
20172 * gdb.base/until.exp: Likewise.
20173
e7494ffb
AC
201742003-02-02 Andrew Cagney <ac131313@redhat.com>
20175
20176 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20177 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
20178 now a list, not a tuple.
20179 * gdb.mi/mi-var-display.exp: Ditto.
20180 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 20181
075559bc
AC
201822003-02-01 Andrew Cagney <ac131313@redhat.com>
20183
20184 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
20185 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
20186 stack backtraces.
20187 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 20188
2bd4c7b1
MK
201892003-02-01 Mark Kettenis <kettenis@gnu.org>
20190
20191 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20192 gdb.mi/mi1-pthreads.exp: Return instead of calling
20193 gdb_suppress_entire_file.
20194
eabd8992
MS
201952003-02-01 Mark Salter <msalter@redhat.com>
20196
20197 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
20198
71469e2f
MS
201992003-01-31 Mark Salter <msalter@redhat.com>
20200
20201 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
20202 Support empty arg.
20203
38a94d44
MC
202042003-01-30 Michael Chastain <mec@shout.net>
20205
20206 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
20207 This was a workaround for a UTF-8 bug in readline 4.3. The bug
20208 has been fixed in gdb/readline on 2003-01-09.
20209
19ea9e73
MS
202102003-01-29 Michael Snyder <msnyder@redhat.com>
20211
e8d359df
MS
20212 * gdb.base/maint.exp: Allow for leading underscore in symbol.
20213 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
20214 * gdb.base/args.exp: Skip if target does not support args passing.
20215
2307bd6a
DJ
202162003-01-22 Daniel Jacobowitz <drow@mvista.com>
20217
19ea9e73 20218 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
20219 gdb_test. Accept a list of expect arguments as the third
20220 parameter.
20221 (gdb_test): Use it.
20222
f2dd3617
EZ
202232003-01-20 Elena Zannoni <ezannoni@redhat.com>
20224
20225 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
20226 allow for different test tree configurations. Update some
20227 tescases accordingly.
20228 * gdb.arch/altivec-regs.exp: Ditto.
20229 * gdb.asm/asm-source.exp: Ditto.
20230 * gdb.base/advance.exp: Ditto.
20231 * gdb.base/display.exp: Ditto.
d63a86f8 20232 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
20233 * gdb.base/mips_pro.exp: Ditto.
20234 * gdb.base/overlays.exp: Ditto.
20235 * gdb.base/relocate.exp: Ditto.
20236 * gdb.base/setshow.exp: Ditto.
20237 * gdb.base/step-line.exp: Ditto.
20238 * gdb.base/step-test.exp: Ditto.
20239 * gdb.base/until.exp: Ditto.
20240 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
20241
c71cdefd
DC
202422003-01-17 David Carlton <carlton@math.stanford.edu>
20243
20244 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
20245 corresponding to PR c++/945.
20246 Update copyright.
20247
fdba05d7
DC
202482003-01-17 David Carlton <carlton@math.stanford.edu>
20249
20250 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
20251 corresponding to PR c++/68.
20252
202532003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
20254
20255 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
20256 (test_paddr_hairy_functions): Call print_addr_2_kfail for
20257 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
20258
c362c33a
EZ
202592003-01-15 Elena Zannoni <ezannoni@redhat.com>
20260
0fbc361c
EZ
20261 * gdb.base/break.exp: Fix change of default location, because of
20262 removal of until tests.
20263 * gdb.base/help.exp: Update test for new 'until' help message.
20264 Add test for help on 'advance'.
a9c64011 20265 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 20266
dabf8a35
MK
202672003-01-15 Mark Kettenis <kettenis@gnu.org>
20268
20269 * gdb.base/default.exp: Adapt "info float" test for recent changes
20270 to that command. Add test for "info vector".
20271 * gdb.base/float.exp: New file. Add test for "info float" that
20272 resembles the old test in gdb.base/default.exp.
20273
a1769aca
DC
202742003-01-15 David Carlton <carlton@math.stanford.edu>
20275
20276 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
20277
82025e13
EZ
202782003-01-15 Elena Zannoni <ezannoni@redhat.com>
20279
20280 * gdb.base/break.exp: Move the tests of until command from here...
20281 * gdb.base/until.exp: ... to here. New file. Add other tests.
20282 * gdb.base/advance.c: New file.
20283 * gdb.base/advance.exp: New file.
20284
8f9ab801
EZ
202852003-01-14 Elena Zannoni <ezannoni@redhat.com>
20286
a9c64011
AS
20287 * gdb.base/args.c: New file.
20288 * gdb.base/args.exp: New file.
8f9ab801 20289
9ae66589
DJ
202902003-01-14 Daniel Jacobowitz <drow@mvista.com>
20291
20292 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
20293
8d77e5c3
DJ
202942003-01-14 Daniel Jacobowitz <drow@mvista.com>
20295
20296 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
20297
12d2f0a1
DJ
202982003-01-14 Daniel Jacobowitz <drow@mvista.com>
20299
20300 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
20301 dates.
20302
6ca37014
DJ
203032003-01-13 Daniel Jacobowitz <drow@mvista.com>
20304
20305 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
20306
b0023472
DJ
203072003-01-13 Daniel Jacobowitz <drow@mvista.com>
20308
20309 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
20310 (ptype &*"foo").
20311 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
20312
607fbc54 203132003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
20314
20315 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
20316 * gdb.mi/mi1-console.exp: Likewise.
20317
607fbc54 203182003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
20319
20320 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
20321 * gdb.mi/mi1-console.exp: Likewise.
20322
a1fb14a2
DJ
203232003-01-13 Daniel Jacobowitz <drow@mvista.com>
20324
20325 * gdb.c++/overload.exp: Remove some fixed XFAILs.
20326
c4cf40b7
DJ
203272003-01-09 Daniel Jacobowitz <drow@mvista.com>
20328
20329 * gdb.base/detach.exp: New test.
20330
696d5a5b
DJ
203312003-01-09 Daniel Jacobowitz <drow@mvista.com>
20332
20333 * Makefile.in (ALL_SUBDIRS): New variable.
20334 (subdirs, clean, distclean): Use it.
20335 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
20336 regenerating Makefile, since it is generated from the top level.
20337 * gdb.asm/Makefile.in: Likewise.
20338 * gdb.base/Makefile.in: Likewise.
20339 * gdb.c++/Makefile.in: Likewise.
20340 * gdb.disasm/Makefile.in: Likewise.
20341 * gdb.java/Makefile.in: Likewise.
20342 * gdb.mi/Makefile.in: Likewise.
20343 * gdb.threads/Makefile.in: Likewise.
20344 * gdb.trace/Makefile.in: Likewise.
20345
754533e4
DC
203462003-01-09 David Carlton <carlton@math.stanford.edu>
20347
20348 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
20349 Add copyright year 2003.
20350
d8b3e9ee
MC
203512003-01-06 Michael Chastain <mec@shout.net>
20352
20353 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
20354 When selecting a thread, 'line' and 'file' are optional.
20355 * gdb.mi/mi1-pthreads.exp: Likewise.
20356
8e9e0fe6
AS
203572003-01-06 Andreas Schwab <schwab@suse.de>
20358
20359 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
20360 failures.
20361
b5ab8ff3
DJ
203622003-01-04 Daniel Jacobowitz <drow@mvista.com>
20363
20364 Fix PR gdb/844
20365 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
20366 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
20367
20368 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
20369 instead of calling gdb_suppress_entire_file.
20370 * gdb.threads/print-threads.exp: Likewise.
20371 * gdb.threads/schedlock.exp: Likewise.
20372
20373 * gdb.threads/killed.exp: Return instead of calling
20374 gdb_suppress_entire_file.
20375 * gdb.threads/linux-dp.exp: Likewise.
20376 * gdb.threads/pthreads.exp: Likewise.
20377
1e698235
DJ
203782003-01-04 Daniel Jacobowitz <drow@mvista.com>
20379
20380 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
20381 stabs.
20382 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
20383 * gdb.base/whatis.exp: Always allow (void) after function names.
20384
147ff08c
DJ
203852003-01-04 Daniel Jacobowitz <drow@mvista.com>
20386
20387 * gdb.c++/casts.exp: Correct regexp.
20388
dc62bfc2
MK
203892003-01-04 Mark Kettenis <kettenis@gnu.org>
20390
20391 * configure.in: Call AC_CONFIG_HEADER. Don't call
20392 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
20393 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
20394 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
20395 aforementioned directories in the AC_OUPUT call.
20396 * config.hin: New file.
20397 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20398 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
20399 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
20400 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
20401 pass -I$objdir instead of -I$objdir/$subdir in compilation.
20402 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
20403 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
20404 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
20405 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
20406 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
20407 gdb.threads/configure.in, gdb.threads/configure,
20408 gdb.threads/config.in, gdb.trace/configure.in,
20409 gdb.trace/configure: Removed.
20410
77afa639
MC
204112003-01-03 Michael Chastain <mec@shout.net>
20412
20413 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
20414 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
20415
7634bb6e
DJ
204162003-01-03 Daniel Jacobowitz <drow@mvista.com>
20417
20418 * gdb.base/store.exp: Fix regular expressions.
20419
b39c905e
MK
204202002-12-28 Mark Kettenis <kettenis@gnu.org>
20421
20422 * configure.in: Rewrite.
20423 * configure: Regenerated.
20424
0a8551dd
DC
204252003-01-03 David Carlton <carlton@math.stanford.edu>
20426
20427 * gdb.base/psymtab.exp: New file.
20428 * gdb.base/psymtab1.c: Ditto.
20429 * gdb.base/psymtab2.c: Ditto.
20430
c60b7188
AF
204312002-12-23 Adam Fedor <fedor@gnu.org>
20432
20433 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
20434
ee73db83
DC
204352002-12-23 David Carlton <carlton@math.stanford.edu>
20436
20437 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
20438 and current_directory initialization.
20439
d6c1774e
JB
204402002-12-22 Jim Blandy <jimb@redhat.com>
20441
f0a847b8
JB
20442 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
20443 rather than as part of the output file name.
20444
d6c1774e
JB
20445 * gdb.base/attach.exp: There's no need to copy the test program to
20446 /tmp; that was only ever necessary on HP/UX, and this test is
20447 entirely disabled there anyway.
20448
f0708dbb
JB
204492002-12-21 Jim Blandy <jimb@redhat.com>
20450
4c2acfea
JB
20451 * gdb.c++/psmang.exp: Doc fix.
20452
f0708dbb
JB
20453 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
20454 test.
20455
9579e000
DC
204562002-12-20 David Carlton <carlton@math.stanford.edu>
20457
20458 * gdb.c++/annota2.exp: KFAIL annotate-quit.
20459
d1810171
MC
204602002-12-18 Michael Chastain <mec@shout.net>
20461
20462 * gdb.c++/annota2.exp: Add copyright year 2002.
20463
76565097
DC
204642002-12-17 David Carlton <carlton@math.stanford.edu>
20465
20466 * gdb.c++/try_catch.cc: Add marker comments.
20467 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
20468 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
20469 * gdb.c++/m-static.cc: Ditto.
20470 * gdb.c++/m-static1.cc: Ditto.
20471 * gdb.c++/try_catch.cc: Ditto.
20472
da81390b
JJ
204732002-12-16 Jeff Johnston <jjohnstn@redhat.com>
20474
20475 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
20476 to see whether we are using the new -environment-directory
20477 command which resets via -r or the old version of the command
20478 which may prompt the user. Part of fix for gdb/741.
20479
b304d130
AC
204802002-12-13 Andrew Cagney <ac131313@redhat.com>
20481
20482 * gdb.fortran/types.exp: Update obsolete comment.
20483 * gdb.fortran/exprs.exp: Ditto.
20484 * lib/gdb.exp: Delete obsolete code.
20485 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
20486 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
20487 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
20488 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
20489 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
20490 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
20491 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
20492 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
20493 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
20494 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
20495 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
20496 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
20497 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
20498 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
20499 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
20500 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
20501 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
20502 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
20503 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
20504 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
20505 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
20506 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
20507 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
20508 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
20509 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
20510 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
20511 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
20512 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
20513 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
20514 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
20515 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
20516 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
20517 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
20518 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
20519 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
20520 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
20521 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
20522
a23b6e6a
DC
205232002-12-11 David Carlton <carlton@math.stanford.edu>
20524
20525 * gdb.c++/m-data.exp: Add test for members that shadow global
20526 variables: see PR gdb/804.
20527 * gdb.c++/m-data.cc: Ditto.
20528
6604731b
DJ
205292002-12-10 Daniel Jacobowitz <drow@mvista.com>
20530
20531 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
20532
de46ecd7
DC
205332002-12-06 David Carlton <carlton@math.stanford.edu>
20534
20535 * gdb.base/store.c: Don't declare functions static.
20536
27e829d0
AC
205372002-12-04 Andrew Cagney <ac131313@redhat.com>
20538
20539 * gdb.base/store.exp, gdb.base/store.c: New files.
20540
92806416
DJ
205412002-12-03 Daniel Jacobowitz <drow@mvista.com>
20542
20543 * gdb.base/selftest.exp: Update for current gdb.
20544
3bcbaac5
DJ
205452002-12-03 Daniel Jacobowitz <drow@mvista.com>
20546
20547 * gdb.base/maint.exp: Only dump symbols from one source file
20548 or objfile.
20549
f4f00b1f
DJ
205502002-12-03 Daniel Jacobowitz <drow@mvista.com>
20551
20552 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
20553 function call.
20554
f1c8a949
JB
205552002-11-25 Jim Blandy <jimb@redhat.com>
20556
20557 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
20558 function appearing in error message.
20559
9e297a97
DJ
205602002-11-21 Daniel Jacobowitz <drow@mvista.com>
20561
20562 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
20563
1f312e79
JJ
205642002-11-08 Jeff Johnston <jjohnstn@redhat.com>
20565
d63a86f8
RM
20566 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
20567 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
20568 should be in mi console format. This is part of fix for PR gdb/604.
20569
83c31e7d
FN
205702002-09-18 Fernando Nasser <fnasser@redhat.com>
20571
20572 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
20573 which explicitly prints the zero offset as "+0".
20574
322b3f65
DJ
205752002-10-22 Daniel Jacobowitz <drow@mvista.com>
20576
20577 * gdb.threads/schedlock.c (args): Make unsigned.
20578
205792002-10-21 Daniel Jacobowitz <drow@mvista.com>
20580
20581 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
20582 numbers. Allow "foo2|selected stack frame".
20583 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
20584 * gdb.asm/asmsrc2.s: Likewise.
20585 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
20586 comments.
20587 * gdb.asm/mips.inc: New file.
20588
5e2fe5b8
AF
205892002-10-18 Adam Fedor <fedor@gnu.org>
20590
20591 * gdb.base/default.exp: Update expected output to include 'ObjC'.
20592 * gdb.base/help.exp: Likewise.
20593
abe1a5d0
KB
205942002-10-17 Kevin Buettner <kevinb@redhat.com>
20595
20596 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
20597 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
20598
10abb1d4
JB
205992002-10-02 Jim Blandy <jimb@redhat.com>
20600
20601 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
20602
1f609b42
AC
206032002-10-01 Andrew Cagney <ac131313@redhat.com>
20604
20605 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
20606 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
20607 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
20608 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
20609 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
20610 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
20611 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
20612
0aee02e4
AC
206132002-09-29 Andrew Cagney <ac131313@redhat.com>
20614
20615 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
20616 * mi0-disassemble.exp, mi0-eval.exp: Delete.
20617 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
20618 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
20619 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
20620 * mi0-var-block.exp, mi0-var-child.exp: Delete.
20621 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 20622
6fde09ad
KB
206232002-09-27 Kevin Buettner <kevinb@redhat.com>
20624
20625 * gdb.base/annota1.exp (info break): Make directory components of
20626 path optional since not all compilers emit this debug information.
20627
889bf7c5
PA
20628 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
20629 step ends up stepping out of the function instead of stopping on
20630 the epilogue.
6fde09ad 20631
9e8aab75
KS
206322002-09-26 Keith Seitz <keiths@redhat.com>
20633
20634 * lib/insight-support.exp (gdbtk_start): Figure out where
20635 the insight executable is based on where gdb is. Use this
20636 executable to start insight instead of gdb.
20637
e36180d7
AC
206382002-09-25 Andrew Cagney <cagney@redhat.com>
20639
20640 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
20641
9dd34b2b
AC
206422002-09-24 Andrew Cagney <ac131313@redhat.com>
20643
20644 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
20645 test_isolated_complaints.
20646 (test_empty_complaint): New function.
20647 (test_empty_complaints): New function. Check no output when no
20648 complaints.
d63a86f8 20649
dea97812
KB
206502002-09-19 Jim Blandy <jimb@redhat.com>
20651
a9c64011 20652 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 20653
54951bd7
AC
206542002-09-19 Andrew Cagney <ac131313@redhat.com>
20655
20656 * gdb.gdb/complaints.exp: New file.
20657
dec43320
AC
206582002-09-18 Andrew Cagney <ac131313@redhat.com>
20659
20660 * gdb.base/maint.exp: Check `help maint internal-warning'.
20661
e70d6e3f
DC
206622002-09-18 David Carlton <carlton@math.stanford.edu>
20663
20664 * gdb.c++/m-static.exp: Remove breakpoints depending on line
20665 numbers, and replace them by a single breakpoint after the
20666 constructors are all finished.
20667 Add test 4.
20668 * gdb.c++/m-static.cc: Add test 4.
20669 * gdb.c++/m-static.h: New file.
20670 * gdb.c++/m-static1.cc: New file.
20671
20672 * gdb.c++/printmethod.exp: New file.
20673 * gdb.c++/printmethod.cc: New file.
20674
20675 * gdb.c++/pr-574.exp: New file.
20676 * gdb.c++/pr-574.cc: New file.
20677
afb5c968
CV
206782002-09-18 Corinna Vinschen <vinschen@redhat.com>
20679
20680 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
20681 embedded targets which never actually exit.
20682
31e45dee
FN
206832002-09-18 Fernando Nasser <fnasser@redhat.com>
20684
20685 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
20686 "don't step after run" as unresolved or unsupported, instead of xfail.
20687
a283c5a1
CV
206882002-09-18 Corinna Vinschen <vinschen@redhat.com>
20689
20690 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
20691 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
20692 Add newline to expected string in "step out of main (status wrapper)"
20693 case.
20694
11350d2a
CV
206952002-09-18 Corinna Vinschen <vinschen@redhat.com>
20696
20697 * lib/gdb.exp (rerun_to_main): Allow restarting application.
20698 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
20699
0deec7d6
TT
207002002-09-17 Tom Tromey <tromey@redhat.com>
20701
20702 * gdb.base/printcmds.exp (test_print_string_constants): Expect
20703 \000, not \0, in double-quoted string.
20704
b2b4a1b5
CV
207052002-09-14 Corinna Vinschen <vinschen@redhat.com>
20706
c9d37158 20707 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
20708 string after running the commands execution on breakpoint tests.
20709
1c56143a
CV
207102002-09-13 Corinna Vinschen <vinschen@redhat.com>
20711
20712 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
20713
37f8da45
JB
207142002-09-12 Joel Brobecker <brobecker@gnat.com>
20715
20716 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
20717
08b468e0
KS
207182002-09-10 Keith Seitz <keiths@redhat.com>
20719
20720 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
20721 runto proc.
20722 (mi_run_to_main): Use mi_runto.
20723 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
20724
dc360f58
KS
207252002-09-10 Keith Seitz <keiths@redhat.com>
20726
20727 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
20728 regexp for stopping at main. Could have multiple event notifications.
20729 Don't assume that main was declared with no parameters.
20730 (mi_next): Use mi_step_to.
20731 (mi_step): Use mi_next_to.
20732
ce3abcfb
CV
207332002-09-09 Corinna Vinschen <vinschen@redhat.com>
20734
20735 * gdb.base/default.exp: Fix expected string in `info float' test.
20736
d1f5b980
BE
207372002-09-09 Ben Elliston <bje@redhat.com>
20738
20739 * config/mips.exp: Update comments.
20740 * config/mips-idt.exp: Likewise.
20741 * config/nind.exp: Likewise.
20742 * config/slite.exp: Likewise.
20743 * config/sparclet.exp: Likewise.
20744 * config/udi.exp: Likewise.
20745 * config/vx.exp: Likewise.
20746 * config/vxworks29k.exp: Likewise.
20747
2f71430b
JB
207482002-09-05 Jim Blandy <jimb@redhat.com>
20749
20750 * gdb.threads/killed.exp: Fix test failure message.
20751
7ddebc7e
KS
207522002-09-04 Keith Seitz <keiths@redhat.com>
20753
20754 * lib/mi-support.exp: Update copyright.
20755 (mi_gdb_test): Increase the priority of the expected pattern
20756 so that it matches gdb_test.
20757
0ae67eb3
KS
207582002-09-03 Keith Seitz <keiths@redhat.com>
20759
20760 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
20761 Use integer comparison instead of string comparison for testing
20762 whether binary was built.
20763
38fc42c8
JB
207642002-09-03 Jim Blandy <jimb@redhat.com>
20765
20766 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
20767
b6ff0e81
JB
207682002-08-29 Jim Blandy <jimb@redhat.com>
20769
20770 * gdb.threads/pthreads.exp: Move the portable thread compilation
20771 code into a function in lib/gdb.exp, and call that from here.
20772 * lib/gdb.exp (gdb_compile_pthreads): New function.
20773
07c98896
KS
207742002-08-29 Keith Seitz <keiths@redhat.com>
20775
20776 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
20777 expect_out so that callers can get at it.
20778
0312286c
DJ
207792002-08-23 Daniel Jacobowitz <drow@mvista.com>
20780
20781 * gdb.threads/print-threads.c: New file.
20782 * gdb.threads/print-threads.exp: New file.
20783 * gdb.threads/schedlock.c: New file.
20784 * gdb.threads/schedlock.exp: New file.
20785
dd039bc4
EZ
207862002-08-22 Elena Zannoni <ezannoni@redhat.com>
20787
a9c64011
AS
20788 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
20789 not altivec.c.
dd039bc4 20790
1f36144c
MK
207912002-08-17 Mark Kettenis <kettenis@gnu.org>
20792
20793 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
20794 targets. The problem should be fixed now.
20795
16057ec7 207962002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
20797
20798 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
20799 2002-07-24 change that removes final dots from error messages.
20800
3c1499ad
TT
208012002-08-13 Tom Tromey <tromey@redhat.com>
20802
20803 * gdb.base/readline.exp: New file.
20804
a20ce2c3
AC
208052002-08-01 Andrew Cagney <ac131313@redhat.com>
20806
20807 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
20808 supress message.
20809
db034ac5
AC
208102002-08-01 Andrew Cagney <cagney@redhat.com>
20811
20812 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
20813 CHILL_FOR_TARGET and CHILL_LIB.
20814 * configure.in (configdirs): Remove gdb.chill.
20815 * configure: Regenerate.
20816 * lib/gdb.exp: Obsolete references to chill.
20817 * gdb.fortran/types.exp: Ditto.
20818 * gdb.fortran/exprs.exp: Ditto.
20819
3e000b18
KB
208202002-07-30 Kevin Buettner <kevinb@redhat.com>
20821
20822 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20823 set Irix-specific compile and link flags.
20824
28f4966b
KB
208252002-07-29 Kevin Buettner <kevinb@redhat.com>
20826
20827 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20828 source files. The ``-o'' option doesn't work with the ``-E'' option
20829 when using the Irix compiler.
20830
46c0d5a6
DJ
208312002-07-19 Daniel Jacobowitz <drow@mvista.com>
20832
20833 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20834 Improve support for reusing an exec file. Copy exec file
20835 to target, and run gdbserver on the target instead of on the host.
20836
eecf4bed
JB
208372002-07-18 Jim Blandy <jimb@redhat.com>
20838
0f815cdf
JB
20839 * gdb.base/ending-run.exp: Don't expect to see the program end in
20840 some orderly fashion when we're running on a real stand-alone
20841 board.
20842
eecf4bed
JB
20843 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20844 targets that don't support interrupts.
20845
52d309e4
JB
208462002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20847
20848 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20849 systems.
20850 Move comments in expect statements to inside the actions, so that they
20851 don't get matched against.
20852
ff683d9e
MK
208532002-07-10 Mark Kettenis <kettenis@gnu.org>
20854
20855 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20856 function when asleep" test.
20857
b5356753
AC
208582002-07-10 Andrew Cagney <ac131313@redhat.com>
20859
20860 * gdb.base/page.exp: Rewrite to handle problems with very long
20861 `info set' output. Update copyright.
20862
6aa4d13a
AC
208632002-06-26 Andrew Cagney <ac131313@redhat.com>
20864
20865 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20866 gdb.threads-hp.
20867 * gdb.hp/configure: Regenerate.
20868 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20869 * gdb.hp/gdb.threads-hp/configure: Delete file.
20870 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20871
8cf8c2b8
AC
208722002-06-22 Andrew Cagney <ac131313@redhat.com>
20873
20874 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20875 setlocale, bindtextdomain and textdomain.
20876
6827a8f8
JB
208772002-06-11 Jim Blandy <jimb@redhat.com>
20878
919d772c
JB
20879 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20880 preprocessor macro information is present.
20881
6827a8f8
JB
20882 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20883 tests.
20884
c15b0d21
MS
208852002-06-06 Michael Snyder <msnyder@redhat.com>
20886
c5984d70
MS
20887 * gdb.base/overlays.exp: Record addresses of overlay
20888 functions in TCL variables rather than in GDB variables,
20889 to avoid having GDB convert them to pointers (with loss
20890 of information).
20891
d63a86f8 20892 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 20893 default linker script changes.
c15b0d21
MS
20894 * gdb.base/long_long.exp: Add check for sizeof (long double).
20895
be26fe0d
ML
208962002-06-06 Michal Ludvig <mludvig@suse.cz>
20897
20898 * gdb.asm/asm-source.exp: Add x86-64 target.
20899 * gdb.asm/x86_64.inc: New.
d63a86f8 20900
258093ca 209012002-05-30 Michael Chastain <mec@shout.net>
258093ca 20902
4b3153f1 20903 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
20904 * gdb.c++/m-static.cc: New file.
20905 * gdb.c++/m-static.exp: New file.
20906
241264c6
MS
209072002-05-28 Michael Snyder <msnyder@redhat.com>
20908
20909 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20910 precision.
20911
9bba8c8f 209122002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 20913
4b3153f1 20914 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
20915 * gdb.c++/m-data.cc: New file.
20916 * gdb.c++/m-data.exp: New file.
20917
209182002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 20919
4b3153f1 20920 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 20921 * gdb.c++/try_catch.cc: New file.
d63a86f8 20922 * gdb.c++/try_catch.exp: New file.
9bba8c8f 20923
def1b996
MC
209242002-05-27 Michael Chastain <mec@shout.net>
20925
20926 * gdb.c++/local.exp: Accept more nested types in output.
20927
522ba268
MC
209282002-05-26 Michael Chastain <mec@shout.net>
20929
20930 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20931
277254ba
MS
209322002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20933
20934 * lib/gdb.exp (gdb_wrapper_init): Just because
20935 gdb_wrapper_file exists, this does not mean that the file
20936 should not be rebuilt. That is what gdb_wrapper_initialized
20937 is for.
20938 (default_gdb_init): Reset gdb_wrapper_initialized.
20939
b61a8733
MS
209402002-05-23 Michael Snyder <msnyder@redhat.com>
20941
d63a86f8 20942 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
20943 the precision of the floating point test results.
20944 * gdb.base/call-rt-st.exp: Ditto.
20945
b61a8733
MS
20946 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20947 * gdb.base/call-rt-st.exp: Ditto.
20948
56f6e910
MC
209492002-05-19 Michael Chastain <mec@shout.net>
20950
20951 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20952
ad0b0016
EZ
209532002-05-19 Elena Zannoni <ezannoni@redhat.com>
20954
a9c64011
AS
20955 * configure.in (configdirs): Add gdb.arch.
20956 * configure: Regenerate.
ad0b0016 20957
f617d2b6
JB
209582002-05-17 Jim Blandy <jimb@redhat.com>
20959
20960 * gdb.base/completion.exp: Recognize the more detailed error
20961 messages produced by the macro expander's lexical analyzer.
20962
eac2a696
EZ
209632002-05-14 Elena Zannoni <ezannoni@redhat.com>
20964
a9c64011
AS
20965 * gdb.arch/altivec-abi.c: New file.
20966 * gdb.arch/altivec-abi.exp: New file.
20967 * gdb.arch/altivec-regs.c: New file.
20968 * gdb.arch/altivec-regs.exp: New file.
eac2a696 20969
2fdde8f8
DJ
209702002-05-14 Daniel Jacobowitz <drow@mvista.com>
20971
20972 * gdb.base/maint.exp (maint print type): Update for new type
20973 structure.
d63a86f8 20974
e31f1a7c
EZ
209752002-05-14 Elena Zannoni <ezannoni@redhat.com>
20976
20977 * gdb.arch: New directory.
20978 * gdb.arch/configure.in: New file.
20979 * gdb.arch/configure: New file.
20980 * gdb.arch/Makefile.in: New file.
20981
db589741
CV
209822002-05-13 Corinna Vinschen <vinschen@redhat.com>
20983
20984 * gdb.asm/asm-source.exp: Add v850 as supported target.
20985 * gdb.asm/v850.inc: New file.
20986
8ce2a7dc
DJ
209872002-05-13 Daniel Jacobowitz <drow@mvista.com>
20988
20989 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20990
df763c7f
DJ
209912002-05-12 Daniel Jacobowitz <drow@mvista.com>
20992
20993 * gdb.base/break.exp: Check 'break "marker2"'.
20994
377daeed
MS
209952002-05-10 Michael Snyder <msnyder@redhat.com>
20996
20997 * gdb.base/long_long.exp: Fix typo.
20998
c4b7bc2b
JB
209992002-05-10 Jim Blandy <jimb@redhat.com>
21000
ecac9a4e
JB
21001 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
21002 a bug.
21003
c4b7bc2b
JB
21004 * gdb.base/printcmds.exp (test_integer_literals_rejected):
21005 Recognize more detailed error message produced by the macro
21006 expander's lexical analyzer.
21007 * lib/gdb.exp (test_print_reject): Same.
21008
e71019a1
MK
210092002-05-09 Mark Kettenis <kettenis@gnu.org>
21010
21011 * gdb.c++/method.exp: Fix typo.
21012
fedfc8e6
MS
210132002-05-08 Michael Snyder <msnyder@redhat.com>
21014
166a1957
MS
21015 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
21016 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 21017 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
21018 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
21019 Add iftarget clause for strongarm.
d63a86f8 21020
f1c47eb2
MS
210212002-05-06 Michael Snyder <msnyder@redhat.com>
21022
cb9a9d3e
MS
21023 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
21024 (gdb_continue_to_end): Accept output from status wrapper.
21025 * gdb.base/ending-run.exp: Add case for output from status wrapper.
21026 Clean up fail messages to match pass messages.
21027
f1c47eb2
MS
21028 Enable the "needs_status_wrapper" testsuite feature.
21029 * lib/gdb.exp (gdb_wrapper_init): New procedure.
21030 (gdb_compile): Conditionally call gdb_wrapper_init.
21031 * gdb.base/a2-run.exp: Recognize output from status wrapper.
21032 * gdb.c++/method.exp: Recognize output from status wrapper.
21033
6079c749
BE
210342002-05-06 Ben Elliston <bje@redhat.com>
21035From Graydon Hoare <graydon@redhat.com>
21036
21037 * config/sid.exp: Include support for "rawsid" protocol.
21038
188baff3
JB
210392002-05-03 Jim Blandy <jimb@redhat.com>
21040
21041 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
21042 * gdb.c++/hang3.C: New file.
21043
b9c07f0f
AC
210442002-05-04 Andrew Cagney <ac131313@redhat.com>
21045
21046 * gdb.base/default.exp: Remove obsolete code.
21047 * gdb.c++/misc.exp: Ditto. Update copyright.
21048 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
21049 * gdb.base/whatis.exp: Ditto. Update copyright.
21050 * gdb.base/scope.exp: Ditto. Update copyright.
21051 * gdb.base/ptype.exp: Ditto. Update copyright.
21052 * gdb.base/printcmds.exp: Ditto. Update copyright.
21053 * gdb.base/opaque.exp: Ditto. Update copyright.
21054 * gdb.base/list.exp: Ditto.
21055 * gdb.base/funcargs.exp: Ditto. Update copyright.
21056 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
21057 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
21058 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
21059 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
21060 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
21061 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
21062
5c7a0397
MS
210632002-05-02 Michael Snyder <msnyder@redhat.com>
21064
d6dcc264 21065 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
21066 * gdb.base/long_long.exp: Add xscale target.
21067 * gdb.base/default.exp: Add xscale target.
21068
eb7f1c48
JB
210692002-05-01 Jim Blandy <jimb@redhat.com>
21070
21071 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
21072 gdb.c++/hang.exp: New test.
21073
a6befae8
FF
210742002-05-01 Fred Fish <fnf@redhat.com>
21075
21076 * gdb.base/completion.exp: Handle completions of "./Make" for
21077 more than one completion possibility, as is the case when we
21078 build and test in the source tree.
21079
0a310277
AG
210802002-04-29 Anthony Green <green@redhat.com>
21081
21082 * gdb.java/jmisc1.exp: New file.
21083 * gdb.java/jmisc2.exp: New file.
21084
6ff9af88
DJ
210852002-04-24 Daniel Jacobowitz <drow@mvista.com>
21086
21087 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
21088
96b3d632
EZ
210892002-04-23 Elena Zannoni <ezannoni@redhat.com>
21090
21091 * gdb.base/help.exp: Change 'help status' to allow for target
21092 dependent output differences.
21093
5019bb54
MC
210942002-04-22 Michael Chastain <mec@shout.net>
21095
21096 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
21097
a805a116
MC
210982002-04-22 Michael Chastain <mec@shout.net>
21099
21100 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
21101
a1706bfd
DM
211022002-04-17 David S. Miller <davem@redhat.com>
21103
21104 * gdb.asm/sparc64.inc: New file.
21105 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
21106
a73a20a2
EZ
211072002-04-19 Elena Zannoni <ezannoni@redhat.com>
21108
21109 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
21110 instruction file directly into the build tree. Clean up at end of
21111 test.
21112
ba678339
DM
211132002-04-18 David S. Miller <davem@redhat.com>
21114
21115 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
21116 handle 64-bit platforms correctly.
21117 * gdb.base/maint.exp: Likewise.
21118
b03399da
KB
211192002-04-18 Kevin Buettner <kevinb@redhat.com>
21120
21121 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
21122 ``-fpic'' when compiling files comprising a shared library, but
21123 it does need additional linker flags in order to find shared
21124 libraries at run time.
21125
e2004992
KB
211262002-04-18 Kevin Buettner <kevinb@redhat.com>
21127
21128 * gdb.base/cvexpr.c (use): New function.
21129 (main): Invoke use() on all global variables to prevent
21130 some linkers from deleting these otherwise unused symbols.
21131
d8937120
MC
211322002-04-17 Michael Chastain <mec@shout.net>
21133From David S. Miller <davem@redhat.com>
21134
21135 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
21136 handle 64-bit platforms correctly.
21137
ffd61a58
MS
211382002-04-12 Michael Snyder <msnyder@redhat.com>
21139From Jim Blandy <jimb@redhat.com>
a9c64011 21140 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
21141 script can handle this instead.
21142 * gdb.base/bar.c (barx): Same.
21143 * gdb.base/baz.c (bazx): Same.
21144 * gdb.base/grbx.c (grbxx): Same.
21145
21146 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
21147 manager doesn't automatically unmap overlays unnecessarily.
21148
6b8426a6
MH
211492002-04-10 Martin M. Hunt <hunt@redhat.com>
21150
21151 * gdb.base/ending-run.exp: Fix pattern for Mips targets
21152 stepping out of main.
21153
34af4875
MC
211542002-04-09 Michael Chastain <mec@shout.net>
21155
21156 * gdb.c++/local.cc (main): Move call to marker1() inside nested
21157 scope so that the nested scope tests will make sense.
21158 * gdb.c++/local.exp: Write patterns that actually work with gcc
21159 (the HP patterns "were never known to work with gcc").
21160 Keep the old aCC patterns too.
21161
2d1676a0
DJ
211622002-04-09 Daniel Jacobowitz <drow@mvista.com>
21163
21164 * gdb.base/attach.exp: Correct target board test.
21165
3a63e3f9
MC
211662002-04-08 Michael Chastain <mec@shout.net>
21167
21168 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
21169 in a const method. Add some xfail and fail cases for configurations
21170 that do not emit the "const ...".
21171
f18dabd2
MC
211722002-04-07 Michael Chastain <mec@shout.net>
21173
21174 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
21175 Accept "A * const" and "const A * const" as type of "this".
21176 Fix spelling of getFunky throughout. Make messages uniform.
21177
0fcddd82
EZ
211782002-04-07 Elena Zannoni <ezannoni@redhat.com>
21179
a9c64011 21180 Work around for PR gdb/285:
0fcddd82
EZ
21181 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
21182
16a8534a
EZ
211832002-04-07 Elena Zannoni <ezannoni@redhat.com>
21184
21185 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
21186 instructions file at run time instead of configure time.
21187 Sometimes we run the test in a directory that is not the one we
21188 configured in.
21189 * gdb.asm/configure.in: Delete creation of symlink.
21190 * gdb.asm/configure: Regenerate.
21191
24181d81
JB
211922002-04-05 J. Brobecker <brobecker@gnat.com>
21193
21194 * gdb.gdb/xfullpath.exp: New test, to exercise the new
21195 xfullpath () function.
21196
7cdb7107
DJ
211972002-04-04 Daniel Jacobowitz <drow@mvista.com>
21198
21199 * gdb.asm/Makefile.in: Correct dependencies.
21200
21201 * gdb.asm/powerpc.inc: New file.
21202 * gdb.asm/asm-source.exp: Add PowerPC.
21203 * gdb.asm/configure.in: Likewise.
21204 * gdb.asm/configure: Regenerated.
21205
a7d17088
DJ
212062002-04-04 Daniel Jacobowitz <drow@mvista.com>
21207
21208 * gdb.base/relocate.exp: New file.
21209 * gdb.base/relocate.c: New file.
21210
cd721503
FF
212112002-04-04 Fred Fish <fnf@redhat.com>
21212
21213 * gdb.base/step-test.exp: Update comment regarding stopping in
21214 memcpy/bcopy calls inserted as part of the compiler runtime.
21215
b22ad7a7
MS
212162002-04-04 Michael Snyder <msnyder@redhat.com>
21217
21218 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
21219
5f279fa6
DJ
212202002-04-03 Daniel Jacobowitz <drow@mvista.com>
21221
21222 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
21223 (gdb_expect): Remove $notransfer hack.
21224
dd0fd3ce
DJ
212252002-04-02 Daniel Jacobowitz <drow@mvista.com>
21226
21227 * gdb.c++/classes.exp ("calling method for small class"): Match
21228 updated register output.
21229
1e50cda1
DJ
212302002-03-30 Daniel Jacobowitz <drow@mvista.com>
21231
21232 Fix PR gdb/452
21233 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
21234 when finished. Make gdb_file_cmd send "exec-file" when
21235 appropriate.
21236
24015922
DJ
212372002-03-30 Daniel Jacobowitz <drow@mvista.com>
21238
21239 * gdb.base/attach.exp: Remove extra setup_xfail.
21240
dd7dfd64
MS
212412002-03-26 Michael Snyder <msnyder@redhat.com>
21242
21243 * gdb.base/default.exp: Add tests for dump, append, and restore.
21244 * gdb.base/help.exp: Add tests for dump, append, and restore.
21245 * gdb.base/dump.exp: New file, test dump, append and restore.
21246 * gdb.base/dump.c: New file.
21247
48b2f8d7
MS
212482002-03-27 Michael Snyder <msnyder@redhat.com>
21249
d63a86f8 21250 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
21251 clean-ups in help messages.
21252
05b4d525
FF
212532002-03-26 Fred Fish <fnf@redhat.com>
21254
21255 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
21256 have debugging info for those functions and the compiler uses them
21257 internally to copy structs around.
21258
d7679631
FF
212592002-03-26 Fred Fish <fnf@redhat.com>
21260
21261 * gdb.base/list.exp: Revert the change made yesterday and add note
21262 about why we don't list the default lines for remote targets.
21263
523ac3f9
MS
212642002-03-25 Michael Snyder <msnyder@redhat.com>
21265
21266 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
21267
754b2b8d
FF
212682002-03-25 Fred Fish <fnf@redhat.com>
21269
21270 * gdb.base/list.exp: This test works on remote targets so remove
21271 the short circuit for remote targets. Update copyright.
21272
33c3e192
FF
212732002-03-25 Fred Fish <fnf@redhat.com>
21274
21275 * gdb.base/attach.exp: Fix logic error that was suppressing this
21276 test for all non hppa*-*-hpux* targets, instead of the hp target.
21277 Move comments closer to the suppression point. Also now need to
21278 check that we are running natively.
21279
d43e73ee
MS
212802002-03-22 Michael Snyder <msnyder@redhat.com>
21281
882c8f02
MS
21282 * gdb.base/default.exp: Add test for gcore. Update copyright.
21283 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 21284
04c12f60
FF
212852002-03-06 Fred Fish <fnf@redhat.com>
21286
21287 * gdb.base/funcargs.c: Remove extraneous ';' character.
21288 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
21289
b43df995
MC
212902002-03-04 Michael Chastain <mec@shout.net>
21291
21292 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
21293 accommodate gcc v3 function signature.
21294 * gdb.mi/mi0-var-cmd-exp: Ditto.
21295
92362027
AC
212962002-02-24 Andrew Cagney <ac131313@redhat.com>
21297
21298 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
21299 ``GNU/Linux'' or ``Linux kernel''
21300 * testsuite/gdb.threads/pthreads.c: Ditto.
21301
258ad32d
MC
213022002-02-24 Michael Chastain <mec@shout.net>
21303
21304 * gdb.threads/pthreads.c (thread1): Add a return statement.
21305 (thread2): Likewise.
21306 (foo): Likewise.
21307
04c3b3d4
MC
213082002-02-23 Michael Chastain <mec@shout.net>
21309
21310 * gdb.threads/linux-dp.c (philosopher): Add a return statement
21311 to placate gcc.
21312
5a2a0a20
MC
213132002-02-23 Michael Chastain <mec@shout.net>
21314
21315 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
21316 test "ptype bint". The test passes on all my stabs configurations.
21317
a640f7fc
JB
213182002-02-21 Jim Blandy <jimb@redhat.com>
21319
27924826
JB
21320 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
21321 filename at a time, and watch for the ones we want to see.
21322
a640f7fc
JB
21323 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
21324 types of pointers to prototyped functions.
21325
edcc8c75
AC
213262002-02-20 Andrew Cagney <ac131313@redhat.com>
21327
21328 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
21329 signed, unsigned and straight char.
21330 (padding_char, padding_short, padding_int, padding_long,
21331 padding_long_long, padding_float, padding_double,
21332 padding_long_double): New global variables.
21333 (fill, fill_structs): New functions.
21334
21335 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
21336 for correctly sized writes. Update copyright.
21337 (get_valueof): New procedure.
21338 (get_sizeof): Call get_valueof.
21339 (check_valueof): New procedure.
21340 (check_padding): New procedure.
21341
ac57ea44
MC
213422002-02-20 Michael Chastain <mec@shout.net>
21343
21344 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
21345 to setup_xfail. Document some of the remaining calls.
21346
7a10c941
MC
213472002-02-18 Michael Chastain <mec@shout.net>
21348
21349 * gdb.c++/userdef.exp: Update copyright year.
21350
fb8acdcc
DJ
213512002-02-18 Daniel Jacobowitz <drow@mvista.com>
21352
21353 * gdb.c++/userdef.exp: Test overloaded operators properly.
21354 Remove xfails.
21355
fda6ae12
MS
213562002-02-14 Michael Snyder <msnyder@redhat.com>
21357
21358 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
21359
676a0442
DJ
213602002-02-14 Daniel Jacobowitz <drow@mvista.com>
21361
21362 * gdb.base/a2-run.exp: Check for a remote target properly.
21363 * gdb.base/annota1.exp: Likewise.
21364 * gdb.base/list.exp: Likewise.
21365 * gdb.base/reread.exp: Likewise.
21366 * gdb.base/scope.exp: Likewise.
21367 * gdb.base/shlib-call.exp: Likewise.
21368 * gdb.base/term.exp: Likewise.
21369 * gdb.c++/annota2.exp: Likewise.
21370
78b4f468
RE
213712002-02-13 Richard Earnshaw <rearnsha@arm.com>
21372
21373 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
21374
9a81ba51
MC
213752002-02-10 Michael Chastain <mec@shout.net>
21376
21377 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
21378 (call_after_alloca): Ditto.
21379
004af6c7
DJ
213802002-02-10 Daniel Jacobowitz <drow@mvista.com>
21381
21382 * gdb.base/ending-run.exp: Guard "cont" test with
21383 gdb_skip_stdio_test.
21384
37225f62
JB
213852002-02-06 Jim Blandy <jimb@redhat.com>
21386
21387 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
21388 from here...
21389 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
21390 To here. Disable this test on non-HP platforms. Add big comment.
21391
fe6fdd96
MS
213922002-02-04 Michael Snyder <msnyder@redhat.com>
21393
21394 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
21395 other than d10v and m32r.
21396
036fad3f
RE
213972002-02-02 Richard Earnshaw <rearnsha@arm.com>
21398
21399 * gdb.base/default.exp: Rewrite test patterns to reduce time
21400 taken to match them.
21401
7148ab62
DJ
214022002-01-30 Daniel Jacobowitz <drow@mvista.com>
21403
21404 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
21405 Allow a start function above main.
21406 * gdb.threads/linux-dp.exp: Fix copyright date.
21407
396cc255
DJ
214082002-01-30 Daniel Jacobowitz <drow@mvista.com>
21409
a9c64011
AS
21410 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
21411 (check_philosopher_stack): Check for manager thread before checking
21412 for a just-starting thread.
396cc255 21413
f038d31b
DJ
214142002-01-30 Daniel Jacobowitz <drow@mvista.com>
21415
21416 From Neil Booth <neil@daikokuya.demon.co.uk>:
21417 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
21418 warnings.
21419
b3ff9d9a
FF
214202002-01-21 Fred Fish <fnf@redhat.com>
21421
21422 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
21423 not caller.
21424
39ad761d
JB
214252002-01-21 Jim Blandy <jimb@redhat.com>
21426
21427 * gdb.base/reread.exp: Check that GDB properly re-reads the
21428 executable file when it changes while no inferior is running.
21429
aaf320fa
FF
214302002-01-21 Fred Fish <fnf@redhat.com>
21431
a9c64011
AS
21432 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
21433 optionally accept the "shlib events" variation.
aaf320fa 21434
808a31f5
JB
214352002-01-21 Jim Blandy <jimb@redhat.com>
21436
21437 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
21438 call `fflush' after every `printf', so that the output is produced
21439 at predictable points, regardless of whatever buffering does (or
21440 doesn't) take place.
21441 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
21442 at different points.
21443
4420d5e2
DJ
214442002-01-20 Daniel Jacobowitz <drow@mvista.com>
21445
21446 * gdb.c++/inherit.exp: Update copyright years.
21447 * gdb.c++/method.exp: Likewise.
21448
3e36a0f4
DJ
214492002-01-20 Daniel Jacobowitz <drow@mvista.com>
21450
21451 * gdb.c++/classes.exp: Update for improved v3 support and skipping
21452 artificial methods/arguments.
21453 * gdb.c++/derivation.exp: Likewise.
21454 * gdb.c++/inherit.exp: Likewise.
21455 * gdb.c++/method.exp: Likewise.
21456 * gdb.c++/virtfunc.exp: Likewise.
21457
b4ceaee6
AC
214582002-01-18 Andrew Cagney <ac131313@redhat.com>
21459
21460 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
21461 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
21462 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
21463 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
21464 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
21465 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
21466
ecace851
JB
214672002-01-17 Jim Blandy <jimb@redhat.com>
21468
21469 * gdb.asm/asm-source.exp (info symbol): Take another shot at
21470 anchoring the pattern matching the entry point symbol's name.
21471
375fc983
AC
214722002-01-17 Andrew Cagney <ac131313@redhat.com>
21473
21474 * gdb.base/maint.exp: Update ``maint internal-error'' to match
21475 continue/quit query. Update copyright.
21476
fe6fdd96
MS
214772002-01-14 Michael Snyder <msnyder@redhat.com>
21478
21479 * gdb.base/gcore.exp: Remove extra debugging output.
21480
e017c81f
DJ
214812002-01-13 Daniel Jacobowitz <drow@mvista.com>
21482
21483 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
21484 for slightly dubious v2 mangled string.
21485
37ab3bf8
DJ
214862002-01-13 Daniel Jacobowitz <drow@mvista.com>
21487
21488 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
21489
1bc05c3a 214902002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 21491
1bc05c3a 21492 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 21493
1bc05c3a
JM
21494 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
21495 constructors.
21496 * gdb.c++/derivation.exp: Likewise.
21497 * gdb.c++/templates.exp: Likewise.
21498 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 21499
1bc05c3a
JM
215002002-01-10 Michael Snyder <msnyder@redhat.com>
21501
21502 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 21503
a911c360
MS
215042002-01-08 Michael Snyder <msnyder@redhat.com>
21505
21506 * gdb.base/gcore.exp: New test for generate-core-file command.
21507 * gdb.base/gcore.c: Testcase for above.
21508 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
21509
ea2119ec
JM
215102002-01-08 Jason Merrill <jason@redhat.com>
21511
21512 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
21513
68203136
FF
215142002-01-07 Fred Fish <fnf@redhat.com>
21515
21516 * gdb.c++/overload.exp: Remove unconditional xfails for:
21517 print foo_instance1.overloadargs(1)
21518 print foo_instance1.overloadargs(1, 2)
21519 print foo_instance1.overloadargs(1, 2, 3)
21520 print foo_instance1.overloadargs(1, 2, 3, 4)
21521 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
21522 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
21523 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
21524 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
21525 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
21526 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
21527 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
21528 print foo_instance1.overload1arg()
21529 print foo_instance1.overload1arg((char)arg2)
21530 print foo_instance1.overload1arg((signed char)arg3)
21531 print foo_instance1.overload1arg((unsigned char)arg4)
21532 print foo_instance1.overload1arg((int)arg7)
21533 print foo_instance1.overload1arg((unsigned int)arg8)
21534 print foo_instance1.overload1arg((float)arg11)
21535 print foo_instance1.overload1arg((double)arg12)
d63a86f8 21536
21b9b5b1
MS
215372002-01-07 Michael Snyder <msnyder@redhat.com>
21538
21539 * gdb.base/huge.exp: New test. Print a very large target data object.
21540 (skip_huge_test): New test variable. Define if you want to skip this
21541 test. The test reads an 8 megabyte data object from the target, so it
21542 might be very time consuming on remote targets with a slow connection.
21543 * gdb.base/huge.c: New file. Test case for above.
21544
725f922e
FF
215452002-01-07 Fred Fish <fnf@redhat.com>
21546
21547 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
21548 g_instance.bfoo, and g_instance.cfoo.
21549
889bf7c5 215502002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 21551
889bf7c5
PA
21552 * gdb.base/break.c (multi_line_if_conditional): New function.
21553 (multi_ilne_while_conditional): Likewise.
21554 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
21555 IF or WHILE condition puts the breakpoint at the start of
21556 the condition.
f286b2c3 21557
634d57ec
JL
21558 * gdb.base/selftest.exp (backtrace through signal handler): Remove
21559 hppa*-*-hpux* expected failure.
21560 * gdb.base/structs.exp (do_function_calls): Similarly.
21561
21562 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
21563 watchpoints.
21564
9fbfe2dc
AC
215652002-01-06 Andrew Cagney <ac131313@redhat.com>
21566
21567 Fix PR gdb/66.
21568 * gdb.base/structs.exp: Replace skip for a29k with skip for
21569 gdb,cannot_call_functions.
21570 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
21571 * gdb.base/callfuncs.exp: Ditto.
21572 * gdb.base/call-rt-st.exp: Ditto.
21573 * gdb.base/call-strs.exp: Ditto.
21574 * gdb.base/callfwmall.exp: Ditto.
21575 * gdb.base/scope.exp: Obsolete xfail a29k.
21576 * gdb.c++/misc.exp: Ditto.
21577 * gdb.c++/cplusfuncs.exp: Ditto.
21578 * gdb.base/ptype.exp: Ditto.
21579 * gdb.base/printcmds.exp: Ditto.
21580 * gdb.base/opaque.exp: Ditto.
21581 * gdb.base/list.exp: Ditto.
21582 * gdb.base/funcargs.exp: Ditto.
21583 * gdb.base/default.exp: Ditto.
21584
8ddad156
MS
215852002-01-04 Michael Snyder <msnyder@redhat.com>
21586
ca4976a6 21587 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
21588 * gdb.base/maint.exp: Add tests for maint info sections options.
21589
1b074332
JL
21590Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
21591
21592 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
21593
7d159115
CV
215942001-12-20 Corinna Vinschen <vinschen@redhat.com>
21595
21596 * gdb.asm/arm.inc: New file.
21597 * gdb.asm/asm-source.exp: Add arm targets.
21598 * gdb.asm/configure.in: Ditto.
21599 * gdb.asm/configure: Recreated from configure.in.
21600
8fb87725
JL
21601Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
21602
afabe08c
JL
21603 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
21604 with HP's compiler.
21605 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
21606 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
21607 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
21608 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
21609
21610 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
21611 either HP's compilers or GCC.
21612
db521deb
JL
21613 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
21614 a SIGBUS or SIGSEGV.
21615
21616 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
21617
21618 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
21619 can be compiled with either HP's compiler or GCC.
21620
cfa88ab7
JL
21621 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
21622 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
21623 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
21624
ca344dff
JL
21625 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
21626 to match current gdb output. Update due to using auto-solib-limit
21627 for limiting instead of overloading auto-solib-add.
21628 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
21629 test program.
21630
3f3c6e55 21631 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
21632 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
21633 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
21634 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
21635 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
21636 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
21637 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
21638 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
21639 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
21640 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
21641 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
21642 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
21643 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 21644
8fb87725
JL
21645 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
21646 a SIGTRAP to the inferior.
21647
cf599fa7
CV
216482001-12-19 Corinna Vinschen <vinschen@redhat.com>
21649
21650 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
21651 Substitute call to target_link by call to gdb_compile.
21652
2cd045cd
JL
21653Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
21654
a9c64011
AS
21655 * gdb.base/break.exp: Fix HP specific search string when testing
21656 backtracing in a called function.
2cd045cd 21657
a9c64011
AS
21658 * gdb.base/constvars.exp: Only set lang to C++ if we're
21659 compiling the test with HP's compilers.
21660 * gdb.base/volatile.exp: Similarly.
2cd045cd 21661
99ebe9ac
JB
216622001-12-19 Jim Blandy <jimb@redhat.com>
21663
21664 * gdb.base/printcmds.exp: Expect the null character to be printed
21665 as '\0', and the '\013' to be printed as '\v'.
21666 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
21667 * gdb.base/setvar.exp: Same.
21668
b9891b29
JB
216692001-12-17 Jim Blandy <jimb@redhat.com>
21670
0eba65ab
JB
21671 * gdb.base/completion.exp: Rather than completing very long
21672 filenames, which can make the readline library produce output we
21673 don't recognize, cd to the directory first, and then complete
21674 using nice, short relative paths.
21675
6970b5b1
JB
21676 * gdb.base/completion.exp: On some systems, there is, in fact, a
21677 variable named `b' in scope, since GDB treats all static
a9c64011
AS
21678 variables as being in scope. So use `no_var_named_this'
21679 instead of `b'.
6970b5b1 21680
b9891b29 21681 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 21682 can't find the core file's registers as a failure.
b9891b29 21683
e6ccd35f
JSC
216842001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
21685
a9c64011
AS
21686 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
21687 test expect string more specific.
e6ccd35f 21688
105ba819
CV
216892001-12-13 Corinna Vinschen <vinschen@redhat.com>
21690
21691 * gdb.asm/asm-source.exp: Add support for xstormy16.
21692 * gdb.asm/configure.in: Ditto.
21693 * gdb.asm/configure: Rebuild.
21694 * gdb.asm/xstormy16.inc: New file.
21695
e9e79dd9
FF
216962001-12-10 Fred Fish <fnf@redhat.com>
21697
21698 * gdb.base/maint.exp: Update to match changes in type dumping code.
21699
347dc97d
JB
217002001-12-10 Jim Blandy <jimb@redhat.com>
21701
21702 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
21703 matching the entry point symbol's name at the beginning of the
21704 line.
347dc97d 21705
5178b9d6
DJ
217062001-12-07 Daniel Jacobowitz <drow@mvista.com>
21707
21708 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
21709 gdb.c++/inherit.exp, gdb.c++/method.exp,
21710 gdb.c++/namespace.exp, gdb.c++/templates.exp,
21711 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
21712 and class layout support.
21713
af890c52
DJ
217142001-12-07 Daniel Jacobowitz <drow@mvista.com>
21715
21716 * gdb.c++/classes.exp: Add test for static member function.
21717 * gdb.c++/misc.cc: Add class with static member function.
21718
7a345fb3
JB
217192001-12-07 Jim Blandy <jimb@redhat.com>
21720
f2e54a80 21721 If GDB says it can't find the struct the function returned, report
8032bf31
JB
21722 those tests as `unsupported'.
21723 * gdb.base/call-rt-st.exp (print_struct_call): New function.
21724 Rewrite subsequent tests to use it.
21725
21726 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
21727 those tests as `unsupported'.
21728 * gdb.base/structs.exp (call_struct_func): New function.
21729 (do_function_calls): Use call_struct_func to call the functions
21730 returning structs.
21731
0bc69509
JB
21732 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
21733 whether functions are prototyped or not, so we can't possibly pass
21734 arguments to t_float_values2 properly.
21735
7a345fb3
JB
21736 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
21737 value of `timeout' for targets other than the mips*tx39-*.
21738
edb6ede1
MS
217392001-12-06 Michael Snyder <msnyder@redhat.com>
21740
d63a86f8 21741 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
21742 and detect whether the start symbol has a leading underscore.
21743
2d842f13
JB
217442001-12-04 Jim Blandy <jimb@redhat.com>
21745
21746 * gdb.base/completion.exp: Clarify indentation.
21747
68550daf
JB
217482001-12-03 Jim Blandy <jimb@redhat.com>
21749
21750 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
21751 variables on the S/390, not `.word'.
21752
cd5195a8
JB
217532001-11-30 Jim Blandy <jimb@redhat.com>
21754
21755 Add assembly-source tests for s390-ibm-linux.
21756 * gdb.asm/s390.inc: New file.
21757 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
21758 the S/390 architecture.
a9c64011 21759 * gdb.asm/configure: Regenerated.
cd5195a8 21760
ca9efc90
MS
217612001-11-30 Michael Snyder <msnyder@redhat.com>
21762
21763 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
21764 next, info source, info sources, info line, global and static
21765 variables, and static functions.
21766 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
21767 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
21768 * gdb.asm/asmsrc1.s: Add a static function and some variables.
21769 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
21770 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
21771 (gdbasm_leave): Restore frame pointer.
21772 (gdbasm_startup): Copy stack set-up from crt0.S.
21773
d0e66976
FN
217742001-11-26 Fernando Nasser <fnasser@redhat.com>
21775
21776 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
21777 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
21778 to a local (non-static) variable. Copy tstruct.a to a static buffer
21779 and return a pointer to that buffer.
21780 * gdb.base/callfwmall.c (t_structs_a): Ditto.
21781
e2334072
MK
217822001-11-24 Mark Kettenis <kettenis@gnu.org>
21783
21784 * gdb.asm/configure.in: Fix recognition of ix86 target.
21785 * gdb.asm/configure: Regenerate.
21786
756caa3d
MS
217872001-11-21 Michael Snyder <msnyder@redhat.com>
21788
21789 * gdb.asm/sparc.inc: New file.
21790 * gdb.asm/asm-source.exp: Recognize sparc target.
21791 * gdb.asm/configure.in: Recognize sparc target.
21792 * gdb.asm/configure: Regenerate.
d63a86f8 21793
9a4d72d5
MS
217942001-11-21 Michael Snyder <msnyder@redhat.com>
21795
21796 * gdb.asm/m32r.inc: New file.
21797 * gdb.asm/asm-source.exp: Recognize m32r target.
21798 * gdb.asm/configure.in: Recognize m32r target.
21799 * gdb.asm/configure: Regenerate.
21800
a773d1cd
MS
218012001-11-20 Michael Snyder <msnyder@redhat.com>
21802
017ac23d
MS
21803 * gdb.asm/i386.inc: New file.
21804 * gdb.asm/asm-source.exp: Recognize ix86 target.
21805 * gdb.asm/configure.in: Recognize ix86 target.
21806 * gdb.asm/configure: Regenerate.
21807
a773d1cd
MS
21808 * gdb.c++/namespace.exp: Fix quotes in output messages.
21809
bb632afb
MS
218102001-11-14 Michael Snyder <msnyder@redhat.com>
21811
25d559ca 21812 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
21813 qualifier in a type cast expression, to designate an address
21814 in the instruction space (Harvard architecture).
21815
4749e309
MS
218162001-11-13 Michael Snyder <msnyder@redhat.com>
21817
21818 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21819 Tests for expressions using 'const' and 'volatile'.
21820
25050984
CV
218212001-11-13 Corinna Vinschen <vinschen@redhat.com>
21822
21823 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21824
1902c51f
DJ
218252001-11-12 Daniel Jacobowitz <drow@mvista.com>
21826
21827 * lib/mi-support.exp (mi_run_to_helper): Move comments
21828 outside of gdb_expect.
21829
dcf95b47
DJ
218302001-11-11 Daniel Jacobowitz <drow@mvista.com>
21831
21832 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21833 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21834 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21835 mi0_run_to): New functions.
21836 * gdb.mi/mi-simplerun.exp: Use them.
21837 * gdb.mi/mi0-simplerun.exp: Likewise.
21838 * gdb.mi/mi-var-cmd.exp: Likewise.
21839 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 21840
45b074e1
AC
218412001-11-10 Andrew Cagney <ac131313@redhat.com>
21842
21843 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21844 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21845
bf50d346
AC
218462001-11-09 Andrew Cagney <ac131313@redhat.com>
21847
21848 * gdb.base/restore.exp: Include $expected value in restored test
21849 message.
21850
9383332c
AC
218512001-11-09 Andrew Cagney <ac131313@redhat.com>
21852
21853 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21854 implemented.
21855
db62520a
MS
218562001-11-08 Michael Snyder <msnyder@redhat.com>
21857
21858 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21859 Add pass/fail message for stop at breakpoint in call dummy function.
21860
b5703437
MS
218612001-11-07 Michael Snyder <msnyder@redhat.com>
21862
d63a86f8
RM
21863 * gdb.c++/templates.exp (test_template_breakpoints):
21864 If we get an overload menu, but it does not match what
760f6330 21865 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
21866 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21867 making the whitespace optional. Argument for "new" may be
21868 "unsigned" as well as "unsigned int/long".
d63a86f8 21869 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
21870 making the whitespace optional. Also replace "(void) with
21871 "((void|)), making the keyword "void" optional.
d63a86f8 21872 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
21873 making the whitespace optional. Also replace "(void) with
21874 "((void|)), making the keyword "void" optional.
3bf40917
MS
21875 * gdb.base/callfuncs.c (t_float_values): This function must
21876 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 21877 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
21878 can be tested against both cases. Usually one case involves
21879 promotion of float to double, while the other does not.
21880 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
21881 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21882 includes a stack frame for "start".
21883
c8ab4e6d
JB
218842001-11-05 Jim Blandy <jimb@redhat.com>
21885
21886 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21887 pointers are 32 bits long, and that offsets of relocs are always
21888 stored in the data (REL-style), and not in the reloc entry itself
21889 (RELA-style).
21890 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21891 stabs.
21892
3f08ced9
MS
218932001-11-01 Michael Snyder <msnyder@redhat.com>
21894
21895 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21896 and regular expression operators by using quoting.
21897
cbfa24cd
MS
218982001-10-31 Michael Snyder <msnyder@redhat.com>
21899
21900 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21901 depending on what the symbol table contains.
21902 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21903 the output of the ptype command. Similarly, accept both "const &"
21904 and "const&".
21905
aaa68313
CV
219062001-10-31 Corinna Vinschen <vinschen@redhat.com>
21907
21908 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21909 symbol `STORAGE' to allow to choose the storage class of
21910 the local datastructures.
21911 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21912 compiler directive.
21913
91740388
MS
219142001-10-30 Michael Snyder <msnyder@redhat.com>
21915
21916 * gdb.base/jump.exp: Allow it to run for all targets.
21917
1b7c05e7
CV
219182001-10-29 Corinna Vinschen <vinschen@redhat.com>
21919
21920 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21921 with new double_array size.
21922 (main): Change storage class of all local variables to static.
21923 Reduce size of double_array to 9.
21924 * gdb.base/call-ar-st.exp: Increase timeout value.
21925 Change expected output for double array to match new size in
21926 call-ar-st.c.
21927
36a22261
CV
219282001-10-29 Corinna Vinschen <vinschen@redhat.com>
21929
21930 * gdb.base/ending-run.exp: Create identical output when passing
21931 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 21932 Stormy16 target.
36a22261 21933
92b8ae91
MK
219342001-10-28 Mark Kettenis <kettenis@gnu.org>
21935
21936 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21937 that we catch the expected failure under Linux/x86.
21938
cb135b83
OF
219392001-10-29 Orjan Friberg <orjanf@axis.com>
21940
21941 * gdb.base/setvar.exp: Escape curly braces.
21942 * gdb.stabs/weird.exp: Ditto.
21943
6884aa54
DJ
219442001-10-27 Daniel Jacobowitz <drow@mvista.com>
21945
21946 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21947 * gdm.mi/mi0-hack-cli.exp: Likewise.
21948
0398c9aa
AC
219492001-10-25 Andrew Cagney <ac131313@redhat.com>
21950
21951 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21952 messages.
21953
d20bf2e8
AC
219542001-10-21 Andrew Cagney <ac131313@redhat.com>
21955
21956 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21957 checking MI enabled.
21958
03dd63aa
CV
219592001-10-09 Corinna Vinschen <vinschen@redhat.com>
21960
21961 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21962
1d9d99f3
FCE
219632001-10-04 Frank Ch. Eigler <fche@redhat.com>
21964
21965 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21966 if gdb child process crashes, just signal an error.
21967
838ae6c4
JB
219682001-10-02 Jim Blandy <jimb@redhat.com>
21969
21970 * lib/gdb.exp (test_xfail_format): Simplify.
21971
21972 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21973 front of the variable name `format'. Simplify `if'.
21974
8f0cbc1c
DJ
219752001-10-01 Daniel Jacobowitz <drow@mvista.com>
21976
21977 * gdb.threads/pthreads.exp: Wait for output and delay
21978 before sending ^C.
21979
1f08dafd
DJ
219802001-10-01 Daniel Jacobowitz <drow@mvista.com>
21981
21982 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21983 some incorrect output instead of timing out.
21984 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21985
674f90ff
CV
219862001-09-28 Corinna Vinschen <vinschen@redhat.com>
21987
21988 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21989 check to allow additional `int'.
21990
9b284272
DJ
219912001-09-27 Daniel Jacobowitz <drow@mvista.com>
21992
21993 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21994 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21995
b55a4771
MS
219962001-09-27 Michael Snyder <msnyder@redhat.com>
21997
21998 * lib/gdb.exp (test_debug_format): New proc.
21999 (setup_xfail_format): Use new proc test_debug_format.
22000 * gdb.base/constvars.exp (local_compiler_xfail_check): New
22001 proc; use new service proc test_debug_format.
22002 Replace all other "gcc_compiled" tests with this test.
22003 * gdb.base/volatile.exp (local_compiler_xfail_check): New
22004 proc; use new service proc test_debug_format.
22005 Replace all other "gcc_compiled" tests with this test.
22006
220072001-09-27 Michael Snyder <msnyder@redhat.com>
22008
22009 * gdb.base/cvexpr.exp: New file.
22010 * gdb.base/cvexpr.c: New file
22011 Test for expressions using const and volatile keywords.
22012
4e6667ac
CV
220132001-09-26 Corinna Vinschen <vinschen@redhat.com>
22014
22015 * gdb.base/constvars.exp: Check for different orders of keywords
22016 and additional "int" strings in output.
22017
4f337972
AC
220182001-09-22 Andrew Cagney <ac131313@redhat.com>
22019
22020 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
22021 responses from "help maint".
22022
2015650d
FCE
220232001-09-19 Frank Ch. Eigler <fche@redhat.com>
22024
22025 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
22026 to localhost:NNN instead of :NNN, in case Xvfb is listening
22027 only on TCP.
22028
f3bcedc1
CV
220292001-09-19 Corinna Vinschen <vinschen@redhat.com>
22030
22031 * gdb.base/recurse.exp: When checking leaving the watchpoint
22032 scope, recognize when gdb is in function's epilogue and pass.
22033
6b819c92
KS
220342001-09-18 Keith Seitz <keiths@redhat.com>
22035
22036 * lib/insight-support.exp (_gdbtk_export_target_info): Add
22037 support for running tests against sid targets.
22038 (gdbtk_done): Ditto.
22039
a10c9419
CV
220402001-09-18 Corinna Vinschen <vinschen@redhat.com>
22041
22042 * gdb.base/ending-run.c (main): Set stdout buffersize
22043 to the same reasonable value for any target.
22044 * gdb.base/ending-run.exp: Add a regular expression
22045 to make testsuite happy on Sanyo Stormy16 target.
22046
739d0d99
CV
220472001-09-17 Corinna Vinschen <vinschen@redhat.com>
22048
22049 * gdb.base/display.c (do_loops): Add float variable `f'.
22050 Increment f in loop.
22051 * gdb.base/display.exp: Increment timeout by 60 seconds.
22052 Change float display test to use variable `f'.
22053
1b8947f0
JB
220542001-09-17 Jim Blandy <jimb@redhat.com>
22055
22056 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
22057 overflowing the limited breakpoint tables on some ROM monitors
22058 (like the ROM68K).
22059
9890ac81
FCE
220602001-09-15 Frank Ch. Eigler <fche@redhat.com>
22061
22062 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
22063 the "-ac" (disable access control) flag.
22064
6db765ea
JH
220652001-08-30 Jeff Holcomb <jeffh@redhat.com>
22066
22067 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
22068 ints.
22069
4c32cc04
KS
220702001-08-30 Keith Seitz <keiths@redhat.com>
22071
22072 * lib/gdb.exp: Move all insight-related functionality into
22073 separate file.
22074 * lib/insight-support.exp: New file.
22075
8d6e6f81
FCE
220762001-08-29 Frank Ch. Eigler <fche@redhat.com>
22077
22078 * config/sid.exp (sid_start): Never set sid verbosity; disable
22079 expect_background {} that consumed its stdout; tolerate </dev/null.
22080 Attempt to set endianness override in "sid" protocol mode. Cleanup.
22081
6a90e1d0
AC
220822001-08-18 Andrew Cagney <ac131313@redhat.com>
22083
22084 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
22085 CLI jump command to start it.
22086 (mi_run_to_main): Fail immediatly when unexpected output.
22087
1759b3c3
AC
220882001-08-18 Andrew Cagney <ac131313@redhat.com>
22089
22090 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
22091 beginning of function. Fix PR gdb/191.
22092
61d11d80
FCE
220932001-08-16 Frank Ch. Eigler <fche@redhat.com>
22094
22095 * config/sid.exp (sid_start): Don't warn if we cannot figure out
22096 what to force sid endianness to.
22097
942a4df2
KS
220982001-08-15 Keith Seitz <keiths@redhat.com>
22099
22100 * lib/gdb.exp (gdbtk_start): Don't set environment
22101 variables for TCL_LIBRARY and friends. Insight will
22102 now figure these out for itself.
22103
0521c418
MS
221042001-08-02 Michael Snyder <msnyder@redhat.com>
22105
22106 * gdb.base/completion.exp: Remove the symbol "a64l" from
22107 the expect string; this is target-specific, and not related
22108 to what is being tested.
22109
74a9a58a
DB
221102001-08-02 Dave Brolley <brolley@redhat.com>
22111
22112 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
22113
c70819fa
MS
221142001-07-25 Michael Snyder <msnyder@redhat.com>
22115
c2b8fa57
MS
22116 * gdb.base/consecutive.exp: New file. Test stepping over
22117 breakpoints on consecutive instructions.
22118 * gdb.base/consecutive.c: New file.
22119
c70819fa
MS
22120 * gdb.base/call-rt-st.exp: Use double-backslash to quote
22121 curly braces in regular expressions.
22122
2b1a1355
MS
221232001-07-25 Michael Snyder <msnyder@redhat.com>
22124
22125 * gdb.base/ending-run.exp: Accept "Program exited normally" as
22126 legitimate output from stepping out of main.
22127
413eca6f
KS
221282001-07-22 Keith Seitz <keiths@redhat.com>
22129
22130 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
22131 the empty string, do not run the tests.
22132
7e5a9322
SC
221332001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22134
22135 * gdb.base/long_long.exp: Detect size of pointer. Take into
22136 account 2-byte pointers when testing for p/a results.
22137
de58f10f
SC
221382001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22139
d63a86f8 22140 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
22141 and defined to 1K for m68hc11.
22142 (random_data): Reduce table to 1K for embedded platforms (68hc11).
22143 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
22144 (sizeof_random_data): New variable to tell the size of the data table;
22145 don't test past this size; always run to main.
22146
d6f5fea1
SC
221472001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22148
22149 * gdb.base/return2.exp: return of long long and double fails for
22150 68HC11; don't execute these tests on that platform.
22151 * gdb.base/return.exp: Return of a double fails for 68hc11.
22152
c477543d
SC
221532001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22154
22155 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
22156 tests that print a float.
22157 * call-rt-st.exp: Likewise.
22158
63cf1c79
MK
221592001-07-12 Mark Kettenis <kettenis@gnu.org>
22160
22161 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
22162 running this test on Linux.
22163
112f9ab5
MC
221642001-06-24 Michael Chastain <chastain@redhat.com>
22165
22166 * gdb.base/arithmet.exp: Remove some tests to make all test names
22167 unique.
22168
4970cb0f
MS
221692001-07-03 Michael Snyder <msnyder@redhat.com>
22170
22171 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
22172 the output of the ptype command.
22173
d85da69f
MS
221742001-07-02 Michael Snyder <msnyder@redhat.com>
22175
4c8a82de
MS
22176 * gdb.base/completion.exp: Don't assume that break.c is the only
22177 source file that may contain functions named "marker".
d85da69f
MS
22178 * gdb.base/corefile.exp: Quote the curly braces in regexp.
22179
8afc772b
AC
221802001-06-28 Andrew Cagney <ac131313@redhat.com>
22181
22182 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
22183 of files to delete.
22184
22185 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
22186 * gdb.disasm/h8300s.exp: New file.
22187 gdb.disasm/h8300s.s: Likewise.
22188
cff22675
AC
221892001-06-27 Andrew Cagney <ac131313@redhat.com>
22190
22191 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
22192 empty breakpoint tables.
22193
68c81b54
AC
221942001-06-25 Andrew Cagney <ac131313@redhat.com>
22195
22196 * lib/mi-support.exp: Update args=... part of stop-reason
22197 patterns. Accept either a list or a tuple.
22198
2dd62704
AC
221992001-06-23 Andrew Cagney <ac131313@redhat.com>
22200
22201 * lib/mi-support.exp: Remove local emacs variable defining
22202 change-log-default-name.
22203
b4127474
MC
222042001-06-22 Michael Chastain <chastain@redhat.com>
22205
22206 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
22207 This is operationally compatible with the previous version.
22208
8dbfb380
JB
222092001-06-13 Jim Blandy <jimb@redhat.com>
22210
22211 * lib/gdb.exp (gdb_test): Doc fix.
22212
f2d8c86d
MC
222132001-06-10 Michael Chastain <chastain@redhat.com>
22214
22215 * gdb.base/exprs.exp: Remove a duplicate test.
22216
81564d34
JB
222172001-06-06 Jim Blandy <jimb@redhat.com>
22218
22219 * gdb.base/return2.exp (main): Use values to test float and double
22220 returns that are not NaN's, to avoid being confused by IEEE
22221 comparison rules.
22222
da55addb
MS
222232001-06-04 Michael Snyder <msnyder@redhat.com>
22224
22225 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 22226 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
22227 rather than wait for 12 more tests to time out.
22228
42c65987
JB
222292001-06-06 Jim Blandy <jimb@redhat.com>
22230
b18bced9 22231 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 22232 Don't forget to match the GDB prompt.
b18bced9 22233
42c65987
JB
22234 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
22235
5b41e5f0
JB
222362001-06-04 Jim Blandy <jimb@redhat.com>
22237
22238 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
22239 command.
22240
015e046f
KB
222412001-05-31 Kevin Buettner <kevinb@redhat.com>
22242
22243 * gdb.base/annota1.exp (info break): Match four or more spaces
22244 after "Address".
22245
fb1ffbbe
MC
222462001-05-31 Michael Chastain <chastain@redhat.com>
22247
22248 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
22249 (dm_type_int_star): Likewise.
22250 (dm_type_long_star): Likewise.
22251 (dm_type_void_star): Likewise.
22252
5ea2a32c
KB
222532001-05-29 Kevin Buettner <kevinb@redhat.com>
22254
22255 * gdb.base/completion.exp (INPUTRC): Set this environment variable
22256 to a known value in order to get consistent results regardless
22257 of the setting of INPUTRC or the presence or contents of .inputrc.
22258
ae23c492
MS
222592001-05-24 Michael Snyder <msnyder@redhat.com>
22260
ac55707e
MS
22261 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
22262 Don't require that the main thread and the manager thread are the
22263 first in the list.
22264
ae23c492
MS
22265 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
22266 debugging. If test fails, issue an "unsupported" not a "fail".
22267
400071f1
JB
222682001-05-24 Jim Blandy <jimb@redhat.com>
22269
22270 Don't assume that short is shorter than int.
22271 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
22272 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 22273 this isn't true.
400071f1
JB
22274 ("print unsigned char == (~0)"): Add test that verifies that ~0,
22275 an int, is not equal to ~0 stored in an unsigned char. This tests
22276 the same thing that the previous test meant to, but works on
22277 16-bit machines, too.
22278 ("print unsigned char != (~0)"): Same test, complemented.
22279
0816a3e5
MS
222802001-05-24 Michael Snyder <msnyder@redhat.com>
22281
22282 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 22283 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
22284 and prevents dejagnu getting out of step.
22285
f6dc23a9
KB
222862001-05-23 Kevin Buettner <kevinb@redhat.com>
22287
22288 * gdb.base/finish.exp (finish_void): Revise pattern for
22289 stopping on the call statement to not permit stopping at
22290 the start of the instructions comprising the call sequence.
22291
7dbd117d
MC
222922001-05-19 Michael Chastain <chastain@redhat.com>
22293
22294 * gdb.base/callfuncs.exp: Make all test names unique.
22295 * gdb.base/commands.exp: Make all test names unique.
22296 * gdb.base/condbreak.exp: Make all test names unique.
22297 * gdb.base/dbx.exp: Make all test names unique.
22298 * gdb.base/default.exp: Make all test names unique.
22299 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
22300 and TIMEOUT messages to their corresponding PASS message.
22301 * gdb.base/ending-run.exp: Make all test names unique.
22302 * gdb.base/long_long.exp: Remove duplicate test.
22303
6b0b0a9e
KB
223042001-05-21 Kevin Buettner <kevinb@redhat.com>
22305
22306 * gdb.base/finish.exp (finish_void): Allow "finish" command to
22307 stop on the call statement as well as the statement after the
22308 call.
22309
2caa35cb
MS
223102001-05-21 Michael Snyder <msnyder@redhat.com>
22311
22312 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
22313
40713331
EZ
223142001-05-10 Elena Zannoni <ezannoni@redhat.com>
22315
a9c64011
AS
22316 * gdb.base/completion.exp: Revamp test. Make it execute on all
22317 platforms.
40713331 22318
c2c1be8d
EZ
223192001-05-10 Elena Zannoni <ezannoni@redhat.com>
22320
a9c64011
AS
22321 * config/gdbserver.exp (gdb_load): Handle the case
22322 in which the arguments to gdbserver are given in the
22323 baseboard configuration file.
22324 Also handle the case in which the server needs to do a
22325 load.
2c9cd303 22326
9671de48
KS
223272001-05-07 Keith Seitz <keiths@cygnus.com>
22328
a9c64011
AS
22329 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
22330 set up the display for testing.
22331 (gdbtk_start): Convert all paths to paths that tcl will like.
22332 Export target information to environment.
22333 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
22334 necessary.
22335 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
22336 (to_tcl_path): New proc to convert a given pathname into
22337 a path acceptible as an argument to a tcl command.
22338 (_gdbtk_export_target_info): New proc to export target info
22339 into the environment for gdbtk testing.
22340 (gdbtk_done): New proc to signal end-of-test.
9671de48 22341
5a360f47
JB
223422001-05-06 Jim Blandy <jimb@redhat.com>
22343
22344 * restore.c: Make the code of caller0 correspond to its comment.
22345
66c756c6
MS
223462001-05-03 Michael Snyder <msnyder@redhat.com>
22347
22348 * config/sid.exp (gdb_target_sid): Check for error messages.
22349 On error or timeout, don't make expect exit (which will terminate
22350 all subsequent tests); instead just make gdb exit.
d63a86f8 22351 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
22352 return a negative value.
22353
a966fde5
JB
223542001-04-24 Jim Blandy <jimb@redhat.com>
22355
851c18e0
JB
22356 * gdb.c++/templates.exp: If we see the prompt for the overload
22357 list, but we haven't recognized any of the longer patterns,
22358 arrange for this test to fail, not hang.
22359
a966fde5
JB
22360 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
22361 variations.
22362
db144853
MC
223632001-04-22 Michael Chastain <chastain@redhat.com>
22364
22365 * gdb.c++/local.exp: Use the 'runto' library function.
22366 * gdb.c++/namespace.exp: Likewise.
22367 * gdb.c++/overload.exp: Likewise.
22368
3207ec21
KB
223692001-03-26 Kevin Buettner <kevinb@redhat.com>
22370
22371 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
22372 * gdb.base/step-line.exp: New file. Test step/next in presence of
22373 #line directives.
22374 * gdb.base/step-line.c: New file. Test program for the above.
22375 * gdb.base/step-line.inp: New file. We pretend that this file has
22376 been transformed by some other tool into step-line.c.
22377
13b57657
JB
223782001-03-21 Jim Blandy <jimb@redhat.com>
22379
22380 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
22381 unmangled operator names.
22382
754cbe1c
JB
223832001-03-20 Jim Blandy <jimb@redhat.com>
22384
22385 * gdb.threads/linux-dp.exp: Recognize an additional message
22386 generated by GDB when it doesn't understand how to debug threads
22387 on the target system.
22388
177495c9
AC
223892001-03-19 Andrew Cagney <ac131313@redhat.com>
22390
22391 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
22392
f266096b
MC
223932001-03-12 Michael Chastain <chastain@redhat.com>
22394
22395 * gdb.c++/derivation.exp: Use the 'runto' library function.
22396
cac3c2ff
MC
223972001-03-12 Michael Chastain <chastain@redhat.com>
22398
22399 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
22400
b6c11a24
MC
224012001-02-24 Michael Chastain <chastain@redhat.com>
22402
22403 * gdb.c++/ref-types.exp: Change handwritten code to library
22404 function 'runto'.
22405
6bae5bce
OF
224062001-03-16 Orjan Friberg <orjanf@axis.com>
22407
22408 * gdb.base/signals.exp: Set count to 0 explicitly.
22409
0015fd9a
MS
224102001-03-15 Mark Salter <msalter@redhat.com>
22411
22412 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
22413 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
22414 (gdb_load): Add support for additional target_info: gdb_download_size
22415 and gdb_load_timeout.
0015fd9a 22416
fc33412a
DT
22417Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
22418
22419 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
22420 file -- to prevent failing when the compile fails but we have no
22421 intention of running the tests anyway.
fc33412a
DT
22422
22423 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
22424 tests if set.
22425
22426 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 22427 integers.
fc33412a
DT
22428
22429 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
22430 * gdb.c++/namespace.exp: Ditto.
22431
115f06de
OF
224322001-03-07 Orjan Friberg <orjanf@axis.com>
22433
22434 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
22435 * gdb.base/pointers.exp: Relax pattern match of decimals.
22436
b6ba6518
KB
224372001-03-06 Kevin Buettner <kevinb@redhat.com>
22438
22439 * Makefile.in, config/abug.exp, config/cfdbug.exp,
22440 config/cpu32bug.exp, config/dve.exp, config/est.exp,
22441 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
22442 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
22443 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
22444 config/sh.exp, config/sid.exp, config/slite.exp,
22445 config/sparclet.exp, config/udi.exp, config/unknown.exp,
22446 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
22447 config/vxworks.exp, config/vxworks29k.exp,
22448 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
22449 gdb.base/all-bin.exp, gdb.base/annota1.exp,
22450 gdb.base/arithmet.exp, gdb.base/assign.exp,
22451 gdb.base/async.exp, gdb.base/attach.exp,
22452 gdb.base/bitfields.exp, gdb.base/bitops.exp,
22453 gdb.base/break.exp, gdb.base/call-ar-st.exp,
22454 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
22455 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
22456 gdb.base/commands.exp, gdb.base/completion.exp,
22457 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
22458 gdb.base/constvars.exp, gdb.base/corefile.exp,
22459 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
22460 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
22461 gdb.base/ending-run.exp, gdb.base/environ.exp,
22462 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
22463 gdb.base/finish.exp, gdb.base/foll-exec.exp,
22464 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
22465 gdb.base/funcargs.exp, gdb.base/help.exp,
22466 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
22467 gdb.base/logical.exp, gdb.base/long_long.exp,
22468 gdb.base/maint.exp, gdb.base/mips_pro.exp,
22469 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
22470 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
22471 gdb.base/pointers.exp, gdb.base/printcmds.exp,
22472 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
22473 gdb.base/regs.exp, gdb.base/relational.exp,
22474 gdb.base/remote.exp, gdb.base/reread.exp,
22475 gdb.base/restore.exp, gdb.base/return2.exp,
22476 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
22477 gdb.base/selftest.exp, gdb.base/setshow.exp,
22478 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
22479 gdb.base/sigall.exp, gdb.base/signals.exp,
22480 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
22481 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
22482 gdb.base/step-test.exp, gdb.base/structs.c,
22483 gdb.base/structs.exp, gdb.base/structs2.exp,
22484 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
22485 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
22486 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
22487 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
22488 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
22489 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
22490 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
22491 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
22492 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
22493 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
22494 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
22495 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
22496 gdb.fortran/types.exp, gdb.java/jmisc.exp,
22497 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
22498 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
22499 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
22500 gdb.trace/circ.exp, gdb.trace/collection.exp,
22501 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
22502 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
22503 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
22504 gdb.trace/report.exp, gdb.trace/save-trace.exp,
22505 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
22506 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
22507 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
22508 notices.
22509
dc96c6c7 225102001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
22511
22512 * gdb.base/varargs.c (find_max_double): Fix printf format string:
22513 first arg is int not float.
22514
dc96c6c7 225152001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
22516
22517 * gdb.base/reread.exp: Unsupported for non-native targets;
22518 doesn't work for remote debugging.
22519
9b0c4aeb
FN
225202001-02-19 Fernando Nasser <fnasser@redhat.com>
22521
22522 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
22523 * gdb.base/ending-run.exp: Properly handle the BSP state when
22524 stepping past the end of main.
9b0c4aeb 22525
02aa71d5
MC
225262001-02-19 John Moore <jmoore@redhat.com>
22527
22528 * gdb.base/commands.exp (infrun_breakpoint_command_test):
22529 Converted HPUX fix for non-expected items following multiple
22530 step commands into general solution for all platforms.
22531
1fa449a4
MC
225322001-02-18 Michael Chastain <chastain@redhat.com>
22533
22534 * gdb.c++/classes.exp (do_tests): Change runto statements
22535 from "runto 'foo(void)'" to "runto 'foo'". This makes the
22536 statements demangler agnostic.
22537 * gdb.c++/virtfunc.exp (do_tests): Likewise.
22538 (gdb_virtfunc_restart): Likewise.
22539
b2f9ec70
MC
225402001-02-14 Michael Chastain <chastain@redhat.com>
22541
22542 * gdb.c++/inherit.exp (do_tests): Change runto statements
22543 from "runto 'foo(void)'" to "runto 'foo'". This makes the
22544 statements demangler agnostic.
22545
cf74b8ca
AC
22546Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
22547
22548 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
22549 ``continue to bkpt at common_routine in thread 2'' and ``stopped
22550 before calling common_routine 15 times'' tests.
cf74b8ca 22551
99f78f56
MC
225522001-02-11 Michael Chastain <chastain@redhat.com>
22553
22554 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
22555 Helps the test script figure out which demangler is in use.
22556 (dm_type_foo_ref): Ditto.
22557 (dm_type_int_star): Ditto.
22558 (dm_type_long_star): Ditto.
22559 (dm_type_unsigned_int): Ditto.
22560 (dm_type_void): Ditto.
22561 (dm_type_void_star): Ditto.
99707966 22562 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
22563 Probe the gdb demangler and set variables to accommodate
22564 formatting differences.
22565 (info_func_regexp): New function. Same as info_func, but
22566 matches against a regexp.
22567 (info_func): Match against a literal string.
22568 (print_addr_2): New function. Match against a literal string,
22569 which can be different from the input to gdb.
22570 (print_addr): Simply call print_addr_2 with the same argument twice.
22571 (test_lookup_operator_functions): Use demangler formatting variables.
22572 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
22573 the tests in the same order as the C++ class declaration.
22574 (test_paddr_operator_functions): Ditto.
22575 (test_paddr_overloaded_functions): Ditto.
22576 (test_paddr_hairy_functions): Use demangler formatting variables.
22577 Add reference to gdb/19 for related tests.
22578 (do_tests): Call probe_demangler.
22579
1de8f023
KB
225802001-01-30 Kevin Buettner <kevinb@redhat.com>
22581
22582 * gdb.c++/templates.cc (printf): Remove unused function definition.
22583
ca3f91ed
MS
225842001-01-26 Felix Lee <flee@redhat.com>
22585
22586 * sid.exp (sid_exit): Pass host, not target, to remote_close.
22587
225882001-01-25 matthew green <mrg@redhat.com>
22589
22590 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
22591 up sid.
22592 (sid_exit): Call `remote_pop_conn' after GDB is gone.
22593
225942001-01-25 matthew green <mrg@redhat.com>
22595
22596 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 22597 Deprecate $sid_spawn_id.
ca3f91ed
MS
22598 (sid_exit): Remove code necessary only for `spawn.'
22599
226002001-01-25 matthew green <mrg@redhat.com>
22601
22602 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
22603
fb18ec4a
MC
226042001-01-28 Michael Chastain <chastain@redhat.com>
22605
22606 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
22607 to call when tests fail. It takes gdb out of the overloaded
22608 function choice menu back to the main prompt, so that the test
22609 program stays synchronized.
22610 (set_bp_overloaded): New proc to collect all the common
22611 code for setting a breakpoint on an overloaded name. Calls
22612 take_gdb_out_of_choice_menu when needed.
22613 (menu_overload1arg): New variable to collect the repeated
22614 instances of the expected menu for an overloaded name. Change
22615 the regular expression to handle changes in g++ type encoding:
22616 "void" can be either "void" or "", and "unsigned int" can be
22617 either "unsigned int" or "unsigned".
22618 (continue_to_bp_overloaded): Change regular expressions to handle
22619 changes in g++ type encoding.
22620 (no proc): Call take_gdb_out_of_choice_menu when needed.
22621 Remove redundant calls to "info break". Accept either "canceled"
22622 or "cancelled". Change regular expressions in "info break"
22623 calls to handle changes in g++ type encoding. Give all tests
22624 unique strings.
22625
9c646a6e
BE
226262001-01-17 Ben Elliston <bje@redhat.com>
22627
22628 * config/sid.exp: New file.
22629
9549d9c1
AC
22630Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
22631
22632 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
22633
dc96c6c7 226342000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
22635
22636 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
22637 Add a RE to accept a non-ascii char if one is ever presented.
22638
b4df4f68
FN
226392000-12-20 Fernando Nasser <fnasser@redhat.com>
22640
297dd0fd 22641 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 22642
dc96c6c7 226432000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 22644
d63a86f8 22645 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
22646 in regexp. One '\' does not suffice on Linux.
22647
4a7bddb6
MC
226482000-12-09 Michael Chastain <chastain@redhat.com>
22649
22650 * gdb.base/break.exp (test_clear_command): Use a marker function
22651 rather than 'main' for the test function. Also move this
22652 test to an execution point where the marker function names are
22653 guaranteed to be bound to functions. (Executing tests after a
22654 'finish' from main runs into name conflicts with local names
22655 in __libc_start_main).
22656
dc96c6c7 226572000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
22658
22659 * gdb.base/finish.exp: New test for gdb's "finish" command.
22660 * gdb.base/return2.exp: New test for gdb's "return" command.
22661 * gdb.base/return2.c: New source file for above.
22662
dc96c6c7 226632000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
22664
22665 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
22666 * gdb.base/miscexprs.exp: Ditto.
22667 * gdb.base/pointers.exp: Ditto.
22668 * gdb.c++/derivation.exp: Ditto.
22669 * gdb.c++/local.exp: Ditto.
22670 * gdb.c++/namespace.exp: Ditto.
22671 * gdb.c++/overload.exp: Ditto.
22672 * gdb.c++/ref-types.exp: Ditto.
22673
dc96c6c7 226742000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
22675
22676 * gdb.base/constvars.exp: Test result of "up" command.
22677 * gdb.base/miscexprs.exp: Ditto.
22678 * gdb.base/pointers.exp: Ditto.
22679 * gdb.base/scope.exp: Ditto.
22680 * gdb.c++/derivation.exp: Ditto.
22681 * gdb.c++/local.exp: Ditto.
22682 * gdb.c++/namespace.exp: Ditto.
22683 * gdb.c++/overload.exp: Ditto.
22684 * gdb.c++/ref-types.exp: Ditto.
22685
44097287
FN
226862000-11-22 Michael Chastain <chastain@redhat.com>
22687
22688 * mips_pro.exp: Accept either "middle -> top -> main" or
22689 "middle -> main" in the backtrace, because gcc can optimize
22690 tail calls to jumps. Remove setup_xfail for the hppa case.
22691 Add a comment with the original warning messages from PR 3016,
22692 which was filed in 1993, to preserve them for posterity.
22693
9d2e1bab
ND
226942000-11-17 Nick Duffek <nsd@redhat.com>
22695
22696 * lib/gdb.exp (gdb_test): Override timeout with board info.
22697
1aca8eb7
ND
226982000-11-17 Nick Duffek <nsd@redhat.com>
22699
22700 * gdb.base/display.exp: Don't kill running stub. Add "again" to
22701 the second kill and detach messages.
22702
93076499
ND
227032000-11-17 Nick Duffek <nsd@redhat.com>
22704
22705 * configure.in: Add AC_EXEEXT.
22706 * configure: Regenerate.
22707 * Makefile.in (just-check): Export EXEEXT.
22708 * lib/gdb.exp ($EXEEXT): Import from environment.
22709 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
22710 expect "maint dump-me" on Cygwin.
22711 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
22712 $EXEEXT.
22713
30e87cd3
ND
227142000-11-17 Nick Duffek <nsd@redhat.com>
22715
22716 * gdb.base/break.exp: Test backtrace and finish from called
22717 function on all platforms, not just HP-UX.
22718
dc96c6c7 227192000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
22720
22721 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
22722 code from gdb_target_monitor, so it can be used independantly
22723 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 22724
dc96c6c7 227252000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
22726
22727 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
22728 * gdb.base/corefile.exp: Expect the message "Program is being
22729 debugged already" when we send the "corefile" command, since
22730 the preceeding gdb_load may have connected gdb to a remote target.
22731 * gdb.base/display.exp: Disable hardware watchpoints if new
22732 board info variable "no_hardware_watchpoints" is true.
22733 Replace single-letter commands with more readable ones.
22734 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
22735 if new board info variable "no_hardware_watchpoints" is true.
22736 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
22737 to see if stdio (printf) testing is possible.
22738 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
22739 board info variable "no_hardware_watchpoints" is true. Use new
22740 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
22741
39124dea
FN
227422000-11-13 Fernando Nasser <fnasser@redhat.com>
22743
22744 From Orjan Friberg <orjanf@axis.com>:
22745 * gdb.base/printcmds.exp: Escape curly braces followed by a number
22746 in array print pattern match.
22747
a9e2e984
FN
227482000-11-09 Fernando Nasser <fnasser@redhat.com>
22749
22750 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
22751 spelling "cancelled" to U.S. spelling "canceled" to match changes
22752 made to gdb.
22753 * gdb.c++/ovldbreak.exp: Ditto.
22754
c7db355b
PS
227552000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22756
22757 * gdb.base/callfuncs.c (main): Moved to end of file, call
22758 t_double_values to initialize the FPU before inferior calls are made.
22759 * gdb.base/callfuncs.exp: Test for register preservation after calling
22760 inferior functions. Add tests for continuining, finishing and
22761 returning from a stop in a call dummy.
22762
dc96c6c7 227632000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
22764
22765 * gdb.base/commands.exp: Break up long lines, and re-indent.
22766
dc96c6c7 227672000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
22768
22769 * config/gdbserver.exp: Rewritten from the ground up, to make it
22770 compatible with the current dejagnu tree, and to make it work with
22771 the new "gdbserver" in libremote.
22772
dc96c6c7 227732000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22774
22775 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
22776 * gdb.base/varargs.exp: Skip entire test if no printf support.
22777 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
22778 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
22779
dc96c6c7 227802000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
22781
22782 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
22783 no floating point support.
22784 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
22785 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
22786 * gdb.base/call-rt-st.exp: Ditto.
22787 * gdb.base/call-strs.exp: Ditto.
22788
bac5fc66
JG
227892000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
22790
22791 * gdb.base/sizeof.c: include <stdio.h>.
22792
22793 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
22794 'finish', otherwise uncaptured gdb_prompt would potentially
22795 throw remaining test points out of sync.
bac5fc66 22796
b22a6027
SB
227972000-07-26 Scott Bambrough <scottb@netwinder.org>
22798
22799 * gdb.base/recurse.exp: Run tests for all targets.
22800 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
22801 gnu-oldld case on ARM.
22802 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
22803 for ARM targets.
d63a86f8 22804
d8231941
AG
22805Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
22806
22807 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
22808 * gdb.java/configure: Rebuild.
22809
8caabe69
AG
22810Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
22811
22812 * gdb.java/jv-exp.exp: New file.
22813
9d273ca3
AG
22814Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
22815
22816 * configure: Rebuilt.
22817 * configure.in (configdirs): Add gdb.java.
22818 * gdb.java/jmisc.java: New file.
22819 * gdb.java/jmisc.exp: New file.
22820 * gdb.java/Makefile.in: New file.
22821 * gdb.java/configure: Rebuilt.
22822 * gdb.java/configure.in: New file.
22823 * lib/java.exp: New file.
22824
4f823a66
AC
22825Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22826
22827 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 22828 underflow.
4f823a66 22829
2391e11d
AC
22830Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22831
22832 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 22833 and the compilers sizes.
2391e11d 22834
54602222
ND
228352000-07-09 Nick Duffek <nsd@redhat.com>
22836
22837 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22838 (use_methods): New function.
22839 (main): Call use_methods().
22840 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22841 (do_tests): Call test_method_param_class.
22842
2bec0572
ND
228432000-07-09 Nick Duffek <nsd@redhat.com>
22844
22845 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22846 spelling.
22847 (test_enums): New procedure. Move enum tests from end of script
22848 to here. Set breakpoint on function name instead of line number.
22849 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22850 (enums2): New marker function.
22851 (enums1): New function.
22852 (main): Call enums1(). Move enum tests to enums1().
22853
78492fde
AC
22854Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22855
22856 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 22857 compile/link program. Update line numbers.
78492fde
AC
22858 * gdb.asm/d10v.inc: Define ``startup''.
22859 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 22860
49a2cef8
AC
22861Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22862
22863 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22864
3e6c8688
EZ
228652000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22866
22867 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 22868 of 'help maint print' command.
3e6c8688 22869
9ff5cbe9
AC
22870Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22871
22872 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 22873 they use gdb_expect_list.
9ff5cbe9 22874
17c579bd
AC
22875Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22876
22877 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
22878 memory-read-packet-size'' instead of ``set endian big'' to test
22879 long commands.
17c579bd 22880
e6d71bf3
DB
228812000-06-03 Daniel Berlin <dan@cgsoftware.com>
22882
22883 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 22884 g++, and stop skipping them.
e6d71bf3
DB
22885
22886 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22887 work under g++.
22888
d63a86f8 22889 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
22890 initialization.
22891
dc96c6c7 228922000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
22893
22894 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22895 the regular expression: accept an (almost) arbitrary sequence of
22896 "frames-invalid" and "breakpoints-invalid" messages both before
22897 and after the "starting" message.
22898
dc96c6c7 228992000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
22900
22901 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 22902
dc96c6c7 229032000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
22904
22905 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22906 Relax the regular expression a little, make it pass on Solaris 8.
22907
8216cda9
KB
229082000-05-12 Kevin Buettner <kevinb@redhat.com>
22909
22910 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 22911 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
22912 Instead, it is permissible for gdb to stop on the line of the
22913 call itself.
22914
1a570b2f
MS
229152000-05-12 Michael Snyder <msnyder@.cygnus.com>
22916
22917 * gdb.base/break.exp (bp on small function, optimized file):
22918 Add a second pass pattern. The behavior differs here between stabs
22919 and dwarf for one-line functions. Stabs preserves two line symbols
22920 (one before the prologue and one after) with the same line number,
22921 but dwarf regards these as duplicates and discards one of them.
22922 Therefore the address after the prologue (where the breakpoint is)
22923 has no exactly matching line symbol, and GDB reports the breakpoint
22924 as if it were in the middle of a line rather than at the beginning.
22925
dc96c6c7 229262000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 22927
d63a86f8 22928 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
22929 rather than "send_gdb" (for consistancy).
22930
7d418785
AC
22931Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22932
22933 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22934 * gdb.c++/templates.cc: Properly check for GCC version number.
22935 * lib/compiler.cc: Likewise
22936
dc96c6c7 229372000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 22938
d63a86f8 22939 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
22940 gdb may not stop at the first line of main, due to code motion.
22941
dc96c6c7 229422000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
22943
22944 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22945 This test depends on parsing the printf output from the target.
22946 Since the sparclet stub doesn't do stdio, this will never work.
22947 * gdb.base/call-rt-st.exp: ditto.
22948 * gdb.base/call-strs: ditto.
22949
dc96c6c7 229502000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
22951
22952 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22953
22954 * gdb.base/ending-run.exp: After connecting to a remote target,
22955 but before running, the target will appear to be in a random
22956 location. Specify both a file and a line for breakpoints.
22957 Also, the function that calls main may be called 'init'
22958 rather than 'start'.
22959
a5a51225
EZ
229602000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22961
22962 * gdb.base/help.exp: Update output for add-symbol-file command.
22963
7930cc7c
FN
229642000-04-10 Fernando Nasser <fnasser@cygnus.com>
22965
22966 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22967 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22968
23e37ab1
C
229692000-04-07 J.T. Conklin <jtc@redback.com>
22970
e93c542c
C
22971 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22972
23e37ab1
C
22973 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22974
591b8fa3
PDM
22975Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22976
22977 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 22978 values that can be represented exactly.
591b8fa3
PDM
22979 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22980 above change, and to not check against the directory part of the source
22981 file name.
22982 (step into print_long_arg_list): Likewise.
22983 (print print_small_structs from print_long_arg_list): Likewise.
22984 (print print_long_arg_list): Likewise.
22985
7a495180
EZ
229862000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22987
30b53638 22988 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 22989
beb998c6
AC
22990Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22991
22992 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22993
1c689132
DB
229942000-03-25 Daniel Berlin <dan@cgsoftware.com>
22995
22996 * gdb.base/commands.exp (deprecated_command_test): Add test for
22997 deprecate with no arguments.
22998
c1790a9d
JL
229992000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
23000
23001 * gdb.base/break.exp: Add new test for setting breakpoints on
23002 optimized code so we can test breakpoints work even when function
23003 prologues may be optimized away
23004
003ba290
FN
230052000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
23006
23007 From David Whedon <dwhedon@gordian.com>
a9c64011 23008 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 23009
6837a0a2
DB
230102000-03-22 Daniel Berlin <dan@cgsoftware.com>
23011
23012 * gdb.base/help.exp: Added test for new apropos command.
23013
b9593231
KB
230142000-03-21 Kevin Buettner <kevinb@redhat.com>
23015
23016 * gdb.base/pointers.c (usevar): New function.
23017 (main): Make sure that global variables v_int_pointer2, rptr,
23018 and y are all referenced someplace in the program by calling
23019 usevar() on them. [Some linkers delete symbols which are
23020 never referenced. The space remains, but there's no way to
23021 get a (symbolic) handle on the variable from the debugger.]
23022
751a959b
EZ
230232000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23024
23025 * gdb.base/printcmds.c: Add typedeffed arrays.
23026
23027 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 23028 procedure to test arrays that are typedef'd.
751a959b 23029
73a93a32
JI
230302000-03-13 James Ingham <jingham@leda.cygnus.com>
23031
23032 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 23033 the library directories.
73a93a32 23034
fb40c209
AC
23035Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
23036
23037 * configure.in (configdirs): Add sub directory gdb.mi.
23038 * configure: Re-generate.
23039
23040 * gdb.mi: New directory.
d63a86f8 23041
ee4dd2c9
AC
230422000-02-25 Scott Bambrough <scottb@netwinder.org>
23043
23044 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 23045 a long long value as a double on ARM platforms.
ee4dd2c9 23046
70f0cc22
JB
230472000-02-16 Jim Blandy <jimb@redhat.com>
23048
23049 * gdb.base/break.exp ("breakpoint line number"): Make sure the
23050 default source file is set properly before running this test.
23051
853819b8
EZ
230522000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23053
23054 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 23055 gdbtk/library directory, not in gdbtcl2.
853819b8 23056
dfcd3bfb
JM
230572000-02-04 Jim Blandy <jimb@redhat.com>
23058
23059 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
23060 backslash from regexp pattern.
23061
23062 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
23063 procedure. Use it to run all the "continue to bp overloaded"
23064 tests. Note that this changes the names of the tests slightly.
23065 If the breakpoint hit message includes a hex PC value, because
23066 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
23067 from the real source code, still consider that a pass.
23068
23069 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
23070 XFAIL here if the breakpoint message contains a hex address. Note
23071 similar change on 1999-11-02.
23072
23073 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
23074
23075 * gdb.base/ptype.exp: Establish a default source file before
23076 calling get_debug_format.
23077
230782000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
23079
23080 * gdb.base/watchpoint.exp: Remove duplication of test messages.
23081
8b93c638
JM
230822000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23083
23084 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
23085 of successive stepi commands -- while in the prologue we should see
23086 the function entry bracket.
23087
230882000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
23089
23090 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
23091 reach __change_mode() when stepping through the end of main().
23092
c5394b80
JM
230932000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
23094
23095 * gdb.base/default.exp: Fix expected pattern.
23096 * gdb.base/help.exp: Same.
23097
0d06e24b
JM
230982000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23099
23100 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 23101 Don't use xfail's because that affects only the following test.
d63a86f8 23102
0d06e24b 23103 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 23104 solaris or linux.
0d06e24b
JM
23105
23106 * gdb.base/selftest.exp: Update to reflect changes to main.c.
23107
dc96c6c7 231082000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 23109
d63a86f8 23110 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
23111 "A syntax error" rather than "A parse error". Accept both.
23112
231132000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
23114
23115 * gdb.base/default.exp: Remove OS dependent string from "target
23116 remote" test.
23117 * gdb.base/help.exp: Same for "help target remote" test.
23118
c3f6f71d
JM
231192000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23120
23121 From Jim Kingdon <kingdon@redhat.com>:
23122
23123 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
23124 prompt (cleanup rather than necessity, but still might keep output
23125 from spilling to next test).
c3f6f71d
JM
23126
231272000-01-02 Fred Fish <fnf@cygnus.com>
23128
23129 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
23130 AIX, which defines them in <sys/types.h>.
23131
ed9a39eb 231321999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 23133
ed9a39eb 23134 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 23135 float" test.
ed9a39eb
JM
23136
231371999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 23138
ed9a39eb 23139 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
23140
23141 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
23142 outermost frame disallowed".
23143
231441999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
23145
23146 * gdb.base/setvar.exp: New tests for setting the value of a struct
23147 with a constant list.
23148
231491999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23150
23151 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
23152 require the user to type a cast before setting the value of a struct.
23153
de57eccd
JM
231541999-12-06 Jim Blandy <jimb@cygnus.com>
23155
23156 * gdb.base/default.exp: Expect the new 'info float' command on
23157 all i386 platforms.
23158
23159 * gdb.threads/linux-dp.exp: Expand our ability to recognize
23160 LinuxThreads libraries that don't support debugging.
23161
c2d11a7d
JM
23162Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23163
23164 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
23165 Change the buffer type to ``unsigned char'' to simplify size
23166 arithmetic.
c2d11a7d
JM
23167
23168 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
23169 stub only handles 400-1 byte packets. Verify that the download
23170 worked.
c2d11a7d
JM
23171
231721999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
23173
23174 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
23175 tests, using UNRESOLVED for the untested cases. Also, does not wait
23176 for a timeout if the prompt was received before a recognizable pattern.
23177
231781999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
23179
23180 * lib/gdb.exp (gdb_expect_list): Fix spelling.
23181
231821999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23183
23184 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 23185 watchpoints.
c2d11a7d
JM
23186
231871999-11-24 Jason Merrill <jason@casey.cygnus.com>
23188
23189 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
23190
23191 * gdb.c++/local.exp: Be more flexible in recognizing local class
23192 name mangling. Don't allow horribly truncated method names.
23193 * gdb.c++/derivation.exp: Expect protected inheritance.
23194 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
23195 * gdb.c++/virtfunc.exp: Likewise.
23196 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
23197 when printing a nested enum.
23198
231991999-11-22 Jim Blandy <jimb@cygnus.com>
23200
23201 * gdb.base/step-test.exp: Properly await GDB's response to setting
23202 a breakpoint on the call to large_struct_by_value.
23203
23204 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
23205 just because we have debug info for the `start' function.
23206
232071999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
23208
23209 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
23210 "Unknown signal" messages, which indicate (on LinuxThreads) that
23211 GDB doesn't know how to debug threads on this system. This is
23212 better than hanging while philosopher 0 dumps chatter into gdb.log.
23213
232141999-11-18 Tom Tromey <tromey@cygnus.com>
23215
23216 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
23217
232181999-11-18 Fred Fish <fnf@cygnus.com>
23219
23220 * gdb.base/coremaker2.c: Add sample program for generating
23221 cores that is more self contained than coremaker.c. Eventually
23222 I'll add more code to this and tie it into the testsuite.
23223
4ce44c66
JM
232241999-11-12 Stan Shebs <shebs@andros.cygnus.com>
23225
23226 * gdb.base/dollar.exp: Remove, now in gdb.hp.
23227
232281999-11-10 Jimmy Guo <guo@cup.hp.com>
23229
23230 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 23231 from $srcdir/lib/.
4ce44c66 23232 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 23233 and gdb.c++/.
4ce44c66
JM
23234
23235 * gdb.c++/derivation.exp: remove redundant get compiler info code.
23236
d63a86f8 23237 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
23238 'continue with watch' test point.
23239
232401999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
23241
23242 Merged from p2linux-990323-branch:
d63a86f8 23243
4ce44c66
JM
23244 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
23245
11cf8741
JM
23246Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
23247
23248 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 23249 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
23250
23251Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
23252
23253 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 23254 gdb_expect_list.
11cf8741
JM
23255
23256Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
23257
23258 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
23259
232601999-11-03 Mark Salter <msalter@cygnus.com>
23261
23262 * gdb.base/break.exp: Fix "stub continue" pattern.
23263
232641999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
23265
23266 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
23267
232681999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
23269
23270 * gdb.base/display.exp ("finish"): Add timeout clause.
23271
23272 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
23273 plain prompt clause, so this doesn't have to time out in order to
23274 fail.
23275
23276 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 23277 breakpoint hit messages include an address.
11cf8741
JM
23278
23279 * gdb.base/display.exp: Don't forget to escape parens in regular
23280 expressions. Unix regexp notatation sucks.
23281
232821999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23283
23284 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 23285 order for 'signalled' message.
11cf8741 23286
5c44784c
JM
232871999-11-01 Stan Shebs <shebs@andros.cygnus.com>
23288
23289 From Jimmy Guo <guo@cup.hp.com>:
23290 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
23291 * gdb.base/annota1.c: Add code for tests to work with.
23292
232931999-10-26 Frank Ch. Eigler <fche@cygnus.com>
23294
23295 * gdb.base/remote.exp: New test for remote downloading settings.
23296 * gdb.base/remote.c: New file with large .data.
23297
917317f4
JM
232981999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
23299
23300 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
23301 for LinuxThreads support, merged from the Code Fusion branch.
23302
23303Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
23304
23305 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
23306 containing exp_continue into a while within an expect. Don't
23307 attempt a start more than three times. Check return value from
23308 gdb_load.
d63a86f8 23309
2df3850c
JM
23310Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
23311
23312 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 23313 a pass case.
2df3850c 23314
2acceee2
JM
233151999-10-01 Kevin Buettner <kevinb@cygnus.com>
23316
23317 * gdb.base/break.c (main): Added a statement that we can step
23318 off of.
23319 * gdb.base/break.exp: Added tests for setting a breakpoint
23320 at an offset and stepping onto a breakpoint.
23321
233221999-10-01 Fred Fish <fnf@cygnus.com>
23323
d63a86f8 23324 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
23325 gdb output.
23326
c2c6d25f
JM
233271999-09-18 Jim Blandy <jimb@cris.red-bean.com>
23328
23329 * gdb.base/break.exp: Code locations are in hex, don't forget!
23330 (For HP-UX.)
23331
233321999-09-17 Stan Shebs <shebs@andros.cygnus.com>
23333
23334 * condbreak.exp: Use break.c as test program.
23335 * condbreak.c: Remove, redundant with break.c.
23336
233371999-09-15 Stan Shebs <shebs@andros.cygnus.com>
23338
23339 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 23340 Z-packets if the target needs it.
c2c6d25f
JM
23341
233421999-09-13 James Ingham <jingham@leda.cygnus.com>
23343
23344 * gdb.c++/overload.exp: Added tests for listing overloaded
23345 functions with function pointers in the arg, explicitly calling
23346 out the version you want.
23347
cff3e48b
JM
233481999-09-09 Stan Shebs <shebs@andros.cygnus.com>
23349
23350 * long_long.exp: Add variations of test cases that work for
23351 targets with 16-bit ints and 32-bit doubles.
23352
d4f3574e
SS
233531999-09-08 Stan Shebs <shebs@andros.cygnus.com>
23354
23355 * break.c (main): Compare a possibly-uninitialized argc with an
23356 unlikely value that fits in 16 bits.
23357
233581999-09-07 Stan Shebs <shebs@andros.cygnus.com>
23359
23360 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
23361 0xfeeb, don't want negative numbers if ints are 16 bits.
23362
23363 * lib/gdb.exp (skip_cplus_tests): New proc.
23364 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
23365 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
23366 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
23367 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
23368 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
23369 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
23370 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
23371 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
23372
23373 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
23374
23375Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
23376
23377 * gdb.base/corefile.exp (up): Allow a parameter to appear
23378 in the frame that we're going up to.
23379
23380 From Jim Blandy <jimb@cygnus.com>:
23381
23382 * gdb.base/default.exp (info float): Expect some output now.
23383
23384 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
23385 returning floating-point values to fail on the x86.
23386 * gdb.base/callfwmall.exp (do_function_calls): Same.
23387
23388 * gdb.base/list.exp (test_listsize): Correct expectations for
23389 listing line 1 with listsize 2. Also, listing a single line
23390 works now, as does listing three lines. [Kevin's note: There
23391 were a number of other cases fixed too where the expectations
23392 differed...]
23393
233941999-09-02 Stan Shebs <shebs@andros.cygnus.com>
23395
23396 * gdb.base/selftest.exp: Add case for when version prints as
23397 constant string instead of char pointer.
23398
104c1213
JM
233991999-08-25 Stan Shebs <shebs@andros.cygnus.com>
23400
23401 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 23402 stepping out of main.
104c1213
JM
23403
23404 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
23405 G++ used.
23406
23407 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 23408 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
23409
23410 * gdb.c++/ovldbreak.exp: Update match string in test that
23411 includes a warning of multiple breakpoints.
23412
234131999-08-24 Stan Shebs <shebs@andros.cygnus.com>
23414
23415 * gdb.base/display.exp: Improve precision of step-after-finish
23416 added yesterday.
23417
23418 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 23419 test.
104c1213
JM
23420
23421 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
23422 configs when using G++, not just hppa*.
23423
234241999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23425
23426 * gdb.base/async.c: New file.
23427 * gdb.base/async.exp: New file.
23428
23429Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
23430
23431 * gdb.base/break.exp: Tweak PA specific tests to properly handle
23432 PA64.
23433
53a5351d
JM
23434Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
23435
104c1213
JM
23436 * gdb.base/display.exp: "finish" can leave us mid-line on many
23437 targets, deal with it. Add a small constant to main, instead of
23438 1000 since main+1000 may not be a valid address in the target.
23439
53a5351d
JM
23440 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
23441 on hpux11.
23442
23443 * gdb.base/attach.exp: Handle another hpux11 error message variant
23444 when attaching to a process that does not exist.
23445
234461999-08-19 J.T. Conklin <jtc@redback.com>
23447
23448 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 23449 characters in 'continue to 1241' test.
53a5351d
JM
23450
234511999-08-17 Stan Shebs <shebs@andros.cygnus.com>
23452
23453 * gdb.base/call-ar-st.exp: Add a shorter match case for the
23454 stop in print_long_arg_list, define and use a whitespace
23455 variable in print_small_structs test, add an XFAIL for Solaris.
23456 * gdb.base/dbx.exp: XFAIL func commands until somebody is
23457 interested enough to fix.
23458
7be570e7
JM
234591999-08-13 Keith Seitz <keiths@cygnus.com>
23460
23461 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
23462 (dbx_gdb_load): Remove. Use gdb_load instead, since that
23463 proc knows about targets other than the natives.
23464 (test_assign): Use "gdb_run_cmd" to "run" the target.
23465 Check that we've actually hit the breakpoint at main.
23466 When we attempt to assign a value to a local variable, check
23467 that the variable is in the current scope, i.e., don't use
23468 a test with an empty result.
23469
23470Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
23471
23472 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 23473 command.
7be570e7
JM
23474
234751999-08-09 Stan Shebs <shebs@andros.cygnus.com>
23476
23477 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23478 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
23479 gdb.compat, gdb.threads-hp.
23480 gdb.hp/configure, gdb.hp/configure.in: New files.
23481 gdb.hp/Makefile.in: Recurse into new subdirs.
23482 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
23483 gdb.hp/gdb.objdbg: New directory, tests for debugging info
23484 in object files.
23485 gdb.hp/tools: New directory, aux tools for HP-specific tests.
23486
96baa820
JM
234871999-08-05 Stan Shebs <shebs@andros.cygnus.com>
23488
23489 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 23490 funky printf, remove a bogus p/a test.
96baa820
JM
23491
234921999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23493
23494 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
23495 connected to the target. This is necessary when running not
23496 natively.
96baa820
JM
23497
234981999-08-03 Stan Shebs <shebs@andros.cygnus.com>
23499
23500 * gdb.base/step-test.exp: Removed some extraneous messages.
23501
23502 * gdb.base/long_long.exp: Don't run memory examination tests
23503 on little-endian targets (they will need a different set of
23504 results to match).
23505
235061999-08-02 Stan Shebs <shebs@andros.cygnus.com>
23507
23508 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
23509 until somebody decides to fix GDB.
23510
23511 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 23512 constant as "ULL".
96baa820
JM
23513 * gdb.base/long_long.exp: Loosen x/c test, add partial result
23514 matches for a couple x/2 commands.
23515
a0b3c4fd
JM
235161999-07-30 Stan Shebs <shebs@andros.cygnus.com>
23517
23518 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
23519 by merging in ref-types2 tests.
23520 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
23521
23522 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23523 * gdb.c++/Makefile.in: Add standard actions.
23524 (EXECUTABLES): Rename from PROGS, update list.
23525 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
23526 from gdb.hp.
23527 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
23528 foo and bar locals.
23529 * gdb.c++/anon-union.exp: Fix tests to match.
23530 * gdb.c++/classes.exp: Run if HP compiler used, add extra
23531 expect matches to handle output variations.
23532 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
23533 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 23534 output, add HP alternatives for new and delete prints.
a0b3c4fd 23535 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 23536 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
23537 * gdb.c++/demangle.exp: Use $style when reporting failure.
23538 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
23539 * gdb.c++/inherit.exp: Run if HP compiler used, add some
23540 match alternatives.
23541 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 23542 compilers.
a0b3c4fd
JM
23543 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
23544 * gdb.c++/method.exp: Add match alternatives.
23545 * gdb.c++/misc.cc: Add bool types.
23546 * gdb.c++/misc.exp: Add tests for bool types.
23547 * gdb.c++/overload.exp: Add xfails.
23548 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
23549 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
23550 add some more template parameter tests (only for HP currently).
23551 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
23552 * gdb.c++/virtfunc.cc: Add return type and value for main.
23553 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
23554 match alternatives.
d63a86f8 23555
a0b3c4fd
JM
235561999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23557
23558 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
23559
235601999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
23561
23562 * gdb.base/signals.exp: Don't expect getting a backtrace from
23563 within a signal handler to fail on Linux.
23564
235651999-07-29 Stan Shebs <shebs@andros.cygnus.com>
23566
23567 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23568 * lib/gdb.exp: Remove some gratuitious semicolons.
23569 (delete_breakpoints): Increase timeout.
23570 (gdb_expect): Add -notransfer option.
23571 (gdb_test): Use -notransfer option.
23572 (get_compiler_info): Add f77 case.
23573 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 23574 case.
a0b3c4fd
JM
23575 (gdb_preprocess): Call get_compiler.
23576
23577 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
23578 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
23579 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
23580 gdb.base/long_long.exp, gdb.base/printcmds.exp,
23581 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
23582 third arg to gdb_test.
a0b3c4fd
JM
23583 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
23584 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 23585 HP-UX xfails, add others.
a0b3c4fd
JM
23586 * gdb.base/completion.exp: Reflect name change of self-test.
23587 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
23588 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
23589 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
23590 HP failure number.
a0b3c4fd
JM
23591 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
23592 useless HP-UX 10.30 references.
23593 * gdb.base/maint.exp: Loosen matches.
23594 * gdb.base/pointers.c (main): Declare more_code.
23595 * gdb.base/pointers.exp: Match on output of a `next'.
23596 * gdb.base/structs.c: Add prototypes.
23597 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
23598 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
23599
236001999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23601
23602 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 23603 command.
a0b3c4fd
JM
23604
236051999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23606
23607 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
23608 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
23609
23610 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
23611 debug info. Deal with lack of signal hanlder info in stack.
23612
a9c64011 23613 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
23614 * gdb.base/annota1.exp: If printf has debug info, deal with it.
23615
5a2468f5
JM
236161999-07-19 Stan Shebs <shebs@andros.cygnus.com>
23617
23618 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 23619 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 23620
adf40b2e
JM
23621Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23622
23623 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 23624 a1-selftest.exp.
adf40b2e
JM
23625 * gdb.base/configure: Re-generate.
23626
236271999-07-12 Stan Shebs <shebs@andros.cygnus.com>
23628
23629 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
23630 in trying to run first and name is too long.
23631
23632 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
23633 pointers2.c and pointers2.exp, respectively.
23634 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
23635 doschk happier.
23636
43e526b9
JM
236371999-07-08 Stan Shebs <shebs@andros.cygnus.com>
23638
23639 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
23640 callfuncs2.c and callfuncs2.exp.
23641
23642 * gdb.base/list.exp: Remove mistaken xfails.
23643 * gdb.base/list0.h: Add optional prototypes.
23644
9846de1b
JM
23645Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
23646
a9c64011 23647 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 23648 calling malloc.
a9c64011
AS
23649 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
23650 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 23651 use.
9846de1b
JM
23652
236531999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23654
23655 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
23656 * gdb.base/annota2.cc, annota2.exp: Move from here.
23657 * gdb.c++/annota2.cc, annota2.exp: To here.
23658 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
23659
43ff13b4
JM
23660Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
23661
23662 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 23663 a consistent format.
43ff13b4 23664
085dd6e6
JM
236651999-06-25 Stan Shebs <shebs@andros.cygnus.com>
23666
23667 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23668 * lib/gdb.exp (get_compiler_info): Add detection for assorted
23669 HP compilers, also set the globals $true and $false.
23670
23671 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
23672 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
23673 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
23674 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
23675 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
23676 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
23677 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
23678 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
23679 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
23680 whatis.c} Add C++ compatible function definitions and return
23681 types, add includes for library functions.
085dd6e6
JM
23682 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
23683 * gdb.base/step-test.c (myglob): Rename from glob.
23684 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
23685 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
23686 files, move here from gdb.hp.
085dd6e6 23687 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
23688 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
23689 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
23690 Adjust line numbers in regexps.
085dd6e6
JM
23691
23692 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
23693 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
23694 instead of 0/1.
23695
23696 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
23697 foll-vfork.exp: New files, move here from gdb.hp.
23698 * gdb.base/page.exp: New file, test of pagination command.
23699
23700 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
23701 recursion test.
23702 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
23703
23704 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 23705 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
23706
23707 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 23708 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 23709 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 23710 watchpoint test.
085dd6e6
JM
23711 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
23712 them work.
23713 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
23714 expressions properly.
23715 * gdb.base/corefile.exp: Loosen the match slightly.
23716 * gdb.base/default.exp: Allow "Error accessing memory" message
23717 also.
23718 * gdb.base/display.exp: Skip over x/0 j if PA64.
23719 * gdb.base/funcargs.exp: Add xfails for HP-UX.
23720 * gdb.base/interrupt.exp: Ditto.
23721 * gdb.base/langs.exp: Add symbolic matches governed by compiler
23722 in use.
23723 * gdb.base/list.exp: Add xfails for HP-UX.
23724 * gdb.base/long_long.exp: Refine some of the numeric matches.
23725 * gdb.base/mips_pro.exp: Xfail on HP-UX.
23726 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
23727 * gdb.base/nodebug.exp: Succeed on more varieties of output.
23728 * gdb.base/opaque.exp: Remove some HP-UX xfails.
23729 * gdb.base/ptype.exp: Succeed on more varieties of output.
23730 * gdb.base/scope.exp: Add xfails for HP-UX.
23731 * gdb.base/sect-cmd.exp: Add more cases.
23732 * gdb.base/setvar.exp: Add xfails for HP-UX.
23733 * gdb.base/shlib-call.exp: Loosen some matches slightly.
23734 * gdb.base/signals.exp: Match on void symbolically.
23735 * gdb.base/step-test.exp: Add case for PA64.
23736 * gdb.base/term.exp: Add exit and restart.
23737 * gdb.base/twice.exp: Clean up after self.
23738 * gdb.base/varargs.exp: Disable overload resolution explicitly.
23739 * gdb.base/whatis.exp: Allow more ways to pass tests.
23740
23741 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 23742 no longer useful.
085dd6e6
JM
23743
23744Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
23745
23746 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 23747 list of patterns.
085dd6e6 23748 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
23749 print_double_array(double_array)", "continuing to breakpoint
23750 1018", "print print_double_array(array_d)" and "continuing to
23751 1034" tests.
d63a86f8 23752
085dd6e6
JM
237531999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
23754
a9c64011 23755 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
23756
237571999-06-24 Stan Shebs <shebs@andros.cygnus.com>
23758
23759 * config/mt-*: Remove, these haven't been used since 1996.
23760
237611999-06-22 Stan Shebs <shebs@andros.cygnus.com>
23762
23763 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 23764 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
23765 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
23766
9e0b60a8
JM
237671999-06-18 Stan Shebs <shebs@andros.cygnus.com>
23768
23769 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
23770 simpler match case for the ptype of the big class.
23771
237721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23773
23774 * gdb.exp: Fix test for gdb_prompt existence.
23775
237761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23777
23778 * gdb.exp (gdb_test): Add fail after calls to perror.
23779
237801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23781
23782 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
23783
237841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23785
23786 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
23787
0f71a2f6
JM
23788Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
23789
23790 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 23791 malloc() is linked in.
0f71a2f6
JM
23792
237931999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23794
23795 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
23796 step at end.
23797
23798 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
23799
238001999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
23801
23802 * gdb.java/jv-print.exp: New file. (Our first Java test!)
23803
cce74817
JM
23804Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
23805
23806 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
23807 * gdb.base/mips_pro.exp: Likewise.
23808
238091999-06-02 Keith Seitz <keiths@cygnus.com>
23810
23811 * gdb.c++/templates.cc: Change all "new" operators to throw
23812 an exception.
23813 * gdb.c++/cplusfuncs.cc: Likewise.
23814
23815 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23816
23817Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23818
23819 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
23820 * gdb.base/ending-run.exp: When stepping out of main, accept a
23821 step into an arbitrary assembler file.
cce74817 23822
392a587b
JM
238231999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23824
d63a86f8 23825 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 23826 "breakpoint-invalid" to be printed.
d63a86f8 23827 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
23828 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23829 * gdb.base/annota2.cc: Initialize a.x to 0.
23830
9e086581
JM
238311999-05-17 Keith Seitz <keiths@cygnus.com>
23832
23833 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23834 when "skip_float_tests" set.
23835 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23836 "print print_ten_doubles", and "step into print_long_arg_list".
23837 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23838 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23839 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23840 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23841 "skip_float_tests" is set.
23842 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23843 when "skip_float_tests" set.
d63a86f8 23844
cd0fc7c3
SS
238451999-05-06 Keith Seitz <keiths@cygnus.com>
23846
23847 * gdb.base/annota2.cc: Include stdio.h.
23848
23849Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23850
23851 * gdb.base/crossload.exp: Remove, this has been disabled ever
23852 since BFD stopped including all targets, and cross-GDB gets
23853 plenty of testing anyway.
23854 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
23855 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23856 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
23857 * gdb.base/README: Remove, was doc for this.
23858 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 23859 needed.
cd0fc7c3 23860
b83266a0
SS
238611999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23862
23863 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23864 output.
23865
23866 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23867 * gdb.base/annota2.exp: New file. More annotation tests.
23868 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23869 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23870
238711999-04-23 Angela Marie Thomas <angela@cygnus.com>
23872
23873 * config/cfdbug.exp: New file.
23874
7a292a7a
SS
238751999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23876
23877 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23878 Marcus Daniel's and Dale Hawkins's demangler crashes.
23879
23880 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
23881 test_lucid_style_demangling, test_arm_style_demangling,
23882 test_hp_style_demangling): Try Tom Tromey's core-dumping
23883 identifier under each demangling style.
7a292a7a
SS
23884
238851999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23886
23887 * gdb.c++/demangle.exp: Include the current demangling style
23888 in all test names.
23889 (current_demangling_style): New global variable.
23890 (set_demangling_style, test_demangling_core, test_demangling,
23891 test_demangling_exact): New functions.
23892 (test_gnu_style_demangling, test_lucid_style_demangling,
23893 test_arm_style_demangling, test_hp_style_demangling): Use those,
23894 instead of calling gdb_test and gdb_test_exact directly.
23895 (catch_demangling_errors): New function, which reports errors
23896 signalled by the demangling test functions in an orderly way.
23897 (do_tests): Use catch_demangling_errors.
23898
238991999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23900
23901 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 23902 grouping in expressions, not {}.
7a292a7a
SS
23903
23904 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 23905 initialized yet.
7a292a7a
SS
23906
239071999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23908
23909 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23910 are listed.
23911
239121999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23913
23914 * gdb.stabs/weird.exp: Test for CC being defined before
23915 looking at its value.
23916
239171999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23918
23919 * gdb.base/call-ar-st.exp: Remove stray '#'.
23920 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23921 "short int" and "long int".
23922 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 23923 change, to mollify finicky HP compiler.
7a292a7a
SS
23924 * gdb.hp/reg-test.exp (testfile): Fix file name.
23925 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 23926
7a292a7a
SS
23927 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23928 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23929 alternate form of enum ptype.
23930
c906108c
SS
239311999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23932
7a292a7a
SS
23933 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23934 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
23935 passing skip_hp_tests, so as not to waste time on guaranteed
23936 failure.
7a292a7a 23937
c906108c
SS
23938 * gdb.c++/overload.cc: Pass string instead of char addr, always
23939 init ccpfoo.
23940 * gdb.c++/templates.cc: Fix syntax error.
23941
7a292a7a
SS
23942Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23943
23944 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 23945 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
23946 command.
23947
239481999-03-18 James Ingham <jingham@cygnus.com>
23949
23950 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23951
23952 * gdb.c++/method.exp: It was testing an uninitialized int on the
23953 stack and assuming it was positive.
23954
23955 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23956
23957 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 23958 keep it from killing the rest of the tests.
7a292a7a
SS
23959 Use gdb_continue_to_end.
23960
23961 * gdb.base/sigall.exp: use gdb_continue_to_end.
23962
23963 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23964
23965 * gdb.base/display.exp: use runto_main, not run.
23966
d63a86f8
RM
23967 * gdb.base/default.exp: Check for the current error message in the
23968 r abbreviation test.
7a292a7a
SS
23969 Add strongarm to the targets that know info float.
23970
d63a86f8 23971 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
23972 run which doesn't work with monitors.
23973
23974 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23975
23976 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23977
23978 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
23979 program. Traps the case (in Cygmon) when the program never really
23980 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
23981 more places, so I used my name. Sorry Mark...
23982
23983 * config/monitor.exp (gdb_target_monitor): added another
23984 target_info parameter: remotebinarydownload. This will set the
23985 remotebinarydownload flag if this is causing some boards trouble.
23986
239871999-03-18 Mark Salter <msalter@cygnus.com>
23988
23989 * lib/gdb.exp (continue_to_exit): New function.
23990
23991 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23992 * gdb.base/ending-run.exp: Ditto.
23993 * gdb.base/step-test.exp: Ditto.
23994
239951999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23996
23997 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23998 (suggested by Art Haas <ahaas@neosoft.com>).
23999
240001999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
24001
889bf7c5 24002 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
24003
24004Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
24005
24006 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 24007 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
24008
240091999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
24010
24011 * gdb.base/call-strs.exp: Don't assume that `step' will step over
24012 a call to strlen; sometimes we do have sources.
24013
240141999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
24015
24016 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 24017 character, so GDB won't print garbage after its end.
d63a86f8 24018
c906108c
SS
24019 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
24020 breakpoint there instead. Sometimes GCC emits memcpy to handle
24021 the large structures being passed by value, so we step into that
24022 instead of sum_array_print, which obscures what we're really testing.
24023 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
24024 the bizarre steps into memcpy, so do that here. Add check for
24025 stepping into function calls that pass large structures by value.
24026 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
24027 Remove all references to specific line numbers.
24028 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
24029 New type and function.
24030 (main): Call large_struct_by_value, passing it a large struct by value.
24031 * lib/gdb.exp (gdb_get_line_number): New function.
24032
24033 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
24034 more portable.
24035
7a292a7a
SS
240361999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
24037
c906108c
SS
24038 * lib/gdb.exp: Doc fixes.
24039
7a292a7a
SS
240401999-03-05 Nick Clifton <nickc@cygnus.com>
24041
d63a86f8 24042 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
24043
240441999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
24045
c906108c 24046 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
24047 commands. They're not germane to this test, and they don't work
24048 that way on remote targets.
c906108c 24049
3fc11d3e
JM
240501999-03-01 James Ingham <jingham@cygnus.com>
24051
24052 * Changelog entries merged over from gdb development branch.
24053
3fc11d3e
JM
24054 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
24055
24056 * lib/gdb.exp (gdbtk_analyze_results): Generic function
24057 for outputting results of test run.
24058
2d4a1622 24059 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
24060
24061 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 24062
7a292a7a
SS
240631999-02-25 Felix Lee <flee@cygnus.com>
24064
24065 * lib/gdb.exp (debug_format): initialize
24066
c906108c
SS
240671999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
24068
24069 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
24070 * gdb.base/call-rt-st.c: Ditto.
24071
c906108c
SS
240721999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
24073
24074 * gdb.threads/pthreads.exp (horiz): New variable.
24075 (test_startup): Fix regexps that capture thread numbers.
24076
240771999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
24078
24079 * gdb.base/smoke.exp: Disambiguate two test case names (both
24080 called ``print'').
24081
24082Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24083
24084 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 24085 compilation.
c906108c
SS
24086
240871999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24088
24089 * gdb.base/miscexprs.exp: Change patterns to match GDB's
24090 actual output formatting.
24091 * gdb.base/smoke.exp: GDB removes leading 0's.
24092 * gdb.base/volatile.exp: Don't check type of remuneration;
24093 that variable is no longer defined in constvars.c.
24094 * gdb.base/step-test.c (main): Exit with explicit exit code.
24095 * gdb.base/step-test.exp: Remove two nexti checks--they are
24096 not portable.
24097
240981999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
24099
24100 * gdb.base/help.exp ("help delete display"): Fix test to match
24101 gdb's output.
24102
24103 * gdb.base/long_long.c (known_types): Initialize values to zero.
24104 * gdb.base/long_long.exp: Step one more line
24105 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
24106 leading zeros. Explicitly ask for hex formatting. Use
24107 unique test case names.
c906108c
SS
24108
24109Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24110
d63a86f8 24111 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
24112
24113 * gdb.c++/method.exp: Add missing close brace.
24114
241151999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
24116
24117 * gdb.base/maint.exp: Use 'set height 0' to disable page
24118 prompting, not 'set height 400'.
24119
24120 Fix a bunch of timeouts.
24121 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
24122 four separate tests, so expect doesn't take forever to match a ton
24123 of text against a regexp with lots of .* forms.
24124 ("maint print psymbols", "maint print symbols"): Make some of
24125 these greps more selective, so that expect doesn't try to wade
24126 through huge piles of output and time out.
24127
24128 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
24129
24130 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
24131 tests: one which doesn't expect shlib events to be reported, and
24132 another which does, but is XFAIL for all platforms other than
24133 HP/UX.
c906108c
SS
24134
24135 * gdb.base/break.exp: Teach the test suite that the `catch
24136 fork', `catch vfork', and `catch exec' commands produce error
24137 messages on platforms that don't provide these features.
24138
24139Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24140
24141 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
24142 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
24143 (shortening names from solib_threshold.exp etc), won't run on
24144 anything but HP-UX for the foreseeable future.
c906108c 24145 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 24146 reflect move.
c906108c
SS
24147
24148Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
24149
24150 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 24151 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
24152
24153Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
24154
24155 * gdb.base/shlib-call.exp: add test cases to verify that gdb
24156 successfully re-sets breakpoints in shared libraries.
24157 * gdb.base/shmain.c (main): return 0, don't fall off the end.
24158
24159Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24160
d63a86f8
RM
24161 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
24162 and compiled w/o GCC.
c906108c
SS
24163
24164 * gdb.hp/watch-cmd.exp: ditto.
24165
24166 * gdb.hp/watch-hp.exp: ditto.
24167
24168 * gdb.hp/xdb1.exp: ditto.
24169
24170 * gdb.hp/xdb2.exp: ditto.
24171
24172 * gdb.hp/dbx.exp: ditto.
24173
24174Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
24175
24176 * constvars.c: Remove C++-isms.
24177 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 24178 with GCC.
c906108c
SS
24179
24180Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
24181
24182 The following changes are part of the HP merge.
24183
24184 * gdb.base/break.exp: new tests to verify that catchpoints for
24185 fork, vfork, and exec don't trigger inappropriately.
24186
24187 * gdb.base/opaque.exp: compile one file at a time, then link.
24188
24189 * gdb.base/signals.exp: be more restrictive about which hppa
24190 systems receive a setup_xfail. new tests.
24191
24192 * gdb.base/solib_threshold.build: new file.
24193 * gdb.base/solib_threshold.exp: new file.
24194 * gdb.base/solib_threshold.link_opts: new file.
24195 * gdb.base/solib_threshold.mk: new file.
24196 * gdb.base/gen_solib_threshold.c: new file.
24197
24198 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
24199 tests. New tests for enums inside classes.
24200
24201 * gdb.c++/compiler.cc: indicate support of template debugging.
24202
24203 * gdb.c++/demangle.exp: run hp style demangling tests.
24204
24205 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
24206 tests.
24207
24208 * gdb.c++/misc.cc: changes to support new tests.
24209
24210 * gdb.c++/templates.cc: changes to support HP's compiler; changes
24211 to support new tests.
24212
24213 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
24214 gcc, then skip these tests.
24215
24216Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
24217
24218 The following files are part of the HP merge; some had longer
24219 names at HP, but have been renamed to be no more than 14
24220 characters in length.
24221
24222 * gdb.hp/ambiguous.cc: new file.
24223 * gdb.hp/ambiguous.exp: new file.
24224 * gdb.hp/attach.exp: new file.
24225 * gdb.hp/attach2.exp: new file.
24226 * gdb.hp/classes-hp.exp: new file.
24227 * gdb.hp/ctti.exp: new file.
24228 * gdb.hp/ctti-add.cc: new file.
24229 * gdb.hp/ctti-add1.cc: new file.
24230 * gdb.hp/ctti-add2.cc: new file.
24231 * gdb.hp/ctti-add3.cc: new file.
24232 * gdb.hp/dbx.exp: new file.
24233 * gdb.hp/exception.cc: new file.
24234 * gdb.hp/exception.exp: new file.
24235 * gdb.hp/foll-exec.c: new file.
24236 * gdb.hp/foll-exec.exp: new file.
24237 * gdb.hp/foll-fork.c: new file.
24238 * gdb.hp/foll-fork.exp: new file.
24239 * gdb.hp/foll-vfork.c: new file.
24240 * gdb.hp/foll-vfork.exp: new file.
24241 * gdb.hp/inherit-hp.exp: new file.
24242 * gdb.hp/more-steps.exp: new file.
24243 * gdb.hp/namespace.cc: new file.
24244 * gdb.hp/namespace.exp: new file.
24245 * gdb.hp/optimize.exp: new file.
24246 * gdb.hp/pxdb.c: new file.
24247 * gdb.hp/pxdb.exp: new file.
24248 * gdb.hp/quicksort.exp: new file.
24249 * gdb.hp/reg-test.exp: new file.
24250 * gdb.hp/reg-test.s: new file.
24251 * gdb.hp/sized-enum.c: new file.
24252 * gdb.hp/sized-enum.exp: new file.
24253 * gdb.hp/start-stop.exp: new file.
24254 * gdb.hp/templ-hp.cc: new file.
24255 * gdb.hp/templ-hp.exp: new file.
24256 * gdb.hp/thr-lib.c: new file.
24257 * gdb.hp/thr-lib.exp: new file.
24258 * gdb.hp/thr-lib.h: new file.
24259 * gdb.hp/thr-liblib.c: new file.
24260 * gdb.hp/virtfun-hp.c: new file.
24261 * gdb.hp/virtfun-hp.exp: new file.
24262 * gdb.hp/watch-cmd.exp: new file.
24263 * gdb.hp/watch-hp.exp: new file.
24264 * gdb.hp/xdb1.exp: new file.
24265 * gdb.hp/xdb2.exp: new file.
24266 * gdb.hp/xdb3.exp: new file.
24267
24268Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
24269
24270 The following files are part of the HP merge; some had longer
24271 names at HP, but have been renamed to be no more than 14
24272 characters in length.
24273
24274 * gdb.base/ss.h: new file.
24275 * gdb.base/call-ar-st.c: new file.
24276 * gdb.base/call-ar-st.exp: new file.
24277 * gdb.base/call-rt-st.c: new file.
24278 * gdb.base/call-rt-st-exp: new file.
24279 * gdb.base/call-strs.exp: new file.
24280 * gdb.base/ena-dis-br.exp: new file.
24281 * gdb.base/environ.exp: new file.
24282 * gdb.base/long_long.exp: new file.
24283 * gdb.base/sect-cmd.exp: new file.
24284 * gdb.base/shlib-cl2.exp: new file.
24285 * gdb.base/smoke.exp: new file.
24286 * gdb.base/so-impl-ld.c: new file.
24287 * gdb.base/so-impl-ld.exp: new file.
24288 * gdb.base/so-indr-cl.c: new file.
24289 * gdb.base/so-indr-cl.exp: new file.
24290 * gdb.base/varargs.exp: new file.
24291 * gdb.base/volatile.exp: new file.
24292 * gdb.base/whatis-exp.exp: new file.
7a292a7a 24293 * gdb.base/display.exp: new file.
c906108c
SS
24294 * gdb.c++/derivation.exp: new file.
24295 * gdb.c++/local.exp: new file.
24296 * gdb.c++/member-ptr.exp: new file.
24297 * gdb.c++/overload.exp: new file.
24298 * gdb.c++/ovldbreak.exp: new file.
24299 * gdb.c++/ref-types.exp: new file.
24300 * gdb.c++/ref-types2.exp: new file.
24301 * gdb.c++/userdef.exp: new file.
d63a86f8 24302
c906108c
SS
24303Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
24304
24305 * gdb.base/default.exp: Reflect wording change in remote.c.
24306
dc96c6c7 24307Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24308
24309 * gdb.base/help.exp: Update to reflect current text.
24310
24311Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
24312
24313 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
24314 they're stack variables and contain garbage.
24315 * gdb.c++/anon-union.exp: new file.
24316
24317 The following changes were made by David Taylor
889bf7c5
PA
24318 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24319 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24320 in changes by HP.
c906108c
SS
24321
24322 * gdb.base/bitops.exp: new file.
24323 * gdb.base/default.exp: change expected messages for catch and
24324 info catch tests to reflect HP merge changes.
24325 * gdb.base/enable-disable-break.exp
24326 * gdb.base/ending-run.c: new file.
24327 * gdb.base/long_long.c: new file.
24328 * gdb.base/maint.exp: new file.
24329 * gdb.base/pointers2.exp: new file.
24330 * gdb.base/shlib-call2.exp: new file.
24331 * gdb.base/solib.exp: new file.
24332 * gdb.base/step-test.c: new file.
24333 * gdb.c++/anon-union.cc: new file.
24334 * gdb.c++/local.cc: new file.
24335 * gdb.c++/member-pointer.cc: new file.
24336 * gdb.c++/method.cc: new file.
24337 * gdb.c++/ref-types.cc: new file.
24338 * gdb.c++/ref-types2.cc: new file.
24339 * gdb.c++/userdef.cc: new file.
d63a86f8 24340
c906108c
SS
24341 * gdb.base/scope.exp: compile one file at a time, then link.
24342 * gdb.base/langs.exp: ditto.
24343 * gdb.base/list.exp: ditto.
d63a86f8 24344
c906108c
SS
24345Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
24346
24347 The following changes were made by David Taylor
889bf7c5
PA
24348 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24349 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24350 in changes by HP.
d63a86f8 24351
c906108c
SS
24352 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
24353 skip tests. When compiling pass c++ flag to gdb_compile.
24354 * gdb.c++/
d63a86f8 24355
c906108c
SS
24356 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
24357 test for on hppa*-*-hpux*; use args to see if c++ was specified.
24358 (skip_hp_tests): new function.
24359 (gdb_preprocess): new function.
24360
24361 * configure.in (hpdir): decide whether to configure gdb.hp.
24362 * configure: regenerated.
24363
24364 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
24365 to delete on clean.
24366 (EXECUTABLES): update to reflect new additions.
24367 * gdb.base/commands.exp: update message expected.
24368 * gdb.base/default.exp: add copyright notice.
24369 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
24370 * gdb.base/help.exp: update messages to reflect current text.
24371 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
24372 targets for recurse tests.
24373 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
24374 skip this file.
24375
24376 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
24377 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
24378 compilation.
24379 * gdb.c++/misc.exp: ditto.
24380 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
24381 run the tests. tell gdb_compile that it's a c++ compilation.
24382
24383 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 24384
c906108c
SS
24385 * gdb.base/all-bin.exp: new file.
24386 * gdb.base/arithmet.exp: new file.
24387 * gdb.base/assign.exp: new file.
24388 * gdb.base/completion.exp: new file.
24389 * gdb.base/cond-expr.exp: new file.
24390 * gdb.base/condbreak.exp: new file.
24391 * gdb.base/define.exp: new file.
24392 * gdb.base/dollar.exp: new file.
24393 * gdb.base/environment.exp: new file.
24394 * gdb.base/eval-skip.exp: new file.
24395 * gdb.base/jump.exp: new file.
24396 * gdb.base/logical.exp: new file.
24397 * gdb.base/pointers.exp: new file.
24398 * gdb.base/relational.exp: new file.
24399 * gdb.base/section_command.exp: new file.
24400 * gdb.base/whatis-expr.exp: new file.
24401
24402 * gdb.base/all-types.c: new file.
24403 * gdb.base/call-array-struct.c: new file.
24404 * gdb.base/call-return-struct.c: new file.
24405 * gdb.base/call-strings.c: new file.
24406 * gdb.base/callfuncs2.c: new file.
24407 * gdb.base/condbreak.c: new file.
24408 * gdb.base/constvars.c: new file.
24409 * gdb.base/display.c: new file.
24410 * gdb.base/int-type.c: new file.
24411 * gdb.base/jump.c: new file.
24412 * gdb.base/miscexprs.c: new file.
24413 * gdb.base/pointers.c: new file.
24414 * gdb.base/pointers2.c: new file.
24415 * gdb.base/shmain.c: new file.
24416 * gdb.base/shr1.c: new file.
24417 * gdb.base/shr2.c: new file.
24418 * gdb.base/solib.c: new file.
24419 * gdb.base/solib1.c: new file.
24420 * gdb.base/solib2.c: new file.
24421 * gdb.base/varargs.c: new file.
24422 * gdb.c++/derivation.cc: new file.
24423 * gdb.c++/overload.cc: new file.
24424 * gdb.c++/ovldbreak.cc: new file.
24425 * gdb.hp/attach.c: new file.
24426 * gdb.hp/attach2.c: new file.
24427 * gdb.hp/average.c: new file.
24428 * gdb.hp/compiler.c: new file.
24429 * gdb.hp/compiler.cc: new file.
24430 * gdb.hp/execd-program.c: new file.
24431 * gdb.hp/follow-exec.c: new file.
24432 * gdb.hp/follow-fork.c: new file.
24433 * gdb.hp/follow-vfork-and-exec.c: new file.
24434 * gdb.hp/misc-hp.cc: new file.
24435 * gdb.hp/more-steps.c: new file.
24436 * gdb.hp/optimize.c: new file.
24437 * gdb.hp/quicksort.c: new file.
24438 * gdb.hp/run-hp.c: new file.
24439 * gdb.hp/start-stop.c: new file.
24440 * gdb.hp/sum.c: new file.
24441 * gdb.hp/templates-hp.cc: new file.
24442 * gdb.hp/thread-local-in-lib.c: new file.
24443 * gdb.hp/thread-local-in-lib.h: new file.
24444 * gdb.hp/thread-local-in-lib.lib.c: new file.
24445 * gdb.hp/vforked-program.c: new file.
24446 * gdb.hp/virtfunc-hp.cc: new file.
24447 * gdb.hp/watchpoint-hp.c: new file.
24448 * gdb.hp/xdb.c: new file.
24449 * gdb.hp/xdb0.c: new file.
24450 * gdb.hp/xdb0.h: new file.
24451 * gdb.hp/xdb1.c: new file.
24452
24453Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
24454
24455 The following change was made by Edith Epstein
889bf7c5
PA
24456 <eepstein@cygnus.com> as part of a project to merge in changes
24457 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
24458
24459 * gdb.c++/demangle.exp: changed the expected output for some
24460 ARM-style mangling -- removed second reference to datatype.
889bf7c5 24461 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 24462 T1<char>::~T1<char>(void)
c906108c 24463 becomes,
a9c64011
AS
24464 maint demangle __dt__11T1__pt__2_cFv
24465 T1<char>::~T1(void)
c906108c 24466
889bf7c5 24467 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 24468
c906108c
SS
24469Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
24470
24471 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
24472 * gdb.trace/backtrace.exp: Likewise.
24473 * gdb.trace/circ.exp: Likewise.
24474 * gdb.trace/collection.exp: Likewise.
24475 * gdb.trace/deltrace.exp: Likewise.
24476 * gdb.trace/infotrace.exp: Likewise.
24477 * gdb.trace/limits.exp: Likewise.
24478 * gdb.trace/packetlen.exp: Likewise.
24479 * gdb.trace/passc-dyn.exp: Likewise.
24480 * gdb.trace/passcount.exp: Likewise.
24481 * gdb.trace/report.exp: Likewise.
24482 * gdb.trace/save-trace.exp: Likewise.
24483 * gdb.trace/tfind.exp: Likewise.
24484 * gdb.trace/tracecmd.exp: Likewise.
24485 * gdb.trace/while-dyn.exp: Likewise.
24486 * gdb.trace/while-stepping.exp: Likewise.
24487
244881998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
24489
24490 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
24491
24492Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
24493
24494 From Brendan Kehoe:
24495 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
24496 int return types.
24497
24498Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
24499
24500 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 24501 remote dos host testing right.
c906108c
SS
24502
24503Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
24504
24505 * gdb.base/corefile.exp: remove some xfails.
24506
24507Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
24508
24509 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 24510 have different timestamps.
c906108c
SS
24511
24512Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
24513
24514 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 24515 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
24516
24517Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
24518
24519 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 24520 delta.
c906108c
SS
24521
24522Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
24523
24524 * gdb.base/default.exp: Add brace missing from previous delta.
24525
24526Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
24527
24528 * gdb.base/default.exp: Support test for info float for all
24529 varieties of arm toolchain.
24530
dc96c6c7 24531Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24532
24533 * gdb.trace/*.exp: remove "remote_download" command.
24534
dc96c6c7 24535Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24536
24537 * gdb.trace/*.exp: remove -gdwarf from compile.
24538
24539Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
24540
24541 * gdb.trace/configure.in(AC_INIT): typo
24542 * gdb.trace/configure: regenerated
24543
dc96c6c7 24544Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24545
24546 * config/m68k-emc.exp: New file.
24547 * lib/<emc-support.exp trace-support.exp}: New files.
24548 * configure.in: add new test directory gdb.trace.
24549 * gdb.trace/{configure configure.in Makefile.in}: New files.
24550 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
24551 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
24552 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
24553 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
24554 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
24555 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
24556 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 24557
dc96c6c7 24558Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24559
24560 * gdb.c++/classes.exp: Change all regular expressions to match
24561 arbitrary combinations of newline/carriage-return, so that they
24562 will work equally well on Unix and Windows.
24563 * gdb.c++/inherit.exp: ditto.
24564 * gdb.c++/virtfunc.exp: ditto.
24565
245661998-08-11 Dawn Perchik <dawn@cygnus.com>
24567
24568 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
24569
c2d11a7d
JM
24570Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
24571
24572 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
24573 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
24574 to use a0-a3/d0-d3 as needed.
24575
24576Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
24577
24578 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
24579 * gdb.disasm/am33.exp: Corresponding changes.
24580
c906108c
SS
245811998-07-11 Felix Lee <flee@cygnus.com>
24582
24583 * gdb.base/callfuncs.exp: add cmp10 test.
24584 * gdb.base/callfuncs.c (cmp10): new function.
24585
24586Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
24587
d63a86f8 24588 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
24589 into two parts to get around a synchronization problem in expect.
24590
3fc11d3e
JM
24591Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
24592
24593 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
24594
24595 * configure.in: Add options for gdbtk testsuite.
24596
24597 * configure: Regenerate.
24598
24599 * gdb.gdbtk: New directory to hold gdbtk tests.
24600
c906108c
SS
24601Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24602
24603 * gdb.fortran/types.exp: Escape brackets in expect patterns
24604 for test_float_literal_types_accepted tests.
24605 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
24606 before run test.
24607
c2d11a7d
JM
24608Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
24609
24610 * am33.exp: Just compile, do not link the testcase.
24611 * am33.s: Add ".am33" pseudoop to force am33 mode.
24612
c906108c
SS
246131998-06-25 Felix Lee <flee@cygnus.com>
24614
24615 * gdb.base/setshow.exp: make sure $pc is sane.
24616
24617 * gdb.stabs/weird.exp: split expect patterns properly.
24618
c2d11a7d
JM
24619Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
24620
24621 * gdb.disasm/am33.s: New disassembler testfile for the am33.
24622 * gdb.disasm/am33.exp: Run it.
24623
dc96c6c7 24624Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24625
24626 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
24627 match processing (and eliminate spurious timeouts when running).
24628
dc96c6c7 24629Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24630
24631 * gdb.base/signals.exp (test_handle_all_print): put back Mach
24632 exception test, but conditionalize it on target [mach | gnu].
24633
dc96c6c7 24634Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24635
24636 * gdb.base/overlays.exp: fixup compile line for linker script.
24637
24638Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
24639
24640 * gdb.fortran/types.exp: don't guess at float size.
24641
24642Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
24643
24644 * gdb.base/exprs.exp: delete test that depends on int size.
24645
24646Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
24647
24648 * config/sim.exp: Removed checks for target triplets.
24649 (gdb_target_sim): Use gdb,target_sim_options.
24650
24651Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
24652
24653 * gdb.base/reread.exp: New file.
24654 * gdb.base/reread1.c: New file.
24655 * gdb.base/reread2.c: New file.
24656
24657Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
24658
24659 * config/sim.exp: Use 'target sim -sparclite' when running
24660 SPARClite programs.
24661
24662Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
24663
24664 * gdb.base/structs2.exp: New file.
24665 * gdb.base/structs2.c: New file.
24666
24667Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
24668
24669 * gdb.asm/common.inc: New file.
24670 * gdb.asm/d10v.inc: New file.
24671 * asm-source.exp: Pass -I's to gas to find .inc files.
24672 Update line numbers in expected output.
24673 * asmsrc1.s: Rewrite.
24674 * asmsrc2.s: Rewrite.
24675 * configure.in: Create arch.inc symlink.
24676 * configure: Regenerate.
24677 * Makefile.in (distclean): Delete arch.inc.
24678
24679Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
24680
24681 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
24682 (t_enum_value2): ditto
24683 (t_enum_value3): ditto
24684 (main): ditto
c906108c
SS
24685Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24686
24687 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
24688 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
24689 change.
24690 Use gdb_test instead of send_gdb/gdb_expect sequences.
24691
24692Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
24693
24694 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
24695 not void.
24696
24697Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
24698
24699 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
24700 subroutines. Used to test gdbs ability to single step through PC
24701 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
24702
24703Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
24704
24705 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
24706 more rigorous EGCS C++ error checking.
24707
24708Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24709
a9c64011
AS
24710 * gdb.base/help.exp: Clean up `help set args' and `help show args'
24711 tests.
24712 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
24713 function when asleep.
24714 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
24715 for i*86 Linux and SVR4 signal handling problems.
24716 Remove linux xfail for `next to handler in signals_tests_1', fixed
24717 by recent infrun.c change.
24718 Limit backtrace to 10 frames to avoid timeout problems with infinite
24719 stack backtraces.
24720 Adjust expect pattern in `handle all print' test to match Apr 28 1997
24721 target.[ch] change.
c906108c
SS
24722
24723Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
24724
24725 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
24726 for a newline from gdb before continuing.
24727 (default_gdb_exit): Just look for y or n.
24728 (gdb_test): Detect abnormal exit from GDB running on DOS; if
24729 it does, fail the rests of the tests in the file.
24730
24731Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
24732
24733 * config/cygmon.exp: New file.
24734
24735Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
24736
24737 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 24738 main" test on remote targets.
c906108c
SS
24739
24740 * gdb.base/scope.exp: Fix problem with filelocal_bss before
24741 run test on remote targets.
24742
24743Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
24744
24745 * gdb.asm: New directory.
24746 * configure.in: Configure it.
24747 * configure: Regenerate.
24748 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
24749 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
24750
24751Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
24752
24753 * config/mn10300-eval.exp: New file to support MN10300 eval board.
24754
dc96c6c7 24755Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24756
a9c64011
AS
24757 * gdb.base/overlays (several files): Merge the two overlay
24758 managers into one. Change variables (foox, barx, bazx, grbxx)
24759 back into ints but force them to load in their proper sections.
c906108c
SS
24760
24761Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
24762
24763 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 24764 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
24765 (D10VCopy): Handle memory regions crossing 16k boundaries.
24766 (D10VCopy): Transfer data in 32 bit chunks.
24767
24768Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
24769
24770 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 24771 correct.
c906108c
SS
24772
24773 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 24774 map. Include space for printf in .text segment.
c906108c
SS
24775
24776 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 24777 updated d10v memory VMA/LMA map.
c906108c 24778 (D10VCopy): Call D10VTranslate.
d63a86f8 24779
c906108c
SS
24780Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
24781
24782 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
24783
24784 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
24785 that it won't be put into the .sdata - small data -
24786 section. Update reference.
c906108c
SS
24787 * gdb.base/baz.c (bazx, baz): Ditto.
24788 * gdb.base/foo.c (foox, foo): Ditto.
24789 * gdb.base/grbx.c (grbxx, grbx): Ditto.
24790
24791 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 24792 to be arrays.
d63a86f8 24793
dc96c6c7 24794Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 24795
a9c64011
AS
24796 * gdb.base/overlays.exp: fix up and get working again.
24797 Add tests for backtraces from an overlay function.
d63a86f8 24798
c906108c
SS
24799Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
24800
24801 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
24802 "calling function with watchpoint enabled".
24803
24804Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
24805
24806 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 24807 gdb_suppress_tests for d10v-*-*.
c906108c
SS
24808 * lib/gdb.exp (gdb_suppress_tests): Disable this function
24809 pending review of whether it is useful or not.
24810
24811Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
24812
24813 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
24814
24815Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24816
24817 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24818 * config/dve.exp: New file to support Densan boards.
24819
24820Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24821
24822 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 24823 reads and BSD.
c906108c
SS
24824
24825Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24826
24827 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24828 response.
24829
24830 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24831
24832Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24833
24834 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 24835 test.
c906108c
SS
24836
24837 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 24838 target_sizeof_long and target_bigendian_p.
c906108c 24839 (structs_by_value, structs_by_reference): Check values according
889bf7c5 24840 to targets word size and endianess.
d63a86f8 24841
c906108c
SS
24842Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24843
24844 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 24845 output.
c906108c
SS
24846
24847Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24848
24849 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 24850 Update test of set args help to match source change.
c906108c
SS
24851
24852Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24853
24854 * gdb.base/default.exp: Expect help system output to be in
24855 alphabetical order.
24856 * gdb.base/help.exp: Ditto.
24857
24858Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24859
24860 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24861 "i*86-pc-linux-gnu*".
24862 * gdb.base/interrupt.exp: Ditto.
24863 * gdb.base/corefile.exp: Ditto.
24864
24865 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 24866 define vxworks when building the testcase.
c906108c
SS
24867
24868 * gdb.base/ptype.exp: Fix testnames to be unique.
24869 * gdb.base/radix.exp: Ditto.
24870 * gdb.base/term.exp: Ditto.
24871 * gdb.base/whatis.exp: Ditto.
24872 * gdb.c++/classes.exp: Ditto.
24873
24874Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24875
24876 * gdb.base/callfuncs.exp: Fix indentation.
24877
24878 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24879 suppress_flag has been set.
24880 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24881 target feature.
24882
24883Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24884
24885 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24886 the testcase.
24887
24888 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 24889 set_debug_traps() and breakpoint().
c906108c
SS
24890 * gdb.c++/misc.cc (main): Ditto.
24891 * gdb.c++/templates.cc (main): Ditto.
24892 * gdb.c++/virtfunc.cc (main): Ditto.
24893
24894Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24895
24896 * lib/gdb.exp(gdb_step_for_stub): New function.
24897 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24898 exists, reload the executable and do a "continue" instead of
24899 doing a jump.
24900 (runto_main): Use gdb_step_for_stub.
d63a86f8 24901
c906108c 24902 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 24903 tests to have unique names.
c906108c
SS
24904 * gdb.base/callfuncs.exp: Ditto.
24905 * gdb.base/commands.exp: Ditto.
24906 * gdb.base/default.exp: Ditto.
24907 * gdb.base/help.exp: Ditto.
24908 * gdb.base/list.exp: Ditto.
24909 * gdb.base/opaque.exp: Ditto.
24910 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24911 similar tests.
d63a86f8 24912
c906108c
SS
24913 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24914 * gdb.c++/cplusfuncs.cc: Ditto.
24915 * gdb.c++/virtfunc.cc: Ditto.
24916
24917 * config/monitor.exp: Keep track of the last file we saw, rather
24918 than trying to get the info from gdb.
24919
24920 * gdb.fortran/types.exp: Move comment to previous line.
24921
24922Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24923
24924 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 24925 target mode.
c906108c
SS
24926
24927Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24928
24929 From Bob Manson:
24930 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 24931 string from GDB when it connects.
c906108c
SS
24932
24933 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24934
24935Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24936
24937 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
24938 if we can't get a debug format from GDB (we may be testing an
24939 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
24940
24941 * gdb.stabs/weird.exp: Fix quoting.
24942
24943 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24944
24945Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24946
24947 * config/arm-ice.exp: New file.
24948
24949Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24950
24951 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 24952 until it has been modified to work with the new testsuite.
c906108c 24953
99707966 24954 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
24955 testcase won't compile, cause all of the testcases in the file to
24956 fail instead.
c906108c
SS
24957
24958 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24959 (gdb_clear_suppressed): New procedure.
24960 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24961 it contains a positive value.
24962
24963Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24964
24965 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24966
24967 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24968
24969Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24970
24971 * lib/gdb.exp (setup_xfail_format): New function.
24972 (get_debug_format): New function to get debug format.
24973 (debug_format): New global variable to hold last value set
24974 by get_debug_format.
24975 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 24976 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
24977 * gdb.c++/ptype.exp: Ditto.
24978 * gdb.c++/classes.exp: Ditto.
24979 * gdb.c++/cplusfuncs.exp: Ditto.
24980 * gdb.c++/inherit.exp: Ditto.
24981 * gdb.c++/templates.exp: Ditto.
24982 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 24983
c906108c
SS
24984Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24985
24986 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24987 host doesn't have a currently-open connection.
24988
24989 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
24990 any gdb stub target. Handle cases where gdb doesn't respond when
24991 interrupted in a sane fashion.
c906108c
SS
24992
24993 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 24994 same thing in a totally different way.
c906108c
SS
24995
24996 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 24997 setting "timeout".
c906108c 24998 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 24999 default_gdb_init now.
c906108c
SS
25000
25001Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
25002
25003 * gdb.base/printcmds.exp: Fix "check for floating addition"
25004 regexp to accept results within approx +/- .01 of exact value.
25005 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
25006
25007Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
25008
25009 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 25010 properly.
c906108c
SS
25011 (gdb_expect): Add optional timeout parameter, and add timeout
25012 value to various calls.
25013 (gdb_suppress_tests): Only give one warning message per group.
25014
25015Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
25016
25017 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
25018 global variables. Handle getting a value for $timeout more
25019 gracefully.
c906108c
SS
25020
25021Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25022
25023 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 25024 initialize.
c906108c 25025 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 25026 by a target configuration file.
c906108c
SS
25027 (gdb_expect): Pass the timeout to remote_expect.
25028
25029 * config/monitor.exp(gdb_load): Fix typo in regexp.
25030
25031Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
25032
25033 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
25034
25035Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
25036
25037 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
25038 here. Call gdb_target_exec before rebooting the target, to make
25039 sure the connection to the target is closed.
c906108c
SS
25040 (gdb_load): Pass the name of the executable to gdb_target_monitor.
25041 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
25042 Also detect "Timeout reading from remote" error.
25043
25044 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
25045 gdb_target_monitor. Don't call gdb_file_cmd here; let
25046 gdb_target_monitor do it.
c906108c
SS
25047
25048 * gdb.disasm/hppa.exp: Don't use exec_output.
25049
25050Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
25051
25052 * gdb.base/list.exp: If we're debugging a non-native target,
25053 try to set the pc register to point to the start of the
25054 program before doing the first list command.
25055
25056 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 25057 test_calls after restarting.
c906108c
SS
25058
25059 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 25060 reloading.
c906108c
SS
25061
25062 * gdb.base/watchpoint.exp: Fix typo.
25063
25064 * gdb.base/setshow.exp: Check for use_gdb_stub.
25065
25066 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 25067 stub case.
c906108c
SS
25068 * gdb.base/langs.exp: Ditto.
25069
25070 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
25071 gdb_load_offset. If we weren't given a file to load, figure out
25072 what the current file is and use it.
c906108c
SS
25073
25074 * config/i386-bozo.exp: New file.
25075
25076Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
25077
25078 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
25079 feature.
25080
25081 * config/proelf.exp: New entry.
25082
25083Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
25084
25085 * lib/gdb.exp: Remove spurious .* patterns at the beginning
25086 of regexps.
25087
25088 * gdb.base/watchpoint.exp: Don't run the test_stepping
25089 tests if gdb can't call functions on the target.
25090
25091 * gdb.base/setshow.exp: Don't run the set prompt tests if
25092 the board has gdb_prompt set.
25093
25094Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
25095
25096 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
25097 * gdb.base/commands.exp: Likewise.
25098 * gdb.base/setshow.exp: Likewise.
25099
25100Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
25101
25102 * config/monitor.exp(gdb_start): Look for gdb_prompt target
25103 feature.
25104
25105 * config/i960.exp: New file.
25106
25107Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
25108
25109 * gdb.base/funcargs.exp: Check for gdb,short_int target
25110 feature instead of looking for explicit target triplets.
25111
dc96c6c7 25112Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 25113
d63a86f8 25114 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
25115 "p 123DEADBEEF", to check parse_number.
25116 * top.c: change "to enable to enable" to "to enable" in a couple
25117 of help strings.
25118
25119Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
25120
25121 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
25122 on the mn10300.
d63a86f8 25123
c906108c
SS
25124Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
25125
25126 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
25127 where the test executable is run with explicit args.
25128 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
25129
25130Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
25131
25132 * gdb.base/run.c: Use FAKEARGV to build test executable that
25133 does not require a command line arg, since most simulators
25134 don't currently support passing such an arg into the simulated
25135 program.
25136 * gdb.base/commands.exp: Change tests to insert the proper
25137 value as the arg to the first recursive factorial call. Change
25138 compilation line to define FAKEARGV at compile time.
25139
25140Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
25141
25142 * gdb.base/recurse.exp: Enable these tests for the mn10300.
25143 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
25144 function with watchpoint enabled" test.
25145
25146Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
25147
25148 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 25149 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
25150
25151 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 25152 "Tests restarted" messages.
c906108c
SS
25153
25154Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
25155
25156 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
25157
dc96c6c7 25158Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25159
25160 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
25161 for INFO SYMBOL; add help tests for OVERLAY commands.
25162 * gdb.base/default.exp: add tests for INFO SYMBOL command;
25163 add tests for OVERLAY commands
25164 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
25165 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
25166 * gdb.base/sigall.c: add usestubs code frag
25167 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 25168
c906108c
SS
25169Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
25170
25171 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
25172 failures.
25173 (gdb_stop_suppressing_tests): Note that tests have restarted.
25174
25175Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
25176
25177 * config/h8300.exp: New file.
25178
25179Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
25180
25181 * gdb.base/setshow.exp: Check for the existence of a
25182 feature, not its value.
25183
25184Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
25185
25186 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
25187
25188 * gdb.base/scope.exp: It's now init0(), not init().
25189
25190 * gdb.base/scope0.c: For now, change init() to be init0().
25191
25192 * config/monitor.exp: Use gdb_serial in preference to serial
25193 or netport.
25194
25195 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 25196 and it's not already set.
c906108c
SS
25197
25198Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
25199
25200 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 25201 isn't using a stub and if it supports argument passing.
c906108c
SS
25202
25203Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
25204
25205 * config/udi.exp(gdb_start): Make sure UDICONF is set
25206 properly before starting gdb.
25207
25208Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
25209
25210 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
25211 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
25212 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
25213
25214Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
25215
25216 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 25217 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
25218
25219 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
25220
25221 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
25222
25223 * config/monitor.exp: Make sure we disconnect from the target.
25224 Also, try a reboot/reload cycle instead of failing if the
25225 load fails.
25226
25227Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
25228
25229 * gdb.base/default.exp: Don't set match_max.
25230 * gdb.base/help.exp: Ditto.
25231 * gdb.base/list.exp: Ditto.
25232 * gdb.base/signals.exp: Ditto.
25233
25234 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
25235 set, use remote_ld to download the testcase instead of
25236 the GDB loader.
25237
25238Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
25239
25240 * config/vr5000.exp: New file.
25241
25242 * config/monitor.exp(gdb_target_monitor): Add pattern for
25243 "Ending remote" to detect errors in connecting.
25244
25245 * gdb.base/setshow.exp: Add .* within auto language test.
25246
25247 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
25248 target feature.
25249
25250 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 25251 and reboot the board if necessary.
c906108c
SS
25252
25253 * gdb.base/setvar.exp(test_set): Handle multiple prints within
25254 a set of tests. Remove print.* from the patterns being checked.
25255
25256Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
25257
25258 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
25259 refer to gdb_spawn_id.
25260
25261 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
25262 longer used.
25263 * config/sparclet.exp: Ditto.
25264 * config/sparclet-old.exp: Ditto.
25265 * config/slite.exp: Ditto.
25266 * config/sim.exp: Ditto.
25267 * gdb.base/funcargs.exp: Ditto.
25268
25269 * lib/gdb.exp:Remove references to gdb_spawn_id.
25270 (gdb_expect): Move to remote.exp.
25271
25272Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
25273
25274 * config/monitor.exp: Detect the "Couldn't establish connection"
25275 message from GDB.
25276
25277Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
25278
25279 * gdb.base/bitfields.exp: Use runto instead of explicit
25280 gdb_run_cmd/gdb_expect sequences.
25281
25282 * gdb.base/break.exp(text_next_with_recursion): Add match for
25283 gdb_expect call.
25284
25285 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
25286 We also need to handle the "A program is being debugged already"
25287 prompt from gdb. Use gdb_test to set the baud rate.
25288
25289 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
25290 to 20000. Really. I mean it.
25291
25292Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25293
25294 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
25295 fails. If suppress_flag is set, skip perror message about not
25296 being able to send to GDB.
c906108c 25297 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 25298 GDB.
c906108c
SS
25299 (gdb_expect): If suppress_flag is set, always fail immediately.
25300 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
25301 (gdb_init): Call gdb_stop_suppressing_tests.
25302 (default_gdb_exit): Ditto.
25303 (default_gdb_start): Ditto.
25304
25305 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 25306 gdb_stop_suppressing_tests as appropriate.
c906108c 25307 * gdb.base/break.exp: Ditto.
889bf7c5 25308 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
25309 * gdb.base/commands.exp: Ditto.
25310 * gdb.base/exprs.exp: Ditto.
889bf7c5 25311 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
25312 * gdb.base/list.exp: Ditto.
25313 * gdb.base/recurse.exp: Ditto.
889bf7c5 25314 * gdb.base/scope.exp: Ditto.
c906108c
SS
25315 * gdb.base/structs.exp: Ditto.
25316 * gdb.c++/inherit.exp: Ditto.
25317
25318Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
25319
25320 * config/vr4300.exp: New file.
25321
99707966 25322 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 25323
99707966 25324 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
25325
25326Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
25327
25328 * lib/gdb.exp(gdb_init): New function.
25329
25330 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 25331 for each individual variable set.
c906108c
SS
25332
25333 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
25334 name.
25335
25336 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
25337
25338 * gdb.base/scope.exp: Use gdb_test.
25339
25340 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
25341 aborting; the testsuite driver will do that for us (see
25342 gdb_finish). Also, use gdb_test in a few more places.
25343
25344Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
25345
25346 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
25347
25348Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
25349
25350 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
25351 and "add_tests" are not at the same address.
25352
25353Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
25354
25355 * gdb.base/ptype.exp: Use gdb_test.
25356
25357Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
25358
25359 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
25360 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
25361 left in. No longer expect them to fail.
25362
25363 * gdb.stabs/*.mt; Deleted, no longer used.
25364 * gdb.stabs/configure.in: Remove references to target makefile
25365 frags.
25366 * gdb.stabs/configure: Rebuilt.
25367
25368 * gdb.disasm/*.mt: Deleted, no longer used.
25369 * gdb.disasm/configure.in: Remove references to target makefile
25370 frags. Use "sh3.s" as the unique filename for this directory.
25371 * gdb.disasm/configure: Rebuilt.
25372
25373 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
25374 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
25375 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
25376
25377Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
25378
25379 * config/udi.exp: Use mondfe,name instead of remote_host.
25380
25381Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
25382
25383 * gdb.base/watchpoint.exp: Don't expect a failure when calling
25384 a function with a watchpoint enabled on the mn10200.
25385
25386 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
25387 before trying to create it!
25388
25389Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
25390
25391 * config/vx.exp: Use hostname instead of netport.
25392
25393 * config/vxworks.exp: New file.
25394
25395 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
25396
25397 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 25398 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
25399 occurs.
25400
25401 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
25402 $gdb_spawn_id directly.
25403 (gdb_run_cmd): Try _start as well as start. Use the target feature
25404 gdb,start_symbol as the symbol to start from when jumping.
25405
25406Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
25407
25408 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
25409 redundant) test.
25410
25411 * gdb.base/recurse.exp: Relax final value test for 'b' so that
25412 it doesn't lose for 16bit integer systems.
25413
25414Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
25415
25416 * gdb.fortran/types.exp: If the target doesn't support "double"
25417 data types, then expect "real" types to only be 4 bytes.
25418
25419 * gdb.c++/virtfunc.exp: Expect failure for virtual function
25420 call tests if the target doesn't support inferior function calls.
25421
25422 * gdb.base/printcmds.exp: Allow minor deviation in FP values
25423 in printf tests.
25424
25425Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
25426
25427 * gdb.base/help.exp: Disable "help set", "help show", and
25428 "help support". Simplify regexp for "help stack".
25429
25430 * gdb.base/default.exp: Set match_max to 5000 and the timeout
25431 to 60 seconds. Temporarily set match_max to 15000 around the
25432 "info copying" test.
25433
25434 * gdb.base/nodebug.exp: Don't try to do an inferior function
25435 call if the target doesn't support them.
25436 * gdb.base/printcmds.exp: Likewise.
25437 * gdb.base/setvar.exp: Likewise.
25438 * gdb.base/structs.exp: Likewise.
25439 * gdb.c++/templates.exp: Likewise.
25440 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
25441
25442 * gdb.base/recurse.exp: Enable for the mn10200.
25443
25444 * configure.in: Do configure gdb.stabs directory for *-*-elf
25445 targets.
25446 * configure: Rebuilt.
25447
25448 * gdb.base/break.exp: Check for gdb,noresults before testing
25449 exit status and/or results from the target.
25450 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
25451 * lib/gdb.exp: Remove old (now bogus) initialization of
25452 noinferior, noargs, noresults and nosignals.
25453
25454Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
25455
25456 * config/sh.exp: New file.
25457
25458 * config/slite.exp: Try to connect multiple times to the board
25459 before rebooting. Only send a "monitor run" if need_monitor_run
25460 is set.
25461
25462 * gdb.base/break.exp: Don't do the "stub continue" test if
25463 the target has gdb_stub set.
25464
25465 * gdb.base/callfuncs.exp: Increase the timeout.
25466
25467 * gdb.base/interrupt.exp: Don't even try to compile the testcase
25468 if the target has gdb,noinferiorio set.
25469
25470 * gdb.base/list.exp: Increase match_max to 10000 characters.
25471
25472 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
25473
25474 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
25475 target.
25476
25477 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
25478
25479Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
25480
25481 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
25482 trying to delete the copy of gdb. Catch the file delete so we
25483 don't die if the delete fails; also, the file should be copied to
25484 the host, not to the build.
c906108c
SS
25485
25486Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
25487
25488 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 25489 parenthesis in case it contains multiple regexps separated
c906108c
SS
25490 with |.
25491
25492 * gdb.base/watchpoint.exp: Use gdb_test.
25493 * gdb.base/default.exp: Ditto.
25494
25495Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
25496
99707966 25497 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 25498
c906108c
SS
25499 * gdb.base/scope.exp: Use gdb_test.
25500 * gdb.c++/classes.exp: Ditto.
25501 * gdb.c++/inherit.exp: Ditto.
25502
25503Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
25504
25505 * gdb.base/crossload.exp: Don't use execute_anywhere, use
25506 remote_exec instead.
25507 * gdb.base/corefile.exp: Don't be ridiculous.
25508 * gdb.base/*.c: Add missing stub invocations.
25509
25510Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
25511
25512 * config/slite.exp: Miscellaneous fixes.
25513
25514 * lib/gdb.exp: Fix runto.
25515
25516 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
25517 the target.
25518
25519 * gdb.base/watchpoint.exp: Fix regexp.
25520
25521 * lib/gdb.exp(default_gdb_exit): Add a catch to the
25522 close and wait commands, as the descriptor may now be
25523 invalid. Always call "remote_close host".
25524
25525Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
25526
25527 Major rewrite for testsuite revision.
d63a86f8 25528
c906108c
SS
25529 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
25530 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
25531 instead of relying on spawn_id to always contain a valid
25532 spawn id.
25533 (get_compiler_info): New procedure to build the ${binfile}.ci
25534 file, instead of replicating this in N different places.
25535 (gdb_compile): New procedure.
d63a86f8 25536
c906108c 25537 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
25538 appropriate arguments) instead of compile. Use gdb_test in a lot
25539 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
25540 at the start of a testcase, as this is no longer done magically.
25541
25542 config/*-gdb.exp: Rename without the -gdb suffix.
25543
25544 config/mips.exp: Use remote_close instead of exit_remote_shell.
25545 config/monitor.exp: Use target_info instead of looking at
25546 baud, timeout, etc.
25547 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
25548
25549Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25550
25551 * gdb.c++/templates.exp (test_ptype_of_templates),
25552 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
25553 Update expect patterns for destructors and assignment operators
25554 to match corresponding c-typeprint.c changes.
25555 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
25556 to destructor breakpoint test, GDB should be able to set the
25557 destructor breakpoint without specifying arguments.
25558
25559Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
25560
25561 * gdb.threads/pthreads.exp: Change result for failure to compile due
25562 to lack of pthreads runtime support from an error to simply an
25563 unsupported test, per dejagnu standards.
25564
25565Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25566
25567 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
25568 where GDB exits to reduce pattern match time.
25569 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
25570
25571 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
25572
dc96c6c7 25573Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25574
25575 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
25576 * gdb.base/default.exp: ditto.
25577 * gdb.base/nodebug.exp: ditto.
25578 * gdb.base/printcmds.exp: ditto.
25579 * gdb.base/ptype.exp: ditto.
25580 * gdb.base/setvar.exp: ditto.
25581 * gdb.base/structs.exp: ditto.
25582 * gdb.base/setshow.c: Guard against uninitialized values of argc.
25583
25584Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
25585
25586 * configure, */configure: Rebuild with autoconf 2.12.
25587
25588Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
25589
25590 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
25591 use new i*86-pc-linux*-gnu quads.
25592 * gdb.base/corefile.exp: Ditto.
25593 * gdb.base/signals.exp: Ditto.
25594 * gdb.base/sigall.exp: Ditto.
25595 * gdb.base/interrupt.exp: Ditto.
25596
25597 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
25598 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
25599 RedHat 4.0.
d63a86f8 25600
c906108c 25601 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
25602 linux. This allows the test case to at least compile on latest
25603 linux, but still not run due to missing the threads runtime library.
c906108c
SS
25604
25605Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25606
25607 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
25608 directory to search gdb directory. Accept and step over conditional
25609 stack alignment code. Consume $prompt in failure cases.
25610 Reset timeout to $oldtimeout instead of some arbitrary value.
25611 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
25612 timeout problems with infinite stack backtraces.
25613 * gdb.base/ptype.exp (ptype struct link, union tu_link):
25614 Accept function parameters for linkfunc member.
25615
25616Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
25617
25618 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
25619 (CXXFLAGS): Remove, unreferenced.
25620 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
25621 previous -B options and also add -B option to pick up cross compiled
25622 runtime.
c906108c
SS
25623 (TARGET_INCLUDES): Add for -I options and add code to initialize when
25624 doing cross compiles.
25625 (target_alias): Declare global.
25626 (xgcc): Set variable to full path of gcc in build tree. Use findfile
25627 to verify that gcc exists in build tree, and if so set CC to that
25628 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 25629
c906108c
SS
25630Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
25631
25632 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
25633 ptype test for anonymous union. Fixup testcase to match
25634 current gcc debug output.
25635
25636Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
25637
25638 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
25639 force argument to an unsigned long type.
25640
25641Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
25642
25643 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 25644 tests and anonymous union print/ptype tests.
c906108c
SS
25645 * gdb.base/list.exp (test_forward-search): Increase timeout by
25646 5 minutes for the "search extremely long line" case.
25647 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
25648 completely optional and that the pass/fail messages use the command as
25649 the message if that third arg is a null string.
25650 (gdb_test_exact): Arrange that a null string pattern means match a
25651 null string output rather than any output, which might include random
889bf7c5 25652 errors.
c906108c
SS
25653 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
25654 backtrace test.
25655 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
25656 always failing and failure is now exposed by gdb.exp changes.
25657
25658Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
25659
25660 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
25661 weren't being noted.
25662
25663Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25664
25665 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
25666 * gdb.stabs/weird.exp: Remove v_comb xfails.
25667
dc96c6c7 25668Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25669
25670 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 25671 list.exp scope.exp watchpoint.exp]
c906108c 25672 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 25673
dc96c6c7 25674Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25675
25676 * config/monitor.exp: Increase download timeout to 1000 seconds.
25677
dc96c6c7 25678Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25679
25680 * config/m32r.exp: Increase timeout to 120 seconds.
25681
25682Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
25683
25684 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
25685 and accept older ordering as obsolescent gcc or gdb.
25686 * gdb.c++/templates.exp: Ditto.
25687 * gdb.c++/virtfunc.exp: Ditto.
25688
25689Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
25690
25691 * gdb.base/coremaker.c: Add code to mmap some data so we
25692 can check that it ends up in the core file.
25693 * gdb.base/corefile.exp: Add test to read mmapped data
25694 from core file.
25695
dc96c6c7 25696Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25697
25698 * config/m32r.exp: New file.
25699
25700Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
25701
25702 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
25703 that cflags can contains -gstabs, and work correctly for other tests.
25704
dc96c6c7 25705Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
25706
25707 * gdb.base/setshow.exp: New file, tests show and set.
25708 * gdb.base/setshow.c: New file, tests show and set.
25709 * gdb.base/help.exp: Add test for help set|show annotate.
25710 * gdb.base/default.exp: Add test for set|show annotate.
25711
25712Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
25713
25714 * testsuite/gdb.base/break.exp: Make backtrace from factorial
25715 errors unique.
25716 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
25717 explicitly.
25718
25719Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
25720
25721 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
25722 and width commands. This is done elsewhere.
25723 * (gdb_start): Don't call gdb_start_sim here. That's already
25724 done in gdb_load. This fixes lots of failures in default.exp.
25725
25726Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
25727
25728 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
25729 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
25730 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
25731 in the same we we treat other failures (since it may be an expected
889bf7c5 25732 condition), rather than as an error.
c906108c
SS
25733 * gdb.base/signals.exp (test_handle_all_print): Revert back to
25734 old test format.
25735
25736Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
25737
25738 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
25739 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 25740 twice. Nuke the duplicates.
c906108c 25741 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 25742 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
25743 Remove config.h along with other config files.
25744
25745Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
25746
25747 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
25748 "p func1 ()" and note that rests of tests are skipped.
25749 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25750 setup_xfails for "print func2::coremaker_local".
c906108c
SS
25751 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
25752 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
25753 affected by the previous run test.
25754 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
25755 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
25756 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
25757 "pass int powerset tuple" and "pass modeless int powerset tuple".
25758 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
25759 "real write 4" and "real write 8".
25760 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 25761 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
25762 "print \$i after tuple assign 2", and
25763 "print vs2 after tuple assign 2".
25764 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
25765 meaningful error message and return -1 so the caller can
25766 suppress further tests and avoid a cascade of errors.
d63a86f8 25767
c906108c
SS
25768Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
25769
25770 * gdb.base/a1-selftest.exp: Tweak tests to account for new
25771 format for printing version.
25772 * gdb.base/default.exp: Ditto.
25773 * gdb.base/interrupt.exp: Fix problem with cascade of
25774 errors if child process dies while calling a function.
d63a86f8 25775
c906108c
SS
25776Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
25777
25778 * Makefile.in (VPATH): Add
25779 * Makefile.in (Makefile, config.status): Fix rules so things get
25780 remade when necessary.
25781
25782Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
25783
25784 * Makefile.in (just-check): Add path to sibling expect dir
25785 to environment variable specified by RPATH_ENVVAR.
25786
25787Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
25788
25789 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
25790 (just-check): Add shared library paths for libstdc++, tk,
25791 tcl, bfd, and opcodes to the environment variable specified
25792 in RPATH_ENVVAR.
25793 * configure.in: Add support to recognize --enable-shared flag
25794 and generate correct value for RPATH_ENVVAR.
25795 * configure: Regenerated with autoconf.
25796
25797Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
25798
25799 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 25800 include all osf versions.
c906108c
SS
25801 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
25802 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
25803 when target is linux. When failing to build pthreads test
25804 executable, give more meaningful message.
25805 * gdb.threads/pthreads.c: Hpux also uses old definition of second
25806 arg for pthread_create.
d63a86f8 25807
c906108c
SS
25808Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
25809
25810 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 25811 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 25812 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 25813 and -lpthreads (everybody else).
c906108c
SS
25814 (test_startup): Fail gracefully if threads are not supported.
25815 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25816 "p/c array_index("abcdef",2)" when not gcc compiled.
25817 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25818 "print func2::coremaker_local" when not gcc compiled.
25819 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25820 "ptype on opaque struct tagname (statically)",
25821 "ptype on opaque struct tagname (dynamically) 1", and
25822 "ptype on opaque struct tagname (dynamically) 2"
25823 for not compiled with gcc.
25824 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25825 backtrace when compiled with gcc.
d63a86f8 25826 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
25827 than always return success.
25828
25829Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25830
25831 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25832
25833Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25834
25835 * gdb.base/structs.exp: Undo last change.
25836
25837Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25838
25839 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25840 encapsulate all the steps/nexts done during self test, starting
25841 at main, and makes them less sensitive to optimization issues.
25842 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25843 signal handler" test.
25844 * gdb.threads/pthreads.exp: Only run this for native configs.
25845 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25846 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25847 tests.
25848 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25849 for "runto test_calls(void)" test.
d63a86f8 25850
c906108c
SS
25851Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25852
25853 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25854 and don't expect address info in breakpoint confirmations.
25855
25856Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25857
25858 * gdb.base/list.exp (test_forward_search): Increase timeout
25859 temporarily by 60 seconds for searching extremely long line,
889bf7c5 25860 and then reset to old value when done. Increase expect input
c906108c
SS
25861 buffer to 10000.
25862
25863Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25864
25865 * gdb.base/list.exp (test_forward_search): Fix to handle very
25866 long source line without overflowing expect's input buffer.
25867
25868Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25869
25870 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25871 "buffer_full".
25872
25873 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25874 "buffer_full".
25875
25876 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25877 "buffer_full".
25878
25879 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25880 "buffer_full".
25881
25882Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25883
25884 * configure.in (configdirs): Add gdb.threads.
25885 * configure: Regenerated with autoconf.
25886 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25887 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25888 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 25889
c906108c
SS
25890Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25891
25892 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25893
25894Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25895
25896 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25897 each signal's status in the output of "handle all print".
25898 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25899 the \r\n sequence that immediately precedes the gdb prompt.
25900 * gdb.base/a1-selftest.exp: Save original timeout and restore
25901 after test.
25902
25903Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25904
25905 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25906 symbol.
25907
25908Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25909
25910 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25911
25912Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25913
25914 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25915 timeout by 60 seconds.
25916
25917Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25918
25919 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25920 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25921 error return.
25922
25923Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25924
25925 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25926 gdb initialization, also report how long dejagnu waited. Restore
25927 old timeout before doing error return. Temporarily increase timeout
889bf7c5 25928 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
25929
25930Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25931
25932 * lib/gdb.exp: Report timeout value for verbosity level 2.
25933 * config/gdbserver.exp: Ditto.
25934 * config/hppro.exp: Ditto.
25935 * config/mips-gdb.exp: Ditto.
25936 * config/monitor.exp: Ditto.
25937 * config/netware.exp: Ditto.
25938 * config/sim-gdb.exp: Ditto.
25939 * config/slite-gdb.exp: Ditto.
25940 * config/udi-gdb.exp: Ditto.
25941 * config/unix-gdb.exp: Ditto.
25942 * config/vx-gdb.exp: Ditto.
25943 * gdb.base/a1-selftest.exp: Ditto.
25944 * gdb.base/a2-run.exp: Ditto.
25945 * gdb.base/break.exp: Ditto.
25946 * gdb.base/corefile.exp: Ditto.
25947 * gdb.base/list.exp: Ditto.
25948 * gdb.base/recurse.exp: Ditto.
25949 * gdb.base/scope.exp: Ditto.
25950 * gdb.base/signals.exp: Ditto.
25951
25952Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25953
25954 * gdb.threads/Makefile.in (docdir): Removed.
25955
25956Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25957
25958 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 25959 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 25960 @srcdir@.
d63a86f8 25961 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
25962 autoconf 2.5 or higher.
25963 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25964
25965Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25966
25967 * configure: Regenerated.
25968 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25969 avoid name clashes with SunOS headers.
25970
25971Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25972
25973 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25974
25975Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25976
25977 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25978 prototype information ends up in the compiler info file.
25979
25980Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25981
25982 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25983 attempting to regenerate it. Eliminate use of a temporary file
25984 and just generate the info file directly. Source it immediately,
25985 for consistency of use.
25986 * gdb.base/corefile.exp: Ditto
25987 * gdb.base/exprs.exp: Ditto.
25988 * gdb.base/funcargs.exp: Ditto.
25989 * gdb.base/langs.exp: Ditto.
25990 * gdb.base/list.exp: Ditto.
25991 * gdb.base/mips_pro.exp: Ditto.
25992 * gdb.base/nodebug.exp: Ditto.
25993 * gdb.base/opaque.exp: Ditto.
25994 * gdb.base/ptype.exp: Ditto.
25995 * gdb.base/scope.exp: Ditto.
25996 * gdb.base/setvar.exp: Ditto.
25997 * gdb.base/signals.exp: Ditto.
25998 * gdb.base/whatis.exp: Ditto.
25999 * gdb.c++/templates.exp: Ditto.
26000 * gdb.c++/virtfunc.exp: Ditto.
26001 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 26002 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
26003
26004Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26005
26006 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
26007 it got fixed by the recent lookup_minimal_symbol_by_pc change.
26008 Increase timeout, a lot of single stepping might be needed if the
26009 target has no hardware watchpoints.
26010
26011Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
26012
26013 * gdb.base/break.exp: Ignore compiler warnings when compiling
26014 break.c.
26015 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
26016 * gdb.base/default.exp: Add h8300 xfails. Handle messages
26017 from remote-sim.
26018 * gdb.base/exprs.exp: Add h8300 xfails.
26019 * gdb.base/funcargs.exp: Likewise.
26020 * gdb.base/nodebug.exp: Likewise.
26021 * gdb.base/printcmds.exp: Likewise.
26022 * gdb.base/ptype.exp: Likewise.
26023 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
26024 h8300 xfails.
d63a86f8 26025 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
26026 on the h8300.
26027 * gdb.base/funcargs.c: Explicitly make last constant argument to
26028 call_after_alloca_subr an unsigned long type.
26029 * gdb.base/return.c: Include stdio.h.
26030
26031Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
26032
26033 * config/abug.exp: New file for the older Motorola Bug monitor
26034 that runs on the mvme13x series VME boards.
26035 * config/monitor.exp: Use the new config array for target settings
26036 if they exist.
26037
26038Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
26039
26040 * sim-gdb.exp: Make the SH simulator allocate less space when
26041 it is targeted.
26042
26043Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
26044
26045 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
26046 test.
26047
26048Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
26049
26050 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
26051 "rs6000-*-*" for "list function in include file" when gcc compiled.
26052 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
26053 for "p ctable1[120]".
26054 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
26055 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
26056 Remove setup_xfail for "rs6000-*-*" for
26057 "print 'scope0.c'::filelocal before run".
26058 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
26059 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
26060 since some compilers don't allow both options to be given
26061 on the same command line. Create object file and move it.
d63a86f8 26062
c906108c
SS
26063Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
26064
26065 * gdb.base/corefile.exp: Always regenerate the core file, since
26066 we always regenerate the coremaker program. Detect special case
26067 where registers cannot be read from core file.
d63a86f8 26068
c906108c
SS
26069Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
26070
26071 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
26072 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
26073 * gdb.c++/templates.exp: Only match on basename of file since
26074 some formats like xcoff don't encode directory information.
26075 * gdb.stabs/weird.exp: Use the right sed script for powerpc
26076 and rs6000 AIX xcoff targets.
26077 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
26078 * configure: Regenerate.
26079 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
26080 here, rather than in distclean.
d63a86f8 26081
c906108c
SS
26082Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
26083
26084 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
26085 defined, and use it to compile the test case with -O2. The
26086 native compilation still uses no optimization.
26087 * gdb.base/mips_pro.c: Remove inline assembly code since
26088 it is compiled PIC by default, which results in assembler
26089 warnings that make the testsuite think the compilation
26090 was unsuccessful.
26091
26092Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
26093
26094 * gdb.c++/misc.exp: Add note to message for
26095 "print s.a for foo struct" that this is a known gcc 2.7.2
26096 and earlier bug.
26097
26098Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
26099
26100 * gdb.base/break.exp: Fix pattern for matching "Delete all
26101 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
26102 setup_xfail for deleting all breakpoints test. Fix various
26103 timeout messages to include "(timeout)".
26104 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
26105 for "p t_float_values2(3.14159,float_val2)".
26106 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
26107 for "continue to call2g" when gcc compiled.
26108 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
26109 "up to foo in langs.exp", "show language at foo in langs.exp",
26110 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
26111 and "show language at fsub in langs.exp".
26112 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
26113 "list line 1 in include file", "list message for lines past EOF",
26114 "list function in include file", "list list0.h:foo", and
26115 "list filename:function; nonexistant function".
26116 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
26117 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
26118 and "ptype t_char_array" to be for native cc only.
d63a86f8 26119
c906108c
SS
26120Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
26121
d63a86f8 26122 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 26123 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 26124 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
26125
26126Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
26127
26128 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
26129 "bt in signals.exp". This problem only appears when running
26130 the testsuite, and then only intermittently.
26131
26132Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
26133
26134 * gdb.base/return.exp (return_tests): Differentiate between
26135 two tests of continuing.
26136
26137Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
26138
26139 * */Makefile.in (maintainer-clean): Remove config.log.
26140 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
26141 * gdb.c++/Makefile.in (PROGS): Add inherit.
26142 (clean): Remove *.ci.
26143
26144Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
26145
26146 * gdb.c++/misc.cc: Add test code from Mike Stump.
26147 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
26148
26149Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
26150
26151 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
26152 to "alpha-*-osf2*" and add comment.
26153 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
26154 setup_xfail for "step over execarg initialization" and
26155 "step over corearg initialization".
c906108c
SS
26156 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
26157 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
26158 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 26159 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
26160 "print func2::coremaker_local", and "backtrace in corefile.exp".
26161 * gdb.base/signals.exp: Build and source signals.ci.
26162 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
26163 to be for gcc only.
26164 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 26165
c906108c
SS
26166Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26167
26168 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
26169 Feb 3 procfs.c change.
26170
26171Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
26172
26173 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
26174
26175Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
26176
26177 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
26178 from dejagnu's apparent default of 10 seconds, which gives random
26179 results when running the tests over NFS on moderately loaded systems.
26180 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
26181
26182Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
26183
26184 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
26185 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 26186 result reports.
c906108c
SS
26187
26188Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
26189
26190 * configure.in (CY_AC_PATH_TCLH): Remove.
26191 * configure: Regenerate.
26192
26193Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
26194
26195 * gdb.c++/Makefile.in (clean): Add missing '{'.
26196
26197Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
26198
26199 * lib/gdb.exp: Provide a default value for noinferior.
26200
26201 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
26202 Load libgloss.exp.
26203
26204Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
26205
26206 * gdb.disasm/hppa.exp: Compile directly into an executable, use
26207 the executable, not the .o to run the tests from.
26208
26209Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
26210
26211 * gdb.base/break.exp: Don't test for program exit or exit status
26212 if $noresults if nonzero.
26213 * gdb.base/langs.exp: Likewise.
26214 * gdb.base/watchpoint.exp: Likewise.
26215
26216 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
26217 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
26218 trying to compile the testcase.
26219
26220Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
26221
26222 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
26223 * gdb.base/signals.exp (continue to handler): Likewise.
26224
26225Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
26226
26227 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
26228
26229 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
26230
26231Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
26232
26233 * gdb.base/corefile.exp: Recognize "not found" as failure
26234 when trying to determine if a core file was generated.
26235 If no core file was generate the first time, try again without
26236 the ulimit -c to work around braindamaged shells.
26237
26238Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
26239
26240 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
26241 [] tests with "test" and enclose string in quotes.
26242 * gdb.stabs/configure: Rebuild
d63a86f8 26243
c906108c
SS
26244Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
26245
26246 Changes in sync with expect:
26247 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
26248 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
26249 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
26250 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
26251 argument to AC_REQUIRE.
26252 * configure: Regenerated.
26253
26254Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
26255
26256 * gdb.base/corefile.exp: When generating a core, discard any
26257 error messages about ulimit not found and the "core dumped"
26258 message from the shell that runs the coredumper.
26259
26260Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
26261
26262 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
26263
26264 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
26265 which sed script to run. Expect failure for v_comb test
26266 on PA targets too.
d63a86f8 26267
c906108c
SS
26268Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
26269
26270 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 26271 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
26272
26273Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
26274
26275 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
26276 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 26277 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
26278 * lib/gdb.exp (default_gdb_start): Fix typo.
26279 * gdb.base/corefile.exp: Allow "Core was generated by ..."
26280 messages to not include the full program name that caused
26281 the core dump since some systems (such as solaris) apparently
26282 truncate this path to about 80 characters.
26283 When generating a core file first try increasing the core file
26284 size limit to unlimited since some systems may default it to
26285 zero, and it is harmless to try it. Move the test for failing
26286 to generate a core file to where it will actually get executed.
26287 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
26288 new gdb result from g++ debug info improvements and make old
26289 pattern obsolescent. Also account for size_t differences
26290 (may be int or long).
26291 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
26292 initialization before function call is placed in the delay slot
26293 and thus appears to be skipped over by commands such as "next".
26294
26295Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
26296
26297 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
26298
26299Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
26300
26301 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
26302 input source file; fix code to compile test to deal with this
26303 convention.
26304 * gdb.c++/*.exp: Likewise.
26305
26306Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
26307
26308 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
26309 "bt in signals.exp".
26310
26311Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
26312
26313 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
26314 "step over execarg initialization" and
889bf7c5 26315 "step over corearg initialization".
c906108c
SS
26316
26317Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
26318
26319 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
26320 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
26321
26322Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
26323
26324 From Rob Savoye (rob@poseidon.cygnus.com)
26325 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
26326 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
26327 configure.in}, gdb.disasm/{Makefile.in, configure.in},
26328 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
26329 configure.in}: Major reworking for autoconfig.
c906108c
SS
26330 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
26331 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 26332 New files.
c906108c
SS
26333 * config/unix-gdb.exp: Make GDB global.
26334 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
26335 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
26336 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
26337 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
26338 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
26339 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 26340 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
26341 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
26342 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
26343 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
26344 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 26345 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
26346 to returns as necessary, arrange for test to compile own testcase
26347 executable.
c906108c 26348 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 26349
c906108c
SS
26350Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
26351
26352 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 26353 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
26354 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
26355 "backtrace through signal handler".
26356
26357Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26358
26359 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
26360 continuing from a job control stop signal.
26361 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
26362
26363Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
26364
26365 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
26366 * gdb.base/corefile.exp: Likewise.
26367 * gdb.base/funcargs.exp: Likewise.
26368
26369Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
26370
26371 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
26372 * config/monitor.exp: Add support for setting baud rate.
26373
26374Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
26375
26376 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
26377 i*86-*-linux* xfails for "backtrace through signal handler".
26378 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
26379 "print func2::coremaker_local".
26380 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 26381 alpha-dec-osf2* xfail for
c906108c
SS
26382 "delete all breakpoints when none".
26383
26384Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
26385
26386 * gdb.base/break.exp: Change test that deletes all breakpoints
26387 when no user breakpoints are installed. A post 4.15 change
26388 causes gdb to no longer prompt in this case.
26389
26390Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
26391
26392 * gdb.base/return.exp (return_tests): Change xfail for test
26393 "correct value returned double test" to stop xfailing at
26394 Solaris 2.5. Apparently the bug has been fixed.
26395
26396Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
26397
26398 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
26399 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
26400
26401Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
26402
26403 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
26404 * gdb.disasm/hppa.s: Corresponding changes.
26405
26406Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
26407
26408 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
26409 makefile fragment.
26410 * config/mt-hpux: Deleted.
26411
26412Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
26413
d63a86f8 26414 * Many files: When warning about suppressed tests due to a
c906108c
SS
26415 nonexistant test binary, avoid incrementing the warning count.
26416
26417Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
26418
26419 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 26420
c906108c
SS
26421Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26422
26423 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
26424 "sparc-*-solaris2*".
26425
26426Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26427
26428 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
26429 Add global and local variables and initialize them.
26430 * gdb.base/corefile.exp: Test correct mapping of corefile sections
26431 by printing variables. Remove rs6000 and powerpc xfails, BFD now
26432 extracts the file name and terminating signal from the core file.
26433 * TODO: Remove note about tests for correct mapping of corefile.
26434 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
26435 from optimizing it away.
26436 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
26437 handles common blocks.
26438
26439Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
26440
26441 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
26442 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
26443
26444Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
26445
26446 * Makefile.in (maintainer-clean): New target, synonym for
26447 realclean.
26448 * gdb.base/Makefile.in (maintainer-clean): Likewise.
26449 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
26450 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
26451 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
26452 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
26453 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
26454
26455Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
26456
26457 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
26458 xfails when not gcc compiled for "print foo::funclocal".
26459 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
26460 "print foo::funclocal at foo",
26461 "print 'scope1.c'::foo::funclocal at foo",
26462 "print foo::funclocal_bss at foo",
26463 "print 'scope1.c'::foo::funclocal_bss at foo",
26464 "print foo::funclocal_ro at foo",
26465 "print 'scope1.c'::foo::funclocal_ro at foo",
26466 "print bar::funclocal at foo" and
26467 "print 'scope1.c'::bar::funclocal at foo".
26468 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
26469 gcc compiled for "print foo::funclocal at bar".
26470 Expand all messages to ensure that they identify that
26471 the test is at bar().
26472 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
26473 gcc compiled for:
26474 "ptype on opaque struct pointer (statically)",
26475 "ptype on opaque struct tagname (statically)",
26476 "ptype on opaque struct pointer (dynamically) 1",
26477 "ptype on opaque struct tagname (dynamically) 1",
26478 "ptype on opaque struct pointer (dynamically) 2" and
26479 "ptype on opaque struct tagname (dynamically) 2
26480 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
26481 gcc compiled for:
26482 "p datalocal"
26483 "whatis datalocal",
26484 "ptype datalocal",
26485 "p bsslocal",
26486 "whatis bsslocal", and
26487 "ptype bsslocal".
26488 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
26489 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
26490 when not gcc compiled.
26491 * gdb.base/funcargs.exp (float_and_integral_args): Add
26492 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
26493 compiled.
26494 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
26495 "backtrace from call6a" when not gcc compiled.
26496 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
26497 "backtrace from call7a" when not gcc compiled.
26498 * gdb.base/callfuncs.exp (do_function_calls):
26499 Add "hppa*-*-hpux*" xfail when not gcc compiled for
26500 "p t_char_array_values(char_array_val2,char_array_val1)",
26501 "p t_char_array_values(char_array_val1,char_array_val2)",
26502 "p t_char_array_values("carray 1","carray 2")",
26503 "p t_char_array_values("carray 1",char_array_val2)",
26504 "p t_char_array_values(char_array_val1,"carray 2")",
26505 "p sum_args(1,{2})",
26506 "p sum_args(2,{2,3})",
26507 "p sum_args(3,{2,3,4})",
26508 "p sum_args(4,{2,3,4,5})"
26509 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
26510 "backtrace in corefile.exp" when not gcc compiled.
26511
26512Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26513
26514 * gdb.base/signals.exp: Rewrite `handle all print' test as
26515 a procedure. Accept blanks or TABs as whitespace, increase
26516 timeout and expect input buffer size for the large output
26517 from the command. Remove "i*86-*-bsdi2.0" xfail.
26518
26519Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26520
26521 * gdb.base/setvar.exp: Add new testcases for truncation when
26522 assigning invalid values to bitfields.
26523
26524Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
26525
d63a86f8 26526 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
26527 mips-sgi-irix* xfail for
26528 "call inferior func with struct - returns char *"
26529 and fix test so that an optional (unsigned char *) cast is
889bf7c5 26530 accepted in the result.
c906108c
SS
26531
26532Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
26533
26534 * gdb.base/funcargs.exp (float_and_integral_args): Remove
26535 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
26536 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
26537 * gdb.base/signals.exp: Remove duplicate "handle all print" test
26538 that accidentally got checked in.
26539
26540Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
26541
d63a86f8 26542 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
26543 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
26544 compiled test.
26545 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
26546 Add mips-sgi-irix5* xfail for not gcc compiled.
26547 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
26548 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
26549 "p top", "whatis top", "p middle", and "whatis middle".
26550 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
26551 "whatis signed char" for not gcc compiled.
26552 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
26553 "set variable signed char=-1 (-1)" and
26554 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
26555 * gdb.base/funcargs.exp (float_and_integral_args):
26556 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
26557 Add mips-sgi-irix* xfail when not gcc compiled for
26558 "continue to call2b".
26559 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
26560 "continue to call2g".
26561 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
26562 "backtrace from call6a"
26563 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
26564 "backtrace from call7k".
26565 Add mips-sgi-irix5* xfail when not gcc compiled for
26566 "backtrace from call7a".
26567 (localvars_after_alloca): Fix gdb_test cmds for
26568 "print * after runto ...".
26569 Remove rs6000-*-* xfails for
26570 "print i after runto localvars_after_alloca" and
26571 "print l after runto localvars_after_alloca"
26572 for all compilers.
26573 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 26574 when not compiled with gcc, for:
c906108c
SS
26575 "print signed char == (minus)",
26576 "print signed char != (minus)",
26577 "print signed char < (minus)",
26578 "print signed char > (minus)".
26579 * gdb.base/callfuncs.exp (do_function_calls):
26580 Add mips-sgi-irix* xfail, when compiled with native compiler, for
26581 "call inferior func with struct - returns char *".
d63a86f8 26582 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
26583 "correct value returned double test" to include Solaris 2.4.
26584 * gdb.base/funcargs.exp (float_and_integral_args):
26585 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 26586
c906108c
SS
26587Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26588
26589 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
26590 enumeration bitfields if compiling with GNU C.
26591 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
26592 to empty' prompt.
26593
26594Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
26595
26596 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
26597 test for PRO targets.
26598
26599 * gdb.base/funcargs.exp: Avoid ever setting more than 8
26600 breakpoints in the inferior at any given time by making
26601 two groups of breakpoints for call2*, call6* and call7*
26602 tests.
26603
26604Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26605
26606 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
26607 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
26608 from optimizing it away.
26609 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
26610 "call inferior func with struct".
26611
26612Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
26613
26614 * configure.in: Only configure gdb.chill for particular targets.
26615
26616Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
26617
26618 * gdb.base/Makefile.in: Add action to .c.o transformation
26619 rule that generates a .ci file for each .o file and remove
26620 explicit .c.o rules except for callfuncs.o.
26621 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
26622 generates a .ci file for each .o file and remove explicit
26623 .cc.o rules.
26624 (clean): Remove *.tmp *.ci files.
26625 (EXECUTABLES): Remove templ-info.exp.
26626 * gdb.base/compiler.c: New file.
26627 * gdb.c++/compiler.cc: New file
26628 * gdb.base/scope.exp: Source gdb.base/scope.ci.
26629 Change rs6000-*-* xfail for
26630 "print 'scope0.c'::filelocal_ro" and
26631 "print 'scope1.c'::filelocal" and
26632 "print 'scope1.c'::filelocal_bss" and
26633 "print 'scope1.c'::filelocal_ro" and
26634 "print 'scope1.c'::foo::funclocal" and
26635 "print 'scope1.c'::foo::funclocal_ro" and
26636 "print 'scope1.c'::bar::funclocal" and
26637 "print 'scope0.c'::filelocal_ro" and
26638 "print 'scope1.c'::filelocal at foo" and
26639 "print 'scope1.c'::filelocal_bss at foo" and
26640 "print 'scope1.c'::filelocal_ro at foo" and
26641 "print 'scope1.c'::foo::funclocal at foo" and
26642 "print 'scope1.c'::foo::funclocal_bss at foo" and
26643 "print 'scope1.c'::foo::funclocal_ro at foo" and
26644 "print 'scope1.c'::bar::funclocal at foo" and
26645 "print 'scope0.c'::filelocal_ro" and
26646 "print 'scope1.c'::filelocal" and
26647 "print 'scope1.c'::filelocal_bss" and
26648 "print 'scope1.c'::filelocal_ro" and
26649 "print 'scope1.c'::foo::funclocal" and
26650 "print 'scope1.c'::foo::funclocal_bss" and
26651 "print 'scope1.c'::foo::funclocal_ro" and
26652 "print 'scope1.c'::bar::funclocal" and
26653 "print 'scope1.c'::bar::funclocal_bss"
26654 to only be xfail'd when not compiled with gcc.
d63a86f8 26655 Add rs6000-*-* xfail for
c906108c
SS
26656 "print 'scope0.c'::filelocal_bss before run"
26657 when compiled with gcc.
26658 (test_at_main): Add rs6000-*-* xfail for
26659 "print filelocal_ro in test_at_main"
26660 when compiled with gcc.
26661 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 26662 Add rs6000-*-aix* xfail for
c906108c
SS
26663 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
26664 "ptype t_char_array", not compiled with gcc.
26665 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
26666 xfail for "list foo (in include file)" when gcc compiled.
26667 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 26668 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
26669 "run to call0a" if not compiled with gcc.
26670 (unsigned_integral_args): Add rs6000-*-* xfail for
26671 "run to call1a" if not compiled with gcc.
26672 (float_and_integral_args): Add rs6000-*-* xfail for
26673 "run to call2a" if not compiled with gcc and for
26674 "continue to call2b" for any compiler.
26675 Add rs6000-*-* xfail to
26676 "print f1 after run to call2a" for gcc compiled.
26677 (discard_and_shuffle): Add rs6000-*-* xfail for
26678 "run to call6a".
26679 (shuffle_round_robin): Add rs6000-*-* xfail for
26680 "backtrace from call7a" if not compiled with gcc.
26681 Add rs6000-*-* xfail for
26682 "backtrace from call7b" if compiled with gcc.
26683 (call_after_alloca): Add rs6000-*-* xfail for
26684 "print c in call_after_alloca" and
26685 "print s in call_after_alloca" and
26686 "backtrace from call_after_alloca_subr"
26687 if not compiled with gcc.
26688 (localvars_in_indirect_call): Add rs6000-*-* xfail for
26689 "print c in localvars_in_indirect_call" and
26690 "print c in localvars_in_indirect_call" and
26691 "backtrace in indirectly called function" and
26692 "stepping into indirectly called function"
26693 if not compiled with gcc.
26694 (localvars_after_alloca): Add rs6000-*-* xfail for
26695 "print c after runto localvars_after_alloca" and
26696 "print s after runto localvars_after_alloca" and
26697 "print i after runto localvars_after_alloca" and
26698 "print l after runto localvars_after_alloca"
26699 for all compilers.
26700 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
26701 than whatis-info.exp.
26702 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
26703 than opaque-info.exp.
26704 Setup rs6000-*-* xfail for
d63a86f8 26705 "ptype on opaque struct pointer (statically)" and
c906108c
SS
26706 "ptype on opaque struct pointer (dynamically)" when
26707 not compiled with gcc.
26708 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
26709 rather than callf-info.exp.
26710 (do_function_calls): Add clear_xfail for rs6000-*-* for
26711 "p t_float_values2(3.14159,float_val2)". Seems to work
26712 fine there, both with xlc and gcc. Need to find out what
26713 it is doing right and fix other platforms.
26714 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
26715 "call inferior func with struct - returns int",
26716 "call inferior func with struct - returns long",
26717 "call inferior func with struct - returns float",
26718 "call inferior func with struct - returns double",
26719 "call inferior func with struct - returns char *",
26720 but only if not gcc compiled (presumes xlc compiled).
26721 Change rs6000-*-* xfails for
26722 "call inferior func with struct - returns char" and
26723 " call inferior func with struct - returns short" to only
26724 xfail if not using gcc.
26725 (clean mostlyclean): Remove *.ci and *.tmp files.
26726 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
26727 than templ-info.exp.
26728 * gdb.base/langs.exp: Source gdb.base/langs.ci.
26729 Add rs6000-*-* xfail for "up to foo in langs.exp"
26730 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 26731 when not gcc compiled.
d63a86f8 26732
c906108c
SS
26733Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26734
26735 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
26736 * gdb.base/corefile.exp: Likewise.
26737 * gdb.base/list.exp: Likewise.
26738 * gdb.base/scope.exp: Likewise.
26739 * gdb.base/siganls.exp: Likewise.
26740
26741 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
26742 compiler output.
26743 * gdb.base/whatis.exp: Likewise.
26744
26745Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
26746
26747 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
26748 failure (opcode table has been fixed to match reality).
26749
26750Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
26751
26752 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
26753 "call inferior func with struct - returns char",
26754 "call inferior func with struct - returns short"
26755
26756 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
26757 "print 'scope0.c'::filelocal at main",
26758 "print 'scope0.c'::filelocal_bss in test_at_main",
26759 "print 'scope0.c'::filelocal at foo",
26760 "print 'scope0.c'::filelocal_bss in test_at_foo",
26761 "print 'scope0.c'::filelocal at bar",
26762 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 26763
c906108c
SS
26764 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
26765 in source file 1". This bug seems to have been fixed with both
26766 gcc and native cc (was native assembler bug?).
26767
26768Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
26769
26770 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
26771 "backtrace through signal handler" to "i*86-*-sysv4*".
26772 * gdb.base/signals.exp: Add xfail for "'next' behaved as
26773 continue" case. Add "known SVR4 bug" to fail message.
26774 Add "i*86-*-bsdi2.0" xfail for "handle all print".
26775 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
26776 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
26777 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
26778 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
26779 "up to foo in langs.exp", "show language at foo in
26780 langs.exp", "up to cppsub_ in langs.exp", "show
26781 language at cppsub_ in langs.exp", "up to fsub in
26782 langs.exp", and "show language at fsub in langs.exp".
26783 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
26784 "bactrace in corefile.exp".
26785 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
26786 "call inferior function with struct - returns float" and
26787 "call inferior function with struct - returns double".
d63a86f8 26788
c906108c
SS
26789Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
26790
26791 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
26792 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
26793 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
26794 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
26795
26796Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
26797
26798 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
26799 (or overriden) "CHILL" macro rather then bare "gcc".
26800 Also look for ../../gcc/xgcc since that is what we will
26801 actually need, not "Makefile". Remove following assignment
26802 of CHILL to CHILL_FOR_TARGET because that results in
26803 recursive definition.
26804
26805Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
26806
26807 * gdb.base/corefile.exp: Change xfail for backtrace in
26808 corefile.exp from linuxaout to all linux.
26809 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
26810 cases where we miss the breakpoint at the signal handler
26811 for some reason. Setup xfail for linuxoldld/linuxaout and
26812 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
26813 hitting SIGURG breakpoint.
26814 * gdb.base/signals.exp: Setup xfail for "next" acting like
26815 continue to add linuxoldld. Setup xfail for all linux for
26816 "next to handler in signals_tests_1", "backtrace in
26817 signals_tests_1", "continue to func1", "pass SIGUSR1",
26818 and continue to handler".
26819
26820Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26821
26822 * Update all FSF addresses except those in COPYING* files.
26823
26824Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26825
26826 * gdb.base/a2-run.exp: Change messages to be more explicit about
26827 the status of args, and quote binfile in results.
26828
26829Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26830
26831 * gdb.base/callfuncs.exp: Add tests for passing structs to
26832 inferior functions and return various types.
26833 * gdb.base/callfuncs.c: Add functions to receive a struct
26834 and return a member of the struct, in various types.
26835
26836Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26837
26838 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26839
26840Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26841
26842 * config/vxworks29k.exp: New file, sources vxworks.exp.
26843
26844Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26845
26846 * config/gdbremote.exp: New file. Testing framework using
26847 gdbserver.
26848
26849Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26850
26851 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26852 "call function when asleep" and "send end of file".
26853 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26854 for "backtrace in corefile.exp".
26855 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26856 for "backtrace through signal handler".
26857 * gdb.base/corefile.exp: Make sure we actually generate a core file
26858 before trying the core tests. Some systems allow the user to suppress
26859 generation of core files and default to that (linux for example).
26860 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26861 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26862
26863Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26864
26865 * gdb.threads: New directory with some crude multi-threaded
26866 gdb tests (step.exp and step2.exp).
26867 * config/mt-lynx (STEP_EXECUTABLE): Define.
26868 (THREADFLAGS): Define.
26869
26870Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26871
26872 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26873
26874 * gdb.base/signals.exp: Disable whole file for lynx until
26875 further notice.
26876
26877 * gdb.base/signals.exp: xfail test where "next" acts like
26878 "continue" for lynx.
26879
26880 * gdb.base/interrupt.exp: xfail test for calling function while
26881 inferior is asleep for lynx.
26882
26883 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26884 than one cr-lf after each command.
26885
26886Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26887
26888 * configure.in: Reinstate setting of stabsdirs variable, fix
26889 typo in setting up configdirs for native builds.
26890
26891 * gdb.base/return.exp: Fix typo in return double test.
26892 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26893 compiler from optimizing them away.
26894
26895Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26896
26897 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26898 sequences to be echo'd by gdb when using gdb_test.
26899 * gdb.chill/chexp.exp: Likewise.
26900 * gdb.fortran/exprs.exp: Likewise
26901
26902Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26903
26904 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26905 after the inferior gdb has started.
26906
26907 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26908 after each command.
26909 * gdb.base/funcargs.exp: Likewise.
26910 * gdb.base/gdbvars.exp: Likewise.
26911 * gdb.base/interrupt.exp: Likewise.
26912 * gdb.base/list.exp: Likewise.
26913 * gdb.base/watchpoint.exp: Likewise.
26914 * gdb.c++/demangle.exp: Likewise.
26915 * gdb.c++/inherit.exp: Likewise.
26916 * gdb.chill/chexp.exp: Likewise.
26917 * gdb.fortran/exprs.exp: Likewise.
26918
26919 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26920 test if we can't handle IO to/from the inferior.
26921
26922 * gdb.c++/misc.exp: Always check for a program already being
26923 started after sending a "run" command to gdb.
26924
26925 * gdb.base/twice.exp: Start with a fresh gdb.
26926
26927 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26928 only depend on gdb's expression code, not the chill runtime.
26929
26930 * gdb.base/return.c: Put return values into variables so we
26931 can have gdb print them rather than depending on the program
26932 to print them.
26933 * gdb.base/return.exp: Corresponding changes.
26934
26935 * lib/gdb.exp: Provide default value for noinferiorio.
26936 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26937 the inferior.
26938
26939 * gdb.base/break.exp: Always check for a program already being
26940 started after sending a "run" command to gdb.
26941 (text_next_with_recursion): Don't check the output from the
26942 program's printf statement. Instead just make sure the program
26943 exited.
26944
26945 * gdb.base/commands.exp: Protect tests which need arguments with
26946 $noargs conditionals.
26947
26948Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26949
26950 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26951 of structure member arrays to match gdb/valops.c:value_addr change.
26952
26953Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26954
26955 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26956 cases.
26957
26958Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26959
26960 * configure.in (configdirs): Remove gdb.chill from default list
26961 of subdirs and then add it back in only if doing a native build.
26962 The current chill compiler does not yet work in any cross build.
26963 * Revert all signal changes from Jul 6.
26964 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26965 for sh-hms targets, allowing these tests to link, with no other
26966 changes. Testing is suppressed by setting "nosignals" in site.exp.
26967
26968Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26969
26970 * configure.in (signaldirs): Define and add to configdirs for all
26971 targets except some specific ones that are known to not support signals.
26972 Also clean up formatting.
26973 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26974 (signals, sigall): Remove rules to build.
26975 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26976 Moved to new gdb.signals directory.
26977 * gdb.signals: New test directory.
26978 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26979 signals.c signals.exp}: New or moved files.
26980
26981Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26982
26983 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26984
26985Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26986
26987 * gdb.base/return.exp: Xfail `return double' test failure
26988 on at least Solaris 2.3 and handle future/past versions on
26989 a case by case basis as appropriate. Also update message
26990 to include i*86 failures.
26991
26992Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26993
26994 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26995
26996 * lib/gdb.exp: Fix comment which erroneously identified
26997 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26998 gdb_file_cmd not gdb_load).
26999 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
27000
27001 * gdb.base/setvar.exp: Make test names consistent between pass and
27002 fail cases. Use gdb_test more.
27003
27004Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27005
27006 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
27007
27008Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27009
27010 * gdb.base/help.exp: Fix expected help string for `show commands'.
27011
27012Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
27013
27014 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
27015
27016 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
27017 of a text section.
27018
27019Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
27020
27021 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
27022 that loop eventually terminates. Fix Connection refused logic so
27023 that testsuite will expire nicely.
27024
27025Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
27026
27027 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
27028 config/rom68k.exp: New tcl glue for the appropriate monitors.
27029 These all just end up calling monitor.exp.
27030 * config/monitor.exp (gdb_target_monitor): Handle `Connection
27031 refused' by retrying. Cleanup some timeout issues.
27032 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
27033 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
27034 callers don't have to set/restore global timeout variable.
27035
27036 * The following set of changes centralizes management of the global
27037 timeout variable. This way, it can be set in one target dependent
27038 place instead of dozens of places scattered throughout the test suite.
27039 If you need to lengthen a timeout, then you should either set timeout
27040 in one of the config/{target}.exp files, or multiply it by a factor.
27041 Setting it to an absolute value is always going to lose for some
27042 targets.
27043 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
27044 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
27045 * gdb.base/funcargs.exp: Don't set timeout.
27046 * gdb.base/list.exp (test_forward_search): Only use local timeout.
27047 * gdb.base/printcmds.exp (test_print_string_constants
27048 test_print_array_constants): Don't set timeout.
27049 * gdb.base/ptype.exp: Don't set timeout.
27050 * gdb.base/recurse.exp: Don't set timeout.
27051 * gdb.base/return.exp: Don't set timeout.
27052 * gdb.base/watchpoint.exp: Don't set timeout.
27053 * gdb.c++/classes.exp (do_tests): Don't set timeout.
27054 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
27055
27056Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
27057
27058 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
27059
27060Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27061
27062 * lib/gdb.exp: Disable chill tests for irix5.
27063
27064Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27065
27066 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
27067 each test pass or fail.
27068
27069Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27070
27071 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
27072 xlc not gcc.
27073
27074Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
27075
27076 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
27077
27078Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
27079
27080 * config/est.exp: Fix copyright and comments. Remove dead code.
27081 Use targetname, serialport and baud variables instead of fixed
27082 constants.
27083 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
27084 * config/cpu32bug.exp: New file to support cpu32bug monitors.
27085
27086Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27087
27088 * gdb.base/watchpoint.exp: Don't run
27089 test_watchpoint_triggered_in_syscall for sunos.
27090
27091Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27092
27093 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
27094 they don't seem to exist. Do include stdio.h.
27095
27096Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27097
27098 * gdb.base/a1-selftest.exp: Add alpha xfail.
27099
27100Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27101
27102 * gdb.base/watchpoint.c (main): Prompt before calling read().
27103 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
27104 Revise accordingly. Remove cruft about sending "123" several
27105 times, until it gets noticed. Clean up the "print buf[0]" stuff
27106 so that it passes or fails, and waits for prompts in the usual way.
27107
27108Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27109
27110 * gdb.base/recurse.exp: Fix comment.
27111
27112 * TODO: Remove item about printing variables in nodebug.exp. Add
27113 item about enabling tests which are only run on some targets.
27114
27115 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
27116 fail, make test names unique, use new gdb_test convention
27117 regarding pattern, use gdb_test more, etc.).
27118
27119 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
27120 fail, make test names unique, etc.).
27121
27122Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27123
27124 * gdb.base/nodebug.c: Change return type of top and middle to
27125 short.
27126 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
27127 are fixed by the recent mdebugread.c changes. Allow `short ()'
27128 as type for top and middle.
27129
27130Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27131
27132 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
27133 nearly as I can tell, the whole thing was an accident in Stu's
27134 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
27135 to replace a send/expect pair with gdb_test, but ended up only
27136 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
27137 of 30 Mar 1995 took care of it, but left this vestigial comment
27138 which I am now nuking.
27139
27140Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27141
27142 * gdb.base/break.exp: Look for different line number for
27143 breakpoint at main depending on usestubs.
27144
27145Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27146
27147 * gdb.base/list.exp: Adjust some alternate expect patterns to
27148 match recent list0.c change. Add alternate expect pattern for
27149 output from `list default lines around main' for optimizing
27150 compilers.
27151
27152Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27153
27154 * lib/gdb.exp: If nosignals is not set, set it to 0.
27155
27156Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
27157
27158 * config/slite-gdb.exp: Responds to load symbol table prompt.
27159 * gdb.base/break.exp: Adjust line number, fix rerun.
27160 * gdb.base/langs0.c: Add #ifdef usestubs.
27161
27162Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
27163
27164 * gdb.base/list.exp: Adjust line contents after adding new lines in
27165 list0.c. Also fix a syntax error.
27166
27167 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
27168 * gdb.base/break.exp: ditto.
27169 * gdb.base/list.exp: ditto.
27170 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
27171 * gdb.base/run.c: ditto.
27172 * gdb.base/list0.c: ditto.
27173 * gdb.base/funcargs.c: ditto.
27174
27175Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
27176
27177 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
27178 $targetname, $serialport and $baud instead of hardwired variables.
27179 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
27180 target doesn't support signals.
27181
27182Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
27183
27184 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
27185
27186Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27187
27188 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
27189 Don't rely on the value of an auto variable before it has been
27190 initialized. Use gdb_test more.
27191
27192Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27193
27194 * lib/gdb.exp (default_gdb_version): A version number must start
27195 with a digit, but other than that contains all characters up to
27196 the first whitespace character.
27197
27198Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27199
27200 * gdb.base/commands.exp (breakpoint_command_test): New tests.
27201
27202Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27203
27204 * gdb.c++/*.exp: Warn if executable does not exist. The original
27205 reason for skipping the warning was that configure.in sometimes
27206 intentionally skipped building the executables but the tcl code
27207 had no way of knowing. That (a) was always bogus with respect to
27208 error handling, (b) is no longer true (right now there is no way
27209 to skip C++ tests).
27210
27211 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
27212
27213Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27214
27215 * gdb.base/list.exp: Add expect patterns for output from
27216 SunPRO compiled executables.
27217 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
27218 types.
27219
27220Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27221
27222 * gdb.base/break.exp (test_next_with_recursion): Accept any line
27223 number (we are already testing that the correct source line text
27224 gets printed).
27225
27226 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
27227 that is what is intended, but something needed to be done to get
27228 sunos4 native working again.
27229
27230 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
27231
27232 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
27233 apparently went with a (very) old xfail.
27234
27235Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
27236
27237 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
27238 runto_main is a proc in gdb.exp that will do 'step' for target use
27239 stubs.
27240 * gdb.base/exprs.exp: ditto.
27241 * gdb.base/interrupt.exp: ditto.
27242 * gdb.base/opaque.exp: ditto.
27243 * gdb.base/printcmds.exp: ditto.
27244 * gdb.base/ptype.exp: ditto.
27245 * gdb.base/scope.exp: ditto.
27246 * gdb.base/setvar.exp: ditto.
27247 * gdb.base/signals.exp: ditto.
27248 * gdb.base/twice.exp: ditto.
27249 * gdb.c++/classes.exp: ditto.
27250 * gdb.c++/inherit.exp: ditto.
27251 * gdb.c++/templates.exp: ditto.
27252 * gdb.base/break.exp: no run and hit main for stubs. Change line
27253 numbers for breakpoints and info breakpoint.
27254 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
27255 breakpoint().
27256 * gdb.base/callfuncs.c: ditto.
27257 * gdb.base/exprs: ditto.
27258 * gdb.base/interrupt.c: ditto.
27259 * gdb.base/opaque0.c: ditto.
27260 * gdb.base/printcmds.c: ditto.
27261 * gdb.base/ptype.c: ditto.
27262 * gdb.base/scope0.c: ditto.
27263 * gdb.base/setvar.c: ditto.
27264 * gdb.base/signals.c: ditto.
27265 * gdb.base/twice.c: ditto.
27266 * gdb.c++/misc.cc: ditto.
27267 * gdb.c++/templates.cc: ditto.
27268
27269Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27270
27271 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
27272
27273 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
27274 somewhere between `read' and `main.c'. I'm pretty sure the
27275 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
27276 and it isn't particularly useful.
27277
27278 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
27279
27280Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27281
27282 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
27283
27284Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
27285
27286 * config/mt-slite: add LIBS and -nostdlib.
27287 * config/slite-gdb.exp: add this new file to support sparclite target.
27288
27289Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
27290
27291 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
27292
27293 * gdb.base/a2-run.exp: Change argument to istarget from
27294 "*-*-vxworks" to "*-*-vxworks*".
27295 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
27296
27297Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
27298
27299 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
27300 will not runto main but do a 'step' to step out of breakpoint().
27301 * config/mt-slite: add -Dusestubs.
27302
27303Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27304
27305 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
27306 instead of just @.
27307
27308 * gdb.base/signals.exp: Add test for "handle all print".
27309 * TODO: Remove "handle all print". Also remove item about
27310 checking copyright date (I don't like the idea of a spurious FAIL
27311 based on when we run the tests).
27312
27313 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
27314 for SunOS4 (reason for failure not investigated). Remove
27315 redundant test for $binfile.
27316
27317 * gdb.base/nodebug.c (array_index): Call malloc.
27318
27319 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
27320
27321Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
27322
27323 * gdb.base/recurse.exp: Update gdb_test invocation to use new
27324 conventions and slightly simplify the matching regexp.
27325
27326Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27327
27328 * gdb.base/break.exp: Update gdb_test invocation to use new
27329 convention.
27330
27331 * lib/gdb.exp: If noargs is not set, set it to 0.
27332
27333 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
27334 tests unique.
27335
27336 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
27337
27338Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27339
27340 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
27341 one argument of type "<non-float parameter>".
27342
27343Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
27344
27345 * config/rom68k.exp: New file to support Motorola IDP board.
27346 * gdb.base/a2-run.exp: Skip this file if noargs is set.
27347 * gdb.base/break.c: Change things around so that this program
27348 doesn't depend upon args. This is necessary to make remote
27349 targets work (in general, they can't take args).
27350 * gdb.base/break.exp: Don't try to send args to program. Don't
27351 expect output. Also, replace lots of code with gdb_test.
27352
27353Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27354
27355 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
27356 printing of '\'' (which is what the comment says we are testing,
27357 even though we were not), not '''.
27358 (test_integer_literals_rejected): Test that printing ''' is an error.
27359
27360 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27361 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
27362 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
27363 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
27364 Use gdb_test not test_print_accept.
27365 * lib/gdb.exp: Remove test_print_accept.
27366
27367 * gdb.base/signals.exp (signal_tests_1): Make pass message
27368 consistent with fail message.
27369
27370 * gdb.base/whatis.exp: Remove xfails for printing char vs.
27371 unsigned char; the bug (PR 1821) is fixed.
27372
27373 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
27374
27375 * gdb.base/scope.exp (test_at_localscopes): Call pass for
27376 successful tests--makes xfailing them work right.
27377
27378Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27379
27380 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
27381 only \r\n, not .*. The test can pass .* as the last thing in
27382 $pattern if that is what it wants. In addition to providing this
27383 flexibility, this change should speed up pattern matching in cases
27384 where the pattern already ended with .* (there were a number of
27385 them). This change also helps catch bad patterns--in the old
27386 scheme the typo "char \*" instead of "char \\*" would pass. Now
27387 it is caught.
27388 * Many .exp files: Update callers.
27389
27390 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
27391 clearer and does not spuriously match multiple ('s. Likewise for
27392 ) and *.
27393
27394 * gdb.base/nodebug.exp: Test ability to call a function and pass
27395 it a string (even with no debugging info).
27396
27397 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
27398 "p '\'", which is the same as "p ''" once tcl gets done with
27399 quoting, to "p '\\'", which I suspect is what is intended (one
27400 backslash gets sent to GDB).
27401
27402 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
27403
27404Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27405
27406 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
27407 1817) was fixed literally years ago.
27408
27409Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27410
27411 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
27412 test, it causes stepping out of call_after_alloca_subr with
27413 optimizing compilers.
27414 (localvars_in_indirect_call): Consume GDB prompt if `finish'
27415 fails.
27416
27417 * gdb.c++/templates.exp: Source templ-info.exp only if
27418 the templates executable exists.
27419
27420 * gdb.c++/misc.cc (class Contains_static_instance,
27421 class Contains_nested_static_instance),
27422 gdb.c++/classes.exp (test_static_members): Test printing of
27423 a class that contains a static instance of the class.
27424
27425Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27426
27427 * gdb.base/langs2.c (cppsub_): Don't prototype.
27428 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
27429 only, I believe).
27430
27431Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27432
27433 * lib/gdb.exp (skip_chill_tests): New procedure.
27434
27435 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
27436
27437Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
27438
27439 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
27440 each expect pattern. Cuts runtime from 12 to about 4 seconds.
27441
27442Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27443
27444 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
27445
27446 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
27447 disassemble 8, not 16, instructions for part 4.
27448
27449 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
27450 support the latter anymore.
27451
27452 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
27453 -DNO_PROTOTYPES.
27454 * gdb.base/callfuncs.c: Control use of prototypes based on
27455 NO_PROTOTYPES, not __STDC__.
27456 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
27457 t_float_values2 tests if prototypes in use.
27458
27459 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
27460 t_double_values): When checking differences against DELTA, check
27461 that difference is within the range (-DELTA,DELTA), not just
27462 (-infinity,DELTA).
27463
27464Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
27465
27466 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
27467 'file' command firts, then 'target', then 'load', this is due to gdb
27468 target set up.
27469 * config/mips-gdb.exp: Fix a couple regular exp bugs.
27470
27471Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
27472
27473 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
27474 FP load/store variants.
27475 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
27476
27477Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
27478
27479 * gdb.base/term.exp: Do not give a warning if not native, it is
27480 not an abnormal condition.
27481
27482Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
27483
27484 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
27485 t_char_array".
27486
27487Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
27488
27489 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
27490 are getting the version number.
27491
27492 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
27493 if not native, it is not an abnormal condition.
27494
27495Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27496
27497 * lib/gdb.exp: Just use "file exists", rather than undocumented
27498 dejagnu procedure "findfile".
27499
27500Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
27501
27502 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
27503 (LDFLAGS): Set to -Xlinker -Ur.
27504
27505 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
27506 Removed, these values are set by lib/gdb.exp.
27507
27508 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
27509
27510Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
27511
27512 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
27513 of replicating gdb startup code.
27514
27515 * config/mt-vxworks (LDFLAGS): Set to -r.
27516 (CFLAGS_FOR_TARGET): Removed.
27517
27518 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
27519 (gdb) and gdb for vxworks uses (vxgdb).
27520
27521 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
27522 executable is not in the tree and host != target, use sed and
27523 program_transform_name to determine the gdb name used by the
27524 target.
27525
27526 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
27527 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
27528
27529Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27530
27531 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
27532 floats, chars, and shorts where there are ANSI-style function
27533 definitions.
27534
27535 * gdb.base/langs.exp, gdb.base/langs*: New test.
27536 * gdb.base/Makefile.in: Build it.
27537 * TODO: Remove item about checking that C names don't get C++
27538 demangling applied; this test tests it.
27539
27540Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27541
27542 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
27543 went with the const70 xfail. The xfail went away a year ago.
27544
27545 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
27546
27547 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
27548 for hp300.
27549
27550 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
27551
27552 * gdb.base/a1-selftest.exp: Don't run on hp300.
27553
27554Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27555
27556 * Makefile.in (site.exp): Set host_alias and target_alias as well
27557 as host_triplet and target_triplet.
27558
27559Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27560
27561 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
27562
27563 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
27564 places as other ecoff systems).
27565
27566 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
27567 ultrix.
27568
27569Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27570
27571 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
27572 remove them.
27573 * gdb.base/nodebug.exp: Accept "function" in addition to "text
27574 variable and "variable" in addition to "data variable".
27575 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
27576
27577 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
27578 2.
27579 * gdb.base/list1.c (long_line): Add additional statement at start
27580 of function.
27581 * gdb.base/list.exp (test_forward_search): Update line number to
27582 reflect new statement.
27583
27584Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27585
27586 * gdb.base/signals.exp: Reinitialize searched source directories
27587 after gdb_start call.
27588
27589Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
27590
27591 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
27592 * gdb.stabs/Makefile.in: Likewise.
27593
27594 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
27595 change. Instead split the tests into smaller pieces.
27596 * gdb.disasm/hppa.s: Corresponding changes.
27597
27598Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27599
27600 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27601 Quote ^C when passing it to stty. For some shells ^ is a pipe.
27602
27603 * gdb.base/funcargs.exp: Modify many tests so that every test
27604 either passes or fails. Make some test names unique.
27605
27606Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27607
27608 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27609 Call stty to set interrupt character.
27610
27611 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
27612 for HP assembler versus GNU assembler based on actual behavior of
27613 $(CC), rather than assuming that $(AS) is always the GNU assembler.
27614
27615 * TODO: Suggest a few more stepping tests.
27616
27617Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
27618
27619 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
27620 restart GDB for h8300 after a continue.
27621 (return): Add pattern to match a29k-udi behavior.
27622 * gdb.base/nodebug.exp: Remove obsolete comment.
27623 * gdb.base/regs.exp: New file, testing of register displays.
27624 * gdb.base/return.exp: Fix typo in reference to $objdir.
27625 * gdb.base/whatis.exp: Always start with a fresh GDB.
27626
27627Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27628
27629 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
27630 higher, these tests generate a lot of output.
27631
27632Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27633
27634 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
27635 code following the catch silently ignored some errors; without the
27636 catch they should be thrown like any other tcl error. Also, the
27637 catch used "" instead of {} which meant all the callers who wanted
27638 to include one of the characters "[]$ had to quote it an extra time.
27639 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
27640 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
27641 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
27642 Remove extra quoting.
27643
27644Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
27645
27646 * gdb.base/commands.exp: Make test names unique; every test either
27647 passes or fails. Update some comments.
27648
27649 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
27650
27651Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27652
27653 The following fixes a FAIL caused by the fact that the alpha stabs
27654 configuration didn't use the ".if alpha" code in weird.def.
27655 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
27656 bit pointer, so the 32 bit version works even on the alpha.
27657 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
27658 Remove the stuff which allowed us to have separate versions for
27659 alpha and everything else.
27660
27661 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
27662 regexp which "info func operator\[\](" is supposed to match. Fix
27663 string to send to GDB. Note that GDB still doesn't work right. Add a
27664 new test for "info func .perator\[\](" which GDB does handle correctly.
27665
27666 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
27667
27668Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27669
27670 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
27671 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
27672 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
27673 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
27674 it makes the tests harder to understand and confuses test-o-matic.
27675 The preferred style is that each test provides a PASS or a FAIL,
27676 and has a unique message (e.g. "continue #54" not just "continue")
27677 which is the same for the pass and the fail.
27678 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27679 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
27680 to lib/gdb.exp.
27681 * gdb.base/printcmds.exp: Use test_print_accept. Remove
27682 prt_accept which was basically the same thing. Likewise for
27683 test_print_reject and prt_reject.
27684 * lib/gdb.exp (test_print_reject): Add some more error message
27685 patterns to match from the former printcmds.exp (prt_reject).
27686 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
27687 One defect of the passcount stuff is that some of it failed to
27688 report XPASS where appropriate.
27689 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
27690 stuff before and after arg in expected pattern.
27691 (test_paddr_operator_functions): Re-do test without print_addr_of;
27692 this is the only test which seems to want extra stuff there.
27693
27694Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27695
27696 * gdb.base/nodebug.exp: Update new tests to reflect improved
27697 wording of gdb output.
27698
27699 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
27700 and "ptype" work on variables in files compiled without -g.
27701 Replaces commented out "maint print msymbol" tests.
27702
27703Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27704
27705 * gdb.base/setvar.c (dummy): Call malloc.
27706
27707 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
27708 losing with the irix4 sed.
27709
27710 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
27711 ALRM" on irix4.
27712
27713Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27714
27715 * TODO: Remove items about corefile.exp testing new exec-file and
27716 backtrace; both are now done. Add items about printing enums.
27717
27718Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27719
27720 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
27721 "get signal $thissig" test fails.
27722
27723 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
27724
27725Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27726
27727 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
27728 compiler warning with dec alpha compiler.
27729
27730 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
27731 extra \n from gdb_test call (this explains why the prompt test
27732 that I removed yesterday was there).
27733 (user_defined_command_test): Remove extra \n and prompt test.
27734
27735 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
27736 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
27737 doesn't exist.
27738 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
27739 Also remove alpha workaround, which turns out to be because
27740 SIGABRT == SIGLOST.
27741
27742 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
27743
27744 * gdb.base/help.exp: Don't test "help show".
27745
27746Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27747
27748 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
27749 "set print address" is on.
27750 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
27751 pass prompt to gdb_test; gdb_test already looks for the prompt.
27752
27753 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
27754
27755 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
27756 was a vestige of the manual TESTSTRATEGY, and the purpose of it
27757 was to make sure that gdb can read a core file. But (a) the "read
27758 the corefile" part didn't make it to a1-selftest.exp, we just
27759 delete the corefile after creating it, and (b) we test reading
27760 corefiles in corefile.exp anyway. Also, this test left around a
27761 xgdb process on Solaris.
27762
27763 * gdb.base/corefile.exp: Also test backtrace.
27764
27765Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
27766
27767 * gdb.base/commands.exp: Test a simple user defined command with
27768 arguments and if/while statements; verify the full user command is
27769 printed by "show user".
27770
27771 * gdb.base/commands.exp: Test if/while commands as part of a
27772 breakpoint command list; verify they appear in breakpoint
27773 information.
27774
27775Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27776
27777 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
27778 than by dividing by zero.
27779
27780Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
27781
27782 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
27783 performing an inferior call with watchpoints enabled.
27784 * gdb.base/watchpoint.c (main): Delete second unnecessary read
27785 call.
27786
27787Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27788
27789 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
27790 of "file" command.
27791
27792 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
27793 Add additional pattern for when "int operator int(void);" appears
27794 in a different order.
27795
27796Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27797
27798 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
27799
27800 * gdb.base/help.exp: Replace most of docstrings for "info signals"
27801 and "signal" with ".*".
27802
27803Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27804
27805 * TODO: Add note about "handle all nostop".
27806
27807 * gdb.base/{sigall.c, sigall.exp}: New test.
27808 * gdb.base/Makefile.in: Add it.
27809
27810Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27811
27812 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
27813 when invoking GDB, suppresses any windowing interface.
27814
27815Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27816
27817 * config/sim-gdb: New file, simulator testing support.
27818
27819Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27820
27821 * gdb.base/interrupt.exp: Test calling func1 twice.
27822
27823Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27824
27825 * gdb.base/list.exp (test_forward_search): Set timeout higher
27826 when we'll be getting lots of output from gdb.
27827
27828 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27829 "init_malloc" to after the expect statement. Run it if that
27830 regexp is taken, but also for two others which happen if source
27831 cannot be found.
27832
27833Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27834
27835 * gdb.base/printcmds.exp: New test, for printing register before
27836 program is running.
27837
27838Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27839
27840 * gdb.base/list.exp: Correct some alternate expect patterns
27841 to reflect changes in list1.c.
27842
27843Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27844
27845 * TODO: Add item regarding large frames.
27846
27847 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27848
27849 * TODO: Remove item about enabling return.exp; it
27850 is enabled. Suggest a few more "return" tests.
27851
27852Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27853
27854 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27855 anonymous unions.
27856
27857Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27858
27859 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27860 and pr-5646.o, so "make" is the same as "make all", not "make
27861 pr-4975.o".
27862
27863Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27864
27865 * gdb.base/list.exp: Adjust expectations to reflect changes in
27866 list1.c.
27867 (test_forward_search): New test proc.
27868 * gdb.base/list1.c (long_line): New function, has long source line.
27869
27870Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27871
27872 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27873 additional line of code that was added.
27874
27875Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27876
27877 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27878 tests so as not to overflow expect's input buffers.
27879 * gdb.disasm/hppa.exp: Corresponding changes.
27880
27881Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27882
27883 Beginnings of template debugging tests.
27884 * gdb.c++/templ-info.cc: New file to test for template
27885 debugging capability of the compiler.
27886 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27887 templ-info.cc.
27888 * gdb.c++/templates.cc: Add explicit template instantiations
27889 to enable compiling with -fno-implicit-templates. Add destructor
27890 and 'value' method to T5 class for template tests.
27891 * gdb.c++/templates.exp: Add testcases for printing of template
27892 types, setting breakpoints on template methods and calling a
d63a86f8 27893 template method.
c906108c
SS
27894
27895Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27896
27897 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27898 branch target since some assemblers (gas-2.5) may emit a
27899 relocation for the branch instead of resolving it in the
27900 assembler.
27901
27902Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27903
27904 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27905 through signal handler.
27906
27907Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27908
27909 * configure.in (*-*-netware): Use config/mt-netware.
27910
27911 * config/mt-netware: New file.
27912 * config/mt-i386-netware: Removed, separate configs for different
27913 netware architectures are no longer needed now that we have
27914 --with-headers.
27915
27916Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27917
27918 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27919 by the recent changes to use ANSI C arithmetic conversions.
27920
27921Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27922
27923 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27924 bug involving using inferior_pid to figure out whether to select a
27925 frame.
27926
27927Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27928
27929 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27930 match the current disassembler output.
27931
27932Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27933
27934 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27935 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27936 types, expect "int" as type of integer values (for now).
27937
27938Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27939
27940 * gdb.base/commands.exp: New tests for if/while commands.
27941
27942Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27943
27944 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27945 by .*, since hex values have different syntax in Chill mode.
27946
27947Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27948
27949 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27950 linefeed from expect pattern for repeated types with indices > 9.
27951
27952Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27953
27954 First part of Fortran test suite.
27955 * gdb.fortran: New directory.
27956 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27957
27958Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27959
27960 * gdb.base/default.exp: Update expect pattern for load command
27961 without arguments.
27962
27963Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27964
27965 * configure.in: Change i386 to i[345]86.
27966 * gdb.base/configure.in: Likewise.
27967 * gdb.c++/configure.in: Likewise.
27968 * gdb.chill/configure.in: Likewise.
27969
27970Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27971
27972 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27973 patterns, since that is not a valid context for comments.
27974
27975Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27976
27977 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27978 repeated types and repeated types with indices > 9.
27979
27980Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27981
27982 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27983 2417; old bug has been fixed.
27984
27985Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27986
27987 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27988 send the newline ourselves instead of assuming gdb_test will do
27989 so when passed an empty input string.
27990
27991 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27992 stabs testcode.
27993
27994Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27995
27996 * lib/gdb.exp (gdb_test): Don't send anything if the first
27997 argument is an empty string. This makes cases where we want to
27998 match output that is already in expect's buffers (for example,
27999 matching a breakpoint after gdb_run_cmd has been called) work
28000 reliably.
28001
28002Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28003
28004 * config/netware.exp: New file.
28005
28006Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28007
28008 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
28009 the -B and -L prefixes so we can find the debugging stub.
28010
28011 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
28012 there and we are using the gcc from the tree.
28013
28014 * gdb.base/types.c: Removed.
28015
28016 * gdb.base/configure.in: Look for makefile fragments in ../config.
28017 Recognize i386-*-netware.
28018 * gdb.c++/configure.in: Likewise.
28019
28020Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28021
28022 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
28023 the correct TCL syntax.
28024
28025Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28026
28027 * gdb.base/opaque.exp: use runto instead of messing around with
28028 breakpoints. Simplify by using gdb_test.
28029
28030 * gdb.base/bitfields.exp: restart between tests on netware targets
28031 because breakpoints aren't relocated after target death. Run
28032 processes to completion.
28033
28034 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
28035
28036Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
28037
28038 * Makefile.in: Remove extra tabs that confuse some versions
28039 of "make". Use the newly built gdb to test with by default,
28040 rather than the first one in the tester's search path.
28041
28042Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
28043
28044 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
28045
28046 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
28047 condition help.
28048
28049Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28050
28051 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
28052
28053 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
28054 running.
28055 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
28056 * gdb.base/funcargs.exp: Likewise.
28057
28058 * gdb.base/bitfields.exp: Simplify by using gdb_test.
28059 * gdb.base/funcargs.exp: Likewise.
28060
28061 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
28062 message is "".
28063
28064Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28065
28066 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
28067 return,signals,twice}.exp: Handle non-existant binaries
28068 consistantly.
28069
28070 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
28071 * gdb.base/Makefile.in: Don't try to generate a core dump, we
28072 might testing a cross development system.
28073
28074Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28075
28076 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
28077 runtest script is relative to ${srcdir}, not ${rootdir}.
28078
28079Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
28080
28081 * gdb.base/signals.exp: Allow for optionality of breakpoint
28082 address.
28083
28084Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28085
28086 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
28087
28088Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28089
28090 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
28091 for size_t definition.
28092 * gdb.c++/templates.cc: Likewise
28093
28094 * config/mt-i386-netware: New file.
28095
28096 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
28097 defined.
28098
28099 * gdb.base/Makefile.in: Added support for systems that name core
28100 files by appending "core" to the program name.
28101 * gdb.base/a1-selftest.exp: Likewise.
28102
28103Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28104
28105 * gdb.base/return.exp: Add comment and message for `return double'
28106 test failure on Sparc Solaris.
28107
28108Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
28109
28110 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
28111
28112Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28113
28114 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
28115 from optimizing them away.
28116 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
28117 patterns to include default constructors and assignment operators,
28118 to match gcc versions beyond 2.5.8. Accept any cplus demangling
28119 character in the output of the virtual base pointer.
28120
28121Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28122
28123 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
28124 expression match in print_addr_of to avoid unintented matches.
28125 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
28126 versions up to 2.5.8.
28127
28128Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28129
28130 * gdb.base/list.exp: Tweak alternate pattern for listing of an
28131 included file to run under newer versions of expect.
28132 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
28133 consecutive >'s in templates to accomodate recent cplus-dem.c change.
28134 Remove xfail for the virtual table of BDDHookV.
28135
28136Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
28137
28138 * lib/gdb.exp (string_to_regexp): Set a default result.
28139 (default_gdb_start): Fix misleading message.
28140
28141Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
28142
28143 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
28144 Remove all CC, etc definitions.
28145 * config/mt-hpux: New file.
28146 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
28147 (CFLAGS, LDFLAGS): Define.
28148 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
28149
28150 * Makefile.in (site.exp): Don't insert host_os, etc.
28151 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
28152 (distclean): Check existence of subdir.
28153 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
28154 * gdb.base/Makefile.in: General cleanup and simplification.
28155 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28156 to build executables. Use default rule to build .o files.
28157 (EXPECT, RUNTEST, CC): Fix relative pathname.
28158 (site.exp): Don't insert host_os, etc.
28159 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
28160 and/or SIGUSR1 defined.
28161 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
28162 * gdb.c++/Makefile.in: General cleanup and simplification.
28163 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28164 (CFLAGS): Remove.
28165 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
28166
28167Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
28168
28169 * gdb.base/recurse.exp: Misc changes to get tests running again
28170 after Kung's changes to the watchpoint code.
28171 * gdb.base/watchpoint.exp: Likewise.
28172
28173Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
28174
28175 * lib/gdb.exp (string_to_regexp): Convert {\} also.
28176
28177Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
28178
28179 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
28180 * lib/gdb.exp (default_gdb_start): Define.
28181 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
28182 gdb.base/funcargs.exp, gdb.base/opaque.exp,
28183 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
28184 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
28185 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
28186 Don't call gdb_target_udi in between tests.
28187
28188Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28189
28190 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
28191 (which was basically just a local version of the same thing). In
28192 addition to avoiding duplication, gdb_test_exact is faster.
28193 * lib/gdb.exp (gdb_test_exact): Fix typo.
28194
28195 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
28196 don't give an error.
28197
28198 * gdb.base/term.exp: Call delete_breakpoints before starting.
28199
28200 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
28201 (t10): Add comment.
28202
28203Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28204
28205 Reorganization of the GDB Test Suite.
28206
28207 * gdb.base: New directory, contains all the basic tests.
28208 * gdb.c++: New directory, tests specific to C++.
28209 * gdb.chill: New directory, tests specific to Chill.
28210 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
28211 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
28212 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
28213 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
28214 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
28215 t30-31 to chill).
28216 * */gdbme.*: Rename to match appropriate expect scripts.
28217 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
28218 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
28219 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
28220 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
28221 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
28222 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
28223 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
28224 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
28225 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
28226 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
28227 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
28228 gdb.c++/virtfunc.cc: New names of C++ files.
28229 * gdb.chill/chillvars.ch: New name of Chill file.
28230 * gdb.base/configure.in, gdb.c++/configure.in,
28231 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
28232 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
28233 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
28234 * configure.in (configdirs): Update to reflect directory changes.
28235 (target_abbrev): No longer define for any configuration.
28236 * Makefile.in: Cosmetic improvements to header comments.
28237
28238Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
28239
28240 Various changes to gdb.t31:
28241
28242 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
28243 * gdbme.ch: Make all key-words and predefineds be upper-case.
28244 * chillvars.exp: Expect key-words and predefinds in upper-case.
28245
28246 * chillvars.exp: Use gdb_test_exact many places.
28247 Change expected output for arrays (which now includes index labels).
28248
28249 * pr-5020.exp, gdme.ch (module PR_5020):
28250 New test, for PR-5020.
28251
28252Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
28253
28254 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
28255 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
28256
28257Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
28258
28259 * Makefile.in: Fix bit-rot in definitions of CHILL,
28260 CHILL_FOR_TARGET and Chill_LIB.
28261 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
28262 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
28263 CHILL, and CHILL_LIB.
28264
28265Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
28266
28267 * Revert the previous changes. Please see Rob's directory
28268 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
28269
28270Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
28271
28272 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
28273 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
28274 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
28275 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
28276 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
28277 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
28278 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
28279 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
28280 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
28281 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
28282 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
28283 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
28284 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
28285 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
28286 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
28287 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
28288 changes from 94Q1.
28289
28290Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
28291
28292 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
28293 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
28294 Rob's new testing fragments.
28295
28296Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
28297
28298 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 28299 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
28300
28301Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28302
28303 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
28304 version also, match on casted version strings, and match on
28305 gdb startup case where the line numbers might be messed up.
28306
28307Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
28308
28309 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 28310 (CFLAGS): Delete it from here.
c906108c
SS
28311
28312Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
28313
28314 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
28315
28316Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
28317
28318 * Makefile.in (RUNTEST): Default to just "runtest".
28319
28320Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28321
28322 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
28323 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
28324 the code has been restructured.
28325
28326Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28327
28328 * gdb.t00/default.exp (set write): Allow any number of \r and/or
28329 \n, not just one of each.
28330
28331 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
28332 /bin/cc gives a warning if you do.
28333
28334Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
28335
d63a86f8 28336 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
28337 __t10ListS_link1ZUiRCUiPT0
28338
28339Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28340
28341 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
28342 on local variables in recursive functions.
28343
28344 * gdb.t07/Makefile.in: Build the new test.
28345
28346Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28347
28348 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
28349 directly. Instead compare the return values from actual calls.
28350
28351Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
28352
28353 * Makefile.in (check): Set TCL_LIBRARY for runtest.
28354
28355Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28356
28357 * From Peter Schauer with minor modifications.
a9c64011
AS
28358 * gdb.t15/return.exp (return_tests): Handle targets where "return"
28359 stops in mid-line in the caller. Add xfail for returning a float
28360 value on X86 targets.
c906108c
SS
28361
28362Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28363
28364 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
28365 to avoid expect lossage.
28366 (fmem_LRbug_tests): Likewise.
28367 * gdb.disasm/hppa.s: Corresponding changes.
28368
28369 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
28370 conditions to work with latest dejagnu/expect.
28371
28372 * gdb.t15/funcargs.exp (finish from indirect call): No longer
28373 expected to fail on the PA.
28374 (backtrace in call with trampolines): Explicitly require main
28375 to be frame #1 (no trampolines should show up in backtrace).
28376
28377 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
28378 "continue -expect".
28379 * gdb.t06/break.exp: Likewise.
28380 * gdb.t07/watchpoint.exp: Likewise.
28381 * gdb.t13/bitfields.exp: Likewise.
28382 * gdb.t15/{funcargs,return}.exp: Likewise.
28383 * gdb.stabs/weird.exp: Likewise.
28384 * config/{mips,udi}-gdb.exp: Likewise.
28385
28386 * hppa.sed: Enclose comments within a sed command to avoid
28387 losing with the old OSF1 sed.
28388
28389Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28390
28391 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
28392 sequent dynix.
28393 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
28394 * gdb.t15/funcargs.exp: Conditionally step again to really
28395 finish from marker_call_with_trampolines. Handle the case where
28396 the first step from within call_with_trampolines already steps
28397 us back to main.
28398 * gdb.t15/gdbme.c: Add comment to closing brace of
28399 call_with_trampolines for funcargs.exp.
28400
28401Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28402
d63a86f8 28403 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
28404 Fix typo(s).
28405
28406Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28407
28408 * gdb.t07/gdbme.c: More code for watchpoint testing.
28409
28410 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
28411 "Hardware watchpoint" throughout file.
28412 (test_watchpoint_triggered_in_syscall): New test.
28413 (test_complex_watchpoint): New test.
28414
28415Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28416
28417 * gdbme.c (call_with_trampolines): New function to try and step
28418 into. Tests trampoline problems on the PA.
28419
28420 * funcargs.exp (localvars_in_indirect_call): No longer expect
28421 stepping into indirect call to fail on PAs.
28422 (test_stepping_over_trampolines): New test.
28423
28424Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28425
28426 * TODO: Add suggestions for static member function tests, and
28427 completion tests.
28428
28429Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28430
28431 * TODO: Add suggestions for "p/a" tests.
28432
28433 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
28434 (default_gdb_exit): Replace all the hair with sending "quit" to
28435 the process with a simple close.
28436
28437Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28438
28439 * TODO: Add suggestions for shared library tests.
28440
28441Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28442
28443 * TODO: Add suggestions for x/s tests.
28444
28445Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28446
28447 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
28448 "enable once", and "enable breakpoints once" with ".*".
28449
28450Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28451
28452 * TODO: Add suggestions about structure passing tests.
28453
28454Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28455
28456 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
28457 the primary1 test, use work around if __GNUC__ < 2.
28458 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
28459 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
28460 Test for bad output rather than waiting for timeout. Issue
28461 second continue only if first continue failed.
28462
28463Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28464
28465 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
28466 operator[] test with gdb_test because the old code didn't seem to
28467 be getting the quoting right with the new dejagnu.
28468
28469Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
28470
28471 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
28472 one from the path.
28473 * Makefile.in: Use a fresh expect if there is one, use runtest
28474 from the src tree if there is one.
d63a86f8 28475
c906108c
SS
28476Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28477
28478 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
28479 next over recursive call. Revise the tests from that point on
28480 (which had been skipped) to match GDB's actual (correct) output.
28481
28482 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
28483 with next over a breakpoint whose condition is false.
28484
28485 * gdb.t00/help.exp: Comment out "help set print" tests just like
28486 (and for same reason as) "help set" test.
28487
28488Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28489
28490 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
28491 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
28492
28493Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28494
28495 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
28496 necessary gdb_target_udi.
28497
28498 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
28499
28500 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
28501 1838 and 2417; they are fixed.
28502
28503 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
28504 gdb.t03/ptype.exp (ptype structure, ptype union):
28505 Remove xfails; the test is looser than when the xfails were added.
28506
28507 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
28508 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
28509
28510 * gdb.t01/run.exp: Only run shell test if isnative.
28511
28512 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
28513 since "run" automatically loads if necessary. Call gdb_target_udi
28514 after the "file" since "file" kills any execution target.
28515
28516 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
28517 GDB. GDB doesn't work that way (not anymore at least) on UDI.
28518 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
28519 argument for UDI.
28520
28521Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28522
28523 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
28524
28525 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
28526
28527Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28528
28529 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
28530 properly quoting regexps. This makes the second argument to
28531 demangle a fixed string, which matches the callers, instead of a
28532 shell-style pattern which is what the previous implementation
28533 used. Update some of the callers.
28534
28535Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28536
28537 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
28538 (comib_nullified_tests): Fix typo.
28539 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
28540 strings. No longer expected to fail.
28541
28542 * gdb.disasm/hppa.s (addib_tests): Fix typo.
28543 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
28544 strings. No longer expected to fail.
28545
28546 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
28547 string. No longer expected to fail.
28548
28549Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28550
28551 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
28552 No longer expected to fail.
28553
28554 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
28555 string. No longer expected to fail.
28556
28557Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28558
28559 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
28560 only in the names (I probably got most of them). I was even
28561 generous with some which differed in underscores in names, and
28562 probably missed a few, and I *still* was able to remove almost a
28563 third of the file with almost no impact on testsuite coverage.
28564
28565Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28566
28567 * gdb.t00/default.exp: Match udi_attach error message as well as
28568 the one from child_attach.
28569
28570 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
28571
28572 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
28573
28574 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
28575 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
28576
28577 * Move test with enums and partial symbols back to
28578 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
28579 Reverts the change of 26 May 93. Per today's change to
28580 stabs.texinfo, the behavior that weird.exp was expecting was
28581 unreasonable; what is important is that the compiler+gdb get
28582 things right, which happens with a recent gcc. Also fix the test
28583 to deal with native compilers which put out the stab gdb can't
28584 deal with.
28585
28586Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28587
28588 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
28589 in the names. The main thing these accomplish is to slow things down.
28590 Many more such duplicates surely remain.
28591
28592 * gdb.t00/help.exp: Comment out "help support" test just like
28593 (and for same reason as) "help set" test.
28594
28595Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
28596
28597 * gdb.t06/break.exp: Remove setup_xfails for
28598 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
28599 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
28600 about known bug in gcc to include up through 2.5.8.
28601 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
28602 well as "_vb$".
28603 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
28604 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
28605 with latest gcc and gdb.
28606 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
28607 well as "_vb$".
28608
28609Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28610
28611 * configure.in (hppa*-*-*): Also configure and build stabs-only
28612 tests.
28613
28614Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28615
28616 * gdb.t10/hppa.mt: A makefile fragment for the PA.
28617 * gdb.t10/configure.in (hppa*-*-*): Use it.
28618
28619Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28620
28621 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
28622
28623Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28624
28625 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
28626 versions prior to 1.13.5.
28627
28628Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28629
28630 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
28631 the prompt is at the start of a line.
28632
28633Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28634
28635 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
28636 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
28637 in the copr tests now.
28638 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
28639 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
28640 expected to fail.
28641
28642Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
28643
28644 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
28645 gdb.t31/chillvars.exp, lib/gdb.exp:
28646 Tweak to run under either version of expect.
28647 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
28648 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
28649 * gdb.t11/list.exp: Remove extraneous whitespace.
28650
28651Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28652
28653 * gdb.t16/printcmds.exp (test_print_strings): Accept
28654 "(unsigned char *) " before the string.
28655
28656 * TODO: Add notes about printing of fancy types and GDB expressions.
28657
28658Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
28659
28660 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
28661 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 28662 if doing mips-idt-ecoff.
c906108c
SS
28663
28664Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
28665
28666 * Most .exp files: Tweak to run under either version of expect.
28667
28668Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28669
28670 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
28671 xfails; I'm not sure why they are failing, but not because of PR 1806.
28672
28673Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
28674
28675 * config/unix-gdb.exp: Remove gdb_unload cause it's already
28676 defined in lib/gdb.exp.
28677
28678Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28679
28680 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
28681 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
28682 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
28683 have to be typeless.
28684
28685Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28686
28687 * TODO: Add suggestion for copyright year test.
28688
28689Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
28690
28691 * configure.in (*-*-lynxos*): Add stabs tests.
28692
28693Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28694
28695 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
28696 so insert a tab before any assembler directive in column zero.
28697
28698 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
28699 stores.
28700 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
28701 stores.
28702 (fpu_short_memory_tests): Likewise.
28703
28704Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28705
28706 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
28707 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
28708 .stabs directives in comments.
28709
28710Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28711
28712 * TODO: New file, describing tests we could write.
28713 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
28714
28715Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28716
28717 * gdb.t06/signals.exp: Add kludge to force re-sync.
28718
28719 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
28720 to xgdb instead of gdb, get out of gdb.
28721
28722Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
28723
28724 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
28725 for info.
28726
28727Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28728
28729 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
28730 * gdb.stabs/configure.in (hppa*-*-*): Use it.
28731 * gdb.stabs/hppa.sed: New sed script for the PA.
28732
28733Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28734
28735 * gdb.stabs: Re-write weird.def and configuration to use sed
28736 instead of cpp. sed is portable and POSIX; cpp is neither.
28737
28738Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28739
28740 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
28741
28742Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28743
28744 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
28745
28746Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28747
28748 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
28749 "_vb$".
28750 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
28751 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
28752
28753Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28754
28755 * lib/gdb.exp: Comment out code which depends on non-existent
28756 `transform' procedure.
28757
28758Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
28759
28760 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
28761 * lib/gdb.exp: Transform tool name.
28762 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
28763 1.1's new error handling system.
28764
28765Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28766
28767 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
28768
28769Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28770
28771 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
28772 They made pattern matching so slow that timeouts happened on
28773 heavily loaded systems. Now any output from "show print" which
28774 gets us back to the GDB prompt is a PASS.
28775
28776Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
28777
28778 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
28779
28780Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28781
28782 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
28783
28784 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
28785 It is not from PR 3220.
28786
28787Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28788
28789 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
28790 just started failing because they depended on the order the
28791 subcommands are presented, or exact docstring text. This kind of
28792 test is a pain and has minimal benefit.
28793
28794Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28795
28796 * gdb.t09/corefile.exp: At end of test, use "core" command with
28797 no arguments.
28798
28799Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
28800
28801 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
28802 17}/Makefile.in: Make it possible to run the testsuite with Sun
28803 make and CC = cross gcc by adding explicit build rules for .o
28804 files.
28805
28806Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28807
28808 * gdb.t15/funcargs.exp: Don't put comments on same line as
28809 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 28810
c906108c
SS
28811Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28812
28813 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
28814
28815Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28816
28817 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28818 * gdb.t20/inherit.exp: remove three dumplicate entries.
28819
28820Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28821
28822 * gdb.t06/break.exp: For "next over recursive call", fail on any
28823 incorrect output, not just on "factorial (value=2)".
28824
28825Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28826
28827 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28828 working now. Add an xfail if accesing a bss variable causes
28829 a memory error if the target is not yet run.
28830
28831Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28832
28833 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28834 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28835 name of __st* demangling (2 strings). Did Kung really get the
28836 more than 95 others right without testing them?
28837
28838Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28839
28840 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28841
28842Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28843
28844 * configure.in (configdirs): Add gdb.disasm
28845 * gdb.disasm: New directory for GDB disassembler tests.
28846 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28847
28848Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28849
28850 * gdb.t00/help.exp: Don't test "help set".
28851
28852 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28853 from within expect statements. None of these happen anymore and
28854 they cause regressions to be silently unnoticed.
28855
28856 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28857 messages) about known failures with gcc cygnus-2.4.5-930417.
28858
28859 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28860 comp-info.exp so it gets built if it doesn't exist.
28861
28862 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28863 it is no longer used.
28864 * gdb.t13/comp-info.c: Removed.
28865
28866Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28867
28868 * gdb.t06/signals.exp: Add xfail for sun3.
28869
28870Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28871
28872 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28873 relevant because ^C doesn't get sent but failure can be reproduced
28874 interactively).
28875
28876Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28877
28878 * gdb.stabs/alpha.mt: New configuration file for alpha.
28879 * gdb.stabs/configure.in: Use it.
28880 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28881 sharing with alpha.mt, redefine long to word via preprocessor.
28882 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28883 for alpha.
28884 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28885 native cc.
28886 * gdb.t00/teststrategy.exp: Change expect string so that we
28887 consume the `(xgdb)' from the command echo and from the gdb prompt.
28888 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28889 gdb currently compares all values as long, so this failure probably
28890 applies to any configuration where LONGEST is bigger than a target int.
28891 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28892 with gcc.
28893 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28894 to handle opaque pointers, gcc is.
28895 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28896 as first argument. Include <sys/types.h> and change all operator
28897 new definitions to use size_t.
28898 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28899 now that we use size_t.
28900
28901Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28902
a9c64011 28903 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 28904 a long or float array cast all array members to the same type.
a9c64011 28905 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 28906 with 64 bit longs.
a9c64011 28907 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 28908 on alpha.
a9c64011 28909 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
28910
28911Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28912
28913 * gdb.t24 (demangle.exp): Constructors of templates have names like
28914 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28915 section 14.6 of the ARM.
28916
28917 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28918 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28919 accomplish little and slow down the testsuite.
28920
28921 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28922 Accept spaces various places.
28923
28924Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28925
28926 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28927 with watchpoint enabled.
28928
28929 * Makefile.in: Remove definition of CC and remove the second
28930 definition of CXX (the "CXX = gcc" one remains). These definitions
28931 were causing backquotes to be expanded within backquotes, which
28932 doesn't work.
28933
28934Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28935
28936 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28937
28938Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28939
a9c64011
AS
28940 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28941 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
28942 by mips cc and contains no stabs entries.
28943
28944Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28945
28946 * config/vx-gdb.exp: Use fake device to load files rather than
28947 NFS.
28948 * lib/gdb.exp: New proc to do "file" command.
28949 * config/unix-gdb.exp: Use new "file" proc.
28950
28951Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28952
28953 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28954 Rework board rebooting slightly.
28955 (gdb_exit): Don't exit from the remote shell; there isn't one.
28956 * gdb.stabs/weird.exp: If a program is being debugged already,
28957 kill it.
28958 * gdb.t04/setvar.exp: Stop and restart gdb.
28959 * gdb.t05/expr.exp: Likewise.
28960 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28961 restart gdb and reload the program.
28962 * gdb.t08/opaque.exp: Likewise.
28963 * gdb.t12/scope.exp: Likewise.
28964 * gdb.t13/bitfields.exp: Likewise.
28965 * gdb.t15/funcargs.exp: Likewise.
28966 * gdb.t20/classes.exp: Likewise.
28967 * gdb.t03/ptype.exp: Increase timeout.
28968 * gdb.t16/printcmds.exp (test_print_string_constants,
28969 test_print_array_constants): Likewise.
28970 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28971 * gdb.t20/classes.exp (do_tests): Likewise.
28972 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28973
28974Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28975
28976 * gdb.stabs: Renamed *wierd* to *weird*.
28977
28978Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28979
28980 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28981 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28982
28983Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28984
28985 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28986 (do_tests): Remove xfail for whatis on one_var and two_var.
28987
28988Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28989
28990 * Makefile.in: Made cross building work better by adding
28991 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28992
28993Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28994
28995 * gdb.t15/{return.c,return.exp,Makefile.in}:
28996 New test, currently commented out.
28997
28998Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28999
29000 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
29001 still running and removes the leftover named socket so GDb can do
29002 clean restarts.
29003
29004Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
29005
29006 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
29007 console, not GDB.
29008 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
29009 cross testing works better with "make check"
29010 * config/unix-gdb: Use default procedures for exit and version.
29011 * config/vx-gdb.exp: Cleaned up and massaged back to working order
29012 with the newest VxWorks.
29013
29014Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29015
29016 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
29017 old form.
29018
29019 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
29020 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
29021
29022 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
29023
29024 * config/unix-gdb.exp: Remove this version of gdb_exit
29025 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
29026 Rob says he'll look at it when he gets back to testing boards.
29027
29028Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
29029
29030 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
29031 an expected fail for certain ptype commands.
29032
29033 * gdb.t20/classes.exp: Update expected results of "ptype class
29034 Base1" to account for the constructor that now appears in the type.
29035
29036Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
29037
29038 * configure.in (configdirs): Restore gdb.t04, which mysteriously
29039 disappeared from list.
29040 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
29041 "alldone" proc with call to cleanup and exit.
29042 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
29043 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
29044 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
29045 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
29046 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
29047 "alldone" proc with simple returns that suppress remaining
29048 tests. The alldone proc went away many months ago.
29049
29050Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29051
29052 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
29053
29054 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
29055
29056Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29057
29058 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
29059 as vax gdb will display them.
29060
29061Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29062
29063 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
29064 optimizers.
29065
29066 * scope.exp: Change "bad value for localval" messages so each one
29067 is unique.
29068
29069 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
29070 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
29071
29072 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
29073
29074Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29075
29076 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
29077 doesn't exist (due to optimization).
29078
29079Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29080
29081 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
29082 contains \r because the filename is long.
29083
29084 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
29085 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
29086
29087Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29088
29089 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
29090 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
29091 Ultrix.
29092 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
29093 int tests.
29094 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
29095
29096Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
29097
29098 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
29099
29100 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 29101 to match does not match the passing case but still matches the
c906108c
SS
29102 failing case.
29103
29104Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29105
29106 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
29107
29108Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
29109
29110 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
29111 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
29112 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
29113 Remove various versions of gdb_exit.
29114 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
29115 gdb_exit.
29116 * config/unix-gdb.exp: gdb_exit remains here, and should override
29117 the generic version, since it's doing a lot of wierd stuff that
29118 the other versions aren't. FIXME, fold it in, or abandon this
29119 version.
29120
29121Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29122
29123 * gdb.t24/demangle.exp: Add tests for PR 3220.
29124
29125Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29126
29127 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
29128
29129Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
29130
29131 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
29132 "i386-*-*". Works for i486 as well.
29133
29134 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
29135 bug, and expand domain of xfail to all SVR4 systems, since the
29136 actual problem is likely to be in generic SVR4 /proc support.
29137
29138Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29139
29140 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
29141
29142Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
29143
29144 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
29145 xfails for other systems. Match a missing 'Continuing.' as an
29146 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
29147
29148 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
29149 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
29150 Only issue warning for missing executables if -all option is used.
29151
29152 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
29153 file if -all option is used. It's like an unpredictable XFAIL.
29154
29155Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29156
29157 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
29158 for dynamically linked binaries.
29159
29160 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
29161
29162Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29163
29164 * gdb.t20/inherit.exp: Change message for "print tagless struct"
29165 to state that this is a known bug in old versions of g++.
29166
29167Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29168
29169 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
29170 while waiting for `Continuing'.
29171
29172Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
29173
29174 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
29175 in text, data, and bss.
29176 * gdb.t10/nodebug.c: Add local and global test variables for
29177 initialized and uninitialized data.
29178
29179Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29180
29181 * config/unix-gdb.exp (gdb_exit): Add "wait".
29182
29183Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29184
29185 * gdb.t06/signals.exp: xfail the continue from the handler for all
29186 targets.
29187
29188 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
29189 function with watchpoints enabled, the i386 call dummy starts with
29190 a call.
29191
29192 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
29193 386 bsd names its corefiles.
29194
29195Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
29196
29197 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
29198 compilers don't grok it.
29199 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
29200 with small octal ints rather than character constants, which
29201 are signed and might not fit if first promoted to int.
29202
29203Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
29204
29205 * gdb.t09/Makefile.in (clean): Remove corefile.
29206
29207Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29208
29209 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
29210
29211Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29212 and Jim Kingdon (kingdon@cygnus.com)
29213
29214 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
29215 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
29216 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
29217
29218Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29219
29220 * gdb.t17/interrupt.exp: Add xfail for hppa.
29221
29222Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29223
29224 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
29225 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
29226 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
29227 to determine signed-ness of bitfields and use the result to setup
29228 the xfail.
29229 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
29230 * gdb.t15/funcargs.exp: Use them to step until the second indirect
29231 call line is reached if necessary.
29232
29233Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29234
29235 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
29236
29237Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29238
29239 * gdb.t06/break.exp: Also test `clear' command.
29240
29241Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29242
29243 * gdb.t00/teststrategy.exp: Remove extra quote.
29244
29245 * gdb.t07/watchpoint.exp: Change xfail for calling function with
29246 watchpoint enabled to be for all non-68k machines.
29247
29248 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
29249
29250Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29251
29252 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
29253 targets use aout.mt instead of ecoff.mt as gas understands
29254 standard aout format.
29255
29256Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29257
29258 * lib/gdb.exp (runto): Don't insist that function we are running to
29259 was compiled with -g.
29260
29261 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
29262
29263 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
29264 to get back into the read system call.
29265 Accept leading newline in case where we woke it up.
29266
29267Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29268
29269 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
29270 to make the stabs test work on ecoff systems using gcc and -with-stabs.
29271 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
29272 enable ecoff configuration.
29273
29274Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29275
29276 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
29277
29278Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29279
29280 * gdb.t16/printcmds.exp: Add another printf test.
29281
29282Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
29283
29284 * configure.in: If configured -with-stabs on any target, add
29285 stabsdirs to configdirs.
29286
29287Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29288
29289 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
29290 fun" so pattern does not match the command itself.
29291
29292Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29293
29294 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
29295
29296Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29297
29298 * gdb.t17/interrupt.exp: Test for more things.
29299
29300Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29301
29302 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
29303 compiler arranges the code and line numbers.
29304
29305 * gdb.t17/interrupt.exp: Don't send \n after ^C.
29306
29307Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29308
29309 * gdb.t00/help.exp: Increase expect input buffer size.
29310
29311Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29312
29313 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
29314
29315 * gdb.t07/watchpoint.exp: Add xfail for hppa.
29316
29317 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
29318
29319 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
29320 [0-9]*, not just [0-9].
29321
29322Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29323
29324 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
29325
29326 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
29327
29328Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29329
29330 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
29331
29332Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29333
29334 * gdb.t06/signals.c: Add xfails for sun3.
29335
29336 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
29337
29338 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
29339 test_stepping tests.
29340
29341Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29342
29343 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
29344
29345 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
29346
29347 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
29348 rather than actually putting it through cpp twice.
29349
29350 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
29351
29352Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
29353
29354 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
29355 no longer needed.
29356
29357Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29358
29359 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
29360
29361 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
29362 C++ features prints as "struct", make it a pass, not an xfail.
29363
29364Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29365
29366 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
29367 Don't require VA to print as "class" rather than "struct".
29368
29369Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
29370
29371 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
29372
29373Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29374
29375 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
29376
29377Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29378
29379 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
29380 order.
29381
29382Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29383
29384 * gdb.t16/printcmds.exp: Add printf tests.
29385
29386 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
29387
29388 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
29389
29390Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
29391
29392 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
29393 pass counts, to counteract any existing or future setup_xfails.
29394
29395Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29396
29397 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
29398 {BEGIN,END}_COMMON for common block instead of STAB.
29399 * gdb.stabs/wierd.exp: Add xfail for rs6000.
29400
29401 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
29402 intp_var should be N_GSYM not N_LSYM.
29403 wierd-aout.S: Use a label for the value of the N_SO.
29404 wierd.def: Remove all backslashes.
29405 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
29406
29407Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29408
29409 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
29410 get the expected next to inheritance3.
29411
29412Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29413
29414 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
29415 now that gcc-2.4 gets it right.
29416
29417Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29418
29419 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
29420
29421 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
29422 generating comp-info.exp which works for cross-compilation.
29423
29424Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
29425
29426 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
29427 "*-*-sysv4.*".
29428
29429Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
29430
29431 * gdb.t01/run.exp: Start with a fresh gdb.
29432 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
29433 SVR4.x.
29434
29435Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
29436
29437 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
29438 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
29439 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
29440 Makefile.in (distclean, realclean): Remove gdbme.c from list of
29441 things to remove.
29442
29443Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
29444
29445 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
29446 test cases from bug reports.
29447
29448Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
29449
29450 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
29451 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
29452 avoid spurious xfails.
29453 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
29454 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
29455 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
29456
29457Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
29458
29459 * gdb.t00/teststrategy.exp: Rework to provide more useful
29460 description of each test, fix problem with systems that define
29461 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
29462 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
29463 results for "next over recursive call" so timeouts aren't taken
29464 by error.
29465
29466Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
29467
29468 * gdb.t12/scope.exp: Test printing of variables before run.
29469
29470 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
29471 printed in wrong order due to sorting.
29472
29473Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
29474
29475 * gdb.t00/teststrategy.exp: Fix expected results for printing
29476 user entered string constant. Is array of char, prints with no
29477 address.
29478
29479 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
29480 commands.
29481 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
29482 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
29483 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
29484 of struct of char arrays.
29485 * gdb.t00/radix.exp: New tests for radix commands.
29486
29487Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
29488
29489 * gdb.t16/printcmd.exp: Print a variable before running program
29490 (with xfail for AIX).
29491
29492Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
29493
29494 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
29495
29496 * gdb.t16/printcmd.exp: Don't print variables before running program.
29497
29498 * gdb.t06/break.exp: Don't require envp argument to main.
29499
29500 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
29501
29502 * gdb.t02/whatis.exp, gdb.t11/list.exp:
29503 Add xfails for rs6000.
29504
29505 * gdb.t02/whatis.exp: Change other tests not to re-test something
29506 we already tested.
29507
29508 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
29509 each type used has a variable of that type.
29510
29511Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
29512
29513 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
29514
29515Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
29516
29517 * configure.in: change srctrigger to be a file, not a directory
29518
29519Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
29520
29521 * configure.in (mips-idt-ecoff*): Added trailing '*'.
29522
29523 * gdb.t11/list.exp: Fixed a couple of typos.
29524
29525Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
29526
29527 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
29528 is fixed and PR is closed.
29529 * gdb.t16 (gdbme.c): Add simple test string variable.
29530 * gdb.t16 (printcmds.exp): Add tests with simple test string
29531 variable, primarily for boundaries on "set print elements".
29532
29533Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
29534
29535 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
29536 Make leading 0's optional and don't expect a tab in the middle
29537 of the number.
29538
29539 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
29540
29541 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
29542 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
29543 don't end command passed to gdb_test with newline.
29544
29545 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
29546 signed keyword away, don't expect signed bitfields to be signed.
29547
29548 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
29549 printing with only as many 1's as are in the field as well as printing
29550 with 32 1's (see comment).
29551
29552Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
29553
29554 * gdb.t00/default.exp: Start with a fresh gdb.
29555 * configure.in (configdirs): Remove gdb.t31 until the chill
29556 compiler works again. It no longer is able to find chillrt0
29557 since it isn't in libchill.a anymore.
29558 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
29559 wierd.o, make more modular.
29560 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
29561 spurious newlines that caused problems.
29562
29563Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29564
29565 * Move test with enums and partial symbols from gdb.t03/ptype.exp
29566 to gdb.stabs/wierd.exp since GCC has worked around the bug.
29567 gdb.stabs/wierd.{exp,def}: Many new tests.
29568
29569 * gdb.t00/default.exp: update info line for new message.
29570
29571 * gdb.t02/{whatis.exp,gdbme.c}:
29572 Test that "char *" doesn't print as "caddr_t".
29573
29574Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29575
29576 * gdb.t00/help.exp: Use .* in place of some help messages which
29577 just changed.
29578 gdb.t00/default.exp: Update "info frame" test for new message.
29579 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
29580 Remove some xfails
29581
29582Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29583
29584 * gdb.t03/{gdbme.c,ptype.exp}:
29585 Add tests for typedef'd struct and union without tags.
29586 Also check "whatis" on a variable of a typedef'd enum without a tag.
29587
29588 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
29589 PRMS 1823; the bug still exists but isn't reproduced by this test
29590 anymore), and remove rs6000 XFAIL (the bug is fixed).
29591
29592 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
29593 duplicated from whatis.exp. For those that are left, accept
29594 "long", "long int", or "int" for long variables (whatis.exp already
29595 has an XFAIL for "int", so no need to fail it here).
29596
29597 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
29598 Deal with GCC's names for types now that GDB uses the compiler's names.
29599
29600 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
29601 setup_xfail's for sunos4. If we #defined the signed keyword away,
29602 don't expect GDB to know that char it is signed.
29603
29604 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
29605
29606Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
29607
29608 * configure.in (configdirs): Add gdb.t24 for C++ tests that
29609 should work on any system, regardless of debugging format.
29610 * gdb.t21/demangle.exp: Move to gdb.t24.
29611 * gdb.t24/demangle.exp: Move from gdb.t21.
29612 * gdb.t24/{Makefile.in, configure.in}: New files.
29613
29614Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29615
29616 * configure.in: Do gdb.stabs and C++ tests only for stabs.
29617 * gdb.stabs: New directory.
29618
29619Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29620
29621 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
29622 not just "Quit anyway?".
29623
29624Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
29625
29626 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
29627 that all setup_xfails are immediately followed by clear_xfails.
29628
29629Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
29630
29631 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
29632 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
29633 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
29634 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
29635 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
29636 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29637 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29638 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
29639 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
29640 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
29641 gdb.t31/chillvars.exp, lib/gdb.exp:
29642 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
29643 bug-gdb@prep.ai.mit.edu.
29644
29645Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
29646
29647 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
29648 with 0.0, not integer 0.
29649
29650Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
29651
29652 * gdb.t06/break.exp: Update for "Kill the program" message change.
29653
29654Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
29655
29656 * Makefile.in (GDBFLAGS): Set to -nx.
29657 * Makefile.in (site.exp): Use GDBFLAGS.
29658
29659Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29660
29661 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
29662 Makefiles.
29663 (check): depend on just-check.
29664 (just-check): added so that tests can be run without a noop
29665 build pass.
29666
29667Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29668
29669 Switch to using configure's configdirs.
29670 * Makefile.in (Makefile): add configure.in dependency.
29671 (SUBDIRS): removed redundant assignment.
29672 * configure.in: switch subdirs assignment to configdirs.
29673 * gdb.t*/configure.in: new files.
29674
29675Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
29676
29677 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
29678 works.
29679
29680Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
29681
29682 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
29683 in explicit rules. Apparently this is not supported by some makes.
29684
29685Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
29686
29687 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
29688
29689Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29690
29691 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
29692 disappeared.
29693
29694Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
29695
29696 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
29697
29698Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
29699
29700 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
29701 watchpoint problem that is now fixed.
29702 * gdb.t30/chexp.exp: Remove setup_xfail for printing
29703 uninitialized convenience variables.
29704 * gdb.t31/chillvars.exp: Fix expected patterns for printing
29705 structures.
29706
29707Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29708
29709 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
29710 which causes expect to get out of sync with gdb on long output
29711 from help set.
29712 * gdb.t09/corefile.exp: Make expected pattern for core file
29713 failing signal and frame output format less sun specific.
29714
29715Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
29716
29717 * gdb.t31/chillvars.exp: Add and remove initial dummy
29718 breakpoint, so that symbol table is forced in.
29719 (Needed at least on Sunos4, though it seems not SVR4.)
29720 * gdb.t31/chillvars.exp: Update for changed output format.
29721
29722Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
29723
a9c64011 29724 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
29725
29726Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
29727
29728 * Makefile.in: Added --srcdir when invoking runtest, removed the
29729 need for a local config file. (optional now)
29730
29731Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
29732
29733 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
29734 failure count used to force early termination. Add some more
29735 expected failures for gnu style demangling.
29736
29737Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29738
29739 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
29740 pmi variable from gdb.t20/gdbme to get optimized away.
29741 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
29742 Check for written corefile upon timeout _and_ eof.
29743
29744Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29745
29746 * config/unix-gdb.exp: Add missing return 0.
29747
29748Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29749
29750 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
29751 test termination.
29752
29753Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
29754
29755 * configure.in (subdirs): Put back gdb.t17 which mysteriously
29756 disappeared.
29757
29758Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
29759
29760 * gdb.t10/crossload.exp: Disable the i860-elf test until such
29761 time as i860 support works.
29762
d63a86f8 29763 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
29764 "backtrace 100\r" rather than just "backtrace\r", to match last
29765 change.
29766
29767Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
29768
29769 * config/udi-gdb.exp (gdb_exit): Remove close command.
29770 (gdb_target_udi): New procedure to set the UDI target.
29771 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
29772 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
29773 Added waits for prompts after several question responses. Added
29774 some more responses used by a29k-amd-udi-gdb.
29775 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
29776 pass different arguments, restart UDI connection after program
29777 completion.
29778 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
29779 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29780 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
29781 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
29782 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
29783 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
29784 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29785 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
29786 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
29787 after program completion.
29788 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
29789 compiled with a SELECT_VECS setting.
29790 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
29791 infinite recursion.
29792
29793 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
29794 Added checks for COFF results, and made them expected failures for
29795 all targets. It would be better to make them expected failures
29796 for COFF targets only.
29797
29798Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
29799
29800 * Makefile.in: add null dvi target, don't bother to recurse
29801 through test directories for info and install-info; rename
29802 $(datadir) to be dejagnu instead of deja-gnu
29803
29804Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
29805
29806 * gdb.t31/gdbme.ch: Re-enable code that previously caused
29807 compiler to coredump.
29808 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
29809 code.
29810
29811Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
29812
29813 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
29814 coredump.
29815 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29816 code.
29817
29818Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29819
29820 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29821 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29822 which in a shell. Deletes xgdb when done.
29823 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29824 Tests the return from the "set height" or "set width" commands.
29825 Added a few return codes where needed.
29826
29827Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29828
29829 * Makefile.in (SUBDIRS): Add gdb.t17.
29830 * configure.in (subdirs): Add gdb.t17.
29831 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29832 files to test gdb's calling of functions in the inferior with
29833 the correct arguments and gdb's ability to retrieve any
29834 result returned.
29835
29836Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29837
29838 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29839 may be called after gdb goes away. Previous versions of expect
29840 needed these to avoid file descriptor leaks, but they cause
29841 errors with the current revision of expect.
29842 * gdb.t00/gdbvars.exp: Use -re on expected output after
29843 setting sevenbit-strings.
29844 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29845 to set sevenbit-strings consistent across tests.
29846 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29847 set sevenbit-strings consistent across tests.
29848
29849Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29850
29851 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29852 expected output to match current "expect" expectations.
29853
29854Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29855
29856 * gdb.t00/default.exp: Change expected output for default "source"
29857 command, to match new gdb behavior which requires a filename to
29858 source.
29859
29860Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29861
29862 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29863 expected fail for i486-*-* that misses the marker2 function.
29864 * gdb.t10/crossload.exp (bfddefault): Allow successful
29865 recognition of a format to pass even if no symbols are found.
29866 Explicitly catch failures where the format is not recognized
29867 or is ambiguous, and add the reason to the fail message.
29868 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29869 the cause is and invalid target and add reason to failure message.
29870 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29871 elf32-i386, elf32-sparc, and elf32-i860.
29872 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29873 Set up expected failure for 'filename'::variable scope resolution,
29874 which is now apparently broken on all targets.
29875 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29876 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29877 gdb.t23/templates.exp: Change failure for missing binfile into
29878 just a warning.
29879 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29880 references.
29881
29882Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29883
29884 * gdb.t00/default.exp: Add expected output for default "source"
29885 command, to match new gdb behavior.
29886 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29887
29888Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29889
29890 * config/*-gdb.exp: returns an error, rather than exiting on
29891 internal errors.
29892
29893Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29894
29895 * gdb.t03/gdbme.c: Add pointer to struct variable.
29896 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29897 referencing struct members.
29898
29899Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29900
29901 * configure.in (mips-idt-ecoff): New target.
29902 * config/mips-gdb.exp: New file for remote board using MIPS remote
29903 debugging protocol.
29904
29905 * Redid configuration scheme. Removed gdb.t*/configure.in.
29906 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29907 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29908 distclean targets. Built executables via .o files. Adjusted
29909 tests to account for source files in $(srcdir) rather than
29910 $(objdir).
29911 * lib/gdb.exp (runto): Don't expect () after the function name,
29912 because it may have arguments.
29913
29914Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29915
29916 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29917 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29918 expected failures for mips-idt-* and mips-sgi-*.
29919 * gdb.t00/default.exp (attach): Kill process if requested.
29920 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29921 that does not read core files.
29922 * gdb.t01/run.exp: Removed checks for exit status code.
29923 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29924 it is linked in.
29925 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29926 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29927 appropriate, rather than doing it by hand.
29928 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29929 execution.
29930 * gdb.t10/crossload.exp: Kill existing program if needed.
29931 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29932 appropriate, rather than doing it by hand. Always increase
29933 timeout for this test, not just for VxWorks.
29934
29935Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29936
29937 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29938 of Chill STRUCT types and STRUCT values.
29939 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29940 than "char".
29941 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 29942 struct2): New struct definitions and initializations to test
c906108c
SS
29943 simple Chill STRUCT types.
29944
29945Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29946
29947 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29948 the null byte at the end of strings.
29949 * gdb.t00/default.exp: Make show version insensitive to copyright
29950 date.
29951 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29952 to avoid dependencies on target char signedness.
29953 * gdb.t16/printcmds.exp: Update expected results for explicitly
29954 unsigned char.
29955 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29956 now work.
29957 * gdb.t21/demangle.exp: Add many more patterns for template
29958 demangling, most of them being expected failures.
29959 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29960 string we are matching for, to match on the whole string.
29961 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29962 and fix a whole bunch that had incorrect expected output but were
29963 passing anyway because of the bug in "proc demangle".
29964 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29965 type.
29966 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29967
29968Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29969
a9c64011
AS
29970 * gdb/testsuite: made modifications to testcases, etc., to allow
29971 them to work properly given the reorganization of deja-gnu and the
29972 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
29973
29974Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29975
29976 * gdb/testsuite: Initial creation of gdb/testsuite.
29977 Migrated dejagnu testcases and support files for testing nm to
29978 gdb/testsuite from deja-gnu. These files were moved "as is"
29979 with no modifications. This migration is part of a major overhaul
29980 of dejagnu. The modifications to these testcases, etc., which
29981 will allow them to work with the new version of dejagnu will be
29982 made in a future update.
48efe704 29983
8d8cb839 29984 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 29985\f
8d8cb839
EZ
29986;; Local Variables:
29987;; mode: change-log
29988;; left-margin: 8
29989;; fill-column: 74
29990;; version-control: never
29991;; End:
902f2ccb 29992
0b302171 29993 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
29994 Copying and distribution of this file, with or without modification,
29995 are permitted provided the copyright notice and this notice are preserved.