gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2012-11-05 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4 procedure.
5 (do_vfork_and_follow_child_tests_exec)
6 (do_vfork_and_follow_child_tests_exit): Call it.
7
8 2012-11-05 Pedro Alves <palves@redhat.com>
9
10 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
11 fails.
12
13 2012-11-03 Yao Qi <yao@codesourcery.com>
14
15 Fix PR gdb/14617.
16 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
17 Remove setup_kfail, and update test.
18
19 2012-11-02 Tom Tromey <tromey@redhat.com>
20
21 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
22 test.
23
24 2012-11-02 Pedro Alves <palves@redhat.com>
25
26 PR gdb/14766
27
28 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
29 setup_kfail.
30 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
31 get registers".
32
33 2012-11-02 Pedro Alves <palves@redhat.com>
34
35 * gdb.base/foll-vfork-exit.c: New file.
36 * gdb.base/foll-vfork.exp (top level): New file-describing
37 comment.
38 (vfork_child_follow_to_exit): New procedure.
39 (tcatch_vfork_then_child_follow): Rename as ...
40 (tcatch_vfork_then_child_follow_exec): ... this.
41 (tcatch_vfork_then_child_follow_exit): New procedure.
42 (do_vfork_and_follow_parent_tests): New procedure, factored out
43 from do_vfork_and_exec_tests.
44 (do_vfork_and_follow_child_tests_exec): Ditto.
45 (do_vfork_and_exec_tests): Delete.
46 (do_vfork_and_follow_child_tests_exit): New procedure.
47 (top level): Run tests with both the program that has the vfork
48 child execing, and the program has the vfork child exiting.
49
50 2012-11-02 Pedro Alves <palves@redhat.com>
51
52 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
53 (check_vfork_catchpoints, vfork_parent_follow_through_step)
54 (vfork_parent_follow_to_bp): Call it.
55 (kill_child): Delete.
56 (vfork_and_exec_child_follow_to_main_bp)
57 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
58 longer call kill_child.
59 (tcatch_vfork_then_parent_follow): Call setup_gdb.
60 (do_vfork_and_exec_tests): Don't runto_main before calling each
61 test procedure.
62 (top level): Don't clean restart and set verbose before running
63 each test procedure.
64
65 2012-11-02 Pedro Alves <palves@redhat.com>
66
67 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
68 (vfork_parent_follow_to_bp)
69 (vfork_and_exec_child_follow_to_main_bp)
70 (vfork_and_exec_child_follow_through_step)
71 (tcatch_vfork_then_parent_follow)
72 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
73 Use with_test_prefix.
74
75 2012-11-02 Pedro Alves <palves@redhat.com>
76
77 * gdb.base/foll-vfork.c: Add copyright header.
78 * gdb.base/vforked-prog.c: Add copyright header.
79
80 2012-11-02 Pedro Alves <palves@redhat.com>
81
82 * gdb.base/foll-vfork.exp
83 (vfork_and_exec_child_follow_through_step): Don't skip on
84 non-HP/UX targets. Expect the next to only step one line on
85 non-HP/UX targets, rather than stopping only after the exec.
86
87 2012-11-02 Pedro Alves <palves@redhat.com>
88
89 Don't hard code line numbers.
90
91 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
92 Expect text from the sources instead of a line number.
93 (vfork_parent_follow_to_bp)
94 (vfork_and_exec_child_follow_to_main_bp)
95 (vfork_and_exec_child_follow_through_step)
96 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
97 Use gdb_get_line_number.
98
99 2012-11-02 Pedro Alves <palves@redhat.com>
100
101 Modernize.
102
103 * gdb.base/foll-vfork.exp: Use standard_testfile and
104 build_executable. Pass descriptive string to untested.
105 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
106 (vfork_and_exec_child_follow_to_main_bp)
107 (vfork_and_exec_child_follow_through_step)
108 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
109 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
110 of send_gdb/gdb_expect.
111
112 (kill_child): New procedure.
113 (vfork_and_exec_child_follow_to_main_bp)
114 (vfork_and_exec_child_follow_through_step): Use it.
115
116 2012-11-02 Yao Qi <yao@codesourcery.com>
117
118 * gdb.base/setvar.exp: Test setting nested struct.
119 * gdb.base/setvar.c (v_struct3): New.
120
121 2012-11-01 Doug Evans <dje@google.com>
122
123 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
124 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
125 use them.
126
127 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
128
129 PR cli/14772
130 * gdb.base/gnu_vector.c (union_with_vector_1)
131 (struct_with_vector_1): Add new struct and union for testing
132 ptype.
133 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
134 structs / unions containing vectors.
135
136 2012-10-25 Yao Qi <yao@codesourcery.com>
137
138 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
139 'setup_kfail' instead of 'setup_kfail_for_target'.
140 * gdb.base/varargs.exp: Likewise.
141 * lib/gdb.exp (setup_kfail_for_target): Remove.
142
143 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
144
145 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
146
147 2012-10-25 Mark Kettenis <kettenis@gnu.org>
148
149 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
150
151 2012-10-24 Joel Brobecker <brobecker@adacore.com>
152
153 * gdb.ada/set_wstr: New testcase.
154
155 2012-10-24 Joel Brobecker <brobecker@adacore.com>
156
157 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
158
159 2012-10-24 Joel Brobecker <brobecker@adacore.com>
160
161 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
162
163 2012-10-24 Mark Kettenis <kettenis@gnu.org>
164
165 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
166
167 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 * gdb.base/callfuncs.exp (do_function_calls): Fix
170 setup_kfail_for_target for -m32 mode.
171
172 2012-10-23 Mark Kettenis <kettenis@gnu.org>
173
174 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
175 are now fixed.
176
177 2012-10-23 Yao Qi <yao@codesourcery.com>
178
179 * gdb.base/info-os.exp: Resume the inferior until it exits.
180
181 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
182
183 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
184 * gdb.base/print-file-var.exp: Likewise.
185 * gdb.base/type-opaque.exp: Likewise.
186
187 2012-10-17 Yao Qi <yao@codesourcery.com>
188
189 * gdb.mi/mi-memory-changed.exp: New.
190
191 2012-10-16 Yao Qi <yao@codesourcery.com>
192
193 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
194 returns true.
195 Call gdb_load_shlibs.
196 * gdb.reverse/solib-reverse.exp: Likewise.
197
198 2012-10-15 Keith Seitz <keiths@redhat.com>
199
200 * lib/cp-support.exp (cp_test_ptype_class): Add support
201 for class typedefs.
202
203 * gdb.cp/derivation.exp: Add tests for g_instance.
204
205 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
206
207 Fix entry values resolving in inlined frames.
208 * gdb.arch/amd64-entry-value-inline.S: New file.
209 * gdb.arch/amd64-entry-value-inline.c: New file.
210 * gdb.arch/amd64-entry-value-inline.exp: New file.
211
212 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
213 Doug Evans <dje@google.com>
214
215 Fix recent gdb_breakpoint regression.
216 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
217 braces from the parameter.
218 * gdb.java/jprint.exp: Likewise.
219
220 2012-10-15 Doug Evans <dje@google.com>
221
222 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
223
224 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
225
226 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
227
228 2012-10-15 Tom Tromey <tromey@redhat.com>
229
230 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
231
232 2012-10-15 Tom Tromey <tromey@redhat.com>
233
234 * gdb.python/py-symbol.exp: Test symbol destructor.
235
236 2012-10-14 Yao Qi <yao@codesourcery.com>
237
238 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
239 * gdb.mi/mi-cli.exp: New.
240
241 * gdb.mi/mi2-basics.exp: Remove.
242 * gdb.mi/mi2-break.exp: Remove.
243 * gdb.mi/mi2-console.exp: Remove.
244 * gdb.mi/mi2-disassemble.exp: Remove.
245 * gdb.mi/mi2-eval.exp: Remove.
246 * gdb.mi/mi2-file.exp: Remove.
247 * gdb.mi/mi2-hack-cli.exp: Remove.
248 * gdb.mi/mi2-pthreads.exp: Remove.
249 * gdb.mi/mi2-read-memory.exp: Remove.
250 * gdb.mi/mi2-regs.exp: Remove.
251 * gdb.mi/mi2-return.exp: Remove.
252 * gdb.mi/mi2-simplerun.exp: Remove.
253 * gdb.mi/mi2-stack.exp: Remove.
254 * gdb.mi/mi2-stepi.exp: Remove.
255 * gdb.mi/mi2-syn-frame.exp: Remove.
256 * gdb.mi/mi2-until.exp: Remove.
257 * gdb.mi/mi2-watch.exp: Remove.
258 * gdb.mi/mi2-var-block.exp: Remove.
259 * gdb.mi/mi2-var-cmd.exp: Remove.
260 * gdb.mi/mi2-var-display.exp: Remove.
261
262 2012-10-12 Yao Qi <yao@codesourcery.com>
263
264 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
265 trail '.*' on matching patterns.
266
267 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
268
269 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
270 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
271 * gdb.arch/i386-disp-step.exp: Likewise.
272 * gdb.arch/i386-gnu-cfi.exp: Likewise.
273 * gdb.arch/i386-prologue.exp: Likewise.
274 * gdb.arch/i386-size-overlap.exp: Likewise.
275 * gdb.arch/i386-size.exp: Likewise.
276 * gdb.arch/i386-unwind.exp: Likewise.
277
278 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
279
280 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
281 * gdb.arch/i386-word.exp: Likewise.
282
283 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
284
285 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
286 is_ilp32_target to set nr_regs.
287 * gdb.arch/i386-sse.exp: Likewise.
288
289 2012-10-11 Doug Evans <dje@google.com>
290
291 PR breakpoints/14643.
292 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
293 * gdb.linespec/thread.c: New file.
294 * gdb.linespec/thread.exp: New file.
295
296 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
297 Recognize "message" -> print pass and fail. Add eof case.
298 (runto): Recognize message, no-message. Print pass/fail if requested,
299 with same treatment as gdb_breakpoint.
300 (runto_main): Pass no-message to runto.
301 (gdb_internal_error_resync): Add log message.
302 (gdb_file_cmd): Tweak internal error fail text for consistency.
303
304 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
305
306 Fix crash during stepping on ppc32.
307 * gdb.base/step-symless.c: New file.
308 * gdb.base/step-symless.exp: New file.
309
310 2012-10-03 Doug Evans <dje@google.com>
311
312 PR symtab/14601
313 * gdb.cp/using-crash.exp: New file.
314 * gdb.cp/using-crash.cc: New file.
315
316 2012-10-02 Doug Evans <dje@google.com>
317
318 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
319 more consistent.
320 (runto,gdb_debug_format): Ditto.
321 (gdb_file_cmd): Watch for eof in nested gdb_expect.
322 Clean up logging and error messages.
323
324 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
325
326 Test find command on unmapped memory.
327 * gdb.base/find-unmapped.c: New file.
328 * gdb.base/find-unmapped.exp: New file.
329
330 2012-09-29 Yao Qi <yao@codesourcery.com>
331
332 * gdb.trace/mi-tracepoint-changed.exp: New.
333 * gdb.mi/mi-breakpoint-changed.exp: New.
334 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
335 * gdb.mi/pendshr2.c: New.
336
337 2012-09-28 Yao Qi <yao@codesourcery.com>
338
339 * gdb.mi/pr11022.exp: New.
340 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
341
342 2012-09-27 Tom Tromey <tromey@redhat.com>
343
344 * gdb.cp/derivation.exp: Add regression test.
345 * gdb.cp/derivation.cc (class V_base, class V_inter, class
346 V_derived): New.
347 (vderived): New global.
348
349 2012-09-26 Tom Tromey <tromey@redhat.com>
350
351 * gdb.dwarf2/dw2-common-block.S: New file.
352 * gdb.dwarf2/dw2-common-block.exp: New file.
353
354 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.fortran/common-block.exp: New file.
357 * gdb.fortran/common-block.f90: New file.
358
359 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
360
361 * gdb.base/duplicate-bp.c: New file.
362 * gdb.base/duplicate-bp.exp: New file.
363
364 2012-09-26 Yao Qi <yao@codesourcery.com>
365
366 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
367
368 Revert:
369 2012-09-21 Yao Qi <yao@codesourcery.com>
370
371 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
372
373 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
374
375 * gdb.base/longest-types.c: New test case.
376 * gdb.base/longest-types.exp: New test case.
377
378 2012-09-25 Yao Qi <yao@codesourcery.com>
379
380 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
381
382 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 Fix internal error on canonicalization of clang types.
385 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
386 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
387 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
388
389 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
390
391 Fix disassemble without parameters in tailcall frame.
392 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
393
394 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
395
396 * gdb.dwarf2/dw2-op-out-param.S: New file.
397 * gdb.dwarf2/dw2-op-out-param.exp: New file.
398
399 2012-09-21 Yao Qi <yao@codesourcery.com>
400
401 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
402
403 2012-09-21 Yao Qi <yao@codesourcery.com>
404
405 * gdb.mi/mi-cli.exp: Remove.
406 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
407
408 2012-09-21 Yao Qi <yao@codesourcery.com>
409
410 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
411 "=record-started" notification.
412
413 2012-09-21 Yao Qi <yao@codesourcery.com>
414
415 * gdb.mi/mi-record-changed.exp: New.
416 * gdb.mi/mi-reverse.exp: Adjust expected output.
417
418 2012-09-20 Tom Tromey <tromey@redhat.com>
419
420 * gdb.python/python.exp: Test atexit.register.
421
422 2012-09-20 Doug Evans <dje@google.com>
423
424 * boards/dwarf4-gdb-index.exp: New file.
425
426 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
427 while running the tests.
428
429 2012-09-18 Joel Brobecker <brobecker@adacore.com>
430
431 * gdb.ada/bp_reset: New testcase.
432
433 2012-09-18 Yao Qi <yao@codesourcery.com>
434
435 * gdb.trace/mi-tsv-changed.exp: New.
436
437 2012-09-18 Yao Qi <yao@codesourcery.com>
438
439 * gdb.trace/mi-traceframe-changed.exp: New.
440
441 2012-09-17 Yao Qi <yao@codesourcery.com>
442
443 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
444 when it is less than 0.
445
446 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
447
448 PR 14119
449 * gdb.arch/amd64-tailcall-ret.S: New file.
450 * gdb.arch/amd64-tailcall-ret.c: New file.
451 * gdb.arch/amd64-tailcall-ret.exp: New file.
452 * gdb.reverse/amd64-tailcall-reverse.S: New file.
453 * gdb.reverse/amd64-tailcall-reverse.c: New file.
454 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
455
456 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
457
458 PR 14548
459 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
460 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
461 * gdb.reverse/singlejmp-reverse.S: New file.
462 * gdb.reverse/singlejmp-reverse.c: New file.
463 * gdb.reverse/singlejmp-reverse.exp: New file.
464
465 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
466
467 Fix compatibility with old GCC (~4.1).
468 * gdb.cp/converts.cc (my_enum_var): New variable.
469
470 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
471
472 * gdb.xml/tdesc-regs.exp: Update expected output for new
473 vector_size syntax of vector types.
474
475 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
476
477 Refactor Python "gdb" module into a proper Python package, by
478 introducing a new "_gdb" module for code implemented in C, and
479 using reload/__import__ instead of exec.
480 * gdb.python/python.exp (Test stderr location): Update module
481 location of GDB-specific sys.stderr.
482 (Test stdout location): Ditto for sys.stdout.
483
484 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
485
486 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
487
488 2012-09-12 Keith Seitz <keiths@redhat.com>
489
490 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
491 conversion statement.
492
493 2012-09-12 Doug Evans <dje@google.com>
494
495 * gdb.base/help.exp: Remove testing of individual command help text,
496 too much of a maintenance burden. Instead, test the functionality
497 of "help" itself.
498
499 2012-09-11 Doug Evans <dje@google.com>
500
501 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
502 breakpoint.
503
504 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
505 * gdb.dwarf2/fission-reread.S: Ditto.
506 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
507 * gdb.dwarf2/fission-reread.exp: Ditto.
508
509 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
510
511 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
512
513 2012-09-10 Joel Brobecker <brobecker@adacore.com>
514
515 * gdb.ada/optim_drec: New testcase.
516
517 2012-09-10 Doug Evans <dje@google.com>
518
519 * boards/fission.exp: Explicitly mark "board" as not remote.
520
521 2012-09-10 Keith Seitz <keiths@redhat.com>
522
523 PR gdb/13483
524 * gdb.cp/converts.cc (A::A): Add ctor.
525 (A::member_): Add member.
526 (enum my_enum): New enumeration.
527 (main): Add calls to foo1_7 with various
528 permitted arguments.
529 * gdb.cp/converts.exp: Add tests for boolean
530 conversions permitted by the standard.
531
532 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
533
534 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
535 avoid spurious results due to ~/.gdbinit.
536 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
537 $INTERNAL_GDBFLAGS in run command.
538 * gdb.gdb/observer.exp (setup_test): Ditto.
539 * gdb.gdb/selftest.exp (test_with_self): Ditto.
540 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
541
542 2012-09-06 Doug Evans <dje@google.com>
543
544 * boards/fission.exp: New file.
545
546 * gdb.python/py-value.exp: Use clean_restart.
547
548 2012-09-05 Doug Evans <dje@google.com>
549
550 * gdb.base/info-macros.c: Fix whitespace.
551
552 2012-08-28 Pedro Alves <palves@redhat.com>
553
554 PR gdb/14428
555
556 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
557
558 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
559
560 * gdb.base/break-caller-line.c: New file.
561 * gdb.base/break-caller-line.exp: New file.
562
563 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
566 * gdb.arch/i386-cfi-notcurrent.S: New file.
567 * gdb.arch/i386-cfi-notcurrent.exp: New file.
568
569 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
570 Yao Qi <yao@codesourcery.com>
571 Pedro Alves <palves@redhat.com>
572
573 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
574 New procedures.
575 (top level): Add overlap checking tests.
576
577 2012-08-24 Tom Tromey <tromey@redhat.com>
578
579 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
580 gdb_test_multiple fails for other reasons.
581
582 2012-08-24 Yao Qi <yao@codesourcery.com>
583
584 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
585
586 2012-08-23 Pedro Alves <palves@redhat.com>
587
588 * gdb.base/help.exp: Adjust to "handle" help text change.
589
590 2012-08-23 Yao Qi <yao@codesourcery.com>
591
592 * gdb.trace/disconnected-tracing.c (start, end): New.
593 (main): Call start and end.
594 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
595 existing tests into this proc.
596 (disconnected_tfind): New.
597
598 2012-08-23 Yao Qi <yao@codesourcery.com>
599
600 * boards/native-gdbserver.exp (${board}_upload): New.
601 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
602 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
603 Execute tfile on remote target.
604 Copy trace file from target to host.
605
606 2012-08-22 Joseph Myers <joseph@codesourcery.com>
607
608 * gdb.arch/thumb-bx-pc.S: New file.
609 * gdb.arch/thumb-bx-pc.exp: New file.
610
611 2012-08-22 Tom Tromey <tromey@redhat.com>
612
613 * gdb.base/maint.exp: Update.
614
615 2012-08-22 Tom Tromey <tromey@redhat.com>
616
617 * lib/gdb.exp (skip_unwinder_tests): New proc.
618 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
619 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
620
621 2012-08-21 Tom Tromey <tromey@redhat.com>
622
623 * gdb.hp/gdb.aCC/exception.exp: Remove.
624
625 012-08-19 Andrew Pinski <apinski@cavium.com>
626
627 * gdb.arch/mips-octeon-bbit.c: New file.
628 * gdb.arch/mips-octeon-bbit.exp: New Test.
629
630 012-08-19 Keith Seitz <keiths@redhat.com>
631
632 PR c++/14365
633 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
634 * gdb.dwarf2/dw2-anon-mptr.S: New file.
635
636 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
637
638 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
639 verbose -log by more specific untested call.
640
641 2012-08-18 Yao Qi <yao@codesourcery.com>
642
643 * gdb.trace/tfind.exp: Move tests on various command help before
644 checking target supports trace.
645 Fix the expected output of 'help tfind end'.
646
647 2012-08-17 Keith Seitz <keiths@redhat.com>
648
649 PR c++/13356
650 * gdb.base/default.exp: Update all "check type" tests.
651 * gdb.base/help.exp: Likewise.
652 * gdb.base/setshow.exp: Likewise.
653 * gdb.cp/converts.cc (foo1_type_check): New function.
654 (foo2_type_check): New function.
655 (foo3_type_check): New function.
656 (main): Call new functions.
657 * converts.exp: Add tests for integer-to-pointer conversions
658 with/without strict type-checking.
659
660 2012-08-16 Mike Frysinger <vapier@gentoo.org>
661
662 * gdb.base/help.exp: Update expected output.
663
664 2012-08-16 Joel Brobecker <brobecker@adacore.com>
665
666 * gdb.ada/rdv_wait: New testcase.
667
668 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
669
670 * gdb.base/attach-twice.exp: Remove excessive ps exec.
671
672 2012-08-13 Doug Evans <dje@google.com>
673
674 * gdb.base/help.exp: Update expected output.
675 * gdb.base/default.exp: Update expected output of "show convenience".
676
677 2012-08-10 Doug Evans <dje@google.com>
678
679 * gdb.python/py-strfns.c: New file.
680 * gdb.python/py-strfns.exp: New file.
681 * gdb.python/py-type.exp (test_fields): Add vector tests.
682
683 2012-08-10 Mike Frysinger <vapier@gentoo.org>
684
685 PR cli/10436:
686 * gdb.base/completion.exp: Add tests for handle completion.
687
688 2012-08-09 Yao Qi <yao@codesourcery.com>
689
690 * gdb.mi/mi-cmd-param-changed.exp: New.
691 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
692 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
693 * gdb.mi/mi2-prompt.exp: Likewise.
694
695 2012-08-08 Doug Evans <dje@google.com>
696
697 * gdb.base/debug-expr.c: New file.
698 * gdb.base/debug-expr.exp: New file.
699 * gdb.base/exprs.exp: Test {type} casts.
700 * gdb.cp/debug-expr.exp: New file.
701
702 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
703
704 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
705 global variable loop, not a 'break'. Add loop count limit to 100.
706 Add new fail case for terminated vgdb.
707
708 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
709 Jean-Marc Saffroy <saffroy@gmail.com>
710
711 PR 11804
712 * gdb.base/gcore-relro.exp: New file.
713 * gdb.base/gcore-relro-main.c: New file.
714 * gdb.base/gcore-relro-lib.c: New file.
715
716 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
717
718 Do not false FAIL with old GCCs.
719 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
720 GCC < 4.5 in $no_hw mode.
721
722 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
723
724 * gdb.base/default.exp (cd): Accept new directory with no arguments.
725
726 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
727
728 * gdb.base/list.exp (test_only_end): New function.
729 Call it.
730
731 2012-08-06 Tom Tromey <tromey@redhat.com>
732
733 * gdb.python/py-mi.exp: Add test for printer whose children
734 are a list.
735 * gdb.python/py-prettyprint.c (struct children_as_list): New.
736 (main): New variable children_as_list.
737 * gdb.python/py-prettyprint.py (class pp_children_as_list):
738 New.
739 (register_pretty_printers): Register new printer.
740
741 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
742
743 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
744 symbols. Abort if vgdb remote connection is closed.
745
746 2012-08-02 Doug Evans <dje@google.com>
747
748 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
749
750 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
751
752 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
753 s390x, PowerPC 64 and m68k-linux.
754
755 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
756
757 * gdb.base/annota1.exp: Accept no frames-invalid notification
758 when starting up the program.
759 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
760 show a symbolic value as well.
761 * gdb.server/server-exec-info.exp: Skip test when skipping
762 gdbserver test and/or when skipping shared library tests.
763 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
764 avoid name conflicts with other tests.
765
766 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
767
768 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
769 Fix wrong output on big-endian systems.
770 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
771 4-byte pointer types on 64-bit s390x.
772
773 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
774
775 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
776 marker comment at the beginning (after intialization).
777 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
778 breakpoint on marker comment instead of function begin.
779 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
780 PowerPC.
781 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
782 or 64-bit PowerPC.
783 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
784 gdb,no_hardware_watchpoints flag is set.
785 (initialize): Remove now redundant can-use-hw-watchpoints change.
786
787 2012-08-02 Yao Qi <yao@codesourcery.com>
788 Pedro Alves <palves@redhat.com>
789
790 * boards/local-remote-host.exp: New.
791
792 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
793
794 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
795 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
796 * gdb.base/print-file-var.exp: Likewise.
797 * gdb.server/solib-list.exp: Skip on remote targets.
798
799 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
800
801 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
802 watchpoints on ARM. When expecting software watchpoints, tolerate
803 (remote) targets that report unsupported hardware watchpoint only
804 at continue time.
805 (test_wide_location_2): Likewise.
806
807 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
808
809 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
810 valgrind versions.
811
812 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 * gdb.base/valgrind-infcall.c: New file.
815 * gdb.base/valgrind-infcall.exp: New file.
816
817 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
818
819 2012-07-30 Keith Seitz <keiths@redhat.com>
820
821 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
822 linespecs.
823
824 2012-07-30 Doug Evans <dje@google.com>
825
826 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
827 * gdb.dwarf2/pr13961.S: Ditto.
828
829 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
830
831 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
832
833 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
834 change its format immediately after reloading the binary.
835
836 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
837
838 Fix testsuite regression after --use-deprecated-index-sections removal.
839 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
840 string.
841 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
842
843 2012-07-27 Yao Qi <yao@codesourcery.com>
844
845 KFAIL for PR remote/14161.
846 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
847 Cleanup socket files.
848 (strace_info_marker): Detach inferior.
849
850 2012-07-26 Tom Tromey <tromey@redhat.com>
851
852 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
853
854 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
855
856 * gdb.python/py-inferior.c (thread): New function.
857 (check_threads): New function.
858 (test_threads): New function.
859 * gdb.python/py-inferior.exp: Added test.
860 Replaced runto with continue to breakpoint.
861
862 2012-07-26 Tom Tromey <tromey@redhat.com>
863
864 * lib/ada.exp (standard_ada_testfile): New proc.
865 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
866 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
867 * gdb.ada/array_return.exp: Use standard_ada_testfile.
868 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
869 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
870 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
871 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
872 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
873 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
874 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
875 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
876 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
877 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
878 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
879 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
880 * gdb.ada/char_param.exp: Use standard_ada_testfile.
881 * gdb.ada/complete.exp: Use standard_ada_testfile.
882 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
883 standard_output_file.
884 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
885 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
886 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
887 standard_output_file.
888 * gdb.ada/exprs.exp: Use standard_ada_testfile.
889 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
890 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
891 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
892 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
893 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
894 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
895 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
896 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
897 * gdb.ada/homonym.exp: Use standard_ada_testfile.
898 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
899 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
900 * gdb.ada/interface.exp: Use standard_ada_testfile.
901 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
902 standard_output_file
903 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
904 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
905 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
906 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
907 * gdb.ada/nested.exp: Use standard_ada_testfile.
908 * gdb.ada/null_array.exp: Use standard_ada_testfile.
909 * gdb.ada/null_record.exp: Use standard_ada_testfile.
910 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
911 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
912 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
913 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
914 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
915 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
916 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
917 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
918 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
919 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
920 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
921 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
922 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
923 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
924 * gdb.ada/start.exp: Use standard_ada_testfile.
925 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
926 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
927 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
928 * gdb.ada/tagged.exp: Use standard_ada_testfile.
929 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
930 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
931 * gdb.ada/tasks.exp: Use standard_ada_testfile.
932 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
933 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
934 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
935 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
936 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
937 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
938 * gdb.ada/widewide.exp: Use standard_ada_testfile.
939
940 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 Fix testsuite regression after --use-deprecated-index-sections removal.
943 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
944
945 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
946
947 Fix compatibility with Tcl before 7.5.
948 * lib/future.exp (lreverse): New function if it does not exist.
949
950 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
951
952 * gdb.mi/mi-pending.c: New method to set a second pending
953 breakpoint.
954 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
955 condition.
956
957 2012-07-20 Pedro Alves <palves@redhat.com>
958
959 PR threads/11692
960 PR gdb/12203
961
962 * gdb.threads/create-fail.c: New file.
963 * gdb.threads/create-fail.exp: New file.
964
965 2012-07-19 Pedro Alves <palves@redhat.com>
966
967 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
968 * config/vx.exp (gdb_start): Likewise.
969 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
970 * gdb.base/setvar.exp (test_set): Likewise.
971 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
972 * gdb.reverse/sigall-precsave.exp: Likewise.
973 * gdb.reverse/sigall-reverse.exp: Likewise.
974
975 2012-07-19 Pedro Alves <palves@redhat.com>
976
977 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
978 handler before recording.
979
980 2012-07-19 Tom Tromey <tromey@redhat.com>
981
982 * gdb.cp/casts.exp: Add tests for typeof and decltype.
983 * gdb.cp/casts.cc (decltype): New function.
984 (main): Use it.
985
986 2012-07-19 Pedro Alves <palves@redhat.com>
987
988 * gdb.base/sigall.exp (signals): New list.
989 <top level>: Loop over signals in the $signals list instead of
990 calling a test function once per signal.
991 * gdb.reverse/sigall-precsave.exp (signals): New list.
992 <top level>: Loop over signals in the $signals list instead of
993 calling a test function once per signal.
994 * gdb.reverse/sigall-reverse.exp (signals): New list.
995 <top level>: Loop over signals in the $signals list instead of
996 calling a test function once per signal.
997
998 2012-07-19 Yao Qi <yao@codesourcery.com>
999
1000 * gdb.base/setshow.exp: Test 'set args ~'.
1001
1002 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1003
1004 * gdb.base/store.exp (check_set): Import gdb_prompt.
1005 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
1006 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
1007
1008 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1009
1010 PR 11914
1011 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
1012 (main): Call eval_sub.
1013 * gdb.python/py-prettyprint.exp:
1014 (python execfile ('py-prettyprint.py')): Move it earlier.
1015 New breakpoint for eval-break.
1016 (continue to breakpoint: eval-break, info locals): New test.
1017 (python execfile ('py-prettyprint.py')): Move it from here.
1018 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
1019 (register_pretty_printers): Register pp_eval_type.
1020
1021 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1022
1023 Fix a testcase regression by me.
1024 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
1025 DW_FORM_data4.
1026
1027 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1028 Doug Evans <dje@google.com>
1029
1030 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
1031 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
1032
1033 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 Fix gdbserver run regression.
1036 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
1037
1038 2012-07-12 Tom Tromey <tromey@redhat.com>
1039
1040 * lib/gdb.exp (standard_testfile): Don't declare objdir.
1041 (clean_restart): Likewise.
1042 (core_find): Use standard_output_file.
1043
1044 2012-07-12 Tom Tromey <tromey@redhat.com>
1045
1046 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
1047 * gdb.dwarf2/dw2-anonymous-func.exp: Use
1048 prepare_for_testing_full.
1049 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
1050 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
1051 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
1052 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
1053 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
1054 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
1055 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
1056 prepare_for_testing_full.
1057 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
1058 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
1059 prepare_for_testing_full.
1060 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
1061 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
1062 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
1063
1064 2012-07-12 Tom Tromey <tromey@redhat.com>
1065
1066 * lib/gdb.exp (build_executable_from_specs): New proc, from
1067 build_executable.
1068 (build_executable): Use it.
1069 (prepare_for_testing_full): New proc.
1070
1071 2012-07-11 Tom Tromey <tromey@redhat.com>
1072
1073 * gdb.reverse/break-precsave.exp: Use standard_output_file.
1074 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
1075 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
1076 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
1077 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
1078 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
1079 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
1080 * gdb.reverse/step-precsave.exp: Use standard_output_file.
1081 * gdb.reverse/until-precsave.exp: Use standard_output_file.
1082 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
1083
1084 2012-07-10 Tom Tromey <tromey@redhat.com>
1085
1086 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
1087 standard_output_file.
1088 * gdb.mi/gdb2549.exp: Use standard_testfile.
1089 * gdb.mi/gdb669.exp: Use standard_testfile.
1090 * gdb.mi/gdb701.exp: Use standard_testfile.
1091 * gdb.mi/gdb792.exp: Use standard_testfile.
1092 * gdb.mi/mi-async.exp: Use standard_testfile.
1093 * gdb.mi/mi-basics.exp: Use standard_testfile.
1094 * gdb.mi/mi-break.exp: Use standard_testfile.
1095 * gdb.mi/mi-cli.exp: Use standard_testfile.
1096 * gdb.mi/mi-console.exp: Use standard_testfile.
1097 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
1098 * gdb.mi/mi-eval.exp: Use standard_testfile.
1099 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
1100 * gdb.mi/mi-file.exp: Use standard_testfile.
1101 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
1102 * gdb.mi/mi-logging.exp: Use standard_testfile.
1103 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
1104 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
1105 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
1106 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
1107 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
1108 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
1109 * gdb.mi/mi-pending.exp: Use standard_testfile,
1110 standard_output_file.
1111 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
1112 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
1113 * gdb.mi/mi-regs.exp: Use standard_testfile.
1114 * gdb.mi/mi-return.exp: Use standard_testfile.
1115 * gdb.mi/mi-reverse.exp: Use standard_testfile.
1116 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
1117 * gdb.mi/mi-solib.exp: Use standard_testfile,
1118 standard_output_file.
1119 * gdb.mi/mi-stack.exp: Use standard_testfile.
1120 * gdb.mi/mi-stepi.exp: Use standard_testfile.
1121 * gdb.mi/mi-stepn.exp: Use standard_testfile.
1122 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
1123 * gdb.mi/mi-until.exp: Use standard_testfile.
1124 * gdb.mi/mi-var-block.exp: Use standard_testfile.
1125 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
1126 * gdb.mi/mi-var-child.exp: Use standard_testfile.
1127 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
1128 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
1129 * gdb.mi/mi-var-display.exp: Use standard_testfile.
1130 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
1131 standard_output_file.
1132 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
1133 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
1134 * gdb.mi/mi-watch.exp: Use standard_testfile.
1135 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
1136 * gdb.mi/mi2-basics.exp: Use standard_testfile.
1137 * gdb.mi/mi2-break.exp: Use standard_testfile.
1138 * gdb.mi/mi2-cli.exp: Use standard_testfile.
1139 * gdb.mi/mi2-console.exp: Use standard_testfile.
1140 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
1141 * gdb.mi/mi2-eval.exp: Use standard_testfile.
1142 * gdb.mi/mi2-file.exp: Use standard_testfile.
1143 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
1144 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
1145 * gdb.mi/mi2-regs.exp: Use standard_testfile.
1146 * gdb.mi/mi2-return.exp: Use standard_testfile.
1147 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
1148 * gdb.mi/mi2-stack.exp: Use standard_testfile.
1149 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
1150 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
1151 * gdb.mi/mi2-until.exp: Use standard_testfile.
1152 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
1153 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
1154 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
1155 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
1156 * gdb.mi/mi2-watch.exp: Use standard_testfile.
1157
1158 2012-07-10 Tom Tromey <tromey@redhat.com>
1159
1160 * gdb.cp/abstract-origin.exp: Use standard_testfile.
1161 * gdb.cp/ambiguous.exp: Use standard_testfile,
1162 prepare_for_testing.
1163 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
1164 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
1165 * gdb.cp/anon-ns.exp: Use standard_testfile.
1166 * gdb.cp/anon-struct.exp: Use standard_testfile.
1167 * gdb.cp/anon-union.exp: Use standard_testfile,
1168 prepare_for_testing.
1169 * gdb.cp/arg-reference.exp: Use standard_testfile,
1170 prepare_for_testing.
1171 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
1172 * gdb.cp/breakpoint.exp: Use standard_testfile,
1173 prepare_for_testing.
1174 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
1175 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
1176 standard_output_file.
1177 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
1178 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
1179 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
1180 (test_static_members): Update.
1181 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
1182 * gdb.cp/converts.exp: Use standard_testfile.
1183 * gdb.cp/cp-relocate.exp: Use standard_testfile.
1184 * gdb.cp/cpcompletion.exp: Use standard_testfile,
1185 prepare_for_testing.
1186 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
1187 * gdb.cp/cplabel.exp: Use standard_testfile.
1188 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
1189 prepare_for_testing.
1190 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
1191 * gdb.cp/derivation.exp: Use standard_testfile,
1192 prepare_for_testing.
1193 * gdb.cp/destrprint.exp: Use standard_testfile.
1194 * gdb.cp/dispcxx.exp: Use standard_testfile.
1195 * gdb.cp/exception.exp: Use standard_testfile,
1196 prepare_for_testing.
1197 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
1198 * gdb.cp/extern-c.exp: Use standard_testfile,
1199 prepare_for_testing.
1200 * gdb.cp/formatted-ref.exp: Use standard_testfile,
1201 prepare_for_testing.
1202 * gdb.cp/fpointer.exp: Use standard_testfile.
1203 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
1204 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
1205 standard_output_file.
1206 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
1207 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
1208 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
1209 standard_output_file.
1210 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
1211 (do_tests): Update.
1212 * gdb.cp/koenig.exp: Use standard_testfile.
1213 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
1214 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
1215 * gdb.cp/m-static.exp: Use standard_testfile,
1216 prepare_for_testing.
1217 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
1218 * gdb.cp/mb-inline.exp: Use standard_testfile,
1219 prepare_for_testing.
1220 * gdb.cp/mb-templates.exp: Use standard_testfile,
1221 prepare_for_testing.
1222 * gdb.cp/member-ptr.exp: Use standard_testfile,
1223 prepare_for_testing.
1224 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
1225 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
1226 * gdb.cp/method2.exp: Use standard_testfile.
1227 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
1228 standard_output_file.
1229 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
1230 (do_tests): Update.
1231 * gdb.cp/namespace-enum.exp: Use standard_testfile,
1232 prepare_for_testing.
1233 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
1234 prepare_for_testing.
1235 * gdb.cp/namespace.exp: Use standard_testfile,
1236 prepare_for_testing.
1237 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
1238 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
1239 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
1240 * gdb.cp/nsimport.exp: Use standard_testfile,
1241 prepare_for_testing.
1242 * gdb.cp/nsnested.exp: Use standard_testfile.
1243 * gdb.cp/nsnoimports.exp: Use standard_testfile.
1244 * gdb.cp/nsrecurs.exp: Use standard_testfile,
1245 prepare_for_testing.
1246 * gdb.cp/nsstress.exp: Use standard_testfile,
1247 prepare_for_testing.
1248 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
1249 * gdb.cp/operator.exp: Use standard_testfile.
1250 * gdb.cp/oranking.exp: Use standard_testfile.
1251 * gdb.cp/overload-const.exp: Use standard_testfile.
1252 * gdb.cp/overload.exp: Use standard_testfile,
1253 prepare_for_testing.
1254 * gdb.cp/ovldbreak.exp: Use standard_testfile.
1255 * gdb.cp/ovsrch.exp: Use standard_testfile.
1256 * gdb.cp/paren-type.exp: Use standard_testfile.
1257 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
1258 prepare_for_testing.
1259 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
1260 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
1261 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
1262 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
1263 * gdb.cp/pr10728.exp: Use standard_testfile,
1264 standard_output_file.
1265 * gdb.cp/pr12028.exp: Use standard_testfile.
1266 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
1267 * gdb.cp/pr9167.exp: Use standard_testfile.
1268 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
1269 * gdb.cp/printmethod.exp: Use standard_testfile,
1270 prepare_for_testing.
1271 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
1272 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
1273 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
1274 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
1275 standard_output_file.
1276 * gdb.cp/readnow-language.exp: Use standard_testfile.
1277 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
1278 (gdb_start_again): Use clean_restart.
1279 * gdb.cp/ref-types.exp: Use standard_testfile,
1280 prepare_for_testing.
1281 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
1282 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
1283 * gdb.cp/smartp.exp: Use standard_testfile.
1284 * gdb.cp/static-method.exp: Use standard_testfile.
1285 * gdb.cp/static-print-quit.exp: Use standard_testfile.
1286 * gdb.cp/temargs.exp: Use standard_testfile.
1287 * gdb.cp/templates.exp: Use standard_testfile,
1288 prepare_for_testing.
1289 (do_tests): Update.
1290 * gdb.cp/try_catch.exp: Use standard_testfile,
1291 prepare_for_testing.
1292 * gdb.cp/typedef-operator.exp: Use standard_testfile.
1293 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
1294 * gdb.cp/virtbase.exp: Use standard_testfile,
1295 prepare_for_testing.
1296 * gdb.cp/virtfunc.exp: Use standard_testfile,
1297 prepare_for_testing.
1298 (do_tests): Update.
1299 * gdb.cp/virtfunc2.exp: Use standard_testfile,
1300 prepare_for_testing.
1301
1302 2012-07-10 Tom Tromey <tromey@redhat.com>
1303
1304 * lib/gdb.exp (standard_testfile): Unset output variables from
1305 earlier invocations.
1306
1307 2012-07-10 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
1310 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
1311 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
1312 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
1313 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
1314 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
1315 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
1316 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
1317 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
1318 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
1319 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
1320 * gdb.mi/mi-var-display.exp: Likewise.
1321 * gdb.mi/mi-var-invalidate.exp: Likewise.
1322 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
1323 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
1324 * gdb.mi/mi2-console.exp: Likewise.
1325 * gdb.mi/mi2-disassemble.exp: Likewise.
1326 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
1327 * gdb.mi/mi2-read-memory.exp: Likewise.
1328 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
1329 * gdb.mi/mi2-simplerun.exp: Likewise.
1330 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
1331 * gdb.mi/mi2-syn-frame.exp: Likewise.
1332 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
1333 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
1334 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
1335
1336 2012-07-09 Tom Tromey <tromey@redhat.com>
1337
1338 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
1339 * gdb.base/callfuncs.exp: Add cast-based test.
1340 * gdb.base/callfuncs.c (voidfunc): New function.
1341
1342 2012-07-08 Doug Evans <dje@google.com>
1343
1344 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
1345
1346 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1347
1348 Fix XFAIL compatibility with old i386 systems.
1349 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
1350 Check also 'Cannot insert breakpoint 0'.
1351
1352 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1353
1354 PR 14321
1355 * gdb.base/find.exp
1356 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
1357
1358 2012-07-06 Tom Tromey <tromey@redhat.com>
1359
1360 * gdb.base/whatis.exp: Add test.
1361
1362 2012-07-06 Tom Tromey <tromey@redhat.com>
1363
1364 * gdb.base/whatis.exp: Add regression test.
1365
1366 2012-07-06 Tom Tromey <tromey@redhat.com>
1367
1368 * gdb.base/whatis.exp: Add tests.
1369
1370 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1371
1372 PR 12649
1373 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
1374 gdb_test_multiple $gdb_prompt terminator.
1375
1376 2012-07-04 Pedro Alves <palves@redhat.com>
1377
1378 * gdb.mi/mi-reverse.exp: Use supports_reverse and
1379 supports_process_record.
1380
1381 2012-07-04 Pedro Alves <palves@redhat.com>
1382
1383 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
1384 endings.
1385 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
1386
1387 2012-07-03 Stan Shebs <stan@codesourcery.com>
1388
1389 * gdb.base/info-os.c (main): Retry resource acquisition until an
1390 available one is found.
1391 * gdb.base/info-os.exp: Collect resource keys from the program
1392 and use them in matching.
1393
1394 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1395
1396 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
1397 Wrap the test into loop for corefile and core0file.
1398
1399 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1400
1401 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
1402 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
1403 .note.GNU-stack.
1404
1405 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
1406
1407 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
1408
1409 * gdb.base/help.exp (help b, help br, help bre, help brea, help
1410 break): Include help message for the new `-probe' and `-probe-stap'
1411 options.
1412
1413 2012-07-02 Stan Shebs <stan@codesourcery.com>
1414
1415 * gdb.base/dprintf.exp: Add agent style tests.
1416
1417 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
1419 * gdb.base/stale-infcall.c (infcall): New label test-next.
1420 (main): New labels test-pass and test-fail.
1421 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
1422 $test_fail_bpnum to test-fail.
1423 (test system longjmp tracking support): New test.
1424 Delete $test_fail_bpnum.
1425 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
1426 breakpoint.
1427
1428 2012-06-30 Doug Evans <dje@google.com>
1429
1430 * gdb.dwarf2/fission-reread.S: New file.
1431 * gdb.dwarf2/fission-reread.exp: New file.
1432
1433 2012-06-28 Stan Shebs <stan@codesourcery.com>
1434
1435 * gdb.mi/mi-logging.exp: New file.
1436
1437 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1438 Pedro Alves <palves@redhat.com>
1439
1440 * gdb.threads/siginfo-threads.exp: New file.
1441 * gdb.threads/siginfo-threads.c: New file.
1442 * gdb.threads/sigstep-threads.exp: New file.
1443 * gdb.threads/sigstep-threads.c: New file.
1444
1445 2012-06-28 Tom Tromey <tromey@redhat.com>
1446
1447 * gdb.go/package.exp: Partially revert earlier patch; use
1448 gdb_compile again. Use standard_output_file.
1449
1450 2012-06-27 Doug Evans <dje@google.com>
1451
1452 * gdb.dwarf2/fission-base.c: New file.
1453 * gdb.dwarf2/fission-base.S: New file.
1454 * gdb.dwarf2/fission-base.exp: New file.
1455
1456 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1457
1458 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
1459
1460 2012-06-27 Tom Tromey <tromey@redhat.com>
1461
1462 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
1463 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
1464
1465 2012-06-27 Tom Tromey <tromey@redhat.com>
1466
1467 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
1468 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
1469 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
1470 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
1471 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
1472 prepare_for_testing.
1473 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
1474 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
1475 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
1476 standard_testfile.
1477 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
1478 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
1479 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
1480 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
1481 prepare_for_testing.
1482 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
1483 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
1484 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
1485 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
1486 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
1487 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
1488 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
1489 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
1490 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
1491 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
1492 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
1493 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
1494 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
1495 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
1496 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
1497 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
1498 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
1499 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
1500 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
1501 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
1502 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
1503 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
1504 standard_output_file.
1505 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
1506 standard_output_file.
1507 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
1508 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
1509 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
1510 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
1511 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
1512 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
1513 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
1514 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
1515 * gdb.dwarf2/implptr.exp: Use standard_testfile.
1516 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
1517 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
1518 * gdb.dwarf2/pieces.exp: Use standard_testfile.
1519 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
1520 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
1521 * gdb.dwarf2/valop.exp: Use standard_testfile,
1522 prepare_for_testing.
1523
1524 2012-06-27 Tom Tromey <tromey@redhat.com>
1525
1526 * gdb.python/python.exp: Fix regexps in pagination tests.
1527
1528 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
1529
1530 * gdb.python/py-symtab.exp: Add tests to test the new attribute
1531 'last' of gdb.Symtab_and_line.
1532 * gdb.python/py-symbol.c: Move break point comment to enable
1533 testing of gdb.Symtab_and_line.last.
1534
1535 2012-06-26 Tom Tromey <tromey@redhat.com>
1536
1537 * gdb.threads/step.c: Remove.
1538 * gdb.threads/step.exp: Remove.
1539 * gdb.threads/step2.exp: Remove.
1540
1541 2012-06-26 Tom Tromey <tromey@redhat.com>
1542
1543 * gdb.threads/watchpoint-fork.exp (test): Use
1544 standard_output_file. Don't declare objdir.
1545 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
1546 standard_output_file.
1547 * gdb.threads/attach-stopped.exp: Use standard_testfile.
1548 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
1549 clean_restart. Remove incdir.
1550 * gdb.threads/corethreads.exp: Use standard_testfile.
1551 * gdb.threads/execl.exp: Use standard_testfile,
1552 standard_output_file, clean_restart.
1553 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
1554 clean_restart.
1555 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
1556 clean_restart.
1557 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
1558 incdir.
1559 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
1560 clean_restart. Remove incdir.
1561 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
1562 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
1563 clean_restart. Remove incdir.
1564 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
1565 Remove incdir.
1566 * gdb.threads/leader-exit.exp: Use standard_testfile.
1567 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
1568 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
1569 clean_restart.
1570 * gdb.threads/manythreads.exp: Use standard_testfile,
1571 clean_restart. Remove incdir.
1572 * gdb.threads/multi-create.exp: Use standard_testfile,
1573 clean_restart.
1574 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
1575 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
1576 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
1577 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
1578 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
1579 * gdb.threads/pending-step.exp: Use standard_testfile,
1580 clean_restart. Remove incdir.
1581 * gdb.threads/print-threads.exp: Use standard_testfile,
1582 clean_restart. Remove incdir.
1583 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
1584 clean_restart. Remove incdir.
1585 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
1586 Remove incdir.
1587 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
1588 incdir.
1589 * gdb.threads/sigthread.exp: Use standard_testfile,
1590 clean_restart.
1591 * gdb.threads/staticthreads.exp: Use standard_testfile,
1592 clean_restart. Remove incdir.
1593 * gdb.threads/switch-threads.exp: Use standard_testfile,
1594 clean_restart. Remove incdir.
1595 * gdb.threads/thread-execl.exp: Use standard_testfile,
1596 clean_restart. Remove incdir.
1597 * gdb.threads/thread-find.exp: Use standard_testfile,
1598 clean_restart.
1599 * gdb.threads/thread-specific.exp: Use standard_testfile,
1600 clean_restart. Remove incdir.
1601 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
1602 clean_restart. Remove incdir.
1603 * gdb.threads/thread_check.exp: Use standard_testfile,
1604 clean_restart. Remove incdir.
1605 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
1606 incdir.
1607 * gdb.threads/threadapply.exp: Use standard_testfile,
1608 clean_restart. Remove incdir.
1609 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
1610 clean_restart. Remove incdir.
1611 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
1612 clean_restart.
1613 * gdb.threads/tls-shared.exp: Use standard_testfile,
1614 clean_restart, standard_output_file.
1615 * gdb.threads/tls-var.exp: Use standard_testfile,
1616 standard_output_file.
1617 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
1618 Remove incdir.
1619 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
1620 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
1621 incdir.
1622 * gdb.threads/watchthreads2.exp: Use standard_testfile,
1623 clean_restart. Remove incdir.
1624
1625 2012-06-26 Tom Tromey <tromey@redhat.com>
1626
1627 * gdb.trace/actions.exp: Use standard_testfile.
1628 * gdb.trace/ax.exp: Use standard_testfile.
1629 * gdb.trace/backtrace.exp: Use standard_testfile.
1630 * gdb.trace/change-loc.exp: Use standard_testfile.
1631 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
1632 * gdb.trace/collection.exp: Use standard_testfile,
1633 prepare_for_testing.
1634 * gdb.trace/deltrace.exp: Use standard_testfile.
1635 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
1636 * gdb.trace/ftrace.exp: Use standard_testfile.
1637 * gdb.trace/infotrace.exp: Use standard_testfile.
1638 * gdb.trace/packetlen.exp: Use standard_testfile.
1639 * gdb.trace/passc-dyn.exp: Use standard_testfile.
1640 * gdb.trace/passcount.exp: Use standard_testfile.
1641 * gdb.trace/pending.exp: Use standard_testfile.
1642 * gdb.trace/report.exp: Use standard_testfile.
1643 * gdb.trace/save-trace.exp: Use standard_testfile.
1644 * gdb.trace/stap-trace.exp: Use standard_testfile.
1645 * gdb.trace/status-stop.exp: Use standard_testfile.
1646 * gdb.trace/strace.exp: Use standard_testfile.
1647 * gdb.trace/tfile.exp: Use standard_testfile.
1648 * gdb.trace/tfind.exp: Use standard_testfile.
1649 * gdb.trace/trace-break.exp: Use standard_testfile.
1650 * gdb.trace/trace-mt.exp: Use standard_testfile.
1651 * gdb.trace/tracecmd.exp: Use standard_testfile.
1652 * gdb.trace/tspeed.exp: Use standard_testfile.
1653 * gdb.trace/tstatus.exp: Use standard_testfile.
1654 * gdb.trace/tsv.exp: Use standard_testfile.
1655 * gdb.trace/unavailable.exp: Use standard_testfile,
1656 prepare_for_testing.
1657 * gdb.trace/while-dyn.exp: Use standard_testfile.
1658 * gdb.trace/while-stepping.exp: Use standard_testfile.
1659
1660 2012-06-26 Tom Tromey <tromey@redhat.com>
1661
1662 * gdb.reverse/break-precsave.exp: Use standard_testfile.
1663 * gdb.reverse/break-reverse.exp: Use standard_testfile.
1664 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
1665 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
1666 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
1667 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
1668 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
1669 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
1670 prepare_for_testing.
1671 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
1672 prepare_for_testing.
1673 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
1674 prepare_for_testing.
1675 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
1676 prepare_for_testing.
1677 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
1678 prepare_for_testing
1679 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
1680 * gdb.reverse/machinestate.exp: Use standard_testfile.
1681 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
1682 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
1683 build_executable.
1684 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
1685 build_executable.
1686 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
1687 standard_output_file.
1688 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
1689 standard_output_file.
1690 * gdb.reverse/step-precsave.exp: Use standard_testfile.
1691 * gdb.reverse/step-reverse.exp: Use standard_testfile.
1692 * gdb.reverse/until-precsave.exp: Use standard_testfile.
1693 * gdb.reverse/until-reverse.exp: Use standard_testfile.
1694 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
1695 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
1696
1697 2012-06-26 Tom Tromey <tromey@redhat.com>
1698
1699 * gdb.stabs/weird.exp: Remove directory-checking code. Use
1700 standard_output_file.
1701 * gdb.stabs/exclfwd.exp: Use standard_testfile,
1702 prepare_for_testing. Remove directory-checking code.
1703
1704 2012-06-25 Tom Tromey <tromey@redhat.com>
1705
1706 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
1707 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
1708 build_executable, not prepare_for_testing.
1709 * gdb.multi/base.exp: Use standard_output_file. Use
1710 build_executable, not prepare_for_testing.
1711
1712 2012-06-25 Tom Tromey <tromey@redhat.com>
1713
1714 * gdb.fortran/subarray.exp: Use standard_testfile,
1715 prepare_for_testing.
1716 * gdb.fortran/multi-dim.exp: Use standard_testfile.
1717 * gdb.fortran/module.exp: Use standard_testfile.
1718 * gdb.fortran/logical.exp: Use standard_testfile.
1719 * gdb.fortran/library-module.exp: Use standard_testfile,
1720 standard_output_file.
1721 * gdb.fortran/derived-type.exp: Use standard_testfile,
1722 prepare_for_testing.
1723 * gdb.fortran/complex.exp: Use standard_testfile,
1724 prepare_for_testing.
1725 * gdb.fortran/charset.exp: Use standard_testfile.
1726 * gdb.fortran/array-element.exp: Use standard_testfile,
1727 prepare_for_testing.
1728
1729 2012-06-25 Keith Seitz <keiths@redhat.com>
1730
1731 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
1732 Change rbreak-related tests to KFAIL and add bugzilla numbers.
1733
1734 2012-06-25 Tom Tromey <tromey@redhat.com>
1735
1736 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
1737 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
1738 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
1739 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
1740
1741 2012-06-25 Tom Tromey <tromey@redhat.com>
1742
1743 * gdb.linespec/ls-errs.exp: Use standard_testfile.
1744 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
1745 * gdb.linespec/linespec.exp: Use standard_testfile.
1746
1747 2012-06-25 Tom Tromey <tromey@redhat.com>
1748
1749 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
1750 prepare_for_testing.
1751
1752 2012-06-25 Tom Tromey <tromey@redhat.com>
1753
1754 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
1755 prepare_for_testing.
1756 * gdb.opt/inline-break.exp: Use standard_testfile,
1757 prepare_for_testing.
1758 * gdb.opt/inline-bt.exp: Use standard_testfile,
1759 prepare_for_testing.
1760 * gdb.opt/inline-cmds.exp: Use standard_testfile,
1761 prepare_for_testing.
1762 * gdb.opt/inline-locals.exp: Use standard_testfile,
1763 prepare_for_testing.
1764
1765 2012-06-25 Tom Tromey <tromey@redhat.com>
1766
1767 * gdb.asm/asm-source.exp: Use standard_output_file,
1768 standard_testfile. Construct .o files in proper subdir.
1769
1770 2012-06-25 Tom Tromey <tromey@redhat.com>
1771
1772 * gdb.server/ext-attach.exp: Use standard_testfile,
1773 prepare_for_testing.
1774 * gdb.server/ext-run.exp: Use standard_testfile,
1775 build_executable.
1776 * gdb.server/file-transfer.exp: Use standard_testfile,
1777 prepare_for_testing.
1778 * gdb.server/server-exec-info.exp: Use standard_testfile.
1779 * gdb.server/server-mon.exp: Use standard_testfile,
1780 prepare_for_testing.
1781 * gdb.server/server-run.exp: Use standard_testfile,
1782 build_executable.
1783 * gdb.server/solib-list.exp: Use standard_testfile,
1784 standard_output_file.
1785
1786 2012-06-25 Tom Tromey <tromey@redhat.com>
1787
1788 * lib/gdb.exp (standard_output_file): Use "file join".
1789 * gdb.go/chan.exp: Use standard_testfile.
1790 * gdb.go/handcall.exp: Use standard_testfile.
1791 * gdb.go/hello.exp: Use standard_testfile.
1792 * gdb.integers/chan.exp: Use standard_testfile.
1793 * gdb.go/methods.exp: Use standard_testfile.
1794 * gdb.go/package.exp: Use standard_testfile.
1795 * gdb.go/strings.exp: Use standard_testfile.
1796 * gdb.go/types.exp: Use standard_testfile.
1797 * gdb.go/unsafe.exp: Use standard_testfile.
1798
1799 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
1800
1801 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
1802
1803 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 Fix regression by the previous commit.
1806 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
1807
1808 2012-06-22 Tom Tromey <tromey@redhat.com>
1809
1810 * gdb.python/lib-types.exp: Use standard_testfile,
1811 prepare_for_testing.
1812 * gdb.python/py-block.exp: Use standard_testfile.
1813 * gdb.python/py-breakpoint.exp: Use standard_testfile.
1814 * gdb.python/py-events.exp: Use standard_testfile,
1815 standard_output_file.
1816 * gdb.python/py-evsignal.exp: Use standard_testfile.
1817 * gdb.python/py-evethreads.exp: Use standard_testfile.
1818 * gdb.python/py-explore-cc.exp: Use standard_testfile.
1819 * gdb.python/py-explore.exp: Use standard_testfile.
1820 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
1821 standard_output_file.
1822 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
1823 prepare_for_testing.
1824 * gdb.python/py-frame-inline.exp: Use standard_testfile.
1825 * gdb.python/py-frame.exp: Use standard_testfile.
1826 * gdb.python/py-inferior.exp: Use standard_testfile.
1827 * gdb.python/py-infthread.exp: Use standard_testfile.
1828 * gdb.python/py-mi.exp: Use standard_testfile.
1829 * gdb.python/py-objfile-script.exp: Use standard_testfile,
1830 build_executable.
1831 * gdb.python/py-objfile.exp: Use standard_testfile.
1832 * gdb.python/py-pp-maint.exp: Use standard_testfile,
1833 prepare_for_testing.
1834 * gdb.python/py-prettyprint.exp: Use standard_testfile.
1835 * gdb.python/py-progspace.exp: Use standard_testfile,
1836 build_executable.
1837 * gdb.python/py-prompt.exp: Use standard_testfile,
1838 build_executable.
1839 * gdb.python/py-section-script.exp: Use standard_testfile,
1840 build_executable.
1841 * gdb.python/py-shared.exp: Use standard_testfile,
1842 standard_output_file, clean_restart.
1843 * gdb.python/py-symbol.exp: Use standard_output_file,
1844 prepare_for_testing.
1845 * gdb.python/py-symtab.exp: Use standard_output_file,
1846 prepare_for_testing
1847 * gdb.python/py-template.exp: Use standard_testfile.
1848 * gdb.python/py-type.exp: Use standard_testfile.
1849 * gdb.python/py-value-cc.exp: Use standard_testfile.
1850 * gdb.python/py-value.exp: Use standard_testfile.
1851 * gdb.python/python.exp: Use standard_testfile, build_executable.
1852
1853 2012-06-22 Tom Tromey <tromey@redhat.com>
1854
1855 * gdb.objc/basicclass.exp: Use standard_testfile.
1856 (do_objc_tests): Don't declare objdir.
1857 * gdb.objc/nondebug.exp: Use standard_testfile.
1858 (do_objc_tests): Don't declare objdir.
1859 * gdb.objc/objcdecode.exp: Use standard_testfile.
1860 (do_objc_tests): Don't declare objdir.
1861
1862 2012-06-22 Tom Tromey <tromey@redhat.com>
1863
1864 * gdb.java/jmain.exp: Use standard_testfile.
1865 * gdb.java/jmisc.exp: Use standard_testfile.
1866 * gdb.java/jnpe.exp: Use standard_testfile.
1867 * gdb.java/jprint.exp: Use standard_testfile.
1868
1869 2012-06-22 Tom Tromey <tromey@redhat.com>
1870
1871 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
1872 (standard_output_file, standard_testfile): New procs.
1873 (build_executable, clean_restart): Use standard_output_file.
1874
1875 2012-06-22 Yao Qi <yao@codesourcery.com>
1876
1877 * boards/native-gdbserver.exp: New proc ${board}_exec.
1878 * boards/native-stdio-gdbserver.exp: Likewise.
1879
1880 2012-06-21 Tom Tromey <tromey@redhat.com>
1881
1882 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
1883 (build_executable): Update.
1884 (get_compiler_info): Remove 'binfile' argument.
1885 * gdb.ada/arrayidx.exp: Update.
1886 * gdb.ada/null_array.exp: Update.
1887 * gdb.arch/altivec-abi.exp: Update.
1888 * gdb.arch/altivec-regs.exp: Update.
1889 * gdb.arch/amd64-byte.exp: Update.
1890 * gdb.arch/amd64-dword.exp: Update.
1891 * gdb.arch/amd64-word.exp: Update.
1892 * gdb.arch/i386-avx.exp: Update.
1893 * gdb.arch/i386-byte.exp: Update.
1894 * gdb.arch/i386-sse.exp: Update.
1895 * gdb.arch/i386-word.exp: Update.
1896 * gdb.arch/ppc-dfp.exp: Update.
1897 * gdb.arch/ppc-fp.exp: Update.
1898 * gdb.arch/vsx-regs.exp: Update.
1899 * gdb.base/all-bin.exp: Update.
1900 * gdb.base/annota1.exp: Update.
1901 * gdb.base/async.exp: Update.
1902 * gdb.base/attach.exp: Update.
1903 * gdb.base/break-interp.exp: Update.
1904 * gdb.base/call-ar-st.exp: Update.
1905 * gdb.base/call-rt-st.exp: Update.
1906 * gdb.base/call-sc.exp: Update.
1907 * gdb.base/callfuncs.exp: Update.
1908 * gdb.base/catch-load.exp: Update.
1909 * gdb.base/completion.exp: Update.
1910 * gdb.base/complex.exp: Update.
1911 * gdb.base/condbreak.exp: Update.
1912 * gdb.base/consecutive.exp: Update.
1913 * gdb.base/constvars.exp: Update.
1914 * gdb.base/corefile.exp: Update.
1915 * gdb.base/eval-skip.exp: Update.
1916 * gdb.base/expand-psymtabs.exp: Update.
1917 * gdb.base/exprs.exp: Update.
1918 * gdb.base/fileio.exp: Update.
1919 * gdb.base/fixsection.exp: Update.
1920 * gdb.base/funcargs.exp: Update.
1921 * gdb.base/gdb11530.exp: Update.
1922 * gdb.base/gdb1555.exp: Update.
1923 * gdb.base/gnu-ifunc.exp: Update.
1924 * gdb.base/gnu_vector.exp: Update.
1925 * gdb.base/info-macros.exp: Update.
1926 * gdb.base/jit-simple.exp: Update.
1927 * gdb.base/jit-so.exp: Update.
1928 * gdb.base/jit.exp: Update.
1929 * gdb.base/langs.exp: Update.
1930 * gdb.base/list.exp: Update.
1931 * gdb.base/logical.exp: Update.
1932 * gdb.base/long_long.exp: Update.
1933 * gdb.base/longjmp.exp: Update.
1934 * gdb.base/macscp.exp: Update.
1935 * gdb.base/mips_pro.exp: Update.
1936 * gdb.base/miscexprs.exp: Update.
1937 * gdb.base/morestack.exp: Update.
1938 * gdb.base/nodebug.exp: Update.
1939 * gdb.base/opaque.exp: Update.
1940 * gdb.base/pc-fp.exp: Update.
1941 * gdb.base/pending.exp: Update.
1942 * gdb.base/permissions.exp: Update.
1943 * gdb.base/pointers.exp: Update.
1944 * gdb.base/prelink.exp: Update.
1945 * gdb.base/printcmds.exp: Update.
1946 * gdb.base/psymtab.exp: Update.
1947 * gdb.base/ptype.exp: Update.
1948 * gdb.base/relational.exp: Update.
1949 * gdb.base/scope.exp: Update.
1950 * gdb.base/setvar.exp: Update.
1951 * gdb.base/shlib-call.exp: Update.
1952 * gdb.base/shreloc.exp: Update.
1953 * gdb.base/signals.exp: Update.
1954 * gdb.base/sizeof.exp: Update.
1955 * gdb.base/so-impl-ld.exp: Update.
1956 * gdb.base/so-indr-cl.exp: Update.
1957 * gdb.base/solib-disc.exp: Update.
1958 * gdb.base/solib-display.exp: Update.
1959 * gdb.base/solib-nodir.exp: Update.
1960 * gdb.base/solib-overlap.exp: Update.
1961 * gdb.base/solib-symbol.exp: Update.
1962 * gdb.base/solib-weak.exp: Update.
1963 * gdb.base/solib.exp: Update.
1964 * gdb.base/store.exp: Update.
1965 * gdb.base/structs.exp: Update.
1966 * gdb.base/structs2.exp: Update.
1967 * gdb.base/type-opaque.exp: Update.
1968 * gdb.base/unload.exp: Update.
1969 * gdb.base/varargs.exp: Update.
1970 * gdb.base/volatile.exp: Update.
1971 * gdb.base/watch_thread_num.exp: Update.
1972 * gdb.base/watchpoint-solib.exp: Update.
1973 * gdb.base/watchpoint.exp: Update.
1974 * gdb.base/watchpoints.exp: Update.
1975 * gdb.base/whatis.exp: Update.
1976 * gdb.cell/arch.exp: Update.
1977 * gdb.cell/break.exp: Update.
1978 * gdb.cell/bt.exp: Update.
1979 * gdb.cell/core.exp: Update.
1980 * gdb.cell/data.exp: Update.
1981 * gdb.cell/ea-cache.exp: Update.
1982 * gdb.cell/f-regs.exp: Update.
1983 * gdb.cell/fork.exp: Update.
1984 * gdb.cell/gcore.exp: Update.
1985 * gdb.cell/mem-access.exp: Update.
1986 * gdb.cell/ptype.exp: Update.
1987 * gdb.cell/registers.exp: Update.
1988 * gdb.cell/sizeof.exp: Update.
1989 * gdb.cell/solib-symbol.exp: Update.
1990 * gdb.cell/solib.exp: Update.
1991 * gdb.cp/ambiguous.exp: Update.
1992 * gdb.cp/breakpoint.exp: Update.
1993 * gdb.cp/bs15503.exp: Update.
1994 * gdb.cp/casts.exp: Update.
1995 * gdb.cp/class2.exp: Update.
1996 * gdb.cp/cpexprs.exp: Update.
1997 * gdb.cp/cplusfuncs.exp: Update.
1998 * gdb.cp/ctti.exp: Update.
1999 * gdb.cp/dispcxx.exp: Update.
2000 * gdb.cp/gdb1355.exp: Update.
2001 * gdb.cp/gdb2384.exp: Update.
2002 * gdb.cp/gdb2495.exp: Update.
2003 * gdb.cp/infcall-dlopen.exp: Update.
2004 * gdb.cp/local.exp: Update.
2005 * gdb.cp/m-data.exp: Update.
2006 * gdb.cp/m-static.exp: Update.
2007 * gdb.cp/mb-ctor.exp: Update.
2008 * gdb.cp/mb-inline.exp: Update.
2009 * gdb.cp/mb-templates.exp: Update.
2010 * gdb.cp/member-ptr.exp: Update.
2011 * gdb.cp/method.exp: Update.
2012 * gdb.cp/namespace.exp: Update.
2013 * gdb.cp/nextoverthrow.exp: Update.
2014 * gdb.cp/nsdecl.exp: Update.
2015 * gdb.cp/nsrecurs.exp: Update.
2016 * gdb.cp/nsstress.exp: Update.
2017 * gdb.cp/nsusing.exp: Update.
2018 * gdb.cp/pr-1023.exp: Update.
2019 * gdb.cp/pr-1210.exp: Update.
2020 * gdb.cp/pr-574.exp: Update.
2021 * gdb.cp/pr9631.exp: Update.
2022 * gdb.cp/printmethod.exp: Update.
2023 * gdb.cp/psmang.exp: Update.
2024 * gdb.cp/re-set-overloaded.exp: Update.
2025 * gdb.cp/rtti.exp: Update.
2026 * gdb.cp/shadow.exp: Update.
2027 * gdb.cp/templates.exp: Update.
2028 * gdb.cp/try_catch.exp: Update.
2029 * gdb.dwarf2/dw2-ranges.exp: Update.
2030 * gdb.dwarf2/pr10770.exp: Update.
2031 * gdb.fortran/library-module.exp: Update.
2032 * gdb.hp/gdb.aCC/optimize.exp: Update.
2033 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
2034 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
2035 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
2036 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
2037 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
2038 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
2039 * gdb.hp/gdb.compat/xdb1.exp: Update.
2040 * gdb.hp/gdb.compat/xdb2.exp: Update.
2041 * gdb.hp/gdb.compat/xdb3.exp: Update.
2042 * gdb.hp/gdb.defects/bs14602.exp: Update.
2043 * gdb.hp/gdb.defects/solib-d.exp: Update.
2044 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
2045 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
2046 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
2047 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
2048 * gdb.mi/gdb792.exp: Update.
2049 * gdb.mi/mi-pending.exp: Update.
2050 * gdb.mi/mi-solib.exp: Update.
2051 * gdb.mi/mi-var-cp.exp: Update.
2052 * gdb.opt/clobbered-registers-O2.exp: Update.
2053 * gdb.opt/inline-bt.exp: Update.
2054 * gdb.opt/inline-cmds.exp: Update.
2055 * gdb.opt/inline-locals.exp: Update.
2056 * gdb.python/py-events.exp: Update.
2057 * gdb.python/py-finish-breakpoint.exp: Update.
2058 * gdb.python/py-type.exp: Update.
2059 * gdb.reverse/solib-precsave.exp: Update.
2060 * gdb.reverse/solib-reverse.exp: Update.
2061 * gdb.server/solib-list.exp: Update.
2062 * gdb.stabs/weird.exp: Update.
2063 * gdb.threads/attach-into-signal.exp: Update.
2064 * gdb.threads/attach-stopped.exp: Update.
2065 * gdb.threads/tls-shared.exp: Update.
2066 * gdb.trace/change-loc.exp: Update.
2067 * gdb.trace/strace.exp: Update.
2068
2069 2012-06-19 Tom Tromey <tromey@redhat.com>
2070
2071 * gdb.base/whatis.exp: Add tests.
2072
2073 2012-06-19 Tom Tromey <tromey@redhat.com>
2074
2075 * gdb.cp/m-static.cc (keepalive): New function.
2076 (gnu_obj_1::method): Use it.
2077
2078 2012-06-18 Doug Evans <dje@google.com>
2079
2080 * gdb.base/info-fun.exp: New file.
2081 * gdb.base/info-fun.c: New file.
2082 * gdb.base/info-fun-solib.c: New file.
2083
2084 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 Remove stale dummy frames.
2087 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
2088 (maintenance info breakpoints): New tests.
2089 * gdb.base/stale-infcall.c: New file.
2090 * gdb.base/stale-infcall.exp: New file.
2091
2092 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2093
2094 * gdb.arch/amd64-entry-value-param.S: New file.
2095 * gdb.arch/amd64-entry-value-param.c: New file.
2096 * gdb.arch/amd64-entry-value-param.exp: New file.
2097
2098 2012-06-15 Tom Tromey <tromey@redhat.com>
2099
2100 * gdb.cp/namespace.exp: Add "show lang" test.
2101
2102 2012-06-15 Iain Sandoe <iain@codesourcery.com>
2103
2104 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
2105 case. (top level): Use gdb_file_cmd instead of gdb_load.
2106
2107 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2108
2109 PR tdep/14222
2110 * gdb.arch/i386-sse-stack-align.S: New file.
2111 * gdb.arch/i386-sse-stack-align.c: New file.
2112 * gdb.arch/i386-sse-stack-align.exp: New file.
2113
2114 2012-06-13 Keith Seitz <keiths@redhat.com>
2115
2116 PR breakpoints/13798 and mi/11541
2117 * gdb.linespec/ls-errs.exp: Add a few more tests for
2118 filenames with spaces and colons.
2119
2120 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
2123 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
2124 (test_function): Call CV_f.
2125 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
2126 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
2127 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
2128 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
2129 (p CV_f(CV::i)): New tests.
2130
2131 2012-06-13 Tom Tromey <tromey@redhat.com>
2132
2133 * gdb.base/condbreak.exp: Add tests for "condition" completion.
2134
2135 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 Fix regression by the "ambiguous linespec" series.
2138 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
2139 tests.
2140
2141 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2142
2143 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
2144 missing.
2145
2146 2012-06-11 Tom Tromey <tromey@redhat.com>
2147
2148 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
2149 location...
2150 (main): ...here.
2151
2152 2012-06-07 Yao Qi <yao@codesourcery.com>
2153
2154 * gdb.trace/strace.exp: Shorten some too-long lines.
2155
2156 2012-06-06 Pedro Alves <palves@redhat.com>
2157
2158 * gdb.threads/clone-new-thread-event.c: New file.
2159 * gdb.threads/clone-new-thread-event.exp: New file.
2160
2161 2012-06-06 Yao Qi <yao@codesourcery.com>
2162
2163 * gdb.base/dprintf.c (main): Add extra parameter when calling
2164 printf and fprintf.
2165 (bar): New function. It is a dead function, but to ensure
2166 'malloc' is linked explicitly.
2167
2168 2012-06-06 Yao Qi <yao@codesourcery.com>
2169
2170 * gdb.base/info-proc.exp: Return if target doesn't support
2171 'info proc'.
2172
2173 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
2176 (run program with breakpoint commands): XFAIl if it is not.
2177
2178 2012-06-05 Joel Brobecker <brobecker@adacore.com>
2179
2180 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
2181 and add comment.
2182 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
2183 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
2184 "STOP" marker. Adjust testing strategy to make it work on
2185 all targets.
2186
2187 * gdb.base/print-file-var-main.c (main): Rewrite using local
2188 variables and adjust get_version_2's return value check.
2189 Add small comment.
2190 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
2191 marker. Adjust testing strategy to make it work on all targets.
2192
2193 2012-06-05 Joel Brobecker <brobecker@adacore.com>
2194
2195 * gdb.ada/bad-task-bp-keyword: New testcase.
2196
2197 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
2200 Simplify it to ...
2201 (symbol-file ${testfile1}): ... here.
2202 (test eliminated var my_global_symbol)
2203 (test eliminated var my_static_symbol)
2204 (test eliminated var my_global_func, get address of main): Wrap them to
2205 'single psymtabs' and 'single symtabs'
2206 (get address of my_global_symbol, get address of my_static_symbol)
2207 (get address of my_global_func, get address of main): Wrap them to
2208 'order1' and 'order2'.
2209
2210 * gdb.base/code_elim.exp
2211 (add-symbol-file ${testfile1} 0x100000)
2212 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
2213 'order2'.
2214 (order1: add-symbol-file ${testfile1} 0x100000)
2215 (order1: add-symbol-file ${testfile2} 0x200000)
2216 (order2: add-symbol-file ${testfile2} 0x200000)
2217 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
2218 .bss as appropriate.
2219
2220 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2221
2222 * gdb.server/solib-list-lib.c: New file.
2223 * gdb.server/solib-list-main.c: New file.
2224 * gdb.server/solib-list.exp: New file.
2225
2226 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
2227
2228 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
2229 for 'set print symbol' change.
2230
2231 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
2234 .debug_abbrev_seg3.
2235
2236 2012-05-24 John Steele Scott <toojays@toojays.net>
2237
2238 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
2239 * gdb.dwarf2/dw2-icc-opaque.S: New file.
2240 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
2241
2242 2012-05-23 Stan Shebs <stan@codesourcery.com>
2243
2244 * gdb.mi/mi-info-os.exp: New file.
2245
2246 2012-05-23 Keith Seitz <keiths@redhat.com>
2247
2248 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
2249 return -1 to suppress the rest of the tests.
2250 (compile_stap_bin): Return boolean success value.
2251
2252 2012-05-21 Tom Tromey <tromey@redhat.com>
2253
2254 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
2255 Remove kfails.
2256 (test_print_mi_member_types): Likewise.
2257
2258 2012-05-21 Tom Tromey <tromey@redhat.com>
2259
2260 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
2261 print symbol' change.
2262
2263 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
2264
2265 * gdb.python/py-prompt.exp: Quit if the target is remote.
2266
2267 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2268
2269 Fix ERROR: internal buffer is full.
2270 * gdb.base/info-os.exp (expect_multiline): New function.
2271 (get process list, get process groups, get threads)
2272 (get file descriptors, get internet-domain sockets)
2273 (get shared-memory regions, get semaphores, get message queues): Use
2274 it for these tests.
2275
2276 2012-05-18 Tom Tromey <tromey@redhat.com>
2277
2278 * gdb.mi/mi-var-cmd.exp: Update.
2279 * gdb.objc/basicclass.exp (do_objc_tests): Update.
2280 * gdb.cp/virtbase.exp: Update.
2281 * gdb.cp/classes.exp (test_static_members): Update.
2282 * gdb.cp/casts.exp: Update.
2283 * gdb.base/pointers.exp: Update.
2284 * gdb.base/funcargs.exp (pointer_args): Update.
2285 (structs_by_reference): Update.
2286 * gdb.base/find.exp: Update.
2287 * gdb.base/call-strs.exp: Send "set print symbol off".
2288 * gdb.base/call-ar-st.exp: Update.
2289 * gdb.ada/fun_addr.exp: Update.
2290 * gdb.base/printcmds.exp (test_print_symbol): New proc.
2291 Call it.
2292 (test_print_repeats_10, test_print_strings)
2293 (test_print_char_arrays): Update.
2294
2295 2012-05-18 Tom Tromey <tromey@redhat.com>
2296
2297 * gdb.base/charset.exp (string_display): Update.
2298
2299 2012-05-18 Tom Tromey <tromey@redhat.com>
2300
2301 * gdb.mi/mi2-var-display.exp: Update.
2302 * gdb.mi/mi-var-display.exp: Update.
2303 * gdb.mi/mi-var-child.exp: Update.
2304 * gdb.cp/expand-psymtabs-cxx.exp: Update.
2305 * gdb.cp/cp-relocate.exp (get_func_address): Update.
2306
2307 2012-05-17 Doug Evans <dje@google.com>
2308
2309 * info-macros.exp: Pass "debug" to prepare_for_testing.
2310
2311 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
2312 * gdb.ada/Makefile.in (clean): Ditto.
2313 * gdb.arch/Makefile.in (clean): Ditto.
2314 * gdb.asm/Makefile.in (clean): Ditto.
2315 * gdb.base/Makefile.in (clean): Ditto.
2316 * gdb.cell/Makefile.in (clean): Ditto.
2317 * gdb.cp/Makefile.in (clean): Ditto.
2318 * gdb.disasm/Makefile.in (clean): Ditto.
2319 * gdb.dwarf2/Makefile.in (clean): Ditto.
2320 * gdb.fortran/Makefile.in (clean): Ditto.
2321 * gdb.go/Makefile.in (clean): Ditto.
2322 * gdb.hp/Makefile.in (clean): Ditto.
2323 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
2324 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
2325 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
2326 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
2327 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
2328 * gdb.java/Makefile.in (clean): Ditto.
2329 * gdb.linespec/Makefile.in (clean): Ditto.
2330 * gdb.mi/Makefile.in (clean): Ditto.
2331 * gdb.modula2/Makefile.in (clean): Ditto.
2332 * gdb.multi/Makefile.in (clean): Ditto.
2333 * gdb.objc/Makefile.in (clean): Ditto.
2334 * gdb.opencl/Makefile.in (clean): Ditto.
2335 * gdb.opt/Makefile.in (clean): Ditto.
2336 * gdb.pascal/Makefile.in (clean): Ditto.
2337 * gdb.python/Makefile.in (clean): Ditto.
2338 * gdb.reverse/Makefile.in (clean): Ditto.
2339 * gdb.server/Makefile.in (clean): Ditto.
2340 * gdb.stabs/Makefile.in (clean): Ditto.
2341 * gdb.threads/Makefile.in (clean): Ditto.
2342 * gdb.trace/Makefile.in (clean): Ditto.
2343 * gdb.xml/Makefile.in (clean): Ditto.
2344
2345 2012-05-16 Tom Tromey <tromey@redhat.com>
2346
2347 * gdb.base/macscp1.c (macscp_expr): Add comment.
2348 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
2349
2350 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2351
2352 * gdb.base/return-nodebug.exp: Also test float and double types.
2353
2354 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2355
2356 PR testsuite/12649
2357 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
2358
2359 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
2360
2361 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
2362
2363 * gdb.base/stap-probe.exp (stap_test): Remove calls to
2364 `rerun_to_main'.
2365 (stap_test_no_debuginfo): Likewise.
2366
2367 2012-05-14 Stan Shebs <stan@codesourcery.com>
2368
2369 * gdb.base/dprintf.c: New file.
2370 * gdb.base/dprintf.exp: New file.
2371
2372 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
2373
2374 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
2375 * gdb.trace/disconnected-tracing.c: New file.
2376 * gdb.trace/disconnected-tracing.exp: New file.
2377
2378 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
2379
2380 * gdb.python/python.c: Add a new breakpoint comment.
2381 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
2382
2383 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
2384
2385 * gdb.base/info-os.exp: New file.
2386 * gdb.base/info-os.c: New file.
2387
2388 2012-05-10 Joel Brobecker <brobecker@adacore.com>
2389
2390 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
2391 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
2392 New files.
2393
2394 2012-05-10 Joel Brobecker <brobecker@adacore.com>
2395
2396 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
2397 gdb.base/ctxobj.exp: New files.
2398
2399 2012-05-09 Tom Tromey <tromey@redhat.com>
2400
2401 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
2402
2403 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
2404
2405 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
2406
2407 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
2408
2409 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
2410 before using it.
2411
2412 2012-05-04 Tristan Gingold <gingold@adacore.com>
2413
2414 * gdb.base/set-noassign.exp: New test.
2415
2416 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
2417
2418 * gdb.python/py-symbol.exp: Add tests to test the new methods
2419 gdb.Symtab.global_block() and gdb.Symtab.static_block().
2420 * gdb.python/py-symbol.c: Add new struct to help test
2421 gdb.Symtab.static_block().
2422
2423 2012-05-03 Doug Evans <dje@google.com>
2424
2425 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
2426 commented out.
2427
2428 2012-05-03 Yao Qi <yao@codesourcery.com>
2429
2430 * gdb.base/catch-syscall.exp: Skip it before compilation if target
2431 doesn't support.
2432 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
2433 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
2434
2435 2012-05-03 Yao Qi <yao@codesourcery.com>
2436
2437 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
2438
2439 2012-04-30 Doug Evans <dje@google.com>
2440
2441 PR testsuite/13961
2442 * gdb.dwarf2/pr13961.S: New file.
2443 * gdb.dwarf2/pr13961.exp: New file.
2444
2445 2012-04-29 Yao Qi <yao@codesourcery.com>
2446
2447 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
2448
2449 2012-04-28 Doug Evans <dje@google.com>
2450
2451 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
2452 .Ltype_int_in_cu2. Use name "int2" instead of "int".
2453 All uses updated.
2454 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
2455 "ptype func_cu1" to expand cu2 before cu1.
2456
2457 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
2458 Tom Tromey <tromey@redhat.com>
2459
2460 * gdb.base/default.exp: Add `$_probe_arg*' convenience
2461 variables.
2462 * gdb.base/stap-probe.c: New file.
2463 * gdb.base/stap-probe.exp: New file.
2464 * gdb.trace/stap-trace.c: New file.
2465 * gdb.trace/stap-trace.exp: New file.
2466 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
2467 libgcc's unwinder.
2468
2469 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
2470
2471 * gdb.arch/mips16-thunks-inmain.c: New file.
2472 * gdb.arch/mips16-thunks-main.c: New file.
2473 * gdb.arch/mips16-thunks-sin.c: New file.
2474 * gdb.arch/mips16-thunks-sinfrob.c: New file.
2475 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
2476 * gdb.arch/mips16-thunks-sinmain.c: New file.
2477 * gdb.arch/mips16-thunks-sinmips16.c: New file.
2478 * gdb.arch/mips16-thunks.exp: New file.
2479
2480 2012-04-25 Doug Evans <dje@google.com>
2481
2482 * configure.ac: Create gdb.go/Makefile.
2483 * configure: Regenerate.
2484 * gdb.base/default.exp: Add "go" to "set language" testing.
2485 * gdb.go/Makefile.in: New file.
2486 * gdb.go/basic-types.exp: New file.
2487 * gdb.go/chan.exp: New file.
2488 * gdb.go/chan.go: New file.
2489 * gdb.go/handcall.exp: New file.
2490 * gdb.go/handcall.go: New file.
2491 * gdb.go/hello.exp: New file.
2492 * gdb.go/hello.go: New file.
2493 * gdb.go/integers.exp: New file.
2494 * gdb.go/integers.go: New file.
2495 * gdb.go/methods.exp: New file.
2496 * gdb.go/methods.go: New file.
2497 * gdb.go/package.exp: New file.
2498 * gdb.go/package1.go: New file.
2499 * gdb.go/package2.go: New file.
2500 * gdb.go/print.exp: New file.
2501 * gdb.go/strings.exp: New file.
2502 * gdb.go/strings.go: New file.
2503 * gdb.go/types.exp: New file.
2504 * gdb.go/types.go: New file.
2505 * gdb.go/unsafe.exp: New file.
2506 * gdb.go/unsafe.go: New file.
2507 * lib/future.exp: Add Go support.
2508 (gdb_find_go, gdb_find_go_linker): New procs.
2509 (gdb_default_target_compile): Add Go support.
2510 * lib/gdb.exp (skip_go_tests): New proc.
2511 * lib/go.exp: New file.
2512
2513 2012-04-25 Tom Tromey <tromey@redhat.com>
2514
2515 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
2516
2517 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2518 Jan Kratochvil <jan.kratochvil@redhat.com>
2519
2520 PR symtab/7259:
2521 * gdb.base/enumval.c: New test case.
2522 * gdb.base/enumval.exp: New test case.
2523 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
2524 field.bitpos.
2525
2526 2012-04-17 Pedro Alves <palves@redhat.com>
2527
2528 * Makefile.in (site.exp): Make site.exp source
2529 $srcdir/lib/append_gdb_boards_dir.exp.
2530 * lib/append_gdb_boards_dir.exp: New file.
2531
2532 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2533
2534 New option "set auto-load safe-path".
2535 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
2536 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
2537
2538 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2539
2540 auto-load: Implementation.
2541 * gdb.base/help.exp (test set height): Increase the height.
2542 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
2543 to ...
2544 (info auto-load python-scripts): ... here.
2545 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
2546 to ...
2547 (info auto-load python-scripts *): ... here.
2548
2549 2012-04-16 Yao Qi <yao@codesourcery.com>
2550
2551 * lib/trace-support.exp (get_in_proc_agent): New.
2552 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
2553 of in process trace agent.
2554 * gdb.trace/ftrace.exp: Likewise.
2555 * gdb.trace/pending.exp: Likewise.
2556 * gdb.trace/trace-break.exp: Likewise.
2557 * gdb.trace/trace-mt.exp
2558 * gdb.trace/tspeed.exp: Likewise.
2559 * gdb.trace/tstatus.exp
2560 * gdb.trace/strace.exp: Likewise.
2561
2562 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
2563
2564 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
2565 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
2566
2567 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
2568
2569 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
2570
2571 PR mi/13393
2572 * gdb.mi/mi-var-rtti.cc: New file.
2573 * gdb.mi/mi-var-rtti.exp: New file.
2574 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
2575 function.
2576 (mi_varobj_update_with_type_change): updated to avoid code duplication.
2577
2578 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
2579
2580 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
2581 EXECUTABLES.
2582 * gdb.python/py-explore.c: C program used for testing the new
2583 'explore' command on C constructs.
2584 * gdb.python/py-explore.cc: C++ program used for testing the new
2585 'explore' command on C++ constructs.
2586 * gdb-python/py-explore.exp: Tests for the new 'explore'
2587 command on C constructs.
2588 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
2589 command on C++ constructs.
2590
2591 2012-04-07 Mark Kettenis <kettenis@gnu.org>
2592
2593 * gdb.base/funcargs.exp (complex_args): Fix typo.
2594
2595 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2596
2597 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
2598 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
2599
2600 2012-04-05 Keith Seitz <keiths@redhat.com>
2601
2602 * gdb.base/advance.exp: Update error message for
2603 "advance malformed" test.
2604 * gdb.base/break.exp: Likewise for "breakpoint with
2605 trailing garbage" test.
2606 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
2607 with trailing garbage" test.
2608 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
2609 trailng garbage" test.
2610 * gdb.base/until.exp: Likewise for "malformed until" test.
2611 * gdb.cp/ovldbreak.exp: Create the breakpoint table
2612 for "breakpoint info (after setting on all)".
2613 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
2614 tests.
2615 * gdb.cp/cplabel.cc: New file.
2616 * gdb.cp/cplabel.exp: New test.
2617 * gdb.linespec/ls-errs.c: New file.
2618 * gdb.linespec/ls-errs.exp: New test.
2619
2620 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2621
2622 * gdb.trace/unavailable.exp
2623 (collect globals: print object on: print derived_partial)
2624 (collect globals: print object on: print derived_whole)
2625 (collect globals: print object off: print derived_partial)
2626 (collect globals: print object off: print derived_whole): Update
2627 expected output.
2628
2629 2012-03-30 Keith Seitz <keiths@redhat.com>
2630
2631 * gdb.python: Add test for linespecs with commas.
2632
2633 2012-03-28 Keith Seitz <keiths@redhat.com>
2634
2635 * gdb.linespec/ls-dollar.cc: New file.
2636 * gdb.linespec/ls-dollar.exp: New test.
2637
2638 2012-03-28 Keith Seitz <keiths@redhat.com>
2639
2640 * gdb.cp/namespace.exp: Add breakpoint tests for functions
2641 starting with the global namespace.
2642
2643 2012-03-23 Doug Evans <dje@google.com>
2644
2645 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
2646
2647 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
2648
2649 * gdb.python/py-value.cc: Add test case for testing the
2650 methodology exposing C++ values to Python.
2651 * gdb.python/py-value-cc.exp: Add tests testing the methodology
2652 exposing C++ values to Python.
2653 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
2654
2655 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2656 Siddhesh Poyarekar <siddhesh@redhat.com>
2657
2658 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
2659 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
2660 (generate native core dump): Make the test unsupported if core cannot
2661 be generated.
2662
2663 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2664
2665 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
2666 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
2667 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
2668
2669 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2670
2671 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
2672
2673 2012-03-17 Doug Evans <dje@google.com>
2674
2675 * dg-extract-results.sh: Handle KFAILs.
2676
2677 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 PR symtab/13777
2680 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
2681
2682 2012-03-16 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.ada/set_pckd_arr_elt: New testcase.
2685
2686 2012-03-16 Gary Benson <gbenson@redhat.com>
2687
2688 PR breakpoints/10738
2689 * gdb.opt/inline-break.exp: New file.
2690 * gdb.opt/inline-break.c: Likewise.
2691 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
2692 * gdb.dwarf2/dw2-inline-break.S: Likewise.
2693 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
2694 * gdb.base/async-shell.exp: Likewise.
2695 * lib/mi-support.exp (library_loaded_re): Likewise.
2696
2697 2012-03-15 Tom Tromey <tromey@redhat.com>
2698
2699 * gdb.cp/virtfunc2.exp: Update expected output.
2700 * gdb.cp/pr9631.exp: Update expected output.
2701 * gdb.cp/member-ptr.exp: Update expected output.
2702 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
2703 output.
2704 * gdb.cp/casts.exp: Update expected output.
2705
2706 2012-03-15 Tom Tromey <tromey@redhat.com>
2707
2708 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
2709 (test_info_vtbl): Likewise.
2710 (do_tests): Call test_info_vtbl.
2711 * gdb.cp/virtfunc.cc (va): New global.
2712
2713 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
2714
2715 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
2716 describing DWARF data structures.
2717 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
2718 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
2719 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
2720 * gdb.dwarf2/dw2-entry-value.S: Likewise.
2721 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2722 * gdb.dwarf2/dw2-param-error.S: Likewise.
2723 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
2724 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
2725 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
2726 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
2727 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2728 * gdb.dwarf2/pr11465.S: Likewise.
2729
2730 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 * gdb.mi/mi2-prompt.exp: New file.
2733
2734 2012-03-13 Joel Brobecker <brobecker@adacore.com>
2735
2736 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
2737
2738 2012-03-13 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.ada/bp_range_type: New testcase.
2741
2742 2012-03-13 Doug Evans <dje@google.com>
2743
2744 * gdb.base/default.exp: Delete tests for symbol-reloading.
2745 * gdb.base/help.exp: Ditto.
2746 * gdb.base/setshow.exp: Ditto.
2747 * gdb.base/gdb_history: Delete references to symbol-reloading.
2748
2749 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 * gdb.base/attach-twice.c: New files.
2752 * gdb.base/attach-twice.exp: New files.
2753
2754 2012-03-08 Keith Seitz <keiths@redhat.com>
2755
2756 * lib/gdb.exp (gdb_get_line_number): Throw an
2757 error instead of returning -1.
2758 * gdb.base/break.exp: Remove unused variable
2759 bp_location5.
2760 * gdb.base/hbreak2.exp: Likewise.
2761 * gdb.base/sepdebug.exp: Likewise.
2762
2763 2012-03-08 Yao Qi <yao@codesourcery.com>
2764 Pedro Alves <palves@redhat.com>
2765
2766 Fix PR server/13392.
2767 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
2768 (tracepoint_change_loc_2): Remove kfail. Return if failed to
2769 download tracepoints.
2770 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
2771 (pending_tracepoint_resolved_during_trace): Likewise.
2772 (pending_tracepoint_installed_during_trace): Likewise.
2773 (pending_tracepoint_with_action_resolved): Likewise.
2774
2775 2012-03-08 Keith Seitz <keiths@redhat.com>
2776
2777 * gdb.ada/array_bounds.exp: Get breakpoint for line
2778 with "START", not "STOP".
2779 * gdb.python/py-infthread.exp: Do not continue to
2780 line marked "Break here.", which is undefined.
2781
2782 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
2783
2784 Revert:
2785
2786 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2787
2788 Implement testsuite workaround for PR breakpoints/13781.
2789 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2790 (set breakpoint condition-evaluation host): New conditional command.
2791
2792 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2793
2794 Fix CU relative vs. absolute DIE offsets.
2795 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
2796 one.
2797
2798 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2799
2800 Fix false FAIL on distros with relro linkage as default.
2801 * gdb.reverse/solib-precsave.exp: Try to compile the test using
2802 -Wl,-z,norelro first.
2803
2804 2012-03-06 Joel Brobecker <brobecker@adacore.com>
2805
2806 * gdb.ada/bp_on_var: New testcase.
2807
2808 2012-03-06 Joel Brobecker <brobecker@adacore.com>
2809
2810 * gdb.ada/bp_enum_homonym: New testcase.
2811
2812 2012-03-06 Yao Qi <yao@codesourcery.com>
2813
2814 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
2815 x86_64-*-* and i?86-*-*.
2816 Set up KFAIL for gdb/13808.
2817
2818 2012-03-05 Tom Tromey <tromey@redhat.com>
2819
2820 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
2821 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
2822
2823 2012-03-05 Tom Tromey <tromey@redhat.com>
2824
2825 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
2826
2827 2012-03-04 Yao Qi <yao@codesourcery.com>
2828
2829 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
2830 messages for KFAIL.
2831
2832 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2833
2834 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
2835 (print one_two_three, indexes off, print few_reps, indexes off)
2836 (print many_reps, indexes off, print empty, indexes off)
2837 (print one_two_three, print few_reps, print many_reps, print empty):
2838 Call setup_xfail if $gcc_old.
2839
2840 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 Implement testsuite workaround for PR breakpoints/13781.
2843 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
2844 (set breakpoint condition-evaluation host): New conditional command.
2845
2846 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2847
2848 Code cleanup.
2849 * gdb.cp/mb-templates.exp: New variables executable. Use it for
2850 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
2851 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
2852 number 1 by $bpnum. Four times.
2853
2854 2012-03-03 Yao Qi <yao@codesourcery.com>
2855
2856 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
2857
2858 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2859
2860 Setup KFAIL for PR server/13796.
2861 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
2862
2863 2012-03-02 Joel Brobecker <brobecker@adacore.com>
2864
2865 * gdb.ada/operator_bp: New testcase.
2866
2867 2012-03-02 Joel Brobecker <brobecker@adacore.com>
2868
2869 * gdb.ada/info_locals_renaming: New testcase.
2870
2871 2012-03-02 Tom Tromey <tromey@redhat.com>
2872
2873 * gdb.base/nextoverexit.c: New file.
2874 * gdb.base/nextoverexit.exp: New file.
2875
2876 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2877
2878 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
2879 parameter.
2880
2881 2012-03-01 Maciej W. Rozycki <macro@mips.com>
2882
2883 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
2884 core registers.
2885
2886 2012-03-01 Maciej W. Rozycki <macro@mips.com>
2887 Maciej W. Rozycki <macro@codesourcery.com>
2888 Daniel Jacobowitz <dan@codesourcery.com>
2889
2890 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
2891
2892 2012-03-01 Pedro Alves <palves@redhat.com>
2893
2894 PR gdb/13767
2895
2896 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
2897 (gdb_collect_globals_test): Call it.
2898
2899 2012-03-01 Keith Seitz <keiths@redhat.com>
2900
2901 * gdb.cp/method2.exp: Output of overload menu is now
2902 alphabetized. Update tests for "break A::method".
2903 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
2904 of hard-coding them.
2905 Overload menu is alphabetized: rewrite to accommodate.
2906 Unset variables LINE and TYPES which are used in other tests.
2907 Compute the output of "info break".
2908 Update the breakpoint table after all breakpoints are deleted.
2909 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
2910 compute ACTUALS and the method body based on parameters.
2911 Update expected output accordingly.
2912 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
2913 unique comments to allow the use of gdb_get_line_number.
2914
2915 2012-03-01 Keith Seitz <keiths@redhat.com>
2916
2917 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
2918 some Tcl syntax.
2919 * gdb.cp/ovldbreak.exp: Likewise.
2920
2921 2012-03-01 Keith Seitz <keiths@redhat.com>
2922
2923 * gdb.base/help.exp (help show user): Update expected result
2924 for new doc string changes (add "non-python").
2925
2926 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
2927
2928 * gdb.python/py-cmd.exp: Add test to verify that python commands can
2929 be put in the user-defined category and that the commands appear in
2930 "help user-defined".
2931
2932 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2933
2934 * gdb.ada/tagged_not_init: New testcase.
2935
2936 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2937
2938 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
2939 * gdb.ada/enum_idx_packed: New testcase.
2940
2941 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2942
2943 * gdb.ada/aliased_array: New testcase.
2944
2945 2012-02-29 Joel Brobecker <brobecker@adacore.com>
2946
2947 * gdb.ada/whatis_array_val: New testcase.
2948
2949 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2950
2951 Fix disp-step-syscall.exp: fork: single step over fork.
2952 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
2953 whitespaces.
2954 (single step over $syscall): Remove its check.
2955 (single step over $syscall final pc): New check.
2956
2957 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2958
2959 Support processors without SSSE3.
2960 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
2961 pabsd into ...
2962 (ssse3_test): ... a new function.
2963 (main): Call ssse3_test.
2964 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
2965 Update expected values everywhere.
2966 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
2967 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
2968 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
2969 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
2970 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
2971 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
2972 Move these tests lower.
2973 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
2974 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
2975 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
2976 New tests.
2977
2978 2012-02-29 Yao Qi <yao@codesourcery.com>
2979 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.trace/trace-mt.c: New.
2982 * gdb.trace/trace-mt.exp: New.
2983
2984 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
2985
2986 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
2987 numbers instead of hardcoding them.
2988 * gdb.base/annota1.c: Provide suitable markers.
2989 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
2990 numbers instead of hardcoding them.
2991 * gdb.base/annota3.c: Provide suitable markers.
2992
2993 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
2994 * gdb.base/annota3.c: Likewise.
2995 * gdb.base/sigall.c: Likewise.
2996 * gdb.base/signals.c: Likewise.
2997 * gdb.reverse/sigall-reverse.c: Likewise.
2998
2999 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
3000
3001 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
3002 failure return path.
3003
3004 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
3005
3006 * gdb.base/save-bp.exp: Account for new condition evaluator output.
3007
3008 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
3009
3010 * gdb.base/cond-eval-mode.exp: New file.
3011
3012 2012-02-24 Pedro Alves <palves@redhat.com>
3013
3014 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
3015 (top level): Use with_test_prefix.
3016
3017 2012-02-24 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.threads/attach-into-signal.exp (corefunc): Use
3020 with_test_prefix.
3021
3022 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3023
3024 Fix false FAILs on old CPUs without SSE.
3025 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
3026 Return untested for Illegal instruction.
3027
3028 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3029
3030 Fix false FAILs with glibc debug infos installed.
3031 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
3032 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
3033
3034 2012-02-22 Sterling Augustine <saugustine@google.com>
3035
3036 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
3037 constant with cast.
3038
3039 2012-02-21 Pedro Alves <palves@redhat.com>
3040
3041 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
3042
3043 2012-02-21 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
3046
3047 2012-02-21 Pedro Alves <palves@redhat.com>
3048
3049 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
3050 with_test_prefix.
3051
3052 2012-02-21 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
3055 with_test_prefix here.
3056 (top level): Do it here instead. Remove `:' from the
3057 with_test_prefix string.
3058 * gdb.base/attach-pie-misread.exp: Remove the leading space the
3059 the suffix `:' from the with_test_prefix prefix string.
3060 * gdb.base/break-interp.exp: Ditto.
3061 * gdb.base/catch-load.exp: Ditto.
3062 * gdb.base/disp-step-syscall.exp: Ditto.
3063 * gdb.base/jit-so.exp: Ditto.
3064 * gdb.base/jit.exp: Ditto.
3065 * gdb.base/sepdebug.exp: Ditto.
3066 * gdb.base/solib-display.exp: Ditto.
3067 * gdb.base/solib-overlap.exp: Ditto.
3068 * gdb.base/watch-cond-infcall.exp: Ditto.
3069 * gdb.base/watchpoint.exp: Ditto.
3070 * gdb.dwarf2/dw2-noloc.exp: Ditto.
3071 * gdb.mi/mi-watch.exp: Ditto.
3072 * gdb.mi/mi2-watch.exp: Ditto.
3073 * gdb.threads/non-ldr-exc-1.exp: Ditto.
3074 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3075 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3076 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3077 * gdb.threads/watchpoint-fork.exp: Ditto.
3078 * gdb.threads/watchthreads-reorder.exp: Ditto.
3079 * gdb.trace/change-loc.exp: Ditto.
3080 * gdb.trace/pending.exp: Ditto.
3081 * gdb.trace/status-stop.exp: Ditto.
3082 * gdb.trace/strace.exp: Ditto.
3083 * gdb.trace/trace-break.exp: Ditto.
3084 * gdb.trace/unavailable.exp: Ditto.
3085 * lib/gdb.exp (with_test_prefix): Always prefix with space and
3086 suffix with colon. Adjust leading comments.
3087
3088 2012-02-21 Pedro Alves <palves@redhat.com>
3089 Tom Tromey <tromey@redhat.com>
3090
3091 * lib/gdb.exp: Add description of test prefixes.
3092 (with_test_prefix): New procedure.
3093 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
3094 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
3095 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
3096 instead of lappend to append to pf_prefix.
3097 * gdb.base/catch-load.exp: Use with_test_prefix.
3098 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
3099 * gdb.base/jit-so.exp: Use with_test_prefix.
3100 * gdb.base/jit.exp: Use with_test_prefix.
3101 * gdb.base/return-nodebug.exp (do_test): Use append instead of
3102 lappend to append to pf_prefix.
3103 * gdb.base/sepdebug.exp: Use with_test_prefix.
3104 * gdb.base/solib-display.exp: Use with_test_prefix.
3105 * gdb.base/solib-overlap.exp: Use with_test_prefix.
3106 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
3107 * gdb.base/watchpoint.exp: Use with_test_prefix.
3108 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
3109 * gdb.mi/mi-watch.exp: Use with_test_prefix.
3110 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
3111 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
3112 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
3113 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
3114 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
3115 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
3116 append instead of lappend to append to pf_prefix.
3117 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
3118 * gdb.trace/change-loc.exp: Use with_test_prefix.
3119 * gdb.trace/pending.exp: Use with_test_prefix.
3120 * gdb.trace/status-stop.exp: Use with_test_prefix.
3121 * gdb.trace/strace.exp: Use with_test_prefix.
3122 * gdb.trace/trace-break.exp: Use with_test_prefix.
3123 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
3124 instead of lappend to append to pf_prefix.
3125
3126 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3127
3128 Fix racy FAILs.
3129 * gdb.base/inferior-died.c (main): Add return of 0.
3130 * gdb.base/inferior-died.exp (continue): Fix expectation of
3131 asynchronous events.
3132 (p 1): New test.
3133
3134 2012-02-20 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
3137 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
3138 gdb's internal debug output. For the non-threaded case, look for
3139 "Program received signal SIGLARM", for the threaded case, peek at
3140 the thread's siginfo.
3141
3142 2012-02-20 Pedro Alves <palves@redhat.com>
3143
3144 General cleanup, make output test messages unique, and build
3145 different executable files for the non-threaded and threaded
3146 cases.
3147
3148 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
3149 Delete.
3150 (executable_nothr, executable_thr): New globals.
3151 (top level): Adjust to delete both executables.
3152 (corefunc): New parameter $executable. Set $pf_prefix instead of
3153 hand writing a prefix in tests. Issue a clean_restart and enable
3154 lin-lwp debug output here.
3155 (top level): Adjust. Use build_executable. Don't start gdb here,
3156 and don't enable lin-lwp debug output here.
3157 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
3158
3159 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3160
3161 Fix racy FAILs.
3162 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
3163 "continue" command.
3164
3165 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3166
3167 Fix for gdbserver non-extended mode.
3168 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
3169 and gdb_run_cmd.
3170
3171 2012-02-17 Tom Tromey <tromey@redhat.com>
3172
3173 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
3174 * gdb.python/py-events.exp: Check 'dir' output.
3175 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
3176
3177 2012-02-17 Yao Qi <yao@codesourcery.com>
3178
3179 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
3180
3181 2012-02-16 Tom Tromey <tromey@redhat.com>
3182
3183 * gdb.base/inferior-died.c: Don't include stdio.h.
3184
3185 2012-02-16 Tom Tromey <tromey@redhat.com>
3186
3187 * gdb.base/inferior-died.c: New file.
3188 * gdb.base/inferior-died.exp: New file.
3189
3190 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
3191
3192 * gdb.base/break-inline.exp: New file.
3193 * gdb.base/break-inline.c: New file.
3194
3195 2012-02-15 Tom Tromey <tromey@redhat.com>
3196
3197 * gdb.base/pc-fp.exp: Add "info register" tests.
3198
3199 2012-02-15 Tom Tromey <tromey@redhat.com>
3200
3201 * gdb.base/regs.exp: Remove.
3202
3203 2012-02-15 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
3206 the target doesn't support tracepoints.
3207 * gdb.trace/circ.exp: Ditto.
3208 * gdb.trace/collection.exp: Ditto.
3209 * gdb.trace/packetlen.exp: Ditto.
3210 * gdb.trace/passc-dyn.exp: Ditto.
3211 * gdb.trace/report.exp: Ditto.
3212 * gdb.trace/tfind.exp: Ditto.
3213 * gdb.trace/tspeed.exp: Ditto.
3214 * gdb.trace/tsv.exp: Ditto.
3215 * gdb.trace/unavailable.exp: Ditto.
3216 * gdb.trace/while-dyn.exp: Ditto.
3217
3218 2012-02-15 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
3221 gdb_test_multiple, and call unsupported instead of fail, if the
3222 remote side does not support the request.
3223
3224 2012-02-15 Pedro Alves <palves@redhat.com>
3225
3226 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
3227 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
3228 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
3229 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
3230 * gdb.server/server-run.exp: Make sure gdb is disconnected.
3231 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
3232 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
3233 doesn't start with "extended-" already.
3234
3235 2012-02-15 Pedro Alves <palves@redhat.com>
3236
3237 Support extended-remote. Avoid cascading timeouts.
3238
3239 * gdb.base/attach.exp (do_attach_tests): Add expected output for
3240 the extended-remote target. If attaching with no file fails, load
3241 the file manually.
3242 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
3243
3244 2012-02-14 Stan Shebs <stan@codesourcery.com>
3245
3246 * gdb.base/ena-dis-br.exp: Add enable count test.
3247
3248 2012-02-13 Pedro Alves <palves@redhat.com>
3249
3250 * config/mips-idt.exp: Delete.
3251 * gdb.base/a2-run.exp: Remove mips-idt xfails.
3252 * gdb.base/bitfields.exp: Remove mips-idt restarts.
3253 * gdb.base/break.exp: Remove mips-idt references.
3254 * gdb.base/chng-syms.exp: Ditto.
3255 * gdb.base/default.exp: Ditto.
3256 * gdb.base/funcargs.exp (funcargs_reload): Delete.
3257 (top level): Don't call it.
3258 * gdb.base/opaque.exp: Remove mips-idt restarts.
3259 * gdb.base/ptype.exp: Remove mips-idt xfails.
3260 * gdb.base/scope.exp: Remove mips-idt restarts.
3261 * gdb.base/sepdebug.exp: Remove mips-idt references.
3262 * gdb.base/watchpoint.exp (maybe_clean_restart)
3263 (maybe_reinitialize): Delete.
3264 (test_disabling_watchpoints, test_disabling_watchpoints)
3265 (test_watchpoint_triggered_in_syscall)
3266 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
3267 Don't call them.
3268
3269 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 * gdb.server/server-exec-info.exp: New file.
3272
3273 2012-02-10 Pedro Alves <palves@redhat.com>
3274
3275 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
3276 always non-empty.
3277 (test_attach): Always pass $exec to test_attach_gdb.
3278
3279 2012-02-08 Tom Tromey <tromey@redhat.com>
3280
3281 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
3282 before inferior is started.
3283
3284 2012-02-07 Tom Tromey <tromey@redhat.com>
3285
3286 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
3287 Symbol.value.
3288 * gdb.python/py-symbol.c (qq): Set default value.
3289
3290 2012-02-07 Tom Tromey <tromey@redhat.com>
3291
3292 * gdb.python/py-symbol.c (qq): New global.
3293 * gdb.python/py-symbol.exp: Add test for frame-less
3294 lookup_symbol.
3295 * gdb.python/py-symtab.exp: Fix line number.
3296
3297 2012-02-03 Joel Brobecker <brobecker@adacore.com>
3298
3299 * gdb.ada/mi_task_arg: New testcase.
3300
3301 2012-02-02 Pedro Alves <palves@redhat.com>
3302
3303 * gdb.reverse/until-precsave.exp: Also put "record save" under the
3304 extended timeout.
3305
3306 2012-02-02 Pedro Alves <palves@redhat.com>
3307
3308 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
3309 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
3310
3311 2012-02-02 Pedro Alves <palves@redhat.com>
3312
3313 * gdb.base/term.exp: Rewrite.
3314 * gdb.base/term.c: New.
3315
3316 2012-02-02 Pedro Alves <palves@redhat.com>
3317
3318 * gdb.base/default.exp (run "r" abbreviation, run): Add
3319 extended-remote expected output.
3320
3321 2012-02-02 Tom Tromey <tromey@redhat.com>
3322
3323 * gdb.cp/dispcxx.exp: New file.
3324 * gdb.cp/dispcxx.cc: New file.
3325
3326 2012-02-01 Tom Tromey <tromey@redhat.com>
3327
3328 * gdb.base/jit-simple.exp: New file.
3329 * gdb.base/jit-simple.c: New file.
3330
3331 2012-01-30 Yao Qi <yao@codesourcery.com>
3332
3333 * gdb.base/skip.exp: Make test result unique.
3334
3335 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3336
3337 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
3338 compatibility with valgrind-3.7.0.
3339
3340 2012-01-27 Pedro Alves <palves@redhat.com>
3341
3342 * gdb.base/watchpoint.exp (no_hw): New global.
3343 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
3344 disable hw watchpoints.
3345 (test_wide_location_1, test_wide_location_2): If no_hw is set,
3346 don't expect hw watchpoints.
3347 (no_hw_watchpoints): Always clean restart.
3348 (do_tests): New procedure, factored out from the top level.
3349 (top level): Run tests twice. Once with hw watchpoints enabled,
3350 another time with hw watchpoints disabled.
3351
3352 2012-01-27 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
3355 out from the top level.
3356 (top level): Call it instead.
3357
3358 2012-01-27 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.base/watchpoint.exp (top level): Re-enable hardware
3361 watchpoints sooner.
3362
3363 2012-01-27 Pedro Alves <palves@redhat.com>
3364
3365 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
3366
3367 2012-01-27 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
3370 "You may have requested too many hardware
3371 breakpoints/watchpoints".
3372
3373 2012-01-27 Pedro Alves <palves@redhat.com>
3374
3375 * gdb.base/watchpoint.exp (maybe_clean_restart)
3376 (maybe_reinitialize): New.
3377 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
3378 expect "hit N times".
3379 (test_disabling_watchpoints, test_complex_watchpoint)
3380 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
3381 Call maybe_clean_restart.
3382 (top level): Use clean_restart. Remove "mips-idt-*"
3383 reinitialization.
3384
3385 2012-01-27 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
3388
3389 2012-01-27 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.base/watchpoint.exp: Clean restart after tests that don't
3392 require `initialize' anymore. Remove unnecessary `initialize'
3393 calls.
3394
3395 2012-01-27 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.base/watchpoint.exp (wp_set): Delete.
3398 (initialize, test_simple_watchpoint, top level): Remove dead code.
3399
3400 2012-01-27 Pedro Alves <palves@redhat.com>
3401
3402 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
3403 typo.
3404
3405 2012-01-27 Pedro Alves <palves@redhat.com>
3406
3407 * config/extended-gdbserver.exp: New file.
3408 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
3409 comment.
3410 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
3411 * boards/native-extended-gdbserver.exp: New file.
3412
3413 2012-01-26 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
3416 and gdb_test_multiple.
3417
3418 2012-01-26 Pedro Alves <palves@redhat.com>
3419
3420 Make test messages unique, and more identifiable.
3421 * gdb.multi/watchpoint-multi.exp: Change test messages.
3422
3423 2012-01-25 Tom Tromey <tromey@redhat.com>
3424
3425 * gdb.base/solib-disc.exp: Fix regexps.
3426
3427 2012-01-24 Tom Tromey <tromey@redhat.com>
3428
3429 * lib/mi-support.exp (mi_expect_stop): Add special case for
3430 solib-event.
3431 * gdb.base/catch-load-so.c: New file.
3432 * gdb.base/catch-load.exp: New file.
3433 * gdb.base/catch-load.c: New file.
3434 * gdb.base/break-interp.exp (reach_1): Update regexp.
3435
3436 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3437
3438 Fix fuzzy results.
3439 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
3440 lpsimple and func.
3441
3442 2012-01-24 Gary Benson <gbenson@redhat.com>
3443
3444 Delete #if 0'd out code.
3445 * gdb.base/default.exp (info catch): Remove.
3446 * gdb.base/gdb_history (info catch): Likewise.
3447 * gdb.base/help.exp (info catch): Likewise.
3448
3449 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3450
3451 Fix watchpoints to be specific for each inferior.
3452 * gdb.multi/watchpoint-multi.c: New file.
3453 * gdb.multi/watchpoint-multi.exp: New file.
3454
3455 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3456
3457 Fix watchpoints across inferior fork.
3458 * gdb.threads/watchpoint-fork-child.c: New file.
3459 * gdb.threads/watchpoint-fork-mt.c: New file.
3460 * gdb.threads/watchpoint-fork-parent.c: New file.
3461 * gdb.threads/watchpoint-fork-st.c: New file.
3462 * gdb.threads/watchpoint-fork.exp: New file.
3463 * gdb.threads/watchpoint-fork.h: New file.
3464
3465 2012-01-23 Pedro Alves <palves@redhat.com>
3466
3467 * gdb.base/call-signal-resume.exp: Allow output after "return".
3468
3469 2012-01-20 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.python/py-finish-breakpoint.py: Fix typo.
3472
3473 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
3474
3475 * gdb.base/info-proc.exp: Also run on remote targets. Main
3476 "info proc" command is now always present; whether target supports
3477 actual info proc operation is detected when attempting to issue
3478 the command.
3479
3480 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3481
3482 * .gdbinit: Remove.
3483
3484 2012-01-19 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
3487 look at the funtions' returns.
3488 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
3489 (jprint.print(int, int)): Change return type to int. Adjust.
3490
3491 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3492
3493 PR gdb/9538
3494 * gdb.base/sepdebug.exp: New test.
3495
3496 2012-01-18 Pedro Alves <palves@redhat.com>
3497
3498 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
3499 Allow output before ^done.
3500
3501 2012-01-16 Tom Tromey <tromey@redhat.com>
3502
3503 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
3504 Add tests for relative directory.
3505
3506 2012-01-16 Tom Tromey <tromey@redhat.com>
3507
3508 * gdb.base/printcmds.c (enum flag_enum): New.
3509 (three): New global.
3510 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
3511 enum printing.
3512 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
3513 FlagEnumerationPrinter.
3514 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
3515 * gdb.python/py-pp-maint.c (enum flag_enum): New.
3516 (fval): New global.
3517
3518 2012-01-16 Pedro Alves <palves@redhat.com>
3519
3520 * lib/gdb.exp (banned_procedures): New variable.
3521 (banned_variables_traced): Rename to ...
3522 (banned_traced): ... this.
3523 (gdb_init): Also trace banned procedures.
3524 (gdb_finish): Also untrace banned procedures.
3525
3526 2012-01-16 Pedro Alves <palves@redhat.com>
3527
3528 Remove all calls to strace.
3529
3530 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3531
3532 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
3533 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
3534
3535 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3536
3537 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
3538 * gdb.base/pie-execl.exp: Likewise.
3539
3540 2012-01-12 Keith Seitz <keiths@redhat.com>
3541
3542 PR mi/10586
3543 * gdb.mi/var-cmd.c (struct anonymous): New structure.
3544 (do_anonymous_type_tests): New function.
3545 (main): Call do_anonymous_type_tests.
3546 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
3547 (verify_everything): New procedure.
3548 * gdb.mi/mi-var-cp.cc (class A): New class.
3549 (anonymous_structs_and_unions): New function.
3550 (main): Call anonymous_structs_and_unions.
3551 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
3552 (verify_everything): New procedure.
3553
3554 2012-01-12 Keith Seitz <keiths@redhat.com>
3555
3556 * lib/mi-support.exp: Expand comments about PATH_EXPR.
3557 (varobj_tree::get_path_expr): Assume that all varobjs are
3558 compound unless they are known simple types.
3559 Adjust path expressions based on parent type, path parent type,
3560 and tree language.
3561 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
3562 the root varobj.
3563 (mi_walk_varobj_tree): Add LANGUAGE parameter.
3564
3565 2012-01-11 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
3568 core files on this machine" anymore.
3569
3570 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3571
3572 * gdb.base/watchpoint.c (recurser): Initialize local_x.
3573 (main): Repeat recurser call.
3574 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
3575 equivalent to 'local_x'.
3576
3577 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
3578 Joel Brobecker <brobecker@adacore.com>
3579
3580 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
3581
3582 2012-01-05 Pedro Alves <alves.ped@gmail.com>
3583
3584 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
3585 * gdb.python/py-events.c (first): Add bits for new "step N" test.
3586 * gdb.python/py-events.exp: Test that "step N" tripping on a
3587 breakpoint emits a breakpoint event.
3588
3589 2012-01-03 Joel Brobecker <brobecker@adacore.com>
3590
3591 * gdb.base/auxv.exp: Reformat the copyright notice.
3592
3593 2012-01-03 Yao Qi <yao@codesourcery.com>
3594
3595 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
3596 (strace_trace_on_diff_addr): New.
3597 * gdb.trace/strace.c: (main): Add two local variables.
3598
3599 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
3600
3601 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
3602 * gdb.cell/gcore.exp: Likewise.
3603 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
3604 to verify the correct instance of main is selected.
3605
3606 2012-01-02 Joel Brobecker <brobecker@adacore.com>
3607
3608 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
3609 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
3610 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
3611 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
3612 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
3613 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
3614 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
3615 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
3616 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
3617 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
3618 gdb.threads/thread_check.c: Reformat copyright header.
3619
3620 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
3621
3622 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
3623 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
3624 is not enabled.
3625
3626 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3627
3628 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
3629 parameter to self_exec, adjust the function.
3630 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
3631 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
3632 (set var do_exit = 0): Remove test.
3633 (newline at end of file): Add one.
3634
3635 2011-12-27 Joel Brobecker <brobecker@adacore.com>
3636
3637 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
3638 New files.
3639
3640 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 Fix racy FAILs.
3643 * gdb.threads/fork-thread-pending.c (barrier): New variable.
3644 (thread_function, thread_forker): Call pthread_barrier_wait for it.
3645 (main): Call pthread_barrier_init for it.
3646
3647 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3648
3649 Fix double send_gdb leading to racy FAILs.
3650 * gdb.base/break.exp (set silent break bp_location1): Replace
3651 3x send_gdb and gdb_expect by gdb_test.
3652 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
3653 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
3654 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
3655 instead of send_gdb. Twice.
3656 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3657 3x send_gdb and gdb_expect by gdb_test.
3658 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
3659
3660 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3661
3662 * gdb.linespec/linespec.exp: Compile using {c++}.
3663
3664 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3665
3666 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
3667 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
3668 (verify GCC PR debug/51668): New test.
3669
3670 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
3671
3672 Introduce gdb.FinishBreakpoint in Python.
3673 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
3674 py-finish-breakpoint2
3675 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
3676 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
3677 instead of line number.
3678 * gdb.python/py-finish-breakpoint.c: New file.
3679 * gdb.python/py-finish-breakpoint.exp: New file.
3680 * gdb.python/py-finish-breakpoint.py: New file.
3681 * gdb.python/py-finish-breakpoint2.cc: New file.
3682 * gdb.python/py-finish-breakpoint2.exp: New file.
3683 * gdb.python/py-finish-breakpoint2.py: New file.
3684
3685 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3686
3687 Partial fix of compatibility with gcc-4.7.
3688 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
3689 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
3690 Add comment to add a PASS case in the future.
3691
3692 Fix compatibility with gcc-4.7.
3693 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
3694
3695 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
3696
3697 PR tdep/12797
3698 * gdb.base/callfuncs.exp: Remove KFAIL.
3699
3700 2011-12-21 Joel Brobecker <brobecker@adacore.com>
3701
3702 * gdb.ada/task_bp: New testcase.
3703
3704 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
3707 -DNO_SECTIONS.
3708 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
3709
3710 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3711
3712 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
3713 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
3714 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3715 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
3716 conditional for gcc <= 4.5.
3717
3718 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
3721 by XFAIL.
3722 * gdb.cp/static-method.exp (info addr A::func())
3723 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3724 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3725 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3726 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
3727 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
3728 (test value of F in k3_m): Likewise.
3729 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
3730 Likewise.
3731
3732 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3733
3734 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
3735 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
3736 Remove.
3737 * gdb.threads/attachstop-mt.c: Remove.
3738 * gdb.threads/attachstop-mt.exp: Remove.
3739
3740 2011-12-17 Mark Kettenis <kettenis@gnu.org>
3741
3742 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
3743
3744 2011-12-16 Doug Evans <dje@google.com>
3745
3746 * boards/native-stdio-gdbserver.exp: New file.
3747 * boards/native-gdbserver.exp: New file.
3748
3749 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
3750 gdbserver output.
3751 (gdbserver_default_get_remote_address): New function.
3752 (gdbserver_start): Call gdb,get_remote_address to compute argument
3753 to "target remote" command.
3754
3755 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
3756
3757 * gdb.python/py-function.exp: Change "on" to "full" for
3758 python print-stack. Add set/show python print-stack
3759 off|full|message tests.
3760
3761 2011-12-15 Yao Qi <yao@codesourcery.com>
3762
3763 * gdb.trace/strace.c: New
3764 * gdb.trace/strace.exp: New.
3765
3766 2011-12-14 Tom Tromey <tromey@redhat.com>
3767
3768 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
3769
3770 2011-12-14 Doug Evans <dje@google.com>
3771
3772 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
3773
3774 2011-12-14 Pedro Alves <pedro@codesourcery.com>
3775
3776 PR threads/10729
3777
3778 * gdb.mi/watch-nonstop.c: New file.
3779 * gdb.mi/mi-watch-nonstop.exp: New file.
3780
3781 2011-12-13 Pedro Alves <pedro@codesourcery.com>
3782 Doug Evans <dje@google.com>
3783
3784 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
3785 (clean_restart): Remove references to the gdb_stub target board
3786 variable.
3787 (gdb_step_for_stub): Delete.
3788
3789 * gdb.base/annota1.exp: Remove all references to [target_info
3790 exists gdb_stub], gdb_step_for_stub and usestubs.
3791 * gdb.base/annota3.exp: Ditto.
3792 * gdb.base/async.exp: Ditto.
3793 * gdb.base/break.exp: Ditto.
3794 * gdb.base/code-expr.exp: Ditto.
3795 * gdb.base/commands.exp: Ditto.
3796 * gdb.base/completion.exp: Ditto.
3797 * gdb.base/condbreak.exp: Ditto.
3798 * gdb.base/consecutive.exp: Ditto.
3799 * gdb.base/cvexpr.exp: Ditto.
3800 * gdb.base/define.exp: Ditto.
3801 * gdb.base/display.exp: Ditto.
3802 * gdb.base/ena-dis-br.exp: Ditto.
3803 * gdb.base/environ.exp: Ditto.
3804 * gdb.base/gnu-ifunc.exp: Ditto.
3805 * gdb.base/maint.exp: Ditto.
3806 * gdb.base/pending.exp: Ditto.
3807 * gdb.base/sect-cmd.exp: Ditto.
3808 * gdb.base/sepdebug.exp: Ditto.
3809 * gdb.base/unload.exp: Ditto.
3810 * gdb.base/watchpoint-solib.exp: Ditto.
3811 * gdb.cp/annota2.exp: Ditto.
3812 * gdb.cp/annota3.exp: Ditto.
3813 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
3814 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
3815 * gdb.mi/mi-pending.exp: Ditto.
3816 * gdb.trace/circ.exp: Ditto.
3817 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
3818 * gdb.base/list.exp: Ditto.
3819
3820 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
3821 breakpoint function and all references to the usestubs macro.
3822 * gdb.base/exprs.c: Ditto.
3823 * gdb.base/freebpcmd.c: Ditto.
3824 * gdb.base/bitfields.c: Ditto.
3825 * gdb.base/bitfields2.c: Ditto.
3826 * gdb.base/break.c: Ditto.
3827 * gdb.base/call-sc.c: Ditto.
3828 * gdb.base/call-signals.c: Ditto.
3829 * gdb.base/callfuncs.c: Ditto.
3830 * gdb.base/charset.c: Ditto.
3831 * gdb.base/consecutive.c: Ditto.
3832 * gdb.base/constvars.c: Ditto.
3833 * gdb.base/funcargs.c: Ditto.
3834 * gdb.base/int-type.c: Ditto.
3835 * gdb.base/interrupt.c: Ditto.
3836 * gdb.base/langs0.c: Ditto.
3837 * gdb.base/list0.c: Ditto.
3838 * gdb.base/mips_pro.c: Ditto.
3839 * gdb.base/miscexprs.c: Ditto.
3840 * gdb.base/nodebug.c: Ditto.
3841 * gdb.base/opaque0.c: Ditto.
3842 * gdb.base/pointers.c: Ditto.
3843 * gdb.base/printcmds.c: Ditto.
3844 * gdb.base/ptype.c: Ditto.
3845 * gdb.base/recurse.c: Ditto.
3846 * gdb.base/reread1.c: Ditto.
3847 * gdb.base/reread2.c: Ditto.
3848 * gdb.base/restore.c: Ditto.
3849 * gdb.base/return.c: Ditto.
3850 * gdb.base/run.c: Ditto.
3851 * gdb.base/scope0.c: Ditto.
3852 * gdb.base/sepdebug.c: Ditto.
3853 * gdb.base/setshow.c: Ditto.
3854 * gdb.base/setvar.c: Ditto.
3855 * gdb.base/sigall.c: Ditto.
3856 * gdb.base/signals.c: Ditto.
3857 * gdb.base/structs.c: Ditto.
3858 * gdb.base/structs2.c: Ditto.
3859 * gdb.base/testenv.c: Ditto.
3860 * gdb.base/twice.c: Ditto.
3861 * gdb.base/unwindonsignal.c: Ditto.
3862 * gdb.base/watchpoint.c: Ditto.
3863 * gdb.base/watchpoints.c: Ditto.
3864 * gdb.base/whatis.c: Ditto.
3865 * gdb.cp/classes.cc: Ditto.
3866 * gdb.cp/cplusfuncs.cc: Ditto.
3867 * gdb.cp/derivation.cc: Ditto.
3868 * gdb.cp/formatted-ref.cc: Ditto.
3869 * gdb.cp/misc.cc: Ditto.
3870 * gdb.cp/overload.cc: Ditto.
3871 * gdb.cp/ovldbreak.cc: Ditto.
3872 * gdb.cp/ref-params.cc: Ditto.
3873 * gdb.cp/ref-types.cc: Ditto.
3874 * gdb.cp/templates.cc: Ditto.
3875 * gdb.cp/virtfunc.cc: Ditto.
3876 * gdb.hp/gdb.aCC/run.c: Ditto.
3877 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
3878 * gdb.hp/gdb.compat/xdb0.c: Ditto.
3879 * gdb.reverse/consecutive-reverse.c: Ditto.
3880 * gdb.reverse/sigall-reverse.c: Ditto.
3881 * gdb.reverse/until-reverse.c: Ditto.
3882 * gdb.reverse/watch-reverse.c: Ditto.
3883 * gdb.trace/actions.c: Ditto.
3884 * gdb.trace/circ.c: Ditto.
3885 * gdb.trace/collection.c: Ditto.
3886
3887 2011-12-13 Pedro Alves <pedro@codesourcery.com>
3888
3889 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
3890 (func6, func7): New.
3891 (main): Call func6 and func7.
3892 * gdb.base/watchpoint.exp (test_wide_location_1)
3893 (test_wide_location_2): New.
3894 (top level): Re-enable hardware watchpoints if necessary. Call
3895 test_wide_location_1 and test_wide_location_2.
3896
3897 2011-12-11 Yao Qi <yao@codesourcery.com>
3898
3899 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
3900
3901 2011-12-11 Joel Brobecker <brobecker@adacore.com>
3902
3903 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
3904 expected output for unsupported case.
3905
3906 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3907
3908 PR testsuite/12649
3909 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
3910 Protect gdb_test_multiple by final $gdb_prompt match.
3911
3912 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
3915 New variable, new test.
3916 (list static-method.cc:xxx::(anonymous namespace)::A::func)
3917 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
3918 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
3919 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
3920 them if HAVE_GCC_45682_FIXED is not set.
3921
3922 2011-12-10 Yao Qi <yao@codesourcery.com>
3923
3924 * gdb.trace/status-stop.exp: New.
3925 * gdb.trace/status-stop.c: New.
3926
3927 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3928
3929 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
3930 timeout.
3931
3932 2011-12-08 Tom Tromey <tromey@redhat.com>
3933
3934 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
3935 condition.
3936
3937 2011-12-07 Stan Shebs <stan@codesourcery.com>
3938
3939 * gdb.trace/tfind.exp: Update for output changes.
3940
3941 2011-12-07 Pedro Alves <pedro@codesourcery.com>
3942
3943 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
3944 throws "Cannot insert catchpoints in this configuration".
3945 * gdb.ada/mi_catch_ex.exp: Likewise.
3946
3947 2011-12-06 Pedro Alves <pedro@codesourcery.com>
3948
3949 * gdb.base/break-always.exp: Test changing memory at addresses
3950 with breakpoints inserted.
3951
3952 2011-12-06 Joel Brobecker <brobecker@acacore.com>
3953
3954 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
3955 involving a fully qualified function name.
3956
3957 2011-12-06 Tom Tromey <tromey@redhat.com>
3958
3959 * gdb.ada/homonym.exp: Add three breakpoint tests.
3960
3961 2011-12-06 Tom Tromey <tromey@redhat.com>
3962
3963 * gdb.base/solib-weak.exp (do_test): Remove kfail.
3964 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
3965 * gdb.objc/objcdecode.exp: Update for output changes.
3966 * gdb.linespec/linespec.exp: New file.
3967 * gdb.linespec/lspec.cc: New file.
3968 * gdb.linespec/lspec.h: New file.
3969 * gdb.linespec/body.h: New file.
3970 * gdb.linespec/base/two/thefile.cc: New file.
3971 * gdb.linespec/base/one/thefile.cc: New file.
3972 * gdb.linespec/Makefile.in: New file.
3973 * gdb.cp/templates.exp (test_template_breakpoints): Update for
3974 output changes.
3975 * gdb.cp/re-set-overloaded.exp: Remove kfail.
3976 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
3977 makes one breakpoint.
3978 * gdb.cp/method2.exp (test_break): Update for output changes.
3979 * gdb.cp/mb-templates.exp: Update for output changes.
3980 * gdb.cp/mb-inline.exp: Update for output changes.
3981 * gdb.cp/mb-ctor.exp: Update for output changes.
3982 * gdb.cp/ovsrch.exp: Use fully-qualified names.
3983 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
3984 has multiple matches.
3985 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
3986 error message change.
3987 * gdb.base/list.exp (test_list_filename_and_number): Update for
3988 error message change.
3989 * gdb.base/break.exp: Disable pending breakpoints. Update for
3990 output changes.
3991 * configure.ac: Add gdb.linespec.
3992 * configure: Rebuild.
3993 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
3994
3995 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
3996
3997 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
3998 last_break register on s390*-*-* targets.
3999
4000 2011-12-06 Joel Brobecker <brobecker@adacore.com>
4001
4002 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
4003 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
4004 of parameter X in procedure Foo.
4005
4006 2011-12-05 Stan Shebs <stan@codesourcery.com>
4007
4008 * gdb.trace/tfind.exp: Update help string matches.
4009
4010 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4011
4012 * gdb.server/ext-run.exp (get process list): Accept also systemd
4013 as PID 1.
4014
4015 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4016 Pedro Alves <pedro@codesourcery.com>
4017
4018 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
4019 starting GDB.
4020 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
4021 $use_gdb_stub.
4022 * gdb.base/display.exp: Likewise.
4023 * gdb.base/ending-run.exp: Likewise.
4024 * gdb.base/list.exp (test_listsize): Likewise.
4025 * gdb.base/setshow.exp: Likewise.
4026 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
4027 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
4028 check by global $use_gdb_stub.
4029 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
4030 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
4031 (default_gdb_init): Unset global $use_gdb_stub.
4032 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
4033 by global $use_gdb_stub.
4034 * lib/gdbserver-support.exp: Extend comments for set_board_info
4035 gdb_protocol and gdb,socketport.
4036 (gdbserver_start_extended): Set global gdbserver_protocol and
4037 gdbserver_gdbport. Clear global use_gdb_stub.
4038 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
4039 from target use_gdb_stub.
4040 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
4041
4042 2011-12-03 Doug Evans <dje@google.com>
4043
4044 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
4045 (gdb_step_for_stub): Add comments.
4046
4047 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
4048
4049 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
4050 to the caller.
4051 (gdb_test_multiple): Likewise.
4052
4053 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4054
4055 Fix gdb.mi/mi-solib.exp without system debug info installed.
4056 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
4057 expect attribute, return 0 for it. Update comments.
4058
4059 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
4062 (corrupted list): Adjust the expectation.
4063
4064 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4065
4066 PR threads/13448
4067 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
4068 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
4069 * gdb.threads/tls-var-main.c: New file.
4070 * gdb.threads/tls-var.c: New file.
4071 * gdb.threads/tls-var.exp: New file.
4072
4073 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4074
4075 PR testsuite/12649
4076 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
4077 Protect gdb_test_multiple by final $gdb_prompt match.
4078 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
4079 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4080 (test_tracepoints): Likewise.
4081
4082 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4083
4084 PR breakpoints/13346
4085 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
4086 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
4087 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
4088
4089 2011-12-01 Joel Brobecker <brobecker@adacore.com>
4090
4091 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
4092 * gdb.ada/homonym/homonym.adb: For use of all types defined
4093 locally inside both Get_Value subprograms.
4094
4095 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4096
4097 Fix racy FAILs.
4098 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
4099 of send_gdb.
4100
4101 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4102
4103 * gdb.base/testenv.exp: Skip on remote targets. Unset global
4104 environment variable after test completed.
4105
4106 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4107
4108 * gdb.base/solib-nodir.exp: Skip if remote target.
4109 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
4110 application. Call gdb_load_shlibs.
4111 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
4112
4113 2011-11-29 Joel Brobecker <brobecker@adacore.com>
4114
4115 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
4116
4117 2011-11-28 Joel Brobecker <brobecker@adacore.com>
4118
4119 * gdb.ada/fullname_bp: New testcase.
4120
4121 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 PR testsuite/12649
4124 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
4125 Wrap send_gdb into a new gdb_test.
4126
4127 Code cleanup.
4128 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
4129 Convert send_gdb and gdb_expect to gdb_test_multiple.
4130
4131 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4132
4133 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
4134
4135 2011-11-23 Keith Seitz <keiths@redhat.com>
4136
4137 * lib/mi-support.exp (varobj_tree): New namespace and procs.
4138 (mi_varobj_tree_test_children_callback): New proc.
4139 (mi_walk_varobj_tree): New proc.
4140
4141 2011-11-22 Tom Tromey <tromey@redhat.com>
4142
4143 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
4144 Add "use_mi_command" argument.
4145 (mi_run_cmd, mi_run_with_cli): New procs.
4146 * gdb.mi/solib-lib.c: New file.
4147 * gdb.mi/solib-main.c: New file.
4148 * gdb.mi/mi-solib.exp: New file.
4149
4150 2011-11-21 Doug Evans <dje@google.com>
4151
4152 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
4153 _Unwind_DebugHook is missing.
4154
4155 2011-11-20 Stan Shebs <stan@codesourcery.com>
4156
4157 * gdb.trace/tstatus.exp: New.
4158 * gdb.trace/actions.c: Include string.h.
4159
4160 2011-11-18 Yao Qi <yao@codesourcery.com>
4161
4162 * gdb.trace/pending.exp: New.
4163 * gdb.trace/pending.c: New.
4164 * gdb.trace/pendshr1.c: New.
4165 * gdb.trace/pendshr2.c: New.
4166 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
4167 tracepoint location becomes pending.
4168 (tracepoint_change_loc_2): New.
4169
4170 2011-11-16 David S. Miller <davem@davemloft.net>
4171
4172 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
4173 target is sparc*-*-linux*
4174
4175 2011-11-15 Paul Koning <paul_koning@dell.com>
4176
4177 * gdb.python/py-type.exp: New testcases for exceptions on scalar
4178 types.
4179
4180 2011-11-14 Doug Evans <dje@google.com>
4181
4182 * gdb.base/shell.exp: New file.
4183
4184 2011-11-14 Stan Shebs <stan@codesourcery.com>
4185
4186 * gdb.trace/ftrace.c: New.
4187 * gdb.trace/ftrace.exp: New.
4188
4189 2011-11-14 Yao Qi <yao@codesourcery.com>
4190
4191 * gdb.trace/change-loc-1.c: New.
4192 * gdb.trace/change-loc-2.c: New.
4193 * gdb.trace/change-loc.c: New.
4194 * gdb.trace/change-loc.exp: New.
4195 * gdb.trace/change-loc.h: New.
4196 * gdb.trace/trace-break.c (marker): Define new symbol.
4197 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
4198 New.
4199 (break_trace_same_addr_6): New.
4200
4201 2011-11-12 Matt Rice <ratmice@gmail.com>
4202
4203 * gdb.base/info-macros.exp: Make tests for info definitions
4204 test info macro. Add tests for info macro argument processing.
4205 Rename a few tests.
4206
4207 2011-11-11 Keith Seitz <keiths@redhat.com>
4208
4209 PR gdb/12843
4210 * gdb.base/linespecs.exp: New file.
4211
4212 2011-11-11 Doug Evans <dje@google.com>
4213
4214 * gdb.threads/print-threads.exp: Extend timeout for slower
4215 tests.
4216
4217 2011-11-10 Doug Evans <dje@google.com>
4218
4219 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
4220 "record to end of main" test.
4221
4222 * gdb.python/py-type.c (TS): New typedef.
4223 (ts): New global.
4224 * gdb.python/py-type.exp: Test field list of typedef.
4225
4226 2011-11-10 Joel Brobecker <brobecker@adacore.com>
4227
4228 * gdb.ada/small_reg_param: New testcase.
4229
4230 2011-11-09 Tom Tromey <tromey@redhat.com>
4231
4232 * gdb.cp/destrprint.exp: New file.
4233 * gdb.cp/destrprint.cc: New file.
4234
4235 2011-11-08 Meador Inge <meadori@codesourcery.com>
4236
4237 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
4238 (switch_stack_to_other): New test function.
4239 * gdb.arch/thumb-prologue.exp: New test cases.
4240
4241 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
4242
4243 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
4244
4245 2011-11-08 Yao Qi <yao@codesourcery.com>
4246
4247 * gdb.exp (supports_process_record): New.
4248 (supports_reverse): New.
4249 * gdb.reverse/break-precsave.exp: Call support_process_record
4250 to run test conditionally.
4251 * gdb.reverse/consecutive-precsave.exp: Likewise.
4252 * gdb.reverse/i386-precsave.exp: Likewise.
4253 * gdb.reverse/machinestate-precsave.exp: Likewise.
4254 * gdb.reverse/solib-precsave.exp: Likewise.
4255 * gdb.reverse/step-precsave.exp: Likewise.
4256 * gdb.reverse/until-precsave.exp: Likewise.
4257 * gdb.reverse/watch-precsave.exp: Likewise.
4258 * gdb.reverse/break-reverse.exp: Call support_reverse to run
4259 test conditionally.
4260 * gdb.reverse/consecutive-reverse.exp: Likewise.
4261 * gdb.reverse/finish-precsave.exp: Likewise.
4262 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4263 * gdb.reverse/finish-reverse.exp: Likewise.
4264 * gdb.reverse/i386-reverse.exp: Likewise.
4265 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4266 * gdb.reverse/machinestate.exp: Likewise.
4267 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
4268 * gdb.reverse/sigall-precsave.exp: Likewise.
4269 * gdb.reverse/sigall-reverse.exp: Likewise.
4270 * gdb.reverse/solib-reverse.exp: Likewise.
4271 * gdb.reverse/step-reverse.exp: Likewise.
4272 * gdb.reverse/until-reverse.exp: Likewise.
4273 * gdb.reverse/watch-reverse.exp: Likewise.
4274
4275 2011-11-05 Yao Qi <yao@codesourcery.com>
4276
4277 * gdb.trace/trace-break.exp: Add test on setting two
4278 fast tracepoints at the same address.
4279
4280 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4281
4282 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
4283
4284 2011-11-02 Stan Shebs <stan@codesourcery.com>
4285
4286 * gdb.trace/collection.c: Add code using strings.
4287 * gdb.trace/collection.exp: Add tests of string collection.
4288
4289 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4290
4291 * gdb.base/skip-solib.exp (executable_main): New variable.
4292 (binfile_main): Base it on that.
4293 Use $executable_main in clean_restart calls. Drop gdb_exit and
4294 gdb_start calls.
4295
4296 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4297
4298 Fix racy FAILs.
4299 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
4300 breakpoint_re globals import by async. Set string_regex to .* for
4301 async. Remove the optional thread_selected_re and breakpoint_re
4302 globals expectations.
4303
4304 2011-11-01 Joseph Myers <joseph@codesourcery.com>
4305
4306 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
4307 well as Cygwin.
4308
4309 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
4310
4311 Add tests for skip command.
4312 * gdb.base/skip-solib-lib.c: New
4313 * gdb.base/skip-solib-main.c: New
4314 * gdb.base/skip-solib.exp: New
4315 * gdb.base/skip.c: New
4316 * gdb.base/skip.exp: New
4317 * gdb.base/skip1.c: New
4318 * gdb.base/Makefile.in: Adding new files.
4319
4320 2011-10-31 Yao Qi <yao@codesourcery.com>
4321 Pedro Alves <pedro@codesourcery.com>
4322
4323 * gdb.trace/trace-break.c: New.
4324 * gdb.trace/trace-break.exp: New.
4325
4326 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4327
4328 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
4329 break-here-2.
4330
4331 2011-10-28 Pedro Alves <pedro@codesourcery.com>
4332
4333 * gdb.threads/no-unwaited-for-left.c: New.
4334 * gdb.threads/no-unwaited-for-left.exp: New.
4335 * gdb.threads/non-ldr-exc-1.c: New.
4336 * gdb.threads/non-ldr-exc-1.exp: New.
4337 * gdb.threads/non-ldr-exc-2.c: New.
4338 * gdb.threads/non-ldr-exc-2.exp: New.
4339 * gdb.threads/non-ldr-exc-3.c: New.
4340 * gdb.threads/non-ldr-exc-3.exp: New.
4341 * gdb.threads/non-ldr-exc-4.c: New.
4342 * gdb.threads/non-ldr-exc-4.exp: New.
4343
4344 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4345
4346 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
4347 * gdb.base/attach-pie-misread.exp: Likewise.
4348 * gdb.base/break-interp.exp: Likewise.
4349 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
4350 testcases for use_gdb_stub.
4351 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
4352 (continue): New testcase.
4353 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
4354 * gdb.threads/attach-into-signal.exp: Likewise.
4355 * gdb.threads/attach-stopped.exp: Likewise.
4356 * gdb.threads/attachstop-mt.exp: Likewise.
4357
4358 2011-10-28 Paul Koning <paul_koning@dell.com>
4359
4360 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
4361
4362 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4363
4364 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
4365 (mi_gdb_test): Import globals thread_selected_re
4366 and breakpoint_re. Expect them optionally at the regex start.
4367
4368 2011-10-27 Doug Evans <dje@google.com>
4369
4370 * gdb.python/python.exp: Test source -s.
4371
4372 2011-10-26 Paul Koning <paul_koning@dell.com>
4373
4374 * gdb.python/lib-types.cc (struct A): New structure.
4375 * gdb.python/lib-types.exp (deepitems): New tests.
4376
4377 2011-10-25 Paul Koning <paul_koning@dell.com>
4378
4379 PR python/13327
4380
4381 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
4382 fetch_lazy method.
4383
4384 2011-10-24 Yao Qi <yao@codesourcery.com>
4385
4386 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
4387 target is tic6x-*-*.
4388
4389 2011-10-21 Joel Brobecker <brobecker@adacore.com>
4390
4391 * gdb.ada/mi_task_info/task_switch.adb: New file.
4392 * gdb.ada/mi_task_info.exp: New file.
4393
4394 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4395
4396 * gdb.cp/expand-psymtabs-cxx.exp: New file.
4397 * gdb.cp/expand-psymtabs-cxx.cc: New file.
4398
4399 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
4400
4401 PR python/12656
4402
4403 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
4404 global_block tests.
4405
4406 2011-10-18 Tom Tromey <tromey@redhat.com>
4407
4408 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
4409
4410 2011-10-18 Tom Tromey <tromey@redhat.com>
4411
4412 * gdb.base/source.exp: Don't include full file name in test name.
4413 * gdb.python/python.exp: Don't include full file name in test
4414 name.
4415
4416 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4417
4418 * gdb.base/attach-pie-noexec.c: New files.
4419 * gdb.base/attach-pie-noexec.exp: New files.
4420
4421 2011-10-17 Joseph Myers <joseph@codesourcery.com>
4422
4423 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
4424 prompt for each extra line in command.
4425
4426 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4427
4428 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
4429 Revert the part of:
4430 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4431 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
4432 Change the expected string.
4433
4434 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4435
4436 Fix results with system glibc debug info installed.
4437 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
4438 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
4439 Accept also __libc_ symbol prefix and no prefix.
4440
4441 2011-10-14 Keith Seitz <keiths@redhat.com>
4442
4443 PR c++/13225
4444 * gdb.cp/converts.cc (foo3_1): New function.
4445 (foo3_2): New functions.
4446 * gdb.cp/converts.exp: Add tests for int to pointer conversion
4447 and null pointer conversions of integer constant zero.
4448 Add test to check if all arguments are checked for incompatible
4449 conversion BADNESS.
4450
4451 2011-10-14 Tom Tromey <tromey@redhat.com>
4452
4453 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
4454 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
4455 linespec.
4456
4457 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 Fix internal error regression.
4460 * gdb.dwarf2/implptr-optimized-out.S: New file.
4461 * gdb.dwarf2/implptr-optimized-out.exp: New file.
4462
4463 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4464
4465 Fix empty DWARF expressions DATA vs. SIZE conditionals.
4466 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
4467 (loclist): New.
4468 (4): New abbrev.
4469 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
4470 Use prepare_for_testing, remove clean_restart.
4471 (p arraynoloc, p arraycallnoloc): New tests.
4472
4473 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4474
4475 * gdb.cp/namespace-enum.exp (executable): New variable.
4476 (binfile): Use ${objdir}/${subdir}/ prefix.
4477 Use ${executable} for clean_restart.
4478
4479 2011-10-11 Sterling Augustine <saugustine@google.com>
4480
4481 * gdb.cp/Makefile.in: Add namespace-enum test.
4482 * gdb.cp/namespace-enum.exp: New file.
4483 * gdb.cp/namespace-enum.c: New file.
4484 * gdb.cp/namespace-enum-main.c: New file.
4485
4486 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
4487
4488 * gdb.python/py-shared.exp: Relax filename check to handle remote:
4489 sysroot.
4490
4491 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4492
4493 Reimplement @entry in input expressions.
4494 * gdb.base/exprs.c (v_int_array_init): New variable.
4495 * gdb.base/exprs.exp (print v_int_array_init)
4496 (print *v_int_array_init@1, print *v_int_array_init@2)
4497 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
4498 (print v_int_array_init[1]@1): New tests.
4499
4500 2011-10-10 Joseph Myers <joseph@codesourcery.com>
4501
4502 * gdb.cp/gdb2495.exp: Do not include directories in filename in
4503 expected message.
4504
4505 2011-10-09 Doug Evans <dje@google.com>
4506
4507 * gdb.base/alias.exp: Add tests for alias command.
4508
4509 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4510
4511 * gdb.arch/amd64-entry-value.s: New file.
4512 * gdb.mi/mi2-amd64-entry-value.s: New file.
4513
4514 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4515
4516 Display @entry parameter values even for references.
4517 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
4518 functions.
4519 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
4520 reference and datap_input.
4521 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
4522 breakpoints.
4523 (continue to breakpoint: entry_reference: reference)
4524 (entry_reference: bt at entry)
4525 (continue to breakpoint: entry_reference: breakhere_reference)
4526 (entry_reference: bt, entry_reference: ptype regparam)
4527 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
4528 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
4529 (entry_reference: p regcopy, entry_reference: p nodataparam)
4530 (entry_reference: p nodataparam@entry): New tests.
4531
4532 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4533
4534 Support @entry in input expressions.
4535 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
4536 (entry_stack: p s1@entry, entry_stack: p s2@entry)
4537 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
4538 (tailcall: p j@entry): New tests.
4539 * gdb.cp/koenig.cc (A::entry): New function.
4540 (main): Call it.
4541 * gdb.cp/koenig.exp (p entry (c)): New test.
4542
4543 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 Display @entry parameter values (without references).
4546 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
4547 (different, validity, invalid): New functions.
4548 (main): Call them.
4549 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
4550 stacktest, breakhere_stacktest, different, breakhere_different,
4551 breakhere_validity and breakhere_invalid.
4552 (entry: bt): Update for @entry.
4553 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
4554 (entry_validity: *, entry_invalid: *): Many new tests.
4555 * gdb.base/break.exp
4556 (run until breakpoint set at small function, optimized file): Accept
4557 also the @entry suffix.
4558 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
4559 * gdb.mi/mi2-amd64-entry-value.c: New files.
4560 * gdb.mi/mi2-amd64-entry-value.exp: New files.
4561
4562 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4563
4564 Protect entry values against self tail calls.
4565 * gdb.arch/amd64-entry-value.cc (self2, self): New.
4566 (main): Call self.
4567 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
4568 (set debug entry-values 1, self: bt debug entry-values): New tests.
4569
4570 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4571
4572 Recognize virtual tail call frames.
4573 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
4574 (amb_b, amb_a): New.
4575 (main): Call a and b.
4576 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
4577 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
4578 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
4579 New tests.
4580
4581 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4582
4583 Implement basic support for DW_TAG_GNU_call_site.
4584 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
4585 * gdb.arch/amd64-entry-value.cc: New file.
4586 * gdb.arch/amd64-entry-value.exp: New file.
4587
4588 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4589
4590 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
4591 * gdb.dwarf2/implptr-64bit.S: New file.
4592 * gdb.dwarf2/implptr-64bit.exp: New file.
4593
4594 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4595
4596 Fix initial language detection with -readnow.
4597 * gdb.cp/readnow-language.cc: New file.
4598 * gdb.cp/readnow-language.exp: New file.
4599
4600 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4601
4602 Fix printed anonymous struct name.
4603 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
4604
4605 2011-10-09 Joseph Myers <joseph@codesourcery.com>
4606
4607 * gdb.base/solib-symbol.exp: Do not include directories in
4608 filenames in expected messages.
4609
4610 2011-10-07 Doug Evans <dje@google.com>
4611
4612 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
4613
4614 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
4615
4616 Allow Python notification of new object-file loadings.
4617 * gdb.python/py-events.exp: Test newobjfile event.
4618 * gdb.python/py-events.py: Register newobjfile callback.
4619 * gdb.python/py-events.c: Add call to shared library
4620 * gdb.python/py-events-shlib.c: New file.
4621
4622 2011-10-06 Joseph Myers <joseph@codesourcery.com>
4623
4624 * gdb.base/fixsection.exp: Do not include directories in filename
4625 in expected message.
4626
4627 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4628
4629 Add tests for passing of environment variables to inferior.
4630 * gdb.base/testenv.c: New test source.
4631 * gdb.base/testenv.exp: New expect test.
4632
4633 2011-10-04 Paul Koning <paul_koning@dell.com>
4634
4635 * gdb.python/py-value.c (main): Break before return.
4636
4637 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
4638
4639 PR python/12691: Add the inferior to Python exited event
4640 * gdb.python/py-events.exp: Test the inferior attribute of exited
4641 event with a fork.
4642 * gdb.python/py-events.py: Print inferior number on exit.
4643 * gdb.python/py-events.c: Fork the inferior.
4644
4645 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
4646
4647 * gdb.base/jit.exp: Add testcase name to log message
4648
4649 2011-10-03 Paul Koning <paul_koning@dell.com>
4650 Jan Kratochvil <jan.kratochvil@redhat.com>
4651
4652 * gdb.python/py-value.exp
4653 (python inval = gdb.parse_and_eval('*(int*)0'))
4654 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
4655 (set argc=2, python print argc_lazy): New tests.
4656
4657 2011-10-02 Joel Brobecker <brobecker@adacore.com>
4658
4659 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
4660
4661 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4662 Pedro Alves <pedro@codesourcery.com>
4663
4664 * gdb.python/py-value.exp (test_value_in_inferior): New variable
4665 can_read_0, test for it.
4666 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
4667 (parse_and_eval with memory error): ... here, make it untested if
4668 can_read_0.
4669
4670 2011-09-30 Marek Polacek <mpolacek@redhat.com>
4671
4672 * gdb.python/python.exp (verify pagination beforehand)
4673 (verify pagination afterwards): Fix race by splitting the line.
4674
4675 2011-09-29 Joseph Myers <joseph@codesourcery.com>
4676
4677 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
4678 for 64-bit multilibs from i?86-* targets.
4679
4680 2011-09-29 Marek Polacek <mpolacek@redhat.com>
4681
4682 * lib/gdb.exp: Fix a typo in one of the comments.
4683
4684 2011-09-29 Marek Polacek <mpolacek@redhat.com>
4685
4686 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
4687 matching pattern.
4688
4689 2011-09-28 Paul Koning <paul_koning@dell.com>
4690
4691 * gdb.python/py-type.c (enum E): New.
4692 * gdb.python/py-type.exp (test_fields): Add tests for Python
4693 mapping access to fields.
4694 (test_enums): New test for field access on enums.
4695
4696 2011-09-27 Stan Shebs <stan@codesourcery.com>
4697
4698 * gdb.trace/collection.exp: Test collection of $_ret.
4699
4700 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
4701
4702 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
4703 list of compilation switches for <*-*-freebsd*>.
4704
4705 2011-09-19 Stan Shebs <stan@codesourcery.com>
4706
4707 * gdb.trace/tspeed.exp: New file.
4708 * gdb.trace/tspeed.c: New file.
4709
4710 2011-09-18 Yao Qi <yao@codesourcery.com>
4711
4712 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
4713 instructions.
4714 (test_adr_32bit, test_pop_pc): Likewise.
4715 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
4716 Thumb instructions.
4717 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
4718 in gdb_test_multiple.
4719 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
4720
4721 2011-09-17 Yao Qi <yao@codesourcery.com>
4722
4723 * lib/gdb.exp (can_single_step_to_signal_handler): New.
4724 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
4725 support single step to signal handler.
4726
4727 2011-09-17 Yao Qi <yao@codesourcery.com>
4728
4729 * gdb.base/disp-step-fork.c: New.
4730 * gdb.base/disp-step-syscall.exp: New.
4731 * gdb.base/disp-step-vfork.c: New.
4732
4733 2011-09-16 Joel Brobecker <brobecker@adacore.com>
4734
4735 * gdb.ada/tasks.exp: Make the expected output for
4736 the `info tasks' tests more resilient to spacing
4737 changes.
4738
4739 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
4742 (reached breakpoint 2, reached breakpoint 3): Update expected output.
4743
4744 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
4745
4746 PR Python/12692 Add gdb.selected_inferior() to Python interface.
4747 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
4748
4749 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
4750
4751 Handle multiple breakpoint hits in Python interface:
4752 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
4753 presence.
4754 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
4755 breakpoint hits.
4756
4757 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4758 Jan Kratochvil <jan.kratochvil@redhat.com>
4759
4760 * gdb.python/py-events.exp: Remove pretty printing comment.
4761 * gdb.python/py-evsignal.exp: New file.
4762 * gdb.python/py-evthreads.c: Include signal.h.
4763 (thread3): Remove variable count3. Remove variable bad and use raise
4764 instead.
4765 (thread2): Remove variable count2. Move thread3 pthread_create here,
4766 merge pthread_join to a single line.
4767 (main): Remove variable count1. Merge pthread_join with pthread_create
4768 to a single line.
4769 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
4770 KFAIL python/12966 for gdbserver. Test return value of
4771 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
4772 gdb_expect by gdb_test and gdb_test_multiple.
4773 (thread 2, thread 3): New tests.
4774
4775 2011-09-12 Matt Rice <ratmice@gmail.com>
4776 Pedro Alves <pedro@codesourcery.com>
4777
4778 PR gdb/13175
4779
4780 * gdb.base/interp.exp: New tests.
4781 * gdb.base/interp.c: New file.
4782
4783 2011-09-12 Doug Evans <dje@google.com>
4784
4785 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
4786 * gdb.dwarf2/typeddwarf.exp: Ditto.
4787
4788 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4789
4790 Fix compatibility with x32 arch.
4791 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
4792 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
4793 is_x86_like_target.
4794 * testsuite/gdb.trace/collection.exp: Likewise.
4795 * testsuite/gdb.trace/report.exp: Likewise.
4796 * testsuite/gdb.trace/unavailable.exp: Likewise.
4797 * testsuite/gdb.trace/while-dyn.exp: Likewise.
4798 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
4799 (is_x86_like_target): Check also is_amd64_regs_target.
4800
4801 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4802
4803 PR breakpoints/12435
4804 * gdb.arch/amd64-prologue-xmm.c: New file.
4805 * gdb.arch/amd64-prologue-xmm.exp: New file.
4806 * gdb.arch/amd64-prologue-xmm.s: New file.
4807
4808 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 * gdb.dwarf2/dw2-param-error-main.c: New file.
4811 * gdb.dwarf2/dw2-param-error.S: New file.
4812 * gdb.dwarf2/dw2-param-error.exp: New file.
4813
4814 2011-09-08 Pedro Alves <pedro@codesourcery.com>
4815
4816 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
4817 inferior's pid and look for a core dump named core.$pid. Use
4818 `remote_file' commands on the host instead of hand coding shell
4819 commands on the build.
4820 * gdb.base/valgrind-db-attach.exp: Kill the program before
4821 finishing the test.
4822
4823 2011-09-02 Matt Rice <ratmice@gmail.com>
4824
4825 * lib/prompt.exp: New file for testing the first prompt.
4826 * gdb.python/py-prompt.exp: Ditto.
4827 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
4828
4829 2011-09-02 Pedro Alves <pedro@codesourcery.com>
4830
4831 * gdb.threads/gcore-thread.exp: Set the global core_supported to
4832 0, before testing gcore.
4833
4834 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4835
4836 * dw2-ifort-parameter-debug.S: Update copyright year.
4837 * dw2-ifort-parameter.c: Update copyright year.
4838 * dw2-ifort-parameter.exp: Update copyright year.
4839
4840 * dw2-ifort-parameter-debug.S: New file.
4841 * dw2-ifort-parameter.c: New file.
4842 * dw2-ifort-parameter.exp: New file.
4843
4844 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4845
4846 * gdb.base/commands.exp (error_clears_commands_left): New function.
4847 (): Call it.
4848
4849 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4850
4851 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
4852 (C): Initialize `a'.
4853 * gdb.mi/mi-inheritance-syntax-error.exp
4854 (-data-evaluate-expression $path): Expect `a' as 5.
4855
4856 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
4857
4858 PR mi/11912
4859 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
4860 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
4861 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
4862 keyword in output of -var-info-path-expression.
4863
4864 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4865
4866 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
4867 * gdb.trace/collection.exp: Likewise.
4868 * gdb.trace/report.exp: Likewise.
4869 * gdb.trace/unavailable.exp: Likewise.
4870 * gdb.trace/while-dyn.exp: Likewise.
4871
4872 2011-08-18 Keith Seitz <keiths@redhat.com>
4873
4874 PR c++/12266
4875 * gdb.cp/meth-typedefs.cc: New file.
4876 * gdb.cp/meth-typedefs.exp: New file.
4877
4878 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
4879
4880 * gdb.python/python.exp: Add extended-prompt tests.
4881
4882 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4883
4884 * gdb.arch/i386-dr3-watch.exp
4885 (watchpoint on gap1 does not fit debug registers)
4886 (delete all watchpoints): Fix racy expect strings.
4887
4888 2011-08-14 Yao Qi <yao@codesourcery.com>
4889
4890 * gdb.base/maint.exp: set data_section to ".neardata".
4891 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
4892 * gdb.base/savedregs.exp: Handle SIGILL.
4893 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
4894 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
4895
4896 2011-08-12 Doug Evans <dje@google.com>
4897
4898 * gdb.python/py-symbol.exp: Add test for symbol.type.
4899
4900 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
4901
4902 * gdb.threads/pthreads.exp: Enable on non-native configurations.
4903 * gdb.mi/mi-pthreads.exp: Likewise.
4904 * gdb.mi/mi2-pthreads.exp: Likewise.
4905 * gdb.mi/gdb669.exp.exp: Likewise.
4906
4907 2011-08-09 Pedro Alves <pedro@codesourcery.com>
4908
4909 * lib/mi-support.exp (detect_async): Rename to...
4910 (mi_detect_async): ... this.
4911 * gdb.mi/mi-nonstop-exit.exp: Adjust.
4912 * gdb.mi/mi-nonstop.exp: Adjust.
4913 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
4914 * gdb.mi/mi-nsintrall.exp: Adjust.
4915 * gdb.mi/mi-nsmoribund.exp: Adjust.
4916 * gdb.mi/mi-nsthrexec.exp: Adjust.
4917
4918 2011-08-09 Pedro Alves <pedro@codesourcery.com>
4919
4920 * gdb.base/display.c (do_loops): New `p_i' local.
4921 * gdb.base/display.exp: Test displaying a variable that is
4922 temporarily at a bad address.
4923
4924 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4925
4926 * gdb.dwarf2/dw2-op-stack-value.S: New file.
4927 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
4928
4929 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4930
4931 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
4932 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
4933 (p fuNC_symtab): Permit also ppc64 leading dot.
4934
4935 2011-08-05 Pedro Alves <pedro@codesourcery.com>
4936
4937 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
4938 procedure.
4939 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
4940
4941 2011-08-05 Yao Qi <yao@codesourcery.com>
4942
4943 * gdb.base/callfuncs.exp: Set language after main.
4944 * gdb.cp/cplusfuncs.exp: Likewise.
4945 * gdb.cp/inherit.exp: Likewise.
4946
4947 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4948
4949 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
4950 * gdb.base/watch-vfork.exp: Skip on remote targets.
4951
4952 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4953
4954 * gdb.threads/thread-find.exp: Support remote targets.
4955
4956 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
4957
4958 * gdb.base/jit.exp: Download solib_binfile to target.
4959 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
4960 and call dlopen without full path name.
4961 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
4962 dlopen without full path name.
4963
4964 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4965
4966 * gdb.base/break-always.exp: Complete the test
4967 with duplicated breakpoints and enabling/disabling them.
4968
4969 2011-08-02 Tom Tromey <tromey@redhat.com>
4970
4971 PR gdb/11289:
4972 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
4973
4974 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4975
4976 PR gdb/13045
4977 * gdb.base/float.exp: Add new test case for PR gdb/13045
4978 * gdb.base/float.c: New file.
4979
4980 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
4981
4982 * gdb.python/py-mi.exp: Test printers returning string hint, and
4983 also not returning a value.
4984 * gdb.python/py-prettyprint.c: Add testcase for above.
4985 * gdb.python/py-prettyprint.py: Add test printer for above.
4986
4987 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4988
4989 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
4990 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
4991 (.Ldie30) Add as field "data4".
4992 (.Ldie32) Rename field "b" to "shl".
4993 (abbrev4) Change for the "data4" field.
4994 (abbrev5, abbrev6) Remove.
4995 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
4996 (p &s.shl): ... here. Add comment.
4997 (p &s.data4): New.
4998
4999 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 Fix crash on lval_computed values.
5002 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
5003
5004 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5005
5006 * gdb.base/help.exp (help whatis): Update the expected string.
5007
5008 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
5011 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
5012 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5013 Change the expected string.
5014
5015 2011-07-26 Pedro Alves <pedro@codesourcery.com>
5016
5017 * gdb.base/watchpoint.exp
5018 (test_disable_enable_software_watchpoint): New procedure.
5019 (top level): Run it.
5020
5021 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
5022
5023 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
5024 executable file "${binfile}", C++ version "${binfile}-cxx".
5025 * gdb.python/py-prettyprint.exp: Likewise.
5026 * gdb.python/py-symbol.exp: Likewise.
5027 * gdb.python/py-type.exp: Likewise.
5028 * gdb.python/py-value.exp: Likewise.
5029 * gdb.python/py-template.exp (test_template_arg): Pass full executable
5030 file name instead of just suffix.
5031
5032 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 Fix implicit pointer offsets.
5035 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
5036 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
5037 (continue to breakpoint: continue to baz breakpoint for implptr)
5038 (sanity check element 0, sanity check element 1)
5039 (enter the inlined function, check element 0 for the offset)
5040 (check element 1 for the offset)
5041 (continue to breakpoint: ignore the second baz breakpoint): New tests.
5042 (set foo breakpoint for implptr): Update the breakpoint number.
5043
5044 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5045
5046 * gdb.python/py-mi.exp: Use different file names for different
5047 versions of the executable under test.
5048 * gdb.python/py-prettyprint.exp: Likewise.
5049 * gdb.python/py-symbol.exp: Likewise.
5050 * gdb.python/py-template.exp: Likewise.
5051 * gdb.python/py-type.exp: Likewise.
5052 * gdb.python/py-value.exp: Likewise.
5053
5054 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5055
5056 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
5057 flag after restarting GDB if necessary.
5058
5059 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
5060
5061 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
5062
5063 2011-07-22 Pedro Alves <pedro@codesourcery.com>
5064
5065 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
5066 backend doesn't leave used debug registers behind.
5067
5068 2011-07-22 Tom Tromey <tromey@redhat.com>
5069
5070 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
5071 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
5072 argument.
5073 * gdb.dwarf2/typeddwarf-amd64.S: New file.
5074
5075 2011-07-21 Matt Rice <ratmice@gmail.com>
5076
5077 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
5078 in mostlyclean rule. Add files ending in .core.
5079
5080 2011-07-21 Matt Rice <ratmice@gmail.com>
5081
5082 PR macros/12999
5083 * gdb.base/info-macros.c: New test sources.
5084 * gdb.base/info-macros.exp: New tests.
5085
5086 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
5087
5088 * gdb.python/python.exp: Add prompt substitution tests.
5089
5090 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5091
5092 Fix crash if referenced CU is aged out.
5093 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
5094 New.
5095 * gdb.dwarf2/implptr.exp: Likewise.
5096
5097 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 * gdb.dwarf2/implptr.S: Rebuilt.
5100 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
5101 (bar): Use them for j, k, l.
5102 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
5103 COMPILE.
5104 (print j in implptr:bar): Update for the intp typedef.
5105 (print p[0].x in implptr:foo): Use more exact regex.
5106
5107 2011-07-18 Tom Tromey <tromey@redhat.com>
5108
5109 * gdb.cp/static-method.exp: Add missing single quote.
5110
5111 2011-07-18 Yao Qi <yao@codesourcery.com>
5112
5113 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
5114 supported.
5115 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5116 * gdb.mi/mi-nonstop.exp: Likewise.
5117 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5118 * gdb.mi/mi-nsintrall.exp: Likewise.
5119 * gdb.mi/mi-nsmoribund.exp: Likewise.
5120 * gdb.mi/mi-nsthrexec.exp: Likewise.
5121 * gdb.python/py-evthreads.exp: Likewise.
5122
5123 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5124
5125 Code cleanup.
5126 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
5127 it. Substitute it instead of test_compiler_info everywhere.
5128
5129 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5130
5131 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
5132 remote targets as well.
5133
5134 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5135
5136 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
5137 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
5138
5139 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
5140
5141 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
5142 a remote machine, not the host.
5143 (gdb_compile_shlib): Set soname if target is remote.
5144
5145 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5146
5147 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
5148
5149 2011-07-13 Matt Rice <ratmice@gmail.com>
5150
5151 * gdb.python/py-objfile-script-gdb.py: Renamed to
5152 py-objfile-script-gdb.py.in.
5153 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
5154 py-objfile-script-gdb.py.
5155 * gdb.python/py-objfile-script.exp: Update reference to
5156 py-objfile-script-gdb.py.
5157
5158 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5159
5160 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
5161 reference undefined label.
5162
5163 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5164
5165 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
5166 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
5167 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
5168 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
5169
5170 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
5171
5172 PR python/12438
5173 * gdb.python/python.exp: Add maint set/show python print-stack
5174 deprecated tests. Add set/show python print-backtrace tests.
5175
5176 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5177
5178 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
5179 debug info.
5180
5181 2011-07-06 Matt Rice <ratmice@gmail.com>
5182
5183 * gdb.python/python.exp: Update filename paths.
5184 * gdb.python/py-symtab.exp: Ditto.
5185
5186 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5187
5188 * gdb.python/py-evthreads.exp: Add missing `$'.
5189
5190 2011-07-06 Jie Zhang <jie.zhang@analog.com>
5191
5192 * config/bfin.exp: New file.
5193 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
5194 * gdb.asm/bfin.inc: New file.
5195
5196 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5197
5198 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
5199 the whole output.
5200
5201 2011-07-05 Tom Tromey <tromey@redhat.com>
5202
5203 * gdb.java/jprint.java (jprint.hi): New field.
5204 * gdb.java/jprint.exp: Print string.
5205
5206 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
5207
5208 * gdb.base/call-sc.c: Fix typos.
5209 * gdb.base/ifelse.exp: Likewise.
5210 * gdb.base/structs.c: Likewise.
5211
5212 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5213
5214 * gdb.base/jit-so.exp: New test.
5215 * gdb.base/jit-dlmain.c: New file.
5216 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
5217
5218 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5219
5220 * gdb.cp/m-static.exp: Call get_compiler_info.
5221 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
5222 * gdb.cp/pr9167.exp (p b): Likewise.
5223 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
5224 (test value of P in inner_m, test type of Z in inner_m): Call
5225 setup_xfail for gcc <= 4.5.
5226
5227 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5228
5229 * gdb.cp/paren-type.cc: New files.
5230 * gdb.cp/paren-type.exp: New files.
5231
5232 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5233
5234 Stop on first linespec terminator instead of eating what we can.
5235 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
5236 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
5237 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
5238 (break C::f()): ... this one.
5239 (break C::operator()()): New test.
5240 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
5241 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
5242 test.
5243
5244 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5245
5246 Fall back linespec to minimal symbols.
5247 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
5248 error message.
5249 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
5250 * gdb.cp/minsym-fallback-main.cc: New file.
5251 * gdb.cp/minsym-fallback.cc: New file.
5252 * gdb.cp/minsym-fallback.exp: New file.
5253 * gdb.cp/minsym-fallback.h: New file.
5254
5255 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 * gdb.cp/no-dmgl-verbose.cc: New file.
5258 * gdb.cp/no-dmgl-verbose.exp: New file.
5259
5260 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5261
5262 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
5263 __GI_.
5264 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
5265 (f): New function.
5266 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
5267 (complete p 'func<short>(): ... here.
5268 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
5269 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
5270 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
5271 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
5272 Make them KFAIL gcc/49546.
5273
5274 2011-07-01 Joel Brobecker <brobecker@adacore.com>
5275
5276 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
5277
5278 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5279
5280 Test GCC PR debug/49546.
5281 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
5282 (test type of F in k3_m, test value of F in k3_m): New.
5283 * gdb.cp/temargs.cc (struct S3, struct K3): New.
5284 (main): New variable k3. Call k3.k3_m.
5285
5286 2011-07-01 Jean-Charles Delay <delay@adacore.com>
5287
5288 * gdb.ada/packed_array.exp: Fix expected outout.
5289
5290 2011-07-01 Jean-Charles Delay <delay@adacore.com>
5291
5292 * gdb.ada/packed_array.exp: fixed expected output.
5293
5294 2011-07-01 Joel Brobecker <brobecker@adacore.com>
5295
5296 * gdb.ada/same_enum: New testcase.
5297
5298 2011-07-01 Joel Brobecker <brobecker@adacore.com>
5299
5300 * gdb.ada/ptr_typedef: New testcase.
5301
5302 2011-07-01 Joel Brobecker <brobecker@adacore.com>
5303
5304 * gdb.ada/arrayptr.exp: Add ptype test.
5305
5306 2011-07-01 Joel Brobecker <brobecker@adacore.com>
5307
5308 * gdb.ada/char_enum: New testcase.
5309
5310 2011-07-01 Yao Qi <yao@codesourcery.com>
5311
5312 * gdb.base/dump.exp (capture_pointer_with_type): New.
5313 Get value from address instead of name.
5314 Start GDB once, and do `dump' and `restore'
5315 tests together.
5316
5317 2011-06-30 Jie Zhang <jie.zhang@analog.com>
5318 Mike Frysinger <vapier@gentoo.org>
5319
5320 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
5321 helper functions for getting/setting remotetimeout variable.
5322 * lib/gdb.exp (gdb_load): If the target is remote, set
5323 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
5324 with $loadtimeout. Set $load_ok to 0 before doing the load.
5325 Instead of returning, immediately, set $load_ok to 0. Call
5326 set_remotetimeout with $oldremotetimeout, and then return if
5327 $load_ok is 1.
5328
5329 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
5330
5331 * gdb.python/py-template.exp: Don't run this test if the target
5332 does not support c++ tests.
5333
5334 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5335
5336 Fix non-only rename list for Fortran modules import.
5337 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
5338 tests.
5339 * gdb.fortran/module.f90 (module moduse): New.
5340 (program module): use moduse, test var_x, var_y and var_z.
5341
5342 2011-06-29 Tom Tromey <tromey@redhat.com>
5343
5344 PR testsuite/12040:
5345 * gdb.fortran/array-element.exp: Use f90, not f77.
5346 * gdb.fortran/complex.exp: Use f90, not f77.
5347 * gdb.fortran/derived-type.exp: Use f90, not f77.
5348 * gdb.fortran/library-module.exp: Use f90, not f77.
5349 * gdb.fortran/logical.exp: Use f90, not f77.
5350 * gdb.fortran/module.exp: Use f90, not f77.
5351 * gdb.fortran/multi-dim.exp: Use f90, not f77.
5352 * gdb.fortran/subarray.exp: Use f90, not f77.
5353
5354 2011-06-29 Tom Tromey <tromey@redhat.com>
5355
5356 * gdb.fortran/charset.exp: New file.
5357 * gdb.fortran/charset.f90: New file.
5358
5359 2011-06-29 Tom Tromey <tromey@redhat.com>
5360
5361 PR testsuite/12040:
5362 * lib/future.exp: New file, mostly extracted from ada.exp.
5363 Rewrote compatibility code to use rename.
5364 (gdb_find_gfortran): New proc.
5365 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
5366 gfortran patch.
5367 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
5368 Move to future.exp.
5369 * lib/gdb.exp: Always load future.exp.
5370
5371 2011-06-28 Yao Qi <yao@codesourcery.com>
5372
5373 * gdb.cp/exception.cc: Don't include iostream.
5374 (bar): Remove print statement.
5375 (catcher): New.
5376 (main): Remove print statements. Call function catcher.
5377 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
5378 Set breakpoint on catcher, and check the value of parameter.
5379
5380 2011-06-23 Yao Qi <yao@codesourcery.com>
5381
5382 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
5383 1.2 is disabled. KFAIL for uclinux.
5384
5385 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5386
5387 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
5388 mi_gdb_test.
5389
5390 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5391
5392 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
5393
5394 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5395
5396 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
5397
5398 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5399
5400 * gdb.mi/mi2-basics.exp: Fix races. Honour the
5401 `test_exec_and_symbol_mi_operatons' return value.
5402 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5403 gdb_test_multiple.
5404 (test_exec_and_symbol_mi_operatons): Likewise.
5405 (test_path_specification): Likewise.
5406
5407 2011-06-23 Yao Qi <yao@codesourcery.com>
5408
5409 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
5410 supported.
5411 * lib/gdb.exp (support_displaced_stepping): New.
5412
5413 2011-06-23 Yao Qi <yao@codesourcery.com>
5414
5415 * gdb.threads/execl.exp: Skip on remote target.
5416
5417 2011-06-21 Marek Polacek <mpolacek@redhat.com>
5418
5419 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
5420 mi_gdb_test.
5421
5422 2011-06-20 Marek Polacek <mpolacek@redhat.com>
5423
5424 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
5425
5426 2011-06-20 Marek Polacek <mpolacek@redhat.com>
5427
5428 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
5429 mi_gdb_test.
5430
5431 2011-06-20 Marek Polacek <mpolacek@redhat.com>
5432
5433 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
5434
5435 2011-06-14 Yao Qi <yao@codesourcery.com>
5436
5437 gdb/testsuite/
5438 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
5439
5440 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5441
5442 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
5443
5444 2011-06-10 Tom Tromey <tromey@redhat.com>
5445
5446 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
5447 Add tests for pointer-to-member-function.
5448 * gdb.cp/temargs.cc (S::somefunc): New function.
5449 (K2): New class.
5450 (main): Instantiate K2; call method.
5451
5452 2011-06-08 Joel Brobecker <brobecker@adacore.com>
5453
5454 * gdb.python/py-inferior.c (f2): Make str an array rather
5455 than a pointer.
5456 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
5457
5458 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5459
5460 * gdb.base/async-shell.c: New file.
5461 * gdb.base/async-shell.exp: New file.
5462
5463 2011-06-06 Pedro Alves <pedro@codesourcery.com>
5464
5465 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
5466
5467 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
5468
5469 From Stephen Kitt <steve@sk2.org>
5470 * gdb.base/help.exp: Adjust following some spelling corrections
5471 in GDB.
5472
5473 2011-06-01 Yao Qi <yao@codesourcery.com>
5474
5475 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
5476
5477 2010-05-31 Keith Seitz <keiths@redhat.com>
5478
5479 PR c++/12750
5480 * gdb.cp/static-method.cc: New file.
5481 * gdb.cp/static-method.exp: New file.
5482
5483 2010-05-31 Keith Seitz <keiths@redhat.com>
5484
5485 PR symtab/12704
5486 * gdb.cp/anon-ns.cc: New file.
5487 * gdb.cp/anon-ns.exp: New file.
5488
5489 2011-05-31 Pedro Alves <pedro@codesourcery.com>
5490
5491 * gdb.arch/i386-dr3-watch.c: New file.
5492 * gdb.arch/i386-dr3-watch.exp: New file.
5493
5494 2011-05-30 Yao Qi <yao@codesourcery.com>
5495
5496 * gdb.base/callfuncs.c (t_structs_fc): New.
5497 (t_structs_dc, t_structs_ldc): New.
5498 (t_double_many_args):
5499 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
5500 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
5501 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
5502 * gdb.base/callfuncs.exp: Call new functions.
5503
5504 2011-05-30 Yao Qi <yao@codesourcery.com>
5505
5506 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
5507 Call rerun_and_prepare for each test to isolate effects.
5508
5509 2011-05-30 Yao Qi <yao@codesourcery.com>
5510
5511 * gdb.base/varargs.c (find_max_float_real): New.
5512 (find_max_double_real, find_max_long_double_real): New.
5513 * gdb.base/varargs.exp: Call these new added functions.
5514 * lib/gdb.exp (setup_kfail_for_target): New.
5515
5516 2011-05-30 Yao Qi <yao@codesourcery.com>
5517
5518 * gdb.base/funcargs.c (callca, callcb, callcc): New.
5519 (callcd, callce, callcf, callc1a, callc1b): New.
5520 (callc2a, callc2b): New.
5521 * gdb.base/funcargs.exp (complex_args): New.
5522 (complex_integral_args, complex_float_integral_args): New.
5523 * lib/gdb.exp (support_complex_tests): New. Determine
5524 whether to run test cases on _Complex types.
5525
5526 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5527
5528 * gdb.threads/leader-exit.c: New file.
5529 * gdb.threads/leader-exit.exp: New file.
5530
5531 2011-05-27 Marek Polacek <mpolacek@redhat.com>
5532
5533 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
5534
5535 2011-05-27 Marek Polacek <mpolacek@redhat.com>
5536
5537 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
5538 remove the `supported' variable.
5539 * gdb.mi/mi-nonstop.exp: Likewise.
5540 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5541 * gdb.mi/mi-nsintrall.exp: Likewise.
5542 * gdb.mi/mi-nsmoribund.exp: Likewise.
5543 * gdb.mi/mi-nsthrexec.exp: Likewise.
5544
5545 2011-05-26 Pedro Alves <pedro@codesourcery.com>
5546
5547 * gdb.reverse/finish-reverse-bkpt.exp: New test.
5548
5549 2011-05-26 Pedro Alves <pedro@codesourcery.com>
5550
5551 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
5552
5553 2011-05-24 Keith Seitz <keiths@redhat.com>
5554
5555 PR breakpoint/12803
5556 * gdb.cp/cmpd-minsyms.cc (a): New method.
5557 (b): New method.
5558 (c): New method.
5559 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
5560
5561 2011-05-24 Pedro Alves <pedro@codesourcery.com>
5562
5563 * gdb.base/commands.exp (watchpoint_command_test): Check that the
5564 watchpoint's command list didn't execute when the watchpoint went
5565 out of scope.
5566
5567 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
5568
5569 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
5570 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
5571 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
5572 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5573 * gdb.arch/i386-permbkpt.exp: Likewise.
5574 * gdb.arch/i386-prologue.exp: Likewise.
5575 * gdb.arch/i386-size-overlap.exp: Likewise.
5576 * gdb.arch/i386-size.exp: Likewise.
5577 * gdb.arch/i386-unwind.exp: Likewise.
5578 * gdb.reverse/i386-precsave.exp: Likewise.
5579 * gdb.reverse/i386-reverse.exp: Likewise.
5580 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5581 * gdb.reverse/i387-env-reverse.exp: Likewise.
5582 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5583
5584 2011-05-24 Pedro Alves <pedro@codesourcery.com>
5585
5586 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
5587 file doesn't error, using MI.
5588
5589 2011-05-23 Tom Tromey <tromey@redhat.com>
5590
5591 * gdb.base/charset.exp (string_display): Add tests to assign to
5592 arrays.
5593 * gdb.base/charset.c (short_array, int_array, long_array): New.
5594
5595 2011-05-20 Pedro Alves <pedro@codesourcery.com>
5596
5597 Cope with async mode.
5598
5599 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
5600 into gdb_test + mi_expect_stop.
5601
5602 2011-05-20 Pedro Alves <pedro@codesourcery.com>
5603
5604 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
5605 (callme): Remove printf call.
5606
5607 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
5608
5609 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
5610 quote pattern to avoid problems with Cygwin/mingw expect versions.
5611 * gdb.base/default.exp (show convenience): Use double
5612 quote pattern for regular expressions.
5613
5614 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5615
5616 Fix -readnow for -gdwarf-4 unused type units.
5617 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
5618 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
5619
5620 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5621
5622 * gdb.base/kill-after-signal.c: New file.
5623 * gdb.base/kill-after-signal.exp: New file.
5624
5625 2011-05-16 Pedro Alves <pedro@codesourcery.com>
5626
5627 * gdb.ada/start.exp: Call untested with the correct test filename.
5628 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
5629 test filename. Make the test's binary unique.
5630 * gdb.arch/i386-signal.exp: Call untested with the correct test
5631 filename.
5632 * gdb.arch/i386-size-overlap.exp: Ditto.
5633 * gdb.arch/Makefile.in (EXECUTABLES): Update.
5634 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5635 * gdb.cp/call-c.exp: Ditto.
5636 * gdb.mi/mi-reverse.exp: Call untested with the correct test
5637 filename. Make the test's binary unique.
5638 * gdb.mi/Makefile.in (EXECUTABLES): Update.
5639 * gdb.python/py-mi.exp: Ditto.
5640 * gdb.python/Makefile.in (EXECUTABLES): Update.
5641 * gdb.reverse/i386-precsave.exp: Ditto.
5642 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
5643 test filename.
5644 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5645 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
5646 unique.
5647 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
5648 test filename.
5649 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
5650 * gdb.trace/tfile.exp: Ditto.
5651
5652 2011-05-14 Yao Qi <yao@codesourcery.com>
5653
5654 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
5655 type.
5656
5657 2011-05-13 Doug Evans <dje@google.com>
5658
5659 * gdb.python/py-objfile-script.exp: New file.
5660 * gdb.python/py-objfile-script.c: New file.
5661 * gdb.python/py-objfile-script-gdb.py: New file.
5662 * testsuite/gdb.python/py-section-script.exp: Test
5663 "info auto-load-scripts".
5664
5665 2011-05-13 Tom Tromey <tromey@redhat.com>
5666
5667 * gdb.dwarf2/clztest.exp: New file.
5668 * gdb.dwarf2/clztest.c: New file.
5669 * gdb.dwarf2/clztest.S: New file.
5670
5671 2011-05-13 Doug Evans <dje@google.com>
5672
5673 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
5674 String16 tests.
5675
5676 2011-05-13 Tom Tromey <tromey@redhat.com>
5677
5678 * lib/gdb.exp (is_x86_like_target): New proc.
5679 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
5680 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
5681 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
5682 -nostdlib to compiler.
5683 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
5684 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
5685 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
5686 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
5687 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
5688
5689 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5690
5691 * gdb.python/py-function.exp: Test setting a value from a function
5692 which executes a command.
5693
5694 2011-05-12 Tom Tromey <tromey@redhat.com>
5695
5696 * gdb.dwarf2/typeddwarf.S: New file.
5697 * gdb.dwarf2/typeddwarf.c: New file.
5698 * gdb.dwarf2/typeddwarf.exp: New file.
5699
5700 2011-05-12 Marek Polacek <mpolacek@redhat.com>
5701
5702 * gdb.mi/mi-basics.exp: Fix races. Honour the
5703 `test_exec_and_symbol_mi_operatons' return value.
5704 (test_mi_interpreter_selection): Use mi_gdb_test instead of
5705 gdb_test_multiple.
5706 (test_exec_and_symbol_mi_operatons): Likewise.
5707 (test_path_specification): Likewise.
5708
5709 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5710
5711 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
5712 (gdb_touch_execfile): Remove catch wrappers. New variable time.
5713 Replace `file copy' and `file rename' by `file mtime'. Twice.
5714
5715 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5716
5717 * gdb.base/readline-ask.c: New file.
5718 * gdb.base/readline-ask.exp: New file.
5719 * gdb.base/readline-ask.inputrc: New file.
5720
5721 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5722
5723 * gdb.cell/bt.exp: Delete breakpoints before running to signal
5724 to avoid race condition.
5725 * gdb.cell/coremaker.c: Use small stack size.
5726 * gdb.cell/ea-standalone.exp: Use file name without path as
5727 argument to c_to.
5728 * gdb.cell/fork.exp: Allow other output when continuing to end.
5729
5730 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5731
5732 * gdb.threads/corethreads.c: New file.
5733 * gdb.threads/corethreads.exp: New file.
5734
5735 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5736
5737 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
5738 Try to compile the test using -Wl,-z,norelro first.
5739 (load_core): New variable libthread_db_seen, initialize it.
5740 (zeroed-threads cannot be listed): Protect it by XFAIL on
5741 !$libthread_db_seen.
5742
5743 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5744
5745 PR 12573
5746 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5747 * gdb.dwarf2/dw2-skip-prologue.c: New file.
5748 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
5749
5750 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 * gdb.cp/psymtab-parameter.cc: New file.
5753 * gdb.cp/psymtab-parameter.exp: New file.
5754
5755 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5756
5757 Fix a race.
5758 * gdb.cp/static-print-quit.exp (print c): Split to ...
5759 (print c - <return>, print c - q <return>, print c - to quit):
5760 ... these. Make the testfile untested on gdb-7.1.
5761
5762 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
5763
5764 * lib/gdb.exp (exec_target_file, exec_symbol_file,
5765 gdb_rename_execfile, gdb_touch_execfile): New.
5766 * gdb.base/reread.exp: Use new procs to handle multiple
5767 exec files.
5768
5769 2011-05-05 Yao Qi <yao@codesourcery.com>
5770
5771 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
5772 (test_adr_32bit, test_pop_pc): New.
5773 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
5774 (test_adr_32bit, test_pop_pc): New.
5775
5776 2011-05-04 Joseph Myers <joseph@codesourcery.com>
5777
5778 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
5779 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
5780 targets.
5781 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
5782 handle targets.
5783
5784 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5785
5786 * gdb.base/completion.exp (complete help info wat): Rename to ...
5787 (complete 'help info wat'): ... here.
5788 Remove all `-re ".*' and `-re "^.*' redundant regexes.
5789 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
5790
5791 2011-05-04 Pedro Alves <pedro@codesourcery.com>
5792
5793 * gdb.base/completion.exp: Use gdb_test_multiple instead of
5794 gdb_test and explicit $gdb_prompt/timeout matches.
5795
5796 2011-05-04 Yao Qi <yao@codesourcery.com>
5797
5798 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
5799 and __thumb2__.
5800
5801 2011-05-03 Marek Polacek <mpolacek@redhat.com>
5802
5803 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
5804 in place of `gdb_test "delete breakpoints"'. This eliminates two
5805 testcases.
5806
5807 2011-05-02 Pedro Alves <pedro@codesourcery.com>
5808
5809 PR testsuite/12649
5810 Fix races.
5811
5812 * gdb.base/completion.exp: Remove all sleep calls. Remove
5813 unnecessary regexs. Don't explicitly expect anything after the
5814 prompt. Eat the prompt if necessary.
5815
5816 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5817
5818 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
5819 accept to show the caller line again as well as the line after.
5820
5821 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
5822
5823 PR mi/12531
5824
5825 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
5826 compile target.
5827 * gdb.python/py-prettyprint.exp: Add C++ object for
5828 CPLUS_FAKE_CHILD test.
5829
5830 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
5831
5832 * gdb.base/signest.exp: New file.
5833 * gdb.base/signest.c: Likewise.
5834
5835 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
5838 thread and breakpoint notifications.
5839
5840 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5841
5842 * gdb.base/fortran-sym-case.c: New file.
5843 * gdb.base/fortran-sym-case.exp: New file.
5844 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
5845 * gdb.dwarf2/dw2-case-insensitive.c: New file.
5846 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
5847
5848 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5849
5850 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
5851 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
5852 false #1', `if true else false #2' and `if true else false #3'.
5853
5854 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
5855
5856 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
5857 while delivering signal.
5858
5859 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
5860
5861 MI breakpoint notifications.
5862
5863 * testsuite/gdb.mi/mi-cli.exp: Adust.
5864 * testsuite/gdb.mi/mi2-cli.exp: Adust.
5865 * testsuite/gdb.mi/mi-watch.exp: Adust.
5866 * testsuite/gdb.mi/mi2-watch.exp: Adust.
5867 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
5868 notifications.
5869
5870 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5871
5872 * gdb.base/gdbindex-stabs-dwarf.c: New file.
5873 * gdb.base/gdbindex-stabs.c: New file.
5874 * gdb.base/gdbindex-stabs.exp: New file.
5875
5876 2011-04-25 Yao Qi <yao@codesourcery.com>
5877
5878 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
5879 with /*...*/.
5880 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5881
5882 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5883
5884 * gdb.python/py-value.exp (test_objfiles): Name the first test
5885 `py-value in file.filename'.
5886
5887 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5888
5889 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
5890 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
5891 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
5892 !gdbserver_reconnect_p..
5893 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
5894
5895 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5896
5897 * gdb.cp/cpcompletion.exp (complete class methods)
5898 (complete class methods beginning with F): Move them above runto. New
5899 comment about the runto delimiter.
5900
5901 2011-04-20 Pedro Alves <pedro@codesourcery.com>
5902
5903 * gdb.base/maint.exp: Test that "maint print registers" works
5904 without a running program.
5905
5906 2011-04-20 Marek Polacek <mpolacek@redhat.com>
5907
5908 * gdb.base/setshow.exp: Fix racy tests.
5909 ($old_gdb_prompt): New variable.
5910
5911 2011-04-19 Tom Tromey <tromey@redhat.com>
5912
5913 * gdb.mi/mi-nsmoribund.exp:
5914 * gdb.hp/gdb.objdbg/objdbg01.exp:
5915 * gdb.base/structs.exp (test_struct_returns):
5916 * gdb.base/call-sc.exp (test_scalar_returns):
5917 * gdb.base/bigcore.exp: Remove duplicate words.
5918
5919 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5920
5921 * gdb.base/break-interp-lib.c (v, vptr): New variables.
5922 * gdb.base/break-interp.exp (test_attach): New comment.
5923
5924 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5925
5926 * gdb.threads/gcore-thread.exp ($core0file): New variable.
5927 (clear __stack_user.next, clear stack_used.next)
5928 (save a zeroed-threads corefile): New test.
5929 Call core_load for $core0file.
5930 (zeroed-threads cannot be listed): New test.
5931
5932 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5933
5934 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
5935 filename.
5936 ($srcfile): Preserve the original value.
5937 ($testfile): Match it the .exp filename.
5938 ($corefile): New variable. Substitute it around.
5939 Use clean_restart.
5940 ($prev_timeout): Remove.
5941 (load_core): Move core loading into this proc.
5942 Fix restore of $timeout if load_core fails.
5943
5944 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5945
5946 * gdb.base/eu-strip-infcall.c: New file.
5947 * gdb.base/eu-strip-infcall.exp: New file.
5948
5949 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5950
5951 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
5952 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
5953
5954 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5955
5956 Fix Python access to inlined frames.
5957 * gdb.python/py-frame-inline.c: New file.
5958 * gdb.python/py-frame-inline.exp: New file.
5959
5960 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
5961
5962 * gdb.base/gdb1090.exp: Change breakpoint location to read the
5963 content of 's24' correctly (avoiding "optimized out").
5964 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
5965
5966 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5967
5968 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
5969
5970 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
5971
5972 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
5973 expect a colon in watch -location output.
5974
5975 2011-04-13 Marek Polacek <mpolacek@redhat.com>
5976
5977 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
5978 New testcase `expect response to define backtrace'. Also remove
5979 redundant `default' block.
5980
5981 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5982
5983 * gdb.python/py-prettyprint.c (struct hint_error): New.
5984 (main): New variable hint_error.
5985 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
5986 "print hint_error".
5987 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
5988 (register_pretty_printers): Register it.
5989
5990 2011-04-04 Tom Tromey <tromey@redhat.com>
5991
5992 * gdb.cp/maint.exp (test_help): Update.
5993 (test_namespace): Likewise.
5994
5995 2011-04-01 Joel Brobecker <brobecker@adacore.com>
5996
5997 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
5998 * gdb.ada/arrayptr.exp: Add new tests.
5999
6000 2011-04-01 Joel Brobecker <brobecker@adacore.com>
6001
6002 * gdb.ada/mi_catch_ex: New testcase.
6003
6004 2011-04-01 Pedro Alves <pedro@codesourcery.com>
6005
6006 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
6007 base::overload(void) method without specifying "const".
6008
6009 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
6010
6011 * gdb.arch/thumb-singlestep.S: New file.
6012 * gdb.arch/thumb-singlestep.exp: Likewise.
6013
6014 2011-03-31 Tom Tromey <tromey@redhat.com>
6015
6016 * gdb.python/py-prettyprint.py (exception_flag): New global.
6017 (NoStringContainerPrinter._iterator.next): Check it.
6018 * gdb.python/py-prettyprint.c (main): New variable nstype2.
6019 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
6020
6021 2011-03-29 Tom Tromey <tromey@redhat.com>
6022
6023 * gdb.cp/anon-struct.cc: New file.
6024 * gdb.cp/anon-struct.exp: New file.
6025
6026 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6027
6028 Test STT_GNU_IFUNC support.
6029 * gdb.base/gnu-ifunc-lib.c: New file.
6030 * gdb.base/gnu-ifunc.c: New file.
6031 * gdb.base/gnu-ifunc.exp: New file.
6032
6033 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6034
6035 Support a ring of related breakpoints.
6036 * gdb.base/watchpoint-delete.c: New file.
6037 * gdb.base/watchpoint-delete.exp: New file.
6038
6039 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 * gdb.ada/arrayparam.exp (print first after function call): Use
6042 explicit package name. Add a comment
6043 (print lasta after function call): Rename ...
6044 (print last after function call): ... it and use explicit package
6045 name.
6046 (print length after function call): Use explicit package name.
6047 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
6048 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
6049 (multiple matches for symbol i): Rename ...
6050 (multiple matches for symbol integervar): ... it.
6051 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
6052 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
6053
6054 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
6055
6056 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
6057 environment variable to make grep output more predictable. Move
6058 all the environment setup into gdb_init so it's done once per test
6059 case rather than each time we start gdb.
6060
6061 2011-03-24 Tom Tromey <tromey@redhat.com>
6062
6063 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
6064 test.
6065
6066 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6067
6068 * gdb.dwarf2/dw2-entry-value-main.c: New file.
6069 * gdb.dwarf2/dw2-entry-value.S: New file.
6070 * gdb.dwarf2/dw2-entry-value.exp: New file.
6071
6072 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
6073
6074 PR python/12183
6075
6076 * gdb.python/py-function.exp: Add GdbError tests.
6077
6078 2011-03-18 Pedro Alves <pedro@codesourcery.com>
6079
6080 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
6081 (reglocal_test_func, statlocal_test_func): New functions.
6082 (globals_test_func): Call new functions.
6083 * gdb.trace/unavailable.exp (gdb_collect_args_test)
6084 (gdb_collect_locals_test): New procedure.
6085 (gdb_trace_collection_test): Call new procedures.
6086
6087 2011-03-18 Pedro Alves <pedro@codesourcery.com>
6088
6089 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
6090 (test_register, test_register_unavailable): New procedures.
6091 (gdb_unavailable_registers_test): New procedure.
6092 (gdb_trace_collection_test): Call it.
6093
6094 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
6095
6096 PR python/12149
6097
6098 * gdb.python/python.exp: Add gdb.write tests.
6099
6100 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
6101
6102 * gdb.python/Makefile.in: Add py-objfile.
6103 * gdb.python/py-objfile.exp: New file.
6104 * gdb.python/py-objfile.c: New file.
6105 * gdb.python/py-block.exp: Add is_valid tests.
6106 * gdb.python/py-inferior.exp: Ditto.
6107 * gdb.python/py-infthread.exp: Ditto.
6108 * gdb.python/py-symbol.exp: Ditto.
6109 * gdb.python/py-symtab.exp: Ditto.
6110
6111 2011-03-16 Keith Seitz <keiths@redhat.com>
6112
6113 PR c++/12273
6114 * gdb.cp/cmpd-minsyms.exp: New test.
6115 * gdb.cp/cmpd-minsyms.cc: New file.
6116
6117 PR c++/11734
6118 * gdb.cp/ovsrch.exp: New test.
6119 * gdb.cp/ovsrch.h: New file.
6120 * gdb.cp/ovsrch1.cc: New file.
6121 * gdb.cp/ovsrch2.cc: New file.
6122 * gdb.cp/ovsrch3.cc: New file.
6123 * gdb.cp/ovsrch4.cc: New file.
6124
6125 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6126
6127 PR gdb/12528
6128 * gdb.base/Makefile.in: Adjust EXECUTABLES.
6129 * gdb.base/break-on-linker-gcd-function.exp: New test.
6130 * gdb.base/break-on-linker-gcd-function.cc: New file.
6131
6132 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
6133
6134 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
6135
6136 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
6137
6138 * lib/gdb.exp (gdb_unload): Add another termination case.
6139
6140 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6141
6142 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
6143 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
6144 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
6145 Provide a stub byte there.
6146 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
6147 DW_AT_entry_pc.
6148 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
6149
6150 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
6151
6152 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
6153 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
6154 "generic ABI, auto".
6155 (altivec_abi_tests): Accept vectors returned by reference.
6156
6157 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
6158
6159 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
6160
6161 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
6162
6163 * gdb.python/py-section-script.exp: Skip test if no Python support.
6164
6165 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6166
6167 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
6168
6169 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
6170
6171 * gdb.python/py-parameter.exp: Update tests to the new Python
6172 parameter API. Add "no documentation" test. Add deprecated API
6173 backward compatibility test.
6174
6175 2011-03-09 Tom Tromey <tromey@redhat.com>
6176
6177 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
6178 gdb_continue_to_end.
6179
6180 2011-03-09 Mark Kettenis <kettenis@gnu.org>
6181
6182 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
6183 tabs.
6184
6185 2011-03-09 Tom Tromey <tromey@redhat.com>
6186
6187 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
6188 parentheses.
6189 (gdb_continue_to_end): Add "allow_extra" parameter. Use
6190 $command.
6191 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
6192 argument to gdb_continue_to_end.
6193 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
6194 argument to gdb_continue_to_end.
6195 * gdb.cp/annota3.exp: Fix regex.
6196 * gdb.cp/annota2.exp: Fix regex.
6197 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
6198 gdb_continue_to_end.
6199 * gdb.base/call-signal-resume.exp: Revert earlier patch.
6200 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
6201 gdb_continue_to_end.
6202
6203 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6204
6205 * gdb.server/ext-run.exp
6206 (load new file without any gdbserver inferior): New test.
6207
6208 2011-03-07 Tom Tromey <tromey@redhat.com>
6209
6210 * Makefile.in (TAGS): Rewrite.
6211
6212 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.trace/report.exp (12.1: trace report #1): New match for the
6215 initial commands echo. New match for `Found trace'. Anchor all the
6216 other matches. Anchor and match for `No trace frame found' the final
6217 match.
6218
6219 2011-03-07 Tom Tromey <tromey@redhat.com>
6220
6221 * Makefile.in (TAGS): New target.
6222
6223 2011-03-07 Tom Tromey <tromey@redhat.com>
6224
6225 * lib/opencl.exp (skip_opencl_tests): Update for exit message
6226 change.
6227 * lib/mi-support.exp (mi_gdb_test): Update for exit message
6228 change.
6229 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
6230 exit message change.
6231 (skip_altivec_tests): Update for exit message change.
6232 (skip_vsx_tests): Likewise.
6233 (gdb_continue_to_end): Likewise. Add 'command' argument.
6234 * lib/cell.exp (skip_cell_tests): Update for exit message change.
6235 * gdb.threads/tls.exp: Update for exit message change.
6236 * gdb.threads/thread-unwindonsignal.exp: Use
6237 gdb_continue_to_end.
6238 * gdb.threads/step.exp (step_it): Update for exit message change.
6239 (continue_all): Likewise.
6240 * gdb.threads/print-threads.exp (test_all_threads): Update for
6241 exit message change.
6242 * gdb.threads/interrupted-hand-call.exp: Use
6243 gdb_continue_to_end.
6244 * gdb.threads/execl.exp: Use gdb_continue_to_end.
6245 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
6246 gdb_continue_to_end.
6247 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
6248 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
6249 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
6250 * gdb.cp/method.exp: Update for exit message change.
6251 * gdb.cp/mb-templates.exp: Update for exit message change.
6252 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
6253 * gdb.cp/annota3.exp: Update for exit message change.
6254 * gdb.cp/annota2.exp: Update for exit message change.
6255 * gdb.cell/fork.exp: Use gdb_continue_to_end.
6256 * gdb.base/term.exp: Update for exit message change.
6257 * gdb.base/step-test.exp (test_i): Update for exit message change.
6258 * gdb.base/sigstep.exp (advance): Update for exit message change.
6259 (advancei): Likewise.
6260 * gdb.base/siginfo.exp: Update for exit message change.
6261 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
6262 * gdb.base/reread.exp: Use gdb_continue_to_end.
6263 * gdb.base/langs.exp: Use gdb_continue_to_end.
6264 * gdb.base/interrupt.exp: Update for exit message change.
6265 * gdb.base/gdb1555.exp: Update for exit message change.
6266 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
6267 * gdb.base/ending-run.exp: Update for exit message change.
6268 * gdb.base/chng-syms.exp: Update for exit message change.
6269 * gdb.base/checkpoint.exp: Update for exit message change.
6270 * gdb.base/catch-syscall.exp (check_for_program_end): Use
6271 gdb_continue_to_end.
6272 (test_catch_syscall_with_wrong_args): Likewise.
6273 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
6274 * gdb.base/break-interp.exp (test_ld): Update for exit message
6275 change.
6276 * gdb.base/bang.exp: Update for exit message change.
6277 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
6278 (do_call_attach_tests): Likewise.
6279 * gdb.base/a2-run.exp: Update for exit message change.
6280 * gdb.arch/ppc-dfp.exp: Update for exit message change.
6281 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
6282 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
6283
6284 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6285
6286 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
6287
6288 2011-03-03 Tom Tromey <tromey@redhat.com>
6289
6290 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
6291 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
6292 * gdb.hp/gdb.aCC/configure.ac: Remove.
6293 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
6294 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
6295 * gdb.hp/gdb.base-hp/configure.ac: Remove.
6296 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
6297 * gdb.hp/gdb.compat/configure (Makefile): Remove.
6298 * gdb.hp/gdb.compat/configure.ac: Remove.
6299 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
6300 * gdb.hp/gdb.defects/configure (Makefile): Remove.
6301 * gdb.hp/gdb.defects/configure.ac: Remove.
6302 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
6303 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
6304 * gdb.hp/gdb.objdbg/configure.ac: Remove.
6305 * gdb.hp/configure.ac: Remove.
6306 * gdb.hp/configure: Remove.
6307 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
6308 substitution.
6309 (Makefile): Remove rule.
6310 * gdb.cell/configure.ac: Remove.
6311 * gdb.cell/configure: Remove.
6312 * gdb.stabs/Makefile.in (Makefile): Remove.
6313 (distclean): Don't remove config.status or config.log.
6314 * gdb.stabs/configure (Makefile): Remove.
6315 * gdb.stabs/configure.ac: Remove.
6316 * configure: Rebuild.
6317 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
6318 Remove stabs- and cell-specific logic. Test for existence of
6319 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
6320 subdirectories, gdb.cell, and and gdb.stabs.
6321 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
6322
6323 2011-03-03 Joel Brobecker <brobecker@adacore.com>
6324
6325 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
6326 end of buffer.
6327
6328 2011-03-02 Joel Brobecker <brobecker@adacore.com>
6329
6330 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
6331 gdb_test when running a test where we expected no output back.
6332
6333 2011-02-28 Michael Snyder <msnyder@vmware.com>
6334
6335 * gdb.cp/overload.cc: Change initializer value to integer.
6336
6337 2011-02-27 Michael Snyder <msnyder@vmware.com>
6338
6339 * gdb.multi/base.exp: Add test for remove-inferiors.
6340
6341 2011-02-26 Joel Brobecker <brobecker@adacore.com>
6342
6343 * gdb.python/py-frame.exp: Simplify the initialization phase
6344 using prepare_for_testing.
6345
6346 2011-02-25 Michael Snyder <msnyder@vmware.com>
6347
6348 * gdb.multi/base.exp: Add tests for info inferiors with args.
6349
6350 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6351
6352 * gdb.dwarf2/dw2-ranges.S: Rename to ...
6353 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
6354 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
6355 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
6356 asmfile3. Comment the STABS (#3) file compilation. Compile
6357 everything through assembler. Provide KFAIL for symtab/12497.
6358 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
6359 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
6360 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
6361 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
6362
6363 2011-02-24 Michael Snyder <msnyder@vmware.com>
6364
6365 * gdb.base/break.exp: Add tests for delete breakpoints using
6366 convenience variables and value history references.
6367
6368 2011-02-24 Michael Snyder <msnyder@vmware.com>
6369
6370 * gdb.base/break.exp: Remove debugging 'printf' accidentally
6371 left behind in previous check-in.
6372
6373 2011-02-23 Michael Snyder <msnyder@vmware.com>
6374
6375 * gdb.base/break.exp: Add tests for "info break" with arguments.
6376 * gdb.trace/infotrace.exp: Update patterns for error and help.
6377 * gdb.base/completion.exp: Update pattern.
6378 * gdb.base/ena-dis-br.exp: Update pattern.
6379 * gdb.base/help.exp: Update patterns.
6380
6381 2011-02-23 Michael Snyder <msnyder@vmware.com>
6382
6383 * gdb.base/memattr.exp: New test.
6384 * gdb.base/memattr.c: Test load for memattr.exp.
6385
6386 2011-02-22 Doug Evans <dje@google.com>
6387
6388 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
6389
6390 2011-02-22 Michael Snyder <msnyder@vmware.com>
6391
6392 * Makefile.in: Make more clean.
6393 * gdb.ada/Makefile.in: Ditto.
6394 * gdb.arch/Makefile.in: Ditto.
6395 * gdb.asm/Makefile.in: Ditto.
6396 * gdb.base/Makefile.in: Ditto.
6397 * gdb.cp/Makefile.in: Ditto.
6398 * gdb.dwarf2/Makefile.in: Ditto.
6399 * gdb.java/Makefile.in: Ditto.
6400 * gdb.mi/Makefile.in: Ditto.
6401 * gdb.modula2/Makefile.in: Ditto.
6402 * gdb.python/Makefile.in: Ditto.
6403 * gdb.server/Makefile.in: Ditto.
6404 * gdb.stabs/Makefile.in: Ditto.
6405 * gdb.threads/Makefile.in: Ditto.
6406 * gdb.trace/Makefile.in: Ditto.
6407
6408 2011-02-22 Michael Snyder <msnyder@vmware.com>
6409
6410 * gdb.threads/thread-find.exp: Add tests for bad input to
6411 info threads.
6412
6413 2011-02-22 Joel Brobecker <brobecker@adacore.com>
6414
6415 * gdb.python/py-breakpoint.exp: Fix the expected output of
6416 one of the "maint info breakpoints" tests to accept the output
6417 generated on platforms that do not have hardware watchpoints.
6418
6419 2011-02-22 Joel Brobecker <brobecker@adacore.com>
6420
6421 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
6422 clean_restart. Be a little stricter in the expected output
6423 for one of the tests. Fix a typo in one of the comments.
6424
6425 2011-02-22 Joel Brobecker <brobecker@adacore.com>
6426
6427 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
6428 Delete variable binfile, no longer use. Add or modify test
6429 comments to make them unique.
6430
6431 2011-02-21 Michael Snyder <msnyder@vmware.com>
6432
6433 * Makefile.in: Update for make clean.
6434 * gdb.ada/Makefile.in: Ditto.
6435 * gdb.arch/Makefile.in: Ditto.
6436 * gdb.asm/Makefile.in: Ditto.
6437 * gdb.base/Makefile.in: Ditto.
6438 * gdb.cp/Makefile.in: Ditto.
6439 * gdb.dwarf2/Makefile.in: Ditto.
6440 * gdb.java/Makefile.in: Ditto.
6441 * gdb.mi/Makefile.in: Ditto.
6442 * gdb.modula2/Makefile.in: Ditto.
6443 * gdb.python/Makefile.in: Ditto.
6444 * gdb.server/Makefile.in: Ditto.
6445 * gdb.stabs/Makefile.in: Ditto.
6446 * gdb.threads/Makefile.in: Ditto.
6447 * gdb.trace/Makefile.in: Ditto.
6448
6449 2011-02-21 Michael Snyder <msnyder@vmware.com>
6450
6451 * gdb.threads/thread-find.exp: Update patterns for changes in
6452 output of "info threads" command.
6453
6454 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6455 Ulrich Weigand <uweigand@de.ibm.com>
6456
6457 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
6458 (skip_hw_watchpoint_tests): Likewise.
6459 (skip_hw_watchpoint_multi_tests): Likewise.
6460
6461 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
6462
6463 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
6464 (skip_hw_watchpoint_tests): Likewise.
6465 (skip_hw_watchpoint_multi_tests): Likewise.
6466 (skip_hw_watchpoint_access_tests): Likewise.
6467
6468 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
6469 * gdb.base/pr11022.exp: Likewise.
6470 * gdb.base/watch-read.exp: Likewise.
6471 * gdb.base/watch_thread_num.exp: Likewise.
6472 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6473 * gdb.base/watchpoint-hw.exp: Likewise.
6474 * gdb.base/watchpoint.exp: Likewise.
6475 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
6476 * gdb.threads/watchthreads-reorder.exp: Likewise.
6477 * gdb.threads/watchthreads.exp: Likewise.
6478 * gdb.threads/watchthreads2.exp: Likewise.
6479
6480 2011-02-21 Joel Brobecker <brobecker@adacore.com>
6481
6482 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
6483 the debugger is unable to find the array bounds.
6484
6485 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6486
6487 * gdb.cp/typedef-operator.exp: New file.
6488 * gdb.cp/typedef-operator.cc: New file.
6489
6490 2011-02-17 Michael Snyder <msnyder@vmware.com>
6491
6492 * gdb.threads/thread-find.exp: Fix regular expressions.
6493
6494 2011-02-17 Joel Brobecker <brobecker@adacore.com>
6495
6496 * gdb.ada/packed_array: Expand testcase to test printing of
6497 unconstrained packed array.
6498
6499 2011-02-17 Joel Brobecker <brobecker@adacore.com>
6500
6501 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
6502
6503 2011-02-16 Pedro Alves <pedro@codesourcery.com>
6504
6505 * gdb.trace/collection.c (globalarr3): New global.
6506 (main): Initialize it before collecting, and and clear it
6507 afterwards.
6508 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6509 collecting with '{type} addr', where the addr expression is not an
6510 rvalue.
6511
6512 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
6513
6514 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
6515 a bool variable. Expect correct OpenCL names for vector types. Use the
6516 uc3 variable name instead of referring to the uchar3 built-in type.
6517 Escape the asterisk at the half pointer test.
6518
6519 2011-02-16 Pedro Alves <pedro@codesourcery.com>
6520
6521 * gdb.trace/collection.c (globalarr2): New global.
6522 (main): Initialize it before collecting, and and clear it
6523 afterwards.
6524 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
6525 collecting overlapping memory ranges.
6526
6527 2011-02-15 Michael Snyder <msnyder@vmware.com>
6528
6529 * gdb.base/default.exp: Add tests for thread commands.
6530 * gdb.base/help.exp: Add tests for thread commands.
6531 * gdb.threads/thread-find.exp: New test for thread find command.
6532
6533 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
6534
6535 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
6536
6537 2011-02-15 Yao Qi <yao@codesourcery.com>
6538
6539 PR tdep/12352
6540 * gdb.arch/arm-disp-step.S : New test for str instruction.
6541 * gdb.arch/arm-disp-step.exp : Likewise.
6542
6543 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
6544
6545 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
6546 "vector_register2_vr" test strings. Test the extended floating
6547 point registers (F32~F63).
6548 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
6549 IBM XL C compiler. Make the test program use a register provided
6550 by the compiler for the lxvd2x instruction.
6551
6552 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6553
6554 * gdb.trace/unavailable.cc (class Base, class Middle, class
6555 Derived): New types.
6556 (derived_unavail, derived_partial, derived_whole): New globals.
6557 (virtual_partial): New global.
6558 (virtualp): Point at virtual_partial.
6559 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
6560 related to unavailable vptr.
6561
6562 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6563
6564 * gdb.trace/unavailable.cc (a, b, c): New globals.
6565 (main): Set and clear them.
6566 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
6567 `a' and `c', and check that `b' isn't collected, although `a' and
6568 `c' are.
6569
6570 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6571
6572 * gdb.trace/unavailable.cc (struct Virtual): New.
6573 (virtualp): New global pointer.
6574 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
6575 printing a pointer to an object whose type has a vtable, with
6576 print object on.
6577
6578 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6579
6580 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
6581 value repeat handles unavailableness.
6582
6583 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6584
6585 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
6586 tests for building arrays from unavailable values, subscripting
6587 non-memory rvalue unvailable arrays, and accessing fields or
6588 baseclasses of non-lazy unavailable values,
6589 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
6590 struct types.
6591 (g_smallstruct, g_smallstruct_b): New globals.
6592
6593 2011-02-14 Pedro Alves <pedro@codesourcery.com>
6594
6595 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
6596
6597 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6598
6599 Fix const/volatile qualifiers of C++ types, PR c++/12328.
6600 * gdb.cp/overload-const.exp: New file.
6601 * gdb.cp/overload-const.cc: New file.
6602
6603 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6604
6605 * gdb.opencl/callfuncs.cl: New file.
6606 * gdb.opencl/callfuncs.exp: New test.
6607 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
6608
6609 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
6610
6611 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
6612 when computing result.
6613 * gdb.arch/altivec-abi.exp: Update expected results.
6614
6615 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6616
6617 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
6618 * gdb.base/jit.exp: Likewise.
6619 * gdb.base/pie-execl.exp: Likewise.
6620 * gdb.base/solib-nodir.exp: Likewise.
6621 * gdb.base/solib-overlap.exp: Likewise.
6622
6623 2011-02-07 Pedro Alves <pedro@codesourcery.com>
6624
6625 * gdb.trace/collection.c (global_pieces): New.
6626 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
6627 New procedure.
6628 (gdb_trace_collection_test): Call it.
6629
6630 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
6631
6632 * gdb.python/py-evthreads.c: New file.
6633 * gdb.python/py-evthreads.exp: New file.
6634 * gdb.python/py-events.py: New file.
6635 * gdb.python/py-events.exp: New file.
6636 * gdb.python/py-events.c: New file.
6637
6638 2011-02-04 David Daney <ddaney@caviumnetworks.com>
6639
6640 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
6641
6642 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
6643
6644 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
6645 gdb.base/disasm-end-cu.exp: New test for disassembling over the
6646 boundary between two compilation units.
6647
6648 2011-02-02 Pedro Alves <pedro@codesourcery.com>
6649
6650 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
6651 (Virtual): New structs.
6652 (virtual_o, virtual_middle_b): New globals.
6653 * gdb.cp/virtbase.exp: New tests.
6654
6655 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6656
6657 * gdb.base/jit.exp: New file.
6658 * gdb.base/jit-main.c: New file.
6659 * gdb.base/jit-solib.c: New file.
6660
6661 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
6662
6663 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
6664 proceed to initial kernel entry point.
6665 * gdb.opencl/datatypes.exp: Likewise.
6666 * gdb.opencl/operators.exp: Likewise.
6667 * gdb.opencl/vec_comps.exp: Likewise.
6668
6669 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
6670
6671 * gdb.cp/nsnested.cc: New.
6672 * gdb.cp/nsnested.exp: New.
6673 * gdb.cp/nsnoimports.exp: New.
6674 * gdb.cp/nsnoimports.cc: New.
6675
6676 2011-01-31 Joel Brobecker <brobecker@adacore.com>
6677
6678 * gdb.base/interact.exp: Add extra tests that verify that
6679 the value of the interactive-mode setting does not change
6680 after the script is sourced.
6681
6682 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6683
6684 * gdb.cp/noparam.exp: New file.
6685 * gdb.cp/noparam.cc: New file.
6686
6687 2011-01-28 Pedro Alves <pedro@codesourcery.com>
6688
6689 * gdb.trace/tfile.exp: Test that with no traceframe selected,
6690 there's no stack or registers.
6691
6692 2011-01-26 Tom Tromey <tromey@redhat.com>
6693
6694 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
6695 space before string output. Add test for "set print pretty off"
6696 case.
6697
6698 2011-01-25 Pedro Alves <pedro@codesourcery.com>
6699
6700 * gdb.base/frame-args.exp: Adjust.
6701 * gdb.dwarf2/dw2-noloc.exp: Adjust.
6702 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
6703 * gdb.dwarf2/pieces.exp: Adjust.
6704 * gdb.opt/clobbered-registers-O2.exp: Adjust.
6705 * gdb.opt/inline-locals.exp: Adjust.
6706 * gdb.threads/fork-child-threads.exp: Adjust.
6707
6708 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
6709
6710 * gdb.opencl/convs_casts.cl: Move program scope variables into the
6711 OpenCL kernel function. Add a comment as marker. Add address space
6712 qualifiers for the remaining program scope variables.
6713 * gdb.opencl/datatypes.cl: Likewise.
6714 * gdb.opencl/operators.cl: Likewise.
6715 * gdb.opencl/vec_comps.cl: Likewise.
6716 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
6717 Add breakpoint at the marker comment.
6718 * gdb.opencl/datatypes.exp: Likewise.
6719 * gdb.opencl/operators.exp: Likewise.
6720 * gdb.opencl/vec_comps.exp: Likewise.
6721
6722 2011-01-24 Pedro Alves <pedro@codesourcery.com>
6723
6724 * gdb.base/printcmds.c (some_struct): New struct and instance.
6725 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
6726 procedure.
6727 <global scope>: Call it.
6728
6729 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
6730
6731 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
6732 argument to the gdb_compile_opencl_hostapp call.
6733
6734 2011-01-19 Yao Qi <yao@codesourcery.com>
6735
6736 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
6737 positve list.
6738
6739 2011-01-19 Yao Qi <yao@codesourcery.com>
6740
6741 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
6742 canonical form.
6743 Remove "xscale-*-*"
6744 * gdb.xml/tdesc-regs.exp: Likewise.
6745 * gdb.python/py-section-script.exp: Replace ARM target triplet
6746 with canonical form.
6747 Match arm*-*-symbianelf*.
6748 * gdb.base/dup-sect.exp: Likewise.
6749 * lib/dwarf.exp: New.
6750 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
6751 dwarf2_support.
6752 * gdb.dwarf2/dup-psym.exp: Likewise.
6753 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
6754 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6755 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
6756 * gdb.dwarf2/dw2-basic.exp: Likewise.
6757 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6758 * gdb.dwarf2/dw2-const.exp: Likewise.
6759 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
6760 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
6761 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6762 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
6763 * gdb.dwarf2/dw2-filename.exp: Likewise.
6764 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6765 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
6766 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6767 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6768 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
6769 * gdb.dwarf2/dw2-noloc.exp: Likewise.
6770 * gdb.dwarf2/dw2-op-call.exp: Likewise.
6771 * gdb.dwarf2/dw2-producer.exp: Likewise.
6772 * gdb.dwarf2/dw2-ranges.exp: Likewise.
6773 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
6774 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
6775 * gdb.dwarf2/dw2-strp.exp: Likewise.
6776 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
6777 * gdb.dwarf2/implptr.exp: Likewise.
6778 * gdb.dwarf2/mac-fileno.exp: Likewise.
6779 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
6780 * gdb.dwarf2/pieces.exp: Likewise.
6781 * gdb.dwarf2/pr11465.exp: Likewise.
6782 * gdb.dwarf2/valop.exp: Likewise.
6783 * gdb.dwarf2/watch-notconst.exp: Likewise.
6784 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
6785
6786 2011-01-19 Tom Tromey <tromey@redhat.com>
6787
6788 * gdb.python/py-infthread.exp: Add thread tests.
6789
6790 2011-01-14 Joel Brobecker <brobecker@adacore.com>
6791
6792 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
6793
6794 2011-01-14 Joel Brobecker <brobecker@adacore.com>
6795
6796 * gdb.ada/widewide: New testcase.
6797
6798 2011-01-13 Joel Brobecker <brobecker@adacore.com>
6799
6800 * gdb.base/interact.exp: New testcase.
6801
6802 2011-01-12 Tom Tromey <tromey@redhat.com>
6803
6804 * gdb.mi/gdb2549.exp: Update for error message changes.
6805 * gdb.mi/mi-cli.exp: Likewise.
6806 * gdb.mi/mi-disassemble.exp: Likewise.
6807 * gdb.mi/mi-pthreads.exp: Likewise.
6808 * gdb.mi/mi-regs.exp: Likewise.
6809 * gdb.mi/mi-stack.exp: Likewise.
6810 * gdb.mi/mi-var-block.exp: Likewise.
6811 * gdb.mi/mi-var-cmd.exp: Likewise.
6812 * gdb.mi/mi2-cli.exp: Likewise.
6813 * gdb.mi/mi2-disassemble.exp: Likewise.
6814 * gdb.mi/mi2-pthreads.exp: Likewise.
6815 * gdb.mi/mi2-regs.exp: Likewise.
6816 * gdb.mi/mi2-stack.exp: Likewise.
6817 * gdb.mi/mi2-var-block.exp: Likewise.
6818 * gdb.mi/mi2-var-cmd.exp: Likewise.
6819
6820 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
6821 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 PR fortran/11104 and DWARF unbound arrays detection.
6824 * gdb.fortran/multi-dim.exp: New file.
6825 * gdb.fortran/multi-dim.f90: New file.
6826
6827 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
6828
6829 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
6830 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
6831 add new tests for opcode dumping.
6832
6833 2011-01-11 Tom Tromey <tromey@redhat.com>
6834
6835 * gdb.python/py-infthread.exp: Load gdb-python.exp.
6836
6837 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6838
6839 Convert hardware watchpoints to use breakpoint_ops.
6840 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
6841 type is not supported.
6842 * gdb.base/foll-fork.exp: Likewise.
6843 * gdb.base/foll-vfork.exp: Likewise.
6844
6845 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
6846
6847 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
6848 Use load_lib gdb-python.exp.
6849 * gdb.python/python.exp: Ditto.
6850 * gdb.python/py-function.exp: Ditto.
6851
6852 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
6853
6854 * gdb.threads/tls.exp ("info address me"): Fix expected output.
6855
6856 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 * configure: Regenerate.
6859
6860 2011-01-06 Tom Tromey <tromey@redhat.com>
6861
6862 * gdb.python/py-frame.exp: Test gdb.newest_frame.
6863
6864 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6865
6866 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
6867 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
6868 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6869 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
6870 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
6871 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6872 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
6873 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
6874 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
6875 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
6876 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
6877 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
6878 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
6879 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6880 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6881 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
6882 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
6883 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
6884 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6885 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
6886 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
6887 gdb.ada/uninitialized_vars.exp,
6888 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
6889 Simplify by using clean_restart.
6890
6891 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6892
6893 Add marker to be used as anchor for inserting breakpoints.
6894 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
6895 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
6896 Likewise.
6897
6898 Remove uses of gdb_start_cmd.
6899 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
6900 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
6901
6902 Do not run testcase if testing with GDBserver.
6903 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
6904 if testing with GDBserver.
6905
6906 2011-01-06 Joel Brobecker <brobecker@adacore.com>
6907
6908 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
6909 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
6910 copyright header.
6911
6912 2011-01-05 Joel Brobecker <brobecker@adacore.com>
6913
6914 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
6915 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
6916 testsuite/gdb.fortran/complex.f,
6917 testsuite/gdb.fortran/derived-type.f90,
6918 testsuite/gdb.fortran/library-module-lib.f90,
6919 testsuite/gdb.fortran/library-module-main.f90,
6920 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
6921 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
6922 Copyright year update.
6923
6924 2011-01-05 Joel Brobecker <brobecker@adacore.com>
6925
6926 * gdb.base/langs1.f: Add copyright header.
6927
6928 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 * gdb.base/morestack.exp: New file.
6931 * gdb.base/morestack.c: New file.
6932
6933 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6934
6935 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
6936
6937 2010-12-29 Joel Brobecker <brobecker@adacore.com>
6938
6939 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
6940 * gdb.ada/arrayptr.exp: Add test printing that new variable.
6941
6942 2010-12-29 Joel Brobecker <brobecker@adacore.com>
6943
6944 * gdb.ada/lang_switch.exp: Correct expected parameter value.
6945
6946 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
6947
6948 * gdb.threads/tls.exp: Fix typo.
6949
6950 * gdb.threads/thread-specific.exp (get_thread_list): Update.
6951 * gdb.threads/execl.exp: Update.
6952
6953 2010-12-23 Yao Qi <yao@codesourcery.com>
6954
6955 * gdb.arch/arm-disp-step.exp: New.
6956 * gdb.arch/arm-disp-step.S: New.
6957
6958 2010-12-21 Tom Tromey <tromey@redhat.com>
6959
6960 * gdb.threads/execl.exp: Update.
6961 * gdb.threads/linux-dp.exp: Update.
6962 * gdb.threads/manythreads.exp: Update.
6963 * gdb.threads/tls.exp: Update.
6964
6965 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6966
6967 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
6968 (NextOverThrowDerivates) <resumebpt>: New.
6969 (resumebpt_test): New.
6970 (main): Call resumebpt_test.
6971 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
6972
6973 2010-12-12 Stan Shebs <stan@codesourcery.com>
6974
6975 * gdb.trace/tsv.exp: Test print command on trace state variables.
6976
6977 2010-12-09 Tom Tromey <tromey@redhat.com>
6978
6979 * gdb.base/interp.exp: Add regression test.
6980
6981 2010-12-09 Tom Tromey <tromey@redhat.com>
6982
6983 * gdb.java/jnpe.java: New file.
6984 * gdb.java/jnpe.exp: New file.
6985 * gdb.cp/nextoverthrow.exp: New file.
6986 * gdb.cp/nextoverthrow.cc: New file.
6987
6988 2010-12-07 Doug Evans <dje@google.com>
6989
6990 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
6991 of data-directory.
6992 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
6993 updated.
6994 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
6995
6996 2010-11-29 Michael Snyder <msnyder@vmware.com>
6997
6998 * gdb.base/callfuncs.exp: Test for skip_float_tests.
6999 * gdb.base/call-sc.exp: Ditto.
7000 * gdb.base/finish.exp: Ditto.
7001 * gdb.base/return.exp: Ditto.
7002 * gdb.base/return2.exp: Ditto.
7003
7004 2010-11-30 Doug Evans <dje@google.com>
7005
7006 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
7007 (gdb_expect_list): Fix spelling errors in comments.
7008 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
7009 send_gdb/gdb_expect_list where applicable.
7010 * gdb.base/call-ar-st.exp: Ditto.
7011 * gdb.base/funcargs.exp: Ditto.
7012 * gdb.base/gcore.exp: Ditto.
7013 * gdb.base/page.exp: Ditto.
7014 * gdb.base/sigaltstack.exp: Ditto.
7015 * gdb.base/siginfo.exp: Ditto.
7016 * gdb.base/sigstep.exp: Ditto.
7017 * gdb.base/trace-commands.exp: Ditto.
7018
7019 2010-11-29 Doug Evans <dje@google.com>
7020
7021 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
7022 printer-name;subprinter-name.
7023
7024 2010-11-29 Tom Tromey <tromey@redhat.com>
7025
7026 * gdb.dwarf2/implptr.exp: New file.
7027 * gdb.dwarf2/implptr.c: New file.
7028 * gdb.dwarf2/implptr.S: New file.
7029
7030 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
7031
7032 PR python/12199
7033
7034 * gdb.python/py-breakpoint.exp: Test the delete method.
7035
7036 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7037
7038 Fix step_resume_breakpoint unsaved during an infcall.
7039 * gdb.base/step-resume-infcall.exp: New file.
7040 * gdb.base/step-resume-infcall.c: New file.
7041
7042 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
7043
7044 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
7045
7046 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
7047
7048 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
7049 on ppc64's symbols; "finish" and "return" commands must accept to
7050 show the caller line again as well as the line after.
7051 * gdb.asm/powerpc64.inc: New file.
7052
7053 2010-11-23 Doug Evans <dje@google.com>
7054
7055 * lib/gdb.exp (gdb_test_sequence): New function.
7056 (gdb_expect_list): Add verbose -log call for each pattern.
7057 * gdb.base/signals.exp (test_handle_all_print): Call it.
7058 Reduce timeout increment from 6 minutes to 1 minute.
7059 * gdb.server/ext-run.exp: Call it.
7060
7061 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
7062
7063 PR python/12212
7064
7065 * gdb.python/python.exp: Check that selected_thread raises an
7066 error when no inferior is loaded.
7067
7068 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7069
7070 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
7071 * gdb.dwarf2/dw2-stack-boundary.S: New file.
7072
7073 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
7076 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
7077
7078 2010-11-18 Doug Evans <dje@google.com>
7079
7080 * gdb.server/ext-run.exp: Fix intermittent failures.
7081
7082 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7083
7084 * gdb.stabs/gdb11479.exp: Use runto_main.
7085
7086 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7087
7088 * gdb.base/break-entry.exp: Skip if using a stub.
7089
7090 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
7091
7092 * gdb.python/py-inferior.exp: Pack values in target endianness.
7093
7094 2010-11-12 Tom Tromey <tromey@redhat.com>
7095
7096 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
7097 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
7098 MemoryError.
7099 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
7100 type.
7101 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
7102 MemoryError.
7103 (test_subscript_regression): Update exception type.
7104
7105 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
7106
7107 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
7108 breakpoint tests.
7109
7110 2010-11-09 Pedro Alves <pedro@codesourcery.com>
7111
7112 * gdb.base/watchpoint.exp: Test "watch -location" with an
7113 innacessible location.
7114
7115 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
7116 Luis Machado <luisgpm@br.ibm.com>
7117
7118 * gdb.base/maint.exp: Expect "." prefix.
7119 * gdb.base/nodebug.exp: Expect "." Likewise.
7120 * gdb.base/sepsymtab.exp: Expect "." Likewise.
7121 * gdb.base/watchpoint-cond-gone.exp: Likewise.
7122 * gdb.base/watchpoint.exp: Expect a software watch to be created for
7123 POWER server processors.
7124
7125 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
7126 Luis Machado <luisgpm@br.ibm.com>
7127
7128 * gdb.base/break-entry.exp: convert entry point for
7129 ppc64 and expect leading `.' on ppc64's symbols
7130
7131 2010-11-05 Doug Evans <dje@google.com>
7132
7133 * gdb.base/help.exp: Update expected output.
7134 * gdb.python/py-param.exp: Delete, contents moved to ...
7135 * gdb.python/py-parameter.exp: ... here. New file.
7136 Add test for gdb.parameter ("directories").
7137
7138 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
7139
7140 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
7141 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
7142 * configure: Regenerate.
7143 * gdb.opencl/Makefile.in: New File.
7144 * gdb.opencl/datatypes.exp: Likewise.
7145 * gdb.opencl/datatypes.cl: Likewise.
7146 * gdb.opencl/operators.exp: Likewise.
7147 * gdb.opencl/operators.cl: Likewise.
7148 * gdb.opencl/vec_comps.exp: Likewise.
7149 * gdb.opencl/vec_comps.cl: Likewise.
7150 * gdb.opencl/convs_casts.exp: Likewise.
7151 * gdb.opencl/convs_casts.cl: Likewise.
7152 * lib/opencl.exp: Likewise.
7153 * lib/opencl_hostapp.c: Likewise.
7154 * lib/opencl_kernel.cl: Likewise.
7155 * lib/cl_util.c: Likewise.
7156 * lib/cl_util.c: Likewise.
7157 * gdb.base/default.exp (set language): Add "opencl" to the list of
7158 languages.
7159
7160 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
7161
7162 * gdb.cp/overload.exp: Added test for inheritance overload.
7163 * gdb.cp/overload.cc: Ditto.
7164 * gdb.cp/oranking.exp: Removed releveant kfails.
7165
7166 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7167 Joel Brobecker <brobecker@adacore.com>
7168
7169 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
7170 check test_compiler_info.
7171
7172 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
7173
7174 * gdb.base/gnu_vector.exp: Adjust expect messages.
7175
7176 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
7177
7178 * gdb.base/gnu_vector.exp: Add unary operator tests.
7179
7180 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
7181
7182 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
7183
7184 2010-11-02 Doug Evans <dje@google.com>
7185
7186 * gdb.python/py-pp-maint.c: New file.
7187 * gdb.python/py-pp-maint.exp: New file.
7188 * gdb.python/py-pp-maint.py: New file.
7189
7190 2010-11-02 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.base/default.exp: Remove "scheme" from language list.
7193
7194 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
7196 Revert:
7197 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7198 * gdb.threads/sigstep-threads.exp: New file.
7199 * gdb.threads/sigstep-threads.c: New file.
7200
7201 2010-10-20 Michael Snyder <msnyder@vmware.com>
7202
7203 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
7204
7205 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7206
7207 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
7208 Skip test completely if gdb,no_hardware_watchpoints.
7209
7210 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
7211
7212 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
7213 strict, but do not check for any particular function name within libc.
7214
7215 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7216
7217 * gdb.cp/smartp.exp: New test.
7218 * gdb.cp/smartp.cc : New test.
7219
7220 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
7221
7222 * gdb.cp/converts.exp: Test pointer to bool conversion.
7223 Test pointer to long conversion.
7224 * gdb.cp/oranking.exp: Removed relevant kfail.
7225
7226 2010-10-18 Tom Tromey <tromey@redhat.com>
7227
7228 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
7229 argument to lazy_string.
7230 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
7231 (pp_ls.to_string): Use it.
7232 * gdb.python/py-prettyprint.c (main): Move declarations to top.
7233 Add "estring2" local.
7234
7235 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 Fix s390x compatibility.
7238 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
7239 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
7240
7241 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7242
7243 * gdb.threads/sigstep-threads.exp: New file.
7244 * gdb.threads/sigstep-threads.c: New file.
7245
7246 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.base/pie-execl.exp: New file.
7249 * gdb.base/pie-execl.c: New file.
7250
7251 2010-10-13 Doug Evans <dje@google.com>
7252 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 PR exp/12117
7255 * gdb.cp/ptype-cv-cp.cc: New file.
7256 * gdb.cp/ptype-cv-cp.exp: New file.
7257
7258 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
7259
7260 * gdb.cp/converts.cc: New test program.
7261 * gdb.cp/converts.exp: New test.
7262 * gdb.cp/overload.exp: Added test for void* vs int*.
7263 * gdb.cp/overload.exp: Ditto.
7264 * gdb.cp/oranking.exp: Removed related kfail.
7265
7266 2010-10-13 Doug Evans <dje@google.com>
7267
7268 * lib/gdb-python.exp (gdb_check_python_config): New function.
7269 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
7270 * gdb.python/lib-types.cc: New file.
7271 * gdb.python/lib-types.exp: New file.
7272
7273 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7274
7275 * gdb.python/py-error.exp: New file.
7276 * gdb.python/py-error.py: New file.
7277
7278 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7279
7280 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
7281 gdb_test_multiple.
7282
7283 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 * gdb.base/break-interp.exp: Use ldlags for linking flags.
7286 * gdb.base/prelink.exp: Likewise.
7287 * gdb.base/solib-nodir.exp: Likewise.
7288 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
7289 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
7290 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
7291
7292 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
7293
7294 * break-interp.exp (test_ld): Use two separate gdb_expect statements
7295 for the "info files" test to avoid timeouts on slow machines.
7296
7297 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
7300 (main): Make openlib dummy call.
7301
7302 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7303
7304 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
7305 * break-interp.exp (reach): Move the core body ...
7306 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
7307 (test_ld): Provide always real argument, even to the linker. Replace
7308 dl_main by _dl_debug_state.
7309
7310 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7311
7312 Fix results of prelinked PIEs on ppc*.
7313 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
7314 Accept also DISPLACEMENT "PRESENT".
7315 (main): Replace "ZERO" displacements by "PRESENT".
7316
7317 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
7318
7319 * gdb.cp/oranking.exp: New test.
7320 * gdb.cp/oranking.cc: New test program.
7321
7322 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
7323
7324 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
7325 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
7326
7327 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
7328
7329 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
7330 lush, lynx) New constant.
7331 * gdb.base/constvars.exp: Test const array types.
7332 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
7333
7334 2010-10-06 Doug Evans <dje@google.com>
7335
7336 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
7337 of syscall staging area.
7338
7339 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
7340
7341 * gdb.base/gnu_vector.c: Add variable c4.
7342 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
7343 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
7344
7345 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
7346
7347 * gdb.arch/altivec-abi.exp: Fix a typo.
7348
7349 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
7350
7351 * lib/mi-support.exp (thread_selected_re): Correct pattern used
7352 to match a thread ID.
7353
7354 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7355
7356 Fix s390x testcase compatibility.
7357 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
7358
7359 2010-10-01 Doug Evans <dje@google.com>
7360
7361 * lib/gdb-python.exp: New file.
7362 * gdb.python/py-block.exp: Use it.
7363 * gdb.python/py-breakpoint.exp: Ditto.
7364 * gdb.python/py-frame.exp: Ditto.
7365 * gdb.python/py-inferior.exp: Ditto.
7366 * gdb.python/py-param.exp: Ditto.
7367 * gdb.python/py-prettyprint.exp: Ditto.
7368 * gdb.python/py-shared.exp: Ditto.
7369 * gdb.python/py-symbol.exp: Ditto.
7370 * gdb.python/py-symtab.exp: Ditto.
7371 * gdb.python/py-type.exp: Ditto.
7372 * gdb.python/py-value.exp: Ditto.
7373 * gdb.python/python.exp: Ditto.
7374
7375 2010-09-30 Tom Tromey <tromey@redhat.com>
7376
7377 * gdb.base/anon.exp: New file.
7378 * gdb.base/anon.c: New file.
7379
7380 2010-09-30 Tom Tromey <tromey@redhat.com>
7381
7382 * gdb.base/completion.exp: Test completion through anonymous
7383 union.
7384 * gdb.base/break1.c (struct some_struct): Add anonymous union.
7385
7386 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7387
7388 Fix printing parameters of inlined functions.
7389 * gdb.dwarf2/dw2-inline-param.exp: New file.
7390 * gdb.dwarf2/dw2-inline-param-main.c: New file.
7391 * gdb.dwarf2/dw2-inline-param.S: New file.
7392
7393 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7394
7395 PR corefiles/12071.
7396 * gdb.base/corefile.exp (quit with a process, no question: load core)
7397 (quit with a core file): New tests.
7398
7399 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7400
7401 Fix GDB crash on inferior calls with self-referencing classes.
7402 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
7403 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
7404 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
7405
7406 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7407
7408 Fix lost siginfo_t for inferior calls.
7409 * gdb.base/siginfo-infcall.exp: New file.
7410 * gdb.base/siginfo-infcall.c: New file.
7411
7412 2010-09-22 Joel Brobecker <brobecker@adacore.com>
7413
7414 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
7415
7416 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7417
7418 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
7419 New test.
7420 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
7421
7422 2010-09-22 Joel Brobecker <brobecker@adacore.com>
7423
7424 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
7425 type of our const type.
7426
7427 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
7428
7429 * gdb.cp/pr12028.cc: New.
7430 * gdb.cp/pr12028.exp: New.
7431
7432 2010-09-22 Joel Brobecker <brobecker@adacore.com>
7433
7434 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
7435
7436 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
7437 Jan Kratochvil <jan.kratochvil@redhat.com>
7438
7439 PR mi/11407
7440 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
7441 * gdb.mi/dw2-ref-missing-frame-main.c New File.
7442 * gdb.mi/dw2-ref-missing-frame.S New File.
7443 * gdb.mi/dw2-ref-missing-frame.exp New File.
7444
7445 2010-09-14 Tom Tromey <tromey@redhat.com>
7446
7447 PR symtab/8399:
7448 * gdb.threads/tls.exp: Remove kfail. Update expected output.
7449
7450 2010-09-14 Tom Tromey <tromey@redhat.com>
7451
7452 PR exp/11803:
7453 * gdb.threads/tls.exp: Use C++.
7454 (check_thread_local): Use K::another_thread_local.
7455 * gdb.threads/tls.c (class K): New.
7456 (another_thread_local): Now a member of K.
7457 (spin): Update. No longer K&R C.
7458
7459 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7460
7461 * gdb.cp/koenig.cc: created class for testing member lookup.
7462 * gdb.cp/koenig.exp: Added test for member lookup.
7463
7464 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7465
7466 Fix false FAILs on sourcetree topdir directory containing "kill".
7467 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
7468 source line matching regexp.
7469
7470 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7471
7472 * gdb.python/python.exp (set height 0, collect help from uiout)
7473 (verify help to uiout): New tests.
7474
7475 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7476
7477 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
7478 is_lp64_target to check 64bit target.
7479
7480 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7481
7482 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
7483 (test_ld) <powerpc64-*>: New.
7484
7485 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7486
7487 * gdb.cp/templates.exp (test_template_args): Allow "struct".
7488
7489 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7490
7491 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
7492 (FunctionArg::method): New function.
7493 (empty, arg): New variables.
7494 (main): Call arg.method.
7495 * gdb.cp/templates.exp (test_template_args): New function.
7496 (do_tests): Call it.
7497
7498 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7499
7500 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
7501 of "next" to proceed over pthread_exit call.
7502
7503 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
7504
7505 * gdb.base/maint.exp: Avoid wildcards against potentially very long
7506 "maint print statistics" output to prevent expect timeouts.
7507
7508 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7509
7510 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
7511 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7512 (test_float_rejected): ... here.
7513 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
7514 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7515 (test_float_rejected): ... here.
7516 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
7517 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7518 (test_float_rejected): ... here.
7519 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
7520 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
7521 (test_float_rejected): ... here.
7522
7523 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7524
7525 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
7526 before disabling hardware watchpoints.
7527 (test_inaccessible_watchpoint): Check that hardware watchpoints
7528 are used. Test for watchpoints on a constant address.
7529
7530 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7531
7532 * gdb.base/ui-redirect.exp: New file.
7533
7534 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7535 Joel Brobecker <brobecker@adacore.com>
7536
7537 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
7538
7539 2010-08-31 Doug Evans <dje@google.com>
7540
7541 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
7542
7543 2010-08-30 Tom Tromey <tromey@redhat.com>
7544
7545 PR python/11792:
7546 * gdb.python/py-value.exp (test_subscript_regression): Add
7547 dynamic_type test.
7548
7549 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
7550
7551 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
7552 instead of running to main. Do not test the main function.
7553 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
7554 Add new main.
7555
7556 2010-08-26 Pedro Alves <pedro@codesourcery.com>
7557
7558 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
7559 one test.
7560
7561 2010-08-24 Doug Evans <dje@google.com>
7562
7563 PR symtab/11942
7564 * gdb.dwarf2/dw4-sig-types.cc: New file.
7565 * gdb.dwarf2/dw4-sig-types.h: New file.
7566 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
7567 * gdb.dwarf2/dw4-sig-types.exp: New file.
7568
7569 2010-08-23 Tom Tromey <tromey@redhat.com>
7570
7571 PR python/11145:
7572 * gdb.python/py-value.c (Base, Derived): New types.
7573 (base): New global.
7574 * gdb.python/py-value.exp (test_subscript_regression): Add
7575 dynamic_cast test.
7576
7577 2010-08-23 Tom Tromey <tromey@redhat.com>
7578
7579 PR python/10676:
7580 * gdb.python/py-type.exp (test_fields): Add tests for type
7581 equality.
7582
7583 2010-08-23 Tom Tromey <tromey@redhat.com>
7584
7585 PR python/11915:
7586 * gdb.python/py-type.exp (test_fields): Add tests for array.
7587
7588 2010-08-23 Keith Seitz <keiths@redhat.com>
7589
7590 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
7591 have any children. Create a new abbrev for it.
7592 Add missing terminal sequence to .debug_abbrev.
7593
7594 2010-08-20 Keith Seitz <keiths@redhat.com>
7595
7596 PR symtab/11465:
7597 * gdb.dwarf2/pr11465.exp: New test.
7598 * gdb.dwarf2/pr11465.S: New file.
7599 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
7600 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
7601
7602 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
7603
7604 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
7605 registers. Update data sets with the new v2_double element in the
7606 VSX register union. Add vector_register3_vr data set for the AltiVec
7607 registers. Use gdb_test_no_output instead of send_gdb.
7608
7609 2010-08-19 Pedro Alves <pedro@codesourcery.com>
7610
7611 * gdb.python/py-shared.exp: New file, factored out from
7612 python.exp.
7613 * gdb.python/py-shared.c: New file.
7614 * gdb.python/py-shared-sl.c: New file.
7615 * gdb.python/python-1.c: New file.
7616 * gdb.python/python-sl.c: Delete.
7617 * gdb.python/python.c: Mention python-1.c.
7618 * gdb.python/python.exp: Move shared library tests to
7619 py-shared.exp.
7620 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
7621 (MISCELLANEOUS): New.
7622 (clean mostlyclean): Also remove $MISCELLANEOUS.
7623
7624 2010-08-19 Doug Evans <dje@google.com>
7625
7626 PR exp/11926
7627 * gdb.base/printcmds.exp (test_float_accepted): New function.
7628 Move existing float tests there. Add tests for floats with suffixes.
7629 (test_float_rejected): New function.
7630 * gdb.java/jv-print.exp (test_float_accepted): New function.
7631 (test_float_rejected): New function.
7632 * gdb.objc/print.exp: New file.
7633 * gdb.pascal/print.exp: New file.
7634 * lib/objc.exp: New file.
7635
7636 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
7637
7638 * gdb.base/default.exp (info set): Avoid full buffer error and force
7639 reading up to final gdb prompt.
7640 (show): Likewise.
7641
7642 2010-08-18 Tom Tromey <tromey@redhat.com>
7643
7644 PR symtab/11919:
7645 * gdb.base/completion.exp: Add test.
7646
7647 2010-08-18 Doug Evans <dje@google.com>
7648
7649 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
7650 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
7651 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
7652 Simplify, early exit if runto_main fails.
7653 * gdb.fortran/exprs.exp: load_lib fortran.exp.
7654 (set_lang_fortran): Moved to lib/fortran.exp.
7655 * gdb.fortran/types.exp: load_lib fortran.exp.
7656 (set_lang_fortran): Moved to lib/fortran.exp.
7657 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
7658 * gdb.java/jprint.exp (set_lang_java): Ditto.
7659 * gdb.java/jv-exp.exp: load_lib java.exp.
7660 If set_lang_java fails, issue a warning instead of failure to be
7661 consistent with other set_lang_foo uses.
7662 (set_lang_java): Moved to lib/java.exp.
7663 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
7664 If set_lang_java fails, issue a warning instead of failure to be
7665 consistent with other set_lang_foo uses.
7666 * gdb.pascal/types.exp: load_lib pascal.exp.
7667 (set_lang_pascal): Moved to lib/pascal.exp.
7668 * lib/fortran.exp: New file.
7669 * lib/java.exp (set_lang_java): New function.
7670 * lib/pascal.exp (set_lang_pascal): New function.
7671
7672 2010-08-18 Yao Qi <yao@codesourcery.com
7673
7674 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
7675 func_nofb_start and func_loopfb_start, so that address of functions
7676 is equal to these labels on Thumb.
7677
7678 2010-08-18 Yao Qi <yao@codesourcery.com>
7679
7680 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
7681 to reflect latest c source file.
7682
7683 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 * gdb.cp/infcall-dlopen.exp: New file.
7686 * gdb.cp/infcall-dlopen.cc: New file.
7687 * gdb.cp/infcall-dlopen-lib.cc: New file.
7688
7689 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7690 Pedro Alves <pedro@codesourcery.com>
7691
7692 PR breakpoints/11371
7693
7694 * gdb.base/watch-cond-infcall.exp: New file.
7695 * gdb.base/watch-cond-infcall.c: New file.
7696
7697 2010-08-16 Tom Tromey <tromey@redhat.com>
7698
7699 * gdb.base/help.exp: Update.
7700 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
7701 watchpoint.
7702 (test_watch_location): New proc.
7703 (test_watchpoint_in_big_blob): Delete watchpoint.
7704 * gdb.base/watchpoint.c (func5): New function.
7705 (main): Call it.
7706
7707 2010-08-16 Doug Evans <dje@google.com>
7708
7709 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
7710
7711 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7712
7713 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
7714 tests.
7715
7716 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
7717
7718 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
7719 * gdb.base/gnu_vector.c: New File.
7720 * gdb.base/gnu_vector.exp: Likewise.
7721
7722 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
7723
7724 * gdb.python/python.c: New File.
7725 * gdb.python/python-sl.c: New File.
7726 * gdb.python/python.exp: Test solib_address and decode_line
7727 * functions.
7728
7729 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7730
7731 * gdb.python/python.exp (show height, set height 10)
7732 (verify pagination beforehand, verify pagination beforehand: q)
7733 (gdb.execute does not page, verify pagination afterwards)
7734 (verify pagination afterwards: q): New.
7735
7736 2010-08-02 Doug Evans <dje@google.com>
7737
7738 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
7739 because of an older gcc, change test2
7740 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
7741 to unsupported.
7742
7743 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
7744
7745 * gdb.base/break-always.exp: Do not expect full paths to file
7746 names.
7747 * gdb.base/commands.exp: Likewise.
7748
7749 2010-07-30 Doug Evans <dje@google.com>
7750
7751 * gdb.cp/temargs.exp: For new tests that require newer gccs,
7752 xfail them when run with older gccs.
7753
7754 * lib/gdb.exp (build_executable): Forward "c++" option to
7755 get_compiler_info.
7756
7757 * gdb.python/py-type.exp (test_template): Mark as xfail tests
7758 "python print ttype.template_argument(1)" and
7759 "python print isinstance(ttype.template_argument(1), gdb.Value)"
7760 if using gcc 4.4 or earlier.
7761
7762 * gdb.base/valgrind-db-attach.exp: Use unique test name for
7763 attach-to-debugger handling.
7764
7765 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7766
7767 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
7768 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
7769 (main): Use copyreloc.
7770 * gdb.base/prelink.exp (split debug of executable)
7771 (.dynbss vs. .bss address shift): New tests.
7772
7773 2010-07-29 Pedro Alves <pedro@codesourcery.com>
7774
7775 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
7776 in gdb_test_multiple.
7777
7778 2010-07-29 Pedro Alves <pedro@codesourcery.com>
7779
7780 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
7781 environment.
7782
7783 2010-07-28 Tom Tromey <tromey@redhat.com>
7784
7785 PR python/11060:
7786 * gdb.python/py-type.c (Temargs): New template.
7787 (temvar): New variable.
7788 * gdb.python/py-type.exp (test_template): New proc.
7789
7790 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7791
7792 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
7793 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
7794
7795 2010-07-28 Tom Tromey <tromey@redhat.com>
7796
7797 PR c++/9946:
7798 * gdb.cp/temargs.exp: New file.
7799 * gdb.cp/temargs.cc: New file.
7800
7801 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7802
7803 * gdb.base/help.exp (help disassemble): Update the content.
7804
7805 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7806
7807 * gdb.threads/ia64-sigill.exp: New file.
7808 * gdb.threads/ia64-sigill.c: New file.
7809
7810 2010-07-27 Tom Tromey <tromey@redhat.com>
7811
7812 * gdb.opt/inline-cmds.c (ATTR): New define.
7813 (func1): Use it.
7814 (func2): Likewise.
7815 (func3): Likewise.
7816 (outer_inline1): Likewise.
7817 (outer_inline2): Likewise.
7818 * gdb.opt/inline-bt.c (ATTR): New define.
7819 (func1): Use it.
7820 (func2): Likewise.
7821 * gdb.opt/inline-locals.c (ATTR): New define.
7822 (func1): Use it.
7823 (func2): Likewise.
7824
7825 2010-07-27 Tom Tromey <tromey@redhat.com>
7826
7827 * gdb.stabs/gdb11479.c (hack): New function.
7828 (test): Use it.
7829 (test2): Use it.
7830 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
7831 (int32_search_buf, int64_search_buf): No longer static.
7832 (x): Remove.
7833 * gdb.base/relocate.c (hack): New function.
7834
7835 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
7836
7837 * gdb.python/py-value.exp (test_inferior_function_call): New function.
7838 * gdb.python/py-value.c (func1): New function.
7839 (func2): Likewise.
7840
7841 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
7842
7843 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
7844 as not to clash with .data section.
7845
7846 2010-07-26 Jerome Guitton <guitton@adacore.com>
7847
7848 * gdb.base/code_elim.exp: New file.
7849 * gdb.base/code_elim1.c: New file.
7850 * gdb.base/code_elim2.c: New file.
7851
7852 2010-07-21 Pedro Alves <pedro@codesourcery.com>
7853
7854 PR symtab/11827
7855
7856 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
7857 (some_volatile_enum): New variable.
7858 * gdb.base/printcmds.exp (test_print_enums): New.
7859 <top level>: Call it.
7860
7861 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
7862
7863 * gdb.cp/fpointer.cc: New test.
7864 * gdb.cp/fpointer.exp: New test.
7865
7866 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 * gdb.base/solib-nodir.exp: New file.
7869 * lib/gdb.exp (runto): New case for a GDB internal error.
7870
7871 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7872 Ulrich Weigand <uweigand@de.ibm.com>
7873 Tom Tromey <tromey@redhat.com>
7874
7875 * gdb.base/charset-malloc.c: New file.
7876 * gdb.base/charset.c (malloc_stub): New prototype.
7877 (main): Call it instead of malloc itself.
7878 * gdb.base/charset.exp: Use only prepare_for_testing.
7879 (binfile): Remove the variable.
7880
7881 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7882
7883 Make core files the process_stratum.
7884 * gdb.base/corefile.exp (run: load core again)
7885 (run: sanity check we see the core file, run: with core)
7886 (run: core file is cleared, attach: load core again)
7887 (attach: sanity check we see the core file, attach: with core)
7888 (attach: core file is cleared): New tests.
7889 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
7890
7891 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
7892
7893 * gdb.arch/altivec-abi.exp: New tests.
7894
7895 2010-07-13 Tom Tromey <tromey@redhat.com>
7896
7897 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
7898 (main): Use it.
7899 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
7900
7901 2010-07-13 Tom Tromey <tromey@redhat.com>
7902
7903 * gdb.base/label.exp: New file.
7904 * gdb.base/label.c: New file.
7905
7906 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
7907 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 * lib/gdb.exp (is_ilp32_target): New.
7910 (is_lp64_target): Likewise.
7911
7912 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
7913 target.
7914 * gdb.arch/amd64-disp-step.exp: Likewise.
7915 * gdb.arch/amd64-dword.exp: Likewise.
7916 * gdb.arch/amd64-i386-address.exp: Likewise.
7917 * gdb.arch/amd64-word.exp: Likewise.
7918
7919 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
7920 target.
7921 * gdb.arch/i386-bp_permanent.exp: Likewise.
7922 * gdb.arch/i386-byte.exp: Likewise.
7923 * gdb.arch/i386-disp-step.exp: Likewise.
7924 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7925 * gdb.arch/i386-prologue.exp: Likewise.
7926 * gdb.arch/i386-size-overlap.exp: Likewise.
7927 * gdb.arch/i386-size.exp: Likewise.
7928 * gdb.arch/i386-sse.exp: Likewise.
7929 * gdb.arch/i386-unwind.exp: Likewise.
7930 * gdb.arch/i386-word.exp: Likewise.
7931
7932 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
7933 test only when building 64-bit executables. Do not hard-code
7934 -m64 option.
7935
7936 2010-07-07 Doug Evans <dje@google.com>
7937
7938 * lib/gdb.exp (gdb_test_list_exact): New function.
7939 * gdb.base/default.exp (show convenience): Call it, add tests for
7940 $_sdata = void, $_thread = 0.
7941
7942 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7943 Joel Brobecker <brobecker@adacore.com>
7944
7945 Fix re-run of PIE executable, PR shlibs/11776.
7946 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
7947 Remove $displacement_main to match the solib-svr4.c change. New "kill"
7948 and re-"run" of the inferior.
7949
7950 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7951 Joel Brobecker <brobecker@adacore.com>
7952
7953 Cope with missing /usr/sbin/prelink.
7954 * lib/prelink-support.exp (prelink_no):
7955 <result == 1 && $output is "no such file or directory">: New.
7956 (prelink_yes): Likewise. Return on failed prelink_no.
7957
7958 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7959 Joel Brobecker <brobecker@adacore.com>
7960
7961 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
7962 build_executable by build_executable_own_libs. Replace "prelink -R"
7963 execution by a call of prelink_yes. Comment why "prelink -r" needs no
7964 change.
7965 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
7966 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
7967 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
7968 Replace build_executable by build_executable_own_libs's function
7969 build_executable_own_libs.
7970 (prelinkNO): Create new stub to call prelink_no.
7971 (prelinkYES): Create new stub to call prelink_yes.
7972 (test_attach): Rename calls of copy to file_copy.
7973 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
7974 (copy): Move to ...
7975 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
7976 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
7977 * gdb.base/prelink.exp: Disable testcase also for is_remote and
7978 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
7979 special flags by gdb_compile_shlib. Replace second gdb_compile by
7980 build_executable_own_libs. Replace "prelink -R" execution by a call of
7981 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
7982 a second call of prelink_yes. Replace restart commands by
7983 clean_restart.
7984 (prelink): Rename to ...
7985 (seen displacement message): ... this test. Extend its expectation
7986 strictness.
7987
7988 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7989
7990 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
7991 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
7992 displacement message exactly once.
7993
7994 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7995 Joel Brobecker <brobecker@adacore.com>
7996
7997 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
7998 its restore after the <$relink_args != ""> loop. new comment.
7999
8000 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8001 Joel Brobecker <brobecker@adacore.com>
8002
8003 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
8004 code for it. New variable relink_args.
8005 (prelinkYES): Call prelinkNO.
8006 (test_attach): Accept new parameter relink_args. Re-prelink the binary
8007 in such case. Move the core code to ...
8008 (test_attach_gdb): ... a new function. Send GDB command "file".
8009 Extend expected "Attaching to " string.
8010
8011 2010-07-02 Tom Tromey <tromey@redhat.com>
8012
8013 * gdb.base/bitops.exp: Remove extraneous "pass".
8014
8015 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
8016
8017 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8018
8019 2010-07-01 Pedro Alves <pedro@codesourcery.com>
8020
8021 * gdb.base/help.exp: Adjust expected output.
8022
8023 2010-07-01 Pedro Alves <pedro@codesourcery.com>
8024
8025 * gdb.base/help.exp: Adjust expected output.
8026
8027 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8028
8029 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
8030 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
8031 c++/11702.
8032
8033 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8034 Doug Evans <dje@google.com>
8035
8036 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
8037 add .dynamic entry'.
8038
8039 2010-06-29 Doug Evans <dje@google.com>
8040
8041 Test PR c++/11702.
8042 * gdb.cp/m-static.exp: Add testcase.
8043 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
8044
8045 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
8046 Tom Tromey <tromey@redhat.com>
8047 Thiago Jung Bauermann <bauerman@br.ibm.com>
8048
8049 * gdb.python/py-inferior.c: New File.
8050 * gdb.python/py-infthread.c: New File.
8051 * gdb.python/py-inferior.exp: New File.
8052 * gdb.python/py-infthread.exp: New File.
8053
8054 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8055
8056 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
8057 (ptype ::C::OtherFileClass typedefs): New.
8058 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
8059 (C::OtherFileClass::cOtherFileClassVar2): New.
8060 (C::OtherFileClass::cOtherFileClassVar_use): Use also
8061 cOtherFileClassVar2.
8062 (C::cOtherFileType2, C::cOtherFileVar2): New.
8063 (C::cOtherFileVar_use): use also cOtherFileVar2.
8064 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
8065
8066 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8067
8068 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
8069 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
8070 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
8071 (print ::C::cOtherFileVar)
8072 (whatis C::OtherFileClass::cOtherFileClassType)
8073 (whatis ::C::OtherFileClass::cOtherFileClassType)
8074 (print C::OtherFileClass::cOtherFileClassVar)
8075 (print ::cOtherFileClassVar)
8076 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
8077 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
8078 trailing content.
8079 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
8080 (C::OtherFileClass::cOtherFileClassVar)
8081 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
8082 (C::cOtherFileVar, C::cOtherFileVar_use): New.
8083
8084 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8085
8086 Test PR c++/11703 and PR gdb/1448.
8087 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
8088 gdb/1448.
8089
8090 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
8093 (main) <rtti_data>: New.
8094 * gdb.cp/virtbase.exp (print rtti_data): New.
8095
8096 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8097 Joel Brobecker <brobecker@adacore.com>
8098
8099 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
8100
8101 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
8104
8105 2010-06-28 Doug Evans <dje@google.com>
8106
8107 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
8108
8109 2010-06-27 Doug Evans <dje@google.com>
8110
8111 * gdb.cp/m-static.exp: Update expected test output.
8112
8113 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
8114
8115 * gdb.gdb/selftest.exp: Adjust expected message for
8116 capturing start-up runtime.
8117
8118 2010-06-25 Tom Tromey <tromey@redhat.com>
8119
8120 PR python/10808:
8121 * gdb.python/python.exp: Add new tests.
8122
8123 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
8124
8125 * gdb.cp/operator.cc: Created an import loop.
8126 * gdb.cp/operator.exp: Added testcase for import loop.
8127
8128 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8129
8130 Test PR python/11407.
8131 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
8132 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
8133 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
8134 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
8135 executable_nofb and executable_fb. New variables srcsfile, objsfile,
8136 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
8137 binfile. Call gdb_compile with clean_restart twice.
8138 (func_nofb print, func_nofb backtrace, func_loopfb print)
8139 (func_loopfb backtrace): New.
8140
8141 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
8144 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
8145 by a hand made one.
8146 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
8147 i?86 requirement. Remove variables srcfile and binfile. New variable
8148 sources, executable_nofb and executable_fb. Call prepare_for_testing.
8149
8150 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8151
8152 * gdb.cell/dwarfaddr.exp: New file.
8153 * gdb.cell/dwarfaddr.S: New file.
8154
8155 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8156
8157 Test PR 9436.
8158 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
8159
8160 2010-06-24 Hui Zhu <teawater@gmail.com>
8161
8162 * gdb.base/eval.exp: New file.
8163
8164 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8165
8166 * gdb.cell/fork.exp: New file.
8167 * gdb.cell/fork.c: Likewise.
8168 * gdb.cell/fork-spu.c: Likewise.
8169
8170 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
8171
8172 * lib/gdb.exp (banned_variables_traced): New global variable.
8173 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
8174 (gdb_init): Use `trace add variable' instead of obsolete
8175 `trace variable'.
8176
8177 2010-06-21 Doug Evans <dje@google.com>
8178
8179 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
8180
8181 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8182
8183 * gdb.arch/spu-ls.exp: New file.
8184 * gdb.arch/spu-ls.c: Likewise.
8185
8186 2010-06-18 Stan Shebs <stan@codesourcery.com>
8187
8188 * gdb.threads/thread-specific.exp: Add tests of $_thread.
8189
8190 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8191
8192 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
8193 * gdb.base/watch-cond.exp: Likewise.
8194 * gdb.python/py-breakpoint.exp: Likewise.
8195
8196 2010-06-18 Pedro Alves <pedro@codesourcery.com>
8197
8198 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
8199 clean_restart, make sure every test has a distinct message, and
8200 that messages don't include the executable' full path.
8201
8202 2010-06-17 Doug Evans <dje@google.com>
8203
8204 * gdb.arch/i386-size.exp: Updated expected output for
8205 DISASSEMBLY_OMIT_FNAME.
8206
8207 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8208 Sergio Durigan Junior <sergiodj@redhat.com>
8209
8210 * gdb.base/watch-notconst.c: New file.
8211 * gdb.base/watch-notconst.S: New file.
8212 * gdb.base/watch-notconst2.c: New file.
8213 * gdb.base/watch-notconst2.S: New file.
8214 * gdb.base/watch-notconst.exp: New file.
8215 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
8216 (func4): Add operations on `global_ptr_ptr'.
8217 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
8218 routine to test watchpoints created with a constant expression.
8219 (test_inaccessible_watchpoint): Include tests for watchpoints
8220 created with a constant expression.
8221
8222 2010-06-14 Kevin Buettner <kevinb@redhat.com>
8223
8224 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8225 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
8226 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
8227 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
8228 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8229 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8230 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
8231 of `_start'.
8232
8233 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8234
8235 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
8236 not supported on the target.
8237 * gdb.mi/mi-nonstop-exit.exp: Likewise.
8238 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8239 * gdb.mi/mi-nsintrall.exp: Likewise.
8240 * gdb.mi/mi-nsmoribund.exp: Likewise.
8241 * gdb.mi/mi-nsthrexec.exp: Likewise.
8242
8243 2010-06-11 Stan Shebs <stan@codesourcery.com>
8244
8245 * gdb.base/permissions.exp: New file.
8246
8247 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8248
8249 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
8250 does not support ELF executable class.
8251
8252 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8253
8254 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
8255
8256 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
8259 (runto): Catch "The target does not support running in non-stop mode.".
8260
8261 2010-06-11 Michael Snyder <msnyder@vmware.com>
8262
8263 * gdb.base/setshow.exp (set language asm): Don't use
8264 gdb_test_no_output, fails on some targets.
8265
8266 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8267
8268 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
8269 * gdb.cp/pr9167.exp: Likewise.
8270
8271 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8272
8273 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
8274
8275 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8276
8277 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
8278
8279 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8280
8281 * gdb.base/charset.c (main): Make sure malloc gets linked in.
8282
8283 2010-06-11 Tom Tromey <tromey@redhat.com>
8284
8285 PR gdb/9977, PR exp/11636::
8286 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
8287 (pieces_test_f6): Update expected output.
8288
8289 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8290
8291 * gdb.base/moribund-step.exp: New.
8292
8293 2010-06-08 Michael Snyder <msnyder@vmware.com>
8294
8295 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
8296 * gdb.ada/boolean_expr.exp:
8297 * gdb.ada/frame_args.exp: Ditto.
8298 * gdb.ada/lang_switch.exp: Ditto.
8299 * gdb.ada/ptype_arith_binop.exp: Ditto.
8300 * gdb.ada/ref_param.exp: Ditto.
8301 * gdb.ada/type_coercion.exp:Ditto.
8302
8303 * gdb.asm/asm-source.exp: Ditto.
8304
8305 * gdb.base/attach.exp: Ditto.
8306 * gdb.base/bitfields2.exp: Ditto.
8307 * gdb.base/call-signal-resume.exp: Ditto.
8308 * gdb.base/callfuncs.exp: Ditto.
8309 * gdb.base/commands.exp: Ditto.
8310 * gdb.base/dbx.exp: Ditto.
8311 * gdb.base/default.exp: Ditto.
8312 * gdb.base/dump.exp: Ditto.
8313 * gdb.base/exprs.exp: Ditto.
8314 * gdb.base/freebpcmd.exp: Ditto.
8315 * gdb.base/interrupt.exp: Ditto.
8316 * gdb.base/list.exp: Ditto.
8317 * gdb.base/long_long.exp: Ditto.
8318 * gdb.base/maint.exp: Ditto.
8319 * gdb.base/ptype.exp: Ditto.
8320 * gdb.base/return.exp: Ditto.
8321 * gdb.base/setshow.exp: Ditto.
8322 * gdb.base/sigbpt.exp: Ditto.
8323 * gdb.base/sigrepeat.exp: Ditto.
8324
8325 * gdb.cp/classes.exp: Ditto.
8326
8327 * gdb.dwarf2/dw2-restore.exp: Ditto.
8328
8329 * gdb.gdb/selftest.exp: Ditto.
8330
8331 * gdb.multi/base.exp: Ditto.
8332 * gdb.multi/bkpt-multi-exec.exp: Ditto.
8333
8334 * gdb.python/py-block.exp: Ditto.
8335 * gdb.python/py-prettyprint.exp: Ditto.
8336 * gdb.python/py-template.exp: Ditto.
8337
8338 * gdb.server/ext-attach.exp: Ditto.
8339 * gdb.server/ext-run.exp: Ditto.
8340 * gdb.server/server-mon.exp: Ditto.
8341
8342 * gdb.threads/fork-thread-pending.exp: Ditto.
8343 * gdb.threads/hand-call-in-threads.exp: Ditto.
8344 * gdb.threads/interrupted-hand-call.exp: Ditto.
8345 * gdb.threads/linux-dp.exp: Ditto.
8346 * gdb.threads/manythreads.exp: Ditto.
8347 * gdb.threads/print-threads.exp: Ditto.
8348 * gdb.threads/pthreads.exp: Ditto.
8349 * gdb.threads/schedlock.exp: Ditto.
8350 * gdb.threads/thread-unwindonsignal.exp: Ditto.
8351 * gdb.threads/threadapply.exp: Ditto.
8352
8353 2010-06-08 Michael Snyder <msnyder@vmware.com>
8354
8355 * gdb.ada/exec_changed.exp:
8356 Use ".*" instead of "" as wildcard regexp.
8357
8358 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
8359 * gdb.base/call-ar-st.exp: Ditto.
8360 * gdb.base/checkpoint.exp: Ditto.
8361 * gdb.base/default.exp: Ditto.
8362 * gdb.base/dump.exp: Ditto.
8363 * gdb.base/ending-run.exp: Ditto.
8364 * gdb.base/fileio.exp: Ditto.
8365 * gdb.base/miscexprs.exp: Ditto.
8366 * gdb.base/pointers.exp: Ditto.
8367 * gdb.base/readline.exp: Ditto.
8368 * gdb.base/reread.exp: Ditto.
8369 * gdb.base/restore.exp: Ditto.
8370 * gdb.base/shlib-call.exp: Ditto.
8371 * gdb.base/valgrind-db-attach.exp: Ditto.
8372 * gdb.base/volatile.exp: Ditto.
8373 * gdb.base/watchpoints.exp: Ditto.
8374
8375 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
8376
8377 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
8378 * gdb.python/py-value.exp: Ditto.
8379
8380 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
8381 * gdb.trace/circ.exp: Ditto.
8382 * gdb.trace/collection.exp: Ditto.
8383 * gdb.trace/packetlen.exp: Ditto.
8384 * gdb.trace/passc-dyn.exp: Ditto.
8385 * gdb.trace/report.exp: Ditto.
8386 * gdb.trace/tfile.exp: Ditto.
8387 * gdb.trace/tfind.exp: Ditto.
8388 * gdb.trace/while-dyn.exp: Ditto.
8389
8390 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8391
8392 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
8393
8394 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 Test PR 10640.
8397 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
8398
8399 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
8400
8401 * gdb.cp/koenig.exp: Test for ADL operators.
8402 * gdb.cp/koenig.cc: Added ADL operators.
8403 * gdb.cp/operator.exp: New test.
8404 * gdb.cp/operator.cc: New test.
8405
8406 2010-06-04 Michael Snyder <msnyder@vmware.com>
8407
8408 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
8409 * gdb.base/pending.exp: Ditto.
8410
8411 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
8412
8413 2010-06-04 Doug Evans <dje@google.com>
8414
8415 * gdb.python/py-prettyprint.exp: Add new test for enabled and
8416 disabled printers.
8417 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
8418 (enable_lookup_function): New function.
8419
8420 2010-06-04 Tom Tromey <tromey@redhat.com>
8421
8422 * gdb.python/py-value.exp (test_value_hash): Don't test equality
8423 of hash and id.
8424
8425 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8426
8427 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
8428 newline.
8429 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
8430 (empty verbose non-noisy clear, empty verbose noisy clear)
8431 (empty non-verbose noisy clear): Likewise.
8432
8433 2010-06-03 Michael Snyder <msnyder@vmware.com>
8434
8435 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
8436 * gdb.base/display.exp: Ditto.
8437 * gdb.base/find.exp: Ditto.
8438 * gdb.base/ifelse.exp: Ditto.
8439 * gdb.base/multi-forks.exp: Ditto.
8440 * gdb.base/recurse.exp: Ditto.
8441 * gdb.base/setshow.exp: Ditto.
8442 * gdb.base/value-double-free.exp: Ditto.
8443 * gdb.base/watch-vfork.exp: Ditto.
8444 * gdb.base/watch_thread_num.exp: Ditto.
8445 * gdb.base/watchpoint-solib.exp: Ditto.
8446 * gdb.base/watchpoint.exp: Ditto.
8447 * gdb.base/watchpoints.exp: Ditto.
8448
8449 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
8450 * gdb.cp/overload.exp: Ditto.
8451 * gdb.cp/virtfunc.exp: Ditto.
8452
8453 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
8454
8455 * gdb.reverse/watch-precsave.exp:
8456 Replace gdb_test with gdb_test_no_output.
8457
8458 * gdb.threads/attach-into-signal.exp:
8459 Replace gdb_test with gdb_test_no_output.
8460 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
8461 * gdb.threads/watchthreads.exp: Ditto.
8462 * gdb.threads/watchthreads2.exp: Ditto.
8463
8464 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
8465 * gdb.trace/tfind.exp: Ditto.
8466
8467 2010-06-03 Joel Brobecker <brobecker@adacore.com>
8468
8469 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
8470 successful test if message is the empty string.
8471
8472 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8473
8474 * gdb.fortran/module.exp (stopped language detection): New test.
8475
8476 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8477
8478 Support DW_TAG_module as separate namespaces.
8479 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
8480 gdb.fortran/library-module-lib.f90: New.
8481 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
8482 (print i): Remove.
8483 (continue to breakpoint: i-is-1, print var_i value 1)
8484 (continue to breakpoint: i-is-2, print var_i value 2)
8485 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
8486 (print var_d, print var_i value 14, ptype modmany, complete `modm)
8487 (complete `modmany, complete `modmany`, complete `modmany`var)
8488 (show language, setting breakpoint at module): New tests.
8489 * gdb.fortran/module.f90 (module mod): Remove.
8490 (module mod1, module mod2, module modmany, subroutine sub1)
8491 (subroutine sub2, program module): New.
8492
8493 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8494
8495 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
8496 (print value of rUC, print value of rI, print value of UI): ... here.
8497 * gdb.cp/anon-union.exp (pass): Rename to ...
8498 (print z 2): ... here.
8499
8500 2010-06-02 Michael Snyder <msnyder@vmware.com>
8501
8502 * gdb.trace/actions.exp: Use gdb_test_no_output.
8503 * gdb.trace/circ.exp: Ditto.
8504 * gdb.trace/packetlen.exp: Ditto.
8505 * gdb.trace/save-trace.exp: Ditto.
8506 * gdb.trace/tracecmd.exp: Ditto.
8507 * gdb.trace/tsv.exp: Ditto.
8508
8509 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
8510 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
8511 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
8512 * gdb.threads/manythreads.exp: Ditto.
8513 * gdb.threads/print-threads.exp: Ditto.
8514 * gdb.threads/pthreads.exp: Ditto.
8515 * gdb.threads/schedlock.exp: Ditto.
8516 * gdb.threads/staticthreads.exp: Ditto.
8517 * gdb.threads/thread-specific.exp: Ditto.
8518 * gdb.threads/thread-unwindonsignal.exp: Ditto.
8519 * gdb.threads/threadapply.exp: Ditto.
8520 * gdb.threads/watchthreads.exp: Ditto.
8521 * gdb.threads/watchthreads2.exp: Ditto.
8522
8523 * gdb.python/py-block.exp: Use gdb_test_no_output.
8524 * gdb.python/py-prettyprint.exp: Ditto.
8525 * gdb.python/py-template.exp: Ditto.
8526 * gdb.python/py-value.exp: Ditto.
8527
8528 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
8529 * gdb.reverse/watch-reverse.exp: Ditto.
8530
8531 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
8532 * gdb.server/ext-run.exp: Ditto.
8533
8534 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
8535 * gdb.dwarf2/dw2-compressed.exp: Ditto.
8536 * gdb.dwarf2/dw2-intercu.exp: Ditto.
8537 * gdb.dwarf2/dw2-intermix.exp: Ditto.
8538 * gdb.dwarf2/dw2-producer.exp: Ditto.
8539 * gdb.dwarf2/mac-fileno.exp: Ditto.
8540
8541 * gdb.gdb/observer.exp: Use gdb_test_no_output.
8542 * gdb.gdb/selftest.exp: Ditto.
8543
8544 * gdb.multi/base.exp: Use gdb_test_no_output.
8545
8546 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
8547
8548 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8549
8550 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
8551
8552 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
8553
8554 * gdb.cp/class2.exp: Use gdb_test_no_output.
8555 * gdb.cp/classes.exp: Ditto.
8556 * gdb.cp/extern-c.exp: Ditto.
8557 * gdb.cp/inherit.exp: Ditto.
8558 * gdb.cp/maint.exp: Ditto.
8559 * gdb.cp/mb-inline.exp: Ditto.
8560 * gdb.cp/mb-templates.exp: Ditto.
8561 * gdb.cp/method2.exp: Ditto.
8562 * gdb.cp/misc.exp: Ditto.
8563 * gdb.cp/ovldbreak.exp: Ditto.
8564 * gdb.cp/punctuator.exp: Ditto.
8565 * gdb.cp/templates.exp: Ditto.
8566 * gdb.cp/virtbase.exp: Ditto.
8567
8568 * gdb.threads/attach-stopped.exp:
8569 Replace uses of send_gdb / gdb_expect.
8570 * gdb.threads/attachstop-mt.exp:
8571 Replace uses of send_gdb / gdb_expect.
8572 * gdb.threads/gcore-thread.exp:
8573 Replace uses of send_gdb / gdb_expect.
8574 * gdb.threads/hand-call-in-threads.exp:
8575 Replace uses of send_gdb / gdb_expect.
8576 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
8577 * gdb.threads/print-threads.exp:
8578 Replace uses of send_gdb / gdb_expect.
8579 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
8580 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
8581 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
8582
8583 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
8584 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
8585 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
8586 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
8587 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
8588 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
8589 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
8590 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
8591 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
8592 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
8593 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
8594
8595 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8596
8597 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
8598
8599 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
8600
8601 * gdb.cp/koenig.exp: Added new test case.
8602 * gdb.cp/koenig.cc: Ditto.
8603
8604 2010-06-01 Michael Snyder <msnyder@vmware.com>
8605
8606 * gdb.base/arithmet.exp: Use gdb_test_no_output.
8607 * gdb.base/arrayidx.exp: Ditto.
8608 * gdb.base/attach.exp: Ditto.
8609 * gdb.base/auxv.exp: Ditto.
8610 * gdb.base/bigcre.exp: Ditto.
8611 * gdb.base/break-always.exp: Ditto.
8612 * gdb.base/break-interp.exp: Ditto.
8613 * gdb.base/break.exp: Ditto.
8614 * gdb.base/breakpoint-shadow.exp: Ditto.
8615 * gdb.base/call-ar-st.exp: Ditto.
8616 * gdb.base/call-sc.exp: Ditto.
8617 * gdb.base/call-signal-resume.exp: Ditto.
8618 * gdb.base/callfuncs.exp: Ditto.
8619 * gdb.base/catch-syscall.exp: Ditto.
8620 * gdb.base/charset.exp: Ditto.
8621 * gdb.base/code-expr.exp: Ditto.
8622 * gdb.base/commands.exp: Ditto.
8623 * gdb.base/cond-expr.exp: Ditto.
8624 * gdb.base/condbreak.exp: Ditto.
8625 * gdb.base/cursal.exp: Ditto.
8626 * gdb.base/cvexpr.exp: Ditto.
8627 * gdb.base/default.exp: Ditto.
8628 * gdb.base/del.exp: Ditto.
8629 * gdb.base/detach.exp: Ditto.
8630 * gdb.base/display.exp: Ditto.
8631 * gdb.base/ena-dis-br.exp: Ditto.
8632 * gdb.base/eval-skip.exp: Ditto.
8633 * gdb.base/foll-fork.exp: Ditto.
8634 * gdb.base/foll-vfork.exp: Ditto.
8635 * gdb.base/frame-args.exp: Ditto.
8636 * gdb.base/funcargs.exp: Ditto.
8637 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8638 * gdb.base/gdbvars.exp: Ditto.
8639 * gdb.base/help.exp: Ditto.
8640 * gdb.base/ifelse.exp: Ditto.
8641 * gdb.base/included.exp: Ditto.
8642 * gdb.base/list.exp: Ditto.
8643 * gdb.base/macscp.exp: Ditto.
8644 * gdb.base/maint.exp: Ditto.
8645 * gdb.base/multi-fork.exp: Ditto.
8646 * gdb.base/overlays.exp: Ditto.
8647 * gdb.base/page.exp: Ditto.
8648 * gdb.base/pending.exp: Ditto.
8649 * gdb.base/pointers.exp: Ditto.
8650 * gdb.base/pr11022.exp: Ditto.
8651 * gdb.base/prelink.exp: Ditto.
8652 * gdb.base/printcmds.exp: Ditto.
8653 * gdb.base/psymtab.exp: Ditto.
8654 * gdb.base/randomize.exp: Ditto.
8655 * gdb.base/relational.exp: Ditto.
8656 * gdb.base/relocate.exp: Ditto.
8657 * gdb.base/remote.exp: Ditto.
8658 * gdb.base/sepdebug.exp: Ditto.
8659 * gdb.base/set-lang-auto.exp: Ditto.
8660 * gdb.base/setshow.exp: Ditto.
8661 * gdb.base/setvar.exp: Ditto.
8662 * gdb.base/signals.exp: Ditto.
8663 * gdb.base/signull.exp: Ditto.
8664 * gdb.base/sigstep.exp: Ditto.
8665 * gdb.base/sizeof.exp: Ditto.
8666 * gdb.base/solib-disc.exp: Ditto.
8667 * gdb.base/store.exp: Ditto.
8668 * gdb.base/structs.exp: Ditto.
8669 * gdb.base/structs2.exp: Ditto.
8670 * gdb.base/subst.exp: Ditto.
8671 * gdb.base/term.exp: Ditto.
8672 * gdb.base/trace-commands.exp: Ditto.
8673 * gdb.base/unwindonsignal.exp: Ditto.
8674 * gdb.base/valgrind-db-attach.exp: Ditto.
8675 * gdb.base/varargs.exp: Ditto.
8676 * gdb.base/watch-cond.exp: Ditto.
8677 * gdb.base/watch_thread_num.exp: Ditto.
8678 * gdb.base/watchpoint-cond-gone.exp: Ditto.
8679 * gdb.base/watchpoint.exp: Ditto.
8680 * gdb.base/whatis-exp.exp: Ditto.
8681
8682 2010-06-01 Michael Snyder <msnyder@vmware.com>
8683
8684 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
8685 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
8686 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
8687 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
8688 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
8689 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
8690 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
8691 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
8692 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
8693 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
8694 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
8695 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
8696 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
8697 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
8698 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
8699
8700 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8701
8702 * gdb.base/commands.exp (begin commands on watch): Remove excessive
8703 trailing newline.
8704 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
8705 * gdb.java/jmisc.exp (p *args\n): Rename to ...
8706 (p *args): ... here and remove excessive trailing newline.
8707
8708 2010-05-31 Joel Brobecker <brobecker@adacore.com>
8709
8710 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
8711
8712 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8713
8714 Accept the new Linux kernel "t (tracing stop)" string.
8715 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
8716 Update comment.
8717 (state_wait) <T (tracing stop)>: New.
8718 (main): Update the state_wait expect string.
8719
8720 2010-05-28 Pedro Alves <pedro@codesourcery.com>
8721
8722 * limits.c, limits.exp: Delete files.
8723 * Makefile.in (clean mostlyclean): Adjust.
8724 * tracecmd.exp: Adjust.
8725
8726 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8727
8728 * gdb.base/tui-layout.exp: New.
8729
8730 2010-05-28 Michael Snyder <msnyder@vmware.com>
8731
8732 * gdb.reverse/break-precsave.exp:
8733 Replace uses of send_gdb / gdb_expect.
8734 * gdb.reverse/break-reverse.exp:
8735 Replace uses of send_gdb / gdb_expect.
8736 * gdb.reverse/consecutive-precsave.exp:
8737 Replace uses of send_gdb / gdb_expect.
8738 * gdb.reverse/consecutive-reverse.exp:
8739 Replace uses of send_gdb / gdb_expect.
8740 * gdb.reverse/finish-precsave.exp:
8741 Replace uses of send_gdb / gdb_expect.
8742 * gdb.reverse/finish-reverse.exp:
8743 Replace uses of send_gdb / gdb_expect.
8744 * gdb.reverse/i386-precsave.exp:
8745 Replace uses of send_gdb / gdb_expect.
8746 * gdb.reverse/i386-reverse.exp:
8747 Replace uses of send_gdb / gdb_expect.
8748 * gdb.reverse/i386-sse-reverse.exp:
8749 Replace uses of send_gdb / gdb_expect.
8750 * gdb.reverse/i387-env-reverse.exp:
8751 Replace uses of send_gdb / gdb_expect.
8752 * gdb.reverse/i387-stack-reverse.exp:
8753 Replace uses of send_gdb / gdb_expect.
8754 * gdb.reverse/machinestate-precsave.exp:
8755 Replace uses of send_gdb / gdb_expect.
8756 * gdb.reverse/machinestate.exp:
8757 Replace uses of send_gdb / gdb_expect.
8758 * gdb.reverse/sigall-precsave.exp:
8759 Replace uses of send_gdb / gdb_expect.
8760 * gdb.reverse/sigall-reverse.exp:
8761 Replace uses of send_gdb / gdb_expect.
8762 * gdb.reverse/solib-precsave.exp:
8763 Replace uses of send_gdb / gdb_expect.
8764 * gdb.reverse/solib-reverse.exp:
8765 Replace uses of send_gdb / gdb_expect.
8766 * gdb.reverse/step-precsave.exp:
8767 Replace uses of send_gdb / gdb_expect.
8768 * gdb.reverse/step-reverse.exp:
8769 Replace uses of send_gdb / gdb_expect.
8770 * gdb.reverse/until-precsave.exp:
8771 Replace uses of send_gdb / gdb_expect.
8772 * gdb.reverse/until-reverse.exp:
8773 Replace uses of send_gdb / gdb_expect.
8774 * gdb.reverse/watch-precsave.exp:
8775 Replace uses of send_gdb / gdb_expect.
8776 * gdb.reverse/watch-reverse.exp:
8777 Replace uses of send_gdb / gdb_expect.
8778
8779 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
8782 excessive newline.
8783
8784 2010-05-27 Michael Snyder <msnyder@vmware.com>
8785
8786 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
8787 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
8788 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
8789 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
8790 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
8791 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
8792 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
8793 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
8794 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
8795 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
8796 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
8797 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
8798 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
8799 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
8800 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
8801 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
8802 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
8803 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
8804 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
8805
8806 2010-05-26 Michael Snyder <msnyder@vmware.com>
8807
8808 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
8809 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
8810
8811 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
8812 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
8813 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
8814
8815 * gdb.reverse/consecutive-reverse.exp:
8816 Replace uses of send_gdb / gdb_expect.
8817 * gdb.reverse/consecutive-precsave.exp:
8818 Replace uses of send_gdb / gdb_expect.
8819
8820 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
8821 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
8822 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
8823 * gdb.mi/mi-ns-stale-regcache.exp:
8824 Replace uses of send_gdb / gdb_expect.
8825 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
8826 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
8827 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
8828 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
8829 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
8830 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
8831 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
8832 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
8833 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
8834
8835 2010-05-26 Michael Snyder <msnyder@vmware.com>
8836
8837 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
8838
8839 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
8840
8841 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
8842 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
8843 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
8844 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
8845 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
8846 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
8847 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
8848 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
8849 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
8850
8851 2010-05-25 Tom Tromey <tromey@redhat.com>
8852
8853 * gdb.base/macscp.exp: Add missing space after setup_kfail.
8854
8855 2010-05-25 Tom Tromey <tromey@redhat.com>
8856
8857 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
8858 argument order.
8859 * gdb.base/macscp.exp: Fix setup_kfail argument order.
8860 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
8861 order.
8862 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
8863 order.
8864 * gdb.base/call-sc.exp (setup_kfails): Remove.
8865 (setup_compiler_kfails): Remove.
8866 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
8867 argument order.
8868 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
8869 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
8870 (advancei): Fix setup_kfail argument order.
8871 * gdb.base/radix.exp: Fix setup_kfail argument order.
8872 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
8873 order.
8874 * gdb.base/structs.exp (setup_kfails): Remove.
8875 (setup_compiler_kfails): Fix setup_kfail argument order.
8876 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
8877 order.
8878 * gdb.java/jmain.exp: Fix setup_kfail argument order.
8879 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
8880 setup_kfail argument order.
8881 * gdb.cp/overload.exp: Fix setup_kfail argument order.
8882
8883 2010-05-25 Tom Tromey <tromey@redhat.com>
8884
8885 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
8886
8887 2010-05-25 Michael Snyder <msnyder@vmware.com>
8888
8889 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
8890 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
8891 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
8892 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
8893 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
8894 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
8895 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
8896 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
8897 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
8898 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
8899 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
8900 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
8901 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
8902 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
8903 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
8904 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
8905 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
8906 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
8907 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
8908 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
8909 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
8910 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
8911 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
8912 * gdb.base/default.exp: Replace send_gdb with gdb_test.
8913 * gdb.base/define.exp: Replace send_gdb with gdb_test.
8914 * gdb.base/display.exp: Replace send_gdb with gdb_test.
8915 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
8916 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
8917 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
8918 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
8919 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
8920 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
8921 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
8922 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
8923 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
8924 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
8925 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
8926 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
8927 * gdb.base/help.exp: Replace send_gdb with gdb_test.
8928 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
8929 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
8930 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
8931 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
8932 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
8933 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
8934 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
8935 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
8936 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
8937
8938 2010-05-25 Doug Evans <dje@google.com>
8939
8940 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
8941 gdb.string_to_argv.
8942
8943 2010-05-21 Tom Tromey <tromey@redhat.com>
8944
8945 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
8946 Call it.
8947 * gdb.dwarf2/pieces.S: Update.
8948 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
8949
8950 2010-05-21 Tom Tromey <tromey@redhat.com>
8951
8952 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
8953 Call it.
8954 * gdb.dwarf2/pieces.c (struct C): New.
8955 (f6): New function.
8956 * gdb.dwarf2/pieces.S: Replace.
8957
8958 2010-05-21 Tom Tromey <tromey@redhat.com>
8959
8960 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
8961 Call it.
8962
8963 2010-05-21 Tom Tromey <tromey@redhat.com>
8964
8965 * gdb.dwarf2.pieces.exp: New file.
8966 * gdb.dwarf2.pieces.S: New file.
8967 * gdb.dwarf2.pieces.c: New file.
8968
8969 2010-05-20 Pedro Alves <pedro@codesourcery.com>
8970 Joel Brobecker <brobecker@adacore.com>
8971
8972 * lib/gdb.exp (gdb_test_no_output): New function.
8973 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
8974 when testing commands that should produce no output.
8975
8976 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8977
8978 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
8979 parameter that we want to watch being a constant.
8980
8981 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8982
8983 * gdb.ada/cond_lang: New testcase.
8984
8985 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8986
8987 * lib/gdb.exp (banned_variables): New variable/constant.
8988 (gdb_init): Add write trace on variables listed in banned_variables.
8989 (gdb_finish): Remove write traces on variables listed in
8990 banned_variables.
8991
8992 2010-05-17 Joel Brobecker <brobecker@adacore.com>
8993
8994 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
8995 * gdb.cp/koenig.exp: Likewise.
8996
8997 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
8998
8999 PR python/11482
9000
9001 * gdb.python/py-value.exp (test_value_hash): New function.
9002
9003 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
9004
9005 PR exp/11530.
9006 * gdb.base/gdb11530.c: New file.
9007 * gdb.base/gdb11530.exp: New file.
9008
9009 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
9012 * gdb.dwarf2/dw2-modula2-self-type.S: New.
9013
9014 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
9015
9016 * gdb.cp/koenig.exp: New test.
9017 * gdb.cp/koenig.cc: New test program.
9018
9019 2010-05-05 Joel Brobecker <brobecker@adacore.com>
9020
9021 Remove the use of prms_id and bug_id throughout the testsuite.
9022
9023 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
9024
9025 PR exp/11349.
9026 * testsuite/gdb.cp/ref-types.exp: Add test to examine
9027 use a reference local variable.
9028
9029 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9030
9031 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
9032 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
9033 variable different_dir. Move debugfile into a full directory pathname
9034 under DIFFERENT_DIR.
9035 * lib/gdb.exp (separate_debug_filename): Remove.
9036 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
9037 variable debug_dir and mkdir of it. Update function comments.
9038
9039 2010-04-29 Pedro Alves <pedro@codesourcery.com>
9040
9041 PR gdb/11557
9042
9043 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
9044 files.
9045
9046 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
9047
9048 * gdb.python/py-param.exp: New File.
9049
9050 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
9051
9052 * gdb.base/default.exp: Fix "set language" test.
9053
9054 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
9055
9056 PR breakpoints/11531.
9057 * gdb.base/gdb11531.c: New file.
9058 * gdb.base/gdb11531.exp: New file.
9059
9060 2010-04-26 Tom Tromey <tromey@redhat.com>
9061
9062 * gdb.base/completion.exp: Add tests for completion and deprecated
9063 commands.
9064
9065 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9066
9067 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
9068 (print /x char_array): Escape curly brackets.
9069
9070 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9071
9072 Fix deadlock on looped list of loaded shared objects.
9073 * gdb.base/solib-corrupted.exp: New.
9074
9075 2010-04-23 Doug Evans <dje@google.com>
9076
9077 * gdb.python/py-section-script.c: New file.
9078 * gdb.python/py-section-script.exp: New file.
9079 * gdb.python/py-section-script.py: New file.
9080
9081 2010-04-20 Chris Moller <cmoller@redhat.com>
9082
9083 PR 10179
9084
9085 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
9086 * gdb.base/pr10179-a.c:
9087 * gdb.base/pr10179-b.c:
9088 * gdb.base/pr10179.exp: New files.
9089
9090 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9091
9092 Fix crashes on dangling display expressions.
9093 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
9094 is SEP.
9095 (lib_flags): Remove the "debug" keyword.
9096 (libsepdebug): New variable for iterating new loop.
9097 (save_pf_prefix): New variable wrapping the loop.
9098 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
9099 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
9100
9101 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9102
9103 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
9104
9105 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9106
9107 PR stabs/11479.
9108 * gdb.stabs/gdb11479.exp: New file.
9109 * gdb.stabs/gdb11479.c: New file.
9110
9111 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
9112
9113 * gdb.base/charset.c (Strin16, String32): New variables.
9114 * gdb.base/charset.exp (gdb_test): Test correct display
9115 of 16 or 32 bit strings.
9116
9117 2010-04-21 Chris Moller <cmoller@redhat.com>
9118
9119 PR 9167
9120 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
9121 * gdb.cp/pr9167.cc: New file.
9122 * gdb.cp/pr9167.exp: New file.
9123
9124
9125 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
9126
9127 PR pascal/11492.
9128 * gdb.pascal/gdb11492.pas: New file.
9129 * gdb.pascal/gdb11492.exp: New file.
9130
9131 2010-04-20 Joel Brobecker <brobecker@adacore.com>
9132
9133 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
9134
9135 2010-04-20 Joel Brobecker <brobecker@adacore.com>
9136
9137 * gdb.ada/dyn_loc: New testcase.
9138
9139 2010-04-20 Chris Moller <cmoller@redhat.com>
9140
9141 PR 10867
9142
9143 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
9144 * gdb.cp/pr10687.cc: New file.
9145 * gdb.cp/pr10687.exp: New file.
9146
9147
9148 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9149 Sergio Durigan Junior <sergiodj@redhat.com>
9150
9151 * gdb.fortran/logical.exp: New testcase.
9152 * gdb.fortran/logical.f90: New file.
9153
9154 2010-04-19 Doug Evans <dje@google.com>
9155
9156 * gdb.base/help.exp (help source): Update expected output.
9157
9158 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9159
9160 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
9161 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
9162 gdb_exit and return.
9163 (executable): New variable.
9164 (binfile): Use it.
9165
9166 2010-04-19 Pedro Alves <pedro@codesourcery.com>
9167
9168 PR breakpoints/8554.
9169
9170 * gdb.trace/save-trace.exp: Adjust.
9171
9172 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 PR corefiles/11511
9175 * gdb.arch/system-gcore.exp: New.
9176 * gdb.arch/gcore.c: Likewise.
9177
9178 2010-04-15 Doug Evans <dje@google.com>
9179
9180 * gdb.python/py-progspace.c: New file.
9181 * gdb.python/py-progspace.exp: New file.
9182
9183 * gdb.base/source.exp: Add tests for "source -s".
9184
9185 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
9186
9187 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
9188 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
9189 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
9190 * gdb.python/py-mi.exp: New test for to_string returning None.
9191
9192 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
9193
9194 * gdb.python/py-breakpoint.c: Make result global.
9195
9196 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9197
9198 Fix non-GNU make compatibility.
9199 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
9200
9201 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
9202
9203 * gdb.python/py-breakpoint.exp: New File.
9204 * gdb.python/py-breakpoint.C: Ditto.
9205
9206 2010-04-08 Stan Shebs <stan@codesourcery.com>
9207
9208 * gdb.trace/actions.exp: Clear default-collect.
9209 * gdb.trace/save-trace.exp: Clear default-collect.
9210
9211 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
9212
9213 * gdb.python/py-value: Add null string variable.
9214 (test_lazy_string): Test zero length, NULL address lazy
9215 strings.
9216
9217 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
9218
9219 * gdb.arch/i386-avx.c: New.
9220 * gdb.arch/i386-avx.exp: Likewise.
9221
9222 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
9223
9224 2010-04-06 Doug Evans <dje@google.com>
9225
9226 * gdb.base/source-test.gdb: New file.
9227 * gdb.base/source.exp: Test source -v.
9228
9229 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9230
9231 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
9232
9233 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
9234
9235 * gdb.stabs/aout.sed: Convert all backslash to double backslash
9236 within one line, unless it is followed by a double quote.
9237 * gdb.stabs/hppa.sed: Idem.
9238 * gdb.stabs/weird.def: Add char and String constants
9239 * gdb.stabs/weird.exp: Check for correct parsing of
9240 char and string constants.
9241 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
9242 in .stabs to .stabx substitution.
9243
9244 2010-04-05 Stan Shebs <stan@codesourcery.com>
9245
9246 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
9247 constant global.
9248 * gdb.trace/tfile.exp: Try to print them.
9249
9250 2010-04-04 Stan Shebs <stan@codesourcery.com>
9251
9252 * gdb.base/completion.exp: Update for new "info watchpoints".
9253 * gdb.base/default.exp: Ditto.
9254 * gdb.base/help.exp: Ditto.
9255 * gdb.base/watchpoint.exp: Ditto.
9256 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
9257
9258 2010-04-04 Stan Shebs <stan@codesourcery.com>
9259
9260 * gdb.trace/tfile.exp: Sharpen tfind test.
9261
9262 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9263
9264 * gdb.base/break-entry.exp: New.
9265
9266 2010-04-02 Hui Zhu <teawater@gmail.com>
9267 Michael Snyder <msnyder@vmware.com>
9268
9269 * gdb.reverse/i386-sse-reverse.exp: New file.
9270 * gdb.reverse/i386-sse-reverse.c: New file.
9271
9272 2010-04-02 Pedro Alves <pedro@codesourcery.com>
9273
9274 * gdb.trace/tfind.exp: Adjust expected disassembly output.
9275
9276 2010-04-01 Stan Shebs <stan@codesourcery.com>
9277
9278 * gdb.trace/actions.exp: Tweak expected output.
9279 * gdb.trace/while-stepping.exp: Tweak expected output.
9280
9281 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
9284
9285 2010-04-01 Pedro Alves <pedro@codesourcery.com>
9286
9287 * gdb.base/commands.exp: Adjust.
9288 * gdb.cp/extern-c.exp: Adjust.
9289
9290 2010-04-01 Pedro Alves <pedro@codesourcery.com>
9291
9292 * gdb.trace/collection.c (local_test_func): Define a local struct,
9293 and instanciate it.
9294
9295 2010-04-01 Pedro Alves <pedro@codesourcery.com>
9296
9297 * gdb.trace/collection.exp (gdb_collect_args_test)
9298 (gdb_collect_argarray_test): XFAIL the tests that assume the
9299 argarray argument's elements are collected.
9300
9301 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9302
9303 * gdb.dwarf2/dw2-bad-parameter-type.exp,
9304 gdb.dwarf2/dw2-bad-parameter-type.S: New.
9305
9306 2010-03-31 Stan Shebs <stan@codesourcery.com>
9307
9308 * gdb.trace/save-trace.exp: Test save/restore of default-collect
9309 and tracepoint conditionals.
9310 (gdb_verify_tracepoints): Delete unused return.
9311
9312 2010-03-26 Keith Seitz <keiths@redhat.com>
9313
9314 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
9315 appear in the output before main.
9316 Remove KFAIL for gdb/2215 aka bz 9320.
9317
9318 2010-03-30 Doug Evans <dje@google.com>
9319
9320 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
9321 by dejagnu.
9322 * gdb.arch/amd64-dword.exp: Ditto.
9323
9324 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
9325 match.
9326 (break printf): Ditto.
9327
9328 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
9329
9330 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
9331 gcc < 4.4.
9332 * gdb.cp/shadow.exp: Ditto.
9333
9334 2010-03-29 Pedro Alves <pedro@codesourcery.com>
9335
9336 * gdb.trace/collection.exp (run_trace_experiment): Make sure
9337 "tstart" is silent.
9338
9339 2010-03-29 Pedro Alves <pedro@codesourcery.com>
9340
9341 * gdb.trace/collection.exp (executable): New.
9342 (binfile): Use it.
9343 (fpreg, spreg, pcreg): New.
9344 (test_register): Use gdb_test_multiple. Pass /x to print.
9345 (prepare_for_trace_test): New.
9346 (run_trace_experiment): Use "continue", not gdb_run_cmd.
9347 (gdb_collect_args_test, gdb_collect_argstruct_test)
9348 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
9349 prepare_for_trace_test.
9350 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
9351 fpreg, spreg and pcreg.
9352 (gdb_collect_expression_test, gdb_collect_globals_test): Use
9353 prepare_for_trace_test.
9354 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
9355 try to detect tracing support here. Don't set breakpoints at
9356 `begin' or `end' here.
9357 <global scope>: Use clean_restart. Run to main before checking
9358 for tracing support. Check for for tracing support here.
9359
9360 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9361
9362 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
9363 " as $displacement" to "seen displacement message".
9364
9365 2010-03-28 Pedro Alves <pedro@codesourcery.com>
9366
9367 * gdb.trace/while-dyn.exp (executable): New variable.
9368 (binfile): Use it.
9369 (test_while_stepping): New function. Move most tests here. Call
9370 it once for each of the while-stepping, stepping and ws aliases.
9371
9372 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9373
9374 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
9375 that do not provide the tagless_struct type name at all.
9376 (test_print_anon_union): Do not check value of uninitialized
9377 union member. Do not use cp_test_ptype_class, so we can accept
9378 "long" as well as "long int".
9379
9380 2010-03-26 Pedro Alves <pedro@codesourcery.com>
9381
9382 * gdb.trace/tfile.c (tohex, bin2hex): New.
9383 (write_error_trace_file): Hexify error description.
9384
9385 2010-03-25 Stan Shebs <stan@codesourcery.com>
9386
9387 * gdb.trace/tfile.c: Generate an additional trace file, improve
9388 portability.
9389 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
9390 files in a better way.
9391
9392 2010-03-25 Keith Seitz <keiths@redhat.com>
9393
9394 * gdb.java/jprint.exp: XFAIL printing of static class members
9395 because of GCC debuginfo problem.
9396
9397 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9398
9399 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
9400
9401 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9402
9403 * gdb.base/completion.exp: Allow long instead of long int.
9404 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
9405 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
9406 variable p.
9407 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
9408 * gdb.base/pointers.exp: Allow long instead of long int.
9409 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
9410 * gdb.base/step-line.exp: Allow a directory before the source file name.
9411
9412 2010-03-24 Tom Tromey <tromey@redhat.com>
9413
9414 PR breakpoints/9352:
9415 * gdb.base/default.exp: Update.
9416 * gdb.base/commands.exp: Update.
9417 * gdb.cp/extern-c.exp: Test setting commands on multiple
9418 breakpoints at once.
9419
9420 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9421
9422 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
9423 if gdb,nosignals.
9424 * gdb.base/watchpoints.c: Do not include unnecessary headers.
9425 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
9426 exited".
9427
9428 2010-03-24 Stan Shebs <stan@codesourcery.com>
9429
9430 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
9431
9432 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
9433
9434 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
9435 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
9436 argument. Handle "short" and "long".
9437 (Top level): Pass overprototyped output for old_fptr and xptr.
9438
9439 2010-03-23 Pedro Alves <pedro@codesourcery.com>
9440
9441 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
9442 format strings and add casts to avoid compiler warnings.
9443
9444 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
9445
9446 * lib/trace-support.exp (gdb_trace_setactions):
9447 Don't expect whitespace after ">" prompt.
9448 * gdb.trace/actions.exp: Adjust for output changes.
9449 * gdb.trace/while-stepping.exp: Likewise.
9450
9451 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9452
9453 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
9454 and r157645).
9455
9456 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9457
9458 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
9459 New.
9460
9461 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
9462
9463 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
9464 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
9465
9466 2010-03-19 Stan Shebs <stan@codesourcery.com>
9467
9468 * gdb.trace/ax.exp: New file.
9469
9470 2010-03-19 Doug Evans <dje@google.com>
9471
9472 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
9473 output from gcc.
9474
9475 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
9476 named /usr/sbin/prelink<foo>.
9477
9478 2010-03-18 Stan Shebs <stan@codesourcery.com>
9479
9480 * gdb.trace/circ.exp: Test circular-trace-buffer.
9481 * gdb.trace/tfile.exp: Update tstatus test.
9482
9483 2010-03-18 Joel Brobecker <brobecker@adacore.com>
9484
9485 * gdb.dwarf2/dw2-anonymous-func.S: New file.
9486 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
9487
9488 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9489
9490 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
9491
9492 2010-03-18 Pedro Alves <pedro@codesourcery.com>
9493
9494 * gdb.base/default.exp: Adjust the expected output of the finish
9495 and until commands when the inferior is not being run.
9496
9497 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
9498
9499 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
9500 * gdb.cp/nsusing.exp: Ditto.
9501
9502 2010-03-15 Tom Tromey <tromey@redhat.com>
9503
9504 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
9505 * gdb.cp/userdef.cc (operator==): New function.
9506 (main): New locals mem1, mem2.
9507
9508 2010-03-15 Jie Zhang <jie@codesourcery.com>
9509
9510 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
9511 Declare and use new loadtimeout variable.
9512
9513 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
9514
9515 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
9516 Use gdb_load later.
9517
9518 2010-03-14 Pedro Alves <pedro@codesourcery.com>
9519
9520 * gdb.base/solib-disc.c (main): Make format of fprintf a string
9521 literal. Add missing endlines to prints to stderr.
9522
9523 2010-03-12 Tom Tromey <tromey@redhat.com>
9524
9525 PR c++/9708:
9526 * gdb.cp/m-static.exp: Add regression test.
9527 * gdb.cp/m-static.cc (method): New method.
9528 (main): Call it.
9529
9530 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
9531
9532 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
9533 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
9534
9535 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9536
9537 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
9538
9539 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
9540
9541 * lib/gdb.exp (skip_stl_tests): New.
9542 (gdb_compile): Symbian needs -ldl.
9543 (shlib_target_file): New.
9544 (shlib_symbol_file): New.
9545 (gdb_load_shlibs): Use shlib_target_file.
9546 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
9547 * gdb.cp/exception.exp: Use skip_stl_tests.
9548 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
9549 * gdb.cp/try_catch.exp: Use skip_stl_tests.
9550 * gdb.cp/mb-templates.exp: Ditto.
9551 * gdb.base/commands.exp: Relax regexes.
9552 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
9553 shlib_target_file and shlib_symbol_file.
9554 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
9555 sections.
9556 * gdb.base/ending-run.exp: Accept E32Main for symbian.
9557 * gdb.base/solib-disc.exp: Use
9558 shlib_target_file and shlib_symbol_file.
9559 * gdb.base/unload.exp: Don't skip on symbian. Use
9560 shlib_target_file and shlib_symbol_file.
9561 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
9562
9563 2010-03-12 Pedro Alves <pedro@codesourcery.com>
9564
9565 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
9566 * gdb.trace/report.exp: Adjust for x86 and x86_64.
9567 Issue a tfind end before looking for a tracepoint frame.
9568 * gdb.trace/tfind.exp: Adjust tstatus output.
9569 Adjust disassembly output.
9570 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
9571
9572 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9573
9574 * gdb.base/break-interp.exp: Create new displacement parameter value
9575 for the test_ld calls.
9576 (reach): New parameter displacement, verify its content. New push of
9577 pf_prefix "reach-$func:". Import global expect_out.
9578 (test_core): New parameter displacement, verify its content. New push
9579 of pf_prefix "core:". New command "set verbose on". Import global
9580 expect_out.
9581 (test_attach): New parameter displacement, verify its content. New
9582 push of pf_prefix "attach:". New command "set verbose on". Import
9583 global expect_out.
9584 (test_ld): New parameter displacement, pass it to the reach, test_core
9585 and test_attach calls and verify its content in the "ld.so exit" test.
9586 * gdb.base/prelink.exp: Remove gdb_exit and final return.
9587 (prelink): Update expected text, use gdb_test.
9588
9589 2010-03-10 Doug Evans <dje@google.com>
9590
9591 * gdb.base/checkpoint.exp: Fix comment.
9592 Lengthen timeout while doing >600 checkpoints test.
9593 Rename duplicate "kill all one" test to keep test names unique.
9594
9595 2010-03-10 Pedro Alves <pedro@codesourcery.com>
9596
9597 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
9598
9599 2010-03-08 Keith Seitz <keiths@redhat.com>
9600
9601 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
9602 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
9603 (dm_type_long): New function.
9604 (dm_type_unsigned_short): New function.
9605 (dm_type_unsigned_long): New function.
9606 (myint): New typedef.
9607 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
9608 long, unsigned shor and long, operator char*, and typedef.
9609 (test_lookup_operator_functions): Add operator char* test.
9610 (test_paddr_operator_functions): Likewise.
9611 (test_paddr_overloaded_functions): Use probe values for
9612 short, long, and unsigned short and long.
9613 (test_paddr_hairy_functions): If the demangler probe detected
9614 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
9615 demangler.
9616 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
9617 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
9618 and "print null_pmf".
9619 Add test "ptype a.*pmf".
9620 * gdb.cp/overload.exp: Allow optional "int" to appear with
9621 "short" and "long".
9622 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
9623 long expect value for men_overload1arg.
9624 Allow "int" to appear with "short" and "long".
9625 When testing "info break", add argument for main (void).
9626 Also allow "int" to appear with "short" and "long".
9627 Ditto with "unsigned" and "long long".
9628 * gdb.java/jmain.exp: Do not enclose methods names in single
9629 quotes.
9630 * gdb.java/jmisc.exp: Likewise.
9631 * gdb.java/jprint.exp: Likewise.
9632 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
9633
9634 From Jan Kratochvil <jan.kratochvil@redhat.com>:
9635 * gdb.cp/exception.exp (backtrace after first throw)
9636 (backtrace after second throw): Allow a namespace before __cxa_throw.
9637 (backtrace after first catch, backtrace after second catch): Allow
9638 a namespace before __cxa_begin_catch.
9639
9640 * gdb.cp/cpexprs.exp: New file.
9641 * gdb.cp/cpexprs.cc: New file.
9642
9643 From Daniel Jacobowitz <dan@codesourcery.com>
9644 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
9645 to use string_to_regexp.
9646 (ctor, dtor): New functions. Use them to match constructor
9647 and destructor function types.
9648 (Top level): Use runto_main.
9649
9650 2010-03-05 Tom Tromey <tromey@redhat.com>
9651
9652 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
9653 gdb.target_charset.
9654 (pp_ns.to_string): Likewise.
9655
9656 2010-03-04 Keith Seitz <keiths@redhat.com>
9657
9658 * gdb.cp/overload.exp: Test that the filename portion of a linespec
9659 can be quoted. Test that both the filename and function/line
9660 portions can be quoted at the same time.
9661
9662 2010-03-04 Pedro Alves <pedro@codesourcery.com>
9663
9664 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
9665
9666 2010-03-03 Doug Evans <dje@google.com>
9667
9668 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
9669 libc contains libpthread.
9670
9671 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
9672 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
9673 of gdb_compile. Add another pattern to match android backtrace.
9674
9675 2010-03-03 Tom Tromey <tromey@redhat.com>
9676
9677 PR gdb/11345:
9678 * gdb.base/printcmds.exp (test_printf): Add test.
9679
9680 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
9681
9682 * gdb.arch/amd64-byte.exp: New.
9683 * gdb.arch/amd64-dword.exp: Likewise.
9684 * gdb.arch/amd64-pseudo.c: Likewise.
9685 * gdb.arch/amd64-word.exp: Likewise.
9686 * gdb.arch/i386-byte.exp: Likewise.
9687 * gdb.arch/i386-pseudo.c: Likewise.
9688 * gdb.arch/i386-word.exp: Likewise.
9689
9690 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9691
9692 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
9693 types. Add structreg, bitfields, and flags registers.
9694 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
9695 registers.
9696
9697 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
9700 (load_description): Set architecture if defined.
9701
9702 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
9703
9704 * gdb.python/py-frame.exp: Add read_var block tests.
9705 * gdb.python/py-frame.c (block): New function.
9706
9707 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9708 Daniel Jacobowitz <dan@codesourcery.com>
9709
9710 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
9711
9712 2010-02-25 David S. Miller <davem@davemloft.net>
9713
9714 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
9715 fix logic for setting all_syscalls_numbers.
9716
9717 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9718
9719 * Makefile.in: Add py-block and py-symbol.
9720 * gdb.python/py-symbol.exp: New File.
9721 * gdb.python/py-symtab.exp: New File.
9722 * gdb.python/py-block.exp: New File.
9723 * gdb.python/py-symbol.c: New File.
9724 * gdb.python/py-block.c: New File.
9725
9726 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
9727
9728 PR python/11314
9729 * lib/gdb.exp (skip_python_tests): New function.
9730 * gdb.python/py-cmd.exp: Use skip_python_tests.
9731 * gdb.python/py-frame.exp: Likewise.
9732 * gdb.python/py-function.exp: Likewise.
9733 * gdb.python/py-prettyprint.exp: Likewise.
9734 * gdb.python/py-template.exp: Likewise.
9735 * gdb.python/py-type.exp: Likewise.
9736 * gdb.python/py-value.exp: Likewise.
9737
9738 2010-02-22 Pedro Alves <pedro@codesourcery.com>
9739
9740 PR9605
9741
9742 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
9743
9744 2010-02-19 Tom Tromey <tromey@redhat.com>
9745
9746 PR c++/8693, PR c++/9496:
9747 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
9748 regression tests.
9749
9750 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9751
9752 Fix compatibility with m68k as.
9753 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
9754 Use only /* comments */.
9755
9756 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9757
9758 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
9759 * configure: Regenerate.
9760
9761 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
9762
9763 * gdb.python/py-type.exp: Check for Python support.
9764
9765 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9766
9767 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
9768 `regsub' syntax available.
9769
9770 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9771
9772 * gdb.base/shmain.c (main): Remove printf call.
9773 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
9774 * gdb.base/unload.c (main): Make format of fprintf a string
9775 literal. Add missing endlines to prints to stderr.
9776 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
9777
9778 2010-02-17 Tom Tromey <tromey@redhat.com>
9779
9780 * gdb.java/jprint.java (jprint.props): New field.
9781 * gdb.java/jprint.exp (set_lang_java): Add regression test.
9782
9783 2010-02-17 Pedro Alves <pedro@codesourcery.com>
9784
9785 * gdb.base/charset.exp: Don't assume new `regsub' syntax
9786 available.
9787
9788 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9789
9790 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
9791 creation to support remote host testing.
9792
9793 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9794
9795 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
9796 Recognize "command not found".
9797
9798 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9799
9800 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
9801 single-stepping.
9802
9803 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9804
9805 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
9806 if arguments are not supported.
9807
9808 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9809
9810 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
9811 be const or non-const.
9812
9813 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9814
9815 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
9816 mi_send_resuming_command to send -exec-continue.
9817
9818 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9819
9820 * gdb.base/list.exp (test_list_filename_and_function): Add test
9821 with single quotes.
9822 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
9823 matching.
9824 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
9825 Add KFAIL'd tests for PR gdb/11289.
9826
9827 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9828
9829 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
9830
9831 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9832
9833 * gdb.base/comp-dir/subdir/dummy.txt: New file.
9834 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
9835 a temporary directory.
9836
9837 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
9838
9839 * gdb.base/charset.exp: Use a single regular expression to match
9840 show host-charset and show target-charset output.
9841
9842 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9843
9844 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
9845 "Illegal process-id" expect string more exact.
9846 (attach to digits-starting nonsense is prohibited): New.
9847
9848 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9849
9850 * gdb.base/prelink.exp (set verbose on): New.
9851
9852 2010-02-12 Tomas Holmberg <th@virtutech.com>
9853
9854 * mi-reverse.exp: New file. Test for reverse option to the
9855 following MI commands: exec-continue, exec-finish, exec-next,
9856 exec-step, exec-next-instruction, exec-step-instruction.
9857
9858 2010-02-09 Joel Brobecker <brobecker@adacore.com>
9859
9860 * gdb.ada/ptype_tagged_param: New testcase.
9861
9862 2010-02-08 Tom Tromey <tromey@redhat.com>
9863
9864 PR c++/8017:
9865 * gdb.cp/overload.exp: Add tests.
9866 * gdb.cp/overload.cc (struct K): New.
9867 (namespace N): New.
9868 (main): Call new functions.
9869 (K::staticoverload): Define.
9870
9871 2010-02-08 Chris Moller <moller@mollerware.com>
9872
9873 PR gdb/10728
9874 * gdb.cp/pr10728-x.h: New file.
9875 * gdb.cp/pr10728-x.cc: New file.
9876 * gdb.cp/pr10728-y.cc: New file.
9877 * gdb.cp/pr10728.exp: New file.
9878 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
9879
9880 2010-02-08 Chris Moller <moller@mollerware.com>
9881
9882 PR gdb/9067
9883 * gdb.cp/pr9067.exp: New
9884 * gdb.cp/pr9067.cc: New
9885 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
9886
9887 2010-02-08 Joel Brobecker <brobecker@adacore.com>
9888
9889 * lib/gdb.exp (gdb_test_timeout): New global variable.
9890 Set it to timeout if not already set.
9891 (gdb_init): Reset the value of timeout to gdb_test_timeout.
9892
9893 2010-02-05 Doug Evans <dje@google.com>
9894
9895 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
9896 user.
9897
9898 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
9899
9900 PR c++/7935:
9901 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
9902
9903 2010-02-04 Tom Tromey <tromey@redhat.com>
9904
9905 * gdb.cp/virtbase.exp: Make test case names unique.
9906
9907 2010-02-02 Tom Tromey <tromey@redhat.com>
9908
9909 * gdb.cp/virtbase.exp: Add regression tests.
9910 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
9911 (main): Instantiate RHC.
9912
9913 2010-02-02 Tom Tromey <tromey@redhat.com>
9914
9915 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
9916 type-printing change.
9917
9918 2010-02-02 Tom Tromey <tromey@redhat.com>
9919
9920 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
9921 * gdb.cp/virtbase.cc: New file.
9922 * gdb.cp/virtbase.exp: New file.
9923 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
9924
9925 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 PR libc/11214:
9928 * gdb.threads/current-lwp-dead.c: Include features.h.
9929 (HAS_NOMMU): New.
9930 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
9931
9932 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9933
9934 * gdb.base/symbol-without-target_section.exp,
9935 gdb.base/symbol-without-target_section.c: New.
9936
9937 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9938
9939 * gdb.base/bigcore.exp: Reset increased timeout.
9940 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
9941
9942 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9943
9944 * gdb.base/gcore.exp (capture_command_output): Use
9945 gdb_test_multiple.
9946
9947 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
9950 * gdb.arch/thumb2-it.exp (test_it_break): New function.
9951 (Top level): Call it.
9952
9953 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
9954
9955 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
9956
9957 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9958
9959 * gdb.base/call-strs.exp, gdb.base/default.exp,
9960 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
9961 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
9962 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
9963 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
9964 gdb.base/watchpoint-solib.exp: Save and restore timeout.
9965 * gdb.base/ending-run.exp: Correct restore of timeout.
9966 * gdb.base/page.exp: Remove unnecessary timeout setting.
9967
9968 2010-01-29 Joel Brobecker <brobecker@adacore.com>
9969
9970 * gdb.ada/rec_return: New testcase.
9971
9972 2010-01-29 Joel Brobecker <brobecker@adacore.com>
9973
9974 * gdb.ada/call_pn: New testcase.
9975
9976 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9977
9978 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
9979 (Top level): Use it to resume.
9980 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
9981 the Thumb mode displaced stepping error as unsupported.
9982
9983 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
9984
9985 * gdb.cp/nsusing.exp: Added more tests.
9986 * gdb.cp/nsrecurs.exp: Ditto.
9987 * gdb.cp/nsusing.cc: Added test functions.
9988 * gdb.cp/nsrecurs.cc: Ditto.
9989
9990 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9991
9992 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
9993 absolute directory pathnames in gdb.sum file.
9994
9995 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
9996
9997 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
9998 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
9999
10000 2010-01-26 Tom Tromey <tromey@redhat.com>
10001
10002 PR exp/7643:
10003 * gdb.base/printcmds.exp (test_print_string_constants): Remove
10004 setup_kfail.
10005
10006 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
10007
10008 * gdb.cp/nsrecurs.exp: New test.
10009 * gdb.cp/nsrecurs.cc: New test program.
10010 * gdb.cp/nsstress.exp: New test.
10011 * gdb.cp/nsstress.cc: New test program.
10012 * gdb.cp/nsdecl.exp: New test.
10013 * gdb.cp/nsdecl.cc: New test program.
10014
10015 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
10016
10017 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
10018 imported into file scope.
10019 Marked test as xfail.
10020 * gdb.cp/namespace-using.cc (marker5): New function.
10021 * gdb.cp/shadow.exp: New test.
10022 * gdb.cp/shadow.cc: New test program.
10023 * gdb.cp/nsimport.exp: New test.
10024 * gdb.cp/nsimport.cc: New test program.
10025
10026 2010-01-25 Tom Tromey <tromey@redhat.com>
10027
10028 PR gdb/11049:
10029 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
10030 with "set print null-stop on".
10031
10032 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10033
10034 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
10035 Adjust it for DISASSEMBLY_OMIT_FNAME.
10036
10037 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10038
10039 PR symtab/11199:
10040 * gdb.dwarf2/member-ptr-forwardref.exp,
10041 gdb.dwarf2/member-ptr-forwardref.S: New.
10042
10043 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10044
10045 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
10046 (thread1_func): Protect thread1_tid with thread1_tid_cond by
10047 thread1_tid_mutex. Remove gdbstop_mutex handling.
10048 (thread2_func): Protect thread2_tid with thread2_tid_cond by
10049 thread2_tid_mutex. Remove gdbstop_mutex handling.
10050 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
10051 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
10052 pthread_cond_wait conditionalizations by while loops.
10053
10054 2010-01-20 Tom Tromey <tromey@redhat.com>
10055
10056 PR backtrace/10770:
10057 * gdb.dwarf2/pr10770.exp: New file.
10058 * gdb.dwarf2/pr10770.c: New file.
10059 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
10060
10061 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
10062
10063 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
10064 that target was removed, and the test always runs native anyway.
10065
10066 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10067
10068 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
10069 gdb.base/watchpoint-cond-gone-stripped.c: New.
10070
10071 2010-01-19 Tom Tromey <tromey@redhat.com>
10072
10073 PR c++/8000:
10074 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
10075 existing tests.
10076 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
10077 (main): Use AAA::SomeEnum.
10078
10079 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10080
10081 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
10082 (test_ignore_count): Declare line_callme_body global.
10083 (run to breakpoint with ignore count): Use line_callme_body.
10084 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
10085 (set line_main_hello, set line_main_return): Reindent.
10086 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
10087 New.
10088 (continue to callee4): Use line_callee4_body.
10089 (check *stopped from CLI command): Use line_callee4_next.
10090 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
10091 (set line_main_hello, set line_main_return): Reindent.
10092 (set line_callee4_head, set line_callee4_body): New.
10093 (continue to callee4): Use line_callee4_body.
10094
10095 2010-01-18 Tom Tromey <tromey@redhat.com>
10096
10097 PR c++/9680:
10098 * gdb.cp/casts.cc: Add new classes and variables.
10099 * gdb.cp/casts.exp: Test new operators.
10100
10101 2010-01-18 Tom Tromey <tromey@redhat.com>
10102 Thiago Jung Bauermann <bauerman@br.ibm.com>
10103
10104 * gdb.python/source2.py: New file.
10105 * gdb.python/source1: New file.
10106 * gdb.python/python.exp: Test "source" command.
10107
10108 2010-01-15 Stan Shebs <stan@codesourcery.com>
10109
10110 * gdb.trace/tfile.c: New file.
10111 * gdb.trace/tfile.exp: New file.
10112
10113 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10114
10115 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
10116
10117 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10118
10119 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
10120
10121 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10122
10123 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
10124 (libfunc): New parameter action. Implement also selectable "sleep".
10125 * gdb.base/break-interp-main.c: Include assert.h.
10126 (libfunc): New parameter action.
10127 (main): New parameters argc and argv. Assert argc. Pass argv.
10128 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
10129 (test_attach): New proc.
10130 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
10131 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
10132
10133 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10134
10135 * gdb.base/break-interp.exp (test_core): New proc.
10136 (test_ld): Call it.
10137
10138 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10139
10140 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
10141 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
10142 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
10143 and gdb_compile_shlib. Use new -Wl compiler options.
10144 (dl bt, main bt): New tests.
10145
10146 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10147
10148 Support PIEs with no symfile_objfile.
10149 * gdb.base/break-interp.exp: New argument at the test_ld calls.
10150 (test_ld): New parameter trynosym.
10151 (test_ld <$trynosym>): New block.
10152
10153 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10154
10155 * gdb.base/break-interp.exp: New file.
10156
10157 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
10158
10159 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
10160 * gdb.python/py-prettyprint.py (pp_ls): New printer.
10161 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
10162 test.
10163 * gdb.python/py-prettyprint.c: Define lazystring test structure.
10164 * gdb.python/py-mi.exp: Add lazy string test.
10165
10166 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
10167
10168 * lib/mi-support.exp (mi_check_thread_states): Handle
10169 core number in thread listing.
10170
10171 2010-01-12 Joel Brobecker <brobecker@adacore.com>
10172
10173 * gdb.base/maint.exp: Adjust the expected output for the
10174 "maint print type" test. Use gdb_test_multiple instead of
10175 gdb_sent/gdb_expect.
10176
10177 2010-01-11 Doug Evans <dje@google.com>
10178
10179 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
10180 from gdbserver_download. All callers updated.
10181
10182 * gdb.server/ext-run.exp: "info os processes" requires xml support.
10183
10184 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10185
10186 Implement binary numbers parsing.
10187 * gdb.base/printcmds.exp (test_integer_literals_accepted)
10188 (test_integer_literals_rejected): New binary tests.
10189
10190 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10191
10192 * gdb.cell/configure: Regenerate.
10193
10194 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10195
10196 * gdb.base/corefile.exp: Move the core finding block out and call it as
10197 core_find, new variable $corefile, replace corefile by $corefile and
10198 [file tail $corefile] for usage vs. test names resp.
10199 * lib/gdb.exp (core_find): Move it as a new function here. New
10200 parameter binfile and deletefiles. New variable $destcore. Pre-delete
10201 $destcore. Return "" on error.
10202
10203 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10204
10205 Workaround PR binutils/10802.
10206 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
10207 (twice).
10208
10209 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10210
10211 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
10212
10213 2010-01-08 Joel Brobecker <brobecker@adacore.com>
10214
10215 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
10216 call, to avoid interruption.
10217
10218 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10219
10220 * gdb.stabs/weird.def (args93): New.
10221
10222 2010-01-07 Doug Evans <dje@google.com>
10223
10224 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
10225
10226 2010-01-07 Tom Tromey <tromey@redhat.com>
10227
10228 * gdb.base/source.exp: Use correct line number.
10229
10230 2010-01-05 Stan Shebs <stan@codesourcery.com>
10231
10232 * gdb.trace/tracecmd.exp: Test ftrace.
10233
10234 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10235
10236 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
10237
10238 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10239
10240 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
10241 "uint_for_mi_testing".
10242
10243 2010-01-01 Joel Brobecker <brobecker@adacore.com>
10244
10245 Test indented comment in file being sourced.
10246 * gdb.base/commands.exp: Test indented comment in file being sourced.
10247
10248 2010-01-01 Joel Brobecker <brobecker@adacore.com>
10249
10250 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
10251 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
10252 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
10253 notice.
10254
10255 2010-01-01 Joel Brobecker <brobecker@adacore.com>
10256
10257 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
10258 notice.
10259
10260 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10261
10262 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
10263 missing $after_stopped and comma (,) expectation.
10264
10265 2009-12-31 Stan Shebs <stan@codesourcery.com>
10266
10267 * gdb.trace/actions.exp: Test teval action.
10268
10269 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10270
10271 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
10272 (top level): Call test_watchpoint_in_big_blob.
10273 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
10274 watchpoints.
10275 (func3): Write to buf.
10276
10277 2009-12-29 Stan Shebs <stan@codesourcery.com>
10278
10279 * gdb.trace/actions.exp: Test default-collect.
10280
10281 2009-12-28 Stan Shebs <stan@codesourcery.com>
10282
10283 * gdb.trace/tsv.exp: New file.
10284 * gdb.base/completion.exp: Update ambiguous info output.
10285
10286 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
10287
10288 * gdb.base/find.c (main): Reference search buffers.
10289 * gdb.base/included.c (main): Reference integer.
10290 * gdb.base/ptype.c (charfoo): Declare.
10291 (intfoo): Call charfoo.
10292 * gdb.base/scope0.c (useitp): New function.
10293 (usestatics): Use useitp.
10294 (useit): Add a type for val.
10295 * gdb.base/scope1.c (useit1): Take a pointer argument.
10296 (usestatics1): Update calls to useit1.
10297 * gdb.cp/call-c.cc: Declare foo.
10298 (main): Call foo.
10299 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
10300 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
10301 (main): Call C::ensureRefs and ensureOtherRefs.
10302 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
10303 variables.
10304 (ensureOtherRefs): New function.
10305 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
10306 * gdb.cp/templates.cc (main): Call t5i.value.
10307
10308 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10309
10310 Fix compatibility with G++-4.5.
10311 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
10312 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
10313 (uncaught return): Remove.
10314
10315 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10316 Phil Muldoon <pmuldoon@redhat.com>
10317
10318 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
10319 (bp_location13, bp_location14, bp_location17, bp_location18)
10320 (marker3_proto, marker4_proto): New variables.
10321 (breakpoint info): Update output.
10322 (run until breakpoint at marker3, run until breakpoint at marker4): New
10323 tests.
10324
10325 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10326
10327 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
10328 Replace the printf call of Y by provided "y-set-1" label. New block
10329 for the second shared library.
10330 * gdb.base/unload.exp: Compile also the second library, call
10331 gdb_load_shlibs also for it. Use now gdb_breakpoint.
10332 (single pending breakpoint info): Rename to ...
10333 (pending breakpoint info before run): ... this extended test.
10334 (libfile2, libname2, libsrcfile2, libsrc2)
10335 (lib_sl2): New variables.
10336 (exec_opts): Set also SHLIB_NAME2.
10337 (pending breakpoint info on first run at shrfunc1)
10338 (pending breakpoint info on second run at shrfunc1)
10339 (pending breakpoint info on second run at shrfunc2)
10340 (print y from libfile, print y from libfile2): New tests.
10341 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
10342 * gdb.base/unloadshr2.c: New.
10343
10344 2009-12-22 Hui Zhu <teawater@gmail.com>
10345
10346 * gdb.reverse/sigall-reverse.exp: Adjust.
10347
10348 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
10349
10350 PR gdb/10884
10351
10352 * gdb.mi/var-cmd.c (do_bitfield_tests): New
10353 (main): Call do_bitfield_tests.
10354 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
10355
10356 2009-12-20 Joel Brobecker <brobecker@adacore.com>
10357
10358 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
10359 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
10360 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
10361 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
10362 gdb.modula2/unbounded1.c: Update copyright header.
10363
10364 2009-12-10 Chris Moller <moller@mollerware.com>
10365
10366 PR gdb/9399
10367 * gdb.cp/virtfunc2.exp: New tests
10368 * gdb.cp/virtfunc2.cc: New tests
10369 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
10370
10371 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
10372
10373 * gdb.reverse/i387-env-reverse.c: New file.
10374 * gdb.reverse/i387-env-reverse.exp: New file.
10375 * gdb.reverse/i387-stack-reverse.c: New file.
10376 * gdb.reverse/i387-stack-reverse.exp: New file.
10377
10378 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
10379
10380 * gdb.python/py-type.exp (test_range): New test.
10381
10382 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
10383
10384 PR python/10805
10385
10386 * gdb.python/py-type.exp: New file.
10387 * gdb.python/py-type.c: New file.
10388 * Makefile.in: Add py-type.
10389
10390 2009-12-03 Tom Tromey <tromey@redhat.com>
10391
10392 * gdb.python/py-value.exp (test_parse_and_eval): New
10393 function.
10394
10395 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10396
10397 PR gdb/11022
10398
10399 * gdb.base/pr11022.exp: New test.
10400 * gdb.base/pr11022.c: New test.
10401
10402 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 Fix spurious false FAILs.
10405 * gdb.base/structs.c (chartest): New.
10406 (main): Fill-in chartest.
10407 * gdb.base/structs.exp (anychar_re, first): New.
10408 (start_structs_test): Import global anychar_re and first.
10409 New gdb_test call "set print elements 300; ${testfile}"
10410 (start_structs_test <$first>): New block.
10411 (any): Import global anychar_re. New variable ac. Use ${ac}.
10412
10413 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10414
10415 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
10416
10417 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10418
10419 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
10420 Force $srcfile file.
10421 * gdb.base/foll-fork.c (callee): Comment out the printf call.
10422
10423 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10424
10425 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
10426 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
10427 * gdb.threads/watchthreads-reorder.exp: Likewise.
10428
10429 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
10430
10431 PR gdb/8704
10432
10433 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
10434 "if", and "thread". Correct matching in the previous test.
10435
10436 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
10437
10438 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
10439
10440 2009-11-23 Michael Snyder <msnyder@vmware.com>
10441
10442 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
10443 * gdb.reverse-watch-precsave.exp: Ditto.
10444
10445 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
10446
10447 * gdb.asm/asm-source.exp: Adjust.
10448 * gdb.base/help.exp: Adjust.
10449
10450 2009-11-22 Pedro Alves <pedro@codesourcery.com>
10451
10452 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
10453 (do_syscall_tests_without_xml): Set data-directory to
10454 /the/path/to/nowhere.
10455
10456 2009-11-21 Pedro Alves <pedro@codesourcery.com>
10457
10458 * gdb.threads/local-watch-wrong-thread.c,
10459 gdb.threads/local-watch-wrong-thread.exp: New files.
10460
10461 2009-11-21 Pedro Alves <pedro@codesourcery.com>
10462
10463 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
10464 assume new `regsub' syntax available.
10465
10466 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10467
10468 * gdb.base/watchpoint-hw-hit-once.exp,
10469 gdb.base/watchpoint-hw-hit-once.c: New.
10470
10471 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10472
10473 * gdb.threads/watchthreads-reorder.exp,
10474 gdb.threads/watchthreads-reorder.c: New.
10475
10476 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
10477
10478 * gdb.xml/tdesc-regs.exp: Use for m68k.
10479
10480 2009-11-15 Pedro Alves <pedro@codesourcery.com>
10481
10482 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
10483
10484 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10485
10486 * lib/gdb.exp (current_target_name): New procedure.
10487 (gdb_wrapper_target): New variable.
10488 (gdb_wrapper_init): Set gdb_wrapper_target.
10489 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
10490 wrapper.
10491
10492 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10493
10494 * gdb.base/remote.exp: Delete the slowest load test.
10495 Do not load with fixed packet sizes.
10496
10497 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10498
10499 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
10500
10501 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10502
10503 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
10504 srcfile when setting a breakpoint.
10505
10506 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
10507
10508 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
10509 macros.
10510
10511 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
10512
10513 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
10514 to be in memory.
10515 * gdb.base/display.c (force_mem): New.
10516 (do_loops): Use it. Add breakpoint comments.
10517 (do_vars): Add a breakpoint comment.
10518 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
10519 line numbers.
10520
10521 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
10522
10523 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
10524 instead of a bare "run".
10525
10526 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10527
10528 * gdb.python/py-prettyprint.exp: Adjust.
10529
10530 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10531
10532 * lib/cell.exp (skip_cell_tests): Clean up test files before
10533 returning.
10534
10535 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10536
10537 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
10538 and the breakpoint menu. Do not call perror if a prompt is seen.
10539 Consume the following GDB prompt.
10540 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
10541 * gdb.cp/namespace.exp: Use gdb_test.
10542 * gdb.cp/templates.exp: Use gdb_test.
10543 (test_template_breakpoints): Use gdb_test_multiple.
10544
10545 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10546
10547 * gdb.base/break1.c (struct some_struct, values): Move earlier.
10548 (marker4): Reference values.
10549
10550 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10551
10552 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
10553 is missing.
10554
10555 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10556
10557 * gdb.base/break.c (need_malloc): New.
10558 * gdb.base/constvars.c (main): Reference crass and crisp.
10559 * gdb.base/gdb1821.c (main): Reference bar.
10560 * gdb.cp/gdb1355.cc (main): Reference s1.
10561 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
10562 (main): Call them.
10563 * gdb.cp/hang2.cc (dummy2): Define.
10564 * gdb.cp/hang3.cc (dummy3): Define.
10565 * gdb.cp/m-data.cc (main): Reference shadow.
10566
10567 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
10568 Nathan Froyd <froydnj@codesourcery.com>
10569
10570 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
10571 remote host.
10572
10573 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
10574
10575 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
10576 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
10577 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10578 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10579 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10580 * gdb.dwarf2/dw2-producer.exp: Likewise.
10581 * gdb.dwarf2/mac-fileno.exp: Likewise.
10582 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
10583 py-prettyprint.py to the remote host.
10584 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
10585
10586 2009-11-11 Keith Seitz <keiths@redhat.com>
10587
10588 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
10589 use it instead of "Foo".
10590 * gdb.cp/classes.exp (do_tests): Add a test to access
10591 a method through a typedef'd class name.
10592
10593 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
10594
10595 * gdb.base/long_long.exp: Permit leading zeros on floating-point
10596 exponents.
10597 * gdb.base/pointers.exp: Likewise.
10598 * gdb.cp/ref-types.exp: Likewise.
10599
10600 2009-11-11 Keith Seitz <keiths@redhat.com>
10601
10602 * gdb.cp/cplusfuncs.cc (class foo): Add operators
10603 new[] and delete[].
10604 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
10605 "void".
10606 (probe_demangler): Remove all single-quoting of
10607 method and variable names.
10608 (info_func_regexp): Remove the word "void" from any
10609 occurrence of "(void)".
10610 (print_addr_2): Remove all single-quoting of
10611 method names.
10612 (print_addr_2_kfail): Likewise.
10613 (print_addr): Single-quote C function names before
10614 passing to print_addr_2.
10615 (test_paddr_operator_functions): Remove single-quoting
10616 for method names.
10617 Add tests for operator new[] and operator delete[].
10618
10619 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10620
10621 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
10622
10623 2009-11-09 Keith Seitz <keiths@redhat.com>
10624
10625 * gdb.cp/overload.exp: Add tests for resolving overloaded
10626 methods in expression parsing/evaluation.
10627
10628 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
10629
10630 * lib/gdb.exp (default_gdb_version): Use --version instead of
10631 --command.
10632
10633 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
10634
10635 * lib/gdb.exp (gdb_compile_test): New.
10636 (skip_ada_tests, skip_java_tests): New.
10637 (gdb_compile): Use gdb_compile_test for f77.
10638 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
10639 * lib/java.exp (compile_java_from_source): Remove runtests check,
10640 use gdb_compile_test to record result.
10641 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
10642 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
10643 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
10644 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
10645 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
10646 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
10647 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
10648 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
10649 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
10650 adjust gdb_compile invocations.
10651
10652 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10653
10654 * Makefile.in (abs_builddir): New.
10655 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
10656 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
10657 `$(abs_builddir)/site.exp'.
10658
10659 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
10660
10661 * config/m68k-emc.exp, lib/emc-support.exp,
10662 gdb.trace/gdb_c_test.c: Delete.
10663 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
10664 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10665 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10666 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10667 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10668 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
10669 casing for m68k-*-elf.
10670
10671 2009-11-03 Pedro Alves <pedro@codesourcery.com>
10672
10673 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
10674 * gdb.arch/i386-prologue.exp: Likewise.
10675 * gdb.arch/i386-unwind.exp: Likewise.
10676
10677 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10678
10679 * lib/gdb.exp (gdb_expect): Fix timeout typo.
10680
10681 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10682
10683 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
10684
10685 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
10686
10687 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
10688
10689 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10690
10691 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
10692
10693 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10694
10695 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
10696 * gdb.base/sepdebug2.c: New file.
10697
10698 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10699
10700 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
10701 the modified warnings for catch syscall. Verify if GDB was compiled
10702 with support for lib expat, and choose which tests to run depending
10703 on this.
10704
10705 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
10706
10707 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
10708 that composite commands are parsed OK. And also test
10709 that breakpoint commands do work.
10710
10711 2009-10-23 Michael Snyder <msnyder@vmware.com>
10712
10713 gdb.reverse/consecutive-precsave.exp: Change expect pattern
10714 to allow for new disassembly style.
10715
10716 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10717
10718 * gdb.asm/asm-source.exp: Adjust.
10719
10720 2009-10-22 Michael Snyder <msnyder@vmware.com>
10721
10722 * gdb.reverse/break-precsave.exp: New test.
10723 * gdb.reverse/consecutive-precsave.exp: Ditto.
10724 * gdb.reverse/finish-precsave.exp: Ditto.
10725 * gdb.reverse/i386-precsave.exp: Ditto.
10726 * gdb.reverse/machinestate-precsave.exp: Ditto.
10727 * gdb.reverse/sigall-precsave.exp: Ditto.
10728 * gdb.reverse/solilb-precsave.exp: Ditto.
10729 * gdb.reverse/step-precsave.exp: Ditto.
10730 * gdb.reverse/until-precsave.exp: Ditto.
10731 * gdb.reverse/watch-precsave.exp: Ditto.
10732
10733 2009-10-22 Michael Snyder <msnyder@vmware.com>
10734
10735 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
10736 for gdb_expect. Adjust one test's expect strings for the new
10737 format of disassemble.
10738 * gdb.reverse/finish-reverse.exp: Delete 'return'.
10739 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
10740 gdb_test_multiple.
10741 * gdb.reverse/step-reverse.exp: Delete 'return'.
10742 * gdb.reverse/until-reverse.exp: Delete blank lines.
10743 * gdb.reverse/watch-reverse.exp: Delete blank lines.
10744
10745 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10746
10747 * gdb.base/consecutive.exp: Adjust.
10748 * gdb.base/display.exp: Likewise.
10749 * gdb.base/pc-fp.exp: Likewise.
10750 * gdb.base/sigbpt.exp: Likewise.
10751
10752 2009-10-19 Michael Snyder <msnyder@vmware.com>
10753
10754 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
10755 * gdb.reverse/finish-reverse.c: Ditto.
10756 * gdb.reverse/sigall-reverse.c: Ditto.
10757 * gdb.reverse/solib-reverse.c: Ditto.
10758 * gdb.reverse/step-reverse.c: Ditto.
10759 * gdb.reverse/watch-reverse.c: Ditto.
10760
10761 2009-10-19 Pedro Alves <pedro@codesourcery.com>
10762 Stan Shebs <stan@codesourcery.com>
10763
10764 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
10765 * gdb.base/foll-exec.exp: Adjust to expect a process id before
10766 "Executing new program".
10767 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
10768 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
10769 left listed after having been killed.
10770 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
10771 * gdb.base/maint.exp: Adjust test.
10772
10773 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
10774 * gdb.multi/Makefile.in: New.
10775 * gdb.multi/base.exp: New.
10776 * gdb.multi/goodbye.c: New.
10777 * gdb.multi/hangout.c: New.
10778 * gdb.multi/hello.c: New.
10779 * gdb.multi/bkpt-multi-exec.c: New.
10780 * gdb.multi/bkpt-multi-exec.exp: New.
10781 * gdb.multi/crashme.c: New.
10782
10783 2009-10-13 Tristan Gingold <gingold@adacore.com>
10784
10785 * gdb.base/sepdebug.exp: Check debug info are found.
10786
10787 2009-10-08 Pedro Alves <pedro@codesourcery.com>
10788
10789 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
10790 bits.
10791
10792 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10793
10794 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
10795
10796 2009-10-07 Joel Brobecker <brobecker@adacore.com>
10797
10798 * gdb.base/watchpoints.c: Add copyright header. Reformat one
10799 of the comments.
10800
10801 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
10802
10803 * gdb.base/annota1.exp: Remove obsolete match_max increase.
10804 * gdb.base/annota3.exp: Idem.
10805 * gdb.base/maint.exp: Idem.
10806
10807 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
10808
10809 * lib/gdb.exp (default_gdb_init): Set current value of match_max
10810 to default.
10811
10812 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10813
10814 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
10815 mingw and cygwin targets.
10816
10817 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
10818 Pedro Alves <pedro@codesourcery.com>
10819
10820 * lib/gdb.exp (gdb_compile): Avoid adding
10821 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
10822
10823 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10824
10825 * gdb.base/shr1.c: Use %p in format string.
10826 * gdb.base/unload.c: Avoid warning in fprintf.
10827 * gdb.base/watchpoint-solib.c: Idem.
10828
10829 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
10830
10831 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
10832 long type.
10833 (test_unlink): Correct printf string.
10834 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
10835 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
10836
10837 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10838
10839 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
10840 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
10841 * gdb.arch/ia64-breakpoint-shadow.S: New file.
10842
10843 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10844
10845 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
10846 * gdb.objc/nondebug.exp: Likewise.
10847
10848 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10849
10850 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
10851 target_info setting.
10852
10853 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
10854 that detect new threads during "info threads".
10855
10856 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10857
10858 * gdb.threads/manythreads.c (main): Increase thread stack size
10859 to 2*PTHREAD_STACK_MIN.
10860 * gdb.threads/multi-create.c (main): Likewise.
10861 (create_function): Likewise.
10862
10863 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10864
10865 * gdb.base/dump.exp: Pass difference of pointer types instead
10866 of integer types as offset to restore in intarr3.srec case.
10867
10868 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10869
10870 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
10871
10872 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10873
10874 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
10875
10876 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
10877
10878 New test for two watchpoints, with disabling of
10879 the first inserted.
10880 * testsuite/gdb.base/watchpoints.c: New file.
10881 * testsuite/gdb.base/watchpoints.exp: New file.
10882
10883 2009-09-25 Tom Tromey <tromey@redhat.com>
10884
10885 * gdb.base/charset.exp: Test utf-16 strings with Python.
10886
10887 2009-09-25 Tom Tromey <tromey@redhat.com>
10888
10889 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
10890 UCS-4.
10891 * gdb.base/charset.c (utf_32_string): Rename.
10892 (init_utf32): Rename.
10893 (main): Update.
10894
10895 2009-09-22 Tom Tromey <tromey@redhat.com>
10896
10897 * gdb.python/py-function.exp: Add regression tests.
10898
10899 2009-09-21 Keith Seitz <keiths@redhat.com>
10900
10901 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
10902 with invalid operator.
10903
10904 2009-09-21 Keith Seitz <keiths@redhat.com>
10905
10906 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
10907 and destructor using typedef name of class.
10908 * gdb.cp/classes.cc (class Base1): Add a destructor.
10909 (base1): New typedef.
10910 (use_methods): Instanitate an object of type base1.
10911 * gdb.cp/templates.exp (test_template_typedef): New procedure.
10912 (do_tests): Call test_template_typedef.
10913 * gdb.cp/templates.cc (Baz::~Baz): New method.
10914 (intBazOne): New typedef.
10915 (main): Instantiate intBazOne.
10916
10917 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10918
10919 PR python/10633
10920
10921 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
10922 Function.
10923 (run_lang_tests): Add print elements test.
10924
10925 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
10926
10927 * gdb.python/py-value.exp (test_subscript_regression): New
10928 function. Test for invalid subscripts.
10929 * gdb.python/py-value.c (main): Add test array, and pointer to it.
10930 (ptr_ref): New function.
10931
10932 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10933
10934 * gdb.base/default.exp: Fix "show convenience".
10935
10936 2009-09-15 Tom Tromey <tromey@redhat.com>
10937
10938 * lib/mi-support.exp (mi_create_varobj): Update.
10939 (mi_create_floating_varobj): Likewise.
10940 (mi_create_dynamic_varobj): New proc.
10941 (mi_varobj_update): Update.
10942 (mi_varobj_update_with_type_change): Likewise.
10943 (mi_varobj_update_kv_helper): New proc.
10944 (mi_varobj_update_dynamic_helper): Rewrite.
10945 (mi_varobj_update_dynamic): New proc.
10946 (mi_list_varobj_children): Update.
10947 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
10948 * gdb.python/python-prettyprint.py (pp_outer): New class.
10949 (pp_nullstr): Likewise.
10950 (lookup_function): Register new printers.
10951 * gdb.python/python-prettyprint.c (struct substruct): New type.
10952 (struct outerstruct): Likewise.
10953 (substruct_test): New function.
10954 (struct nullstr): New type.
10955 (string_1, string_2): New globals.
10956 (main): Add new tests.
10957 * gdb.python/python-mi.exp: Added regression tests.
10958 * gdb.mi/mi2-var-display.exp: Update.
10959 * gdb.mi/mi2-var-cmd.exp: Update.
10960 * gdb.mi/mi2-var-child.exp: Update.
10961 * gdb.mi/mi2-var-block.exp: Update.
10962 * gdb.mi/mi-var-invalidate.exp: Update.
10963 * gdb.mi/mi-var-display.exp: Update.
10964 * gdb.mi/mi-var-cmd.exp: Update.
10965 * gdb.mi/mi-var-child.exp: Update.
10966 * gdb.mi/mi-var-block.exp: Update.
10967 * gdb.mi/mi-break.exp: Update.
10968 * gdb.mi/gdb701.exp: Update.
10969
10970 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
10971
10972 * Makefile.in: Inclusion of catch-syscall object.
10973 * gdb.base/catch-syscall.c: New file.
10974 * gdb.base/catch-syscall.exp: New file.
10975
10976 2009-09-12 Michael Snyder <msnyder@vmware.com>
10977
10978 * gdb.reverse/step-reverse.exp: Explicitly check for targets
10979 that can support reverse debuggnig.
10980
10981 2009-09-11 Tom Tromey <tromey@redhat.com>
10982
10983 * gdb.dwarf2/valop.S: New file.
10984 * gdb.dwarf2/valop.exp: New file.
10985
10986 2009-09-11 Mark Kettenis <kettenis@gnu.org>
10987
10988 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
10989
10990 2009-09-10 Doug Evans <dje@google.com>
10991
10992 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
10993 Add $gdb_prompt to second breakpoint regexp.
10994
10995 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
10996
10997 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
10998 names, add missing ones.
10999 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
11000 * gdb.python/py-frame.c: Rename from python-frame.c.
11001 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
11002 testfile name.
11003 * gdb.python/py-function.exp: Rename from python-function.exp.
11004 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
11005 testfile name.
11006 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
11007 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
11008 Adjust testfile name.
11009 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
11010 * gdb.python/py-template.cc: Rename from python-template.cc.
11011 * gdb.python/py-template.exp: Rename from python-template.exp.
11012 Adjust testfile name.
11013 * gdb.python/py-value.c: Rename from python-value.c.
11014 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
11015 testfile name.
11016
11017 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11018
11019 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
11020 $bpt2address.
11021 (Second breakpoint address is valid on ia64)
11022 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
11023
11024 2009-09-03 Joseph Myers <joseph@codesourcery.com>
11025
11026 * gdb.base/ending-run.exp: Restrict regular expression matching
11027 line number to require closing brace following.
11028
11029 2009-09-03 Doug Evans <dje@google.com>
11030
11031 * gdb.base/store.exp (check_set): Fix typo in expected value message.
11032
11033 2009-09-02 Tom Tromey <tromey@redhat.com>
11034
11035 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
11036
11037 2009-09-02 Tom Tromey <tromey@redhat.com>
11038
11039 * gdb.dwarf2/callframecfa.exp: New file.
11040 * gdb.dwarf2/callframecfa.S: New file.
11041
11042 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11043
11044 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
11045 gdb.base/solib-overlap-main.c: New.
11046
11047 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
11048
11049 PR gdb/10565
11050
11051 * gdb.base/bitfields.c (struct container, container): New.
11052 (main): Initialize it and call break5.
11053 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
11054
11055 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11056
11057 Support constant DW_AT_data_member_location by GCC PR debug/40659.
11058 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
11059
11060 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11061
11062 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
11063
11064 2009-08-26 Michael Snyder <msnyder@vmware.com>
11065
11066 * gdb.base/i386-reverse.c: New file.
11067 * gdb.base/i386-reverse.exp: New file.
11068 * gdb.base/Makefile.in: Add new files to be removed.
11069
11070 2009-08-26 Joseph Myers <joseph@codesourcery.com>
11071
11072 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
11073 environment-pwd for remote host.
11074 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
11075
11076 2009-08-24 Keith Seitz <keiths@redhat.com>
11077
11078 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
11079 Add two new C++ completer tests which limit the output to a
11080 given class.
11081
11082 2009-08-24 Michael Snyder <msnyder@vmware.com>
11083
11084 * gdb.base/del.exp: Fix typo in comment.
11085 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
11086
11087 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11088
11089 * configure: Regenerate.
11090 * gdb.hp/configure: Likewise.
11091 * gdb.hp/gdb.aCC/configure: Likewise.
11092 * gdb.hp/gdb.base-hp/configure: Likewise.
11093 * gdb.hp/gdb.compat/configure: Likewise.
11094 * gdb.hp/gdb.defects/configure: Likewise.
11095 * gdb.hp/gdb.objdbg/configure: Likewise.
11096 * gdb.stabs/configure: Likewise.
11097
11098 2009-08-19 Doug Evans <dje@google.com>
11099
11100 * gdb.base/gdbvars.c: New file.
11101 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
11102
11103 2009-08-14 Pedro Alves <pedro@codesourcery.com>
11104
11105 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
11106 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
11107
11108 2009-08-13 Pedro Alves <pedro@codesourcery.com>
11109
11110 * gdb.base/default.exp: Adjust "set language test": it's now an
11111 enum command. Larger help string moved to "help set language".
11112 * gdb.base/help.exp: Adjust "help set language" expected output,
11113 now lists all known languages.
11114
11115 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
11116
11117 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
11118 all frame arguments.
11119 * gdb.arch/altivec-regs.exp: Likewise.
11120
11121 2009-08-07 Tom Tromey <tromey@redhat.com>
11122
11123 * gdb.base/setshow.exp: Add tests for changes to set language, set
11124 check range, and set check type.
11125
11126 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
11127
11128 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
11129 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
11130 Call it.
11131
11132 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11133
11134 * configure.ac: Run gdb.cell tests when appropriate.
11135 * configure: Regenerate.
11136 * lib/cell.exp: New file.
11137 * gdb.cell: New directory.
11138 * gdb.cell/configure.ac: New file.
11139 * gdb.cell/configure: New file.
11140 * gdb.cell/Makefile.in: New file.
11141 * gdb.cell/arch.exp: New file.
11142 * gdb.cell/break.c: New file.
11143 * gdb.cell/break.exp: New file.
11144 * gdb.cell/break-spu.c: New file.
11145 * gdb.cell/bt.c: New file.
11146 * gdb.cell/bt2-spu.c: New file.
11147 * gdb.cell/bt-spu.c: New file.
11148 * gdb.cell/bt.exp: New file.
11149 * gdb.cell/coremaker.c: New file.
11150 * gdb.cell/coremaker-spu.c: New file.
11151 * gdb.cell/core.exp: New file.
11152 * gdb.cell/gcore.exp: New file.
11153 * gdb.cell/data.c: New file.
11154 * gdb.cell/data.exp: New file.
11155 * gdb.cell/data-spu.c: New file.
11156 * gdb.cell/ea-cache.exp: New file.
11157 * gdb.cell/ea-cache.c: New file.
11158 * gdb.cell/ea-cache-spu.c: New file.
11159 * gdb.cell/ea-standalone.c: New file.
11160 * gdb.cell/ea-standalone.exp: New file.
11161 * gdb.cell/ea-test.c: New file.
11162 * gdb.cell/ea-test.exp: New file.
11163 * gdb.cell/f-regs.exp: New file.
11164 * gdb.cell/mem-access.c: New file.
11165 * gdb.cell/mem-access.exp: New file.
11166 * gdb.cell/mem-access-spu.c: New file.
11167 * gdb.cell/ptype.exp: New file.
11168 * gdb.cell/registers.exp: New file.
11169 * gdb.cell/size.c: New file.
11170 * gdb.cell/sizeof.exp: New file.
11171 * gdb.cell/size-spu.c: New file.
11172 * gdb.cell/solib.exp: New file.
11173 * gdb.cell/solib-symbol.exp: New file.
11174
11175 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11176
11177 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
11178
11179 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
11180
11181 * gdb.base/float.exp: Handle VFP registers.
11182
11183 2009-07-14 Michael Snyder <msnyder@vmware.com>
11184
11185 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
11186 to bring gdb to the beginning of the calling line.
11187
11188 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
11189 confusing the i386 epilogue unwinder.
11190
11191 2009-07-14 Stan Shebs <stan@codesourcery.com>
11192
11193 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
11194
11195 2009-07-14 Michael Snyder <msnyder@vmware.com>
11196
11197 * gdb.reverse/step-reverse.exp (stepi into function call):
11198 Call instruction may not be first instruction in the line.
11199 (reverse stepi from a function call): Used wrong line number.
11200
11201 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11202
11203 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
11204
11205 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11206
11207 Fix gdb.base/macscp.exp when using custom inputrc.
11208 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
11209 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
11210 env(TERM) set.
11211 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
11212 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
11213
11214 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11215
11216 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
11217 * gdb.base/annota1.exp (thread_test): Import global $testfile.
11218 Change the compilation target to match the testcase name.
11219 * gdb.base/sect-cmd.exp: Change the compilation target to match the
11220 testcase name.
11221 * a2-run.exp: Use for setup prepare_for_testing. Change the
11222 compilation target to match the testcase name.
11223 * gdb.base/commands.exp: Likewise.
11224 * gdb.base/finish.exp: Likewise.
11225 * gdb.base/float.exp: Likewise.
11226 * gdb.base/info-target.exp: Likewise.
11227 * gdb.base/relational.exp: Likewise.
11228 * gdb.base/term.exp: Likewise.
11229 * gdb.base/until.exp: Likewise.
11230 * gdb.base/volatile.exp: Likewise.
11231 * gdb.base/whatis-exp.exp: Likewise.
11232
11233 2009-07-11 Hui Zhu <teawater@gmail.com>
11234
11235 * gdb.base/help.exp (disassemble): Update expected help text.
11236
11237 2009-07-09 Tom Tromey <tromey@redhat.com>
11238
11239 * lib/gdb.exp: Handle TRANSCRIPT.
11240 (remote_spawn, remote_close, send_gdb): New procs.
11241
11242 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
11243
11244 * gdb.python/python-prettyprint.c: Add counted null string
11245 structure.
11246 * gdb.python/python-prettyprint.exp: Print null string. Test for
11247 embedded nulls.
11248 * gdb.python/python-prettyprint.py (pp_ns): New Function.
11249 * gdb.python/python-value.exp (test_value_in_inferior): Add
11250 variable length string fetch tests.
11251 * gdb.python/python-value.c (main): Add strings for string fetch tests.
11252
11253 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11254
11255 * gdb.base/dump.exp (inaccessible memory is reported): New test.
11256
11257 2009-07-07 Tom Tromey <tromey@redhat.com>
11258
11259 * gdb.base/call-rt-st.exp: Update for change to escape output.
11260 * gdb.base/callfuncs.exp: Likewise.
11261 * gdb.base/charset.exp: Likewise.
11262 * gdb.base/constvars.exp: Likewise.
11263 * gdb.base/long_long.exp: Likewise.
11264 * gdb.base/pointers.exp: Likewise.
11265 * gdb.base/printcmds.exp: Likewise.
11266 * gdb.base/setvar.exp: Likewise.
11267 * gdb.base/store.exp: Likewise.
11268 * gdb.cp/ref-types.exp: Likewise.
11269 * gdb.mi/mi-var-child.exp: Likewise.
11270 * gdb.mi/mi-var-display.exp: Likewise.
11271 * gdb.mi/mi2-var-display.exp: Likewise.
11272 * gdb.base/charset.exp: Test octal escape sequence length.
11273 Update for change to escape output.
11274
11275 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11276
11277 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
11278
11279 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
11280
11281 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
11282
11283 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11284
11285 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
11286 gdbserver increasing $portnum if "Can't bind address" has been seen.
11287
11288 2009-07-05 Pedro Alves <pedro@codesourcery.com>
11289
11290 * gdb.base/ending-run.exp: Add "step out of main" pattern for
11291 mingw32ce.
11292
11293 2009-07-05 Pedro Alves <pedro@codesourcery.com>
11294
11295 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
11296 VFP format.
11297
11298 2009-07-02 Pedro Alves <pedro@codesourcery.com>
11299
11300 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
11301 linux. Adjust to use "inferior", "info inferiors", "detach
11302 inferior" and "kill inferior" instead of "restart", "info fork",
11303 "detach fork" and "delete fork".
11304 * gdb.base/ending-run.exp: Spell out "info".
11305 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
11306 the "kill" command.
11307
11308 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11309
11310 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
11311 change to prefix TLS offset in hex with 0x.
11312
11313 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11314
11315 * gdb.base/default.exp: Update test case for "x" changes.
11316
11317 2009-07-01 Tristan Gingold <gingold@adacore.com>
11318
11319 * gdb.base/bigcore.exp: Make darwin untested.
11320
11321 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11322
11323 * gdb.base/completion.exp (directory completion): Create the directory.
11324 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
11325 escapeuniquesub.
11326 (directory completion 2): Expect now ${escapeuniquesub}.
11327 (Glob remaining of directory test): Remove one excessive newline.
11328 Expect the real output.
11329
11330 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11331
11332 Fix `make check//%' target after `make check' has been ran.
11333 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
11334 a mkdir call.
11335 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
11336 (%/.dir): Remove.
11337
11338 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11339
11340 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
11341 the expected result record.
11342
11343 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11344
11345 Remove racy FAILs relying just on the timeouts.
11346 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
11347 (annotation_level 2): Remove racy FAILs.
11348
11349 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11350
11351 gdb/10275
11352 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
11353
11354 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
11355
11356 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
11357
11358 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
11359
11360 * gdb.mi/mi-stack.exp: Testing symbolic options
11361 to -stack-list-locals and -stack-list-arguments.
11362
11363 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11364
11365 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
11366
11367 2009-06-29 Tom Tromey <tromey@redhat.com>
11368
11369 * dg-extract-results.sh: New file.
11370 * Makefile.in (FORCE_PARALLEL): New variable.
11371 (CHECK_TARGET): New conditional variable.
11372 (check): Use CHECK_TARGET.
11373 (DO_RUNTEST): New variable.
11374 (check-single): New target.
11375 (TEST_DIRS): New variable.
11376 (TEST_TARGETS): Likewise.
11377 (check-parallel): New target.
11378 (check-gdb.%): New pattern.
11379 (BASE1_FILES): New variable.
11380 (BASE2_FILES): Likewise.
11381 (check-gdb.base%): New pattern.
11382 (%/.dir): New pattern.
11383 * configure: Rebuild.
11384 * aclocal.m4 (AM_CONDITIONAL): New defun.
11385 * configure.ac: Check whether user is using GNU make.
11386 (GMAKE): New conditional.
11387
11388 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
11389
11390 * gdb.cp/namespace-nested-import.cc: New test.
11391 * gdb.cp/namespace-nested-import.exp: New test.
11392
11393 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
11394
11395 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
11396 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
11397 * gdb.opt/Makefile.in (EXECUTABLES): Update.
11398 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
11399 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
11400 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
11401 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
11402 gdb.opt/inline-markers.c: New files.
11403 * lib/gdb.exp (skip_inline_frame_tests): New function.
11404 (skip_inline_var_tests): New function.
11405
11406 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
11407
11408 * gdb.cp/exception.exp: Don't require $hex before inner frame in
11409 backtrace.
11410
11411 2009-06-27 Michael Snyder <msnyder@vmware.com>
11412
11413 * gdb.reverse: New directory.
11414 * gdb.reverse/break-reverse.c: New test.
11415 * gdb.reverse/break-reverse.exp: New test.
11416 * gdb.reverse/consecutive-reverse.c: New test.
11417 * gdb.reverse/consecutive-reverse.exp: New test.
11418 * gdb.reverse/finish-reverse.c: New test.
11419 * gdb.reverse/finish-reverse.exp: New test.
11420 * gdb.reverse/machinestate.c: New test.
11421 * gdb.reverse/ms1.c: New test.
11422 * gdb.reverse/machinestate.exp: New test.
11423 * gdb.reverse/Makefile.in: New file.
11424 * gdb.reverse/shr2.c: New test.
11425 * gdb.reverse/solib-reverse.c: New test.
11426 * gdb.reverse/solib-reverse.exp: New test.
11427 * gdb.reverse/step-reverse.c: New test.
11428 * gdb.reverse/step-reverse.exp: New test.
11429 * gdb.reverse/until-reverse.c: New test.
11430 * gdb.reverse/ur1.c: New test.
11431 * gdb.reverse/until-reverse.exp: New test.
11432 * gdb.reverse/watch-reverse.c: New test.
11433 * gdb.reverse/watch-reverse.exp: New test.
11434 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
11435 * configure: Regenerate.
11436
11437 2009-06-26 Doug Evans <dje@google.com>
11438
11439 * gdb.base/psymtab.exp: Turn off pending breakpoints.
11440
11441 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
11442
11443 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
11444 windows problem for 'file delete $binfile'.
11445
11446 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
11447
11448 * gdb.cp/namespace-using.exp: New test.
11449 * gdb.cp/namespace-using.cc: New test.
11450
11451 2009-05-20 Joel Brobecker <brobecker@adacore.com>
11452
11453 * gdb.ada/variant_record_packed_array: New testcase.
11454
11455 2009-06-23 Tom Tromey <tromey@redhat.com>
11456
11457 * gdb.base/charset.exp (test_combination): Regression test.
11458 * gdb.base/charset.c (my_wchar_t): New typedef.
11459 (myvar): New global.
11460 (main): Set myvar.
11461
11462 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
11463
11464 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
11465 target.
11466
11467 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11468
11469 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
11470
11471 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11472
11473 * gdb.mi/gdb680.exp: Update test for error message.
11474
11475 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11476
11477 * gdb.base/annota1.exp: Allow multiple occurrences of the
11478 frames-invalid annotation.
11479 * gdb.cp/annota2.exp: Likewise.
11480
11481 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
11482
11483 * gdb.cp/gdb2495.cc: New file.
11484 * gdb.cp/gdb2495.exp: New file.
11485
11486 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11487
11488 Report error on GDB crash during runto.
11489 * lib/gdb.exp (runto <eof>): New.
11490
11491 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
11492
11493 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
11494 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
11495 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
11496 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
11497 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
11498 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
11499 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
11500 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
11501 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
11502 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
11503 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
11504 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
11505 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11506 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
11507 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
11508 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
11509 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
11510 gdb.server/server-mon.exp, gdb.server/server-run.exp,
11511 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
11512 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
11513 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
11514 gdb.trace/passcount.exp, gdb.trace/report.exp,
11515 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
11516 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
11517 gdb.trace/while-stepping.exp: Use a unique name for the compiled
11518 executable.
11519
11520 2009-06-07 Pedro Alves <pedro@codesourcery.com>
11521
11522 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
11523 defined before referencing it.
11524
11525 2009-06-03 Doug Evans <dje@google.com>
11526
11527 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
11528 * gdb.arch/i386-see.c: Ditto.
11529
11530 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
11531
11532 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
11533 (check_macro): Return 1 if undefined.
11534 If first test fails, check if macro debug information is available,
11535 and report unsupported test if no macro information is found.
11536
11537 2009-05-29 Doug Evans <dje@google.com>
11538
11539 * gdb.threads/hand-call-in-threads.exp: New.
11540 * gdb.threads/hand-call-in-threads.c: New.
11541
11542 2009-05-29 Michael Snyder <msnyder@vmware.com>
11543
11544 * gdb.base/break-always.exp: Change "1" to "on".
11545 Add confirmation check.
11546
11547 2009-05-28 Pedro Alves <pedro@codesourcery.com>
11548
11549 * gdb.threads/threxit-hop-specific.c: New.
11550 * gdb.threads/threxit-hop-specific.exp: New.
11551 * gdb.threads/thread-execl.c: New.
11552 * gdb.threads/thread-execl.exp: New.
11553
11554 2009-05-27 Tom Tromey <tromey@redhat.com>
11555 Thiago Jung Bauermann <bauerman@br.ibm.com>
11556
11557 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
11558 (mi_child_regexp): Likewise.
11559 (mi_list_varobj_children_range): Likewise.
11560 (mi_get_features): Likewise.
11561 (mi_list_varobj_children): Rewrite.
11562 * gdb.python/python-mi.exp: New file.
11563
11564 2009-05-27 Tom Tromey <tromey@redhat.com>
11565 Thiago Jung Bauermann <bauerman@br.ibm.com>
11566 Phil Muldoon <pmuldoon@redhat.com>
11567 Paul Pluzhnikov <ppluzhnikov@google.com>
11568
11569 * gdb.python/python-prettyprint.exp: New file.
11570 * gdb.python/python-prettyprint.c: New file.
11571 * gdb.python/python-prettyprint.py: New file.
11572 * gdb.base/display.exp: print/r is now valid.
11573
11574 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
11575 Tom Tromey <tromey@redhat.com>
11576 Pedro Alves <pedro@codesourcery.com>
11577 Paul Pluzhnikov <ppluzhnikov@google.com>
11578
11579 * gdb.python/python-template.exp: New file.
11580 * gdb.python/python-template.cc: New file.
11581 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11582 tests.
11583 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11584 Call it.
11585 (test_value_after_death): New proc.
11586 * gdb.python/python-value.c (PTR): New typedef.
11587 (main): New variable 'x'.
11588
11589 2009-05-27 Tom Tromey <tromey@redhat.com>
11590
11591 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
11592 tests.
11593 * gdb.python/python-value.exp (py_objfile_tests): New proc.
11594 Call it.
11595
11596 2009-05-27 Pedro Alves <pedro@codesourcery.com>
11597
11598 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
11599
11600 2009-05-24 Pedro Alves <pedro@codesourcery.com>
11601
11602 * gdb.threads/fork-thread-pending.c: New.
11603 * gdb.threads/fork-thread-pending.exp: New.
11604
11605 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11606
11607 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
11608 * gdb.dwarf2/dw2-strp.S (a_string2): New.
11609
11610 2009-05-18 Jon Beniston <jon@beniston.com>
11611
11612 * gdb.asm/asm-source.exp: Add lm32 target.
11613
11614 2009-05-17 Pedro Alves <pedro@codesourcery.com>
11615
11616 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
11617 `gdb_get_line_number'. Call `callee' in both parent and child.
11618 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
11619 `gdb_get_line_number' instead of hardcoding line numbers.
11620 (catch_fork_unpatch_child): New procedure to test detaching
11621 breakpoints from child fork.
11622 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
11623 hardcoding line numbers.
11624 (do_fork_tests): Run `catch_fork_unpatch_child'.
11625
11626 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
11627
11628 * gdb.mi/mi-cmd-var.exp: Check that when varobj
11629 of structure type enters or leaves the scope, it
11630 is reported by -var-update.
11631
11632 2009-05-11 Doug Evans <dje@sebabeach.org>
11633
11634 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
11635 * gdb.threads/pending-step.c (main): Fix off-by-one error.
11636 * gdb.threads/schedlock.c (main): Fix off-by-one error.
11637
11638 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11639
11640 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
11641
11642 2009-04-30 Doug Evans <dje@google.com>
11643
11644 * gdb.threads/watchthreads2.exp: New testcase.
11645 * gdb.threads/watchthreads2.c: New testcase.
11646
11647 2009-04-29 Doug Evans <dje@google.com>
11648
11649 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
11650 * gdb.cp/mb-ctor.cc: Ditto.
11651 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
11652 * gdb.cp/mb-inline.h (multi_line_foo): New function.
11653 * gdb.cp/mb-inline1.cc: Call it.
11654 * gdb.cp/mb-inline2.cc: Ditto.
11655 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
11656 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
11657
11658 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11659
11660 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
11661 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
11662 Replace all uses of `decimal' by `nonzero'.
11663 (info macro FROM_COMMANDLINE): New test.
11664
11665 2009-04-27 Tom Tromey <tromey@redhat.com>
11666
11667 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
11668
11669 2009-04-27 Doug Evans <dje@google.com>
11670
11671 * gdb.threads/watchthreads.c (main): Initialize args before starting
11672 the threads. Plus formatting cleanup.
11673 * gdb.threads/watchthreads.exp: Avoid errant failures due to
11674 biased scheduling of one thread.
11675
11676 2009-04-27 Jerome Guitton <guitton@adacore.com>
11677
11678 * gdb.cp/templates.cc (GetMax): New template.
11679 (main): Declare two instances of GetMax.
11680 * gdb.cp/templates.exp: Add new test.
11681
11682 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11683
11684 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
11685
11686 2009-04-22 Joseph Myers <joseph@codesourcery.com>
11687
11688 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
11689
11690 2009-04-15 Tom Tromey <tromey@redhat.com>
11691
11692 * gdb.base/charset.exp: Add regression test.
11693
11694 2009-04-14 Joel Brobecker <brobecker@adacore.com>
11695
11696 * gdb.base/exe-lock.exp: New testcase.
11697
11698 2009-04-13 Tom Tromey <tromey@redhat.com>
11699
11700 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
11701 operator on Frame.
11702
11703 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11704
11705 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
11706 * gdb.server/ext-attach.exp: Likewise.
11707
11708 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
11709
11710 Eliminate some sleep usage.
11711
11712 * gdb.mi/basics.c (do_nothing): New.
11713 (main): Use do_nothing instead of printf, so that
11714 not to introduce race condition between output of
11715 inferiour and output of gdb. Do not use sleep as it
11716 is not generally available on embedded targets.
11717
11718 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11719
11720 * gdb.server/ext-attach.exp: Expect an optional process id after
11721 "Detached from remote process".
11722
11723 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11724
11725 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
11726 gdb.dwarf2/dw2-unresolved.exp: New.
11727
11728 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11729
11730 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
11731 mi_run_to_main.
11732
11733 2009-04-02 Pedro Alves <pedro@codesourcery.com>
11734
11735 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
11736 mi_run_to_main. Skip thread exit test on remote targets.
11737 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
11738 mi_run_to_main.
11739 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
11740 mi_run_to_main.
11741 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
11742 when expecting ^connected. Detect when the target doesn't support
11743 non-stop mode.
11744 (mi_run_cmd): Detect if non-stop mode was requested by isn't
11745 supported. Return -1 on error, 0 on success.
11746 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
11747 (mi_runto): Return mi_runto_helper's result explicitly.
11748
11749 2009-04-01 Pedro Alves <pedro@codesourcery.com>
11750
11751 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
11752
11753 2009-04-01 Tom Tromey <tromey@redhat.com>
11754
11755 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
11756 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
11757 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
11758 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
11759
11760 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
11761 Jan Kratochvil <jan.kratochvil@redhat.com>
11762
11763 PR gdb/931
11764 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
11765 output.
11766 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
11767 for gdb/931.
11768 * dw2-strp.S (DW_AT_language): Change to C++.
11769 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
11770
11771 2009-03-31 Joel Brobecker <brobecker@adacore.com>
11772
11773 * gdb.ada/tasks: New testcase.
11774
11775 2009-03-30 Stan Shebs <stan@codesourcery.com>
11776
11777 * gdb.trace/actions.exp: Update to match new info trace format.
11778 * gdb.trace/deltrace.exp: Ditto.
11779 * gdb.trace/infotrace.exp: Ditto.
11780 * gdb.trace/passcount.exp: Ditto.
11781 * gdb.trace/save-trace.exp: Ditto.
11782 * gdb.trace/while-stepping.exp: Ditto.
11783 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
11784
11785 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11786
11787 * gdb.python/python-frame.c: New file.
11788 * gdb.python/python-frame.exp: New file.
11789
11790 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
11791
11792 * gdb.python/python-value.exp: Add tests for the address
11793 attribute.
11794
11795 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
11796
11797 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
11798
11799 2009-03-26 Doug Evans <dje@google.com>
11800
11801 * gdb.mi/mi-nonstop-exit.exp: New file.
11802 * gdb.mi/non-stop-exit.c: New file.
11803
11804 2009-03-26 Tom Tromey <tromey@redhat.com>
11805
11806 Update for change to prologue skipping:
11807 * gdb.mi/mi2-simplerun.exp: Update.
11808 * gdb.mi/mi2-break.exp: Update.
11809 * gdb.mi/mi-simplerun.exp: Update.
11810 * gdb.mi/mi-break.exp: Update.
11811 * gdb.base/ending-run.exp: Update.
11812
11813 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
11814
11815 * gdb.python/python-value.exp (test_value_in_inferior): Test
11816 gdb.Value.is_optimized_out attribute.
11817
11818 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11819
11820 * gdb.dwarf2/dw2-noloc-main.c: New file.
11821 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
11822 (.text): Remove.
11823 (.data): New.
11824 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
11825 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
11826 (DW_TAG_subprogram func_cu1, noloc): Remove.
11827 (main): New.
11828 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
11829 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
11830 (file_symbols): New procedure.
11831
11832 2009-03-25 Tom Tromey <tromey@redhat.com>
11833
11834 * gdb.base/charset.exp (valid_target_charset): New proc.
11835 Use it to skip tests on invalid charsets.
11836
11837 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
11838
11839 * gdb.base/completion.exp: Add a test for directory completion.
11840
11841 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11842
11843 Fix a racy FAIL.
11844 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
11845 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
11846
11847 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
11848
11849 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
11850 * gdb.python/python-function.exp: Add test for function returning
11851 a GDB value.
11852
11853 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
11854
11855 * gdb.python/python-function.exp: New file.
11856
11857 2009-03-20 Tom Tromey <tromey@redhat.com>
11858
11859 * gdb.base/store.exp: Update for change to escape output.
11860 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
11861 to escape output.
11862 * gdb.base/pointers.exp: Update for change to escape output.
11863 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
11864 to escape output.
11865 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
11866 escape output.
11867 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
11868 to escape output.
11869 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
11870 escape output.
11871 * gdb.base/setvar.exp: Update for change to escape output.
11872 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
11873 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
11874 to escape output.
11875 (test_print_string_constants): Likewise.
11876 * gdb.base/charset.exp (valid_host_charset): Check size of
11877 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
11878 cases. Handle "auto"-related output.
11879 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
11880 (uvar, Uvar): New globals.
11881
11882 2009-03-19 Jerome Guitton <guitton@adacore.com>
11883
11884 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
11885 deltas.
11886 * gdb.ada/fixed_points.exp: Ditto.
11887
11888 2009-03-18 Pedro Alves <pedro@codesourcery.com>
11889
11890 * return-nodebug.c: Don't include stdio.h.
11891 (init): Delete.
11892 (func): Delete definition and provide extern declaration.
11893 (t): New.
11894 (main): Don't call printf. Call func and store its result in t.
11895 * return-nodebug1.c: New.
11896 * return-nodebug.exp: Don't expect stdio output. Instead, print
11897 the global variable t. Drop printf formatters and cast types from
11898 foreach loop. Don't use prepare_for_testing. Compile
11899 return-nodebug.c and return-nodebug1.c in separate steps. Don't
11900 define FORMAT or CAST.
11901
11902 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11903
11904 * gdb.base/solib-display.exp: Disable test for remote targers.
11905
11906 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11907
11908 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
11909
11910 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11911
11912 Fix a racy FAIL.
11913 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
11914 code from `follow parent, print pids'.
11915 (`follow child, print pids', `follow parent, print pids'): Call it.
11916 Replace `gdb_test "break..."' by gdb_breakpoint.
11917
11918 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
11919
11920 * gdb.mi/mi-cli.exp: Adjust for output difference in
11921 sync and async modes.
11922
11923 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11924
11925 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
11926 that was checked in by mistake. Remove loading of ada.exp, since
11927 this is not necessary in this case.
11928
11929 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11930
11931 * gdb.ada/ptype_arith_binop.exp: New testcase.
11932
11933 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11934
11935 * gdb.ada/mod_from_name: New testcase.
11936
11937 2009-03-12 Joel Brobecker <brobecker@adacore.com>
11938
11939 * gdb.ada/tick_last_segv: New testcase.
11940
11941 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11942
11943 * gdb.mi/mi-cli.exp: Remove debug print.
11944
11945 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
11946
11947 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
11948 include the token in ^running and frame info in *stopped.
11949
11950 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11951
11952 * solib-display.exp: New file.
11953 * solib-display-main.c: New file.
11954 * solib-display-lib.c: New file.
11955
11956 2009-03-05 Pedro Alves <pedro@codesourcery.com>
11957
11958 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
11959
11960 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11961
11962 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
11963 (list_and_check_macro): Use more specific test name.
11964 (next to definition): Make the test names unique.
11965
11966 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
11967
11968 * gdb.pascal/floats.exp: Accept approximate results everywhere.
11969
11970 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11971
11972 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
11973 notifications.
11974 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
11975 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
11976 * lib/mi-support.exp (library_loaded_re): New.
11977 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
11978
11979 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
11980
11981 * gdb.gdb/observer.exp: Use test_notification observer, not
11982 normal_stop, everywhere.
11983 (test_normal_stop_notifications): Rename to...
11984 (test_notifications): ...this.
11985 (test_observer_normal_stop): Rename to...
11986 (test_observer): ...this.
11987
11988 2009-02-16 Doug Evans <dje@google.com>
11989
11990 * gdb.arch/amd64-disp-step.S (test_int3): New test.
11991 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
11992 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
11993 (test_prefixed_syscall,test_int3): New tests.
11994 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
11995 (test_prefixed_syscall,test_int3): New tests.
11996
11997 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
11998
11999 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
12000 (mi_expect_interrupt): Likewise.
12001 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
12002 response.
12003
12004 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12005
12006 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
12007 * gdb.base/pc-fp.exp (get_valueofx): Remove.
12008 Replace calls to get_valueofx by get_hexadecimal_valueof.
12009
12010 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
12011
12012 * lib/gdb.exp (get_valueof): Accept anything as a return value.
12013 (get_integer_valueof): New procedure.
12014 (get_sizeof): Use new get_integer_value_of.
12015 * gdb.base/sizeof.exp: Replace all uses of get_valueof
12016 by get_integer_valueof.
12017
12018 2009-02-13 Tom Tromey <tromey@redhat.com>
12019
12020 * gdb.base/remote.exp (get_sizeof): Remove.
12021 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
12022 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
12023 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
12024 * lib/gdb.exp (get_valueof): Move from long_long.exp.
12025 (get_sizeof): Likewise.
12026
12027 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12028
12029 PR fortran/9806
12030 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
12031
12032 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12033
12034 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
12035
12036 2009-02-06 Pedro Alves <pedro@codesourcery.com>
12037
12038 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
12039
12040 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12041
12042 * gdb.python/python-cmd.exp: New file.
12043
12044 2009-02-06 Tristan Gingold <gingold@adacore.com>
12045
12046 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
12047
12048 2009-02-05 Tristan Gingold <gingold@adacore.com>
12049
12050 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
12051 pointer is dereferenced and use this signal name in regexp.
12052 * gdb.base/signull.exp: Ditto.
12053 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
12054 * gdb.base/signull.c (main): Ditto.
12055
12056 2009-02-04 Tom Tromey <tromey@redhat.com>
12057 Thiago Jung Bauermann <bauerman@br.ibm.com>
12058
12059 * gdb.python/python-value.exp: Use `gdb.history' instead of
12060 `gdb.value_from_history'.
12061 (test_value_numeric_ops): Add test for conversion of enum constant.
12062 * gdb.python/python-value.c (enum e): New type.
12063 (evalue): New global.
12064 (main): Use argv.
12065
12066 2009-02-04 Jerome Guitton <guitton@adacore.com>
12067
12068 * gdb.ada/uninitialized_vars: New test program.
12069 * gdb.ada/uninitialized_vars.exp: New testcase.
12070
12071 2009-02-02 Tom Tromey <tromey@redhat.com>
12072
12073 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
12074 * gdb.cp/pr2489.cc: Rename...
12075 * gdb.cp/pr9594.cc: ... to this.
12076
12077 2009-02-02 Tom Tromey <tromey@redhat.com>
12078
12079 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
12080 * gdb.cp/pr2489.cc: New file.
12081 * gdb.cp/cpcompletion.exp: New file.
12082
12083 2009-02-02 Tom Tromey <tromey@redhat.com>
12084
12085 PR exp/9059:
12086 * gdb.cp/call-c.exp: Add regression test.
12087 * gdb.cp/call-c.cc (FooHandle): New typedef.
12088 (main): New variable 'handle'.
12089
12090 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12091
12092 * lib/mi-support.exp (et_mi_thread_list)
12093 (check_mi_and_console_threads): Adjust for current thread in
12094 -thread-list-ids output.
12095
12096 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
12097
12098 * gdb.mi/mi-break.exp (test_disabled_creation): New.
12099 Call it.
12100
12101 2009-01-28 Doug Evans <dje@google.com>
12102
12103 * gdb.arch/amd64-disp-step.S: New file.
12104 * gdb.arch/amd64-disp-step.exp: New file.
12105 * gdb.arch/i386-disp-step.S: New file.
12106 * gdb.arch/i386-disp-step.exp: New file.
12107
12108 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
12109
12110 * gdb.base/find.exp: Set newline variable
12111 using quotes instead of braces to fix cygwin failures.
12112
12113 2009-01-23 Pedro Alves <pedro@codesourcery.com>
12114
12115 * gdb.base/radix.exp: Add tests to ensure that that set
12116 input-radix 0 and set output-radix 0 are really rejected.
12117
12118 2009-01-23 Pedro Alves <pedro@codesourcery.com>
12119
12120 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
12121 copyright years.
12122
12123 2009-01-23 Pedro Alves <pedro@codesourcery.com>
12124
12125 PR gdb/9664:
12126 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
12127
12128 2009-01-22 Pedro Alves <pedro@codesourcery.com>
12129
12130 PR c++/9631:
12131 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
12132
12133 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
12134
12135 * gdb.server/file-transfer.exp: Use EXEEXT variable for
12136 binfile definition to fix Windows OS failure.
12137
12138 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12139
12140 PR gdb/9346
12141 * gdb.base/interrupt.c (sigint_handler): New.
12142 (main): Install a SIGINT handler if SIGNALS is defined. Exit
12143 on error.
12144 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
12145 Test "signal SIGINT".
12146
12147 2009-01-19 Doug Evans <dje@google.com>
12148
12149 * gdb.base/break.exp: Update expected gdb output.
12150 * gdb.base/sepdebug.exp: Ditto.
12151 * gdb.mi/mi-syn-frame.exp: Ditto.
12152 * gdb.mi/mi2-syn-frame.exp: Ditto.
12153 * gdb.base/call-signal-resume.exp: New file.
12154 * gdb.base/call-signals.c: New file.
12155 * gdb.base/unwindonsignal.exp: New file.
12156 * gdb.base/unwindonsignal.c: New file.
12157 * gdb.threads/interrupted-hand-call.exp: New file.
12158 * gdb.threads/interrupted-hand-call.c: New file.
12159 * gdb.threads/thread-unwindonsignal.exp: New file.
12160
12161 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
12162
12163 * gdb.base/define.exp: Test defining and hooking prefix commands.
12164 * gdb.python/python.exp: Update test for "show user" output.
12165
12166 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12167
12168 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
12169 now the output exactly, using less wildcards. Expect also the output
12170 of gfortran-4.3. Update for the f-valprint.c modification from
12171 2008-04-22.
12172 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
12173 Remove gdb_test test names where matching the command.
12174
12175 2009-01-01 Pedro Alves <pedro@codesourcery.com>
12176
12177 PR breakpoints/9681:
12178 * gdb.base/watchpoint.exp: Add regression test.
12179
12180 2008-12-31 Pedro Alves <pedro@codesourcery.com>
12181
12182 * gdb.threads/attach-into-signal.exp: Don't use
12183 gdb_suppress_entire_file.
12184 * gdb.threads/attach-stopped.exp: Ditto.
12185 * gdb.threads/attachstop-mt.exp: Ditto.
12186
12187 2008-12-31 Pedro Alves <pedro@codesourcery.com>
12188
12189 PR gdb/8812:
12190 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
12191
12192 2008-12-29 Pedro Alves <pedro@codesourcery.com>
12193
12194 PR gdb/7536:
12195 * gdb.base/radix.exp: Add tests to ensure invalid input radices
12196 and unsupported output radices are really rejected.
12197
12198 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12199
12200 * gdb.cp/punctuator.exp: Backslash the '$' signs.
12201
12202 2008-12-22 Tom Tromey <tromey@redhat.com>
12203
12204 * gdb.cp/punctuator.exp: New file.
12205
12206 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12207
12208 * gdb.base/completion.exp (Completing non-existing component): New test.
12209
12210 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12211
12212 Fix for PR gdb/8648.
12213 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
12214 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
12215 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
12216 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
12217
12218 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12219
12220 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
12221
12222 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
12223
12224 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
12225 compiler actually generate code at the expected line number.
12226
12227 2008-12-15 Jie Zhang <jie.zhang@analog.com>
12228
12229 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
12230
12231 2008-12-12 Tom Tromey <tromey@redhat.com>
12232
12233 * gdb.base/commands.exp (redefine_hook_test): New proc.
12234 Call it.
12235
12236 2008-12-11 Tom Tromey <tromey@redhat.com>
12237
12238 * gdb.base/macscp.exp: New regression test.
12239
12240 2008-12-11 Tom Tromey <tromey@redhat.com>
12241
12242 * gdb.base/macscp.exp: Print "address.addr".
12243 * gdb.base/macscp1.c (struct outer): New struct.
12244 (address): New global.
12245
12246 2008-12-09 Tom Tromey <tromey@redhat.com>
12247
12248 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
12249 Call it.
12250
12251 2008-12-04 Doug Evans <dje@google.com>
12252
12253 * gdb.server/ext-run.exp: Relax regexp for init program.
12254
12255 2008-12-03 Tristan Gingold <gingold@adacore.com>
12256
12257 * gdb.base/macscp.exp: Generate an object file during compilation
12258 to work around Darwin dsymutil limitations.
12259
12260 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12261
12262 Test resolving external references to TLS variables.
12263 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
12264 FILE2_THREAD_LOCAL.
12265 (testfile2, srcfile2): New variables.
12266 * gdb.threads/tls.c (file2_thread_local)
12267 (function_referencing_file2_thread_local): New.
12268 * gdb.threads/tls2.c: New file.
12269
12270 2008-11-28 Joel Brobecker <brobecker@adacore.com>
12271
12272 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
12273 rather than integer, as integer might not be big enough when
12274 on 64bit targets.
12275
12276 2008-11-27 Jerome Guitton <guitton@adacore.com>
12277
12278 * gdb.cp/formatted-ref.exp: Add equality test.
12279 * gdb.ada/formatted_ref.exp: Ditto.
12280
12281 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12282
12283 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
12284 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
12285
12286 2008-11-20 Andreas Schwab <schwab@suse.de>
12287
12288 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
12289 matching syscall entry point.
12290 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12291 (tcatch_vfork_then_child_follow): Likewise. Finish through
12292 vfork even if we stopped at the syscall trampoline.
12293
12294 2008-11-20 Doug Evans <dje@google.com>
12295
12296 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
12297
12298 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
12299
12300 * gdb.arch/ppc-dfp.exp: New file.
12301 * gdb.arch/ppc-dfp.c: New file.
12302
12303 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12304
12305 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
12306
12307 2008-11-17 Doug Evans <dje@google.com>
12308
12309 * gdb.mi/mi-syn-frame.exp: Update expected output.
12310 * gdb.mi/mi2-syn-frame.exp: Update expected output.
12311
12312 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12313
12314 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
12315 "thread N" results in =thread-selected.
12316 * lib/mi-support (mi_run_cmd, mi_expect_stop)
12317 (mi_send_resuming_command_raw): Be prepared for
12318 =thread-selected.
12319
12320 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
12321
12322 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
12323 * lib/mi-support.exp: Likewise.
12324
12325 2008-11-16 Joel Brobecker <brobecker@adacore.com>
12326
12327 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
12328 commands from the expected output for "help catch".
12329
12330 2008-11-15 Joel Brobecker <brobecker@adacore.com>
12331
12332 * gdb.ada/int_deref.exp: New testcase.
12333
12334 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
12335
12336 * gdb.mi/gdb2549.exp: New file.
12337
12338 2008-11-11 Doug Evans <dje@google.com>
12339
12340 * gdb.base/callexit.exp: New file.
12341 * gdb.base/callexit.c: New file.
12342
12343 2008-11-10 Doug Evans <dje@google.com>
12344
12345 * lib/gdb.exp (GDBFLAGS): Move -nx ...
12346 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
12347 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
12348 (default_gdb_start,default_gdb_exit): Ditto.
12349 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
12350 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
12351 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
12352 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
12353 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
12354 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
12355
12356 2008-11-03 Andreas Schwab <schwab@suse.de>
12357
12358 * gdb.base/hashline2.exp: Fix typo.
12359 * gdb.base/hashline3.exp: Likewise.
12360
12361 2008-10-30 Tom Tromey <tromey@redhat.com>
12362
12363 * gdb.base/pointers.exp: Add test.
12364 * gdb.base/pointers.c (k, S): New typedefs.
12365 (instance): New global.
12366
12367 2008-10-30 Andreas Schwab <schwab@suse.de>
12368
12369 * gdb.base/args.exp: Add tests for newlines.
12370
12371 2008-10-30 Joel Brobecker <brobecker@adacore.com>
12372
12373 gdb.base/foll-exec.exp: Update the expected output of a couple
12374 of "info breakpoints" tests.
12375
12376 2008-10-28 Tom Tromey <tromey@redhat.com>
12377
12378 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
12379
12380 2008-10-24 Pedro Alves <pedro@codesourcery.com>
12381
12382 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
12383 gdb_start_cmd.
12384 Use runto_main before any test that requires execution.
12385
12386 2008-10-23 Pedro Alves <pedro@codesourcery.com>
12387
12388 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
12389 instead of SIGINT.
12390
12391 2008-10-22 Joel Brobecker <brobecker@adacore.com>
12392
12393 * gdb.base/completion.exp: Update expected output following
12394 the addition of the "info tasks" command.
12395
12396 2008-10-22 Tom Tromey <tromey@redhat.com>
12397
12398 * gdb.base/exprs.exp (test_expr): Add test for string
12399 concatenation.
12400
12401 2008-10-19 Pedro Alves <pedro@codesourcery.com>
12402
12403 * configure.ac: Output gdb.python/Makefile.
12404 * configure: Regenerate.
12405 * gdb.python/Makefile.in: New.
12406
12407 2008-10-16 Joel Brobecker <brobecker@adacore.com>
12408
12409 * gdb.base/foll-fork.exp: Adjust the expected output to match
12410 the new description for fork/vfork catchpoints in the "info
12411 breakpoints" output.
12412
12413 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12414
12415 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
12416
12417 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12418
12419 * gdb.python/python-value.c: New file.
12420 * gdb.python/python-value.exp: New file.
12421
12422 2008-10-15 Pedro Alves <pedro@codesourcery.com>
12423
12424 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
12425
12426 2008-10-15 Denis Pilat <denis.pilat@st.com>
12427
12428 * gdb.cp/mb-ctor.exp: Fix a typo.
12429
12430 2008-10-09 Tom Tromey <tromey@redhat.com>
12431
12432 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
12433 'fprintf' and 'stderr'.
12434
12435 2008-10-07 Joel Brobecker <brobecker@adacore.com>
12436
12437 * gdb.ada/ref_tick_size.exp: New testcase.
12438
12439 2008-10-06 Doug Evans <dje@google.com>
12440
12441 * gdb.dwarf2/dw2-cu-size.exp: New file.
12442 * gdb.dwarf2/dw2-cu-size.S: New file.
12443
12444 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
12445 .Ltype_int for clarity.
12446
12447 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12448
12449 PR gdb/2384:
12450 * gdb.cp/gdb2384.exp: Extended to test more cases.
12451 * gdb.cp/gdb2384.cc: Likewise.
12452 * gdb.cp/gdb2384-base.h: Likewise.
12453 * gdb.cp/gdb2384-base.cc: Likewise.
12454
12455 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12456
12457 * gdb.base/maint.exp (maint print type): Remove printing
12458 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
12459
12460 2008-09-30 Tom Tromey <tromey@redhat.com>
12461
12462 * gdb.base/macscp.exp: Add completion tests.
12463 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
12464 (TWENTY_THREE): Likewise.
12465 (FORTY_EIGHT): Likewise.
12466
12467 2008-09-30 Tom Tromey <tromey@redhat.com>
12468
12469 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
12470 everywhere.
12471 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
12472
12473 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12474
12475 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
12476 testcase is derived from. Fix racy dependency on an expected PID
12477 number. No longer support the testcase on Linux kernel 2.4.x.
12478
12479 2008-09-27 Tom Tromey <tromey@redhat.com>
12480
12481 * gdb.base/macscp.exp: Add tests for stringification, splicing,
12482 and varargs.
12483
12484 2008-09-22 Pedro Alves <pedro@codesourcery.com>
12485
12486 * lib/mi-support.exp (mi_expect_interrupt): New.
12487 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
12488 from gdb.mi/mi-nonstop.exp.
12489 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
12490 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
12491 lib/mi-support.exp.
12492 Use mi_check_thread_states throughout. Avoid ".*" and do not
12493 require an anchor after -exec-run.
12494
12495 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
12496
12497 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
12498 stop is pending. Avoid ".*" when two stops are pending.
12499 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
12500 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
12501 newlines in fullnames.
12502 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
12503 (mi_expect_stop): Update comments. Only anchor in sync mode.
12504 Do not match newlines.
12505 (mi_send_resuming_command_raw): Always return status.
12506 (mi_get_stop_line): Do not match more than one line by accident.
12507 Only anchor in sync mode.
12508 (mi_run_inline_test): If -exec-next fails, give up.
12509
12510 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12511
12512 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
12513 on SPU.
12514
12515 2008-09-10 Joel Brobecker <brobecker@adacore.com>
12516
12517 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
12518
12519 2008-09-10 Joel Brobecker <brobecker@adacore.com>
12520
12521 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
12522 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
12523 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
12524 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
12525 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
12526 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
12527 gdb.ada/interface.exp, gdb.ada/null_array.exp,
12528 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
12529 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
12530 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
12531 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
12532 Include the "= " sequence in the expected output of print tests.
12533
12534 2008-09-10 Joel Brobecker <brobecker@adacore.com>
12535
12536 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
12537 description for boolean types.
12538
12539 2008-09-09 Pedro Alves <pedro@codesourcery.com>
12540
12541 * gdb.base/hook-stop-continue.c: New.
12542 * gdb.base/hook-stop-continue.exp: New.
12543
12544 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12545
12546 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
12547
12548 2008-09-08 Jerome Guitton <guitton@adacore.com>
12549
12550 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
12551 (stack_check_probe_2, stack_check_probe_loop_1)
12552 (stack_check_probe_loop_2): New functions.
12553 (main): Add call to these new functions.
12554 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
12555 functions, check that the breakpoint is inserted at the appropriate
12556 location.
12557 (insert_breakpoint): Slightly refine this procedure so that it can
12558 be called several times in the test.
12559
12560 2008-09-08 Jerome Guitton <guitton@adacore.com>
12561
12562 * gdb.base/stack-checking.c: New file.
12563 * gdb.base/stack-checking.exp: New file.
12564
12565 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12566
12567 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
12568 * gdb.arch/altivec-regs.exp: Likewise.
12569 * gdb.arch/vsx-regs.exp: Likewise.
12570
12571 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
12572
12573 * gdb.arch/ppc-fp.exp: New file.
12574 * gdb.arch/ppc-fp.c: New file.
12575
12576 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12577
12578 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
12579 lest gcc-4.3.1 optimizes the whole thing away.
12580
12581 2008-09-04 Michael Snyder <msnyder@vmware.com>
12582
12583 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
12584 as "at" (for non-debug functions such as _start).
12585
12586 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12587
12588 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
12589 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
12590 software watchpoints.
12591 * gdb.base/watch_thread_num.exp: Likewise.
12592
12593 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
12594
12595 * gdb.arch/i386-bp_permanent.exp: New test.
12596
12597 2008-08-24 Tom Tromey <tromey@redhat.com>
12598
12599 * gdb.base/maint.exp: Update "maint print type".
12600
12601 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
12602
12603 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
12604 support. Adjust the order of "*running" notifications.
12605 * gdb.mi/non-stop.c: Don't cast from int to void* and
12606 back.
12607
12608 2008-08-20 Mark Kettenis <kettenis@gnu.org>
12609
12610 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
12611 expect to find it in the "info frame" output.
12612
12613 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
12614
12615 * gdb.base/interp.exp: Always consume both prompts.
12616
12617 2008-08-20 Pedro Alves <pedro@codesourcery.com>
12618
12619 * gdb.base/pending.exp: Test pending breakpoints without symbols
12620 loaded.
12621
12622 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12623
12624 * lib/mi-support.exp (mi_expect_stop): Produce
12625 more details on failures.
12626 * gdb.mi/mi-nonstop.exp: New.
12627 * gdb.mi/non-stop.c: New.
12628
12629 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
12630
12631 * gdb.mi/mi-async.exp: Use 'set target-async'.
12632 * lib/mi-support.exp: Use 'set/show target-async'.
12633
12634 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
12635
12636 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
12637
12638 2008-08-17 Tom Tromey <tromey@redhat.com>
12639
12640 * gdb.base/help.exp (help catch): Rewrite.
12641
12642 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
12643
12644 * gdb.base/define.exp: Test indented command documentation.
12645 * gdb.python/python.exp: Test indented multi-line command.
12646
12647 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
12648
12649 * testsuite/gdb.arch/vsx-regs.c: New source file.
12650 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
12651 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
12652
12653 2008-08-14 Tom Tromey <tromey@redhat.com>
12654
12655 * gdb.base/macscp.exp: Add regression test for "macro define" or
12656 "macro undef" with no arguments.
12657
12658 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12659
12660 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
12661
12662 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12663
12664 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
12665
12666 2008-08-06 Tom Tromey <tromey@redhat.com>
12667
12668 * gdb.python/python.exp: New file.
12669
12670 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12671
12672 Fix for PR gdb/1543.
12673 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
12674 $LOCATION.
12675 (location): New variable.
12676 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
12677 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
12678 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
12679 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
12680 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
12681 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
12682 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
12683 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
12684 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
12685 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
12686 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
12687 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
12688 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
12689 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
12690 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12691 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
12692 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
12693 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
12694 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
12695 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12696 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
12697 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
12698 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
12699 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
12700 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
12701 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
12702 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
12703 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
12704 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
12705 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
12706 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
12707 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
12708 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
12709 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
12710 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
12711 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
12712 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
12713 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12714 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
12715 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
12716 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
12717 gdb.base/type-opaque.exp, gdb.base/until.exp,
12718 gdb.base/value-double-free.c, gdb.base/varargs.exp,
12719 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
12720 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
12721 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
12722 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
12723 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
12724 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
12725 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
12726 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
12727 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
12728 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
12729 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
12730 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
12731 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
12732 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
12733 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
12734 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12735 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
12736 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
12737 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
12738 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12739 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
12740 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
12741 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
12742 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12743 gdb.pascal/types.exp, gdb.stabs/weird.exp,
12744 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
12745 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
12746 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
12747 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
12748 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
12749 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
12750 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12751 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12752 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12753 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12754 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12755 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
12756 lib/mi-support.exp, lib/trace-support.exp: Remove reference
12757 to bug-gdb@prep.ai.mit.edu .
12758
12759 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
12760
12761 * lib/mi-support.exp (mi_load_shlibs): New.
12762 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
12763
12764 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
12765
12766 * lib/mi-support.exp (get_mi_thread_list)
12767 (check_mi_and_console_threads): New, moved from ...
12768 * gdb.mi/mi-pthread.exp: ...here.
12769 * gdb.mi/gdb669.exp (get_mi_thread_list)
12770 (check_mi_and_console_threads): Delete.
12771 * gdb.mi/mi2-pthread.exp: Likewise.
12772
12773 2008-07-28 Tom Tromey <tromey@redhat.com>
12774
12775 * Makefile.in (just-check): Remove. Move body to...
12776 (check): ... here.
12777
12778 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12779
12780 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
12781 Add a test for duplicated SIGINTs.
12782
12783 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12784
12785 * gdb.threads/schedlock.exp (get_args): Update to work for any
12786 value of NUM.
12787 (Top level): Report the number of threads that did not resume.
12788
12789 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12790
12791 * gdb.dwarf2/dw2-compressed.S: Also define __start.
12792
12793 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
12794
12795 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
12796 non-MI prompt.
12797
12798 2008-07-26 Tom Tromey <tromey@redhat.com>
12799
12800 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
12801 (function_struct, function_struct_ptr): New globals.
12802 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
12803 function pointer in a struct.
12804
12805 2008-07-26 Tom Tromey <tromey@redhat.com>
12806
12807 * gdb.base/macscp.exp: Add test for macro lexing bug.
12808
12809 2008-07-18 Tom Tromey <tromey@redhat.com>
12810
12811 * gdb.base/macscp.exp: Add macro tests.
12812
12813 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12814
12815 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
12816
12817 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12818
12819 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
12820
12821 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
12822
12823 * gdb.cp/class2.exp: fix for failure on spu-elf
12824
12825 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12826
12827 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
12828
12829 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12830
12831 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
12832
12833 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
12834
12835 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
12836
12837 2008-07-11 Kevin Buettner <kevinb@redhat.com>
12838
12839 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
12840 of regexp to account for changes made to GDB in the printing of
12841 byte vectors.
12842
12843 2008-07-11 Tom Tromey <tromey@redhat.com>
12844
12845 * gdb.base/completion.exp: Add 'help' completion test.
12846
12847 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12848
12849 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
12850
12851 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12852
12853 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
12854
12855 2008-07-09 Pedro Alves <pedro@codesourcery.com>
12856
12857 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
12858
12859 2008-07-09 Pedro Alves <pedro@codesourcery.com>
12860
12861 * gdb.base/fullname.exp: Restore pwd if compiling failed.
12862
12863 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12864
12865 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
12866
12867 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12868
12869 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
12870 previous commit. Add a comment.
12871
12872 2008-06-28 Pedro Alves <pedro@codesourcery.com>
12873
12874 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
12875
12876 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
12877
12878 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
12879
12880 2008-06-27 Pedro Alves <pedro@codesourcery.com>
12881
12882 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
12883 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
12884 compiling an executable, link in an object that forces unbuffered
12885 output.
12886 * lib/set_unbuffered_mode.c: New file.
12887
12888 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12889
12890 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
12891
12892 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
12893
12894 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
12895 mi_expect_stop.
12896 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
12897 Demand that *running is output.
12898 (detect_async): Perform checking every time.
12899 (mi_send_resuming_command): Extract everything into...
12900 (mi_send_resuming_command_raw): ...this.
12901 (mi_expect_stop): Don't accept any output before *stopped.
12902
12903 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
12904
12905 Robustify mi-simplerun.
12906 * gdb.mi/basics.c (main): Add a call to sleep.
12907 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
12908 * gdb.mi/mi2-cli.exp: Likewise.
12909 * gdb.mi/mi-break.exp: Likewise.
12910
12911 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
12912
12913 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
12914
12915 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12916
12917 * gdb.mi/mi-console.exp: Adjust.
12918 * gdb.mi/mi-syn-frame.exp: Adjust.
12919 * gdb.mi/mi2-console.exp: Adjust.
12920 * gdb.mi/mi2-syn-frame.exp: Adjust.
12921 * lib/mi-support.exp (mi_run_cmd): Adjust.
12922 (mi_send_resuming_command): Adjust.
12923
12924 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
12925
12926 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
12927 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
12928 testing of stopped.
12929 * gdb.mi/mi2-syn-frame.exp: Likewise.
12930 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
12931 (async, detect_async): New.
12932 (mi_expect_stop, mi_continue_to_line): Adjust expectation
12933 depending on if we're running in sync or async mode.
12934
12935 2008-06-09 Tom Tromey <tromey@redhat.com>
12936
12937 * gdb.base/completion.exp: New tests for field name completion
12938 with spaces, and field name completion with '->'.
12939
12940 2008-06-06 Tom Tromey <tromey@redhat.com>
12941
12942 * gdb.base/break1.c (struct some_struct): New struct.
12943 (values): New global.
12944 * gdb.base/completion.exp: Add field name completion test.
12945
12946 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12947
12948 * gdb.cp/call-c.exp: Test for incorrect handling of reference
12949 to pointer.
12950 * gdb.cp/call-c.cc: Likewise.
12951
12952 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
12953
12954 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
12955 annotation.
12956
12957 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12958 Pedro Alves <pedro@codesourcery.com>
12959
12960 * gdb.threads/execl.c, gdb.threads/execl1.c,
12961 gdb.threads/execl.exp: New tests.
12962
12963 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
12964 Daniel Jacobowitz <dan@codesourcery.com>
12965
12966 * gdb.cp/exception.exp: Activate test, make it work with pending
12967 catchpoints.
12968
12969 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12970
12971 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
12972
12973 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
12974
12975 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
12976 now printed.
12977 * gdb.mi/mi2-var-cmd.exp: Likewise.
12978
12979 2008-05-27 Andreas Schwab <schwab@suse.de>
12980
12981 * gdb.base/frame-args.exp: Handle arguments that are optimized
12982 out.
12983
12984 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
12985
12986 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
12987 quiet for ppc32 and group options into a single variable.
12988
12989 2008-05-23 Joel Brobecker <brobecker@adacore.com>
12990
12991 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
12992 of zero-size elements.
12993 * gdb.ada/null_array.exp: Test printing this new array.
12994
12995 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12996
12997 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
12998
12999 2008-05-21 Joel Brobecker <brobecker@adacore.com>
13000
13001 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
13002 of the "finish" command.
13003
13004 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
13005
13006 * gdb.base/annota1.exp: Test for new annotation.
13007
13008 2008-05-16 Pedro Alves <pedro@codesourcery.com>
13009
13010 * gdb.base/fixsection.exp: New file.
13011 * gdb.base/fixsection0.c: New file.
13012 * gdb.base/fixsection1.c: New file.
13013
13014 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13015
13016 * gdb.base/annota1.exp: Accept printf@... in place of printf.
13017 * gdb.base/annota3.exp: Likewise.
13018
13019 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
13020
13021 * gdb.base/watch_thread_num.exp: Don't run tests that require
13022 watchpoints if the target doesn't support them.
13023
13024 2008-05-12 Doug Evans <dje@google.com>
13025
13026 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
13027
13028 2008-05-09 Joel Brobecker <brobecker@adacore.com>
13029
13030 * gdb.ada/assign_1.exp: New testcase.
13031
13032 2008-05-09 Doug Evans <dje@google.com>
13033
13034 * gdb.base/find.exp: New file.
13035 * gdb.base/find.c: New file.
13036
13037 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
13038
13039 * gdb.base/commands.exp (watchpoint_command_test): Handle
13040 gdb,no_hardware_watchpoints.
13041 * gdb.base/float.exp: Allow ARM targets without floating point.
13042 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
13043
13044 2008-05-06 Jerome Guitton <guitton@adacore.com>
13045 Joel Brobecker <brobecker@adacore.com>
13046
13047 * gdb.ada/lang_switch: New test program.
13048 * gdb.ada/lang_switch.exp: New testcase.
13049
13050 2008-05-05 Doug Evans <dje@google.com>
13051
13052 * gdb.base/help.exp (disassemble): Update expected help text.
13053
13054 2008-05-04 Pedro Alves <pedro@codesourcery.com>
13055
13056 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
13057
13058 2008-05-04 Pedro Alves <pedro@codesourcery.com>
13059
13060 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
13061 different times.
13062
13063 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13064
13065 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
13066 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
13067 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
13068 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
13069
13070 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
13071
13072 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
13073 notification to appear.
13074
13075 2008-05-04 Daniel Jacobowitz <dan@debian.org>
13076
13077 * gdb.base/fullname.c: New file.
13078 * gdb.base/fullname.exp: New file.
13079 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
13080
13081 2008-05-03 Pedro Alves <pedro@codesourcery.com>
13082
13083 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
13084 expressions with macros.
13085
13086 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13087
13088 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
13089
13090 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
13091
13092 * gdb.base/completion.exp: Handle lack of other symbols beginning
13093 with "a".
13094
13095 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
13096
13097 2008-05-02 Jim Blandy <jimb@codesourcery.com>
13098
13099 * gdb.asm/asmsrc1.s: Add scratch space.
13100
13101 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13102 Daniel Jacobowitz <dan@codesourcery.com>
13103
13104 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
13105 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
13106 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
13107
13108 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
13109
13110 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
13111
13112 2008-05-01 Joel Brobecker <brobecker@adacore.com>
13113
13114 * gdb.base/info-target.exp: New testcase.
13115
13116 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13117
13118 * gdb.cp/hang.exp: Use .cc instead of .C.
13119 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
13120 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
13121
13122 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
13123
13124 * gdb.base/gdb1250.exp: Remove perror.
13125 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
13126
13127 2008-04-30 Pedro Alves <pedro@codesourcery.com>
13128
13129 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
13130 .2byte.
13131
13132 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
13133
13134 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
13135 (maybe_kfail): New.
13136
13137 2008-04-25 Pedro Alves <pedro@codesourcery.com>
13138
13139 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
13140
13141 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13142
13143 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
13144 * gdb.mi/mi2-syn-frame.exp: Likewise.
13145 * lib/mi-support.exp: Likewise.
13146
13147 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13148
13149 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
13150 to specify regexp for the location to stop at.
13151 * gdb.base/break-always.c: New.
13152 * gdb.base/break-always.exp: New.
13153
13154 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
13155
13156 * lib/mi-support.exp (mi_runto_helper): Adjust
13157 for the original-location field.
13158 (mi_create_breakpoint, mi_list_breakpoints): New.
13159 * gdb.mi/mi-break.exp: Adjust.
13160 * gdb.mi/mi2-break.exp: Adjust.
13161 * gdb.mi/mi-pending.exp: Adjust.
13162 * gdb.mi/mi-simplerun.exp: Adjust.
13163 * gdb.mi/mi2-simplerun.exp: Adjust.
13164 * gdb.mi/mi-syn-frame.exp: Adjust.
13165 * gdb.mi/mi2-syn-frame.exp: Adjust.
13166 * gdb.mi/mi-until.exp: Adjust.
13167 * gdb.mi/mi2-until.exp: Adjust.
13168 * gdb.mi/mi-var-display.exp: Adjust.
13169 * gdb.mi/mi2-var-display.exp: Adjust.
13170 * gdb.mi/mi-watch.exp: Adjust.
13171 * gdb.mi/mi2-watch.exp: Adjust.
13172
13173 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
13174
13175 * aclocal.m4: Add override.m4.
13176 * configure: Regenerate.
13177
13178 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
13179
13180 * gdb.mi/var-cmd.c (do_at_tests): Verify that
13181 '-var-update --all-values' reports new value even the type
13182 of a variable object has changed.
13183
13184 2008-04-18 Craig Silverstein <csilvers@google.com>
13185
13186 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
13187 files.
13188
13189 2008-04-18 Joel Brobecker <brobecker@adacore.com>
13190
13191 * gdb.ada/atomic_enum: New test program.
13192 * gdb.ada/atomic_enum.exp: New testcase.
13193
13194 2008-04-17 Doug Evans <dje@google.com>
13195
13196 * gdb.opt/Makefile.in: Fix whitespace.
13197
13198 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
13199
13200 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
13201
13202 2008-04-17 Doug Evans <dje@google.com>
13203
13204 * gdb.base/hashline1.exp: New testcase.
13205 * gdb.base/hashline2.exp: New testcase.
13206 * gdb.base/hashline2.exp: New testcase.
13207
13208 2008-04-17 Pedro Alves <pedro@codesourcery.com>
13209
13210 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
13211
13212 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
13213
13214 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
13215 temporary breakpoint to match "Temporary breakpoint".
13216 * gdb.base/break.exp (delete_breakpoints): Likewise.
13217 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
13218 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
13219 * gdb.base/display.exp: Likewise.
13220 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
13221 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
13222 * gdb.base/restore.exp (restore_tests): Likewise.
13223 * gdb.base/sepdebug.exp: Likewise.
13224 * gdb.base/watchpoint.exp: Likewise.
13225 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
13226 * gdb.mi/mi-pending.exp: Likewise.
13227 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
13228 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
13229 * gdb.mi/mi-var-cmd.exp: Likewise.
13230 * gdb.mi/mi-var-display.exp: Likewise.
13231 * gdb.mi/mi2-cli.exp: Likewise.
13232 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
13233 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
13234 * gdb.mi/mi2-var-display.exp: Likewise.
13235 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
13236 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
13237 new "disp" field.
13238 (mi_expect_stop): Move after_reason argument to be really after
13239 reason. This is to support fix for PR2424.
13240
13241 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13242
13243 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
13244
13245 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
13246
13247 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
13248 field. Add more floating varobj tests.
13249 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
13250 field.
13251 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
13252 (main): Call do_at_tests.
13253 * lib/mi-support.exp (mi_create_floating_varobj)
13254 (mi_varobj_update_with_type_change): New.
13255
13256 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
13257
13258 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
13259 option of -var-evaluate-expression.
13260 * gdb.mi/mi2-var-display.exp: Likewise.
13261
13262 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
13263
13264 Introduce test setup helpers.
13265 * lib/gdb.exp (build_executable, clean_restart)
13266 (prepare_for_testing): New.
13267 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
13268 * gdb.base/return.exp: Likewise.
13269 * gdb.base/ending-run.exp: Likewise.
13270
13271 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
13272
13273 * gdb.mi/mi-async.exp: New test for asynchronous Machine
13274 Interface (MI) responses.
13275
13276 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
13277
13278 * gdb.cp/breakpoint.cc: New code to test conditions involving
13279 member variables.
13280 * gdb.cp/breakpoint.exp: Test condition involving member
13281 variables.
13282
13283 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
13284
13285 * lib/mi-support.exp (mi_expect_stop): New.
13286 (mi_run_cmd): Change the
13287 token. Use mi_send_resuming_command, use
13288 mi_expect_stop.
13289 (mi_execute_to_helper): Rename to mi_execute_to.
13290 (mi_send_resuming_command): Add more error patterns.
13291 (mi_wait_for_stop): Renamed to...
13292 (mi_get_stop_line): ...this.
13293 (mi_run_inline_test): Adjust.
13294
13295 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
13296 * gdb.mi/mi-console.exp: Likewise.
13297 * gdb.mi/mi-pending.exp: Likewise.
13298 * gdb.mi/mi-simplerun.exp: Likewise.
13299 * gdb.mi/mi-stack.exp: Likewise.
13300 * gdb.mi/mi-stepi.exp: Likewise.
13301 * gdb.mi/mi-syn-frame.exp: Add comment.
13302 * gdb.mi/mi-until.exp: Likewise.
13303 * gdb.mi/mi-var-display.exp: Likewise.
13304 * gdb.mi/mi-watch.exp: Likewise.
13305 * gdb.mi/mi2-cli.exp: Likewise.
13306 * gdb.mi/mi2-console.exp: Likewise.
13307 * gdb.mi/mi2-simplerun.exp: Likewise.
13308 * gdb.mi/mi2-stack.exp: Likewise.
13309 * gdb.mi/mi2-stepi.exp: Likewise.
13310 * gdb.mi/mi2-until.exp: Likewise.
13311 * gdb.mi/mi2-var-display.exp: Likewise.
13312 * gdb.mi/mi2-watch.exp: Likewise.
13313
13314 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13315
13316 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
13317
13318 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
13319
13320 2008-04-04 Pedro Alves <pedro@codesourcery.com>
13321
13322 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
13323 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
13324 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13325 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
13326 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
13327 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
13328 expect an mi error duplicated in stderr.
13329
13330 2008-04-03 Joel Brobecker <brobecker@adacore.com>
13331
13332 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
13333 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
13334 Add a couple of tests that verify the behavior when the new setting
13335 is set to "cancel" and "all".
13336 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
13337 "ask" before we start the testing.
13338
13339 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
13340
13341 * gdb.cp/casts.cc: Add class reference variables.
13342 * gdb.cp/casts.exp: New test cases for up/down casting references.
13343
13344 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
13345
13346 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
13347 instead of beginning to make an extra test pass.
13348 * gdb.mi/mi2-var-display.exp: Likewise.
13349
13350 2008-03-31 Maciej W. Rozycki <macro@mips.com>
13351
13352 * gdb.base/break.exp: Mark failures as such. Fix formatting.
13353
13354 2008-03-31 Markus Deuling <deuling@de.ibm.com>
13355 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13356
13357 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
13358 value. Add xfail for older kernels.
13359
13360 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
13361
13362 Bring mi-support in line with gdb.exp.
13363 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
13364 (mi_gdb_start): New function.
13365
13366 2008-03-28 Maciej W. Rozycki <macro@mips.com>
13367
13368 * gdb.mi/mi-var-cmd.exp: Fix a typo.
13369
13370 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
13371
13372 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
13373 * gdb.mi/mi2-var-display.exp: Likewise.
13374
13375 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
13376
13377 * lib/mi-support.exp (mi_create_varobj_checked): New.
13378 (mi_list_varobj_children): Allow to check for a
13379 value.
13380 (mi_list_array_varobj_children): New.
13381
13382 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
13383 and mi_list_varobj_children, as opposed to hardcoding
13384 expected strings.
13385 * gdb.mi/gdb701.exp: Likewise.
13386 * gdb.mi/gdb792.exp: Likewise.
13387 * gdb.mi/mi-var-block.exp: Likewise.
13388 * gdb.mi/mi-var-cmd.exp: Likewise.
13389 * gdb.mi/mi-var-invalidate.exp: Likewise.
13390 * gdb.mi/mi2-var-block.exp: Likewise.
13391 * gdb.mi/mi2-var-child.exp: Likewise.
13392 * gdb.mi/mi2-var-cmd.exp: Likewise.
13393 * gdb.mi/mi2-var-display.exp: Likewise.
13394
13395 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13396
13397 Fix random false FAILs on i386.
13398 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
13399
13400 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
13401
13402 PR gdb/544
13403 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
13404
13405 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
13406
13407 PR gdb/544
13408 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
13409
13410 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13411
13412 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
13413 fixed PR gdb/544.
13414
13415 2008-03-21 Pedro Alves <pedro@codesourcery.com>
13416
13417 * gdb.threads/fork-child-threads.exp: Test next over fork.
13418
13419 2008-03-21 Chris Demetriou <cgd@google.com>
13420
13421 * gdb.base/break.exp (rbreak junk): New test for rbreak
13422 "Junk at end of arguments" issue.
13423
13424 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13425
13426 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
13427 *& to work on created array elements.
13428 (Top level): Test print $pc with a file. Test string operations
13429 without a target.
13430 * gdb.base/ptype.exp: Do not expect *& to work on created array
13431 elements.
13432
13433 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
13434
13435 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13436 gdb.threads/staticthreads.exp: Update exit query.
13437
13438 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
13439
13440 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
13441
13442 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
13443
13444 * gdb.base/watchpoint.c (global_ptr, func4): New.
13445 (main): Call func4.
13446 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
13447 (test_inaccessible_watchpoint): New.
13448
13449 2008-02-29 Maciej W. Rozycki <macro@mips.com>
13450
13451 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
13452 select the largest.
13453
13454 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
13455
13456 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
13457 frames-invalid annotations.
13458
13459 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
13460
13461 * gdb.base/assign.exp: avoid same output for different tests.
13462
13463 2008-02-27 Doug Evans <dje@google.com>
13464
13465 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
13466 for bug 1738.
13467 (breakpoint_to_handler_entry): Ditto.
13468
13469 2008-02-27 Joel Brobecker <brobecker@adacore.com>
13470
13471 * gdb.base/ending-run.exp: Use the first line of code inside
13472 function body to test breakpoints.
13473 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
13474 location where the breakpoint is inserted when using the line
13475 where a function is declared. Fix typo in the description of
13476 one of the tests.
13477 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
13478
13479 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13480
13481 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
13482 tests.
13483
13484 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
13485
13486 * gdb.base/args.exp: avoid same output for tests
13487 with single quotes.
13488
13489 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
13490
13491 * gdb.base/annota1.exp: Adjust for 'info break'
13492 format changes.
13493 * gdb.base/annota3.exp: Likewise.
13494 * gdb.base/break.exp: Likewise.
13495 * gdb.base/condbreak.exp: Likewise.
13496 * gdb.base/pending.exp: Likewise.
13497 * gdb.base/sepdebug.exp: Likewise.
13498 * gdb.base/unload.exp: Likewise.
13499 * gdb.cp/ovldbreak.exp: Likewise.
13500 * gdb.mi/mi-pending.exp: Likewise.
13501
13502 2008-02-07 Doug Evans <dje@google.com>
13503
13504 * gdb.cp/mb-inline.exp: New.
13505 * gdb.cp/mb-inline.h: New.
13506 * gdb.cp/mb-inline1.cc: New.
13507 * gdb.cp/mb-inline2.cc: New.
13508
13509 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
13510
13511 * gdb.pascal/floats.pas: New test program.
13512 * gdb.pascal/floats.exp: New testcase.
13513
13514 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13515
13516 * gdb.base/callfuncs.c (t_float_many_args): New function.
13517 (t_double_many_args): New function.
13518 * gdb.base/callfuncs.exp: Add tests for exceeding float
13519 and double parameters passed through the stack.
13520
13521 2008-02-05 Joel Brobecker <brobecker@adacore.com>
13522
13523 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
13524 gdb.ada/complete/foo.adb: New files.
13525 * gdb.ada/complete.exp: New testcase.
13526
13527 2008-02-03 Doug Evans <dje@google.com>
13528
13529 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
13530
13531 * gdb.cp/gdb2384.exp: New file.
13532 * gdb.cp/gdb2384.cc: New file.
13533 * gdb.cp/gdb2384-base.h: New file.
13534 * gdb.cp/gdb2384-base.cc: New file.
13535
13536 2008-02-02 Doug Evans <dje@google.com>
13537
13538 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
13539
13540 2007-02-01 Joel Brobecker <brobecker@adacore.com>
13541
13542 * gdb.ada/sym_print_name: New test program.
13543 * gdb.ada/sym_print_name.exp: New testcase.
13544
13545 2007-02-01 Joel Brobecker <brobecker@adacore.com>
13546
13547 * gdb.ada/nested/hello.adb: New file.
13548 * gdb.ada/nested.exp: New testcase.
13549 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13550
13551 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13552
13553 * gdb.mi/basic.c (return_1): New function.
13554 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
13555 don't cause future evaluations of function to report
13556 creation of internal breakpoints.
13557
13558 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
13559
13560 * gdb.mi/mi-break.exp (test_error): New.
13561 Call it.
13562
13563 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
13564
13565 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
13566 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
13567
13568 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13569
13570 * gdb.pascal/integers.pas: New test program.
13571 * gdb.pascal/integers.exp: New testcase.
13572
13573 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
13574
13575 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
13576
13577 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
13578
13579 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
13580 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
13581
13582 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
13583
13584 * gdb.ada/formatted_ref: New test program.
13585 * gdb.ada/formatted_ref.exp: New testcase.
13586
13587 * gdb.cp/formatted-ref.cc: New file.
13588 * gdb.cp/formatted-ref.exp: New testcase.
13589
13590 2008-01-30 Joel Brobecker <brobecker@adacore.com>
13591
13592 * gdb.base/ptype.exp: Add testing of "ptype $pc".
13593
13594 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
13595
13596 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
13597 (test_file_list_exec_source_file): Update to new macro-info field.
13598
13599 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
13600
13601 * gdb.ada/exprs: New test program.
13602 * gdb.ada/exprs.exp: New testcase.
13603
13604 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13605
13606 * dfp-test.c (DELTA, DELTA_B): New definitions.
13607 (double_val1, double_val2, double_val3, double_val4, double_val5,
13608 double_val6, double_val7, double_val8, double_val9, double_val10,
13609 double_val11, double_val12, double_val13, double_val14, dec32_val1,
13610 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
13611 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
13612 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
13613 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
13614 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
13615 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
13616 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
13617 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
13618 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
13619 dec128_val16): New global variables.
13620 (decimal_dec128_align): New function.
13621 (decimal_mixed): Likewise.
13622 (decimal_many_args_dec32): Likewise.
13623 (decimal_many_args_dec64): Likewise.
13624 (decimal_many_args_dec128): Likewise.
13625 (decimal_many_args_mixed): Likewise.
13626 * dfp-test.exp: Add tests calling new inferior functions.
13627
13628 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13629
13630 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
13631 gdb.server/ext-run.exp: New files.
13632 * lib/gdbserver-support.exp (gdbserver_download): New.
13633 (gdbserver_start): New. Update gdbserver expected
13634 output.
13635 (gdbserver_spawn): Use them.
13636 (gdbserver_start_extended): New.
13637
13638 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13639
13640 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
13641 Run on GNU/Linux.
13642 (do_exec_tests): Check for systems which do not support catchpoints.
13643 Do not match START.
13644 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
13645 Run on GNU/Linux. Enable verbose output.
13646 (check_fork_catchpoints): New.
13647 (explicit_fork_child_follow, catch_fork_child_follow)
13648 (tcatch_fork_parent_follow): Update expected messages.
13649 (do_fork_tests): Use check_fork_catchpoints.
13650 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
13651 Run on GNU/Linux. Enable verbose output.
13652 (check_vfork_catchpoints): New.
13653 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
13654 expected messages.
13655 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
13656
13657 2008-01-29 Jim Blandy <jimb@red-bean.com>
13658
13659 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
13660 host' errors.
13661 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
13662
13663 2008-01-29 Jim Blandy <jimb@red-bean.com>
13664
13665 * gdb.threads/sigthread.c: Use barriers to ensure that
13666 child_thread and child_thread_two are always initialized before we
13667 start to use them.
13668
13669 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
13670
13671 * gdb.base/watchpoint-solib.exp: New.
13672 * gdb.base/watchpoint-solib.c: New.
13673 * gdb.base/watchpoint-solib-shr.c: New.
13674
13675 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
13676
13677 * gdb.base/gdb1056.exp: Add unsigned integer test.
13678
13679 2008-01-28 Doug Evans <dje@google.com>
13680
13681 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
13682
13683 2008-01-27 Jim Blandy <jimb@codesourcery.com>
13684
13685 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
13686
13687 * gdb.base/expand-psymtabs.exp: Doc fix.
13688
13689 2008-01-26 Mark Kettenis <kettenis@gnu.org>
13690
13691 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13692
13693 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
13694
13695 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
13696 -var-set-format.
13697
13698 2008-01-23 Chris Demetriou <cgd@google.com>
13699
13700 * gdb.threads/thread_events.c: New testcase source file.
13701 * gdb.threads/thread_events.exp: New testcase expect file.
13702
13703 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
13704
13705 * lib/gdb.exp: Add the variable octal.
13706
13707 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
13708 -var-set-format.
13709
13710 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13711 Vladimir Prus <vladimir@codesourcery.com>
13712
13713 * gdb.base/float.exp: Allow missing floating point for m68k and
13714 PowerPC.
13715
13716 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
13717
13718 * gdb.mi/basics.c: Setup for testing breakpoints
13719 ignore count.
13720 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
13721 * gdb.mi/mi-cli.exp: Adjust.
13722 * gdb.mi/mi2-cli.exp: Adjust.
13723
13724 2008-01-17 Pedro Alves <pedro@codesourcery.com>
13725
13726 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
13727 and 'dummy_ptr' integer pointer. Initialize struct_declarations
13728 with dummy_ptr's address.
13729 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
13730 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
13731 all targets.
13732 * gdb.mi/mi2-var-child.exp: Likewise.
13733
13734 2008-01-09 Joel Brobecker <brobecker@adacore.com>
13735
13736 * gdb.ada/null_array: New test program.
13737 * gdb.ada/null_array.exp: New testcase.
13738
13739 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
13740
13741 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
13742 with required float modifiers.
13743
13744 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13745
13746 * gdb.ada/funcall_param: New test program.
13747 * gdb.ada/funcall_param.exp: New testcase.
13748
13749 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13750
13751 * gdb.ada/arrayparam: New test program.
13752 * gdb.ada/arrayparam.exp: New testcase.
13753
13754 2008-01-08 Joel Brobecker <brobecker@adacore.com>
13755
13756 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
13757 landed. Should also fix random failures in the test following it.
13758
13759 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
13760
13761 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
13762 for expressions with decimal float values.
13763 (test_dfp_conversions): New function to test casts to and from
13764 decimal float types.
13765 Call test_dfp_conversions.
13766 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
13767 elements.
13768 (main): Initialize ds.float4 and ds.double8 elements.
13769 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
13770 string to new error message.
13771 (d64_set_tests): Likewise.
13772 (d128_set_tests): Likewise.
13773 Add tests for expressions with decimal float variables. Add tests for
13774 conversions to and from decimal float types.
13775
13776 2008-01-05 Joel Brobecker <brobecker@adacore.com>
13777
13778 * gdb.ada/packed_tagged/comp_bug.adb: New file.
13779 * gdb.ada/packed_tagged.exp: New testcase.
13780
13781 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13782
13783 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
13784 gdb.ada/homonym/homonym_main.adb: New files.
13785 * gdb.ada/homonym.exp: New testcase.
13786
13787 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13788
13789 * gdb.ada/packed_array.exp: Add testing of references to
13790 a packed array.
13791
13792 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13793
13794 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
13795 New files.
13796 * gdb.ada/type_coercion.exp: New testcase.
13797
13798 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13799
13800 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
13801 gdb.ada/tagged/foo.adb: New file.
13802 * gdb.ada/tagged.exp: New testcase.
13803
13804 2008-01-04 Joel Brobecker <brobecker@adacore.com>
13805
13806 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
13807 gdb.ada/ptype_field/foo.adb: New files.
13808 * gdb.ada/ptype_field.exp: New testcase.
13809
13810 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13811
13812 * gdb.ada/print_pc.exp: New testcase.
13813
13814 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13815
13816 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
13817 gdb.ada/taft_type/p.adb: New files.
13818 * gdb.ada/taft_type.exp: New testcase.
13819
13820 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13821
13822 * gdb.ada/array_bounds/bar.adb: New file.
13823 * gdb.ada/array_bounds.exp: New testcase.
13824
13825 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13826
13827 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
13828 gdb.ada/arrayptr/foo.adb: New files.
13829 * gdb.ada/arrayptr.exp: New testcase.
13830
13831 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13832
13833 * gdb.base/set-lang-auto.exp: New testcase.
13834
13835 2008-01-03 Joel Brobecker <brobecker@adacore.com>
13836
13837 * gdb.ada/fun_addr/foo.adb: New file.
13838 * gdb.ada/fun_addr.exp: New testcase.
13839
13840 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13841
13842 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
13843 New files
13844
13845 2008-01-02 Joel Brobecker <brobecker@adacore.com>
13846
13847 * array_subscript_addr/p.adb: New file.
13848 * array_subscript_addr.exp: New testcase.
13849
13850 2008-01-02 Joel Brobecker <brobecker@adacore.com>
13851
13852 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
13853 New files.
13854 * gdb.ada/str_cmp_ref.exp: New testcase.
13855
13856 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13857
13858 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
13859 gdb.ada/fun_in_declare/foo.adb: New files.
13860 * gdb.ada/fun_in_declare.exp: New testcase.
13861
13862 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13863
13864 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
13865 gdb.ada/ref_param/pck.ads: New files.
13866 * gdb.ada/ref_param.exp: New testcase.
13867
13868 2008-01-01 Joel Brobecker <brobecker@adacore.com>
13869
13870 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
13871 gdb.ada/interface/foo.adb: New files.
13872 * gdb.ada/interface.exp: New testcase.
13873
13874 2007-12-31 Jim Blandy <jimb@codesourcery.com>
13875
13876 * gdb.base/multi-forks.exp: Consume all output from child
13877 processes before proceeding to next test.
13878
13879 2007-12-29 Jim Blandy <jimb@codesourcery.com>
13880
13881 * configure: Regenerated.
13882
13883 2007-12-27 Joel Brobecker <brobecker@adacore.com>
13884
13885 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
13886 gdb.ada/fixed_cmp/fixed.adb: New files.
13887 * gdb.ada/fixed_cmp.exp: New testcase.
13888
13889 2007-12-27 Joel Brobecker <brobecker@adacore.com>
13890
13891 * gdb.ada/boolean_expr.exp: New testcase.
13892
13893 2007-12-26 Jim Blandy <jimb@codesourcery.com>
13894
13895 * gdb.base/multi-forks.exp: Doc fix.
13896
13897 2007-12-26 Joel Brobecker <brobecker@adacore.com>
13898
13899 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
13900 * gdb.ada/char_param.exp: Do not compile our test program with
13901 -gnata, this is unnecessary.
13902 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
13903
13904 2007-12-24 Joel Brobecker <brobecker@adacore.com>
13905
13906 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
13907 gdb.ada/print_chars/foo.adb: New files.
13908 * gdb.ada/print_chars.exp: New testcase.
13909
13910 2007-12-24 Joel Brobecker <brobecker@adacore.com>
13911
13912 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
13913 gdb.ada/char_param/foo.adb: New files.
13914 * gdb.ada/char_param.exp: New testcase.
13915
13916 2007-12-22 Jim Blandy <jimb@codesourcery.com>
13917
13918 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
13919 hard-coding source line numbers into the test.
13920 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
13921 gdb_get_line_number to find.
13922
13923 2007-12-22 Joel Brobecker <brobecker@adacore.com>
13924
13925 * gdb.base/ptype.c (highest): New struct type.
13926 (the_highest): New variable of that type.
13927 (main): Add dummy assignment to a field of variable the_highest.
13928 * gdb.base/ptype.exp: Test type printing of our new variable.
13929
13930 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
13931
13932 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
13933 and record first explicitly generated thread number.
13934 Use that thread number for thread specific watchpoint test.
13935 Add iteration number to repetitive tests.
13936
13937 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13938 Jim Blandy <jimb@codesourcery.com>
13939
13940 * gdb.base/expand-psymtabs.c: New testcase
13941 source file.
13942 * gdb.base/expand-psymtabs.exp: New testcase
13943 expect file.
13944
13945 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
13946
13947 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
13948 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
13949
13950 2007-12-17 Joel Brobecker <brobecker@adacore.com>
13951
13952 * gdb.ada/frame_args/foo.adb: New file.
13953 * gdb.ada/frame_args/pck.ads: New file.
13954 * gdb.ada/frame_args/pck.adb: New file.
13955 * gdb.ada/frame_args.exp: New testcase.
13956
13957 2007-12-17 Joel Brobecker <brobecker@adacore.com>
13958
13959 * gdb.base/frame-args.c: New file.
13960 * gdb.base/frame-args.exp: New testcase.
13961
13962 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
13963 Joseph Myers <joseph@codesourcery.com>
13964
13965 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
13966
13967 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
13968
13969 * gdb.mi/mi-pending.exp: New.
13970 * gdb.mi/mi-pending.c: New.
13971 * gdb.mi/mi-pendshr.c: New.
13972
13973 2007-12-06 Jim Blandy <jimb@codesourcery.com>
13974
13975 * gdb.base/default.exp: Update expected output for 'info catch'.
13976
13977 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13978
13979 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
13980 must be set to binary.
13981
13982 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
13983
13984 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
13985
13986 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
13987
13988 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
13989 gdb.mi/mi-file-transfer.exp: New.
13990
13991 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13992
13993 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
13994
13995 2007-11-22 Maciej W. Rozycki <macro@mips.com>
13996
13997 * gdb.trace/backtrace.exp: Fix a typo.
13998 * gdb.trace/circ.exp: Likewise.
13999 * gdb.trace/collection.exp: Likewise.
14000 * gdb.trace/limits.exp: Likewise.
14001 * gdb.trace/report.exp: Likewise.
14002 * gdb.trace/tfind.exp: Likewise.
14003 * gdb.trace/while-dyn.exp: Likewise.
14004
14005 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
14006
14007 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
14008 objects of pointers that can't be dereferenced are now
14009 "noneditable".
14010
14011 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14012
14013 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
14014 (target_cpu): Remove.
14015
14016 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
14017
14018 * gdb.base/ending-run.exp: Expect the list of cleared
14019 breakpoint to come in natural order, not the reversed one.
14020
14021 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
14022
14023 * gdb.mi/mi-var-child.c (do_child_deletion): New.
14024 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
14025
14026 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
14027
14028 * gdb.base/printcmds.exp: New function
14029 test_printf_with_dfp.
14030
14031 2007-11-02 Doug Evans <dje@google.com>
14032
14033 * gdb.disasm/t01_mov.s: Remove carriage returns.
14034 * gdb.disasm/t02_mova.s: Ditto.
14035 * gdb.disasm/t03_add.s: Ditto.
14036 * gdb.disasm/t04_sub.s: Ditto.
14037 * gdb.disasm/t05_cmp.s: Ditto.
14038 * gdb.disasm/t06_ari2.s: Ditto.
14039 * gdb.disasm/t07_ari3.s: Ditto.
14040 * gdb.disasm/t08_or.s: Ditto.
14041 * gdb.disasm/t09_xor.s: Ditto.
14042 * gdb.disasm/t10_and.s: Ditto.
14043 * gdb.disasm/t11_logs.s: Ditto.
14044 * gdb.disasm/t12_bit.s: Ditto.
14045 * gdb.disasm/t13_otr.s: Ditto.
14046
14047 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14048
14049 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
14050
14051 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14052
14053 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
14054 provide DFP support.
14055
14056 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
14057
14058 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
14059 Test "set powerpc vector-abi". Skip auto-detection tests for old
14060 toolchains.
14061
14062 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14063
14064 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
14065 with [string compare].
14066
14067 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
14068
14069 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
14070 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
14071
14072 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
14073
14074 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
14075 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
14076 * gdb.opt/Makefile.in: New makefile.
14077 * Makefile.in: Create new directory "gdb.opt".
14078 * configure.ac: Add "gdb.opt" directory.
14079 * configure: Regenerated.
14080
14081 2007-10-25 Doug Evans <dje@google.com>
14082
14083 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
14084 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
14085
14086 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
14087 Thiago Jung Bauermann <bauerman@br.ibm.com>
14088
14089 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
14090 Floating Point expressions.
14091 * gdb.base/dfp-test.exp: new file adding tests for Decimal
14092 Floating Point variables.
14093 * gdb.base/dfp-test.c: new file containing program with Decimal
14094 Floating variables, used by gdb.base/dfp-test.exp.
14095
14096 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
14097
14098 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
14099
14100 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14101
14102 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
14103 compiling test case with GCC.
14104 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
14105
14106 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14107
14108 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14109 format changes.
14110
14111 2007-10-18 Michael Snyder <msnyder@specifix.com>
14112
14113 * gdb.base/dbx.exp: Add missing "-re " operator.
14114
14115 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
14116
14117 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
14118 * configure.ac: Removed trailing spaces after backslash.
14119 * gdb.modula2: New directory.
14120 * gdb.modula2/Makefile.in: New file.
14121 * gdb.modula2/unbounded-array.exp: New file.
14122 * gdb.modula2/unbounded1.c: New file.
14123
14124 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
14125
14126 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
14127
14128 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
14129
14130 * gdb.base/sigstep.c (main): Add checks for
14131 return values for setitimer call.
14132 Call setitimer again with itimer = ITIMER_REAL
14133 if first call to setitimer fails.
14134
14135 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
14136
14137 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
14138 of $timeout.
14139
14140 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14141
14142 * gdb.server/server-run.exp: Test for dynamic linker symbols.
14143
14144 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
14145
14146 * lib/gdb.exp (gdb_run_cmd): Move comment outside
14147 of gdb_expect call, to avoid interruption.
14148
14149 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
14150
14151 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
14152 (v_unsigned_long_long, v_long_long_array)
14153 (v_signed_long_long_array, v_unsigned_long_long_array)
14154 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
14155 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
14156 [!NO_LONG_LONG]: New.
14157 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
14158 v_long_long_member.
14159
14160 (v_long_long_func, v_signed_long_long_func)
14161 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
14162 (main) [!NO_LONG_LONG]: Initialize long long variants.
14163
14164 * gdb.base/whatis.exp: If board file requests no_long_long, build
14165 test with NO_LONG_LONG defined. Test long long, signed long long,
14166 and unsigned long long variants but only if board file doesn't
14167 disable it.
14168
14169 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
14170 Daniel Jacobowitz <dan@codesourcery.com>
14171
14172 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
14173 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
14174 * configure: Regenerated.
14175 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
14176 gdb.pascal/types.exp, lib/pascal.exp: New files.
14177
14178 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
14179
14180 * gdb.cp/classes.exp (do_tests): Always step to the line after the
14181 call.
14182 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
14183 to return to the call.
14184 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
14185 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
14186 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
14187 * gdb.mi/mi-until.exp (test_until): Likewise.
14188 * gdb.mi/mi2-until.exp (test_until): Likewise.
14189
14190 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
14191
14192 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
14193 two-char array.
14194 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
14195
14196 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
14197
14198 * gdb.threads/watchthreads.c (thread_function): Sleep between
14199 iterations.
14200 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
14201 at once for S/390. Generate matching fails and passes.
14202
14203 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
14204
14205 * gdb.mi/var-cmd.c (do_children_tests): Initialize
14206 the 'struct_declarations' variable to zeros.
14207
14208 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
14209
14210 * gdb.cp/mb-ctor.cc: New.
14211 * gdb.cp/mb-ctor.exp: New.
14212 * gdb.cp/mb-templates.cc: New.
14213 * gdb.cp/mb-templates.exp: New.
14214
14215 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
14216
14217 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
14218
14219 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
14220
14221 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
14222 targets.
14223 * configure: Regenerate.
14224
14225 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
14226
14227 * gdb.base/annota1.exp: Adjust for 'info break'
14228 format changes.
14229 * gdb.base/annota3.exp: Likewise.
14230 * gdb.base/break.exp: Likewise.
14231 * gdb.base/condbreak.exp: Likewise.
14232 * gdb.base/pending.exp: Likewise.
14233 * gdb.base/sepdebug.exp: Likewise.
14234 * gdb.base/unload.exp: Likewise.
14235 * gdb.base/ovldbreak.exp: Likewise.
14236
14237 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
14238
14239 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
14240 messages.
14241 * gdb.base/chng-syms.exp: Likewise.
14242 * gdb.base/unload.exp: Likewise.
14243
14244 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
14245
14246 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
14247
14248 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
14249
14250 * schedlock.c (NUM): Change to 1.
14251 (main): Use args[0] for the main thread.
14252 * schedlock.exp: Only expect two threads. Only issue one pass or fail
14253 regardless of the number of threads.
14254
14255 2007-09-14 Maciej W. Rozycki <macro@mips.com>
14256
14257 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
14258 type down.
14259 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14260 test.
14261 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
14262 watchpoint type down.
14263 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
14264 test.
14265
14266 2007-09-14 Maciej W. Rozycki <macro@mips.com>
14267
14268 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
14269 Move all the tests here and run them twice, once using software
14270 watchpoints and once using hardware watchpoints.
14271 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
14272
14273 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
14274
14275 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
14276 test.
14277
14278 2007-09-10 Mark Kettenis <kettenis@gnu.org>
14279
14280 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
14281 build-id.
14282
14283 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
14284 know about $ORIGIN. Calculate output dir from $dest instead of
14285 using ${objdir}/{$subdir}.
14286
14287 2007-09-09 Mark Kettenis <kettenis@gnu.org>
14288
14289 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
14290 gcore, before continuing with the test.
14291
14292 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
14293
14294 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
14295 * gdb.mi/mi-watch.exp: Likewise.
14296
14297 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14298 Jim Blandy <jimb@codesourcery.com>
14299
14300 * gdb.arch/i386-sse.exp: Do not expect character constants.
14301 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
14302 * gdb.base/display.exp: Allow print/s.
14303 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
14304 and unsigned char array changes.
14305
14306 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
14307
14308 * gdb.base/display.exp: Add tests for printf %p.
14309
14310 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
14311
14312 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
14313 the dll name to unicode.
14314
14315 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 * gdb.base/default.exp (show version): Update the version text.
14318 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
14319
14320 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14321
14322 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
14323 New files.
14324
14325 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14326
14327 * lib/gdb.exp (build_id_debug_filename_get): New function.
14328 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
14329 Remove the generate DEBUG file for the future testcase runs.
14330 New testcase for the NT_GNU_BUILD_ID retrieval.
14331 Move the final testing step to ...
14332 (test_different_dir): ... a new function.
14333 New parameter XFAIL to XFAIL all the tests performed.
14334 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
14335 New parameter TYPE to PF_PREFIX all the tests performed.
14336
14337 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
14338
14339 * gdb.mi/mi-var-cp.cc (path_expression): New
14340 function.
14341 * gdb.mi/mi-var-cp.exp: Run path exression tests.
14342
14343 2007-08-27 Markus Deuling <deuling@de.ibm.com>
14344
14345 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
14346 to fit into SPU Local Store memory.
14347
14348 2007-08-23 Joel Brobecker <brobecker@adacore.com>
14349
14350 * gdb.base/default.exp: Adjust the expected output of "info
14351 warranty" after the switch to GPLv3.
14352
14353 2007-08-23 Joel Brobecker <brobecker@adacore.com>
14354
14355 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
14356 to 30000 (from 20000).
14357
14358 2007-08-23 Joel Brobecker <brobecker@adacore.com>
14359
14360 Switch the license of all .exp files to GPLv3.
14361 Switch the license of all .f and .f90 files to GPLv3.
14362 Switch the license of all .s and .S files to GPLv3.
14363
14364 2007-08-23 Joel Brobecker <brobecker@adacore.com>
14365
14366 * configure.ac: Switch license to GPLv3.
14367
14368 2007-08-23 Joel Brobecker <brobecker@adacore.com>
14369
14370 Switch the licensing to GPLv3 for all .ads and .adb files.
14371
14372 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
14373
14374 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
14375 and t_int_double.
14376 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
14377
14378 2007-08-17 Joel Brobecker <brobecker@adacore.com>
14379
14380 * gdb.base/step-line.c: Switch license to GPL version 3, and
14381 update copyright year.
14382 * gdb.base/step-line.inp: Likewise.
14383
14384 2007-08-17 Joel Brobecker <brobecker@adacore.com>
14385
14386 * gdb.base/gdb1555.exp: Make expected output immune to formatting
14387 changes inside gdb1555.c.
14388 * gdb.base/pending.exp: Likewise.
14389
14390 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
14391
14392 * config/default.exp: New file.
14393
14394 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
14395
14396 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
14397 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
14398
14399 2007-07-30 Maciej W. Rozycki <macro@mips.com>
14400
14401 * gdb.base/dump.exp: Force the correct endianness for binary
14402 formats not carrying this information.
14403
14404 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14405
14406 * gdb.threads/staticthreads.exp: Match .*sem_post.
14407
14408 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14409
14410 * gdb.base/readline.exp (operate_and_get_next): Match the final
14411 prompt.
14412
14413 2007-07-23 Kevin Buettner <kevinb@redhat.com>
14414
14415 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
14416 to restarting SID.
14417
14418 2007-07-18 Kevin Buettner <kevinb@redhat.com>
14419
14420 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
14421 prior to `gdb_start'.
14422
14423 2007-07-18 Kevin Buettner <kevinb@redhat.com>
14424
14425 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
14426 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
14427 Remove call to gdb_unload.
14428
14429 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
14430 Daniel Jacobowitz <dan@codesourcery.com>
14431
14432 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
14433 for __WIN32__.
14434 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
14435 * gdb.base/unload.exp: Use shared library test routines.
14436
14437 2007-07-03 Markus Deuling <deuling@de.ibm.com>
14438
14439 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
14440 * gdb.base/solib-symbol-lib.c: Likewise.
14441 * gdb.base/solib-symbol-main.c: Likewise.
14442
14443 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
14444
14445 * config/gdbserver.exp (gdb_reconnect): New.
14446 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
14447 gdb.base/solib-disc.exp: New files.
14448 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
14449 remote debugging".
14450 (gdb_compile): Add shlib_load flag.
14451 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
14452 port.
14453 (gdbserver_reconnect): New.
14454
14455 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
14456 Daniel Jacobowitz <dan@codesourcery.com>
14457
14458 * gdb.base/annota3.exp: Test for if construct.
14459
14460 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
14461
14462 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
14463
14464 2007-06-21 Chris Dearman <chris@mips.com>
14465 Maciej W. Rozycki <macro@mips.com>
14466
14467 * gdb.base/display.exp: Allow a newline after display/i.
14468 * gdb.base/pc-fp.exp: Likewise.
14469 * gdb.base/sigbpt.exp: Likewise.
14470
14471 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
14472
14473 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
14474 required features to be included.
14475
14476 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
14477
14478 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
14479 in info threads output.
14480
14481 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14482 Markus Deuling <deuling@de.ibm.com>
14483
14484 * gdb.arch/spu-info.exp: New testcase.
14485 * gdb.arch/spu-info.c: New file.
14486
14487 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
14488
14489 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
14490 tpcs_offset. Restore lr after the call.
14491 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
14492
14493 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
14494
14495 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
14496 (gdbserver_run): Kill any running gdbserver.
14497 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
14498
14499 2007-05-17 Maciej W. Rozycki <macro@mips.com>
14500
14501 * gdb.base/sigbpt.exp: Preset segv_addr.
14502
14503 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
14504
14505 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
14506 (gdb_compile_shlib): Likewise.
14507 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
14508 (default_gdb_init): Clear cleanfiles.
14509 (gdb_finish): Delete recorded cleanfiles.
14510 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
14511
14512 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
14513 Do not use isnative.
14514 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
14515 gdb.base/so-impl-ld.exp: Likewise.
14516 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
14517 * gdb.base/unload.exp: Likewise. Do not pass empty option to
14518 gdb_compile.
14519
14520 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
14521
14522 * config/unknown.exp: Remove.
14523
14524 2007-05-15 Markus Deuling <deuling@de.ibm.com>
14525
14526 * gdb.base/info-proc.exp: Check is_remote.
14527
14528 2007-05-14 Markus Deuling <deuling@de.ibm.com>
14529
14530 * gdb.base/gcore.exp: Initialize variable core_supported.
14531
14532 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14533
14534 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
14535
14536 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14537
14538 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
14539 * gdb.threads/print-threads.exp (test_all_threads): Allow
14540 negative and hexadecimal thread IDs.
14541
14542 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
14543
14544 * gdb.java/jprint.java (public): Avoid invalid call to static
14545 method.
14546
14547 2007-05-14 Denis Pilat <denis.pilat@st.com>
14548
14549 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
14550 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
14551 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14552 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
14553 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
14554
14555 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14556
14557 * gdb.base/overlays.exp: Add support for targets with only code
14558 overlay support, not data overlay. Support spu-*-* target in
14559 this mode.
14560 * gdb.base/ovlymgr.c: Provide stubs for spu target.
14561 * gdb.base/spu.ld: New file.
14562
14563 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
14564
14565 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
14566
14567 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
14568
14569 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
14570
14571 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14572
14573 * gdb.java/jmain.exp: Handle demangled names with and without method
14574 signatures.
14575
14576 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
14577
14578 * gdb.mi/mi-syn-frame.c (main, foo, bar)
14579 (have_a_very_merry_interrupt): Remove calls to puts.
14580 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
14581 inferior output.
14582 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
14583 test names.
14584
14585 2007-04-29 Markus Deuling <deuling@de.ibm.com>
14586 Daniel Jacobowitz <dan@codesourcery.com>
14587
14588 * gdb.base/auxv.exp (core_works): Also check is_remote.
14589 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
14590
14591 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
14592
14593 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
14594 message, not the undefined 'module' variable.
14595 * gdb.base/siginfo.exp: Likewise.
14596 * gdb.base/sigstep.exp: Likewise.
14597 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
14598 serialport.
14599 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
14600
14601 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
14602
14603 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
14604 target sim fails. Return 0 otherwise.
14605 (gdb_load): Return prematurely if gdb_target_sim fails.
14606
14607 2007-04-16 Denis Pilat <denis.pilat@st.com>
14608
14609 * gdb.base/setshow.exp: Reset height after having set it to 100.
14610
14611 2007-04-16 Denis Pilat <denis.pilat@st.com>
14612
14613 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
14614
14615 2007-04-16 Denis Pilat <denis.pilat@st.com>
14616
14617 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
14618
14619 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
14620
14621 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
14622 tests. Run the frozen varobjs test.
14623 * gdb.mi/var-cmd.c (do_frozen_tests): New.
14624 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
14625
14626 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14627
14628 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
14629 gdb.base/type-opaque.exp: New files.
14630
14631 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
14632
14633 * gdb.mi/mi-var-child.c
14634 (do_children_tests): User char[2] instead of
14635 char so that automatic printing of pointers to char
14636 don't give unpredicable result.
14637 * gdb.mi/var-cmd.c (do_locals_test): Initialize
14638 local variables.
14639 * gdb.mi/mi-var-child.exp: Step to right line
14640 of do_children_tests.
14641 * gdb.mi/mi2-var-child.exp: Likewise.
14642 * gdb.mi/mi-var-cmd.exp: Step to right line of
14643 do_locals_tests.
14644 (do_children_tests): User char[2] instead of
14645 char so that automatic printing of pointers to char
14646 don't give unpredicable result.
14647 * gdb.mi/mi2-var-cmd.exp: Likewise.
14648 * lib/mi-support.exp (mi_continue_to_line):
14649 Pass test name to mi_wait_for_stop.
14650
14651 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14652
14653 * gdb.asm/asm-source.exp: Remove d10v case.
14654 * lib/gdb.exp (skip_cplus_tests): Likewise.
14655 * gdb.asm/d10v.inc: Deleted.
14656
14657 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14658
14659 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
14660
14661 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14662
14663 * config/netware.exp: Delete file.
14664
14665 2007-03-29 Joel Brobecker <brobecker@adacore.com>
14666
14667 * gdb.dwarf2/dw2-noloc.S: New file.
14668 * gdb.dwarf2/dw2-noloc.exp: New file.
14669
14670 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
14671
14672 * gdb.cp/method2.cc: New test.
14673 * gdb.cp/method2.exp: New test.
14674 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
14675
14676 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14677
14678 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
14679
14680 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
14681
14682 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
14683
14684 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
14685
14686 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
14687 (gdb_load): Delete, replace with...
14688 (gdb_reload): ...this.
14689 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
14690 * gdb.server/server-mon.exp: Likewise.
14691 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
14692 (gdb_start_cmd): New.
14693 (gdb_file_cmd): Save the last loaded file.
14694 (gdb_reload): New.
14695 (gdb_gnu_strip_debug): Use transform.
14696 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
14697 support here. Use new $last_loaded_file. Check mtime.
14698 (gdb_target_cmd): Handle ObjC failure case.
14699 (infer_host_exec): Delete.
14700 (gdbserver_load): Rename to...
14701 (gdbserver_run): ...this. Simplify.
14702 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
14703 (mi_gdb_load): Move most contents to a new function...
14704 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
14705 (mi_run_cmd): Use mi_gdb_target_load.
14706 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
14707 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
14708 Use gdb_run_cmd.
14709 * gdb.base/charsign.exp: Remove incorrect comment.
14710 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
14711 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
14712 gdb.base/start.exp: Use gdb_start_cmd.
14713
14714 2007-03-23 Nigel Stephens <nigel@mips.com>
14715 Maciej W. Rozycki <macro@mips.com>
14716
14717 * gdb.base/sigbpt.exp: Fix the message when skipping test.
14718 * gdb.base/signull.exp: Similarly.
14719
14720 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14721
14722 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
14723 messages available to test cases (like chng-sym.exp).
14724
14725 2007-03-14 Andreas Schwab <schwab@suse.de>
14726
14727 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
14728 format changes.
14729
14730 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
14731
14732 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
14733 (optimized_1): New.
14734 (main): Call optimized_1.
14735 (gdb2029): Correct typos. Call gdb2029_marker.
14736 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
14737 for gdb2029.
14738
14739 2007-03-12 Mark Kettenis <kettenis@gnu.org>
14740
14741 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
14742 as tabs. Remove redundant test pattern.
14743
14744 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14745
14746 * gdb.base/long_long.exp: Accept optional symbol name in <...>
14747 for /a format output.
14748
14749 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
14750
14751 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
14752 collect output incrementally.
14753
14754 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14755
14756 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
14757 for -var-create lpcharacter test.
14758 * gdb.mi/mi2-var-cmd.exp: Likewise.
14759
14760 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14761
14762 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
14763 pass on targets where address zero is readable.
14764
14765 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14766
14767 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
14768 just a single architecture.
14769
14770 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14771
14772 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
14773 (fetch_all_registers): New function, uses gdb_test_multiple and
14774 exp_continue to fetch inferior output line-by-line.
14775 Replace all uses of do_get_all_registers by fetch_all_registers.
14776
14777 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14778
14779 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
14780 in target_info.
14781
14782 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14783
14784 * gdb.threads/manythreads.exp: Use $message string for
14785 consistancy; add a default (timeout) case.
14786
14787 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14788
14789 * gdb.base/watchpoint.exp: Fix truncated comment.
14790
14791 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
14792
14793 * Makefile.in: Remove spurious single-quotes from sed command.
14794
14795 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14796
14797 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
14798 func.
14799 * gdb.mi/mi2-var-cmd.exp: Likewise.
14800
14801 2007-02-27 Joel Brobecker <brobecker@adacore.com>
14802
14803 * gdb.dwarf2/dw2-producer.S: New file.
14804 * gdb.dwarf2/dw2-producer.exp: New testcase.
14805
14806 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
14807
14808 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14809 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14810 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14811 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14812 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14813 Revert tests to use mi_gdb_test and include value field in output
14814 of -var-create.
14815
14816 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14817
14818 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
14819
14820 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
14821
14822 * gdb.base/maint.exp: Remove full paths from test names.
14823 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
14824 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
14825
14826 2007-02-27 Joel Brobecker <brobecker@adacore.com>
14827
14828 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
14829
14830 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14831
14832 * gdb.server/server-mon.exp: New test.
14833
14834 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14835
14836 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
14837
14838 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
14839
14840 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
14841 register capitalization.
14842
14843 2007-02-13 Denis Pilat <denis.pilat@st.com>
14844
14845 * gdb.mi/mi-var-invalidate.exp: New file.
14846
14847 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14848
14849 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
14850
14851 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14852
14853 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
14854
14855 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
14856
14857 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
14858 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
14859
14860 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
14861
14862 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
14863 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
14864 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
14865 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
14866 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
14867 * gdb.mi/gdb792.exp, lib/mi-support.exp:
14868 Update tests to include value field in output of -var-create.
14869
14870 2007-02-08 Andreas Schwab <schwab@suse.de>
14871
14872 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
14873
14874 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
14875
14876 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
14877 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
14878
14879 2007-02-02 Denis Pilat <denis.pilat@st.com>
14880
14881 * gdb.threads/threadapply.exp: check that frame is not changed by
14882 the thread apply all command.
14883
14884 2007-01-31 Andreas Schwab <schwab@suse.de>
14885
14886 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14887
14888 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
14889 in the dwarf sections.
14890 * gdb.dwarf2/mac-fileno.S: Likewise.
14891
14892 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
14893 bspstore register on ia64.
14894
14895 2007-01-29 Andreas Schwab <schwab@suse.de>
14896
14897 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
14898 "frame-begin" annotation.
14899
14900 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
14901 number of "frames-invalid" annotations.
14902
14903 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14904
14905 * gdb.base/commands.exp: Call if_commands_test.
14906 (gdb_test_no_prompt, if_commands_test): New.
14907
14908 2007-01-28 Mark Kettenis <kettenis@gnu.org>
14909
14910 * gdb.threads/sigthread.c (NSIGS): Make bigger.
14911
14912 2007-01-27 Andreas Schwab <schwab@suse.de>
14913
14914 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
14915 .short/.int/.quad in the dwarf sections.
14916 * gdb.dwarf2/dw2-intercu.S: Likewise.
14917 * gdb.dwarf2/dw2-intermix.S: Likewise.
14918
14919 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14920
14921 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
14922 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
14923 array.
14924 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
14925 * gdb.base/setvar.exp: Likewise.
14926
14927 2007-01-26 Andreas Schwab <schwab@suse.de>
14928
14929 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
14930 test.
14931
14932 * gdb.base/multi-forks.exp ("restart $i"): Also match
14933 __kernel_syscall_via_break.
14934
14935 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
14936
14937 * lib/mi-support.exp (mi_delete_varobj): New.
14938 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
14939 testcase.
14940 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
14941 (main): Call the above.
14942 (reference_update_test, base_in_reference_test)
14943 (reference_to_pointer): Delete the created varobjs.
14944
14945 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
14946
14947 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
14948 * configure: Regenerated.
14949 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
14950 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
14951 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
14952 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
14953 * lib/gdb.exp (gdb_skip_xml_test): New function.
14954
14955 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
14956
14957 * gdb.base/sigrepeat.exp: Correct error message.
14958
14959 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14960 Daniel Jacobowitz <dan@codesourcery.com>
14961
14962 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
14963 gdb.arch/i386-gnu-cfi-asm.S: New files.
14964
14965 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14966
14967 * lib/gdb.exp: Abort on missing `site.exp'.
14968
14969 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14970 Daniel Jacobowitz <dan@codesourcery.com>
14971
14972 * gdb.base/included.c, gdb.base/included.exp,
14973 gdb.base/included.h: New files.
14974
14975 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14976
14977 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
14978 (maximize_rlimit): Reduce limits on 64-bit systems.
14979
14980 2007-01-19 Mark Kettenis <kettenis@gnu.org>
14981
14982 From Marcus Deuling <deuling@de.ibm.com>:
14983 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
14984 every case.
14985
14986 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
14987
14988 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
14989 (test_path_specification): Use objdir instead of srcdir to always
14990 get an absolute filename.
14991
14992 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
14993
14994 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
14995
14996 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
14997
14998 * gdb.mi/mi-var-cp.cc (reference_update_tests):
14999 Make sure the variable we're using is in scope.
15000 (reference_to_pointer): Likewise.
15001
15002 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15003
15004 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
15005 has no debug information.
15006
15007 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
15008
15009 * gdb.base/annota1.exp: Remove extra send_gdb.
15010
15011 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15012
15013 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
15014
15015 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15016
15017 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
15018
15019 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
15020 Daniel Jacobowitz <dan@codesourcery.com>
15021
15022 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
15023 lcharacter or linteger change. Correct duplicated test name.
15024 * gdb.mi/mi2-var-cmd.exp: Likewise.
15025
15026 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
15027
15028 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
15029
15030 2007-01-05 Joel Brobecker <brobecker@adacore.com>
15031
15032 * gdb.base/nofield.c: New file.
15033 * gdb.base/nofield.exp: New testcase.
15034
15035 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
15036
15037 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
15038
15039 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
15040 test.
15041
15042 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15043
15044 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
15045
15046 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
15047
15048 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
15049 when continuing.
15050
15051 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15052
15053 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
15054 Expect ".exe" extension.
15055
15056 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15057
15058 * gdb.base/charset.exp: Add explicit filename to break.
15059 * gdb.base/dbx.exp: Add explicit filename to breaks.
15060
15061 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
15062
15063 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
15064 * gdb.mi/mi2-file.exp: Likewise.
15065
15066 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15067
15068 Implement specification of MI tests as comments
15069 in C and C++ sources.
15070 * lib/mi-support.exp (mi_autotest_data): New variable.
15071 (mi_autotest_source): New variable.
15072 (count_newlines, mi_prepare_inline_tests)
15073 (mi_get_inline_test, mi_continue_to_line)
15074 (mi_run_inline_test, mi_tbreak)
15075 (mi_send_resuming_command, mi_wait_for_stop): New functions.
15076 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
15077 Run inline tests.
15078 * gdb.mi/mi-var-cp.cc: Define tests here.
15079
15080 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
15081
15082 Simplify usage of mi_continue_to.
15083 * lib/mi-support.exp (mi_runto_helper): Renamed
15084 from mi_runto, added new parameter 'run_or_continue'.
15085 (mi_runto): Use mi_runto_helper.
15086 (mi_continue_to): Accept just function name as parameter.
15087 Use mi_runto_helper.
15088 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
15089 * gdb.mi/mi2-var-cmd.exp: Likewise.
15090
15091 2006-01-04 Joel Brobecker <brobecker@adacore.com>
15092
15093 Make this testcase a bit more realistic. The current code
15094 is too simplistic, and allows the compiler to optimize out
15095 some of the entities we need for this testcase.
15096 * gdb.ada/null_record/bar.ads (Void_Star): New type.
15097 (Do_Nothing): Add extra parameter.
15098 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
15099 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
15100 by using a variable of type Void_Star.
15101
15102 2006-01-04 Joel Brobecker <brobecker@adacore.com>
15103
15104 * gdb.ada/catch_ex/foo.adb: New file.
15105 * gdb.ada/catch_ex.exp: New testcase.
15106
15107 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
15108
15109 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
15110 pass --image-base to linker.
15111
15112 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15113 Daniel Jacobowitz <dan@codesourcery.com>
15114
15115 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
15116 secondary prompts.
15117
15118 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15119
15120 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
15121 output. Test the types of members and member pointers.
15122 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
15123 gdb/2092.
15124 * gdb.cp/member-ptr.exp: Search for a comment instead of a
15125 statement. Enable for GCC. Update expected output for some tests
15126 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
15127 layout.
15128 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
15129 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
15130 (Diamond::vget_base): New.
15131 (main): Add new tests.
15132 * gdb.cp/printmethod.exp: Update expected output for member functions.
15133 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
15134 print pEe->D::vg().
15135
15136 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
15137
15138 * gdb.threads/tls.exp: Allow stops in sem_post.
15139
15140 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
15141
15142 * gdb.base/annota1.exp: Allow .*printf in backtraces.
15143 * gdb.base/annota3.exp: Likewise.
15144 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
15145 again (instead of timing out).
15146 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
15147 GCC bug 26475.
15148 * gdb.java/jmisc.exp: Adjust to work with method signatures including
15149 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
15150 test from jmisc1.exp.
15151 * gdb.java/jmisc1.exp: Delete.
15152 * gdb.java/jprint.exp: Adjust to work with method signatures including
15153 return types.
15154 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
15155 * gdb.threads/linux-dp.exp: Don't be confused by program output.
15156 * lib/java.exp (compile_java_from_source): Pass the correct type
15157 to target_compile.
15158
15159 2006-12-31 Joel Brobecker <brobecker@adacore.com>
15160
15161 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
15162 (stack_align_edx): New function.
15163 (stack_align_eax): New function.
15164 (main): Add calls to stack_align_edx and stack_align_eax.
15165 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
15166 Add testing for the cases where the register used during a stack
15167 realignment is edx. Same for eax.
15168
15169 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
15170
15171 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
15172 and generic PE targets.
15173
15174 2006-12-29 Joel Brobecker <brobecker@adacore.com>
15175
15176 * gdb.ada/array_return.exp: Update copyright date list.
15177
15178 2006-12-27 Joel Brobecker <brobecker@adacore.com>
15179
15180 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
15181 (Create_Small_Float_Vector): New function.
15182 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
15183 function body.
15184 * gdb.ada/array_return/p.adb: Use new type and function from
15185 package Pck.
15186 * gdb.ada/array_return.exp: Add a test verifying that GDB is
15187 able to print the value returned by a function returning an
15188 array of float.
15189
15190 2006-12-20 Joel Brobecker <brobecker@adacore.com>
15191
15192 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
15193 The associated tests should be PASSing.
15194
15195 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15196
15197 Test for base in references.
15198 * gdb.mi/mi-var-cp.cc: Add test code.
15199 * gdb.mi/mi-var-cp.exp: Test for bases in references.
15200 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
15201 * gdb.mi/mi2-watch.exp: Likewise.
15202 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
15203 (mi_list_varobj_children): New function.
15204
15205 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
15206
15207 * lib/mi-support.exp
15208 (mi_runto): Accept "()" after function name.
15209 (mi_create_varobj): New function.
15210 (mi_varobj_update): New function.
15211 (mi_Check_varobj_value): New function.
15212 * gdb.mi/mi-var-cp.exp: New file.
15213 * gdb.mi/mi-var-cp.cc: New file.
15214
15215 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
15216
15217 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
15218 gdb.base/weaklib2.c: New files.
15219
15220 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
15221
15222 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
15223 info. Adjust test names.
15224
15225 * gdb.base/break.c (main): Move position of malloc.
15226 * gdb.base/break.exp: Revert mistaken checkin.
15227
15228 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
15229
15230 * gdb.mi/mi-var-cmd.exp: Check -var-update after
15231 assignement of arrays and function pointers.
15232 * gdb.mi/var-cmd.c: Add declaration necessary for above
15233 tests.
15234
15235 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15236
15237 * gdb.base/break.c (main): Call malloc.
15238
15239 * gdb.threads/linux-dp.exp: Read thread table before and after
15240 creating each philosopher and verify it.
15241
15242 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
15243 Paul Brook <paul@codesourcery.com>
15244 Daniel Jacobowitz <dan@codesourcery.com>
15245
15246 * gdb.base/ending-run.exp: Flatten expect script stepping out of
15247 main to remove duplication. Add start function of the form
15248 '_*start[1-9]*'. Add RVDS start function.
15249
15250 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15251
15252 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
15253
15254 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15255
15256 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
15257 * gdb.asm/spu.inc: New file.
15258 * gdb.base/term.exp: Disable if [target_info exists noargs].
15259 * gdb.gdb/complaints.exp: Disable if ![isnative].
15260 * gdb.gdb/selftest.exp: Likewise.
15261 * gdb.gdb/observer.exp: Likewise.
15262 * gdb.gdb/xfullpath.exp: Likewise.
15263 * gdb.base/attach.exp: Disable on SPU target.
15264 * gdb.cp/bs145503.exp: Likewise.
15265 * gdb.cp/exception.exp: Likewise.
15266 * gdb.cp/userdef.exp: Likewise.
15267
15268 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
15269
15270 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
15271
15272 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
15273
15274 * gdb.base/completion.exp: Fix completion tests for
15275 'info' and 'info '.
15276 * gdb.base/help.exp (help_test_raw, test_class_help)
15277 (test_prefix_command_help): Move...
15278 * lib/gdb.exp: Here.
15279 * gdb.base/main.exp: Adjust.
15280 * gdb.cp/maint.exp: Adjust.
15281 * gdb.trace/tracecmd.exp: Use test_help_class.
15282
15283 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15284
15285 * gdb.stabs/weird.exp (print_weird_var): Use
15286 gdb_test_multiple instead of gdb_expect.
15287
15288 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
15289
15290 * gdb.base/help.exp (help_test_raw): New.
15291 (test_class_help): New.
15292 (test_prefix_command_help): New.
15293 Adjust testcases.
15294
15295 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
15296
15297 * gdb.base/constvars.c (main): Write to crass and crips, so that
15298 they are allocated by the compiler.
15299
15300 2006-10-27 Andreas Schwab <schwab@suse.de>
15301
15302 * gdb.base/multi-forks.exp: Use "detach fork" instead of
15303 "detach-fork".
15304
15305 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
15306
15307 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
15308 of patterns.
15309
15310 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15311
15312 * gdb.base/sepdebug.exp: Remove debug format test.
15313 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
15314 Handle no-symtab.
15315 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
15316
15317 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
15318
15319 * gdb.threads/manythreads.c (thread_function, main): Don't cast
15320 int to pointer or pointer to int.
15321 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
15322
15323 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
15324
15325 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
15326
15327 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15328
15329 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
15330
15331 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15332
15333 PR c++/2116
15334 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
15335
15336 2006-10-06 Joel Brobecker <brobecker@adacore.com>
15337
15338 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
15339 the corresponding bug has been fixed in GDB (PR/2018).
15340
15341 2006-10-06 Joel Brobecker <brobecker@adacore.com>
15342
15343 * gdb.base/subst.exp: New testcase.
15344
15345 2006-10-06 Joel Brobecker <brobecker@adacore.com>
15346
15347 * gdb.ada/array_return/pck.ads: Add copyright notice.
15348 * gdb.ada/array_return/pck.adb: Likewise.
15349 * gdb.ada/array_return/p.adb: Likewise.
15350 * gdb.ada/exec_changed/first.adb: Likewise.
15351 * gdb.ada/exec_changed/second.adb: Likewise.
15352
15353 2006-10-06 Joel Brobecker <brobecker@adacore.com>
15354
15355 * gdb.ada/watch_arg/watch.adb: New file.
15356 * gdb.ada/watch_arg.exp: New testcase.
15357
15358 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
15359
15360 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
15361 via string_to_regexp.
15362 * gdb.mi/mi2-basics.exp: Likewise.
15363
15364 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
15365
15366 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
15367 Remove unused / obsolete files.
15368
15369 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
15370
15371 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
15372
15373 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
15374
15375 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
15376 HIGH_FRAME argument to -stack-list-arguments can be larger than
15377 the number of frames.
15378
15379 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
15380
15381 * gdb.base/args.c (main): Add breakpoint marker.
15382 * gdb.base/args.exp: Use args_test for tests. Add new tests which
15383 really test empty arguments.
15384 (args_load): Delete.
15385 (args_test): New.
15386
15387 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
15388
15389 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
15390 check for one file.
15391
15392 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
15393
15394 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
15395 HIGH_FRAME argument to -stack-list-locals can be larger than
15396 the number of frames.
15397
15398 2006-08-18 Fred Fish <fnf@specifix.com>
15399
15400 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
15401 '$' in front of skip_vmx_tests_saved when setting that.
15402
15403 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
15404
15405 * gdb.base/trace-commands.exp: New file.
15406
15407 2006-08-10 Joel Brobecker <brobecker@adacore.com>
15408 Daniel Jacobowitz <dan@codesourcery.com>
15409
15410 * gdb.base/step-bt.exp: Make hexadecimal address optional in
15411 expected output of the backtrace commands.
15412
15413 2006-08-09 Joel Brobecker <brobecker@adacore.com>
15414
15415 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
15416 untested followed by return combination.
15417 * gdb.arch/altivec-regs.exp: Likewise.
15418 * gdb.arch/e500-abi.exp: Likewise.
15419 * gdb.arch/e500-regs.exp: Likewise.
15420 * gdb.arch/gdb1291.exp: Likewise.
15421 * gdb.arch/gdb1431.exp: Likewise.
15422 * gdb.arch/gdb1558.exp: Likewise.
15423 * gdb.arch/i386-prologue.exp: Likewise.
15424 * gdb.arch/i386-unwind.exp: Likewise.
15425 * gdb.asm/asm-source.exp: Likewise.
15426 * gdb.base/a2-run.exp: Likewise.
15427 * gdb.base/advance.exp: Likewise.
15428 * gdb.base/all-bin.exp: Likewise.
15429 * gdb.base/annota1.exp: Likewise.
15430 * gdb.base/annota3.exp: Likewise.
15431 * gdb.base/args.exp: Likewise.
15432 * gdb.base/arithmet.exp: Likewise.
15433 * gdb.base/assign.exp: Likewise.
15434 * gdb.base/async.exp: Likewise.
15435 * gdb.base/attach.exp: Likewise.
15436 * gdb.base/bang.exp: Likewise.
15437 * gdb.base/bigcore.exp: Likewise.
15438 * gdb.base/bitfields.exp: Likewise.
15439 * gdb.base/bitfields2.exp: Likewise.
15440 * gdb.base/break.exp: Likewise.
15441 * gdb.base/call-sc.exp: Likewise.
15442 * gdb.base/call-strs.exp: Likewise.
15443 * gdb.base/callfuncs.exp: Likewise.
15444 * gdb.base/checkpoint.exp: Likewise.
15445 * gdb.base/chng-syms.exp: Likewise.
15446 * gdb.base/code-expr.exp: Likewise.
15447 * gdb.base/commands.exp: Likewise.
15448 * gdb.base/completion.exp: Likewise.
15449 * gdb.base/cond-expr.exp: Likewise.
15450 * gdb.base/condbreak.exp: Likewise.
15451 * gdb.base/consecutive.exp: Likewise.
15452 * gdb.base/constvars.exp: Likewise.
15453 * gdb.base/corefile.exp: Likewise.
15454 * gdb.base/cvexpr.exp: Likewise.
15455 * gdb.base/dbx.exp: Likewise.
15456 * gdb.base/define.exp: Likewise.
15457 * gdb.base/detach.exp: Likewise.
15458 * gdb.base/display.exp: Likewise.
15459 * gdb.base/dump.exp: Likewise.
15460 * gdb.base/ena-dis-br.exp: Likewise.
15461 * gdb.base/ending-run.exp: Likewise.
15462 * gdb.base/environ.exp: Likewise.
15463 * gdb.base/eval-skip.exp: Likewise.
15464 * gdb.base/exprs.exp: Likewise.
15465 * gdb.base/fileio.exp: Likewise.
15466 * gdb.base/finish.exp: Likewise.
15467 * gdb.base/float.exp: Likewise.
15468 * gdb.base/foll-exec.exp: Likewise.
15469 * gdb.base/foll-fork.exp: Likewise.
15470 * gdb.base/foll-vfork.exp: Likewise.
15471 * gdb.base/freebpcmd.exp: Likewise.
15472 * gdb.base/funcargs.exp: Likewise.
15473 * gdb.base/gcore.exp: Likewise.
15474 * gdb.base/gdb1090.exp: Likewise.
15475 * gdb.base/gdb1250.exp: Likewise.
15476 * gdb.base/huge.exp: Likewise.
15477 * gdb.base/info-proc.exp: Likewise.
15478 * gdb.base/interrupt.exp: Likewise.
15479 * gdb.base/jump.exp: Likewise.
15480 * gdb.base/langs.exp: Likewise.
15481 * gdb.base/lineinc.exp: Likewise.
15482 * gdb.base/list.exp: Likewise.
15483 * gdb.base/logical.exp: Likewise.
15484 * gdb.base/long_long.exp: Likewise.
15485 * gdb.base/macscp.exp: Likewise.
15486 * gdb.base/maint.exp: Likewise.
15487 * gdb.base/mips_pro.exp: Likewise.
15488 * gdb.base/miscexprs.exp: Likewise.
15489 * gdb.base/multi-forks.exp: Likewise.
15490 * gdb.base/opaque.exp: Likewise.
15491 * gdb.base/overlays.exp: Likewise.
15492 * gdb.base/pc-fp.exp: Likewise.
15493 * gdb.base/pointers.exp: Likewise.
15494 * gdb.base/printcmds.exp: Likewise.
15495 * gdb.base/psymtab.exp: Likewise.
15496 * gdb.base/ptype.exp: Likewise.
15497 * gdb.base/recurse.exp: Likewise.
15498 * gdb.base/relational.exp: Likewise.
15499 * gdb.base/relocate.exp: Likewise.
15500 * gdb.base/remote.exp: Likewise.
15501 * gdb.base/reread.exp: Likewise.
15502 * gdb.base/restore.exp: Likewise.
15503 * gdb.base/return.exp: Likewise.
15504 * gdb.base/return2.exp: Likewise.
15505 * gdb.base/scope.exp: Likewise.
15506 * gdb.base/sect-cmd.exp: Likewise.
15507 * gdb.base/sep.exp: Likewise.
15508 * gdb.base/sepdebug.exp: Likewise.
15509 * gdb.base/setshow.exp: Likewise.
15510 * gdb.base/setvar.exp: Likewise.
15511 * gdb.base/sigall.exp: Likewise.
15512 * gdb.base/sigbpt.exp: Likewise.
15513 * gdb.base/signals.exp: Likewise.
15514 * gdb.base/signull.exp: Likewise.
15515 * gdb.base/sizeof.exp: Likewise.
15516 * gdb.base/solib.exp: Likewise.
15517 * gdb.base/step-line.exp: Likewise.
15518 * gdb.base/step-test.exp: Likewise.
15519 * gdb.base/structs.exp: Likewise.
15520 * gdb.base/structs2.exp: Likewise.
15521 * gdb.base/term.exp: Likewise.
15522 * gdb.base/twice.exp: Likewise.
15523 * gdb.base/until.exp: Likewise.
15524 * gdb.base/varargs.exp: Likewise.
15525 * gdb.base/volatile.exp: Likewise.
15526 * gdb.base/watchpoint.exp: Likewise.
15527 * gdb.base/whatis-exp.exp: Likewise.
15528 * gdb.base/whatis.exp: Likewise.
15529 * gdb.cp/ambiguous.exp: Likewise.
15530 * gdb.cp/annota2.exp: Likewise.
15531 * gdb.cp/annota3.exp: Likewise.
15532 * gdb.cp/bool.exp: Likewise.
15533 * gdb.cp/breakpoint.exp: Likewise.
15534 * gdb.cp/casts.exp: Likewise.
15535 * gdb.cp/class2.exp: Likewise.
15536 * gdb.cp/classes.exp: Likewise.
15537 * gdb.cp/cplusfuncs.exp: Likewise.
15538 * gdb.cp/ctti.exp: Likewise.
15539 * gdb.cp/derivation.exp: Likewise.
15540 * gdb.cp/exception.exp: Likewise.
15541 * gdb.cp/gdb1355.exp: Likewise.
15542 * gdb.cp/hang.exp: Likewise.
15543 * gdb.cp/inherit.exp: Likewise.
15544 * gdb.cp/local.exp: Likewise.
15545 * gdb.cp/m-data.exp: Likewise.
15546 * gdb.cp/m-static.exp: Likewise.
15547 * gdb.cp/member-ptr.exp: Likewise.
15548 * gdb.cp/method.exp: Likewise.
15549 * gdb.cp/misc.exp: Likewise.
15550 * gdb.cp/namespace.exp: Likewise.
15551 * gdb.cp/overload.exp: Likewise.
15552 * gdb.cp/ovldbreak.exp: Likewise.
15553 * gdb.cp/pr-1023.exp: Likewise.
15554 * gdb.cp/pr-1210.exp: Likewise.
15555 * gdb.cp/pr-574.exp: Likewise.
15556 * gdb.cp/printmethod.exp: Likewise.
15557 * gdb.cp/psmang.exp: Likewise.
15558 * gdb.cp/ref-params.exp: Likewise.
15559 * gdb.cp/ref-types.exp: Likewise.
15560 * gdb.cp/rtti.exp: Likewise.
15561 * gdb.cp/templates.exp: Likewise.
15562 * gdb.cp/try_catch.exp: Likewise.
15563 * gdb.cp/userdef.exp: Likewise.
15564 * gdb.cp/virtfunc.exp: Likewise.
15565 * gdb.disasm/am33.exp: Likewise.
15566 * gdb.disasm/h8300s.exp: Likewise.
15567 * gdb.disasm/mn10300.exp: Likewise.
15568 * gdb.disasm/sh3.exp: Likewise.
15569 * gdb.disasm/t01_mov.exp: Likewise.
15570 * gdb.disasm/t02_mova.exp: Likewise.
15571 * gdb.disasm/t03_add.exp: Likewise.
15572 * gdb.disasm/t04_sub.exp: Likewise.
15573 * gdb.disasm/t05_cmp.exp: Likewise.
15574 * gdb.disasm/t06_ari2.exp: Likewise.
15575 * gdb.disasm/t07_ari3.exp: Likewise.
15576 * gdb.disasm/t08_or.exp: Likewise.
15577 * gdb.disasm/t09_xor.exp: Likewise.
15578 * gdb.disasm/t10_and.exp: Likewise.
15579 * gdb.disasm/t11_logs.exp: Likewise.
15580 * gdb.disasm/t12_bit.exp: Likewise.
15581 * gdb.disasm/t13_otr.exp: Likewise.
15582 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
15583 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
15584 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15585 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
15586 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
15587 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15588 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15589 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15590 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
15591 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
15592 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15593 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15594 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15595 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15596 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15597 * gdb.mi/gdb701.exp: Likewise.
15598 * gdb.mi/gdb792.exp: Likewise.
15599 * gdb.mi/mi-basics.exp: Likewise.
15600 * gdb.mi/mi-break.exp: Likewise.
15601 * gdb.mi/mi-cli.exp: Likewise.
15602 * gdb.mi/mi-console.exp: Likewise.
15603 * gdb.mi/mi-disassemble.exp: Likewise.
15604 * gdb.mi/mi-eval.exp: Likewise.
15605 * gdb.mi/mi-file.exp: Likewise.
15606 * gdb.mi/mi-read-memory.exp: Likewise.
15607 * gdb.mi/mi-regs.exp: Likewise.
15608 * gdb.mi/mi-return.exp: Likewise.
15609 * gdb.mi/mi-simplerun.exp: Likewise.
15610 * gdb.mi/mi-stack.exp: Likewise.
15611 * gdb.mi/mi-stepi.exp: Likewise.
15612 * gdb.mi/mi-syn-frame.exp: Likewise.
15613 * gdb.mi/mi-until.exp: Likewise.
15614 * gdb.mi/mi-var-block.exp: Likewise.
15615 * gdb.mi/mi-var-child.exp: Likewise.
15616 * gdb.mi/mi-var-cmd.exp: Likewise.
15617 * gdb.mi/mi-var-display.exp: Likewise.
15618 * gdb.mi/mi-watch.exp: Likewise.
15619 * gdb.mi/mi2-basics.exp: Likewise.
15620 * gdb.mi/mi2-break.exp: Likewise.
15621 * gdb.mi/mi2-cli.exp: Likewise.
15622 * gdb.mi/mi2-console.exp: Likewise.
15623 * gdb.mi/mi2-disassemble.exp: Likewise.
15624 * gdb.mi/mi2-eval.exp: Likewise.
15625 * gdb.mi/mi2-file.exp: Likewise.
15626 * gdb.mi/mi2-read-memory.exp: Likewise.
15627 * gdb.mi/mi2-regs.exp: Likewise.
15628 * gdb.mi/mi2-return.exp: Likewise.
15629 * gdb.mi/mi2-simplerun.exp: Likewise.
15630 * gdb.mi/mi2-stack.exp: Likewise.
15631 * gdb.mi/mi2-stepi.exp: Likewise.
15632 * gdb.mi/mi2-syn-frame.exp: Likewise.
15633 * gdb.mi/mi2-until.exp: Likewise.
15634 * gdb.mi/mi2-var-block.exp: Likewise.
15635 * gdb.mi/mi2-var-child.exp: Likewise.
15636 * gdb.mi/mi2-var-cmd.exp: Likewise.
15637 * gdb.mi/mi2-var-display.exp: Likewise.
15638 * gdb.mi/mi2-watch.exp: Likewise.
15639 * gdb.stabs/exclfwd.exp: Likewise.
15640 * gdb.stabs/weird.exp: Likewise.
15641 * gdb.threads/gcore-thread.exp: Likewise.
15642 * gdb.trace/actions.exp: Likewise.
15643 * gdb.trace/backtrace.exp: Likewise.
15644 * gdb.trace/circ.exp: Likewise.
15645 * gdb.trace/collection.exp: Likewise.
15646 * gdb.trace/deltrace.exp: Likewise.
15647 * gdb.trace/infotrace.exp: Likewise.
15648 * gdb.trace/limits.exp: Likewise.
15649 * gdb.trace/packetlen.exp: Likewise.
15650 * gdb.trace/passc-dyn.exp: Likewise.
15651 * gdb.trace/passcount.exp: Likewise.
15652 * gdb.trace/report.exp: Likewise.
15653 * gdb.trace/save-trace.exp: Likewise.
15654 * gdb.trace/tfind.exp: Likewise.
15655 * gdb.trace/tracecmd.exp: Likewise.
15656 * gdb.trace/while-dyn.exp: Likewise.
15657 * gdb.trace/while-stepping.exp: Likewise.
15658
15659 2006-08-08 Joel Brobecker <brobecker@adacore.com>
15660
15661 * gdb.base/step-bt.c: New file.
15662 * gdb.base/step-bt.exp: New testcase.
15663
15664 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
15665
15666 * config/monitor.exp (gdb_load): Remove support for obsolete
15667 download-write-size.
15668 * gdb.base/remote.exp: Likewise. Update all callers of
15669 gdb_timed_load.
15670
15671 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
15672
15673 * cursal.exp: Pass binfile to gdb_load.
15674
15675 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
15676
15677 * gdb.base/cursal.exp: Add "" to gdb_load call.
15678
15679 2006-07-29 Mark Kettenis <kettenis@gnu.org>
15680
15681 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
15682 NetBSD/ELF targets.
15683
15684 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
15685
15686 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
15687 operator*.
15688
15689 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
15690
15691 * gdb.base/completion.exp: Update for change in "file" behavior.
15692 * gdb.stabs/weird.exp: Likewise.
15693 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
15694 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
15695
15696 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
15697
15698 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
15699 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
15700
15701 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
15702
15703 * gdb.base/default.exp: Update source command error message.
15704 * gdb.base/help.exp: Update 'help source' message.
15705
15706 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
15707
15708 * gdb.cp/bs15503.exp: Update comment for no longer crashing
15709 test.
15710
15711 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
15712
15713 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
15714
15715 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15716
15717 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
15718
15719 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
15720
15721 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
15722
15723 2006-07-17 Mark Kettenis <kettenis@gnu.org>
15724
15725 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
15726 *-*-openbsd* from targets for wich we expect ARM FPA floating
15727 point format.
15728
15729 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
15730
15731 * gdb.cp/annota3.exp: Expect frame-begin annotation.
15732
15733 2006-07-17 Mark Kettenis <kettenis@gnu.org>
15734
15735 * gdb.base/annota3.exp: Expect frame-begin annotation.
15736
15737 2006-07-14 Joel Brobecker <brobecker@adacore.com>
15738
15739 * gdb.base/help.exp: Adjust "help unset" test to accept
15740 any list of unset commands.
15741
15742 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
15743 Daniel Jacobowitz <dan@codesourcery.com>
15744
15745 * gdb.cp/ref-params.exp: New test.
15746 * gdb.cp/ref-params.cc: New source file.
15747 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
15748
15749 2006-07-08 Mark Kettenis <kettenis@gnu.org>
15750
15751 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
15752 spaces/tabs in regular expressions since they might not be there.
15753
15754 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
15755
15756 * gdb.base/ifelse.exp: New file.
15757
15758 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
15759
15760 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
15761 line.
15762 * gdb.base/huge.exp: Loop over compilation to find a size that
15763 is acceptable.
15764 * gdb.base/remote.exp: Correct expected strings.
15765 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
15766
15767 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15768
15769 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
15770
15771 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15772
15773 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
15774 native.
15775
15776 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15777
15778 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
15779 enable stabs testing.
15780
15781 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15782
15783 * gdb.base/auxv.exp: Intercept undefined command messages before
15784 gdb_test_multiple does.
15785
15786 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
15787
15788 * Makefile.in (host_alias): Remove.
15789 (target_alias): Use @target_noncanonical@.
15790 (site.exp): Don't set host_alias.
15791 * aclocal.m4: Remove contents. Include acx.m4.
15792 * configure: Regenerated.
15793 * configure.ac: Use ACX_NONCANONICAL_TARGET.
15794
15795 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
15796
15797 * lib/gdb.exp (gdb_load_cmd): New.
15798
15799 * gdb.base/fileio.c: Add system(NULL) test.
15800 * gdb.base/fileio.exp: Check it.
15801
15802 * gdb.base/break.c: Add 10a breakpoint at }
15803 * gdb.base/break.exp: Add test for breakpoint at }
15804 * gdb.cp/anon-union.cc: Add code at end of function.
15805 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
15806 * gdb.mi/var-cmd.c: Add code at end of function.
15807 * gdb.mi/mi-var-display.exp: Adjust end of next.
15808 * gdb.mi/mi2-var-display.exp: Likewise.
15809 * gdb.base/fileio.c: Add stop function and insert calls at
15810 stopping places.
15811 * gdb.base/fileio.exp: Breakpoint stop function and remove
15812 explicit line number references.
15813
15814 2006-05-19 Joel Brobecker <brobecker@adacore.com>
15815
15816 * gdb.base/del.exp (test_delete_alias): New function.
15817 Now check that both "del" and "d" work as aliases for "delete".
15818
15819 2006-05-18 Fred Fish <fnf@specifix.com>
15820
15821 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
15822 required. Check for spurious output after program exits normally.
15823
15824 2006-05-17 Fred Fish <fnf@specifix.com>
15825
15826 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
15827 gdb_load, so it works in the simulator.
15828
15829 2006-05-11 Fred Fish <fnf@specifix.com>
15830
15831 * gdb.base/bang.exp: Ignore unexpected output between the
15832 "program exited normally" and the gdb prompt, as many other
15833 tests do.
15834
15835 2006-05-07 Mark Kettenis <kettenis@gnu.org>
15836
15837 * gdb.base/help.exp: Make "delete checkpoint" part option for
15838 "help d" and "help delete" tests.
15839
15840 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15841
15842 * gdb.mi/mi-basics.exp: Add missing serial number to
15843 expected output in some mi_gdb_test statements.
15844 * gdb.mi/mi2-basics.exp: Likewise.
15845
15846 2006-05-05 Joel Brobecker <brobecker@adacore.com>
15847
15848 * gdb.base/del.c: New file.
15849 * gdb.base/del.exp: New testcase.
15850
15851 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
15852
15853 * gdb.base/break.exp: Do not assume a breakpoint on
15854 main will actually be in $srcfile when optimizing.
15855 * gdb.base/savedregs.exp: Do not require that the dummy
15856 frame location match up to a symbol and source file location.
15857 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
15858 will get printed without a mi_cmd_data_list_register_values prefix.
15859 (*-data-list-register-*): Correct regular expressions to expect the new
15860 pseudo d? floating point registers.
15861 * gdb.mi/mi2-regs.exp: Likewise.
15862
15863 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
15864
15865 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
15866 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
15867 is allocated by the compiler.
15868 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
15869 anons, e, anone to force their allocation by the compiler.
15870
15871 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
15872
15873 * gdb.base/help.exp: Update expected text for help d and
15874 help delete.
15875
15876 2006-05-02 Mark Kettenis <kettenis@gnu.org>
15877
15878 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
15879 NetBSD/ELF targets.
15880
15881 2006-04-30 Mark Kettenis <kettenis@gnu.org>
15882
15883 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
15884 single-step breakpoint fails; make this a KFAIL on
15885 sparc*-*-openbsd*.
15886 * gdb.base/siginfo.exp: Likewise.
15887 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15888
15889 2006-04-26 Michael Snyder <msnyder@redhat.com>
15890
15891 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
15892 which may have to consume output from other forks.
15893 Add tests to make sure that "delete fork" succeeded.
15894
15895 2006-04-20 Michael Snyder <msnyder@redhat.com>
15896
15897 * 2006-03-22 Jim Blandy <jimb@redhat.com>
15898 Add support for the Renesas M32C and M16C.
15899
15900 * gdb.asm/asm-source.exp: Add m32c target.
15901 * gdb.asm/m32c.inc: Support for m32c target.
15902
15903 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
15904
15905 * gdb.base/commands.exp (recursive_source_test): New test.
15906
15907 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
15908
15909 * gdb.base/float.exp: Add pattern for sparc targets.
15910
15911 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15912
15913 * gdb.base/commands.exp (stray_arg0_test): New test.
15914
15915 2006-03-30 Paul Brook <paul@codesourcery.com>
15916
15917 * gdb.mi/mi-until.exp: kfail broken until command.
15918 * gdb.mi/mi2-until.exp: Ditto.
15919
15920 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
15921
15922 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
15923
15924 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
15925
15926 * gdb.base/prelink.exp: Anchor tested-for regular expression
15927 on gdb prompt.
15928
15929 2006-03-07 Paul Brook <paul@codesourcery.com>
15930
15931 * gdb.base/assign.exp: Correct fail message.
15932
15933 2006-03-07 Paul Brook <paul@codesourcery.com>
15934
15935 * lib/compiler.c: Extract armcc version number.
15936 * lib/compiler.cc: Ditto.
15937
15938 2006-03-07 Paul Brook <paul@codesourcery.com>
15939
15940 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
15941 additional_flags=-w.
15942 * gdb.arch/altivec-regs.exp: Ditto.
15943 * gdb.arch/e500-abi.exp: Ditto.
15944 * gdb.arch/e500-regs.exp: Ditto.
15945 * gdb.base/all-bin.exp: Ditto.
15946 * gdb.base/annota1.exp: Ditto.
15947 * gdb.base/annota3.exp: Ditto.
15948 * gdb.base/args.exp: Ditto.
15949 * gdb.base/arithmet.exp: Ditto.
15950 * gdb.base/assign.exp: Ditto.
15951 * gdb.base/async.exp: Ditto.
15952 * gdb.base/bang.exp: Ditto.
15953 * gdb.base/break.exp: Ditto.
15954 * gdb.base/call-rt-st.exp: Ditto.
15955 * gdb.base/completion.exp: Ditto.
15956 * gdb.base/cond-expr.exp: Ditto.
15957 * gdb.base/condbreak.exp: Ditto.
15958 * gdb.base/consecutive.exp: Ditto.
15959 * gdb.base/define.exp: Ditto.
15960 * gdb.base/display.exp: Ditto.
15961 * gdb.base/ena-dis-br.exp: Ditto.
15962 * gdb.base/environ.exp: Ditto.
15963 * gdb.base/eval-skip.exp: Ditto.
15964 * gdb.base/info-proc.exp: Ditto.
15965 * gdb.base/jump.exp: Ditto.
15966 * gdb.base/logical.exp: Ditto.
15967 * gdb.base/long_long.exp: Ditto.
15968 * gdb.base/maint.exp: Ditto.
15969 * gdb.base/miscexprs.exp: Ditto.
15970 * gdb.base/pc-fp.exp: Ditto.
15971 * gdb.base/pointers.exp: Ditto.
15972 * gdb.base/relational.exp: Ditto.
15973 * gdb.base/reread.exp: Ditto.
15974 * gdb.base/sect-cmd.exp: Ditto.
15975 * gdb.base/sep.exp: Ditto.
15976 * gdb.base/sepdebug.exp: Ditto.
15977 * gdb.base/until.exp: Ditto.
15978 * gdb.base/whatis-exp.exp: Ditto.
15979 * gdb.cp/annota2.exp: Ditto.
15980 * gdb.cp/annota3.exp: Ditto.
15981 * gdb.trace/actions.exp: Ditto.
15982 * gdb.trace/backtrace.exp: Ditto.
15983 * gdb.trace/circ.exp: Ditto.
15984 * gdb.trace/collection.exp: Ditto.
15985 * gdb.trace/deltrace.exp: Ditto.
15986 * gdb.trace/infotrace.exp: Ditto.
15987 * gdb.trace/limits.exp: Ditto.
15988 * gdb.trace/packetlen.exp: Ditto.
15989 * gdb.trace/passc-dyn.exp: Ditto.
15990 * gdb.trace/passcount.exp: Ditto.
15991 * gdb.trace/report.exp: Ditto.
15992 * gdb.trace/save-trace.exp: Ditto.
15993 * gdb.trace/tfind.exp: Ditto.
15994 * gdb.trace/tracecmd.exp: Ditto.
15995 * gdb.trace/while-dyn.exp: Ditto.
15996 * gdb.trace/while-stepping.exp: Ditto.
15997 * lib/gdb.exp: Ditto.
15998 (gdb_compile): Handle nowarning option.
15999
16000 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
16001
16002 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
16003 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
16004 Rename executable to prelinkt. Don't re-prelink if we didn't
16005 get a core file. Test prelink -u exit status to tell whether
16006 prelinking failed. Use gdb_test_multiple.
16007
16008 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
16009
16010 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
16011 (do_tests): Call it.
16012
16013 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
16014
16015 * gdb.base/prelink.exp: New test.
16016 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
16017
16018 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
16019
16020 * gdb.fortran/derived-type.f90: New file.
16021 * gdb.fortran/derived-type.exp: New testcase.
16022
16023 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
16024
16025 * gdb.base/default.exp: Allow ';' as a directory separator.
16026
16027 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16028
16029 * gdb.base/help.exp (help add-symbol-file): Update.
16030
16031 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
16032
16033 * gdb.base/help.exp (help load): Update expected results.
16034
16035 2006-02-19 Fred Fish <fnf@specifix.com>
16036
16037 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
16038 specifix hex value as part of results.
16039 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
16040
16041 2006-02-16 Fred Fish <fnf@specifix.com>
16042
16043 * gdb.base/whatis.c: Define variables using typedefs char_addr,
16044 ushort_addr, and slong_addr, so the typedefs are not optimized
16045 away.
16046 * gdb.base/whatis.exp: Add tests using type name for struct type,
16047 union type, enum type, and typedef.
16048
16049 2006-02-13 Mark Kettenis <kettenis@gnu.org>
16050
16051 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
16052
16053 2006-02-13 Jim Blandy <jimb@redhat.com>
16054
16055 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
16056 case where it takes two "next" commands to skip past the init
16057 call.
16058
16059 2006-02-12 Fred Fish <fnf@specifix.com>
16060
16061 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
16062 to handle cases where it takes two "next" commands to skip
16063 past the init call.
16064
16065 2006-02-07 Joel Brobecker <brobecker@adacore.com>
16066
16067 * gdb.ada/array_return.exp: Mark the last test as expected to fail
16068 on hppa32 targets.
16069
16070 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
16071
16072 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
16073 field.
16074
16075 2006-01-29 Mark Kettenis <kettenis@gnu.org>
16076
16077 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
16078
16079 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16080
16081 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
16082 files.
16083
16084 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16085
16086 * gdb.cp/maint.exp: Set complaints to a positive value.
16087
16088 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16089
16090 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
16091 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
16092 function name.
16093
16094 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
16095
16096 * gdb.base/checkpoint.c: Update copyright notice. Include
16097 <stdlib.h>.
16098
16099 2006-01-04 Jim Blandy <jimb@redhat.com>
16100
16101 * gdb.asm/asm-source.exp: Independently provide default values for
16102 asm-flags and debug-flags. Use 'string equal' to do the
16103 comparison, not the implicit expr's '==' operator. Remove
16104 now-unneeded assignments to asm-flags. In h8300 case, place
16105 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
16106
16107 2006-01-04 Michael Snyder <msnyder@redhat.com>
16108
16109 * gdb.base/checkpoint.c: New file.
16110 * gdb.base/checkpoint.exp: New file.
16111 * gdb.base/multi-fork.c: New file.
16112 * gdb.base/multi-fork.exp: New file.
16113 * gdb.base/pi.txt: New file (data for checkpoint.c test).
16114
16115 2006-01-04 Fred Fish <fnf@specifix.com>
16116
16117 * gdb.base/ptype.c (foo): Add typedef.
16118 (intfoo): Add function.
16119 * gdb.base/ptype1.c: New file.
16120 * gdb.base/ptype.exp: Handle compilation and linking with two
16121 source files. Test that proper type for "foo" is found based
16122 on source context rather than first match found in symtabs.
16123
16124 2005-12-28 Mark Kettenis <kettenis@gnu.org>
16125
16126 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
16127 * gdb.asm/openbsd.inc: Indent commands.
16128
16129 2005-12-26 Mark Kettenis <kettenis@gnu.org>
16130
16131 * gdb.base/freebpcmd.exp: Increase timeout.
16132
16133 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
16134
16135 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
16136
16137 * gdb.base/default.exp: Update check for "show version".
16138
16139 2005-12-09 Randolph Chung <tausq@debian.org>
16140
16141 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
16142 * gdb.asm/pa64.inc: New file.
16143
16144 2005-12-09 Randolph Chung <tausq@debian.org>
16145
16146 * gdb.asm/common.inc: Indent commands.
16147 * gdb.asm/asmsrc1.s: Likewise.
16148 * gdb.asm/asmsrc2.s: Likewise.
16149
16150 2005-12-09 Randolph Chung <tausq@debian.org>
16151
16152 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
16153 (get_addr_of_sym): Remove duplicate print.
16154 (gen_core): xfail hppa*-*-hpux*, update expected output.
16155 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
16156 * gdb.arch/pa64-nullify.s: New file.
16157
16158 2005-12-09 Randolph Chung <tausq@debian.org>
16159
16160 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
16161
16162 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
16163
16164 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
16165 code generation for these functions.
16166 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
16167 error message.
16168
16169 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
16170
16171 * gdb.base/help.exp (help b, help br, help bre, help brea)
16172 (help break): Update the expected message.
16173
16174 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
16175
16176 * gdb.asm/m68hc11.inc: Setup the data section.
16177 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
16178 script for this test.
16179 (m6812-*-*): Likewise.
16180
16181 2005-11-09 Randolph Chung <tausq@debian.org>
16182
16183 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
16184
16185 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
16186
16187 * gdb.base/break.exp: Fix a comment typo.
16188
16189 2005-11-03 Jim Blandy <jimb@redhat.com>
16190
16191 Checked in by Elena Zannoni <ezannoni@redhat.com>
16192
16193 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
16194
16195 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
16196
16197 * gdb.arch/gdb1558.c: Include stdio.h.
16198
16199 2005-10-31 Mark Kettenis <kettenis@gnu.org>
16200
16201 * gdb.asm/asm-source.exp: Use -e instead of --entry.
16202
16203 2005-10-31 Mark Kettenis <kettenis@gnu.org>
16204
16205 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
16206
16207 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
16208
16209 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16210 vscr" tests to better match output.
16211
16212 2005-10-12 Jim Blandy <jimb@redhat.com>
16213
16214 * gdb.base/structs.exp (any): New function.
16215 (test_struct_returns): Don't make any assumptions at all about
16216 what value the function returns when GDB can't set the return
16217 value.
16218
16219 2005-10-09 Joel Brobecker <brobecker@adacore.com>
16220
16221 * gdb.ada/arrayidx/p.adb: New file.
16222 * gdb.ada/arrayidx.exp: New testcase
16223
16224 2005-10-09 Joel Brobecker <brobecker@adacore.com>
16225
16226 * gdb.ada/array_return/pck.ads: New file.
16227 * gdb.ada/array_return/pck.adb: New file.
16228 * gdb.ada/array_return/p.adb: New file.
16229 * gdb.ada/array_return.exp: New testcase.
16230
16231 2005-10-03 Joel Brobecker <brobecker@adacore.com>
16232
16233 * gdb.base/arrayidx.c: New file.
16234 * gdb.base/arrayidx.exp: New testcase.
16235
16236 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
16237
16238 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
16239 frames-invalid and breakpoints-invalid are no longer generated
16240 with level 3 so don't expect them in the output.
16241
16242 2005-09-27 Bob Rossi <bob@brasko.net>
16243
16244 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
16245 from test. Escape the | in mi_gdb_test call.
16246 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
16247 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
16248 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
16249 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
16250 expected regex's in mi_gdb_test calls.
16251 * lib/mi-support.exp: Remove arbitrary .* from tests.
16252 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
16253 Fully anchor GDB/MI expected results in mi_gdb_test.
16254 * lib/gdb.exp (string_to_regexp): Escape the ] character.
16255 * gdb.base/sizeof.exp: Remove escape character. Correct test.
16256
16257 2005-09-26 Paul Brook <paul@codesourcery.com>
16258
16259 * long_long.exp: Exclude eabi targets from arm FPA float format test.
16260
16261 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16262
16263 * bfp-test.c: New file.
16264 * bfp-test.exp: New testcase.
16265
16266 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
16267
16268 * gdb.fortran/subarray.exp: New testcase to test the evaluation
16269 of subarray and substring variable.
16270 * gdb.fortran/subarray.f: New source file for the test of subarray
16271 and substring variable evaluation.
16272 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
16273 of string constant.
16274
16275 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
16276
16277 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
16278 copyright dates.
16279
16280 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
16281
16282 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
16283 powerpc altivec' test with an almost identical 'info vector' test.
16284
16285 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16286
16287 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
16288 vscr" tests to match output.
16289
16290 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
16291
16292 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
16293 output.
16294
16295 2005-09-11 Bob Rossi <bob@brasko.net>
16296
16297 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
16298 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
16299 commands that return an MI output command and an asyncronous MI output
16300 command.
16301 * gdb.mi/mi-console.exp: Ditto.
16302
16303 2005-09-11 Bob Rossi <bob@brasko.net>
16304
16305 * gdb.mi/mi-var-child.c: Include <string.h>.
16306
16307 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
16308
16309 * killed.exp: Correct gdb_expect syntax.
16310
16311 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
16312
16313 * lib/mi-support.exp (mi_gdb_load): Fix typo.
16314
16315 2005-08-02 Bob Rossi <bob@brasko.net>
16316
16317 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
16318 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
16319 Change tests to inferior-tty-set/show.
16320 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
16321 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
16322 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
16323 inferior. Use mi_gdb_test to get GDB and Inferior output.
16324 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
16325 descriptor.
16326 (mi_inferior_tty_name): Add inferior PTY file name.
16327 (mi_gdb_start): Add INFERIOR_PTY parameter.
16328 (mi_gdb_test): Add IPATTERN parameter.
16329
16330 2005-08-02 Bob Rossi <bob@brasko.net>
16331
16332 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
16333 parameter to mi_gdb_test.
16334 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
16335
16336 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16337
16338 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
16339 struct_declarations.
16340 * gdb.mi/mi-var-child.exp: Step over the initialization of
16341 struct_declarations.
16342
16343 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16344
16345 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
16346 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
16347 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
16348 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
16349 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
16350 file.
16351
16352 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
16353
16354 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
16355 (do_children_tests): Assign values to the extra elements.
16356
16357 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
16358 them for tests for "-var-update --no-values" and
16359 "-var-update --all-values".
16360 Add test for "-var-list-children --simple-values".
16361
16362 * gdb.mi/basics.c (callee4): Add integer array D[3]...
16363
16364 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
16365 "-stack-list-locals --simple-values" Improve doc strings and
16366 comments.
16367
16368 2005-07-18 Mark Kettenis <kettenis@gnu.org>
16369
16370 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
16371 *-*-openbsd*.
16372 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
16373
16374 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
16375 sigaltsatck'.
16376
16377 2005-07-14 Bob Rossi <bob@brasko.net>
16378
16379 * gdb.base/default.exp (tty): Changed output of command.
16380 * gdb.base/help.exp (help tty): Ditto.
16381
16382 2005-07-12 Mark Kettenis <kettenis@gnu.org>
16383
16384 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
16385
16386 2005-07-10 Mark Kettenis <kettenis@gnu.org>
16387
16388 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
16389 -stack-select-frame without arguments.
16390 (test_stack_frame_listing): Add test for newly implemented command
16391 -stack-info-frame.
16392
16393 2005-07-06 Bob Rossi <bob@brasko.net>
16394
16395 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
16396 command.
16397 (Copyright): Update copyright.
16398
16399 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
16400
16401 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
16402 tests to evaluate exponentiation expression.
16403
16404 2005-06-29 Andreas Schwab <schwab@suse.de>
16405
16406 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
16407 main to avoid warnings.
16408
16409 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
16410
16411 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
16412
16413 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
16414 -stack-select-frame without arguments.
16415 (test_stack_frame_listing): Add test for newly implemented command
16416 -stack-info-frame.
16417
16418 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
16419
16420 * gdb.fortran/array-element.f: New file.
16421 * gdb.fortran/array-element.exp: New testcase.
16422
16423 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16424
16425 * gdb.base/bigcore.exp: Correct checks for systems which can
16426 not dump a large core file.
16427
16428 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16429
16430 * gdb.base/relocate.c: Add a copyright notice.
16431 (dummy): Remove.
16432 * gdb.base/relocate.exp: Test printing the values of variables
16433 from a relocatable file.
16434
16435 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16436
16437 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
16438 excess MI output after an error.
16439
16440 2005-05-29 Joel Brobecker <brobecker@adacore.com>
16441
16442 * gdb.arch/alpha-step.c: New file.
16443 * gdb.arch/alpha-step.exp: New testcase.
16444
16445 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
16446 Dennis Brueni <dennis@slickedit.com>
16447
16448 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
16449 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
16450 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
16451 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
16452 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
16453 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
16454 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
16455
16456 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
16457 Wu Zhou <woodzltc@cn.ibm.com>
16458
16459 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
16460 IBM's xlc compiler.
16461 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
16462 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
16463
16464 2005-05-13 Jim Blandy <jimb@redhat.com>
16465
16466 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
16467 calling gdb_suppress_entire_file.
16468 * gdb.base/charset.exp: Same.
16469 * gdb.base/call-rt-st.exp: Same.
16470
16471 2005-05-05 Bob Rossi <bob_rossi@cox.net>
16472
16473 * lib/gdb.exp (fullname_syntax): Added global regex.
16474 (fullname_syntax_POSIX): Ditto.
16475 (fullname_syntax_UNC): Ditto.
16476 (fullname_syntax_DOS_CASE): Ditto.
16477 (fullname_syntax_DOS): Ditto.
16478 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
16479 fullname_syntax variable to scope and use it.
16480 (test_file_list_exec_source_files): Ditto.
16481 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
16482
16483 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
16484
16485 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
16486
16487 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
16488
16489 * lib/gdb.exp (skip_altivec_tests): New function, based on
16490 check_vmx_hw_available from the GCC testsuite.
16491 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
16492 * lib/gdb.arch/altivec-regs.exp: Likewise.
16493
16494 2005-05-02 Jim Blandy <jimb@redhat.com>
16495
16496 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
16497 calling gdb_suppress_entire_file.
16498
16499 2005-04-30 Randolph Chung <tausq@debian.org>
16500
16501 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
16502 Slightly relax "sem_post" name checking.
16503
16504 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16505
16506 * gdb.base/unload.exp: Use new shared library infrastructure.
16507
16508 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
16509
16510 * gdb.base/so-impl-ld.exp: Use new shared library
16511 infrastructure.
16512
16513 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
16514
16515 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
16516 * gdb.asm/h8300.inc: New file.
16517
16518 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16519
16520 * gdb.base/shlib-call.exp: Change to use new shared library
16521 infrastructure.
16522
16523 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16524
16525 * gdb.base/pending.exp: Change to use new shared library
16526 infrastructure.
16527
16528 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
16529
16530 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
16531 use test_compiler_info instead of gcc_compiled, and update copyright.
16532
16533 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
16534
16535 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
16536 shared objects being adjusted and update copyright years.
16537
16538 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
16539
16540 * ChangeLog: Correct some 2003-01-13 dates.
16541 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
16542 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
16543 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
16544 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
16545 gdb.trace/tfind.exp: Update copyright years.
16546
16547 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
16548 Daniel Jacobowitz <dan@codesourcery.com>
16549
16550 * lib/gdb.exp (gdb_compile): Handle shlib=.
16551 (gdb_compile_shlib): New function.
16552
16553 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
16554
16555 * lib/gdb.exp (test_compiler_info): Give argument a default value.
16556
16557 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16558
16559 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
16560 gdb.server.
16561 * configure.ac: Likewise.
16562 * configure: Regenerated.
16563 * gdb.gdbserver/Makefile.in: Moved to...
16564 * gdb.server/Makefile.in: ... here.
16565 * gdb.gdbserver/server.c: Moved to...
16566 * gdb.server/server.c: ... here.
16567 * gdb.gdbserver/server-run.exp: Moved to...
16568 * gdb.server/server-run.exp: ... here.
16569
16570 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
16571
16572 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
16573 * configure.ac: Create gdb.gdbserver/Makefile.
16574 * configure: Regenerated.
16575 * lib/gdbserver-support.exp: New file, derived from
16576 config/gdbserver.exp.
16577 * config/gdbserver.exp: Use gdbserver-support.exp.
16578 * gdb.gdbserver/Makefile.in: New file.
16579 * gdb.gdbserver/server.c: New file.
16580 * gdb.gdbserver/server-run.exp: New file.
16581
16582 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
16583
16584 * lib/gdb.exp (test_compiler_info): Return compiler_info
16585 if no arguments are given.
16586
16587 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
16588
16589 * gdb.arch/altivec-abi.exp: Check for compiler and set
16590 use altivec' flag accordingly.
16591 * gdb.arch/altivec-regs.exp: Likewise.
16592
16593 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
16594
16595 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
16596
16597 2005-03-27 Andreas Schwab <schwab@suse.de>
16598
16599 * gdb.base/bigcore.c (main): Add missing mode argument in open
16600 call.
16601
16602 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
16603
16604 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
16605 downloads.
16606 * config/gdbserver.exp (gdb_load): Likewise.
16607
16608 2005-03-14 Paul Brook <paul@codesourcery.com>
16609
16610 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
16611 targets.
16612
16613 2005-03-09 Joel Brobecker <brobecker@adacore.com>
16614
16615 * gdb.dwarf2/dup-psym.S: New file.
16616 * gdb.dwarf2/dup-psym.exp: New testcase.
16617
16618 2005-03-09 Joel Brobecker <brobecker@adacore.com>
16619
16620 * gdb.ada/exec_changed/first.adb: New file.
16621 * gdb.ada/exec_changed/second.adb: New file.
16622 * gdb.ada/exec_changed.exp: New testcase.
16623
16624 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
16625
16626 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
16627 (A2): New class.
16628 (main): Test operator+.
16629 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
16630 breakpoint test.
16631
16632 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
16633 * gdb.base/signull.exp: Disable if gdb,nosignals.
16634 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
16635 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
16636 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
16637 * gdb.mi/mi2-console.exp: Likewise.
16638 * gdb.trace/collection.exp (run_trace_experiment): Consume the
16639 continue output at start.
16640 (gdb_collect_locals_test): Robustify regexp.
16641 * gdb.trace/passc-dyn.exp: Fix comment typo.
16642 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
16643
16644 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
16645
16646 * gdb.asm/asm-source.exp: Add iq2000 case.
16647 * gdb.asm/iq2000.inc: New file.
16648
16649 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
16650
16651 * gdb.base/command.exp: Change hardcoded value to regular expression.
16652 * gdb.base/float.exp: Add powerpc to the list of targets checked.
16653
16654 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
16655
16656 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
16657 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
16658 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
16659 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
16660 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
16661
16662 2005-03-05 Mark Kettenis <kettenis@gnu.org>
16663
16664 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
16665 changes.
16666
16667 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
16668
16669 * lib/compiler.c: Add test for IBM's xlc compiler.
16670 * lib/compiler.cc: Likewise.
16671
16672 2004-02-24 Joel Brobecker <brobecker@adacore.com>
16673
16674 * gdb.ada/fixed_points.exp: Create compilation object directory
16675 before running the test.
16676 * gdb.ada/null_record.exp: Likewise.
16677 * gdb.ada/packed_array.exp: Likewise.
16678 * gdb.ada/start.exp: Likewise.
16679
16680 2005-02-15 Joel Brobecker <brobecker@adacore.com>
16681
16682 * gdb.ada/packed_array/pa.adb: New file.
16683 * gdb.ada/packed_array.exp: New testcase.
16684
16685 2005-02-10 Mark Kettenis <kettenis@gnu.org>
16686
16687 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
16688 files.
16689
16690 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
16691 on *-*-openbsd*. Correctly match whitespace in regukar
16692 expressions.
16693
16694 2005-02-10 Daniel Jacobowitz <dan@debian.org>
16695
16696 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
16697 PR exp/1821
16698 * gdb.base/gdb1821.c: New test file.
16699 * gdb.base/gdb1821.exp: New test file.
16700
16701 2005-02-09 Joel Brobecker <brobecker@adacore.com>
16702
16703 * gdb.base/start.c: New file.
16704 * gdb.base/start.exp: New testcase.
16705
16706 2005-02-09 Joel Brobecker <brobecker@adacore.com>
16707
16708 * gdb.ada/start/dummy.adb: New file.
16709 * gdb.ada/start.exp: New testcase.
16710
16711 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
16712
16713 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
16714 for printing symbols and statistics.
16715 Add test for using relative pathnames in "maint print msymbols" test.
16716 Mark "maint info sections DATA" XFAIL on Cygwin.
16717 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
16718 tests.
16719
16720 2005-02-09 Andreas Schwab <schwab@suse.de>
16721
16722 Committed by Andrew Cagney <cagney@gnu.org>
16723 * gdb.base/remotetimeout.exp: New file.
16724
16725 2005-02-07 Mark Kettenis <kettenis@gnu.org>
16726
16727 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
16728
16729 2005-02-03 Joel Brobecker <brobecker@adacore.com>
16730
16731 * gdb.ada/gnat_ada.gpr: New file.
16732 * gdb.ada/gnat_ada.gin: Delete, no longer used.
16733 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
16734 * configure.ac: No longer generate gnat_ada.gpr.
16735 * configure: Regenerate.
16736 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
16737 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
16738 * gdb.ada/null_record/bar.ads: Likewise.
16739 * gdb.ada/null_record/bar.adb: Likewise.
16740 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
16741 * gdb.ada/null_record.exp (testdir): New variable.
16742 (testfile): executable is now in testdir subdirectory.
16743 (srcfile): Use full path to the main compilation unit.
16744 * gdb.ada/fixed_points.exp: Same changes as above.
16745
16746 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
16747
16748 * gdb.base/interp.exp: New test.
16749
16750 2005-01-24 Andrew Cagney <cagney@gnu.org>
16751
16752 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
16753
16754 2005-01-19 Andrew Cagney <cagney@gnu.org>
16755
16756 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
16757 configure.ac not configure.in.
16758
16759 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
16760 of powerpc*-*-*.
16761 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
16762 * gdb.base/list.exp (test_list_function)
16763 (test_list_filename_and_function): Ditto.
16764 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
16765
16766 2005-01-16 Andrew Cagney <cagney@gnu.org>
16767
16768 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
16769
16770 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
16771
16772 2005-01-14 Andrew Cagney <cagney@gnu.org>
16773
16774 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
16775 * gdb.mi/mi2-var-cmd.exp: Ditto.
16776
16777 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
16778
16779 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
16780
16781 2005-01-07 Andrew Cagney <cagney@gnu.org>
16782
16783 * configure.ac: Rename configure.in, require autoconf 2.59.
16784 * configure: Re-generate.
16785 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
16786 * gdb.stabs/configure: Re-generate.
16787 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
16788 * gdb.hp/configure: Re-generate.
16789 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
16790 autoconf 2.59.
16791 * gdb.hp/gdb.objdbg/configure: Re-generate.
16792 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
16793 autoconf 2.59.
16794 * gdb.hp/gdb.defects/configure: Re-generate.
16795 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16796 autoconf 2.59.
16797 * gdb.hp/gdb.compat/configure: Re-generate.
16798 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
16799 autoconf 2.59.
16800 * gdb.hp/gdb.base-hp/configure: Re-generate.
16801 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
16802 autoconf 2.59.
16803 * gdb.hp/gdb.aCC/configure: Re-generate.
16804
16805 2004-12-15 Jim Blandy <jimb@redhat.com>
16806
16807 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
16808 under NPTL when there is debugging info available for libpthread.
16809
16810 2004-12-13 Jerome Guitton <guitton@gnat.com>
16811
16812 * gdb.ada/fixed_points.c: New file.
16813 * gdb.ada/fixed_points.exp: New file.
16814
16815 2004-12-03 Randolph Chung <tausq@debian.org>
16816
16817 * gdb.arch/pa-nullify.exp: New file.
16818 * gdb.arch/pa-nullify.s: New file.
16819
16820 2004-11-30 Randolph Chung <tausq@debian.org>
16821
16822 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
16823 instead of "tbug". Fix regexp to work properly with gdb_test.
16824
16825 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
16826
16827 * gdb.base/bitfields2.exp: New test.
16828 * gdb.base/bitfields2.c: New file.
16829
16830 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
16831
16832 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
16833
16834 2004-11-16 Randolph Chung <tausq@debian.org>
16835
16836 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
16837
16838 2004-11-14 Daniel Jacobowitz <dan@debian.org>
16839
16840 * gdb.threads/threadapply.exp: Correct "macro details" test.
16841
16842 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
16843
16844 * gdb.threads/threadapply.exp: New test.
16845 * gdb.threads/threadapply.c: New file.
16846
16847 2004-11-07 Mark Kettenis <kettenis@gnu.org>
16848
16849 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
16850 frames.
16851
16852 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
16853
16854 * gdb.base/cursal.exp: New file.
16855 * gdb.base/cursal.c: New file.
16856
16857 2004-11-03 Andrew Cagney <cagney@gnu.org>
16858
16859 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
16860
16861 2004-10-30 Mark Kettenis <kettenis@gnu.org>
16862
16863 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
16864 NetBSD/ELF targets.
16865
16866 2004-10-29 Joel Brobecker <brobecker@gnat.com>
16867
16868 * gdb.threads/bp_in_thread.c: New file, copied from
16869 pthread_cond_wait.c.
16870 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
16871 file, rather than reusing the .c file from another testcase.
16872
16873 2004-10-20 Joel Brobecker <brobecker@gnat.com>
16874
16875 * gdb.ada/null_record.exp: Check where we stopped after
16876 sending the start command, instead of where the associated
16877 temporary breakpoint was inserted.
16878
16879 2004-10-14 Andrew Cagney <cagney@gnu.org>
16880
16881 * gdb.mi/gdb701.c (main): Return 0.
16882
16883 2004-10-13 Daniel Jacobowitz <dan@debian.org>
16884
16885 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
16886
16887 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
16888
16889 * gdb.threads/schedlock.c: Add comment markers to use to find
16890 line numbers.
16891 * gdb.threads/schedlock.exp: Adjust regex to handle the new
16892 comments.
16893 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
16894 breakpoint lines.
16895
16896 2004-10-12 Daniel Jacobowitz <dan@debian.org>
16897
16898 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
16899
16900 2004-10-12 Daniel Jacobowitz <dan@debian.org>
16901
16902 * configure.in: Add gdb.dwarf2.
16903 * configure: Regenerated.
16904 * Makefile.in: Add gdb.dwarf2.
16905 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
16906 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
16907 gdb.dwarf2/file1.txt: New files.
16908
16909 2004-10-11 Orjan Friberg <orjanf@axis.com>
16910
16911 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
16912 of "run", since the latter doesn't work with remote targets. Adjust
16913 the breakpoint numbering accordingly.
16914 * gdb.threads/pthread_cond_wait.exp: Ditto.
16915
16916 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
16917
16918 * gdb.base/overlays.exp: Update copyright years.
16919
16920 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
16921
16922 * gdb.base/overlays.exp: Disable if target is Linux.
16923
16924 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
16925
16926 * config/gdbserver.exp (gdb_load): Use right filename on remote.
16927
16928 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
16929
16930 * gdb.asm/asm-source.exp: Add m32r-linux target.
16931 * gdb.asm/m32r-linux.inc: New file.
16932
16933 2004-09-24 Andrew Cagney <cagney@redhat.com>
16934 David Anderson <anderson@redhat.com>
16935
16936 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
16937 command fails, assume things will work.
16938 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
16939 (_GNU_SOURCE): Define.
16940 (print_unsigned, print_hex): Change parameter to "long long".
16941 (print_byte_count): New function, use to print byte counts.
16942 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
16943 O_LARGEFILE.
16944 (main): Compute an upper bound on a corefile in max_core_size.
16945 Limit memory chunk size to max_core_size. Limit total memory
16946 allocated to max_core_size.
16947
16948 2004-09-23 Andrew Cagney <cagney@gnu.org>
16949
16950 * gdb.base/bigcore.exp: Replace the code that creates a corefile
16951 from a separate process with code that creates a corefile by
16952 making the inferior dump core.
16953
16954 2004-09-23 Mark Kettenis <kettenis@gnu.org>
16955
16956 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
16957 block.
16958
16959 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
16960
16961 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
16962 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
16963 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
16964 Likewise.
16965
16966 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
16967
16968 * gdb.java/jprint.exp: New test case for java inferior call.
16969 * gdb.java/jprint.java: Ditto.
16970
16971 2004-09-15 Joel Brobecker <brobecker@gnat.com>
16972
16973 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
16974
16975 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16976
16977 * gdb.threads/killed.c: Include <stdlib.h>.
16978 * gdb.threads/pthreads.c: Likewise.
16979
16980 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
16981
16982 * gdb.threads/killed.c: Add copyright notice.
16983
16984 2004-09-10 Jason Molenda (jmolenda@apple.com)
16985
16986 * gdb.base/define.exp: Two new tests to verify zero space chars
16987 after 'if' and 'while' commands in a user-defined command is correctly
16988 parsed.
16989
16990 2004-09-08 Andrew Cagney <cagney@gnu.org>
16991
16992 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
16993 delivery test with duplicate at end of file.
16994
16995 2004-09-06 Mark Kettenis <kettenis@jive.nl>
16996
16997 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
16998
16999 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17000
17001 * config/hppro.exp: Removed.
17002
17003 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17004
17005 * config/sparclet.exp: Removed.
17006
17007 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
17008
17009 * config/udi.exp: Removed.
17010
17011 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
17012
17013 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
17014 of "exp_continue".
17015 (advancei): Likewise.
17016
17017 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17018
17019 * gdb.base/unload.exp: Fix so messages aren't duplicated.
17020
17021 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
17022
17023 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
17024 to check for nodebug in executable.
17025 * gdb.gdb/observer.exp (setup_test): Likewise.
17026 * gdb.gdb/selftest.exp (test_with_self): Likewise.
17027 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
17028
17029 2004-09-01 Andrew Cagney <cagney@gnu.org>
17030
17031 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17032 files.
17033
17034 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
17035
17036 * gdb.base/unload.exp: Fix expected warning message to match
17037 latest format.
17038
17039 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
17040
17041 * gdb.base/call-rt-st.exp: Fix typos.
17042
17043 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
17044
17045 * gdb.threads/thread_check.exp: New testcase.
17046 * gdb.threads/thread_check.c: New testcase.
17047
17048 2004-08-31 Andrew Cagney <cagney@gnu.org>
17049
17050 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
17051 (skip_to_handler_entry): New procedures. Test stepping into a
17052 handler when the breakpoint is at the handler's entry point.
17053
17054 2004-08-30 Andrew Cagney <cagney@gnu.org>
17055
17056 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
17057 gdb/1757.
17058
17059 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17060
17061 With code from Manoj Iyer <manjo@austin.ibm.com>:
17062 * lib/gdb.exp (gdb_file_cmd): Return more information in the
17063 return value. Add an arm for "no debugging symbols found".
17064 Change a stray "error" to "perror".
17065 (gdb_run_cmd): Adapt to new return value.
17066 * gdb.base/remote.exp: Adapt to new return value.
17067 * gdb.gdb/complaints.exp: Likewise.
17068 * gdb.gdb/observer.exp: Likewise.
17069 * gdb.gdb/selftest.exp: Likewise.
17070 * gdb.gdb/xfullpath.exp: Likewise.
17071
17072 2004-08-27 Joel Brobecker <brobecker@gnat.com>
17073
17074 * gdb.threads/bp_in_thread.exp: New testcase.
17075
17076 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
17077
17078 Fix PR testsuite/1735.
17079 * gdb.threads/schedlock.c (thread_function): Add a cast
17080 to suppress a gcc warning.
17081 * gdb.threads/thread-specific.c (thread_function): Likewise.
17082
17083 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17084
17085 * gdb.base/unload.c: Include <stdlib.h>.
17086
17087 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17088
17089 From Paul Gilliam <pgilliam@us.ibm.com>:
17090 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
17091 synchronized after the "return".
17092
17093 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17094
17095 * gdb.mi/basics.c: Include <stdio.h>.
17096 * gdb.mi/pthreads.c: Include <stdlib.h>.
17097 * gdb.mi/var-cmd.c: Include <stdlib.h>.
17098
17099 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
17100
17101 * gdb.threads/schedlock.c: Add copyright notice.
17102
17103 2004-08-25 Andrew Cagney <cagney@gnu.org>
17104
17105 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
17106 (skip_over_handler, breakpoint_over_hander): New test procedures.
17107 (advance, advancei): Add a proper prefix, do not use
17108 rerun_to_main.
17109 * gdb.base/sigstep.c (main): Change to use an infinite loop.
17110
17111 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
17112
17113 * gdb.mi/basics.c: Add copyright notice.
17114 * gdb.mi/var-cmd.c: Add copyright notice.
17115
17116 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17117
17118 * lib/gdb.exp: Remove signed_keyword_not_used.
17119 * lib/compiler.c: Likewise.
17120 * lib/compiler.cc: Likewise.
17121
17122 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17123
17124 * gdb.base/whatis.c: Remove conditional disabling of "signed".
17125 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
17126
17127 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
17128
17129 * gdb.base/whatis.c: Add copyright notice.
17130
17131 2004-08-20 Mark Kettenis <kettenis@gnu.org>
17132
17133 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
17134 it to skip the breakpoints encoded in the inline assembly.
17135
17136 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17137
17138 * Makefile.in: Add gdb.fortran.
17139
17140 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
17141
17142 * gdb.base/call-sc.exp (test_scalar_returns):
17143 Fix cut-and-paste glitch in "Make fun return now".
17144
17145 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17146
17147 * configure.in: Add gdb.fortran.
17148 * configure: Regenerate.
17149 * gdb.fortran/Makefile.in: New file.
17150 * lib/gdb.exp (skip_fortran_tests): New procedure.
17151
17152 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
17153
17154 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
17155 reference to bug-gnu@prep.ai.mit.edu.
17156 * gdb.mi/mi-var-child.exp: Likewise.
17157 * gdb.mi/mi-var-cmd.exp: Likewise.
17158 * gdb.mi/mi-var-display.exp: Likewise.
17159 * gdb.mi/mi2-var-block.exp: Likewise.
17160 * gdb.mi/mi2-var-child.exp: Likewise.
17161 * gdb.mi/mi2-var-cmd.exp: Likewise.
17162 * gdb.mi/mi2-var-display.exp: Likewise.
17163
17164 2004-08-15 Mark Kettenis <kettenis@gnu.org>
17165
17166 * gdb.base/unload.c (main): Make local variable msg const.
17167
17168 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17169
17170 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
17171 to bug-gnu@prep.ai.mit.edu.
17172 * gdb.mi/mi-disassemble.exp: Likewise.
17173 * gdb.mi/mi-eval.exp: Likewise.
17174 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
17175 default line number.
17176 * gdb.mi/mi-return.exp: Likewise.
17177 * gdb.mi/mi-simplerun.exp: Likewise.
17178 * gdb.mi/mi-stack.exp: Likewise.
17179 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
17180 number with explicit range test.
17181 * gdb.mi/mi-watch.exp: Likewise.
17182 * gdb.mi/mi2-break.exp: Likewise.
17183 * gdb.mi/mi2-cli.exp: Likewise.
17184 * gdb.mi/mi2-disassemble.exp: Likewise.
17185 * gdb.mi/mi2-eval.exp: Likewise.
17186 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
17187 default line number.
17188 * gdb.mi/mi2-return.exp: Likewise.
17189 * gdb.mi/mi2-simplerun.exp: Likewise.
17190 * gdb.mi/mi2-stack.exp: Likewise.
17191 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
17192 number with explicit range test.
17193 * gdb.mi/mi2-watch.exp: Likewise.
17194
17195 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
17196
17197 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
17198 * gdb.cp/m-static.exp: Likewise.
17199 * gdb.cp/rtti.exp: Likewise.
17200
17201 2004-08-14 Mark Kettenis <kettenis@gnu.org>
17202
17203 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
17204
17205 2004-08-14 Eli Zaretskii <eliz@gnu.org>
17206
17207 * ChangeLog: Prefix Local Variables with semi-colons and indent
17208 the reference to older ChangeLog files, to fix fontification in
17209 Emacs.
17210
17211 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17212
17213 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
17214 * gdb.mi/mi2-break.exp: Likewise.
17215
17216 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17217
17218 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
17219
17220 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17221
17222 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
17223
17224 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
17225
17226 * gdb.cp/classes.exp: Remove unused declarations. Just let
17227 test names default instead of providing special names. Remove
17228 extraneous demangler test.
17229
17230 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
17231
17232 * gdb.base/unload.exp: New test for breakpoints in dynamically
17233 loaded libraries.
17234 * gdb.base/unload.c: Ditto.
17235 * gdb.base/unloadshr.c: Ditto.
17236
17237 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
17238
17239 * gdb.cp/classes.exp (test_ptype_class_objects): Call
17240 cp_test_ptype_class.
17241 (test_enums): Likewise.
17242
17243 2004-08-10 Andrew Cagney <cagney@gnu.org>
17244
17245 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
17246 files.
17247
17248 2004-08-10 Andrew Cagney <cagney@gnu.org>
17249
17250 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
17251 init_malloc call.
17252
17253 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
17254
17255 * ChangeLog: Add copyright notice. The notice is copied
17256 from emacs 21.3 top level ChangeLog.
17257
17258 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17259
17260 * lib/cp-support.exp: New file.
17261 * lib/cp-support.exp (cp_test_type_class): New function.
17262 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
17263 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
17264 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
17265 cp_test_ptype_class.
17266
17267 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17268
17269 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
17270 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17271 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
17272 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
17273 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
17274 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
17275 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
17276 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
17277 gdb.mi/mi2-watch.exp: Update copyright years.
17278
17279 2004-08-09 Mark Kettenis <kettenis@gnu.org>
17280
17281 * gdb.base/sigaltstack.exp: Provide proper anchoring.
17282
17283 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
17284
17285 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
17286 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
17287 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
17288 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17289 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
17290 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
17291 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
17292 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
17293 gdb.mi/mi-watch.exp: Update copyright years.
17294
17295 2004-08-08 Daniel Jacobowitz <dan@debian.org>
17296
17297 PR gdb/1738
17298 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
17299 from a breakpoint with a pending signal.
17300
17301 2004-08-08 Daniel Jacobowitz <dan@debian.org>
17302
17303 PR gdb/1736
17304 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
17305 * gdb.base/sigaltstack.exp (finish_test): Consume output until
17306 the prompt.
17307 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
17308
17309 2004-08-08 Daniel Jacobowitz <dan@debian.org>
17310
17311 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
17312
17313 2004-08-08 Daniel Jacobowitz <dan@debian.org>
17314
17315 PR gdb/1736
17316 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
17317 for i?86-*-linux*.
17318
17319 2004-08-08 Daniel Jacobowitz <dan@debian.org>
17320
17321 * gdb.arch/i386-prologue.exp: Compile without debug information.
17322
17323 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
17324
17325 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
17326 rather than asking gdb to search.
17327
17328 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17329
17330 * gdb.base/gcore.c: Include <string.h>.
17331
17332 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17333
17334 * gdb.base/gcore.c: Add copyright notice.
17335
17336 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
17337
17338 * gdb.base/freebpcmd.c: Include <stdio.h>.
17339 * gdb.base/long_long.c: Include <string.h>.
17340 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
17341 * gdb.base/siginfo.c: Include <string.h>.
17342 * gdb.base/sigstep.c: Include <string.h>.
17343
17344 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17345
17346 * gdb.base/complex.c: Include <stdlib.h>.
17347
17348 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17349
17350 * gdb.base/complex.c: Add copyright notice.
17351
17352 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17353
17354 * gdb.base/charset.c: Include <stdlib.h>.
17355
17356 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17357
17358 * gdb.base/auxv.c: Include <stdlib.h>.
17359
17360 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17361
17362 * gdb.base/auxv.c: Add copyright notice.
17363
17364 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
17365
17366 * gdb.base/coremaker.c: Add copyright notice.
17367 * gdb.base/coremaker2.c: Add copyright notice.
17368
17369 2004-08-04 Andrew Cagney <cagney@gnu.org>
17370
17371 * gdb.base/store.exp: Update copyright.
17372 (check_set, up_set, check_struct, up_struct): Add a prefix to test
17373 names, do not import gdb_prompt.
17374
17375 2004-08-01 Andrew Cagney <cagney@gnu.org>
17376
17377 Fix PR testsuite/1729.
17378 * gdb.base/dump.exp: Add test name to callers of capture_value, do
17379 not use capture_value with value 4.
17380 (capture_value): Add optional test name parameter.
17381 (test_reload_saved_value, test_restore_saved_value): Use $msg as
17382 the prefix, pass to capture_value.
17383
17384 2004-08-01 Mark Kettenis <kettenis@gnu.org>
17385
17386 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
17387 * gdb.arch/i386-prologue.c (standard): New prototype and function.
17388 (main): Call new function.
17389
17390 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17391
17392 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
17393
17394 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17395
17396 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
17397
17398 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
17399
17400 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
17401 Accept more values of vtbl pointer. Remove some messages
17402 about "obsolete gcc or gdb".
17403
17404 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
17405
17406 * gdb.cp/classes.exp: Accept more varieties of ptype output.
17407
17408 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
17409
17410 * gdb.base/asm-source.exp: Properly convert target board
17411 debug flags from gcc format to binutils format.
17412
17413 2004-07-28 Mark Kettenis <kettenis@gnu.org>
17414
17415 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
17416 gdb1718". PR backtrace/1718 partially fixed.
17417
17418 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
17419
17420 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
17421
17422 2004-07-26 Nick Clifton <nickc@redhat.com>
17423
17424 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
17425 good default value for a specific architecture is available then
17426 set it to that value. Otherwise default to the -gstabs switch.
17427 Remove the -g... switches from the asm-flags variable. Allow the
17428 target board info to override the value if it wants to. Pass the
17429 switch on the assembler command line.
17430
17431 2004-07-23 Mark Kettenis <kettenis@gnu.org>
17432
17433 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
17434 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
17435 (main): Call new function.
17436
17437 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
17438
17439 Test for PR exp/1715.
17440 * gdb.base/radix.exp: Refactor common procedures. Make all
17441 test names unique. Change XFAIL to KFAIL.
17442
17443 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
17444
17445 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
17446 * gdb.ada/gnat_ada.gin: ... to here.
17447 * configure.in: Use gnat_ada.gin.
17448 * configure: Regenerate.
17449
17450 2004-07-20 Andrew Cagney <cagney@gnu.org>
17451
17452 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
17453 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
17454 XFAILs. Clean up test messages and comments. Check backtraces.
17455 Delete re-sync code.
17456
17457 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
17458
17459 Fix PR cli/740.
17460 * gdb.base/annota1.exp: Honor gdb,nosignals.
17461 * gdb.base/annota3.exp: Likewise.
17462
17463 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
17464
17465 * lib/java.exp: Update copyright notice.
17466
17467 2004-07-19 Andrew Cagney <cagney@gnu.org>
17468
17469 * gdb.base/selftest.exp: Copy file from here ...
17470 * gdb.gdb/selftest.exp: ... to here.
17471
17472 2004-07-16 Andrew Cagney <cagney@redhat.com>
17473
17474 * lib/insight-support.exp: Delete file.
17475 * lib/java.exp (java_init): Fix copyright.
17476
17477 2004-07-16 Andrew Cagney <cagney@gnu.org>
17478
17479 * gdb.base/restore.c: Append "prologue" to comments marking the a
17480 function's prologue.
17481 * gdb.base/restore.exp: Update copyright, re-indent.
17482 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
17483 callerN" prefix where needed. Update patterns that match a
17484 function's prologue.
17485
17486 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
17487
17488 * gdb.base/restore.c: Add copyright notice.
17489
17490 2004-07-16 Andrew Cagney <cagney@gnu.org>
17491
17492 * gdb.base/logical.exp: Update copyright.
17493 (evaluate): New procedure. Use to re-implement tests using
17494 several tables.
17495
17496 2004-07-14 Martin Hunt <hunt@redhat.com>
17497
17498 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
17499 which fixes some problems where init.tcl was not found.
17500
17501 2004-07-13 Andrew Cagney <cagney@gnu.org>
17502
17503 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
17504 (check_sizeof, check_valueof): Do not include the output in the
17505 test name. Use gdb_test.
17506 (get_valueof): Use gdb_test_multiple.
17507
17508 * gdb.base/step-test.exp: Update copyright. Use
17509 gdb_test_multiple. Ensure that test names do not include
17510 architecture dependent output.
17511
17512 * gdb.gdb/observer.exp: Update copyright.
17513 (setup_test): Use gdb_test_multiple.
17514 (attach_first_observer, attach_second_observer)
17515 (attach_third_observer, detach_first_observer)
17516 (detach_second_observer, detach_third_observer)
17517 (reset_counters, check_counters): Make $message a prefix.
17518 (test_normal_stop_notifications): Add "args" parameter - a list of
17519 init functions to be called. Make $message a prefix,
17520 (test_observer_normal_stop): Change the message prefixes so that
17521 they are unique, pass the attach / detach procedures to
17522 test_normal_stop_notifications.
17523
17524 * gdb.base/signull.exp (test_segv): Prefix all tests with
17525 "${name}". Clean up test messages.
17526
17527 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
17528
17529 * gdb.base/ena-dis-br.exp: Update copyright.
17530 (break_at): New function. Replace send_gdb with gdb_test,
17531 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
17532 ignore count, not stopped at bpt", with KFAIL.
17533
17534 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
17535
17536 * gdb.base/attach.exp: Remove cleanupfile handling.
17537
17538 2004-07-12 Andrew Cagney <cagney@gnu.org>
17539
17540 * gdb.base/annota1.exp: Cleanup corefile test name.
17541 * gdb.base/annota3.exp: Ditto.
17542
17543 2004-07-12 Andrew Cagney <cagney@gnu.org>
17544
17545 * gdb.base/signals.exp: Clean up copyright, re-indent.
17546
17547 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
17548 gdb_test and gdb_test_multiple.
17549
17550 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
17551
17552 * gdb.java/jmain.exp: Fix expected line number for main to
17553 break at. Set XFAIL for break at main test since gcj does not
17554 provide line number info for first statement in main.
17555
17556 2004-07-08 Andrew Cagney <cagney@gnu.org>
17557
17558 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
17559
17560 * gdb.base/sigbpt.exp: Make the common part of each test name a
17561 prefix instead of suffix.
17562
17563 2004-07-07 Bob Rossi <bob_rossi@cox.net>
17564
17565 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
17566 test from test_tbreak_creation_and_listing to
17567 test_file_list_exec_source_file
17568 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
17569 Changed name of test from test_tbreak_creation_and_listing to
17570 test_file_list_exec_source_file
17571
17572 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
17573
17574 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
17575 the jmisc() constructor instead of <init>.
17576 * gdb.java/jmisc1.exp: Ditto.
17577
17578 2004-07-07 Andrew Cagney <cagney@gnu.org>
17579
17580 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
17581 corrupting the PC.
17582
17583 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
17584
17585 * gdb.cp/templates.exp: Accept whitespace change in demangler
17586 output.
17587
17588 2004-07-06 Andrew Cagney <cagney@gnu.org>
17589
17590 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
17591
17592 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
17593
17594 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
17595 * lib/compiler.cc: Likewise.
17596
17597 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
17598
17599 * lib/compiler.cc: Work around string preprocessing problem
17600 with old hp c++ compiler.
17601 * lib/compiler.c: Likewise.
17602
17603 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
17604
17605 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
17606 directives to conditionalize symbol prefixing.
17607 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
17608 additional_flags handling. Add underscore prefix for Cygwin.
17609 * gdb.arch/i386-unwind.c: Use preprocessor directives to
17610 conditionalize symbol prefixing.
17611 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
17612 additional_flags handling. Add underscore prefix for Cygwin.
17613
17614 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
17615
17616 * gdb.base/bigcore.exp: Skip test on Cygwin.
17617
17618 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
17619
17620 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
17621 formats for "info register". Use gdb_test_multiple. Fix
17622 the "invalid register" test.
17623
17624 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
17625
17626 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
17627 PID for Cygwin. Add Cygwin specific strings to check for in some
17628 tests.
17629 (do_attach_tests): Add a test for user interaction when attaching
17630 to a process with no matching symbol table already loaded.
17631
17632 2004-06-26 Andrew Cagney <cagney@gnu.org>
17633
17634 Test PR java/1567 and PR java/1565.
17635 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
17636 * gdb.java/jmisc2.exp: Delete file.
17637
17638 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
17639
17640 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
17641
17642 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
17643
17644 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
17645 attach process.
17646
17647 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
17648
17649 * gdb.cp/pr-1553.exp: Remove.
17650
17651 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
17652
17653 * gdb.cp/pr-1553.cc: Remove.
17654 * gdb.cp/pr-1553.exp: Disable this test.
17655
17656 2004-06-20 Jim Blandy <jimb@redhat.com>
17657
17658 Fix PR testsuite/1680.
17659 * gdb.arch/i386-sse.exp: Properly quote curly braces in
17660 regular expressions.
17661
17662 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
17663
17664 Fix PR testsuite/1679.
17665 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
17666 Issue an UNSUPPORTED result instead.
17667
17668 2004-06-18 Jim Blandy <jimb@redhat.com>
17669
17670 * gdb.base/charset.exp: Only send a control-C if we see a new
17671 prompt and incomplete command.
17672
17673 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
17674
17675 * gdb.cp/pr-574.cc: Add copyright notice.
17676
17677 2004-06-17 Jim Blandy <jimb@redhat.com>
17678
17679 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
17680 cases where the regexp has no groups; this grabs random text from
17681 the previous test suite, whatever that was.
17682
17683 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
17684
17685 * gdb.cp/printmethod.cc: Add copyright notice.
17686
17687 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
17688
17689 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
17690
17691 2004-06-16 Andrew Cagney <cagney@gnu.org>
17692
17693 * gdb.base/signull.c: Update copyright. Include <string.h>.
17694 (bowler): Replace data_pointer with data_read
17695 and data_write cases. Add code_descriptor case.
17696 (zero, desc): New array and pointer.
17697 (data, code): Change to simple pointers.
17698 * gdb.base/signull.exp: Fix probe pattern matching a function
17699 descriptor SIGSEGV. Replace data_pointer with data_read and
17700 data_write tests.
17701
17702 2004-06-16 Andrew Cagney <cagney@gnu.org>
17703
17704 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
17705
17706 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17707
17708 * gdb.base/long_long.c: Add copyright notice.
17709
17710 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
17711
17712 * gdb.base/long_long.exp: Remove reference to
17713 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
17714 to gdb_breakpoint and gdb_continue_to_breakpoint.
17715
17716 2004-06-14 Jim Blandy <jimb@redhat.com>
17717
17718 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
17719 endian case.
17720
17721 2004-06-14 Andrew Cagney <cagney@gnu.org>
17722
17723 * gdb.base/gcore.exp (capture_command_output): Delete the always
17724 passing tests containing inferior values.
17725 * gdb.base/ending-run.exp: Do not include the breakpoint address
17726 in the test message. Update copyright.
17727 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
17728 size in the test name, use gdb_test_multiple. Update copyright.
17729
17730 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17731
17732 * gdb.cp/ref-types.cc: Add copyright notice.
17733
17734 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
17735
17736 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
17737 hp_aCC_compiler.
17738 * lib/compiler.cc: Likewise.
17739 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
17740 'set' commands. Log diagnostics for other lines. Set
17741 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
17742
17743 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
17744
17745 * gdb.cp/try_catch.cc: Add copyright notice.
17746
17747 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
17748
17749 * gdb.cp/userdef.cc: Add copyright notice.
17750
17751 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
17752
17753 * gdb.cp/virtfunc.cc: Add copyright notice.
17754
17755 2004-06-11 Randolph Chung <tausq@debian.org>
17756
17757 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
17758 problem.
17759
17760 2004-06-10 Andrew Cagney <cagney@gnu.org>
17761
17762 * lib/compiler.cc, lib/compiler.c: Append either
17763 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
17764 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
17765 instead of gcc-3-3.
17766
17767 2004-06-09 Andrew Cagney <cagney@gnu.org>
17768
17769 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
17770 gdb/1455, bug is specific to "long long" and "double".
17771
17772 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
17773 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
17774 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
17775 fixed.
17776
17777 2004-06-09 Andrew Cagney <cagney@gnu.org>
17778
17779 * gdb.base/structs.exp (test_struct_returns): Replace
17780 "return_value_unknown" and "finish_value_unknown" by
17781 "return_value_known" and "finish_value_known". Instead of
17782 "return_value_unknown" iff "finish_value_unknown", check
17783 "return_value_known" implies "finish_value_known".
17784
17785 2004-06-08 Martin Hunt <hunt@redhat.com>
17786
17787 * gdb.base/float.exp: Add pattern for mips targets.
17788
17789 2004-06-08 Randolph Chung <tausq@debian.org>
17790
17791 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
17792 message for unknown architectures more clear.
17793
17794 2004-06-08 Joel Brobecker <brobecker@gnat.com>
17795
17796 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
17797 start the execution of the program.
17798
17799 2004-06-07 Jim Blandy <jimb@redhat.com>
17800
17801 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
17802 * gdb.arch/i386-cpuid.h: New helper file.
17803
17804 2004-06-07 Randolph Chung <tausq@debian.org>
17805
17806 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
17807 has started.
17808
17809 2004-06-04 Roland McGrath <roland@redhat.com>
17810
17811 Fix PR gdb/1647.
17812 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
17813 differently to be robust to output buffering differences.
17814
17815 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
17816
17817 * gdb.threads/pthreads.exp: Update copyright years.
17818 (check_control_c): Change asynchronous 'after' to synchronous.
17819
17820 2004-06-04 Roland McGrath <roland@redhat.com>
17821
17822 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
17823 next gdb prompt.
17824
17825 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
17826
17827 Fix PR gdb/1636.
17828 * gdb.threads/manythreads.exp: Change asynchronous 'after'
17829 calls to synchronous.
17830
17831 2004-05-26 Jim Blandy <jimb@redhat.com>
17832
17833 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
17834
17835 2004-05-24 Randolph Chung <tausq@debian.org>
17836
17837 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
17838 * gdb.asm/pa.inc: New file.
17839
17840 2004-05-22 Mark Kettenis <kettenis@gnu.org>
17841
17842 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
17843
17844 2004-05-21 Joel Brobecker <brobecker@gnat.com>
17845 Daniel Jacobowitz <drow@mvista.com>
17846
17847 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
17848 GDB prompt.
17849
17850 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17851
17852 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
17853 setjmp/longjmp. Use sigaction instead of signal.
17854
17855 2004-05-19 J. Brobecker <brobecker@gnat.com>
17856 Michael Snyder <msnyder@redhat.com>
17857
17858 * gdb.threads/pthread_cond_wait.c: New file.
17859 * gdb.threads/pthread_cond_wait.exp: New testcase.
17860
17861 2004-05-13 Andrew Cagney <cagney@redhat.com>
17862
17863 * gdb.base/signull.exp, gdb.base/signull.c: New files.
17864 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
17865
17866 2004-05-11 Andrew Cagney <cagney@redhat.com>
17867
17868 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
17869 fixed but revealed gdb/1639.
17870
17871 2004-05-10 Andrew Cagney <cagney@redhat.com>
17872
17873 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
17874 func1" and "next to 2nd alarm", kernel bug avoided.
17875
17876 2004-05-10 Daniel Jacobowitz <dan@debian.org>
17877
17878 PR external/1568
17879 * gdb.base/bigcore.exp: Check the size of the dumped core file.
17880 XFAIL if it is smaller than bytes_allocated.
17881 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
17882 (main): Make chunks_allocated unsigned. Correct comment.
17883
17884 2004-05-07 Joel Brobecker <brobecker@gnat.com>
17885
17886 * gdb.arch/powerpc-aix-prologue.c: New file.
17887 * gdb.arch/powerpc-aix-prologue.exp: New file.
17888
17889 2004-05-07 Jim Blandy <jimb@redhat.com>
17890
17891 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
17892 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
17893
17894 2004-05-06 Joel Brobecker <brobecker@gnat.com>
17895
17896 * gdb.base/sep.exp: No longer setup_kfail when the program was
17897 built with dwarf2.
17898
17899 2004-05-05 Jim Ingham <jingham@apple.com>
17900
17901 * gdb.base/pending.exp: Make sure pending breakpoints
17902 preserve the ignore count.
17903
17904 2004-04-27 Jerome Guitton <guitton@gnat.com>
17905
17906 * i386-prologue.exp: Add testcase for jump instruction as first
17907 instruction of the real code.
17908 * i386-prologue.c (jump_at_beginning): New function.
17909
17910 2004-04-28 Mark Kettenis <kettenis@gnu.org>
17911
17912 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
17913 x86_64-*-*.
17914
17915 2004-04-28 Mark Kettenis <kettenis@gnu.org>
17916
17917 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
17918 i*86-*-*.
17919
17920 2004-04-25 Mark Kettenis <kettenis@gnu.org>
17921
17922 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
17923 expression that checks the return type.
17924
17925 2004-04-23 Andrew Cagney <cagney@redhat.com>
17926
17927 * gdb.base/call-sc.exp: New test of scalar call/return values.
17928 * gdb.base/call-sc.c: Ditto.
17929
17930 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17931
17932 * gdb.threads/manythreads.c: Reduce thread stack size.
17933
17934 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
17935
17936 * gdb.threads/manythreads.c: Add copyright notice.
17937
17938 2004-04-23 Andrew Cagney <cagney@redhat.com>
17939
17940 * gdb.base/siginfo.exp: Better handle step out of signal.
17941 * gdb.base/sigstep.exp: Ditto.
17942
17943 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
17944 Daniel Jacobowitz <drow@mvista.com>
17945
17946 * gdb.threads/manythreads.c: New testcase.
17947 * gdb.threads/manythreads.exp: Ditto.
17948
17949 2004-04-22 Jim Blandy <jimb@redhat.com>
17950
17951 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
17952 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
17953
17954 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
17955
17956 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
17957
17958 2004-04-21 Andrew Cagney <cagney@redhat.com>
17959
17960 * gdb.base/sigstep.c: New file.
17961 * gdb.base/sigstep.exp: New file.
17962
17963 2004-04-16 Joel Brobecker <brobecker@gnat.com>
17964
17965 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
17966 call to observer_notify_normal_stop.
17967
17968 2004-04-15 Andrew Cagney <cagney@redhat.com>
17969
17970 * gdb.base/siginfo.c: New file.
17971 * gdb.base/siginfo.exp: New file.
17972
17973 2004-04-12 J. Brobecker <brobecker@gnat.com>
17974
17975 * gdb.base/sep.exp: Fix typo in comment.
17976
17977 2004-04-12 J. Brobecker <brobecker@gnat.com>
17978
17979 * gdb.base/sep.c: New file.
17980 * gdb.base/sep-proc.c: New file.
17981 * gdb.base/sep.exp: New testcase.
17982
17983 2004-04-09 Mark Kettenis <kettenis@gnu.org>
17984
17985 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
17986 support.
17987
17988 2004-04-05 Andrew Cagney <cagney@redhat.com>
17989
17990 * gdb.base/sigaltstack.c: New file.
17991 * gdb.base/sigaltstack.exp: New file.
17992
17993 2004-04-04 Joel Brobecker <brobecker@gnat.com>
17994
17995 * gdb.base/foll-fork.exp: Update the expected output for
17996 "help set follow-fork-mode", to match a change that was made
17997 to the help of this variable on 2004-01-13.
17998
17999 2004-04-01 Joel Brobecker <brobecker@gnat.com>
18000
18001 * lib/ada.exp: Add copyright notice.
18002 * bar.ads: Likewise.
18003 * bar.adb: Likewise.
18004 * null_record.adb: Likewise.
18005 * null_record.exp: Likewise.
18006 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
18007
18008 2004-04-01 Joel Brobecker <brobecker@gnat.com>
18009
18010 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
18011 * configure: Regenerate.
18012
18013 2004-04-01 Joel Brobecker <brobecker@gnat.com>
18014
18015 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
18016 to build the application. Remove the message printed when in
18017 verbose mode, redundant with the UNSUPPORTED message above.
18018
18019 2004-03-31 Joel Brobecker <brobecker@gnat.com>
18020
18021 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
18022 * gdb.ada (null_record.exp): New testcase.
18023
18024 2004-03-31 Joel Brobecker <brobecker@gnat.com>
18025
18026 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
18027
18028 2004-03-31 Joel Brobecker <brobecker@gnat.com>
18029
18030 * gdb.ada: New subdirectory.
18031 * gdb.ada/Makefile.in: New file.
18032 * gdb.ada/gnat_ada.gpr.in: New file.
18033
18034 2004-03-31 Joel Brobecker <brobecker@gnat.com>
18035
18036 * lib/ada.exp: New file.
18037
18038 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
18039
18040 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
18041 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
18042
18043 2004-03-22 Andrew Cagney <cagney@redhat.com>
18044
18045 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
18046 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
18047 Problem identified by Ulrich Weigand.
18048
18049 2004-03-17 David Carlton <carlton@kealia.com>
18050
18051 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
18052 PR c++/826.
18053
18054 2004-03-16 Roland McGrath <roland@redhat.com>
18055
18056 * gdb.base/auxv.exp: New file.
18057 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
18058
18059 2004-03-12 David Carlton <carlton@kealia.com>
18060
18061 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
18062 * gdb.cp/pr-1553.cc: Ditto.
18063 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
18064 pass branch.
18065
18066 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
18067
18068 * gdb.cp/templates.exp: Accept more template types.
18069
18070 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18071
18072 From Corinna Vinschen with modifications.
18073 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
18074 local variable obj_with_enum.
18075 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
18076 results with obj_with_enum.
18077
18078 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18079
18080 * gdb.cp/classes.cc: New file, copied from misc.cc.
18081 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
18082
18083 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
18084
18085 * gdb.cp/misc.cc: Add copyright notice.
18086
18087 2004-03-05 David Carlton <carlton@kealia.com>
18088
18089 * gdb.cp/rtti.exp: Add 'print *obj3' test.
18090 * gdb.cp/rtti.h: Update copyright.
18091 (namespace n2::n3): New.
18092 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
18093 (n2::n3::func3): New.
18094 (main): Call n2::n3::func3.
18095 * gdb.cp/rtti2.cc: Update copyright.
18096 (n2::create3): New.
18097
18098 2004-03-04 Mark Kettenis <kettenis@gnu.org>
18099
18100 * gdb.asm/openbsd.inc: Fix typo.
18101
18102 2004-03-03 Fred Fish <fnf@redhat.com>
18103
18104 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
18105 "val" instead of unused "size". Update copyright year.
18106
18107 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
18108
18109 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
18110 to use unsigned char.
18111 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
18112 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
18113
18114 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
18115
18116 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
18117 line of output.
18118
18119 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
18120
18121 * gdb.base/relocate.c (dummy): Initialize.
18122
18123 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
18124
18125 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
18126 a breakpoint at exit.
18127
18128 2004-02-27 Fred Fish <fnf@redhat.com>
18129
18130 * gdb.base/chng-syms.exp: Add expect condition to match failing
18131 case that isn't a timeout.
18132
18133 2004-02-27 Andrew Cagney <cagney@redhat.com>
18134
18135 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
18136 support.
18137
18138 2004-02-26 Fred Fish <fnf@redhat.com>
18139
18140 * gdb.arch/gdb1431.c: Remove.
18141 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
18142 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
18143 of "until" incorrectly.
18144
18145 2004-02-26 J. Brobecker <brobecker@gnat.com>
18146
18147 * gdb.cp/class2.cc (empty): New class.
18148 (refer): New function.
18149 (main): Declare an object of type empty and use it.
18150 * gdb.cp/class2.exp: Print the value of an object of type empty.
18151
18152 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
18153
18154 * gdb.base/langs.exp: Update query string to match the
18155 new nquery format used for pending breakpoints.
18156
18157 2004-02-26 Andrew Cagney <cagney@redhat.com>
18158
18159 Fix PR i18n/1570.
18160 * gdb.base/charset.c: Update copyright notice.
18161 (main, init_string): Remove the escape character '\e' tests.
18162 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
18163 * gdb.base/charset.exp (valid_host_charset): Ditto.
18164 * gdb.base/setvar.exp: Ditto.
18165
18166 2004-02-24 Andrew Cagney <cagney@redhat.com>
18167
18168 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
18169 mmapped data in core file" PASS and FAIL messages consistent.
18170
18171 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
18172 setting a breakpoint. Work around PR java/1565.
18173
18174 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
18175
18176 * lib/gdb.exp (gdb_breakpoint): Update query string to match
18177 new nquery format.
18178 * gdb.base/pending.exp: Ditto.
18179
18180 2004-02-22 Mark Kettenis <kettenis@gnu.org>
18181
18182 * configure.in: Run stabs tests on *BSD.
18183 * configure: Regenerated.
18184
18185 2004-02-21 Mark Kettenis <kettenis@gnu.org>
18186
18187 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
18188
18189 2004-02-20 Fred Fish <fnf@redhat.com>
18190
18191 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
18192 blank in test for "returns short", for consistency with other
18193 "returns xxx" tests. Update copyright year.
18194
18195 2004-02-19 Fred Fish <fnf@redhat.com>
18196
18197 New testcase for PR breakpoint/1558.
18198 * gdb.arch/gdb1558.exp: New file.
18199 * gdb.arch/gdb1558.c: New file.
18200
18201 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
18202
18203 * gdb.base/nodebug.exp: Fix typo.
18204
18205 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18206
18207 Committed by Jim Blandy <jimb@redhat.com>.
18208
18209 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
18210
18211 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
18212
18213 * gdb.base/float.exp: Support s390*-*-* targets.
18214
18215 2004-02-17 Adam Fedor <fedor@gnu.org>
18216
18217 * gdb.base/gdb1555.exp: New file.
18218 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
18219
18220 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
18221
18222 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
18223
18224 2004-02-16 Fred Fish <fnf@redhat.com>
18225
18226 * gdb.arch/gdb1291.c: Remove
18227 * gdb.arch/gdb1291.s: New test input file.
18228 * gdb.arch/gdb1291.exp: Expand test to check case that should not
18229 fail. Test for correct result, known incorrect result, other
18230 failures and timeouts.
18231
18232 2004-02-16 Andrew Cagney <cagney@redhat.com>
18233
18234 * gdb.base/bigcore.exp: New file.
18235 * gdb.base/bigcore.c: New file.
18236
18237 2004-02-13 Andrew Cagney <cagney@redhat.com>
18238
18239 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
18240 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
18241 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
18242 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
18243 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
18244 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
18245 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
18246 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
18247 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
18248 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
18249
18250 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
18251
18252 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
18253 executed is an alloc instruction.
18254
18255 2004-02-11 David Carlton <carlton@kealia.com>
18256
18257 * gdb.cp/breakpoint.exp: New.
18258 * gdb.cp/breakpoint.cc: New.
18259
18260 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
18261
18262 Partial fix for PR gdb/1543.
18263 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
18264 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
18265 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
18266 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
18267 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
18268 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
18269 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
18270 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
18271 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
18272 to bug-gdb@prep.ai.mit.edu .
18273 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
18274 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
18275 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
18276 Likewise.
18277
18278 2004-02-10 Andrew Cagney <cagney@redhat.com>
18279
18280 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
18281 using gdb_internal_error_resync.
18282
18283 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
18284
18285 * gdb.threads/thread-specific.exp: Stop early if no threads are
18286 found.
18287
18288 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
18289
18290 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
18291
18292 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
18293
18294 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
18295 breakpoints.
18296
18297 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
18298
18299 * config/sim.exp (gdb_load): Handle $arg == "".
18300 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
18301 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
18302
18303 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
18304
18305 * gdb.base/maint.exp: Update test to reflect
18306 obstack changes.
18307
18308 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
18309
18310 * gdb.base/pendshr.c (pendfunc): New function that calls
18311 pendfunc1.
18312 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
18313
18314 2004-02-04 Fred Fish <fnf@redhat.com>
18315
18316 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
18317 function symbols and update copyright years.
18318 * gdb.arch/gdb1291.c: Ditto.
18319
18320 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18321
18322 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
18323
18324 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18325
18326 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
18327
18328 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
18329
18330 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
18331
18332 2004-02-02 Fred Fish <fnf@redhat.com>
18333
18334 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
18335 remote targets. Update copyright years.
18336
18337 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
18338
18339 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
18340 support.
18341 * gdb.base/langs.exp: Fix test which attempts to create
18342 breakpoint on non-existent function to handle new pending
18343 support.
18344 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
18345 a breakpoint.
18346 * gdb.base/pending.exp: New test.
18347 * gdb.base/pending.c: New file.
18348 * gdb.base/pendshr.c: Ditto.
18349
18350 2004-02-02 David Carlton <carlton@kealia.com>
18351
18352 * gdb.cp/overload.exp: Add overloadNamespace tests.
18353 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
18354 (overloadNamespace, XXX): New.
18355 (main): Call XXX::marker2.
18356
18357 2004-02-01 Fred Fish <fnf@redhat.com>
18358
18359 * gdb.base/dump.exp: Use runto_main instead of "runto main".
18360 * gdb.base/finish.exp: Ditto.
18361 * gdb.base/gcore.exp: Ditto.
18362 * gdb.base/huge.exp: Ditto.
18363 * gdb.base/info-proc.exp: Ditto.
18364 * gdb.base/return2.exp: Ditto.
18365 * gdb.threads/gcore-thread.exp: Ditto.
18366
18367 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
18368
18369 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
18370
18371 2004-02-01 Mark Kettenis <kettenis@gnu.org>
18372
18373 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
18374 that opening the file succeeds on OpenBSD.
18375
18376 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
18377
18378 * gdb.threads/thread-specific.c: New file.
18379 * gdb.threads/threads-specific.exp: New test script.
18380 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
18381 to expect_out.
18382
18383 2004-02-01 Mark Kettenis <kettenis@gnu.org>
18384
18385 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
18386 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
18387 only on the "print_small_structs from print_long_arg_list" test.
18388
18389 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
18390
18391 * gdb.base/completion.exp: Kill a stray backslash.
18392
18393 From Jim Ingham <jingham@apple.com>:
18394 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
18395 agrees with the result from sending a tab.
18396
18397 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
18398
18399 * gdb.base/chng-syms.exp: Remove stray newline.
18400
18401 2004-01-31 Mark Kettenis <kettenis@gnu.org>
18402
18403 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
18404 *-*-openbsd*.
18405 * gdb.asm/openbsd.inc: New file.
18406
18407 2004-01-30 Mark Kettenis <kettenis@gnu.org>
18408
18409 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
18410 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
18411 *-*solaris2*. Remove commented out default settings for
18412 asm-flags. Replace gdb_compile with target_link.
18413
18414 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
18415
18416 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
18417 for all tests. Remove old hp-ux and cygnus xfail cases.
18418
18419 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
18420
18421 * gdb.base/chng-syms.exp: New file.
18422 * gdb.base/chng-syms.c: New file.
18423
18424 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
18425
18426 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
18427 Provide arms for current output in all my configurations.
18428
18429 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
18430
18431 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
18432 * lib/compiler.cc: Likewise.
18433 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
18434 get the right preprocessor. Eval the output directly. Remove
18435 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
18436 hp_f77_compiler and hp_f90_compiler completely.
18437 (gdb_preprocess): Delete.
18438 (get_compiler): Delete.
18439
18440 2004-01-24 Mark Kettenis <kettenis@gnu.org>
18441
18442 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
18443 <string.h>.
18444
18445 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
18446
18447 * gdb.mi/mi-stack.exp: Update copyright.
18448
18449 2004-01-23 David Carlton <carlton@kealia.com>
18450
18451 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
18452 test for cp_lookup_transparent_type.
18453 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
18454 call them.
18455
18456 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
18457
18458 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
18459 after -var-update.
18460
18461 2004-01-23 David Carlton <carlton@kealia.com>
18462
18463 * gdb.cp/namespace.cc (C::ensureRefs): New.
18464 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
18465
18466 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
18467
18468 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
18469 case "-stack-list-locals 2".
18470 * gdb.mi/mi-var-child.exp: Test for case
18471 "-var-list-children --all-values NAME".
18472
18473 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
18474
18475 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
18476
18477 2004-01-18 Mark Kettenis <kettenis@gnu.org>
18478
18479 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
18480 used with gdb_test_multiple.
18481
18482 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
18483 read at address 0. This fixes PR testsuite/1504.
18484
18485 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
18486
18487 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
18488 Remove downloading, guessing the host executable, the calls to
18489 gdb_file_cmd and gdb_target_cmd, and "load" support.
18490 (infer_host_exec): New function broken out from gdb_load.
18491 (gdb_load): New wrapper for gdbserver_gdb_load.
18492 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
18493 gdb_target_cmd. Use -target-select.
18494 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
18495 Download binaries to the host. Clear last_mi_remote_file when
18496 we load a new binary.
18497 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
18498 call gdbserver_gdb_load and mi_gdb_target_cmd.
18499
18500 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18501
18502 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
18503 type patterns.
18504
18505 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
18506
18507 * gdb.cp/templates.exp: Fix typo in test name of
18508 "print Foo<volatile char*>::foo".
18509
18510 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18511
18512 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
18513
18514 2004-01-16 Ben Elliston <bje@wasabisystems.com>
18515
18516 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
18517 (clean mostlyclean): Remove empty rm.
18518
18519 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
18520
18521 * gdb.base/setvar.exp: Add copyright years.
18522
18523 2004-01-14 David Carlton <carlton@bactrian.org>
18524
18525 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
18526 PR c++/1511 and update coment.
18527 * gdb.cp/templates.exp: Update patterns to match current output.
18528 If changes involve something other than whitespace, KFAIL
18529 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
18530
18531 2004-01-14 David Carlton <carlton@kealia.com>
18532
18533 * gdb.cp/namespace.exp: Add tests involving classes defined within
18534 namespaces.
18535 * gdb.cp/namespace.cc (C::CClass): New.
18536 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
18537
18538 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
18539
18540 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
18541 what debug info we have. Print a better message if something goes
18542 wrong while producing the separate debug info file.
18543
18544 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18545
18546 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
18547
18548 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
18549
18550 * gdb.base/callfuncs.c: Add copyright notice.
18551
18552 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
18553
18554 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
18555 inheritance. PR gdb/1498, PR gcc/13539.
18556
18557 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
18558
18559 * gdb.threads/gcore-thread.exp: Prefix name of binary with
18560 test specific name.
18561 * gdb.mi/gdb669.exp: Ditto.
18562 * gdb.mi/mi-pthreads.exp: Ditto.
18563 * gdb.mi/mi1-pthreads.exp: Ditto.
18564 * gdb.mi/mi2-pthreads.exp: Ditto.
18565
18566 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18567
18568 * gdb.cp/member-ptr.cc: Add copyright notice.
18569
18570 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
18571
18572 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
18573 some patterns for recent versions of gcc and hpacc. Delete
18574 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
18575 Delete tests that access a NULL pointer-to-member-data. This
18576 script is still disabled for gcc.
18577
18578 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
18579
18580 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
18581 escaped correctly.
18582
18583 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
18584
18585 * gdb.base/sepdebug.exp: New file.
18586 * gdb.base/sepdebug.c: New file.
18587 * lib/gdb.exp (separate_debug_filename): New procedure.
18588 (gdb_gnu_strip_debug): New procedure.
18589
18590 2004-01-12 Andrew Cagney <cagney@redhat.com>
18591
18592 * gdb.mi/ChangeLog: Delete file. Renamed to ...
18593 * gdb.mi/ChangeLog-1999-2003: New file.
18594
18595 2004-01-12 Andrew Cagney <cagney@redhat.com>
18596
18597 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
18598 "Renaming a directory to a non-empty directory returns ENOTEMPTY
18599 or EEXIST", treat EBUSY as an XFAIL.
18600
18601 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
18602
18603 * gdb.base/scope.exp: Remove obsolete setup_xfail for
18604 hp_cc_compiler.
18605
18606 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18607
18608 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
18609 decorations.
18610
18611 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
18612
18613 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
18614 and "(aCC)" decorations. Remove obsolete doco about old
18615 test results.
18616
18617 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18618
18619 * gdb.cp/exception.exp: Fix typo in doco.
18620
18621 2004-01-09 Mark Kettenis <kettenis@gnu.org>
18622
18623 * gdb.base/gdb1476.exp: Fix typo.
18624
18625 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18626
18627 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
18628 file.
18629
18630 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18631
18632 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
18633 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
18634 Use gdb_compile. Remove restriction on gcc. Add some patterns
18635 for recent version of gdb. Delete second half, which was a copy
18636 of the first half with different build flags. This test is
18637 still disabled because it is still not ready for production.
18638
18639 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18640
18641 * gdb.cp/exception.cc: Add copyright notice.
18642 * gdb.cp/exception.exp: Add a notice that this file is broken
18643 because of line number changes caused by addition of copyright
18644 notice.
18645
18646 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18647
18648 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
18649 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
18650
18651 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18652
18653 * gdb.cp/classes.exp: Accept gnu abi 2.
18654 * gdb.cp/derivation.exp: Likewise.
18655 * gdb.cp/overload.exp: Likewise.
18656 * gdb.cp/virtfunc.exp: Likewise.
18657
18658 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
18659
18660 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
18661 semicolon after end of function.
18662
18663 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18664
18665 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
18666 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
18667 boilerplate code for compiling and running the program under
18668 test. Add some string method tests.
18669
18670 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18671
18672 * gdb.cp/bs15503.cc: Add copyright notice.
18673 * gdb.cp/bs15503.exp: Adjust line number.
18674
18675 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18676
18677 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
18678 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
18679
18680 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18681
18682 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
18683 hp_cc_compiler.
18684
18685 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18686
18687 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
18688 * gdb.cp/ctti.exp: Use the marker instead of "next".
18689 With gcc, run further before bailing.
18690
18691 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18692
18693 * gdb.cp/cttiadd.cc: Add copyright notice.
18694 * gdb.cp/cttiadd1.cc: Likewise.
18695 * gdb.cp/cttiadd2.cc: Likewise.
18696 * gdb.cp/cttiadd3.cc: Likewise.
18697
18698 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18699
18700 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
18701 Use gdb_test, gdb_test_multiple. Use floating-point values that
18702 have exact representations in IEEE-ish formats.
18703
18704 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18705
18706 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
18707 compilers. Delete duplicate call to get_compiler_info.
18708 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
18709 * gdb.base/volatile.exp: Likewise.
18710
18711 2004-01-07 Mark Kettenis <kettenis@gnu.org>
18712
18713 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
18714 memory at address 0.
18715
18716 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
18717
18718 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
18719 to test for hp-ux assembler. Fix copyright years.
18720
18721 2004-01-07 Andrew Cagney <cagney@redhat.com>
18722
18723 * gdb.base/fileio.c (strerrno): Add "EBUSY".
18724
18725 2004-01-07 Andrew Cagney <cagney@redhat.com>
18726
18727 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
18728 when creating the read-only file. From analysis by Roland McGrath
18729 and Elena Zannoni.
18730
18731 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18732
18733 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
18734
18735 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18736
18737 * gdb.base/cvexpr.c: Be type-safe with function pointers and
18738 data pointers.
18739
18740 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18741
18742 * gdb.cp/m-static.exp: Compile one source file at a time.
18743 Delete unused call to get_compiler_info.
18744
18745 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
18746
18747 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
18748 * gdb.base/call-rt-st.exp: Likewise.
18749 * gdb.base/nodebug.exp: Likewise.
18750 * gdb.base/volatile.exp: Likewise.
18751 * gdb.cp/ref-types.exp: Likewise.
18752 * gdb.cp/templates.exp: Likewise.
18753
18754 2004-01-05 Mark Kettenis <kettenis@gnu.org>
18755
18756 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
18757
18758 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
18759
18760 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
18761 hppa*-hp-hpux*.
18762
18763 2004-01-04 Mark Kettenis <kettenis@gnu.org>
18764
18765 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18766 x86_64-*-*.
18767
18768 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
18769 sparc64-*-* and sparc*-solaris2*.
18770
18771 2004-01-04 Mark Kettenis <kettenis@gnu.org>
18772
18773 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
18774 return ${tests}" test. The ${tests} already mentions the
18775 filename.
18776
18777 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18778
18779 * gdb.cp/local.exp: Accept gcc abi 2.
18780
18781 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18782
18783 * gdb.cp/templates.exp: Accept gcc abi 2.
18784
18785 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
18786
18787 * lib/compiler.cc: Remove supports_template_debugging.
18788 * gdb.cp/templates.exp: Do not test supports_template_debugging.
18789
18790 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18791
18792 * gdb.cp/namespace.exp: Accept gcc abi 2.
18793
18794 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18795
18796 * gdb.cp/method.exp: Accept gcc abi 2.
18797
18798 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18799
18800 * gdb.cp/classes.exp: Generate identical results as old version.
18801 * gdb.cp/derivation.exp: Likewise.
18802 * gdb.cp/overload.exp: Likewise.
18803 * gdb.cp/virtfunc.exp: Likewise.
18804
18805 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18806
18807 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
18808 mysterious bug with sourceware version of expect.
18809
18810 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18811
18812 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
18813 current versions of gcc, including gcc abi 2. Remove gratuitous
18814 restart of test program. Use gdb_test_multiple and gdb_test for
18815 all tests. Add patterns to xfail missing "const" in "const char *"
18816 and kfail PR gdb/1155.
18817
18818 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
18819
18820 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
18821 current versions of gcc, including gcc abi 2. Remove gratuitous
18822 restart of test program. Use gdb_test_multiple and gdb_test for
18823 all tests. Add patterns to kfail PR gdb/1498.
18824
18825 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18826
18827 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
18828 current versions of gcc, including gcc abi 2. Use "breakpoint"
18829 and "continue" instead of restarting the target program. Use
18830 gdb_test_multiple and gdb_test for all tests.
18831
18832 2004-01-01 Mark Kettenis <kettenis@gnu.org>
18833
18834 * gdb.asm/asm-source.exp: Update copyright year. Link statically
18835 for *-*-solaris2*.
18836
18837 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
18838
18839 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
18840 current versions of gcc, including gcc abi 2. Use "breakpoint"
18841 and "continue" instead of restarting the target program several
18842 times. Use gdb_test_multiple and gdb_test for all tests.
18843
18844 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
18845
18846 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
18847 source files.
18848
18849 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18850
18851 * gdb.base/environ.exp: Handle compiling test case from multiple
18852 source files.
18853
18854 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18855
18856 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
18857
18858 2003-12-17 Jim Blandy <jimb@redhat.com>
18859
18860 * gdb.base/freebpcmd.c: Add copyright notice.
18861
18862 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
18863
18864 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
18865
18866 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
18867
18868 2003-12-13 Jim Blandy <jimb@redhat.com>
18869
18870 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
18871
18872 2003-12-12 Kevin Buettner <kevinb@redhat.com>
18873
18874 * gdb.asm/frv.inc: New file.
18875 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
18876
18877 2003-12-09 Fred Fish <fnf@redhat.com>
18878
18879 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
18880 functions to break1.c and leave prototypes behind. Add more
18881 "set breakpoint NN here" comments.
18882 * gdb.base/break1.c: New file.
18883
18884 * gdb.base/break.exp: Handle compiling test case from multiple
18885 source files and change source file references as needed.
18886 * gdb.base/completion.exp: Ditto.
18887 * gdb.base/condbreak.exp: Ditto.
18888 * gdb.base/define.exp: Ditto.
18889 * gdb.base/ena-dis-br.exp: Ditto.
18890 * gdb.base/info-proc.exp: Ditto.
18891 * gdb.base/maint.exp: Ditto.
18892 * gdb.base/until.exp: Ditto.
18893
18894 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
18895 hardcoded line numbers.
18896 * gdb.base/define.exp: Ditto.
18897 * gdb.base/ena-dis-br.exp: Ditto.
18898 * gdb.base/maint.exp: Ditto.
18899 * gdb.base/until.exp: Ditto.
18900
18901 * gdb.base/completion.exp: Use "break1" for completion tests since
18902 "break" is no longer a unique prefix.
18903
18904 2003-12-06 Andrew Cagney <cagney@redhat.com>
18905
18906 * gdb.base/structs.exp (test_struct_returns): When applicable, set
18907 "return_value_unimplemented". When an unimplemented struct return
18908 architecture, report incorrect values as a KFAIL
18909
18910 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18911
18912 * gdb.cp/rtti.exp: Accept new wording of warning from
18913 cp_lookup_rtti_type.
18914
18915 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
18916
18917 Partial fix for PR testsuite/1456.
18918 * gdb.base/scope.exp (test_at_main): Replace references to
18919 gcc_compiled with calls to test_compiler_info.
18920 (test_at_foo): Likewise.
18921 (test_at_bar): Likewise.
18922
18923 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
18924
18925 Partial fix for PR testsuite/1456.
18926 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
18927 to test_compiler_info.
18928
18929 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
18930
18931 * gdb.base/so-impl-ld.exp: Update copyright notice.
18932
18933 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
18934
18935 Partial fix for PR testsuite/1456.
18936 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
18937 to test_compiler_info.
18938
18939 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18940
18941 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
18942 from current versions of gdb. Clean up regular expressions.
18943 Delete redundant timeout case.
18944
18945 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18946
18947 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
18948 from current versions of gdb. Clean up regular expressions.
18949 Delete redundant timeout case.
18950
18951 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
18952
18953 Partial fix for PR testsuite/1456.
18954 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
18955 gcc_compiled with call to test_compiler_info.
18956
18957 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
18958
18959 Partial fix for PR testsuite/1456.
18960 * gdb.base/list.exp (test_list_function): Delete unused declaration
18961 of gcc_compiled.
18962
18963 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
18964
18965 Partial fix for PR testsuite/1456.
18966 * gdb.base/complex.exp: Replace reference to gcc_compiled with
18967 call to test_compiler_info.
18968
18969 2003-11-29 Mark Kettenis <kettenis@gnu.org>
18970
18971 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
18972 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
18973 it to create the appropriate note.inc.
18974 * gdb.asm/asmsrc1.s: Include "note.inc".
18975 * gdb.asm/netbsd.inc: New file.
18976 * gdb.asm/empty.inc: New file.
18977
18978 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
18979
18980 Partial fix for PR testsuite/1456.
18981 * gdb.base/constvars.exp: Replace references to gcc_compiled with
18982 calls to test_compiler_info.
18983
18984 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
18985
18986 Partial fix for PR testsuite/1456.
18987 * gdb.base/volatile.exp: Replace references to gcc_compiled with
18988 calls to test_compiler_info.
18989
18990 2003-11-27 Mark Kettenis <kettenis@gnu.org>
18991
18992 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
18993 pattern for the KFAILs.
18994
18995 2003-11-25 Adam Fedor <fedor@gnu.org>
18996
18997 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
18998 * gdb.objc/objcdecode.m: New file.
18999
19000 2003-11-25 Adam Fedor <fedor@gnu.org>
19001
19002 * gdb.objc/nondebug.exp: Test for PR objc/1236.
19003 * gdb.objc/nondebug.m: New file.
19004
19005 2003-11-26 Ben Elliston <bje@wasabisystems.com>
19006
19007 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19008 NetBSD as it does on FreeBSD. Modelled on a similar change by
19009 Mark Kettenis on 2003-05-30.
19010 (link-flags): Set to "--entry _start" regardless of target.
19011 Special linker flags are to be appended to $link-flags.
19012 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
19013
19014 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19015
19016 * gdb.cp/method.exp: Accept output of new demangler.
19017
19018 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19019
19020 * gdb/class2.exp: New file.
19021 * gdb/class2.cc: New file.
19022
19023 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
19024
19025 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
19026 of new demangler.
19027
19028 2003-11-23 Mark Kettenis <kettenis@gnu.org>
19029
19030 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
19031 of gdb_test "run".
19032
19033 2003-11-23 Mark Kettenis <kettenis@gnu.org>
19034
19035 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
19036 "continue" into "run".
19037
19038 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
19039
19040 Partial fix for PR testsuite/1456.
19041 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
19042 call to test_compiler_info.
19043 * gdb.cp/ctti.exp: Likewise.
19044 * gdb.cp/derivation.exp: Likewise.
19045 * gdb.cp/member-ptr.exp: Likewise.
19046 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
19047 reference to gcc_compiled.
19048
19049 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
19050
19051 Fix PR testsuite/1463.
19052 * gdb.base/structs.exp (start_structs_test): Call
19053 get_debug_format before using the debug format.
19054
19055 2003-11-22 Andrew Cagney <cagney@redhat.com>
19056
19057 * lib/gdb.exp (gdb_test_multiple): Add simple example.
19058 * gdb.base/structs.exp: Use gdb_test_multiple.
19059
19060 2003-11-20 Andrew Cagney <cagney@redhat.com>
19061
19062 * gdb.base/structs.exp: Handle and recover from internal errors.
19063 Replace "foo${n}" with "foo<n>" in test messages.
19064
19065 * gdb.base/structs.exp: Update copyright. Rewrite.
19066 * gdb.base/structs.c: Update copyright. Rewrite.
19067
19068 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
19069 resync count exceeded.
19070
19071 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
19072 from the internal error.
19073 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
19074 Original from Jim Blandy.
19075 (gdb_test_multiple): Use gdb_internal_error_resync.
19076
19077 2003-11-19 Andrew Cagney <cagney@redhat.com>
19078
19079 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
19080 KFAIL.
19081
19082 2003-11-17 Mark Kettenis <kettenis@gnu.org>
19083
19084 New testcase for PR backtrace/1435.
19085 * gdb.arch/i386-unwind.exp: New file.
19086 * gdb.arch/i386-unwind.c: New file.
19087
19088 2003-11-17 Andrew Cagney <cagney@redhat.com>
19089
19090 * lib/gdb.exp (compiler_info): New global.
19091 (test_compiler_info): New function.
19092 (get_compiler_info): Set compiler_info.
19093 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
19094 "compiler_info" to gcc-<major>-<minor>.
19095
19096 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
19097
19098 * gdb.trace/configure: Remove.
19099
19100 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
19101
19102 * gdb.base/break.c: Add comments to aid finding line numbers for
19103 breakpoints.
19104 * gdb.base/break.exp: Remove all references to explicit line
19105 numbers.
19106
19107 2003-11-11 Nick Clifton <nickc@redhat.com>
19108
19109 * gdb.base/shreloc.exp: Do not run for targets which do not
19110 support shared objects.
19111
19112 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
19113
19114 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
19115 Don't run tests if nofileio flag is given.
19116
19117 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
19118
19119 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
19120 as well as 'Watchpoint'.
19121
19122 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
19123
19124 Reported by Jim Ingham <jingham@apple.com>:
19125 * gdb.base/annota1.exp: Match at least one occurrence of the
19126 signal handler annotation.
19127
19128 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
19129
19130 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
19131 as well as 'Watchpoint'.
19132
19133 2003-11-05 Michael Chastain <mec@shout.net>
19134
19135 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
19136
19137 2003-11-03 Kris Warkentin <kewarken@qnx.com>
19138
19139 * gdb.arch/gdb1291.c: New test file.
19140 * gdb.arch/gdb1291.exp: New test script.
19141 * gdb.arch/gdb1431.c: New test file.
19142 * gdb.arch/gdb1431.exp: New test script.
19143
19144 2003-10-22 Michael Chastain <mec@shout.net>
19145
19146 * gdb.mi/pthreads.c: Add copyright notice.
19147
19148 2003-10-22 Michael Chastain <mec@shout.net>
19149
19150 * gdb.threads/pthreads.c: Add copyright notice.
19151
19152 2003-10-20 Michael Chastain <mec@shout.net>
19153
19154 * gdb.base/gdb1056.exp: New test script.
19155
19156 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
19157
19158 * gdb.threads/killed.exp: Use gdb_run_cmd.
19159
19160 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
19161
19162 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
19163 create a core file.
19164 * gdb.threads/gcore-thread.exp: Likewise.
19165
19166 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
19167
19168 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
19169 type, based on char type.
19170 (struct bit_flags_short_t): New bitfield type, based on short type.
19171 (init_bit_flags_char): New fuction.
19172 (init_bit_flags_short): Ditto.
19173 (print_bit_flags_char): Ditto.
19174 (print_bit_flags_short): Ditto.
19175 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
19176
19177 2003-10-11 Michael Chastain <mec@shout.net>
19178
19179 * gdb.base/call-rt-st.exp: Update copyright year.
19180
19181 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
19182
19183 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
19184 * gdb.disasm/sh3.s: Ditto.
19185
19186 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
19187
19188 * gdb.threads/switch-threads.exp: New test.
19189 * gdb.threads/switch-threads.c: New source file.
19190
19191 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
19192
19193 * gdb.base/ending-run.exp: Add sh specific case.
19194
19195 2003-10-06 Andrew Cagney <cagney@redhat.com>
19196
19197 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
19198 * gdb.disasm/mn10200.exp: Delete obsolete file.
19199
19200 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
19201
19202 * ChangeLog: Correct an entry command.exp -> commands.exp.
19203 * gdb.base/commands.exp (bp_deleted_in_command_test)
19204 (temporary_breakpoint_commands): Check noargs.
19205
19206 2003-09-25 David Carlton <carlton@kealia.com>
19207
19208 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
19209 of some print tests, where appropriate. Add tests for C::D::cd,
19210 E::ce, F::cXfX, G::XgX.
19211 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
19212
19213 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
19214
19215 * lib/java.exp (java_init): Import target_alias before using it.
19216
19217 2003-09-25 David Carlton <carlton@kealia.com>
19218
19219 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
19220
19221 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
19222
19223 * gdb.base/selftest.exp: Accomodate more instruction reordering
19224 weirdness.
19225
19226 2003-09-17 Michael Chastain <mec@shout.net>
19227
19228 * gdb.cp/gdb1355.exp: New file.
19229 * gdb.cp/gdb1355.c: New file.
19230
19231 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
19232
19233 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
19234 * gdb.asm/sh.inc: New file.
19235
19236 2003-09-11 David Carlton <carlton@kealia.com>
19237
19238 * gdb.cp/namespace.exp: Add tests for namespace types.
19239 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
19240 (test_namespace): New.
19241
19242 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
19243
19244 * gdb.base/relocate.exp: Handle new gdb output at startup.
19245 * gdb.stabs/weird.exp: Ditto.
19246
19247 2003-09-08 Michael Chastain <mec@shout.net>
19248
19249 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
19250
19251 2003-09-07 Michael Chastain <mec@shout.net>
19252
19253 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
19254 'parse error'.
19255
19256 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
19257
19258 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
19259
19260 2003-08-30 Michael Chastain <mec@shout.net>
19261
19262 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
19263 * gdb.gdb/observer.exp: Ditto.
19264 * gdb.gdb/xfullpath.exp: Ditto.
19265
19266 2003-08-29 Mark Kettenis <kettenis@gnu.org>
19267
19268 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
19269 *-*-*bsd*.
19270
19271 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
19272
19273 * gdb.base/dump.exp: Skip for ia64.
19274
19275 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
19276
19277 * gdb.asm/asm-source.exp: Add ia64 support.
19278 * gdb.asm/ia64.inc: New file.
19279
19280 2003-08-22 Michael Chastain <mec@shout.net>
19281
19282 * gdb.cp: New directory.
19283 * gdb.cp/*: Copy from gdb.c++/*.
19284 * gdb.c++/*: Remove.
19285 * Makefile.in: Change gdb.c++ to gdb.cp.
19286 * configure.in: Ditto.
19287 * configure: Regnerate.
19288
19289 2003-08-18 Mark Kettenis <kettenis@gnu.org>
19290
19291 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
19292 * gdb.arch/i386-prologue.c (gdb1338): Add function.
19293
19294 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
19295
19296 * mi-var-display.exp (-var-list-children weird): Accept function
19297 pointers with argument types.
19298 * mi1-var-display.exp (-var-list-children weird): Likewise.
19299 * mi2-var-display.exp (-var-list-children weird): Likewise.
19300
19301 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
19302
19303 * gdb.base/annota3.exp: Add missing newline.
19304
19305 2003-08-06 Michael Chastain <mec@shout.net>
19306
19307 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
19308
19309 2003-08-12 Michael Snyder <msnyder@redhat.com>
19310
19311 * gdb.base/float.exp: Add test for SH.
19312
19313 2003-08-10 Mark Kettenis <kettenis@gnu.org>
19314
19315 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
19316
19317 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
19318
19319 * gdb.base/completion.exp: Remove reduntant completion test
19320 on filename.
19321
19322 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
19323
19324 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
19325 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
19326 gdb.trace/save-trace.exp: Make sure that full pathnames are
19327 escaped correctly.
19328
19329 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
19330
19331 * configure.in: Don't generate config.h from config.hin.
19332 * configure: Regenerate.
19333 * config.hin: Remove file.
19334 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
19335 * gdb.threads/pthreads.c: Ditto.
19336
19337 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
19338
19339 From Kei Sakamoto <sakamoto.kei@renesas.com>:
19340 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
19341 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
19342 Replace ld24 with seth/add3.
19343
19344 2003-08-02 Andrew Cagney <cagney@redhat.com>
19345
19346 * gdb.base/annota3.exp: New file.
19347 * gdb.base/annota3.c: New file.
19348 * gdb.c++/annota3.exp: New file.
19349 * gdb.c++/annota3.cc: New file.
19350
19351 2003-07-29 Michael Chastain <mec@shout.net>
19352
19353 * gdb.threads/tls.c (spin): Check errno only if sem_wait
19354 actually failed.
19355 (do_pass): Likewise.
19356 * gdb.threads/tls.exp: Always initialize no_of_threads.
19357
19358 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
19359
19360 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
19361 pattern.
19362 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
19363 * gdb.threads/tls.exp: Recognize one case of the host library not
19364 supporting TLS.
19365
19366 2003-07-27 Andrew Cagney <cagney@redhat.com>
19367
19368 * gdb.base/fileio.exp: Use SH when running commands using
19369 remote_exec.
19370
19371 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
19372
19373 From Kei Sakamoto <sakamoto.kei@renesas.com>:
19374 * gdb.base/relocate.c (dummy): New padding array.
19375
19376 2003-07-22 Michael Snyder <msnyder@redhat.com>
19377
19378 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
19379
19380 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
19381 patterns to be more general, accepting old and new output.
19382 Some output chars (such as '+') also must be quoted.
19383 Some addresses are displayed numerically instead of
19384 symbolically.
19385
19386 2003-07-23 Michael Snyder <msnyder@redhat.com>
19387
19388 * gdb.base/return2.exp: Don't test long-long return.
19389
19390 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
19391 * gdb.disasm/t01_mov.exp: Ditto.
19392 * gdb.disasm/t02_mova.s: Ditto.
19393 * gdb.disasm/t02_mova.exp: Ditto.
19394 * gdb.disasm/t03_add.s: Ditto.
19395 * gdb.disasm/t03_add.exp: Ditto.
19396 * gdb.disasm/t04_sub.s: Ditto.
19397 * gdb.disasm/t04_sub.exp: Ditto.
19398 * gdb.disasm/t05_cmp.s: Ditto.
19399 * gdb.disasm/t05_cmp.exp: Ditto.
19400 * gdb.disasm/t06_ari2.s: Ditto.
19401 * gdb.disasm/t06_ari2.exp: Ditto.
19402 * gdb.disasm/t07_ari3.s: Ditto.
19403 * gdb.disasm/t07_ari3.exp: Ditto.
19404 * gdb.disasm/t08_or.s: Ditto.
19405 * gdb.disasm/t08_or.exp: Ditto.
19406 * gdb.disasm/t09_xor.s: Ditto.
19407 * gdb.disasm/t09_xor.exp: Ditto.
19408 * gdb.disasm/t10_and.s: Ditto.
19409 * gdb.disasm/t10_and.exp: Ditto.
19410 * gdb.disasm/t11_logs.s: Ditto.
19411 * gdb.disasm/t11_logs.exp: Ditto.
19412 * gdb.disasm/t12_bit.s: Ditto.
19413 * gdb.disasm/t12_bit.exp: Ditto.
19414 * gdb.disasm/t13_otr.s: Ditto.
19415 * gdb.disasm/t13_otr.exp: Ditto.
19416
19417 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
19418
19419 * gdb.threads/tls.exp :Add kfail for 'info address' case.
19420
19421 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
19422
19423 * gdb.threads/tls.c : New file.
19424 * gdb.threads/tls.exp : New file.
19425 * gdb.threads/tls-main.c : New file.
19426 * gdb.threads/tls-shared.c : New file.
19427 * gdb.threads/tls-shared.exp : New file.
19428
19429 2003-07-22 Andreas Schwab <schwab@suse.de>
19430
19431 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
19432
19433 2003-07-20 Andreas Schwab <schwab@suse.de>
19434
19435 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
19436 due to insn reordering.
19437
19438 2003-07-15 Andrew Cagney <cagney@redhat.com>
19439
19440 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
19441
19442 2003-07-15 Michael Chastain <mec@shout.net>
19443
19444 * gdb.base/gdb1250.exp: New file.
19445 * gdb.base/gdb1250.c: New file.
19446
19447 2003-07-09 Michal Ludvig <mludvig@suse.cz>
19448
19449 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
19450 expansion of size_t to 'unsigned long', not only to 'unsigned'.
19451
19452 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
19453
19454 * gdb.threads/tls.c: New file.
19455 * gdb.threads/tls.exp: New file.
19456 * gdb.threads/tls-main.c: New file.
19457 * gdb.threads/tls-shared.c: New file.
19458 * gdb.threads/tls-shared.exp: New file.
19459
19460 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
19461
19462 * gdb.base/annota1.exp: Make sure that we properly escape the
19463 full path of the source file. Xfail more permissive patterns,
19464 due to a compiler debug info problem.
19465
19466 2003-07-07 Andreas Schwab <schwab@suse.de>
19467
19468 * gdb.asm/m68k.inc: New file.
19469 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
19470
19471 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
19472 arguments"): Also match negative number.
19473
19474 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
19475
19476 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
19477
19478 * gdb.base/store.c (charest): New typedef.
19479 (add_char): Rename to add_charest, update.
19480 (wack_char): Rename to wack_charest, update types. Return l + r
19481 to keep r live across the call.
19482 (wack_short, wack_int, wack_long, wack_longest, wack_float)
19483 (wack_double, wack_doublest): Return l + r to keep r live across
19484 the call.
19485 * gdb.base/store.exp: Accomodate store.c changes.
19486
19487 2003-06-30 David Carlton <carlton@kealia.com>
19488
19489 * gdb.c++/maint.exp (test_invalid_name): New.
19490 (test_first_component): Add tests for invalid names.
19491
19492 2003-06-29 Michael Chastain <mec@shout.net>
19493
19494 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
19495 output of '<VTT for class>' for virtual base classes.
19496
19497 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
19498
19499 * gdb.base/completion.exp: Tab-complete "complet" instead of
19500 "compl".
19501 * gdb.base/complex.exp, gdb.base/complex.c: New files.
19502
19503 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
19504
19505 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
19506 * gdb.base/volatile.exp: Likewise.
19507
19508 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
19509
19510 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
19511 gdb/1265.
19512
19513 2003-06-28 Michael Chastain <mec@shout.net>
19514 Daniel Jacobowitz <drow@mvista.com>
19515
19516 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
19517 initial line count of 'captured_main' from 26 to 32.
19518 (test_with_self): Allow xmalloc call to be interleaved with the
19519 preceding two lines.
19520
19521 2003-06-24 Joel Brobecker <brobecker@gnat.com>
19522
19523 * gdb.base/bang.exp: New testcase.
19524
19525 2003-06-23 Joel Brobecker <brobecker@gnat.com>
19526
19527 * gdb.base/langs.exp: Add some tests for the "minimal" language
19528 support.
19529
19530 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
19531
19532 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
19533 the testcase.
19534
19535 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
19536
19537 * gdb.base/relocate.exp: Test add-symbol-file with a variable
19538 offset.
19539
19540 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
19541
19542 * gdb.c++/pr-1210.cc: New file.
19543 * gdb.c++/pr-1210.exp: New file.
19544
19545 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
19546
19547 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
19548 000-exec-continue.
19549
19550 2003-06-15 Mark Kettenis <kettenis@gnu.org>
19551
19552 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
19553 on *-*-*bsd* instead of *-*-freebsd*.
19554
19555 2003-06-14 Andrew Cagney <cagney@redhat.com>
19556
19557 * gdb.base/store.exp: Test longest and doublest. Test all
19558 parameters. Weaken return statement match.
19559 * gdb.base/store.c: Add longest and doublest - aka long long and
19560 long double functions. Put all parameters into local register
19561 variables. Use negative values.
19562
19563 2003-06-14 Andrew Cagney <cagney@redhat.com>
19564
19565 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
19566 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
19567 exit status.
19568 * gdb.base/fileio.exp: Disable target when nointerrupts and
19569 noinferiorio, instead of limiting it to remote. Use remote_exec
19570 instead of system.
19571
19572 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
19573
19574 * gdb.base/float.exp: Add ia64 support.
19575
19576 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
19577
19578 * gdb.base/fileio.exp: Run only on remote targets.
19579
19580 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
19581
19582 * gdb.base/fileio.c: New file, testing File-I/O.
19583 * gdb.base/fileio.exp: Ditto.
19584
19585 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
19586
19587 * gdb.base/shreloc.exp: New file, check symbol values obtained from
19588 shared objects after relocation at load time (gdb PR/1132).
19589 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
19590 as above, part of the shared object relocation test.
19591
19592 2003-06-08 Mark Kettenis <kettenis@gnu.org>
19593
19594 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
19595 fully filled history list.
19596 * gdb.base/gdb_history: New file.
19597
19598 * gdb.base/signals.exp: XFAIL "continue to func1" on
19599 i*86-*-freebsd*.
19600
19601 * gdb.base/attach.exp: When trying to attach to a nonexistent
19602 process, make it possible to specify the PID based on the target,
19603 and do so for *-*-freebsd*.
19604
19605 2003-06-02 Richard Henderson <rth@redhat.com>
19606
19607 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
19608
19609 2003-06-02 Richard Henderson <rth@redhat.com>
19610
19611 * gdb.base/selftest.exp: Next over lim_at_start initialization.
19612
19613 2003-06-02 Richard Henderson <rth@redhat.com>
19614
19615 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
19616
19617 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
19618
19619 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
19620 of globalvar.
19621
19622 2003-06-01 Mark Kettenis <kettenis@gnu.org>
19623
19624 * gdb.asm/asm-source.exp: Check for memory read errors in
19625 disassembler test on *BSD too.
19626
19627 2003-06-01 Richard Henderson <rth@redhat.com>
19628
19629 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
19630 for .frame.
19631 (gdbasm_call): Lose ldgp.
19632 (gdbasm_startup): Add frame information.
19633 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
19634
19635 2003-05-31 Mark Kettenis <kettenis@gnu.org>
19636
19637 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
19638 i?86-*-*.
19639
19640 2003-05-30 Mark Kettenis <kettenis@gnu.org>
19641
19642 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
19643 FreeBSD.
19644
19645 2003-05-29 Richard Henderson <rth@redhat.com>
19646
19647 * gdb.asm/alpha.inc: New file.
19648 * gdb.asm/asm-source.exp: Use it.
19649
19650 2003-05-29 Jim Blandy <jimb@redhat.com>
19651
19652 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
19653 'core.PID'.
19654
19655 2003-05-22 Jim Blandy <jimb@redhat.com>
19656
19657 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
19658 backtrace.
19659
19660 2003-05-20 David Carlton <carlton@math.stanford.edu>
19661
19662 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
19663 this time.
19664
19665 2003-05-19 David Carlton <carlton@bactrian.org>
19666
19667 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
19668 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
19669
19670 2003-05-19 David Carlton <carlton@bactrian.org>
19671
19672 * gdb.c++/namespace.exp: Add namespace scope and anonymous
19673 namespace tests.
19674 Bump copyright date.
19675 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
19676 (main): Call C::D::marker2.
19677 * gdb.c++/namespace1.cc: New file.
19678
19679 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
19680
19681 Roland McGrath <roland@redhat.com>
19682 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
19683 there is no manager thread.
19684
19685 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
19686
19687 * gdb.threads/schedlock.exp: Remove assumption that all threads
19688 will run in a particular small time slice. Also ensure we break
19689 in one of the child threads rather than the main thread.
19690
19691 2003-05-07 Jim Blandy <jimb@redhat.com>
19692
19693 Add support for assembly source testing on the s390x.
19694 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
19695 architecture.
19696 * gdb.asm/s390x.inc: New file.
19697
19698 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
19699 succession of 'if' statements.
19700
19701 2003-05-05 Andrew Cagney <cagney@redhat.com>
19702
19703 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
19704
19705 2003-05-05 Andrew Cagney <cagney@redhat.com>
19706
19707 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
19708 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
19709
19710 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
19711
19712 * gdb.base/charset.exp: Update based on new behavior of set/show
19713 charset commands.
19714
19715 2003-05-01 Andrew Cagney <cagney@redhat.com>
19716
19717 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
19718 variable do not give memory errors.
19719
19720 2003-04-30 Adam Fedor <fedor@gnu.org>
19721
19722 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
19723 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
19724 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
19725 gdb.objc/basicclass.m: : New files
19726
19727 * lib/gdb.exp (gdb_compile_objc): New procedure.
19728
19729 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
19730
19731 * gdb.base/signals.exp: Make backtrace tests more specific.
19732
19733 2003-04-23 David Carlton <carlton@bactrian.org>
19734
19735 * gdb.c++/maint.exp (test_first_component): Add tests for
19736 'operator' in more locations.
19737
19738 2003-04-16 Kevin Buettner <kevinb@redhat.com>
19739
19740 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
19741
19742 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
19743
19744 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
19745 func marke' instead. Update test name.
19746
19747 2003-04-15 David Carlton <carlton@math.stanford.edu>
19748
19749 * gdb.c++/maint.exp: New file.
19750
19751 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
19752
19753 * gdb.threads/schedlock.c: Change type of thread function argument
19754 to long, to avoid warnings on 64-bit platforms.
19755
19756 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
19757
19758 * gdb.base/attach.exp: Add new message from ptrace in case of
19759 attaching to nonexistent process.
19760
19761 2003-04-11 Jim Blandy <jimb@redhat.com>
19762
19763 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19764 gdb.c++/userdef.cc: Place comments on the lines to which the
19765 marker function might return.
19766 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19767 gdb.c++/userdef.exp: Look for those comments to check that we've
19768 returned to the right place, instead of checking line numbers.
19769
19770 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
19771
19772 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
19773 match on sourcefile name, instead of directory name.
19774
19775 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
19776
19777 * gdb.base/completion.exp: Use string_to_regexp to match the
19778 working directory name.
19779
19780 2003-04-09 Jim Blandy <jimb@redhat.com>
19781
19782 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
19783 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
19784 after an inferior function call, report the failure, but allow the
19785 test to continue.
19786
19787 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19788
19789 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19790 with -DPROTOTYPES.
19791
19792 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
19793
19794 * gdb.base/break.exp: Revert last patch.
19795
19796 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
19797
19798 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
19799 with -DPROTOTYPES.
19800
19801 2003-04-02 Andrew Cagney <cagney@redhat.com>
19802
19803 * gdb.base/callfuncs.exp: Make "print add" messages unique.
19804 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
19805 matching directories by the name breakpoint.
19806 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
19807 Make "continue to marker1" consistent.
19808 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
19809 message consistent.
19810 * lib/gdb.exp: Put "the program is no longer running", and "the
19811 program exited" in parenthesis.
19812 * lib/mi-support.exp: Ditto.
19813
19814 2003-04-02 Bob Rossi <bob_rossi@cox.net>
19815
19816 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
19817
19818 2003-03-29 Andrew Cagney <cagney@redhat.com>
19819
19820 * gdb.base/sizeof.c (main): Print the value of '\377'.
19821 * gdb.base/sizeof.exp: Check the sign of '\377'.
19822
19823 2003-03-27 Michael Chastain <mec@shout.net>
19824
19825 * gdb.base/gdb1090.exp: New file.
19826 * gdb.base/gdb1090.cc: New file.
19827
19828 2003-03-27 J. Brobecker <brobecker@gnat.com>
19829
19830 * gdb.gdb/observer.exp: New regression test.
19831
19832 2003-03-27 Michael Chastain <mec@shout.net>
19833
19834 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
19835 * gdb.base/ptype.exp: Likewise.
19836
19837 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
19838
19839 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
19840
19841 2003-03-26 Michael Chastain <mec@shout.net>
19842
19843 * gdb.base/ptype.exp: Actually use some typedef'd types.
19844
19845 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
19846
19847 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
19848 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
19849
19850 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19851
19852 * gdb.base/default.exp: Fix regular expression.
19853
19854 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19855
19856 * gdb.base/args.exp: Fix regular expression.
19857
19858 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19859
19860 * gdb.base/help.exp: Allow Win32 child process.
19861
19862 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19863
19864 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
19865 when stepping out of main().
19866
19867 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19868
19869 * gdb.base/default.exp: Check for win32 specific message when calling
19870 "run" without executable.
19871
19872 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19873
19874 * gdb.base/args.exp: Expect .exe in output.
19875
19876 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
19877
19878 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
19879 Cygwin native.
19880
19881 2003-03-17 Andrew Cagney <cagney@redhat.com>
19882
19883 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
19884 vector registes.
19885 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
19886 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
19887
19888 2003-03-17 David Carlton <carlton@math.stanford.edu>
19889
19890 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
19891 test, for PR breakpoints/38.
19892 Call test_watchpoint_and_breakpoint.
19893 * gdb.base/watchpoint.c (func3): New function.
19894 (main): Call func3.
19895
19896 2003-03-04 David Carlton <carlton@math.stanford.edu>
19897
19898 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
19899 Garply<Garply<char> >:: garply".
19900 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
19901 with respect to PR c++/1111; note also PR c++/1113.
19902 (test_template_breakpoints): KFAIL "constructor breakpoint" with
19903 respect to PR c++/1062.
19904 KFAIL "destructor breakpoint" with respect to PR c++/1112.
19905
19906 2003-03-03 David Carlton <carlton@math.stanford.edu>
19907
19908 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
19909 with respect to PR c++/57.
19910 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
19911 c++/826.
19912 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
19913 respect to PR c++/57.
19914
19915 2003-03-03 David Carlton <carlton@math.stanford.edu>
19916
19917 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
19918 respect to PR c++/33 into FAILs.
19919
19920 2003-03-03 Michael Chastain <mec@shout.net>
19921
19922 * configure.in: Update copyright years.
19923
19924 2003-03-03 Michael Chastain <mec@shout.net>
19925
19926 * Makefile.in: Update copyright years.
19927
19928 2003-02-28 David Carlton <carlton@math.stanford.edu>
19929
19930 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
19931 print class instead of struct and/or superfluous protection
19932 specifiers, as long as the resulting output is equivalent to the
19933 source code.
19934 Delete FIXME from end of messages on tests that don't need
19935 fixing.
19936
19937 2003-02-28 David Carlton <carlton@math.stanford.edu>
19938
19939 * gdb.c++/templates.exp (do_tests): Allow const in the two
19940 Foo<volatile char *>::foo tests.
19941
19942 2003-02-27 Michael Snyder <msnyder@redhat.com>
19943
19944 * gdb.base/restore.c (main): Return zero, so exit code
19945 will be consistant.
19946
19947 2003-02-26 David Carlton <carlton@math.stanford.edu>
19948
19949 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
19950 char *>::foo" test with respect to PR c++/33. Create a new test
19951 which is identical to that one except that it doesn't put the
19952 space between the "char" and the "*"; KFAIL it, too.
19953
19954 2003-02-26 David Carlton <carlton@math.stanford.edu>
19955
19956 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
19957 template types into either PASSes or KFAILs (corresponding to PR
19958 c++/57). Tweak indentation. Update copyright.
19959
19960 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
19961
19962 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
19963
19964 2003-02-13 Michael Chastain <mec@shout.net>
19965
19966 * gdb.base/exprs.exp: Remove i960 remnants.
19967 * gdb.base/funcargs.exp: Likewise.
19968 * gdb.base/list.exp: Likewise.
19969 * gdb.base/ptype.exp: Likewise.
19970
19971 2003-02-14 David Carlton <carlton@math.stanford.edu>
19972
19973 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
19974 pEe->D::vg()" from XFAIL to KFAIL.
19975
19976 2003-02-13 Jason Molenda (jmolenda@apple.com)
19977
19978 * gdb.base/maint.exp: Update maint print statistics regexp to include
19979 new entries.
19980
19981 2003-02-13 Michael Chastain <mec@shout.net>
19982
19983 * gdb.c++/inherit.exp: Remove call to get_debug_format.
19984
19985 2003-02-12 Michael Chastain <mec@shout.net>
19986
19987 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
19988 * gdb.c++/inherit.exp: Likewise.
19989 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
19990 * gdb.c++/templates.exp: Likewise.
19991 * gdb.c++/virtfunc.exp: Likewise.
19992
19993 2003-02-06 Jason Molenda (jason-cl@molenda.com)
19994
19995 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
19996 why the code is written that way.
19997
19998 2003-02-05 Michael Chastain <mec@shout.net>
19999
20000 * gdb.base/dump.exp: Add missing copyright line.
20001
20002 2003-02-05 Jason Molenda (jason-cl@molenda.com)
20003
20004 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
20005 at the beginning so the breakpoint doesn't get set on the loop.
20006
20007 2003-02-05 Michael Chastain <mec@shout.net>
20008
20009 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
20010 output for configurations with gcc 2.95.3.
20011
20012 2003-02-05 Keith Seitz <keiths@redhat.com>
20013 Andrew Cagney <ac131313@redhat.com>
20014
20015 * gdb.mi/mi-cli.exp: New file.
20016
20017 2003-02-04 Michael Chastain <mec@shout.net>
20018
20019 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
20020 Call perror and then continue.
20021
20022 2003-02-03 Michael Chastain <mec@shout.net>
20023
20024 * gdb.c++/pr-1023.cc: New file.
20025 * gdb.c++/pr-1023.exp: New file.
20026
20027 2003-02-05 Jim Blandy <jimb@redhat.com>
20028
20029 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
20030 it's local to foobar. Check for it there, and check that it's not
20031 present in main.
20032 * gdb.c++/local.cc (marker2): New function.
20033 (foobar): Call marker1.
20034 (main): Call marker2 instead of marker1.
20035
20036 2003-02-04 Andrew Cagney <ac131313@redhat.com>
20037
20038 * gdb.disasm/mn10200.exp: Obsolete file.
20039 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
20040 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
20041 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
20042
20043 2003-02-04 David Carlton <carlton@math.stanford.edu>
20044
20045 * gdb.c++/overload.exp: Test intToChar(1).
20046 * gdb.c++/overload.cc (intToChar): New.
20047 (main): Call intToChar.
20048
20049 2003-02-03 David Carlton <carlton@math.stanford.edu>
20050
20051 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
20052 'might_kfail' arg.
20053 KFAIL some of the continue_to_bp_overloaded calls, according to
20054 PR c++/1025.
20055
20056 2003-02-01 Michael Chastain <mec@shout.net>
20057
20058 * gdb.base/advance.c (marker1): New marker function.
20059 * gdb.base/advance.exp: When the 'advance' command lands on the
20060 return breakpoint, it can legitimately stop on either the
20061 current line or the next line. Accommodate both outcomes.
20062 * gdb.base/until.exp: Likewise.
20063
20064 2003-02-02 Andrew Cagney <ac131313@redhat.com>
20065
20066 2002-11-10 Jason Molenda (jason-cl@molenda.com):
20067 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
20068 now a list, not a tuple.
20069 * gdb.mi/mi-var-display.exp: Ditto.
20070 * gdb.mi/gdb792.exp: Ditto.
20071
20072 2003-02-01 Andrew Cagney <ac131313@redhat.com>
20073
20074 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
20075 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
20076 stack backtraces.
20077 * gdb.mi/mi-syn-frame.c: Part of same.
20078
20079 2003-02-01 Mark Kettenis <kettenis@gnu.org>
20080
20081 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20082 gdb.mi/mi1-pthreads.exp: Return instead of calling
20083 gdb_suppress_entire_file.
20084
20085 2003-02-01 Mark Salter <msalter@redhat.com>
20086
20087 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
20088
20089 2003-01-31 Mark Salter <msalter@redhat.com>
20090
20091 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
20092 Support empty arg.
20093
20094 2003-01-30 Michael Chastain <mec@shout.net>
20095
20096 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
20097 This was a workaround for a UTF-8 bug in readline 4.3. The bug
20098 has been fixed in gdb/readline on 2003-01-09.
20099
20100 2003-01-29 Michael Snyder <msnyder@redhat.com>
20101
20102 * gdb.base/maint.exp: Allow for leading underscore in symbol.
20103 * gdb.base/display.exp: Allow for leading underscore in symbol.
20104 * gdb.base/args.exp: Skip if target does not support args passing.
20105
20106 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
20107
20108 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
20109 gdb_test. Accept a list of expect arguments as the third
20110 parameter.
20111 (gdb_test): Use it.
20112
20113 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
20114
20115 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
20116 allow for different test tree configurations. Update some
20117 tescases accordingly.
20118 * gdb.arch/altivec-regs.exp: Ditto.
20119 * gdb.asm/asm-source.exp: Ditto.
20120 * gdb.base/advance.exp: Ditto.
20121 * gdb.base/display.exp: Ditto.
20122 * gdb.base/long_long.exp: Ditto.
20123 * gdb.base/mips_pro.exp: Ditto.
20124 * gdb.base/overlays.exp: Ditto.
20125 * gdb.base/relocate.exp: Ditto.
20126 * gdb.base/setshow.exp: Ditto.
20127 * gdb.base/step-line.exp: Ditto.
20128 * gdb.base/step-test.exp: Ditto.
20129 * gdb.base/until.exp: Ditto.
20130 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
20131
20132 2003-01-17 David Carlton <carlton@math.stanford.edu>
20133
20134 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
20135 corresponding to PR c++/945.
20136 Update copyright.
20137
20138 2003-01-17 David Carlton <carlton@math.stanford.edu>
20139
20140 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
20141 corresponding to PR c++/68.
20142
20143 2003-01-17 David Carlton <carlton@math.stanford.edu>
20144
20145 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
20146 (test_paddr_hairy_functions): Call print_addr_2_kfail for
20147 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
20148
20149 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
20150
20151 * gdb.base/break.exp: Fix change of default location, because of
20152 removal of until tests.
20153 * gdb.base/help.exp: Update test for new 'until' help message.
20154 Add test for help on 'advance'.
20155 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
20156
20157 2003-01-15 Mark Kettenis <kettenis@gnu.org>
20158
20159 * gdb.base/default.exp: Adapt "info float" test for recent changes
20160 to that command. Add test for "info vector".
20161 * gdb.base/float.exp: New file. Add test for "info float" that
20162 resembles the old test in gdb.base/default.exp.
20163
20164 2003-01-15 David Carlton <carlton@math.stanford.edu>
20165
20166 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
20167
20168 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
20169
20170 * gdb.base/break.exp: Move the tests of until command from here...
20171 * gdb.base/until.exp: ... to here. New file. Add other tests.
20172 * gdb.base/advance.c: New file.
20173 * gdb.base/advance.exp: New file.
20174
20175 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
20176
20177 * gdb.base/args.c: New file.
20178 * gdb.base/args.exp: New file.
20179
20180 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
20181
20182 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
20183
20184 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
20185
20186 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
20187
20188 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
20189
20190 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
20191 dates.
20192
20193 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
20194
20195 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
20196
20197 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
20198
20199 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
20200 (ptype &*"foo").
20201 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
20202
20203 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
20204
20205 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
20206 * gdb.mi/mi1-console.exp: Likewise.
20207
20208 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
20209
20210 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
20211 * gdb.mi/mi1-console.exp: Likewise.
20212
20213 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
20214
20215 * gdb.c++/overload.exp: Remove some fixed XFAILs.
20216
20217 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
20218
20219 * gdb.base/detach.exp: New test.
20220
20221 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
20222
20223 * Makefile.in (ALL_SUBDIRS): New variable.
20224 (subdirs, clean, distclean): Use it.
20225 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
20226 regenerating Makefile, since it is generated from the top level.
20227 * gdb.asm/Makefile.in: Likewise.
20228 * gdb.base/Makefile.in: Likewise.
20229 * gdb.c++/Makefile.in: Likewise.
20230 * gdb.disasm/Makefile.in: Likewise.
20231 * gdb.java/Makefile.in: Likewise.
20232 * gdb.mi/Makefile.in: Likewise.
20233 * gdb.threads/Makefile.in: Likewise.
20234 * gdb.trace/Makefile.in: Likewise.
20235
20236 2003-01-09 David Carlton <carlton@math.stanford.edu>
20237
20238 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
20239 Add copyright year 2003.
20240
20241 2003-01-06 Michael Chastain <mec@shout.net>
20242
20243 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
20244 When selecting a thread, 'line' and 'file' are optional.
20245 * gdb.mi/mi1-pthreads.exp: Likewise.
20246
20247 2003-01-06 Andreas Schwab <schwab@suse.de>
20248
20249 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
20250 failures.
20251
20252 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
20253
20254 Fix PR gdb/844
20255 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
20256 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
20257
20258 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
20259 instead of calling gdb_suppress_entire_file.
20260 * gdb.threads/print-threads.exp: Likewise.
20261 * gdb.threads/schedlock.exp: Likewise.
20262
20263 * gdb.threads/killed.exp: Return instead of calling
20264 gdb_suppress_entire_file.
20265 * gdb.threads/linux-dp.exp: Likewise.
20266 * gdb.threads/pthreads.exp: Likewise.
20267
20268 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
20269
20270 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
20271 stabs.
20272 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
20273 * gdb.base/whatis.exp: Always allow (void) after function names.
20274
20275 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
20276
20277 * gdb.c++/casts.exp: Correct regexp.
20278
20279 2003-01-04 Mark Kettenis <kettenis@gnu.org>
20280
20281 * configure.in: Call AC_CONFIG_HEADER. Don't call
20282 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
20283 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
20284 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
20285 aforementioned directories in the AC_OUPUT call.
20286 * config.hin: New file.
20287 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
20288 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
20289 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
20290 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
20291 pass -I$objdir instead of -I$objdir/$subdir in compilation.
20292 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
20293 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
20294 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
20295 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
20296 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
20297 gdb.threads/configure.in, gdb.threads/configure,
20298 gdb.threads/config.in, gdb.trace/configure.in,
20299 gdb.trace/configure: Removed.
20300
20301 2003-01-03 Michael Chastain <mec@shout.net>
20302
20303 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
20304 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
20305
20306 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
20307
20308 * gdb.base/store.exp: Fix regular expressions.
20309
20310 2002-12-28 Mark Kettenis <kettenis@gnu.org>
20311
20312 * configure.in: Rewrite.
20313 * configure: Regenerated.
20314
20315 2003-01-03 David Carlton <carlton@math.stanford.edu>
20316
20317 * gdb.base/psymtab.exp: New file.
20318 * gdb.base/psymtab1.c: Ditto.
20319 * gdb.base/psymtab2.c: Ditto.
20320
20321 2002-12-23 Adam Fedor <fedor@gnu.org>
20322
20323 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
20324
20325 2002-12-23 David Carlton <carlton@math.stanford.edu>
20326
20327 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
20328 and current_directory initialization.
20329
20330 2002-12-22 Jim Blandy <jimb@redhat.com>
20331
20332 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
20333 rather than as part of the output file name.
20334
20335 * gdb.base/attach.exp: There's no need to copy the test program to
20336 /tmp; that was only ever necessary on HP/UX, and this test is
20337 entirely disabled there anyway.
20338
20339 2002-12-21 Jim Blandy <jimb@redhat.com>
20340
20341 * gdb.c++/psmang.exp: Doc fix.
20342
20343 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
20344 test.
20345
20346 2002-12-20 David Carlton <carlton@math.stanford.edu>
20347
20348 * gdb.c++/annota2.exp: KFAIL annotate-quit.
20349
20350 2002-12-18 Michael Chastain <mec@shout.net>
20351
20352 * gdb.c++/annota2.exp: Add copyright year 2002.
20353
20354 2002-12-17 David Carlton <carlton@math.stanford.edu>
20355
20356 * gdb.c++/try_catch.cc: Add marker comments.
20357 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
20358 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
20359 * gdb.c++/m-static.cc: Ditto.
20360 * gdb.c++/m-static1.cc: Ditto.
20361 * gdb.c++/try_catch.cc: Ditto.
20362
20363 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
20364
20365 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
20366 to see whether we are using the new -environment-directory
20367 command which resets via -r or the old version of the command
20368 which may prompt the user. Part of fix for gdb/741.
20369
20370 2002-12-13 Andrew Cagney <ac131313@redhat.com>
20371
20372 * gdb.fortran/types.exp: Update obsolete comment.
20373 * gdb.fortran/exprs.exp: Ditto.
20374 * lib/gdb.exp: Delete obsolete code.
20375 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
20376 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
20377 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
20378 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
20379 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
20380 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
20381 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
20382 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
20383 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
20384 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
20385 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
20386 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
20387 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
20388 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
20389 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
20390 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
20391 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
20392 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
20393 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
20394 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
20395 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
20396 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
20397 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
20398 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
20399 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
20400 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
20401 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
20402 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
20403 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
20404 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
20405 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
20406 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
20407 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
20408 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
20409 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
20410 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
20411 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
20412
20413 2002-12-11 David Carlton <carlton@math.stanford.edu>
20414
20415 * gdb.c++/m-data.exp: Add test for members that shadow global
20416 variables: see PR gdb/804.
20417 * gdb.c++/m-data.cc: Ditto.
20418
20419 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
20420
20421 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
20422
20423 2002-12-06 David Carlton <carlton@math.stanford.edu>
20424
20425 * gdb.base/store.c: Don't declare functions static.
20426
20427 2002-12-04 Andrew Cagney <ac131313@redhat.com>
20428
20429 * gdb.base/store.exp, gdb.base/store.c: New files.
20430
20431 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
20432
20433 * gdb.base/selftest.exp: Update for current gdb.
20434
20435 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
20436
20437 * gdb.base/maint.exp: Only dump symbols from one source file
20438 or objfile.
20439
20440 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
20441
20442 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
20443 function call.
20444
20445 2002-11-25 Jim Blandy <jimb@redhat.com>
20446
20447 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
20448 function appearing in error message.
20449
20450 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
20451
20452 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
20453
20454 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
20455
20456 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
20457 for mi1 and current mi is in correct format. New mi startup message
20458 should be in mi console format. This is part of fix for PR gdb/604.
20459
20460 2002-09-18 Fernando Nasser <fnasser@redhat.com>
20461
20462 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
20463 which explicitly prints the zero offset as "+0".
20464
20465 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
20466
20467 * gdb.threads/schedlock.c (args): Make unsigned.
20468
20469 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
20470
20471 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
20472 numbers. Allow "foo2|selected stack frame".
20473 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
20474 * gdb.asm/asmsrc2.s: Likewise.
20475 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
20476 comments.
20477 * gdb.asm/mips.inc: New file.
20478
20479 2002-10-18 Adam Fedor <fedor@gnu.org>
20480
20481 * gdb.base/default.exp: Update expected output to include 'ObjC'.
20482 * gdb.base/help.exp: Likewise.
20483
20484 2002-10-17 Kevin Buettner <kevinb@redhat.com>
20485
20486 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
20487 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
20488
20489 2002-10-02 Jim Blandy <jimb@redhat.com>
20490
20491 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
20492
20493 2002-10-01 Andrew Cagney <ac131313@redhat.com>
20494
20495 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
20496 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
20497 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
20498 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
20499 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
20500 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
20501 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
20502
20503 2002-09-29 Andrew Cagney <ac131313@redhat.com>
20504
20505 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
20506 * mi0-disassemble.exp, mi0-eval.exp: Delete.
20507 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
20508 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
20509 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
20510 * mi0-var-block.exp, mi0-var-child.exp: Delete.
20511 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
20512
20513 2002-09-27 Kevin Buettner <kevinb@redhat.com>
20514
20515 * gdb.base/annota1.exp (info break): Make directory components of
20516 path optional since not all compilers emit this debug information.
20517
20518 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
20519 step ends up stepping out of the function instead of stopping on
20520 the epilogue.
20521
20522 2002-09-26 Keith Seitz <keiths@redhat.com>
20523
20524 * lib/insight-support.exp (gdbtk_start): Figure out where
20525 the insight executable is based on where gdb is. Use this
20526 executable to start insight instead of gdb.
20527
20528 2002-09-25 Andrew Cagney <cagney@redhat.com>
20529
20530 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
20531
20532 2002-09-24 Andrew Cagney <ac131313@redhat.com>
20533
20534 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
20535 test_isolated_complaints.
20536 (test_empty_complaint): New function.
20537 (test_empty_complaints): New function. Check no output when no
20538 complaints.
20539
20540 2002-09-19 Jim Blandy <jimb@redhat.com>
20541
20542 * gdb.base/charset.exp, gdb.base/charset.c: New files.
20543
20544 2002-09-19 Andrew Cagney <ac131313@redhat.com>
20545
20546 * gdb.gdb/complaints.exp: New file.
20547
20548 2002-09-18 Andrew Cagney <ac131313@redhat.com>
20549
20550 * gdb.base/maint.exp: Check `help maint internal-warning'.
20551
20552 2002-09-18 David Carlton <carlton@math.stanford.edu>
20553
20554 * gdb.c++/m-static.exp: Remove breakpoints depending on line
20555 numbers, and replace them by a single breakpoint after the
20556 constructors are all finished.
20557 Add test 4.
20558 * gdb.c++/m-static.cc: Add test 4.
20559 * gdb.c++/m-static.h: New file.
20560 * gdb.c++/m-static1.cc: New file.
20561
20562 * gdb.c++/printmethod.exp: New file.
20563 * gdb.c++/printmethod.cc: New file.
20564
20565 * gdb.c++/pr-574.exp: New file.
20566 * gdb.c++/pr-574.cc: New file.
20567
20568 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
20569
20570 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
20571 embedded targets which never actually exit.
20572
20573 2002-09-18 Fernando Nasser <fnasser@redhat.com>
20574
20575 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
20576 "don't step after run" as unresolved or unsupported, instead of xfail.
20577
20578 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
20579
20580 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
20581 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
20582 Add newline to expected string in "step out of main (status wrapper)"
20583 case.
20584
20585 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
20586
20587 * lib/gdb.exp (rerun_to_main): Allow restarting application.
20588 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
20589
20590 2002-09-17 Tom Tromey <tromey@redhat.com>
20591
20592 * gdb.base/printcmds.exp (test_print_string_constants): Expect
20593 \000, not \0, in double-quoted string.
20594
20595 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
20596
20597 * gdb.base/commands.exp: Don't expect a "Program exited normally"
20598 string after running the commands execution on breakpoint tests.
20599
20600 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
20601
20602 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
20603
20604 2002-09-12 Joel Brobecker <brobecker@gnat.com>
20605
20606 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
20607
20608 2002-09-10 Keith Seitz <keiths@redhat.com>
20609
20610 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
20611 runto proc.
20612 (mi_run_to_main): Use mi_runto.
20613 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
20614
20615 2002-09-10 Keith Seitz <keiths@redhat.com>
20616
20617 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
20618 regexp for stopping at main. Could have multiple event notifications.
20619 Don't assume that main was declared with no parameters.
20620 (mi_next): Use mi_step_to.
20621 (mi_step): Use mi_next_to.
20622
20623 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
20624
20625 * gdb.base/default.exp: Fix expected string in `info float' test.
20626
20627 2002-09-09 Ben Elliston <bje@redhat.com>
20628
20629 * config/mips.exp: Update comments.
20630 * config/mips-idt.exp: Likewise.
20631 * config/nind.exp: Likewise.
20632 * config/slite.exp: Likewise.
20633 * config/sparclet.exp: Likewise.
20634 * config/udi.exp: Likewise.
20635 * config/vx.exp: Likewise.
20636 * config/vxworks29k.exp: Likewise.
20637
20638 2002-09-05 Jim Blandy <jimb@redhat.com>
20639
20640 * gdb.threads/killed.exp: Fix test failure message.
20641
20642 2002-09-04 Keith Seitz <keiths@redhat.com>
20643
20644 * lib/mi-support.exp: Update copyright.
20645 (mi_gdb_test): Increase the priority of the expected pattern
20646 so that it matches gdb_test.
20647
20648 2002-09-03 Keith Seitz <keiths@redhat.com>
20649
20650 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
20651 Use integer comparison instead of string comparison for testing
20652 whether binary was built.
20653
20654 2002-09-03 Jim Blandy <jimb@redhat.com>
20655
20656 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
20657
20658 2002-08-29 Jim Blandy <jimb@redhat.com>
20659
20660 * gdb.threads/pthreads.exp: Move the portable thread compilation
20661 code into a function in lib/gdb.exp, and call that from here.
20662 * lib/gdb.exp (gdb_compile_pthreads): New function.
20663
20664 2002-08-29 Keith Seitz <keiths@redhat.com>
20665
20666 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
20667 expect_out so that callers can get at it.
20668
20669 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
20670
20671 * gdb.threads/print-threads.c: New file.
20672 * gdb.threads/print-threads.exp: New file.
20673 * gdb.threads/schedlock.c: New file.
20674 * gdb.threads/schedlock.exp: New file.
20675
20676 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
20677
20678 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
20679 not altivec.c.
20680
20681 2002-08-17 Mark Kettenis <kettenis@gnu.org>
20682
20683 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
20684 targets. The problem should be fixed now.
20685
20686 2002-08-15 Mark Kettenis <kettenis@gnu.org>
20687
20688 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
20689 2002-07-24 change that removes final dots from error messages.
20690
20691 2002-08-13 Tom Tromey <tromey@redhat.com>
20692
20693 * gdb.base/readline.exp: New file.
20694
20695 2002-08-01 Andrew Cagney <ac131313@redhat.com>
20696
20697 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
20698 supress message.
20699
20700 2002-08-01 Andrew Cagney <cagney@redhat.com>
20701
20702 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
20703 CHILL_FOR_TARGET and CHILL_LIB.
20704 * configure.in (configdirs): Remove gdb.chill.
20705 * configure: Regenerate.
20706 * lib/gdb.exp: Obsolete references to chill.
20707 * gdb.fortran/types.exp: Ditto.
20708 * gdb.fortran/exprs.exp: Ditto.
20709
20710 2002-07-30 Kevin Buettner <kevinb@redhat.com>
20711
20712 * gdb.base/shlib-call.exp (additional_flags): Conditionally
20713 set Irix-specific compile and link flags.
20714
20715 2002-07-29 Kevin Buettner <kevinb@redhat.com>
20716
20717 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
20718 source files. The ``-o'' option doesn't work with the ``-E'' option
20719 when using the Irix compiler.
20720
20721 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
20722
20723 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
20724 Improve support for reusing an exec file. Copy exec file
20725 to target, and run gdbserver on the target instead of on the host.
20726
20727 2002-07-18 Jim Blandy <jimb@redhat.com>
20728
20729 * gdb.base/ending-run.exp: Don't expect to see the program end in
20730 some orderly fashion when we're running on a real stand-alone
20731 board.
20732
20733 * gdb.base/interrupt.exp: Correct logic for skipping tests on
20734 targets that don't support interrupts.
20735
20736 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
20737
20738 * gdb.base/attach.exp: Add patterns to match output from /proc-based
20739 systems.
20740 Move comments in expect statements to inside the actions, so that they
20741 don't get matched against.
20742
20743 2002-07-10 Mark Kettenis <kettenis@gnu.org>
20744
20745 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
20746 function when asleep" test.
20747
20748 2002-07-10 Andrew Cagney <ac131313@redhat.com>
20749
20750 * gdb.base/page.exp: Rewrite to handle problems with very long
20751 `info set' output. Update copyright.
20752
20753 2002-06-26 Andrew Cagney <ac131313@redhat.com>
20754
20755 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
20756 gdb.threads-hp.
20757 * gdb.hp/configure: Regenerate.
20758 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
20759 * gdb.hp/gdb.threads-hp/configure: Delete file.
20760 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
20761
20762 2002-06-22 Andrew Cagney <ac131313@redhat.com>
20763
20764 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
20765 setlocale, bindtextdomain and textdomain.
20766
20767 2002-06-11 Jim Blandy <jimb@redhat.com>
20768
20769 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
20770 preprocessor macro information is present.
20771
20772 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
20773 tests.
20774
20775 2002-06-06 Michael Snyder <msnyder@redhat.com>
20776
20777 * gdb.base/overlays.exp: Record addresses of overlay
20778 functions in TCL variables rather than in GDB variables,
20779 to avoid having GDB convert them to pointers (with loss
20780 of information).
20781
20782 * gdb.base/d10v.ld: Merge in several years worth of
20783 default linker script changes.
20784 * gdb.base/long_long.exp: Add check for sizeof (long double).
20785
20786 2002-06-06 Michal Ludvig <mludvig@suse.cz>
20787
20788 * gdb.asm/asm-source.exp: Add x86-64 target.
20789 * gdb.asm/x86_64.inc: New.
20790
20791 2002-05-30 Michael Chastain <mec@shout.net>
20792
20793 From Benjamin Kosnik <bkoz@redhat.com>:
20794 * gdb.c++/m-static.cc: New file.
20795 * gdb.c++/m-static.exp: New file.
20796
20797 2002-05-28 Michael Snyder <msnyder@redhat.com>
20798
20799 * gdb.base/call-ar-st.exp: Allow for reduced floating point
20800 precision.
20801
20802 2002-05-27 Michael Chastain <mec@shout.net>
20803
20804 From Benjamin Kosnik <bkoz@redhat.com>:
20805 * gdb.c++/m-data.cc: New file.
20806 * gdb.c++/m-data.exp: New file.
20807
20808 2002-05-27 Michael Chastain <mec@shout.net>
20809
20810 From Benjamin Kosnik <bkoz@redhat.com>:
20811 * gdb.c++/try_catch.cc: New file.
20812 * gdb.c++/try_catch.exp: New file.
20813
20814 2002-05-27 Michael Chastain <mec@shout.net>
20815
20816 * gdb.c++/local.exp: Accept more nested types in output.
20817
20818 2002-05-26 Michael Chastain <mec@shout.net>
20819
20820 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
20821
20822 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
20823
20824 * lib/gdb.exp (gdb_wrapper_init): Just because
20825 gdb_wrapper_file exists, this does not mean that the file
20826 should not be rebuilt. That is what gdb_wrapper_initialized
20827 is for.
20828 (default_gdb_init): Reset gdb_wrapper_initialized.
20829
20830 2002-05-23 Michael Snyder <msnyder@redhat.com>
20831
20832 * gdb.base/all-bin.exp: Revise previous patch by just reducing
20833 the precision of the floating point test results.
20834 * gdb.base/call-rt-st.exp: Ditto.
20835
20836 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
20837 * gdb.base/call-rt-st.exp: Ditto.
20838
20839 2002-05-19 Michael Chastain <mec@shout.net>
20840
20841 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
20842
20843 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
20844
20845 * configure.in (configdirs): Add gdb.arch.
20846 * configure: Regenerate.
20847
20848 2002-05-17 Jim Blandy <jimb@redhat.com>
20849
20850 * gdb.base/completion.exp: Recognize the more detailed error
20851 messages produced by the macro expander's lexical analyzer.
20852
20853 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
20854
20855 * gdb.arch/altivec-abi.c: New file.
20856 * gdb.arch/altivec-abi.exp: New file.
20857 * gdb.arch/altivec-regs.c: New file.
20858 * gdb.arch/altivec-regs.exp: New file.
20859
20860 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
20861
20862 * gdb.base/maint.exp (maint print type): Update for new type
20863 structure.
20864
20865 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
20866
20867 * gdb.arch: New directory.
20868 * gdb.arch/configure.in: New file.
20869 * gdb.arch/configure: New file.
20870 * gdb.arch/Makefile.in: New file.
20871
20872 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
20873
20874 * gdb.asm/asm-source.exp: Add v850 as supported target.
20875 * gdb.asm/v850.inc: New file.
20876
20877 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
20878
20879 * gdb.c++/annota2.exp (annotate-quit): Add comment.
20880
20881 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
20882
20883 * gdb.base/break.exp: Check 'break "marker2"'.
20884
20885 2002-05-10 Michael Snyder <msnyder@redhat.com>
20886
20887 * gdb.base/long_long.exp: Fix typo.
20888
20889 2002-05-10 Jim Blandy <jimb@redhat.com>
20890
20891 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
20892 a bug.
20893
20894 * gdb.base/printcmds.exp (test_integer_literals_rejected):
20895 Recognize more detailed error message produced by the macro
20896 expander's lexical analyzer.
20897 * lib/gdb.exp (test_print_reject): Same.
20898
20899 2002-05-09 Mark Kettenis <kettenis@gnu.org>
20900
20901 * gdb.c++/method.exp: Fix typo.
20902
20903 2002-05-08 Michael Snyder <msnyder@redhat.com>
20904
20905 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
20906 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
20907 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
20908 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
20909 Add iftarget clause for strongarm.
20910
20911 2002-05-06 Michael Snyder <msnyder@redhat.com>
20912
20913 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
20914 (gdb_continue_to_end): Accept output from status wrapper.
20915 * gdb.base/ending-run.exp: Add case for output from status wrapper.
20916 Clean up fail messages to match pass messages.
20917
20918 Enable the "needs_status_wrapper" testsuite feature.
20919 * lib/gdb.exp (gdb_wrapper_init): New procedure.
20920 (gdb_compile): Conditionally call gdb_wrapper_init.
20921 * gdb.base/a2-run.exp: Recognize output from status wrapper.
20922 * gdb.c++/method.exp: Recognize output from status wrapper.
20923
20924 2002-05-06 Ben Elliston <bje@redhat.com>
20925 From Graydon Hoare <graydon@redhat.com>
20926
20927 * config/sid.exp: Include support for "rawsid" protocol.
20928
20929 2002-05-03 Jim Blandy <jimb@redhat.com>
20930
20931 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
20932 * gdb.c++/hang3.C: New file.
20933
20934 2002-05-04 Andrew Cagney <ac131313@redhat.com>
20935
20936 * gdb.base/default.exp: Remove obsolete code.
20937 * gdb.c++/misc.exp: Ditto. Update copyright.
20938 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
20939 * gdb.base/whatis.exp: Ditto. Update copyright.
20940 * gdb.base/scope.exp: Ditto. Update copyright.
20941 * gdb.base/ptype.exp: Ditto. Update copyright.
20942 * gdb.base/printcmds.exp: Ditto. Update copyright.
20943 * gdb.base/opaque.exp: Ditto. Update copyright.
20944 * gdb.base/list.exp: Ditto.
20945 * gdb.base/funcargs.exp: Ditto. Update copyright.
20946 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
20947 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
20948 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
20949 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
20950 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
20951 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
20952
20953 2002-05-02 Michael Snyder <msnyder@redhat.com>
20954
20955 * gdb.base/watchpoint.exp: Add xscale target.
20956 * gdb.base/long_long.exp: Add xscale target.
20957 * gdb.base/default.exp: Add xscale target.
20958
20959 2002-05-01 Jim Blandy <jimb@redhat.com>
20960
20961 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
20962 gdb.c++/hang.exp: New test.
20963
20964 2002-05-01 Fred Fish <fnf@redhat.com>
20965
20966 * gdb.base/completion.exp: Handle completions of "./Make" for
20967 more than one completion possibility, as is the case when we
20968 build and test in the source tree.
20969
20970 2002-04-29 Anthony Green <green@redhat.com>
20971
20972 * gdb.java/jmisc1.exp: New file.
20973 * gdb.java/jmisc2.exp: New file.
20974
20975 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
20976
20977 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
20978
20979 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
20980
20981 * gdb.base/help.exp: Change 'help status' to allow for target
20982 dependent output differences.
20983
20984 2002-04-22 Michael Chastain <mec@shout.net>
20985
20986 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
20987
20988 2002-04-22 Michael Chastain <mec@shout.net>
20989
20990 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
20991
20992 2002-04-17 David S. Miller <davem@redhat.com>
20993
20994 * gdb.asm/sparc64.inc: New file.
20995 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
20996
20997 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
20998
20999 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
21000 instruction file directly into the build tree. Clean up at end of
21001 test.
21002
21003 2002-04-18 David S. Miller <davem@redhat.com>
21004
21005 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
21006 handle 64-bit platforms correctly.
21007 * gdb.base/maint.exp: Likewise.
21008
21009 2002-04-18 Kevin Buettner <kevinb@redhat.com>
21010
21011 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
21012 ``-fpic'' when compiling files comprising a shared library, but
21013 it does need additional linker flags in order to find shared
21014 libraries at run time.
21015
21016 2002-04-18 Kevin Buettner <kevinb@redhat.com>
21017
21018 * gdb.base/cvexpr.c (use): New function.
21019 (main): Invoke use() on all global variables to prevent
21020 some linkers from deleting these otherwise unused symbols.
21021
21022 2002-04-17 Michael Chastain <mec@shout.net>
21023 From David S. Miller <davem@redhat.com>
21024
21025 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
21026 handle 64-bit platforms correctly.
21027
21028 2002-04-12 Michael Snyder <msnyder@redhat.com>
21029 From Jim Blandy <jimb@redhat.com>
21030 * gdb.base/foo.c (foox): Remove section attribute; the linker
21031 script can handle this instead.
21032 * gdb.base/bar.c (barx): Same.
21033 * gdb.base/baz.c (bazx): Same.
21034 * gdb.base/grbx.c (grbxx): Same.
21035
21036 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
21037 manager doesn't automatically unmap overlays unnecessarily.
21038
21039 2002-04-10 Martin M. Hunt <hunt@redhat.com>
21040
21041 * gdb.base/ending-run.exp: Fix pattern for Mips targets
21042 stepping out of main.
21043
21044 2002-04-09 Michael Chastain <mec@shout.net>
21045
21046 * gdb.c++/local.cc (main): Move call to marker1() inside nested
21047 scope so that the nested scope tests will make sense.
21048 * gdb.c++/local.exp: Write patterns that actually work with gcc
21049 (the HP patterns "were never known to work with gcc").
21050 Keep the old aCC patterns too.
21051
21052 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
21053
21054 * gdb.base/attach.exp: Correct target board test.
21055
21056 2002-04-08 Michael Chastain <mec@shout.net>
21057
21058 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
21059 in a const method. Add some xfail and fail cases for configurations
21060 that do not emit the "const ...".
21061
21062 2002-04-07 Michael Chastain <mec@shout.net>
21063
21064 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
21065 Accept "A * const" and "const A * const" as type of "this".
21066 Fix spelling of getFunky throughout. Make messages uniform.
21067
21068 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
21069
21070 Work around for PR gdb/285:
21071 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
21072
21073 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
21074
21075 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
21076 instructions file at run time instead of configure time.
21077 Sometimes we run the test in a directory that is not the one we
21078 configured in.
21079 * gdb.asm/configure.in: Delete creation of symlink.
21080 * gdb.asm/configure: Regenerate.
21081
21082 2002-04-05 J. Brobecker <brobecker@gnat.com>
21083
21084 * gdb.gdb/xfullpath.exp: New test, to exercise the new
21085 xfullpath () function.
21086
21087 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
21088
21089 * gdb.asm/Makefile.in: Correct dependencies.
21090
21091 * gdb.asm/powerpc.inc: New file.
21092 * gdb.asm/asm-source.exp: Add PowerPC.
21093 * gdb.asm/configure.in: Likewise.
21094 * gdb.asm/configure: Regenerated.
21095
21096 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
21097
21098 * gdb.base/relocate.exp: New file.
21099 * gdb.base/relocate.c: New file.
21100
21101 2002-04-04 Fred Fish <fnf@redhat.com>
21102
21103 * gdb.base/step-test.exp: Update comment regarding stopping in
21104 memcpy/bcopy calls inserted as part of the compiler runtime.
21105
21106 2002-04-04 Michael Snyder <msnyder@redhat.com>
21107
21108 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
21109
21110 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
21111
21112 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
21113 (gdb_expect): Remove $notransfer hack.
21114
21115 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
21116
21117 * gdb.c++/classes.exp ("calling method for small class"): Match
21118 updated register output.
21119
21120 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
21121
21122 Fix PR gdb/452
21123 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
21124 when finished. Make gdb_file_cmd send "exec-file" when
21125 appropriate.
21126
21127 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
21128
21129 * gdb.base/attach.exp: Remove extra setup_xfail.
21130
21131 2002-03-26 Michael Snyder <msnyder@redhat.com>
21132
21133 * gdb.base/default.exp: Add tests for dump, append, and restore.
21134 * gdb.base/help.exp: Add tests for dump, append, and restore.
21135 * gdb.base/dump.exp: New file, test dump, append and restore.
21136 * gdb.base/dump.c: New file.
21137
21138 2002-03-27 Michael Snyder <msnyder@redhat.com>
21139
21140 * gdb.base/help.exp: Modify expect strings to reflect
21141 clean-ups in help messages.
21142
21143 2002-03-26 Fred Fish <fnf@redhat.com>
21144
21145 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
21146 have debugging info for those functions and the compiler uses them
21147 internally to copy structs around.
21148
21149 2002-03-26 Fred Fish <fnf@redhat.com>
21150
21151 * gdb.base/list.exp: Revert the change made yesterday and add note
21152 about why we don't list the default lines for remote targets.
21153
21154 2002-03-25 Michael Snyder <msnyder@redhat.com>
21155
21156 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
21157
21158 2002-03-25 Fred Fish <fnf@redhat.com>
21159
21160 * gdb.base/list.exp: This test works on remote targets so remove
21161 the short circuit for remote targets. Update copyright.
21162
21163 2002-03-25 Fred Fish <fnf@redhat.com>
21164
21165 * gdb.base/attach.exp: Fix logic error that was suppressing this
21166 test for all non hppa*-*-hpux* targets, instead of the hp target.
21167 Move comments closer to the suppression point. Also now need to
21168 check that we are running natively.
21169
21170 2002-03-22 Michael Snyder <msnyder@redhat.com>
21171
21172 * gdb.base/default.exp: Add test for gcore. Update copyright.
21173 * gdb.base/help.exp: Add test for gcore. Update copyright.
21174
21175 2002-03-06 Fred Fish <fnf@redhat.com>
21176
21177 * gdb.base/funcargs.c: Remove extraneous ';' character.
21178 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
21179
21180 2002-03-04 Michael Chastain <mec@shout.net>
21181
21182 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
21183 accommodate gcc v3 function signature.
21184 * gdb.mi/mi0-var-cmd-exp: Ditto.
21185
21186 2002-02-24 Andrew Cagney <ac131313@redhat.com>
21187
21188 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
21189 ``GNU/Linux'' or ``Linux kernel''
21190 * testsuite/gdb.threads/pthreads.c: Ditto.
21191
21192 2002-02-24 Michael Chastain <mec@shout.net>
21193
21194 * gdb.threads/pthreads.c (thread1): Add a return statement.
21195 (thread2): Likewise.
21196 (foo): Likewise.
21197
21198 2002-02-23 Michael Chastain <mec@shout.net>
21199
21200 * gdb.threads/linux-dp.c (philosopher): Add a return statement
21201 to placate gcc.
21202
21203 2002-02-23 Michael Chastain <mec@shout.net>
21204
21205 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
21206 test "ptype bint". The test passes on all my stabs configurations.
21207
21208 2002-02-21 Jim Blandy <jimb@redhat.com>
21209
21210 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
21211 filename at a time, and watch for the ones we want to see.
21212
21213 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
21214 types of pointers to prototyped functions.
21215
21216 2002-02-20 Andrew Cagney <ac131313@redhat.com>
21217
21218 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
21219 signed, unsigned and straight char.
21220 (padding_char, padding_short, padding_int, padding_long,
21221 padding_long_long, padding_float, padding_double,
21222 padding_long_double): New global variables.
21223 (fill, fill_structs): New functions.
21224
21225 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
21226 for correctly sized writes. Update copyright.
21227 (get_valueof): New procedure.
21228 (get_sizeof): Call get_valueof.
21229 (check_valueof): New procedure.
21230 (check_padding): New procedure.
21231
21232 2002-02-20 Michael Chastain <mec@shout.net>
21233
21234 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
21235 to setup_xfail. Document some of the remaining calls.
21236
21237 2002-02-18 Michael Chastain <mec@shout.net>
21238
21239 * gdb.c++/userdef.exp: Update copyright year.
21240
21241 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
21242
21243 * gdb.c++/userdef.exp: Test overloaded operators properly.
21244 Remove xfails.
21245
21246 2002-02-14 Michael Snyder <msnyder@redhat.com>
21247
21248 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
21249
21250 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
21251
21252 * gdb.base/a2-run.exp: Check for a remote target properly.
21253 * gdb.base/annota1.exp: Likewise.
21254 * gdb.base/list.exp: Likewise.
21255 * gdb.base/reread.exp: Likewise.
21256 * gdb.base/scope.exp: Likewise.
21257 * gdb.base/shlib-call.exp: Likewise.
21258 * gdb.base/term.exp: Likewise.
21259 * gdb.c++/annota2.exp: Likewise.
21260
21261 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
21262
21263 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
21264
21265 2002-02-10 Michael Chastain <mec@shout.net>
21266
21267 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
21268 (call_after_alloca): Ditto.
21269
21270 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
21271
21272 * gdb.base/ending-run.exp: Guard "cont" test with
21273 gdb_skip_stdio_test.
21274
21275 2002-02-06 Jim Blandy <jimb@redhat.com>
21276
21277 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
21278 from here...
21279 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
21280 To here. Disable this test on non-HP platforms. Add big comment.
21281
21282 2002-02-04 Michael Snyder <msnyder@redhat.com>
21283
21284 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
21285 other than d10v and m32r.
21286
21287 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
21288
21289 * gdb.base/default.exp: Rewrite test patterns to reduce time
21290 taken to match them.
21291
21292 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
21293
21294 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
21295 Allow a start function above main.
21296 * gdb.threads/linux-dp.exp: Fix copyright date.
21297
21298 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
21299
21300 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
21301 (check_philosopher_stack): Check for manager thread before checking
21302 for a just-starting thread.
21303
21304 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
21305
21306 From Neil Booth <neil@daikokuya.demon.co.uk>:
21307 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
21308 warnings.
21309
21310 2002-01-21 Fred Fish <fnf@redhat.com>
21311
21312 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
21313 not caller.
21314
21315 2002-01-21 Jim Blandy <jimb@redhat.com>
21316
21317 * gdb.base/reread.exp: Check that GDB properly re-reads the
21318 executable file when it changes while no inferior is running.
21319
21320 2002-01-21 Fred Fish <fnf@redhat.com>
21321
21322 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
21323 optionally accept the "shlib events" variation.
21324
21325 2002-01-21 Jim Blandy <jimb@redhat.com>
21326
21327 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
21328 call `fflush' after every `printf', so that the output is produced
21329 at predictable points, regardless of whatever buffering does (or
21330 doesn't) take place.
21331 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
21332 at different points.
21333
21334 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
21335
21336 * gdb.c++/inherit.exp: Update copyright years.
21337 * gdb.c++/method.exp: Likewise.
21338
21339 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
21340
21341 * gdb.c++/classes.exp: Update for improved v3 support and skipping
21342 artificial methods/arguments.
21343 * gdb.c++/derivation.exp: Likewise.
21344 * gdb.c++/inherit.exp: Likewise.
21345 * gdb.c++/method.exp: Likewise.
21346 * gdb.c++/virtfunc.exp: Likewise.
21347
21348 2002-01-18 Andrew Cagney <ac131313@redhat.com>
21349
21350 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
21351 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
21352 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
21353 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
21354 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
21355 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
21356
21357 2002-01-17 Jim Blandy <jimb@redhat.com>
21358
21359 * gdb.asm/asm-source.exp (info symbol): Take another shot at
21360 anchoring the pattern matching the entry point symbol's name.
21361
21362 2002-01-17 Andrew Cagney <ac131313@redhat.com>
21363
21364 * gdb.base/maint.exp: Update ``maint internal-error'' to match
21365 continue/quit query. Update copyright.
21366
21367 2002-01-14 Michael Snyder <msnyder@redhat.com>
21368
21369 * gdb.base/gcore.exp: Remove extra debugging output.
21370
21371 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
21372
21373 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
21374 for slightly dubious v2 mangled string.
21375
21376 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
21377
21378 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
21379
21380 2002-01-10 Jason Merrill <jason@redhat.com>
21381
21382 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
21383
21384 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
21385 constructors.
21386 * gdb.c++/derivation.exp: Likewise.
21387 * gdb.c++/templates.exp: Likewise.
21388 * gdb.c++/virtfunc.exp: Likewise.
21389
21390 2002-01-10 Michael Snyder <msnyder@redhat.com>
21391
21392 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
21393
21394 2002-01-08 Michael Snyder <msnyder@redhat.com>
21395
21396 * gdb.base/gcore.exp: New test for generate-core-file command.
21397 * gdb.base/gcore.c: Testcase for above.
21398 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
21399
21400 2002-01-08 Jason Merrill <jason@redhat.com>
21401
21402 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
21403
21404 2002-01-07 Fred Fish <fnf@redhat.com>
21405
21406 * gdb.c++/overload.exp: Remove unconditional xfails for:
21407 print foo_instance1.overloadargs(1)
21408 print foo_instance1.overloadargs(1, 2)
21409 print foo_instance1.overloadargs(1, 2, 3)
21410 print foo_instance1.overloadargs(1, 2, 3, 4)
21411 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
21412 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
21413 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
21414 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
21415 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
21416 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
21417 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
21418 print foo_instance1.overload1arg()
21419 print foo_instance1.overload1arg((char)arg2)
21420 print foo_instance1.overload1arg((signed char)arg3)
21421 print foo_instance1.overload1arg((unsigned char)arg4)
21422 print foo_instance1.overload1arg((int)arg7)
21423 print foo_instance1.overload1arg((unsigned int)arg8)
21424 print foo_instance1.overload1arg((float)arg11)
21425 print foo_instance1.overload1arg((double)arg12)
21426
21427 2002-01-07 Michael Snyder <msnyder@redhat.com>
21428
21429 * gdb.base/huge.exp: New test. Print a very large target data object.
21430 (skip_huge_test): New test variable. Define if you want to skip this
21431 test. The test reads an 8 megabyte data object from the target, so it
21432 might be very time consuming on remote targets with a slow connection.
21433 * gdb.base/huge.c: New file. Test case for above.
21434
21435 2002-01-07 Fred Fish <fnf@redhat.com>
21436
21437 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
21438 g_instance.bfoo, and g_instance.cfoo.
21439
21440 2002-01-07 Jeffrey A Law <law@redhat.com>
21441
21442 * gdb.base/break.c (multi_line_if_conditional): New function.
21443 (multi_ilne_while_conditional): Likewise.
21444 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
21445 IF or WHILE condition puts the breakpoint at the start of
21446 the condition.
21447
21448 * gdb.base/selftest.exp (backtrace through signal handler): Remove
21449 hppa*-*-hpux* expected failure.
21450 * gdb.base/structs.exp (do_function_calls): Similarly.
21451
21452 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
21453 watchpoints.
21454
21455 2002-01-06 Andrew Cagney <ac131313@redhat.com>
21456
21457 Fix PR gdb/66.
21458 * gdb.base/structs.exp: Replace skip for a29k with skip for
21459 gdb,cannot_call_functions.
21460 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
21461 * gdb.base/callfuncs.exp: Ditto.
21462 * gdb.base/call-rt-st.exp: Ditto.
21463 * gdb.base/call-strs.exp: Ditto.
21464 * gdb.base/callfwmall.exp: Ditto.
21465 * gdb.base/scope.exp: Obsolete xfail a29k.
21466 * gdb.c++/misc.exp: Ditto.
21467 * gdb.c++/cplusfuncs.exp: Ditto.
21468 * gdb.base/ptype.exp: Ditto.
21469 * gdb.base/printcmds.exp: Ditto.
21470 * gdb.base/opaque.exp: Ditto.
21471 * gdb.base/list.exp: Ditto.
21472 * gdb.base/funcargs.exp: Ditto.
21473 * gdb.base/default.exp: Ditto.
21474
21475 2002-01-04 Michael Snyder <msnyder@redhat.com>
21476
21477 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
21478 * gdb.base/maint.exp: Add tests for maint info sections options.
21479
21480 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
21481
21482 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
21483
21484 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
21485
21486 * gdb.asm/arm.inc: New file.
21487 * gdb.asm/asm-source.exp: Add arm targets.
21488 * gdb.asm/configure.in: Ditto.
21489 * gdb.asm/configure: Recreated from configure.in.
21490
21491 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
21492
21493 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
21494 with HP's compiler.
21495 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
21496 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
21497 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
21498 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
21499
21500 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
21501 either HP's compilers or GCC.
21502
21503 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
21504 a SIGBUS or SIGSEGV.
21505
21506 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
21507
21508 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
21509 can be compiled with either HP's compiler or GCC.
21510
21511 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
21512 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
21513 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
21514
21515 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
21516 to match current gdb output. Update due to using auto-solib-limit
21517 for limiting instead of overloading auto-solib-add.
21518 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
21519 test program.
21520
21521 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
21522 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
21523 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
21524 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
21525 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
21526 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
21527 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
21528 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
21529 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
21530 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
21531 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
21532 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
21533 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
21534
21535 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
21536 a SIGTRAP to the inferior.
21537
21538 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
21539
21540 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
21541 Substitute call to target_link by call to gdb_compile.
21542
21543 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
21544
21545 * gdb.base/break.exp: Fix HP specific search string when testing
21546 backtracing in a called function.
21547
21548 * gdb.base/constvars.exp: Only set lang to C++ if we're
21549 compiling the test with HP's compilers.
21550 * gdb.base/volatile.exp: Similarly.
21551
21552 2001-12-19 Jim Blandy <jimb@redhat.com>
21553
21554 * gdb.base/printcmds.exp: Expect the null character to be printed
21555 as '\0', and the '\013' to be printed as '\v'.
21556 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
21557 * gdb.base/setvar.exp: Same.
21558
21559 2001-12-17 Jim Blandy <jimb@redhat.com>
21560
21561 * gdb.base/completion.exp: Rather than completing very long
21562 filenames, which can make the readline library produce output we
21563 don't recognize, cd to the directory first, and then complete
21564 using nice, short relative paths.
21565
21566 * gdb.base/completion.exp: On some systems, there is, in fact, a
21567 variable named `b' in scope, since GDB treats all static
21568 variables as being in scope. So use `no_var_named_this'
21569 instead of `b'.
21570
21571 * gdb.base/corefile.exp: Recognize the message saying that GDB
21572 can't find the core file's registers as a failure.
21573
21574 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
21575
21576 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
21577 test expect string more specific.
21578
21579 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
21580
21581 * gdb.asm/asm-source.exp: Add support for xstormy16.
21582 * gdb.asm/configure.in: Ditto.
21583 * gdb.asm/configure: Rebuild.
21584 * gdb.asm/xstormy16.inc: New file.
21585
21586 2001-12-10 Fred Fish <fnf@redhat.com>
21587
21588 * gdb.base/maint.exp: Update to match changes in type dumping code.
21589
21590 2001-12-10 Jim Blandy <jimb@redhat.com>
21591
21592 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
21593 matching the entry point symbol's name at the beginning of the
21594 line.
21595
21596 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
21597
21598 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
21599 gdb.c++/inherit.exp, gdb.c++/method.exp,
21600 gdb.c++/namespace.exp, gdb.c++/templates.exp,
21601 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
21602 and class layout support.
21603
21604 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
21605
21606 * gdb.c++/classes.exp: Add test for static member function.
21607 * gdb.c++/misc.cc: Add class with static member function.
21608
21609 2001-12-07 Jim Blandy <jimb@redhat.com>
21610
21611 If GDB says it can't find the struct the function returned, report
21612 those tests as `unsupported'.
21613 * gdb.base/call-rt-st.exp (print_struct_call): New function.
21614 Rewrite subsequent tests to use it.
21615
21616 If GDB says it can't find the struct the function returned, report
21617 those tests as `unsupported'.
21618 * gdb.base/structs.exp (call_struct_func): New function.
21619 (do_function_calls): Use call_struct_func to call the functions
21620 returning structs.
21621
21622 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
21623 whether functions are prototyped or not, so we can't possibly pass
21624 arguments to t_float_values2 properly.
21625
21626 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
21627 value of `timeout' for targets other than the mips*tx39-*.
21628
21629 2001-12-06 Michael Snyder <msnyder@redhat.com>
21630
21631 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
21632 and detect whether the start symbol has a leading underscore.
21633
21634 2001-12-04 Jim Blandy <jimb@redhat.com>
21635
21636 * gdb.base/completion.exp: Clarify indentation.
21637
21638 2001-12-03 Jim Blandy <jimb@redhat.com>
21639
21640 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
21641 variables on the S/390, not `.word'.
21642
21643 2001-11-30 Jim Blandy <jimb@redhat.com>
21644
21645 Add assembly-source tests for s390-ibm-linux.
21646 * gdb.asm/s390.inc: New file.
21647 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
21648 the S/390 architecture.
21649 * gdb.asm/configure: Regenerated.
21650
21651 2001-11-30 Michael Snyder <msnyder@redhat.com>
21652
21653 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
21654 next, info source, info sources, info line, global and static
21655 variables, and static functions.
21656 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
21657 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
21658 * gdb.asm/asmsrc1.s: Add a static function and some variables.
21659 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
21660 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
21661 (gdbasm_leave): Restore frame pointer.
21662 (gdbasm_startup): Copy stack set-up from crt0.S.
21663
21664 2001-11-26 Fernando Nasser <fnasser@redhat.com>
21665
21666 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
21667 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
21668 to a local (non-static) variable. Copy tstruct.a to a static buffer
21669 and return a pointer to that buffer.
21670 * gdb.base/callfwmall.c (t_structs_a): Ditto.
21671
21672 2001-11-24 Mark Kettenis <kettenis@gnu.org>
21673
21674 * gdb.asm/configure.in: Fix recognition of ix86 target.
21675 * gdb.asm/configure: Regenerate.
21676
21677 2001-11-21 Michael Snyder <msnyder@redhat.com>
21678
21679 * gdb.asm/sparc.inc: New file.
21680 * gdb.asm/asm-source.exp: Recognize sparc target.
21681 * gdb.asm/configure.in: Recognize sparc target.
21682 * gdb.asm/configure: Regenerate.
21683
21684 2001-11-21 Michael Snyder <msnyder@redhat.com>
21685
21686 * gdb.asm/m32r.inc: New file.
21687 * gdb.asm/asm-source.exp: Recognize m32r target.
21688 * gdb.asm/configure.in: Recognize m32r target.
21689 * gdb.asm/configure: Regenerate.
21690
21691 2001-11-20 Michael Snyder <msnyder@redhat.com>
21692
21693 * gdb.asm/i386.inc: New file.
21694 * gdb.asm/asm-source.exp: Recognize ix86 target.
21695 * gdb.asm/configure.in: Recognize ix86 target.
21696 * gdb.asm/configure: Regenerate.
21697
21698 * gdb.c++/namespace.exp: Fix quotes in output messages.
21699
21700 2001-11-14 Michael Snyder <msnyder@redhat.com>
21701
21702 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
21703 qualifier in a type cast expression, to designate an address
21704 in the instruction space (Harvard architecture).
21705
21706 2001-11-13 Michael Snyder <msnyder@redhat.com>
21707
21708 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
21709 Tests for expressions using 'const' and 'volatile'.
21710
21711 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
21712
21713 * gdb.asm/asm-sources.exp: Allow defining linker flags.
21714
21715 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
21716
21717 * lib/mi-support.exp (mi_run_to_helper): Move comments
21718 outside of gdb_expect.
21719
21720 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
21721
21722 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
21723 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
21724 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
21725 mi0_run_to): New functions.
21726 * gdb.mi/mi-simplerun.exp: Use them.
21727 * gdb.mi/mi0-simplerun.exp: Likewise.
21728 * gdb.mi/mi-var-cmd.exp: Likewise.
21729 * gdb.mi/mi0-var-cmd.exp: Likewise.
21730
21731 2001-11-10 Andrew Cagney <ac131313@redhat.com>
21732
21733 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
21734 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
21735
21736 2001-11-09 Andrew Cagney <ac131313@redhat.com>
21737
21738 * gdb.base/restore.exp: Include $expected value in restored test
21739 message.
21740
21741 2001-11-09 Andrew Cagney <ac131313@redhat.com>
21742
21743 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
21744 implemented.
21745
21746 2001-11-08 Michael Snyder <msnyder@redhat.com>
21747
21748 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
21749 Add pass/fail message for stop at breakpoint in call dummy function.
21750
21751 2001-11-07 Michael Snyder <msnyder@redhat.com>
21752
21753 * gdb.c++/templates.exp (test_template_breakpoints):
21754 If we get an overload menu, but it does not match what
21755 we expect, we still need to issue the "cancel" command.
21756 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
21757 making the whitespace optional. Argument for "new" may be
21758 "unsigned" as well as "unsigned int/long".
21759 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
21760 making the whitespace optional. Also replace "(void) with
21761 "((void|)), making the keyword "void" optional.
21762 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
21763 making the whitespace optional. Also replace "(void) with
21764 "((void|)), making the keyword "void" optional.
21765 * gdb.base/callfuncs.c (t_float_values): This function must
21766 _not_ be prototyped, and the following function (t_float_values2)
21767 must be prototyped (if the compiler supports it), so that GDB
21768 can be tested against both cases. Usually one case involves
21769 promotion of float to double, while the other does not.
21770 * gdb.base/callfwmall.c: Ditto.
21771 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
21772 includes a stack frame for "start".
21773
21774 2001-11-05 Jim Blandy <jimb@redhat.com>
21775
21776 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
21777 pointers are 32 bits long, and that offsets of relocs are always
21778 stored in the data (REL-style), and not in the reloc entry itself
21779 (RELA-style).
21780 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
21781 stabs.
21782
21783 2001-11-01 Michael Snyder <msnyder@redhat.com>
21784
21785 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
21786 and regular expression operators by using quoting.
21787
21788 2001-10-31 Michael Snyder <msnyder@redhat.com>
21789
21790 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
21791 depending on what the symbol table contains.
21792 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
21793 the output of the ptype command. Similarly, accept both "const &"
21794 and "const&".
21795
21796 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
21797
21798 * gdb.base/miscexprs.c (main): Add usage of preprocessor
21799 symbol `STORAGE' to allow to choose the storage class of
21800 the local datastructures.
21801 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
21802 compiler directive.
21803
21804 2001-10-30 Michael Snyder <msnyder@redhat.com>
21805
21806 * gdb.base/jump.exp: Allow it to run for all targets.
21807
21808 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
21809
21810 * gdb.base/call-ar-st.c (print_double_array): Match for loop
21811 with new double_array size.
21812 (main): Change storage class of all local variables to static.
21813 Reduce size of double_array to 9.
21814 * gdb.base/call-ar-st.exp: Increase timeout value.
21815 Change expected output for double array to match new size in
21816 call-ar-st.c.
21817
21818 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
21819
21820 * gdb.base/ending-run.exp: Create identical output when passing
21821 `step to end of run' case. Add regular expression branch satisfying
21822 Stormy16 target.
21823
21824 2001-10-28 Mark Kettenis <kettenis@gnu.org>
21825
21826 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
21827 that we catch the expected failure under Linux/x86.
21828
21829 2001-10-29 Orjan Friberg <orjanf@axis.com>
21830
21831 * gdb.base/setvar.exp: Escape curly braces.
21832 * gdb.stabs/weird.exp: Ditto.
21833
21834 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
21835
21836 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
21837 * gdm.mi/mi0-hack-cli.exp: Likewise.
21838
21839 2001-10-25 Andrew Cagney <ac131313@redhat.com>
21840
21841 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
21842 messages.
21843
21844 2001-10-21 Andrew Cagney <ac131313@redhat.com>
21845
21846 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
21847 checking MI enabled.
21848
21849 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
21850
21851 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
21852
21853 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
21854
21855 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
21856 if gdb child process crashes, just signal an error.
21857
21858 2001-10-02 Jim Blandy <jimb@redhat.com>
21859
21860 * lib/gdb.exp (test_xfail_format): Simplify.
21861
21862 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
21863 front of the variable name `format'. Simplify `if'.
21864
21865 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
21866
21867 * gdb.threads/pthreads.exp: Wait for output and delay
21868 before sending ^C.
21869
21870 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
21871
21872 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
21873 some incorrect output instead of timing out.
21874 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
21875
21876 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
21877
21878 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
21879 check to allow additional `int'.
21880
21881 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
21882
21883 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
21884 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
21885
21886 2001-09-27 Michael Snyder <msnyder@redhat.com>
21887
21888 * lib/gdb.exp (test_debug_format): New proc.
21889 (setup_xfail_format): Use new proc test_debug_format.
21890 * gdb.base/constvars.exp (local_compiler_xfail_check): New
21891 proc; use new service proc test_debug_format.
21892 Replace all other "gcc_compiled" tests with this test.
21893 * gdb.base/volatile.exp (local_compiler_xfail_check): New
21894 proc; use new service proc test_debug_format.
21895 Replace all other "gcc_compiled" tests with this test.
21896
21897 2001-09-27 Michael Snyder <msnyder@redhat.com>
21898
21899 * gdb.base/cvexpr.exp: New file.
21900 * gdb.base/cvexpr.c: New file
21901 Test for expressions using const and volatile keywords.
21902
21903 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
21904
21905 * gdb.base/constvars.exp: Check for different orders of keywords
21906 and additional "int" strings in output.
21907
21908 2001-09-22 Andrew Cagney <ac131313@redhat.com>
21909
21910 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
21911 responses from "help maint".
21912
21913 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
21914
21915 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
21916 to localhost:NNN instead of :NNN, in case Xvfb is listening
21917 only on TCP.
21918
21919 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
21920
21921 * gdb.base/recurse.exp: When checking leaving the watchpoint
21922 scope, recognize when gdb is in function's epilogue and pass.
21923
21924 2001-09-18 Keith Seitz <keiths@redhat.com>
21925
21926 * lib/insight-support.exp (_gdbtk_export_target_info): Add
21927 support for running tests against sid targets.
21928 (gdbtk_done): Ditto.
21929
21930 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
21931
21932 * gdb.base/ending-run.c (main): Set stdout buffersize
21933 to the same reasonable value for any target.
21934 * gdb.base/ending-run.exp: Add a regular expression
21935 to make testsuite happy on Sanyo Stormy16 target.
21936
21937 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
21938
21939 * gdb.base/display.c (do_loops): Add float variable `f'.
21940 Increment f in loop.
21941 * gdb.base/display.exp: Increment timeout by 60 seconds.
21942 Change float display test to use variable `f'.
21943
21944 2001-09-17 Jim Blandy <jimb@redhat.com>
21945
21946 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
21947 overflowing the limited breakpoint tables on some ROM monitors
21948 (like the ROM68K).
21949
21950 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
21951
21952 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
21953 the "-ac" (disable access control) flag.
21954
21955 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
21956
21957 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
21958 ints.
21959
21960 2001-08-30 Keith Seitz <keiths@redhat.com>
21961
21962 * lib/gdb.exp: Move all insight-related functionality into
21963 separate file.
21964 * lib/insight-support.exp: New file.
21965
21966 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
21967
21968 * config/sid.exp (sid_start): Never set sid verbosity; disable
21969 expect_background {} that consumed its stdout; tolerate </dev/null.
21970 Attempt to set endianness override in "sid" protocol mode. Cleanup.
21971
21972 2001-08-18 Andrew Cagney <ac131313@redhat.com>
21973
21974 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
21975 CLI jump command to start it.
21976 (mi_run_to_main): Fail immediatly when unexpected output.
21977
21978 2001-08-18 Andrew Cagney <ac131313@redhat.com>
21979
21980 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
21981 beginning of function. Fix PR gdb/191.
21982
21983 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
21984
21985 * config/sid.exp (sid_start): Don't warn if we cannot figure out
21986 what to force sid endianness to.
21987
21988 2001-08-15 Keith Seitz <keiths@redhat.com>
21989
21990 * lib/gdb.exp (gdbtk_start): Don't set environment
21991 variables for TCL_LIBRARY and friends. Insight will
21992 now figure these out for itself.
21993
21994 2001-08-02 Michael Snyder <msnyder@redhat.com>
21995
21996 * gdb.base/completion.exp: Remove the symbol "a64l" from
21997 the expect string; this is target-specific, and not related
21998 to what is being tested.
21999
22000 2001-08-02 Dave Brolley <brolley@redhat.com>
22001
22002 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
22003
22004 2001-07-25 Michael Snyder <msnyder@redhat.com>
22005
22006 * gdb.base/consecutive.exp: New file. Test stepping over
22007 breakpoints on consecutive instructions.
22008 * gdb.base/consecutive.c: New file.
22009
22010 * gdb.base/call-rt-st.exp: Use double-backslash to quote
22011 curly braces in regular expressions.
22012
22013 2001-07-25 Michael Snyder <msnyder@redhat.com>
22014
22015 * gdb.base/ending-run.exp: Accept "Program exited normally" as
22016 legitimate output from stepping out of main.
22017
22018 2001-07-22 Keith Seitz <keiths@redhat.com>
22019
22020 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
22021 the empty string, do not run the tests.
22022
22023 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22024
22025 * gdb.base/long_long.exp: Detect size of pointer. Take into
22026 account 2-byte pointers when testing for p/a results.
22027
22028 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22029
22030 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
22031 and defined to 1K for m68hc11.
22032 (random_data): Reduce table to 1K for embedded platforms (68hc11).
22033 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
22034 (sizeof_random_data): New variable to tell the size of the data table;
22035 don't test past this size; always run to main.
22036
22037 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22038
22039 * gdb.base/return2.exp: return of long long and double fails for
22040 68HC11; don't execute these tests on that platform.
22041 * gdb.base/return.exp: Return of a double fails for 68hc11.
22042
22043 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
22044
22045 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
22046 tests that print a float.
22047 * call-rt-st.exp: Likewise.
22048
22049 2001-07-12 Mark Kettenis <kettenis@gnu.org>
22050
22051 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
22052 running this test on Linux.
22053
22054 2001-06-24 Michael Chastain <chastain@redhat.com>
22055
22056 * gdb.base/arithmet.exp: Remove some tests to make all test names
22057 unique.
22058
22059 2001-07-03 Michael Snyder <msnyder@redhat.com>
22060
22061 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
22062 the output of the ptype command.
22063
22064 2001-07-02 Michael Snyder <msnyder@redhat.com>
22065
22066 * gdb.base/completion.exp: Don't assume that break.c is the only
22067 source file that may contain functions named "marker".
22068 * gdb.base/corefile.exp: Quote the curly braces in regexp.
22069
22070 2001-06-28 Andrew Cagney <ac131313@redhat.com>
22071
22072 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
22073 of files to delete.
22074
22075 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
22076 * gdb.disasm/h8300s.exp: New file.
22077 gdb.disasm/h8300s.s: Likewise.
22078
22079 2001-06-27 Andrew Cagney <ac131313@redhat.com>
22080
22081 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
22082 empty breakpoint tables.
22083
22084 2001-06-25 Andrew Cagney <ac131313@redhat.com>
22085
22086 * lib/mi-support.exp: Update args=... part of stop-reason
22087 patterns. Accept either a list or a tuple.
22088
22089 2001-06-23 Andrew Cagney <ac131313@redhat.com>
22090
22091 * lib/mi-support.exp: Remove local emacs variable defining
22092 change-log-default-name.
22093
22094 2001-06-22 Michael Chastain <chastain@redhat.com>
22095
22096 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
22097 This is operationally compatible with the previous version.
22098
22099 2001-06-13 Jim Blandy <jimb@redhat.com>
22100
22101 * lib/gdb.exp (gdb_test): Doc fix.
22102
22103 2001-06-10 Michael Chastain <chastain@redhat.com>
22104
22105 * gdb.base/exprs.exp: Remove a duplicate test.
22106
22107 2001-06-06 Jim Blandy <jimb@redhat.com>
22108
22109 * gdb.base/return2.exp (main): Use values to test float and double
22110 returns that are not NaN's, to avoid being confused by IEEE
22111 comparison rules.
22112
22113 2001-06-04 Michael Snyder <msnyder@redhat.com>
22114
22115 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
22116 non-zero if control_c fails. Terminate the test on failure,
22117 rather than wait for 12 more tests to time out.
22118
22119 2001-06-06 Jim Blandy <jimb@redhat.com>
22120
22121 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
22122 Don't forget to match the GDB prompt.
22123
22124 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
22125
22126 2001-06-04 Jim Blandy <jimb@redhat.com>
22127
22128 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
22129 command.
22130
22131 2001-05-31 Kevin Buettner <kevinb@redhat.com>
22132
22133 * gdb.base/annota1.exp (info break): Match four or more spaces
22134 after "Address".
22135
22136 2001-05-31 Michael Chastain <chastain@redhat.com>
22137
22138 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
22139 (dm_type_int_star): Likewise.
22140 (dm_type_long_star): Likewise.
22141 (dm_type_void_star): Likewise.
22142
22143 2001-05-29 Kevin Buettner <kevinb@redhat.com>
22144
22145 * gdb.base/completion.exp (INPUTRC): Set this environment variable
22146 to a known value in order to get consistent results regardless
22147 of the setting of INPUTRC or the presence or contents of .inputrc.
22148
22149 2001-05-24 Michael Snyder <msnyder@redhat.com>
22150
22151 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
22152 Don't require that the main thread and the manager thread are the
22153 first in the list.
22154
22155 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
22156 debugging. If test fails, issue an "unsupported" not a "fail".
22157
22158 2001-05-24 Jim Blandy <jimb@redhat.com>
22159
22160 Don't assume that short is shorter than int.
22161 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
22162 assume that shorts are smaller than ints. On a 16-bit machine,
22163 this isn't true.
22164 ("print unsigned char == (~0)"): Add test that verifies that ~0,
22165 an int, is not equal to ~0 stored in an unsigned char. This tests
22166 the same thing that the previous test meant to, but works on
22167 16-bit machines, too.
22168 ("print unsigned char != (~0)"): Same test, complemented.
22169
22170 2001-05-24 Michael Snyder <msnyder@redhat.com>
22171
22172 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
22173 test for (full_coverage == 0). This makes the test run faster,
22174 and prevents dejagnu getting out of step.
22175
22176 2001-05-23 Kevin Buettner <kevinb@redhat.com>
22177
22178 * gdb.base/finish.exp (finish_void): Revise pattern for
22179 stopping on the call statement to not permit stopping at
22180 the start of the instructions comprising the call sequence.
22181
22182 2001-05-19 Michael Chastain <chastain@redhat.com>
22183
22184 * gdb.base/callfuncs.exp: Make all test names unique.
22185 * gdb.base/commands.exp: Make all test names unique.
22186 * gdb.base/condbreak.exp: Make all test names unique.
22187 * gdb.base/dbx.exp: Make all test names unique.
22188 * gdb.base/default.exp: Make all test names unique.
22189 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
22190 and TIMEOUT messages to their corresponding PASS message.
22191 * gdb.base/ending-run.exp: Make all test names unique.
22192 * gdb.base/long_long.exp: Remove duplicate test.
22193
22194 2001-05-21 Kevin Buettner <kevinb@redhat.com>
22195
22196 * gdb.base/finish.exp (finish_void): Allow "finish" command to
22197 stop on the call statement as well as the statement after the
22198 call.
22199
22200 2001-05-21 Michael Snyder <msnyder@redhat.com>
22201
22202 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
22203
22204 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
22205
22206 * gdb.base/completion.exp: Revamp test. Make it execute on all
22207 platforms.
22208
22209 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
22210
22211 * config/gdbserver.exp (gdb_load): Handle the case
22212 in which the arguments to gdbserver are given in the
22213 baseboard configuration file.
22214 Also handle the case in which the server needs to do a
22215 load.
22216
22217 2001-05-07 Keith Seitz <keiths@cygnus.com>
22218
22219 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
22220 set up the display for testing.
22221 (gdbtk_start): Convert all paths to paths that tcl will like.
22222 Export target information to environment.
22223 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
22224 necessary.
22225 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
22226 (to_tcl_path): New proc to convert a given pathname into
22227 a path acceptible as an argument to a tcl command.
22228 (_gdbtk_export_target_info): New proc to export target info
22229 into the environment for gdbtk testing.
22230 (gdbtk_done): New proc to signal end-of-test.
22231
22232 2001-05-06 Jim Blandy <jimb@redhat.com>
22233
22234 * restore.c: Make the code of caller0 correspond to its comment.
22235
22236 2001-05-03 Michael Snyder <msnyder@redhat.com>
22237
22238 * config/sid.exp (gdb_target_sid): Check for error messages.
22239 On error or timeout, don't make expect exit (which will terminate
22240 all subsequent tests); instead just make gdb exit.
22241 (gdb_load): Check for error messages. On error or timeout,
22242 return a negative value.
22243
22244 2001-04-24 Jim Blandy <jimb@redhat.com>
22245
22246 * gdb.c++/templates.exp: If we see the prompt for the overload
22247 list, but we haven't recognized any of the longer patterns,
22248 arrange for this test to fail, not hang.
22249
22250 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
22251 variations.
22252
22253 2001-04-22 Michael Chastain <chastain@redhat.com>
22254
22255 * gdb.c++/local.exp: Use the 'runto' library function.
22256 * gdb.c++/namespace.exp: Likewise.
22257 * gdb.c++/overload.exp: Likewise.
22258
22259 2001-03-26 Kevin Buettner <kevinb@redhat.com>
22260
22261 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
22262 * gdb.base/step-line.exp: New file. Test step/next in presence of
22263 #line directives.
22264 * gdb.base/step-line.c: New file. Test program for the above.
22265 * gdb.base/step-line.inp: New file. We pretend that this file has
22266 been transformed by some other tool into step-line.c.
22267
22268 2001-03-21 Jim Blandy <jimb@redhat.com>
22269
22270 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
22271 unmangled operator names.
22272
22273 2001-03-20 Jim Blandy <jimb@redhat.com>
22274
22275 * gdb.threads/linux-dp.exp: Recognize an additional message
22276 generated by GDB when it doesn't understand how to debug threads
22277 on the target system.
22278
22279 2001-03-19 Andrew Cagney <ac131313@redhat.com>
22280
22281 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
22282
22283 2001-03-12 Michael Chastain <chastain@redhat.com>
22284
22285 * gdb.c++/derivation.exp: Use the 'runto' library function.
22286
22287 2001-03-12 Michael Chastain <chastain@redhat.com>
22288
22289 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
22290
22291 2001-02-24 Michael Chastain <chastain@redhat.com>
22292
22293 * gdb.c++/ref-types.exp: Change handwritten code to library
22294 function 'runto'.
22295
22296 2001-03-16 Orjan Friberg <orjanf@axis.com>
22297
22298 * gdb.base/signals.exp: Set count to 0 explicitly.
22299
22300 2001-03-15 Mark Salter <msalter@redhat.com>
22301
22302 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
22303 (gdb_target_monitor): Add check of gdb_target_cmd return value.
22304 (gdb_load): Add support for additional target_info: gdb_download_size
22305 and gdb_load_timeout.
22306
22307 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
22308
22309 * gdb.base/annota1.exp: Move test of isnative to earlier in the
22310 file -- to prevent failing when the compile fails but we have no
22311 intention of running the tests anyway.
22312
22313 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
22314 tests if set.
22315
22316 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
22317 integers.
22318
22319 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
22320 * gdb.c++/namespace.exp: Ditto.
22321
22322 2001-03-07 Orjan Friberg <orjanf@axis.com>
22323
22324 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
22325 * gdb.base/pointers.exp: Relax pattern match of decimals.
22326
22327 2001-03-06 Kevin Buettner <kevinb@redhat.com>
22328
22329 * Makefile.in, config/abug.exp, config/cfdbug.exp,
22330 config/cpu32bug.exp, config/dve.exp, config/est.exp,
22331 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
22332 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
22333 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
22334 config/sh.exp, config/sid.exp, config/slite.exp,
22335 config/sparclet.exp, config/udi.exp, config/unknown.exp,
22336 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
22337 config/vxworks.exp, config/vxworks29k.exp,
22338 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
22339 gdb.base/all-bin.exp, gdb.base/annota1.exp,
22340 gdb.base/arithmet.exp, gdb.base/assign.exp,
22341 gdb.base/async.exp, gdb.base/attach.exp,
22342 gdb.base/bitfields.exp, gdb.base/bitops.exp,
22343 gdb.base/break.exp, gdb.base/call-ar-st.exp,
22344 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
22345 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
22346 gdb.base/commands.exp, gdb.base/completion.exp,
22347 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
22348 gdb.base/constvars.exp, gdb.base/corefile.exp,
22349 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
22350 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
22351 gdb.base/ending-run.exp, gdb.base/environ.exp,
22352 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
22353 gdb.base/finish.exp, gdb.base/foll-exec.exp,
22354 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
22355 gdb.base/funcargs.exp, gdb.base/help.exp,
22356 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
22357 gdb.base/logical.exp, gdb.base/long_long.exp,
22358 gdb.base/maint.exp, gdb.base/mips_pro.exp,
22359 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
22360 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
22361 gdb.base/pointers.exp, gdb.base/printcmds.exp,
22362 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
22363 gdb.base/regs.exp, gdb.base/relational.exp,
22364 gdb.base/remote.exp, gdb.base/reread.exp,
22365 gdb.base/restore.exp, gdb.base/return2.exp,
22366 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
22367 gdb.base/selftest.exp, gdb.base/setshow.exp,
22368 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
22369 gdb.base/sigall.exp, gdb.base/signals.exp,
22370 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
22371 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
22372 gdb.base/step-test.exp, gdb.base/structs.c,
22373 gdb.base/structs.exp, gdb.base/structs2.exp,
22374 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
22375 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
22376 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
22377 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
22378 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
22379 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
22380 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
22381 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
22382 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
22383 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
22384 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
22385 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
22386 gdb.fortran/types.exp, gdb.java/jmisc.exp,
22387 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
22388 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
22389 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
22390 gdb.trace/circ.exp, gdb.trace/collection.exp,
22391 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
22392 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
22393 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
22394 gdb.trace/report.exp, gdb.trace/save-trace.exp,
22395 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
22396 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
22397 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
22398 notices.
22399
22400 2001-02-27 Michael Snyder <msnyder@cygnus.com>
22401
22402 * gdb.base/varargs.c (find_max_double): Fix printf format string:
22403 first arg is int not float.
22404
22405 2001-02-22 Michael Snyder <msnyder@cygnus.com>
22406
22407 * gdb.base/reread.exp: Unsupported for non-native targets;
22408 doesn't work for remote debugging.
22409
22410 2001-02-19 Fernando Nasser <fnasser@redhat.com>
22411
22412 From Drew Moseley <dmoseley@redhat.com>
22413 * gdb.base/ending-run.exp: Properly handle the BSP state when
22414 stepping past the end of main.
22415
22416 2001-02-19 John Moore <jmoore@redhat.com>
22417
22418 * gdb.base/commands.exp (infrun_breakpoint_command_test):
22419 Converted HPUX fix for non-expected items following multiple
22420 step commands into general solution for all platforms.
22421
22422 2001-02-18 Michael Chastain <chastain@redhat.com>
22423
22424 * gdb.c++/classes.exp (do_tests): Change runto statements
22425 from "runto 'foo(void)'" to "runto 'foo'". This makes the
22426 statements demangler agnostic.
22427 * gdb.c++/virtfunc.exp (do_tests): Likewise.
22428 (gdb_virtfunc_restart): Likewise.
22429
22430 2001-02-14 Michael Chastain <chastain@redhat.com>
22431
22432 * gdb.c++/inherit.exp (do_tests): Change runto statements
22433 from "runto 'foo(void)'" to "runto 'foo'". This makes the
22434 statements demangler agnostic.
22435
22436 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
22437
22438 * gdb.threads/pthreads.exp: Unify pass/fail messages for
22439 ``continue to bkpt at common_routine in thread 2'' and ``stopped
22440 before calling common_routine 15 times'' tests.
22441
22442 2001-02-11 Michael Chastain <chastain@redhat.com>
22443
22444 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
22445 Helps the test script figure out which demangler is in use.
22446 (dm_type_foo_ref): Ditto.
22447 (dm_type_int_star): Ditto.
22448 (dm_type_long_star): Ditto.
22449 (dm_type_unsigned_int): Ditto.
22450 (dm_type_void): Ditto.
22451 (dm_type_void_star): Ditto.
22452 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
22453 Probe the gdb demangler and set variables to accommodate
22454 formatting differences.
22455 (info_func_regexp): New function. Same as info_func, but
22456 matches against a regexp.
22457 (info_func): Match against a literal string.
22458 (print_addr_2): New function. Match against a literal string,
22459 which can be different from the input to gdb.
22460 (print_addr): Simply call print_addr_2 with the same argument twice.
22461 (test_lookup_operator_functions): Use demangler formatting variables.
22462 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
22463 the tests in the same order as the C++ class declaration.
22464 (test_paddr_operator_functions): Ditto.
22465 (test_paddr_overloaded_functions): Ditto.
22466 (test_paddr_hairy_functions): Use demangler formatting variables.
22467 Add reference to gdb/19 for related tests.
22468 (do_tests): Call probe_demangler.
22469
22470 2001-01-30 Kevin Buettner <kevinb@redhat.com>
22471
22472 * gdb.c++/templates.cc (printf): Remove unused function definition.
22473
22474 2001-01-26 Felix Lee <flee@redhat.com>
22475
22476 * sid.exp (sid_exit): Pass host, not target, to remote_close.
22477
22478 2001-01-25 matthew green <mrg@redhat.com>
22479
22480 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
22481 up sid.
22482 (sid_exit): Call `remote_pop_conn' after GDB is gone.
22483
22484 2001-01-25 matthew green <mrg@redhat.com>
22485
22486 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
22487 Deprecate $sid_spawn_id.
22488 (sid_exit): Remove code necessary only for `spawn.'
22489
22490 2001-01-25 matthew green <mrg@redhat.com>
22491
22492 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
22493
22494 2001-01-28 Michael Chastain <chastain@redhat.com>
22495
22496 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
22497 to call when tests fail. It takes gdb out of the overloaded
22498 function choice menu back to the main prompt, so that the test
22499 program stays synchronized.
22500 (set_bp_overloaded): New proc to collect all the common
22501 code for setting a breakpoint on an overloaded name. Calls
22502 take_gdb_out_of_choice_menu when needed.
22503 (menu_overload1arg): New variable to collect the repeated
22504 instances of the expected menu for an overloaded name. Change
22505 the regular expression to handle changes in g++ type encoding:
22506 "void" can be either "void" or "", and "unsigned int" can be
22507 either "unsigned int" or "unsigned".
22508 (continue_to_bp_overloaded): Change regular expressions to handle
22509 changes in g++ type encoding.
22510 (no proc): Call take_gdb_out_of_choice_menu when needed.
22511 Remove redundant calls to "info break". Accept either "canceled"
22512 or "cancelled". Change regular expressions in "info break"
22513 calls to handle changes in g++ type encoding. Give all tests
22514 unique strings.
22515
22516 2001-01-17 Ben Elliston <bje@redhat.com>
22517
22518 * config/sid.exp: New file.
22519
22520 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
22521
22522 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
22523
22524 2000-12-21 Michael Snyder <msnyder@cygnus.com>
22525
22526 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
22527 Add a RE to accept a non-ascii char if one is ever presented.
22528
22529 2000-12-20 Fernando Nasser <fnasser@redhat.com>
22530
22531 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
22532
22533 2000-12-18 Michael Snyder <msnyder@cygnus.com>
22534
22535 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
22536 in regexp. One '\' does not suffice on Linux.
22537
22538 2000-12-09 Michael Chastain <chastain@redhat.com>
22539
22540 * gdb.base/break.exp (test_clear_command): Use a marker function
22541 rather than 'main' for the test function. Also move this
22542 test to an execution point where the marker function names are
22543 guaranteed to be bound to functions. (Executing tests after a
22544 'finish' from main runs into name conflicts with local names
22545 in __libc_start_main).
22546
22547 2000-12-07 Michael Snyder <msnyder@cygnus.com>
22548
22549 * gdb.base/finish.exp: New test for gdb's "finish" command.
22550 * gdb.base/return2.exp: New test for gdb's "return" command.
22551 * gdb.base/return2.c: New source file for above.
22552
22553 2000-12-05 Michael Snyder <msnyder@cygnus.com>
22554
22555 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
22556 * gdb.base/miscexprs.exp: Ditto.
22557 * gdb.base/pointers.exp: Ditto.
22558 * gdb.c++/derivation.exp: Ditto.
22559 * gdb.c++/local.exp: Ditto.
22560 * gdb.c++/namespace.exp: Ditto.
22561 * gdb.c++/overload.exp: Ditto.
22562 * gdb.c++/ref-types.exp: Ditto.
22563
22564 2000-12-05 Michael Snyder <msnyder@cygnus.com>
22565
22566 * gdb.base/constvars.exp: Test result of "up" command.
22567 * gdb.base/miscexprs.exp: Ditto.
22568 * gdb.base/pointers.exp: Ditto.
22569 * gdb.base/scope.exp: Ditto.
22570 * gdb.c++/derivation.exp: Ditto.
22571 * gdb.c++/local.exp: Ditto.
22572 * gdb.c++/namespace.exp: Ditto.
22573 * gdb.c++/overload.exp: Ditto.
22574 * gdb.c++/ref-types.exp: Ditto.
22575
22576 2000-11-22 Michael Chastain <chastain@redhat.com>
22577
22578 * mips_pro.exp: Accept either "middle -> top -> main" or
22579 "middle -> main" in the backtrace, because gcc can optimize
22580 tail calls to jumps. Remove setup_xfail for the hppa case.
22581 Add a comment with the original warning messages from PR 3016,
22582 which was filed in 1993, to preserve them for posterity.
22583
22584 2000-11-17 Nick Duffek <nsd@redhat.com>
22585
22586 * lib/gdb.exp (gdb_test): Override timeout with board info.
22587
22588 2000-11-17 Nick Duffek <nsd@redhat.com>
22589
22590 * gdb.base/display.exp: Don't kill running stub. Add "again" to
22591 the second kill and detach messages.
22592
22593 2000-11-17 Nick Duffek <nsd@redhat.com>
22594
22595 * configure.in: Add AC_EXEEXT.
22596 * configure: Regenerate.
22597 * Makefile.in (just-check): Export EXEEXT.
22598 * lib/gdb.exp ($EXEEXT): Import from environment.
22599 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
22600 expect "maint dump-me" on Cygwin.
22601 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
22602 $EXEEXT.
22603
22604 2000-11-17 Nick Duffek <nsd@redhat.com>
22605
22606 * gdb.base/break.exp: Test backtrace and finish from called
22607 function on all platforms, not just HP-UX.
22608
22609 2000-11-03 Michael Snyder <msnyder@cygnus.com>
22610
22611 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
22612 code from gdb_target_monitor, so it can be used independantly
22613 for gdbserver. Also comment out an unnecessary PUTS.
22614
22615 2000-11-03 Michael Snyder <msnyder@cygnus.com>
22616
22617 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
22618 * gdb.base/corefile.exp: Expect the message "Program is being
22619 debugged already" when we send the "corefile" command, since
22620 the preceeding gdb_load may have connected gdb to a remote target.
22621 * gdb.base/display.exp: Disable hardware watchpoints if new
22622 board info variable "no_hardware_watchpoints" is true.
22623 Replace single-letter commands with more readable ones.
22624 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
22625 if new board info variable "no_hardware_watchpoints" is true.
22626 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
22627 to see if stdio (printf) testing is possible.
22628 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
22629 board info variable "no_hardware_watchpoints" is true. Use new
22630 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
22631
22632 2000-11-13 Fernando Nasser <fnasser@redhat.com>
22633
22634 From Orjan Friberg <orjanf@axis.com>:
22635 * gdb.base/printcmds.exp: Escape curly braces followed by a number
22636 in array print pattern match.
22637
22638 2000-11-09 Fernando Nasser <fnasser@redhat.com>
22639
22640 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
22641 spelling "cancelled" to U.S. spelling "canceled" to match changes
22642 made to gdb.
22643 * gdb.c++/ovldbreak.exp: Ditto.
22644
22645 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
22646
22647 * gdb.base/callfuncs.c (main): Moved to end of file, call
22648 t_double_values to initialize the FPU before inferior calls are made.
22649 * gdb.base/callfuncs.exp: Test for register preservation after calling
22650 inferior functions. Add tests for continuining, finishing and
22651 returning from a stop in a call dummy.
22652
22653 2000-10-24 Michael Snyder <msnyder@cygnus.com>
22654
22655 * gdb.base/commands.exp: Break up long lines, and re-indent.
22656
22657 2000-10-19 Michael Snyder <msnyder@cygnus.com>
22658
22659 * config/gdbserver.exp: Rewritten from the ground up, to make it
22660 compatible with the current dejagnu tree, and to make it work with
22661 the new "gdbserver" in libremote.
22662
22663 2000-10-16 Michael Snyder <msnyder@cygnus.com>
22664
22665 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
22666 * gdb.base/varargs.exp: Skip entire test if no printf support.
22667 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
22668 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
22669
22670 2000-10-13 Michael Snyder <msnyder@cygnus.com>
22671
22672 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
22673 no floating point support.
22674 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
22675 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
22676 * gdb.base/call-rt-st.exp: Ditto.
22677 * gdb.base/call-strs.exp: Ditto.
22678
22679 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
22680
22681 * gdb.base/sizeof.c: include <stdio.h>.
22682
22683 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
22684 'finish', otherwise uncaptured gdb_prompt would potentially
22685 throw remaining test points out of sync.
22686
22687 2000-07-26 Scott Bambrough <scottb@netwinder.org>
22688
22689 * gdb.base/recurse.exp: Run tests for all targets.
22690 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
22691 gnu-oldld case on ARM.
22692 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
22693 for ARM targets.
22694
22695 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
22696
22697 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
22698 * gdb.java/configure: Rebuild.
22699
22700 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
22701
22702 * gdb.java/jv-exp.exp: New file.
22703
22704 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
22705
22706 * configure: Rebuilt.
22707 * configure.in (configdirs): Add gdb.java.
22708 * gdb.java/jmisc.java: New file.
22709 * gdb.java/jmisc.exp: New file.
22710 * gdb.java/Makefile.in: New file.
22711 * gdb.java/configure: Rebuilt.
22712 * gdb.java/configure.in: New file.
22713 * lib/java.exp: New file.
22714
22715 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
22716
22717 * gdb.base/exprs.exp: Test casts to a pointer including over and
22718 underflow.
22719
22720 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
22721
22722 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
22723 and the compilers sizes.
22724
22725 2000-07-09 Nick Duffek <nsd@redhat.com>
22726
22727 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
22728 (use_methods): New function.
22729 (main): Call use_methods().
22730 * gdb.c++/classes.exp (test_method_param_class): New procedure.
22731 (do_tests): Call test_method_param_class.
22732
22733 2000-07-09 Nick Duffek <nsd@redhat.com>
22734
22735 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
22736 spelling.
22737 (test_enums): New procedure. Move enum tests from end of script
22738 to here. Set breakpoint on function name instead of line number.
22739 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
22740 (enums2): New marker function.
22741 (enums1): New function.
22742 (main): Call enums1(). Move enum tests to enums1().
22743
22744 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
22745
22746 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
22747 compile/link program. Update line numbers.
22748 * gdb.asm/d10v.inc: Define ``startup''.
22749 * gdb.asm/asmsrc1.s: Add definition of _start.
22750
22751 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
22752
22753 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
22754
22755 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22756
22757 * gdb.base/maint.exp: Add 'maint print architecture' item to output
22758 of 'help maint print' command.
22759
22760 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
22761
22762 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
22763 they use gdb_expect_list.
22764
22765 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
22766
22767 * gdb.base/commands.exp: Use ``set remote
22768 memory-read-packet-size'' instead of ``set endian big'' to test
22769 long commands.
22770
22771 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
22772
22773 * gdb.c++/templates.exp (do_tests): Make all of these work under
22774 g++, and stop skipping them.
22775
22776 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
22777 work under g++.
22778
22779 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
22780 initialization.
22781
22782 2000-06-02 Michael Snyder <msnyder@cygnus.com>
22783
22784 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
22785 the regular expression: accept an (almost) arbitrary sequence of
22786 "frames-invalid" and "breakpoints-invalid" messages both before
22787 and after the "starting" message.
22788
22789 2000-06-02 Michael Snyder <msnyder@cygnus.com>
22790
22791 * gdb.c++/local.exp: This test has never been known to work with g++.
22792
22793 2000-05-18 Michael Snyder <msnyder@cygnus.com>
22794
22795 * gdb.base/annota1.exp (annotate-signal-handler-caller):
22796 Relax the regular expression a little, make it pass on Solaris 8.
22797
22798 2000-05-12 Kevin Buettner <kevinb@redhat.com>
22799
22800 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
22801 a call, do not require that gdb stop on the line after the call.
22802 Instead, it is permissible for gdb to stop on the line of the
22803 call itself.
22804
22805 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
22806
22807 * gdb.base/break.exp (bp on small function, optimized file):
22808 Add a second pass pattern. The behavior differs here between stabs
22809 and dwarf for one-line functions. Stabs preserves two line symbols
22810 (one before the prologue and one after) with the same line number,
22811 but dwarf regards these as duplicates and discards one of them.
22812 Therefore the address after the prologue (where the breakpoint is)
22813 has no exactly matching line symbol, and GDB reports the breakpoint
22814 as if it were in the middle of a line rather than at the beginning.
22815
22816 2000-05-08 Michael Snyder <msnyder@cygnus.com>
22817
22818 * gdb.base/interrupt.exp: Make "pass" message say "send"
22819 rather than "send_gdb" (for consistancy).
22820
22821 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
22822
22823 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
22824 * gdb.c++/templates.cc: Properly check for GCC version number.
22825 * lib/compiler.cc: Likewise
22826
22827 2000-04-28 Michael Snyder <msnyder@cygnus.com>
22828
22829 * gdb.base/break.exp: When compiled with -O2 optimization,
22830 gdb may not stop at the first line of main, due to code motion.
22831
22832 2000-04-26 Michael Snyder <msnyder@cygnus.com>
22833
22834 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
22835 This test depends on parsing the printf output from the target.
22836 Since the sparclet stub doesn't do stdio, this will never work.
22837 * gdb.base/call-rt-st.exp: ditto.
22838 * gdb.base/call-strs: ditto.
22839
22840 2000-04-24 Michael Snyder <msnyder@cygnus.com>
22841
22842 * gdb.base/miscexprs.exp: make sizeof long array test portable.
22843
22844 * gdb.base/ending-run.exp: After connecting to a remote target,
22845 but before running, the target will appear to be in a random
22846 location. Specify both a file and a line for breakpoints.
22847 Also, the function that calls main may be called 'init'
22848 rather than 'start'.
22849
22850 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22851
22852 * gdb.base/help.exp: Update output for add-symbol-file command.
22853
22854 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
22855
22856 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22857 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
22858
22859 2000-04-07 J.T. Conklin <jtc@redback.com>
22860
22861 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
22862
22863 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
22864
22865 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
22866
22867 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
22868 values that can be represented exactly.
22869 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
22870 above change, and to not check against the directory part of the source
22871 file name.
22872 (step into print_long_arg_list): Likewise.
22873 (print print_small_structs from print_long_arg_list): Likewise.
22874 (print print_long_arg_list): Likewise.
22875
22876 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22877
22878 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
22879
22880 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
22881
22882 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
22883
22884 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
22885
22886 * gdb.base/commands.exp (deprecated_command_test): Add test for
22887 deprecate with no arguments.
22888
22889 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
22890
22891 * gdb.base/break.exp: Add new test for setting breakpoints on
22892 optimized code so we can test breakpoints work even when function
22893 prologues may be optimized away
22894
22895 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
22896
22897 From David Whedon <dwhedon@gordian.com>
22898 * gdb.base/commands.exp : Added command deprecator tests.
22899
22900 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
22901
22902 * gdb.base/help.exp: Added test for new apropos command.
22903
22904 2000-03-21 Kevin Buettner <kevinb@redhat.com>
22905
22906 * gdb.base/pointers.c (usevar): New function.
22907 (main): Make sure that global variables v_int_pointer2, rptr,
22908 and y are all referenced someplace in the program by calling
22909 usevar() on them. [Some linkers delete symbols which are
22910 never referenced. The space remains, but there's no way to
22911 get a (symbolic) handle on the variable from the debugger.]
22912
22913 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22914
22915 * gdb.base/printcmds.c: Add typedeffed arrays.
22916
22917 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
22918 procedure to test arrays that are typedef'd.
22919
22920 2000-03-13 James Ingham <jingham@leda.cygnus.com>
22921
22922 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
22923 the library directories.
22924
22925 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
22926
22927 * configure.in (configdirs): Add sub directory gdb.mi.
22928 * configure: Re-generate.
22929
22930 * gdb.mi: New directory.
22931
22932 2000-02-25 Scott Bambrough <scottb@netwinder.org>
22933
22934 * gdb.base/long_long.exp: Correct test suite failure when printing
22935 a long long value as a double on ARM platforms.
22936
22937 2000-02-16 Jim Blandy <jimb@redhat.com>
22938
22939 * gdb.base/break.exp ("breakpoint line number"): Make sure the
22940 default source file is set properly before running this test.
22941
22942 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22943
22944 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
22945 gdbtk/library directory, not in gdbtcl2.
22946
22947 2000-02-04 Jim Blandy <jimb@redhat.com>
22948
22949 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
22950 backslash from regexp pattern.
22951
22952 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
22953 procedure. Use it to run all the "continue to bp overloaded"
22954 tests. Note that this changes the names of the tests slightly.
22955 If the breakpoint hit message includes a hex PC value, because
22956 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
22957 from the real source code, still consider that a pass.
22958
22959 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
22960 XFAIL here if the breakpoint message contains a hex address. Note
22961 similar change on 1999-11-02.
22962
22963 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
22964
22965 * gdb.base/ptype.exp: Establish a default source file before
22966 calling get_debug_format.
22967
22968 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
22969
22970 * gdb.base/watchpoint.exp: Remove duplication of test messages.
22971
22972 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22973
22974 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
22975 of successive stepi commands -- while in the prologue we should see
22976 the function entry bracket.
22977
22978 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
22979
22980 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
22981 reach __change_mode() when stepping through the end of main().
22982
22983 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
22984
22985 * gdb.base/default.exp: Fix expected pattern.
22986 * gdb.base/help.exp: Same.
22987
22988 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22989
22990 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
22991 Don't use xfail's because that affects only the following test.
22992
22993 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
22994 solaris or linux.
22995
22996 * gdb.base/selftest.exp: Update to reflect changes to main.c.
22997
22998 2000-01-07 Michael Snyder <msnyder@cygnus.com>
22999
23000 * gdb.base/display.exp: Some yacc parsers like to say
23001 "A syntax error" rather than "A parse error". Accept both.
23002
23003 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
23004
23005 * gdb.base/default.exp: Remove OS dependent string from "target
23006 remote" test.
23007 * gdb.base/help.exp: Same for "help target remote" test.
23008
23009 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23010
23011 From Jim Kingdon <kingdon@redhat.com>:
23012
23013 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
23014 prompt (cleanup rather than necessity, but still might keep output
23015 from spilling to next test).
23016
23017 2000-01-02 Fred Fish <fnf@cygnus.com>
23018
23019 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
23020 AIX, which defines them in <sys/types.h>.
23021
23022 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
23023
23024 * gdb.base/default.exp: Match arm* etc instead of arm in "info
23025 float" test.
23026
23027 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
23028
23029 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
23030
23031 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
23032 outermost frame disallowed".
23033
23034 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
23035
23036 * gdb.base/setvar.exp: New tests for setting the value of a struct
23037 with a constant list.
23038
23039 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23040
23041 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
23042 require the user to type a cast before setting the value of a struct.
23043
23044 1999-12-06 Jim Blandy <jimb@cygnus.com>
23045
23046 * gdb.base/default.exp: Expect the new 'info float' command on
23047 all i386 platforms.
23048
23049 * gdb.threads/linux-dp.exp: Expand our ability to recognize
23050 LinuxThreads libraries that don't support debugging.
23051
23052 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23053
23054 * gdb.base/remote.c: Fill the buffer with truely random data.
23055 Change the buffer type to ``unsigned char'' to simplify size
23056 arithmetic.
23057
23058 * gdb.base/remote.exp: Reduce download numbers by one. Typical
23059 stub only handles 400-1 byte packets. Verify that the download
23060 worked.
23061
23062 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
23063
23064 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
23065 tests, using UNRESOLVED for the untested cases. Also, does not wait
23066 for a timeout if the prompt was received before a recognizable pattern.
23067
23068 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
23069
23070 * lib/gdb.exp (gdb_expect_list): Fix spelling.
23071
23072 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23073
23074 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
23075 watchpoints.
23076
23077 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
23078
23079 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
23080
23081 * gdb.c++/local.exp: Be more flexible in recognizing local class
23082 name mangling. Don't allow horribly truncated method names.
23083 * gdb.c++/derivation.exp: Expect protected inheritance.
23084 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
23085 * gdb.c++/virtfunc.exp: Likewise.
23086 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
23087 when printing a nested enum.
23088
23089 1999-11-22 Jim Blandy <jimb@cygnus.com>
23090
23091 * gdb.base/step-test.exp: Properly await GDB's response to setting
23092 a breakpoint on the call to large_struct_by_value.
23093
23094 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
23095 just because we have debug info for the `start' function.
23096
23097 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
23098
23099 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
23100 "Unknown signal" messages, which indicate (on LinuxThreads) that
23101 GDB doesn't know how to debug threads on this system. This is
23102 better than hanging while philosopher 0 dumps chatter into gdb.log.
23103
23104 1999-11-18 Tom Tromey <tromey@cygnus.com>
23105
23106 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
23107
23108 1999-11-18 Fred Fish <fnf@cygnus.com>
23109
23110 * gdb.base/coremaker2.c: Add sample program for generating
23111 cores that is more self contained than coremaker.c. Eventually
23112 I'll add more code to this and tie it into the testsuite.
23113
23114 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
23115
23116 * gdb.base/dollar.exp: Remove, now in gdb.hp.
23117
23118 1999-11-10 Jimmy Guo <guo@cup.hp.com>
23119
23120 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
23121 from $srcdir/lib/.
23122 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
23123 and gdb.c++/.
23124
23125 * gdb.c++/derivation.exp: remove redundant get compiler info code.
23126
23127 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
23128 'continue with watch' test point.
23129
23130 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
23131
23132 Merged from p2linux-990323-branch:
23133
23134 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
23135
23136 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
23137
23138 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
23139 {limit,fixed}''. Test ``set download-write-size''.
23140
23141 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
23142
23143 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
23144 gdb_expect_list.
23145
23146 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
23147
23148 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
23149
23150 1999-11-03 Mark Salter <msalter@cygnus.com>
23151
23152 * gdb.base/break.exp: Fix "stub continue" pattern.
23153
23154 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
23155
23156 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
23157
23158 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
23159
23160 * gdb.base/display.exp ("finish"): Add timeout clause.
23161
23162 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
23163 plain prompt clause, so this doesn't have to time out in order to
23164 fail.
23165
23166 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
23167 breakpoint hit messages include an address.
23168
23169 * gdb.base/display.exp: Don't forget to escape parens in regular
23170 expressions. Unix regexp notatation sucks.
23171
23172 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23173
23174 * gdb.base/annota1.exp: Test for annotate-signalled: change output
23175 order for 'signalled' message.
23176
23177 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
23178
23179 From Jimmy Guo <guo@cup.hp.com>:
23180 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
23181 * gdb.base/annota1.c: Add code for tests to work with.
23182
23183 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
23184
23185 * gdb.base/remote.exp: New test for remote downloading settings.
23186 * gdb.base/remote.c: New file with large .data.
23187
23188 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
23189
23190 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
23191 for LinuxThreads support, merged from the Code Fusion branch.
23192
23193 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
23194
23195 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
23196 containing exp_continue into a while within an expect. Don't
23197 attempt a start more than three times. Check return value from
23198 gdb_load.
23199
23200 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
23201
23202 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
23203 a pass case.
23204
23205 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
23206
23207 * gdb.base/break.c (main): Added a statement that we can step
23208 off of.
23209 * gdb.base/break.exp: Added tests for setting a breakpoint
23210 at an offset and stepping onto a breakpoint.
23211
23212 1999-10-01 Fred Fish <fnf@cygnus.com>
23213
23214 * gdb.base/help.exp (help add-symbol-file): Update to match current
23215 gdb output.
23216
23217 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
23218
23219 * gdb.base/break.exp: Code locations are in hex, don't forget!
23220 (For HP-UX.)
23221
23222 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
23223
23224 * condbreak.exp: Use break.c as test program.
23225 * condbreak.c: Remove, redundant with break.c.
23226
23227 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
23228
23229 * config/monitor.exp (gdb_target_monitor): Disable X- and
23230 Z-packets if the target needs it.
23231
23232 1999-09-13 James Ingham <jingham@leda.cygnus.com>
23233
23234 * gdb.c++/overload.exp: Added tests for listing overloaded
23235 functions with function pointers in the arg, explicitly calling
23236 out the version you want.
23237
23238 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
23239
23240 * long_long.exp: Add variations of test cases that work for
23241 targets with 16-bit ints and 32-bit doubles.
23242
23243 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
23244
23245 * break.c (main): Compare a possibly-uninitialized argc with an
23246 unlikely value that fits in 16 bits.
23247
23248 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
23249
23250 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
23251 0xfeeb, don't want negative numbers if ints are 16 bits.
23252
23253 * lib/gdb.exp (skip_cplus_tests): New proc.
23254 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23255 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
23256 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
23257 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
23258 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
23259 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
23260 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
23261 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
23262
23263 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
23264
23265 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
23266
23267 * gdb.base/corefile.exp (up): Allow a parameter to appear
23268 in the frame that we're going up to.
23269
23270 From Jim Blandy <jimb@cygnus.com>:
23271
23272 * gdb.base/default.exp (info float): Expect some output now.
23273
23274 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
23275 returning floating-point values to fail on the x86.
23276 * gdb.base/callfwmall.exp (do_function_calls): Same.
23277
23278 * gdb.base/list.exp (test_listsize): Correct expectations for
23279 listing line 1 with listsize 2. Also, listing a single line
23280 works now, as does listing three lines. [Kevin's note: There
23281 were a number of other cases fixed too where the expectations
23282 differed...]
23283
23284 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
23285
23286 * gdb.base/selftest.exp: Add case for when version prints as
23287 constant string instead of char pointer.
23288
23289 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
23290
23291 * gdb.base/ending-run.exp: Add Solaris case for what happens when
23292 stepping out of main.
23293
23294 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
23295 G++ used.
23296
23297 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
23298 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
23299
23300 * gdb.c++/ovldbreak.exp: Update match string in test that
23301 includes a warning of multiple breakpoints.
23302
23303 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
23304
23305 * gdb.base/display.exp: Improve precision of step-after-finish
23306 added yesterday.
23307
23308 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
23309 test.
23310
23311 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
23312 configs when using G++, not just hppa*.
23313
23314 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23315
23316 * gdb.base/async.c: New file.
23317 * gdb.base/async.exp: New file.
23318
23319 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
23320
23321 * gdb.base/break.exp: Tweak PA specific tests to properly handle
23322 PA64.
23323
23324 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
23325
23326 * gdb.base/display.exp: "finish" can leave us mid-line on many
23327 targets, deal with it. Add a small constant to main, instead of
23328 1000 since main+1000 may not be a valid address in the target.
23329
23330 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
23331 on hpux11.
23332
23333 * gdb.base/attach.exp: Handle another hpux11 error message variant
23334 when attaching to a process that does not exist.
23335
23336 1999-08-19 J.T. Conklin <jtc@redback.com>
23337
23338 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
23339 characters in 'continue to 1241' test.
23340
23341 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
23342
23343 * gdb.base/call-ar-st.exp: Add a shorter match case for the
23344 stop in print_long_arg_list, define and use a whitespace
23345 variable in print_small_structs test, add an XFAIL for Solaris.
23346 * gdb.base/dbx.exp: XFAIL func commands until somebody is
23347 interested enough to fix.
23348
23349 1999-08-13 Keith Seitz <keiths@cygnus.com>
23350
23351 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
23352 (dbx_gdb_load): Remove. Use gdb_load instead, since that
23353 proc knows about targets other than the natives.
23354 (test_assign): Use "gdb_run_cmd" to "run" the target.
23355 Check that we've actually hit the breakpoint at main.
23356 When we attempt to assign a value to a local variable, check
23357 that the variable is in the current scope, i.e., don't use
23358 a test with an empty result.
23359
23360 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
23361
23362 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
23363 command.
23364
23365 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
23366
23367 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23368 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
23369 gdb.compat, gdb.threads-hp.
23370 gdb.hp/configure, gdb.hp/configure.in: New files.
23371 gdb.hp/Makefile.in: Recurse into new subdirs.
23372 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
23373 gdb.hp/gdb.objdbg: New directory, tests for debugging info
23374 in object files.
23375 gdb.hp/tools: New directory, aux tools for HP-specific tests.
23376
23377 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
23378
23379 * gdb.base/display.exp: Help expect by putting a newline in the
23380 funky printf, remove a bogus p/a test.
23381
23382 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23383
23384 * gdb.base/display.exp: Make sure that when we say 'run', we are
23385 connected to the target. This is necessary when running not
23386 natively.
23387
23388 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
23389
23390 * gdb.base/step-test.exp: Removed some extraneous messages.
23391
23392 * gdb.base/long_long.exp: Don't run memory examination tests
23393 on little-endian targets (they will need a different set of
23394 results to match).
23395
23396 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
23397
23398 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
23399 until somebody decides to fix GDB.
23400
23401 * gdb.base/long_long.c: Stop compiler complaint by specifying long
23402 constant as "ULL".
23403 * gdb.base/long_long.exp: Loosen x/c test, add partial result
23404 matches for a couple x/2 commands.
23405
23406 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
23407
23408 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
23409 by merging in ref-types2 tests.
23410 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
23411
23412 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23413 * gdb.c++/Makefile.in: Add standard actions.
23414 (EXECUTABLES): Rename from PROGS, update list.
23415 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
23416 from gdb.hp.
23417 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
23418 foo and bar locals.
23419 * gdb.c++/anon-union.exp: Fix tests to match.
23420 * gdb.c++/classes.exp: Run if HP compiler used, add extra
23421 expect matches to handle output variations.
23422 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
23423 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
23424 output, add HP alternatives for new and delete prints.
23425 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
23426 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
23427 * gdb.c++/demangle.exp: Use $style when reporting failure.
23428 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
23429 * gdb.c++/inherit.exp: Run if HP compiler used, add some
23430 match alternatives.
23431 * gdb.c++/local.exp: Add match alternatives or xfails for HP
23432 compilers.
23433 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
23434 * gdb.c++/method.exp: Add match alternatives.
23435 * gdb.c++/misc.cc: Add bool types.
23436 * gdb.c++/misc.exp: Add tests for bool types.
23437 * gdb.c++/overload.exp: Add xfails.
23438 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
23439 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
23440 add some more template parameter tests (only for HP currently).
23441 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
23442 * gdb.c++/virtfunc.cc: Add return type and value for main.
23443 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
23444 match alternatives.
23445
23446 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23447
23448 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
23449
23450 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
23451
23452 * gdb.base/signals.exp: Don't expect getting a backtrace from
23453 within a signal handler to fail on Linux.
23454
23455 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
23456
23457 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23458 * lib/gdb.exp: Remove some gratuitious semicolons.
23459 (delete_breakpoints): Increase timeout.
23460 (gdb_expect): Add -notransfer option.
23461 (gdb_test): Use -notransfer option.
23462 (get_compiler_info): Add f77 case.
23463 (get_compiler): New proc, split out from gdb_preprocess, add f77
23464 case.
23465 (gdb_preprocess): Call get_compiler.
23466
23467 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
23468 * gdb.base/attach.exp, gdb.base/display.exp,
23469 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
23470 gdb.base/long_long.exp, gdb.base/printcmds.exp,
23471 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
23472 third arg to gdb_test.
23473 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
23474 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
23475 HP-UX xfails, add others.
23476 * gdb.base/completion.exp: Reflect name change of self-test.
23477 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
23478 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
23479 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
23480 HP failure number.
23481 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
23482 useless HP-UX 10.30 references.
23483 * gdb.base/maint.exp: Loosen matches.
23484 * gdb.base/pointers.c (main): Declare more_code.
23485 * gdb.base/pointers.exp: Match on output of a `next'.
23486 * gdb.base/structs.c: Add prototypes.
23487 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
23488 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
23489
23490 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23491
23492 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
23493 command.
23494
23495 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23496
23497 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
23498 Fix run to main failures. Watchpoint can be hardware watchpoint.
23499
23500 * gdb.base/annota1.exp: Clean up some more, in case printf has
23501 debug info. Deal with lack of signal hanlder info in stack.
23502
23503 From Jim Kingdon <kingdon@redhat.com>:
23504 * gdb.base/annota1.exp: If printf has debug info, deal with it.
23505
23506 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
23507
23508 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
23509 gdb.base/foll-vfork.exp: Don't run for crosses.
23510
23511 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
23512
23513 * gdb.base/configure.in: Check for gdbvars.exp instead of
23514 a1-selftest.exp.
23515 * gdb.base/configure: Re-generate.
23516
23517 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
23518
23519 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
23520 in trying to run first and name is too long.
23521
23522 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
23523 pointers2.c and pointers2.exp, respectively.
23524 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
23525 doschk happier.
23526
23527 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
23528
23529 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
23530 callfuncs2.c and callfuncs2.exp.
23531
23532 * gdb.base/list.exp: Remove mistaken xfails.
23533 * gdb.base/list0.h: Add optional prototypes.
23534
23535 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
23536
23537 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
23538 calling malloc.
23539 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
23540 * ptype.exp: Move test for get_debug_format to before its first
23541 use.
23542
23543 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23544
23545 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
23546 * gdb.base/annota2.cc, annota2.exp: Move from here.
23547 * gdb.c++/annota2.cc, annota2.exp: To here.
23548 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
23549
23550 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
23551
23552 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
23553 a consistent format.
23554
23555 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
23556
23557 From Jimmy Guo <guo@cup.hp.com> and others at HP:
23558 * lib/gdb.exp (get_compiler_info): Add detection for assorted
23559 HP compilers, also set the globals $true and $false.
23560
23561 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
23562 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
23563 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
23564 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
23565 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
23566 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
23567 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
23568 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
23569 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
23570 whatis.c} Add C++ compatible function definitions and return
23571 types, add includes for library functions.
23572 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
23573 * gdb.base/step-test.c (myglob): Rename from glob.
23574 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
23575 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
23576 files, move here from gdb.hp.
23577 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
23578 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
23579 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
23580 Adjust line numbers in regexps.
23581
23582 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
23583 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
23584 instead of 0/1.
23585
23586 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
23587 foll-vfork.exp: New files, move here from gdb.hp.
23588 * gdb.base/page.exp: New file, test of pagination command.
23589
23590 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
23591 recursion test.
23592 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
23593
23594 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
23595 gdb.base/solib.exp: Fix compiler invocation process.
23596
23597 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
23598 HP-UX 11, turn off overload resolution explicitly.
23599 * gdb.base/commands.exp: Set argument list explicitly, add
23600 watchpoint test.
23601 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
23602 them work.
23603 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
23604 expressions properly.
23605 * gdb.base/corefile.exp: Loosen the match slightly.
23606 * gdb.base/default.exp: Allow "Error accessing memory" message
23607 also.
23608 * gdb.base/display.exp: Skip over x/0 j if PA64.
23609 * gdb.base/funcargs.exp: Add xfails for HP-UX.
23610 * gdb.base/interrupt.exp: Ditto.
23611 * gdb.base/langs.exp: Add symbolic matches governed by compiler
23612 in use.
23613 * gdb.base/list.exp: Add xfails for HP-UX.
23614 * gdb.base/long_long.exp: Refine some of the numeric matches.
23615 * gdb.base/mips_pro.exp: Xfail on HP-UX.
23616 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
23617 * gdb.base/nodebug.exp: Succeed on more varieties of output.
23618 * gdb.base/opaque.exp: Remove some HP-UX xfails.
23619 * gdb.base/ptype.exp: Succeed on more varieties of output.
23620 * gdb.base/scope.exp: Add xfails for HP-UX.
23621 * gdb.base/sect-cmd.exp: Add more cases.
23622 * gdb.base/setvar.exp: Add xfails for HP-UX.
23623 * gdb.base/shlib-call.exp: Loosen some matches slightly.
23624 * gdb.base/signals.exp: Match on void symbolically.
23625 * gdb.base/step-test.exp: Add case for PA64.
23626 * gdb.base/term.exp: Add exit and restart.
23627 * gdb.base/twice.exp: Clean up after self.
23628 * gdb.base/varargs.exp: Disable overload resolution explicitly.
23629 * gdb.base/whatis.exp: Allow more ways to pass tests.
23630
23631 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
23632 no longer useful.
23633
23634 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
23635
23636 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
23637 list of patterns.
23638 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
23639 print_double_array(double_array)", "continuing to breakpoint
23640 1018", "print print_double_array(array_d)" and "continuing to
23641 1034" tests.
23642
23643 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
23644
23645 * Makefile.in: Add empty html and install-html targets.
23646
23647 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
23648
23649 * config/mt-*: Remove, these haven't been used since 1996.
23650
23651 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
23652
23653 * gdb.base/call-strs.c, gdb.base/ending-run.c,
23654 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
23655 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
23656
23657 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
23658
23659 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
23660 simpler match case for the ptype of the big class.
23661
23662 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23663
23664 * gdb.exp: Fix test for gdb_prompt existence.
23665
23666 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23667
23668 * gdb.exp (gdb_test): Add fail after calls to perror.
23669
23670 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23671
23672 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
23673
23674 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
23675
23676 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
23677
23678 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
23679
23680 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
23681 malloc() is linked in.
23682
23683 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
23684
23685 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
23686 step at end.
23687
23688 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
23689
23690 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
23691
23692 * gdb.java/jv-print.exp: New file. (Our first Java test!)
23693
23694 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
23695
23696 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
23697 * gdb.base/mips_pro.exp: Likewise.
23698
23699 1999-06-02 Keith Seitz <keiths@cygnus.com>
23700
23701 * gdb.c++/templates.cc: Change all "new" operators to throw
23702 an exception.
23703 * gdb.c++/cplusfuncs.cc: Likewise.
23704
23705 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
23706
23707 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
23708
23709 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
23710 * gdb.base/ending-run.exp: When stepping out of main, accept a
23711 step into an arbitrary assembler file.
23712
23713 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23714
23715 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
23716 "breakpoint-invalid" to be printed.
23717 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
23718 number of "frames-invalid" and "breakpoint-invalid" to be printed.
23719 * gdb.base/annota2.cc: Initialize a.x to 0.
23720
23721 1999-05-17 Keith Seitz <keiths@cygnus.com>
23722
23723 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
23724 when "skip_float_tests" set.
23725 Ditto for "print print_double_array(array_d)", "print print_small_structs",
23726 "print print_ten_doubles", and "step into print_long_arg_list".
23727 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
23728 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
23729 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
23730 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
23731 "skip_float_tests" is set.
23732 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
23733 when "skip_float_tests" set.
23734
23735 1999-05-06 Keith Seitz <keiths@cygnus.com>
23736
23737 * gdb.base/annota2.cc: Include stdio.h.
23738
23739 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
23740
23741 * gdb.base/crossload.exp: Remove, this has been disabled ever
23742 since BFD stopped including all targets, and cross-GDB gets
23743 plenty of testing anyway.
23744 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
23745 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
23746 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
23747 * gdb.base/README: Remove, was doc for this.
23748 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
23749 needed.
23750
23751 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23752
23753 * gdb.base/call-ar-st.exp: Fix one regular expression in test
23754 output.
23755
23756 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
23757 * gdb.base/annota2.exp: New file. More annotation tests.
23758 * gdb.base/annota1.c: New file. Source file for annota1.exp.
23759 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
23760
23761 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
23762
23763 * config/cfdbug.exp: New file.
23764
23765 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
23766
23767 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
23768 Marcus Daniel's and Dale Hawkins's demangler crashes.
23769
23770 * gdb.c++/demangle.exp (test_gnu_style_demangling,
23771 test_lucid_style_demangling, test_arm_style_demangling,
23772 test_hp_style_demangling): Try Tom Tromey's core-dumping
23773 identifier under each demangling style.
23774
23775 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
23776
23777 * gdb.c++/demangle.exp: Include the current demangling style
23778 in all test names.
23779 (current_demangling_style): New global variable.
23780 (set_demangling_style, test_demangling_core, test_demangling,
23781 test_demangling_exact): New functions.
23782 (test_gnu_style_demangling, test_lucid_style_demangling,
23783 test_arm_style_demangling, test_hp_style_demangling): Use those,
23784 instead of calling gdb_test and gdb_test_exact directly.
23785 (catch_demangling_errors): New function, which reports errors
23786 signalled by the demangling test functions in an orderly way.
23787 (do_tests): Use catch_demangling_errors.
23788
23789 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
23790
23791 * gdb.base/signals.exp (test_handle_all_print): Use () for
23792 grouping in expressions, not {}.
23793
23794 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
23795 initialized yet.
23796
23797 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
23798
23799 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
23800 are listed.
23801
23802 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
23803
23804 * gdb.stabs/weird.exp: Test for CC being defined before
23805 looking at its value.
23806
23807 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
23808
23809 * gdb.base/call-ar-st.exp: Remove stray '#'.
23810 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
23811 "short int" and "long int".
23812 * gdb.c++/overload.cc: Cast the string added in the previous
23813 change, to mollify finicky HP compiler.
23814 * gdb.hp/reg-test.exp (testfile): Fix file name.
23815 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
23816
23817 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
23818 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
23819 alternate form of enum ptype.
23820
23821 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
23822
23823 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
23824 * gdb.hp/*.exp: Change all to run compiler probe only after
23825 passing skip_hp_tests, so as not to waste time on guaranteed
23826 failure.
23827
23828 * gdb.c++/overload.cc: Pass string instead of char addr, always
23829 init ccpfoo.
23830 * gdb.c++/templates.cc: Fix syntax error.
23831
23832 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23833
23834 * gdb.base/commands.exp: Add test for correct position of '>'
23835 when issuing the 'commands' command after a 'while' or 'if'
23836 command.
23837
23838 1999-03-18 James Ingham <jingham@cygnus.com>
23839
23840 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
23841
23842 * gdb.c++/method.exp: It was testing an uninitialized int on the
23843 stack and assuming it was positive.
23844
23845 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
23846
23847 * gdb.base/step-test.exp: Catch a case where finish is broken and
23848 keep it from killing the rest of the tests.
23849 Use gdb_continue_to_end.
23850
23851 * gdb.base/sigall.exp: use gdb_continue_to_end.
23852
23853 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
23854
23855 * gdb.base/display.exp: use runto_main, not run.
23856
23857 * gdb.base/default.exp: Check for the current error message in the
23858 r abbreviation test.
23859 Add strongarm to the targets that know info float.
23860
23861 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
23862 run which doesn't work with monitors.
23863
23864 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
23865
23866 * gdb.base/break.exp: use the gdb_continue_to_end proc.
23867
23868 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
23869 program. Traps the case (in Cygmon) when the program never really
23870 exits. Same as Mark's continue_to_exit, but I had put it in a lot
23871 more places, so I used my name. Sorry Mark...
23872
23873 * config/monitor.exp (gdb_target_monitor): added another
23874 target_info parameter: remotebinarydownload. This will set the
23875 remotebinarydownload flag if this is causing some boards trouble.
23876
23877 1999-03-18 Mark Salter <msalter@cygnus.com>
23878
23879 * lib/gdb.exp (continue_to_exit): New function.
23880
23881 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
23882 * gdb.base/ending-run.exp: Ditto.
23883 * gdb.base/step-test.exp: Ditto.
23884
23885 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
23886
23887 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
23888 (suggested by Art Haas <ahaas@neosoft.com>).
23889
23890 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
23891
23892 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
23893
23894 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
23895
23896 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
23897 descriptions of types (short unsigned int vs unsigned short, etc).
23898
23899 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
23900
23901 * gdb.base/call-strs.exp: Don't assume that `step' will step over
23902 a call to strlen; sometimes we do have sources.
23903
23904 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23905
23906 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
23907 character, so GDB won't print garbage after its end.
23908
23909 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
23910 breakpoint there instead. Sometimes GCC emits memcpy to handle
23911 the large structures being passed by value, so we step into that
23912 instead of sum_array_print, which obscures what we're really testing.
23913 * gdb.base/step-test.exp: However, we do want a test that notices
23914 the bizarre steps into memcpy, so do that here. Add check for
23915 stepping into function calls that pass large structures by value.
23916 ("Is that a noun clause, or are you just happy to see me?")
23917 Remove all references to specific line numbers.
23918 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
23919 New type and function.
23920 (main): Call large_struct_by_value, passing it a large struct by value.
23921 * lib/gdb.exp (gdb_get_line_number): New function.
23922
23923 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
23924 more portable.
23925
23926 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
23927
23928 * lib/gdb.exp: Doc fixes.
23929
23930 1999-03-05 Nick Clifton <nickc@cygnus.com>
23931
23932 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
23933
23934 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
23935
23936 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
23937 commands. They're not germane to this test, and they don't work
23938 that way on remote targets.
23939
23940 1999-03-01 James Ingham <jingham@cygnus.com>
23941
23942 * Changelog entries merged over from gdb development branch.
23943
23944 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
23945
23946 * lib/gdb.exp (gdbtk_analyze_results): Generic function
23947 for outputting results of test run.
23948
23949 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
23950
23951 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
23952
23953 1999-02-25 Felix Lee <flee@cygnus.com>
23954
23955 * lib/gdb.exp (debug_format): initialize
23956
23957 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
23958
23959 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
23960 * gdb.base/call-rt-st.c: Ditto.
23961
23962 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
23963
23964 * gdb.threads/pthreads.exp (horiz): New variable.
23965 (test_startup): Fix regexps that capture thread numbers.
23966
23967 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
23968
23969 * gdb.base/smoke.exp: Disambiguate two test case names (both
23970 called ``print'').
23971
23972 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
23973
23974 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
23975 compilation.
23976
23977 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23978
23979 * gdb.base/miscexprs.exp: Change patterns to match GDB's
23980 actual output formatting.
23981 * gdb.base/smoke.exp: GDB removes leading 0's.
23982 * gdb.base/volatile.exp: Don't check type of remuneration;
23983 that variable is no longer defined in constvars.c.
23984 * gdb.base/step-test.c (main): Exit with explicit exit code.
23985 * gdb.base/step-test.exp: Remove two nexti checks--they are
23986 not portable.
23987
23988 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
23989
23990 * gdb.base/help.exp ("help delete display"): Fix test to match
23991 gdb's output.
23992
23993 * gdb.base/long_long.c (known_types): Initialize values to zero.
23994 * gdb.base/long_long.exp: Step one more line
23995 so 'dec' is initialized in "get to known place". GDB removes
23996 leading zeros. Explicitly ask for hex formatting. Use
23997 unique test case names.
23998
23999 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24000
24001 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
24002
24003 * gdb.c++/method.exp: Add missing close brace.
24004
24005 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
24006
24007 * gdb.base/maint.exp: Use 'set height 0' to disable page
24008 prompting, not 'set height 400'.
24009
24010 Fix a bunch of timeouts.
24011 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
24012 four separate tests, so expect doesn't take forever to match a ton
24013 of text against a regexp with lots of .* forms.
24014 ("maint print psymbols", "maint print symbols"): Make some of
24015 these greps more selective, so that expect doesn't try to wade
24016 through huge piles of output and time out.
24017
24018 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
24019
24020 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
24021 tests: one which doesn't expect shlib events to be reported, and
24022 another which does, but is XFAIL for all platforms other than
24023 HP/UX.
24024
24025 * gdb.base/break.exp: Teach the test suite that the `catch
24026 fork', `catch vfork', and `catch exec' commands produce error
24027 messages on platforms that don't provide these features.
24028
24029 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
24030
24031 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
24032 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
24033 (shortening names from solib_threshold.exp etc), won't run on
24034 anything but HP-UX for the foreseeable future.
24035 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
24036 reflect move.
24037
24038 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
24039
24040 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24041 gdb.trace/Makefile.in (clean): Remove all test executables.
24042
24043 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
24044
24045 * gdb.base/shlib-call.exp: add test cases to verify that gdb
24046 successfully re-sets breakpoints in shared libraries.
24047 * gdb.base/shmain.c (main): return 0, don't fall off the end.
24048
24049 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24050
24051 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
24052 and compiled w/o GCC.
24053
24054 * gdb.hp/watch-cmd.exp: ditto.
24055
24056 * gdb.hp/watch-hp.exp: ditto.
24057
24058 * gdb.hp/xdb1.exp: ditto.
24059
24060 * gdb.hp/xdb2.exp: ditto.
24061
24062 * gdb.hp/dbx.exp: ditto.
24063
24064 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
24065
24066 * constvars.c: Remove C++-isms.
24067 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
24068 with GCC.
24069
24070 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
24071
24072 The following changes are part of the HP merge.
24073
24074 * gdb.base/break.exp: new tests to verify that catchpoints for
24075 fork, vfork, and exec don't trigger inappropriately.
24076
24077 * gdb.base/opaque.exp: compile one file at a time, then link.
24078
24079 * gdb.base/signals.exp: be more restrictive about which hppa
24080 systems receive a setup_xfail. new tests.
24081
24082 * gdb.base/solib_threshold.build: new file.
24083 * gdb.base/solib_threshold.exp: new file.
24084 * gdb.base/solib_threshold.link_opts: new file.
24085 * gdb.base/solib_threshold.mk: new file.
24086 * gdb.base/gen_solib_threshold.c: new file.
24087
24088 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
24089 tests. New tests for enums inside classes.
24090
24091 * gdb.c++/compiler.cc: indicate support of template debugging.
24092
24093 * gdb.c++/demangle.exp: run hp style demangling tests.
24094
24095 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
24096 tests.
24097
24098 * gdb.c++/misc.cc: changes to support new tests.
24099
24100 * gdb.c++/templates.cc: changes to support HP's compiler; changes
24101 to support new tests.
24102
24103 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
24104 gcc, then skip these tests.
24105
24106 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
24107
24108 The following files are part of the HP merge; some had longer
24109 names at HP, but have been renamed to be no more than 14
24110 characters in length.
24111
24112 * gdb.hp/ambiguous.cc: new file.
24113 * gdb.hp/ambiguous.exp: new file.
24114 * gdb.hp/attach.exp: new file.
24115 * gdb.hp/attach2.exp: new file.
24116 * gdb.hp/classes-hp.exp: new file.
24117 * gdb.hp/ctti.exp: new file.
24118 * gdb.hp/ctti-add.cc: new file.
24119 * gdb.hp/ctti-add1.cc: new file.
24120 * gdb.hp/ctti-add2.cc: new file.
24121 * gdb.hp/ctti-add3.cc: new file.
24122 * gdb.hp/dbx.exp: new file.
24123 * gdb.hp/exception.cc: new file.
24124 * gdb.hp/exception.exp: new file.
24125 * gdb.hp/foll-exec.c: new file.
24126 * gdb.hp/foll-exec.exp: new file.
24127 * gdb.hp/foll-fork.c: new file.
24128 * gdb.hp/foll-fork.exp: new file.
24129 * gdb.hp/foll-vfork.c: new file.
24130 * gdb.hp/foll-vfork.exp: new file.
24131 * gdb.hp/inherit-hp.exp: new file.
24132 * gdb.hp/more-steps.exp: new file.
24133 * gdb.hp/namespace.cc: new file.
24134 * gdb.hp/namespace.exp: new file.
24135 * gdb.hp/optimize.exp: new file.
24136 * gdb.hp/pxdb.c: new file.
24137 * gdb.hp/pxdb.exp: new file.
24138 * gdb.hp/quicksort.exp: new file.
24139 * gdb.hp/reg-test.exp: new file.
24140 * gdb.hp/reg-test.s: new file.
24141 * gdb.hp/sized-enum.c: new file.
24142 * gdb.hp/sized-enum.exp: new file.
24143 * gdb.hp/start-stop.exp: new file.
24144 * gdb.hp/templ-hp.cc: new file.
24145 * gdb.hp/templ-hp.exp: new file.
24146 * gdb.hp/thr-lib.c: new file.
24147 * gdb.hp/thr-lib.exp: new file.
24148 * gdb.hp/thr-lib.h: new file.
24149 * gdb.hp/thr-liblib.c: new file.
24150 * gdb.hp/virtfun-hp.c: new file.
24151 * gdb.hp/virtfun-hp.exp: new file.
24152 * gdb.hp/watch-cmd.exp: new file.
24153 * gdb.hp/watch-hp.exp: new file.
24154 * gdb.hp/xdb1.exp: new file.
24155 * gdb.hp/xdb2.exp: new file.
24156 * gdb.hp/xdb3.exp: new file.
24157
24158 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
24159
24160 The following files are part of the HP merge; some had longer
24161 names at HP, but have been renamed to be no more than 14
24162 characters in length.
24163
24164 * gdb.base/ss.h: new file.
24165 * gdb.base/call-ar-st.c: new file.
24166 * gdb.base/call-ar-st.exp: new file.
24167 * gdb.base/call-rt-st.c: new file.
24168 * gdb.base/call-rt-st-exp: new file.
24169 * gdb.base/call-strs.exp: new file.
24170 * gdb.base/ena-dis-br.exp: new file.
24171 * gdb.base/environ.exp: new file.
24172 * gdb.base/long_long.exp: new file.
24173 * gdb.base/sect-cmd.exp: new file.
24174 * gdb.base/shlib-cl2.exp: new file.
24175 * gdb.base/smoke.exp: new file.
24176 * gdb.base/so-impl-ld.c: new file.
24177 * gdb.base/so-impl-ld.exp: new file.
24178 * gdb.base/so-indr-cl.c: new file.
24179 * gdb.base/so-indr-cl.exp: new file.
24180 * gdb.base/varargs.exp: new file.
24181 * gdb.base/volatile.exp: new file.
24182 * gdb.base/whatis-exp.exp: new file.
24183 * gdb.base/display.exp: new file.
24184 * gdb.c++/derivation.exp: new file.
24185 * gdb.c++/local.exp: new file.
24186 * gdb.c++/member-ptr.exp: new file.
24187 * gdb.c++/overload.exp: new file.
24188 * gdb.c++/ovldbreak.exp: new file.
24189 * gdb.c++/ref-types.exp: new file.
24190 * gdb.c++/ref-types2.exp: new file.
24191 * gdb.c++/userdef.exp: new file.
24192
24193 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
24194
24195 * gdb.base/default.exp: Reflect wording change in remote.c.
24196
24197 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
24198
24199 * gdb.base/help.exp: Update to reflect current text.
24200
24201 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
24202
24203 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
24204 they're stack variables and contain garbage.
24205 * gdb.c++/anon-union.exp: new file.
24206
24207 The following changes were made by David Taylor
24208 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24209 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24210 in changes by HP.
24211
24212 * gdb.base/bitops.exp: new file.
24213 * gdb.base/default.exp: change expected messages for catch and
24214 info catch tests to reflect HP merge changes.
24215 * gdb.base/enable-disable-break.exp
24216 * gdb.base/ending-run.c: new file.
24217 * gdb.base/long_long.c: new file.
24218 * gdb.base/maint.exp: new file.
24219 * gdb.base/pointers2.exp: new file.
24220 * gdb.base/shlib-call2.exp: new file.
24221 * gdb.base/solib.exp: new file.
24222 * gdb.base/step-test.c: new file.
24223 * gdb.c++/anon-union.cc: new file.
24224 * gdb.c++/local.cc: new file.
24225 * gdb.c++/member-pointer.cc: new file.
24226 * gdb.c++/method.cc: new file.
24227 * gdb.c++/ref-types.cc: new file.
24228 * gdb.c++/ref-types2.cc: new file.
24229 * gdb.c++/userdef.cc: new file.
24230
24231 * gdb.base/scope.exp: compile one file at a time, then link.
24232 * gdb.base/langs.exp: ditto.
24233 * gdb.base/list.exp: ditto.
24234
24235 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
24236
24237 The following changes were made by David Taylor
24238 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
24239 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
24240 in changes by HP.
24241
24242 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
24243 skip tests. When compiling pass c++ flag to gdb_compile.
24244 * gdb.c++/
24245
24246 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
24247 test for on hppa*-*-hpux*; use args to see if c++ was specified.
24248 (skip_hp_tests): new function.
24249 (gdb_preprocess): new function.
24250
24251 * configure.in (hpdir): decide whether to configure gdb.hp.
24252 * configure: regenerated.
24253
24254 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
24255 to delete on clean.
24256 (EXECUTABLES): update to reflect new additions.
24257 * gdb.base/commands.exp: update message expected.
24258 * gdb.base/default.exp: add copyright notice.
24259 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
24260 * gdb.base/help.exp: update messages to reflect current text.
24261 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
24262 targets for recurse tests.
24263 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
24264 skip this file.
24265
24266 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
24267 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
24268 compilation.
24269 * gdb.c++/misc.exp: ditto.
24270 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
24271 run the tests. tell gdb_compile that it's a c++ compilation.
24272
24273 * gdb.threads/pthreads.exp: fix typo in message.
24274
24275 * gdb.base/all-bin.exp: new file.
24276 * gdb.base/arithmet.exp: new file.
24277 * gdb.base/assign.exp: new file.
24278 * gdb.base/completion.exp: new file.
24279 * gdb.base/cond-expr.exp: new file.
24280 * gdb.base/condbreak.exp: new file.
24281 * gdb.base/define.exp: new file.
24282 * gdb.base/dollar.exp: new file.
24283 * gdb.base/environment.exp: new file.
24284 * gdb.base/eval-skip.exp: new file.
24285 * gdb.base/jump.exp: new file.
24286 * gdb.base/logical.exp: new file.
24287 * gdb.base/pointers.exp: new file.
24288 * gdb.base/relational.exp: new file.
24289 * gdb.base/section_command.exp: new file.
24290 * gdb.base/whatis-expr.exp: new file.
24291
24292 * gdb.base/all-types.c: new file.
24293 * gdb.base/call-array-struct.c: new file.
24294 * gdb.base/call-return-struct.c: new file.
24295 * gdb.base/call-strings.c: new file.
24296 * gdb.base/callfuncs2.c: new file.
24297 * gdb.base/condbreak.c: new file.
24298 * gdb.base/constvars.c: new file.
24299 * gdb.base/display.c: new file.
24300 * gdb.base/int-type.c: new file.
24301 * gdb.base/jump.c: new file.
24302 * gdb.base/miscexprs.c: new file.
24303 * gdb.base/pointers.c: new file.
24304 * gdb.base/pointers2.c: new file.
24305 * gdb.base/shmain.c: new file.
24306 * gdb.base/shr1.c: new file.
24307 * gdb.base/shr2.c: new file.
24308 * gdb.base/solib.c: new file.
24309 * gdb.base/solib1.c: new file.
24310 * gdb.base/solib2.c: new file.
24311 * gdb.base/varargs.c: new file.
24312 * gdb.c++/derivation.cc: new file.
24313 * gdb.c++/overload.cc: new file.
24314 * gdb.c++/ovldbreak.cc: new file.
24315 * gdb.hp/attach.c: new file.
24316 * gdb.hp/attach2.c: new file.
24317 * gdb.hp/average.c: new file.
24318 * gdb.hp/compiler.c: new file.
24319 * gdb.hp/compiler.cc: new file.
24320 * gdb.hp/execd-program.c: new file.
24321 * gdb.hp/follow-exec.c: new file.
24322 * gdb.hp/follow-fork.c: new file.
24323 * gdb.hp/follow-vfork-and-exec.c: new file.
24324 * gdb.hp/misc-hp.cc: new file.
24325 * gdb.hp/more-steps.c: new file.
24326 * gdb.hp/optimize.c: new file.
24327 * gdb.hp/quicksort.c: new file.
24328 * gdb.hp/run-hp.c: new file.
24329 * gdb.hp/start-stop.c: new file.
24330 * gdb.hp/sum.c: new file.
24331 * gdb.hp/templates-hp.cc: new file.
24332 * gdb.hp/thread-local-in-lib.c: new file.
24333 * gdb.hp/thread-local-in-lib.h: new file.
24334 * gdb.hp/thread-local-in-lib.lib.c: new file.
24335 * gdb.hp/vforked-program.c: new file.
24336 * gdb.hp/virtfunc-hp.cc: new file.
24337 * gdb.hp/watchpoint-hp.c: new file.
24338 * gdb.hp/xdb.c: new file.
24339 * gdb.hp/xdb0.c: new file.
24340 * gdb.hp/xdb0.h: new file.
24341 * gdb.hp/xdb1.c: new file.
24342
24343 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
24344
24345 The following change was made by Edith Epstein
24346 <eepstein@cygnus.com> as part of a project to merge in changes
24347 originally made by HP; HP did not create ChangeLog entries.
24348
24349 * gdb.c++/demangle.exp: changed the expected output for some
24350 ARM-style mangling -- removed second reference to datatype.
24351 For example, maint demangle __dt__11T1__pt__2_cFv
24352 T1<char>::~T1<char>(void)
24353 becomes,
24354 maint demangle __dt__11T1__pt__2_cFv
24355 T1<char>::~T1(void)
24356
24357 (test_hp_style_demangling): new hp specific demangling test cases.
24358
24359 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
24360
24361 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
24362 * gdb.trace/backtrace.exp: Likewise.
24363 * gdb.trace/circ.exp: Likewise.
24364 * gdb.trace/collection.exp: Likewise.
24365 * gdb.trace/deltrace.exp: Likewise.
24366 * gdb.trace/infotrace.exp: Likewise.
24367 * gdb.trace/limits.exp: Likewise.
24368 * gdb.trace/packetlen.exp: Likewise.
24369 * gdb.trace/passc-dyn.exp: Likewise.
24370 * gdb.trace/passcount.exp: Likewise.
24371 * gdb.trace/report.exp: Likewise.
24372 * gdb.trace/save-trace.exp: Likewise.
24373 * gdb.trace/tfind.exp: Likewise.
24374 * gdb.trace/tracecmd.exp: Likewise.
24375 * gdb.trace/while-dyn.exp: Likewise.
24376 * gdb.trace/while-stepping.exp: Likewise.
24377
24378 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
24379
24380 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
24381
24382 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
24383
24384 From Brendan Kehoe:
24385 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
24386 int return types.
24387
24388 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
24389
24390 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
24391 remote dos host testing right.
24392
24393 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
24394
24395 * gdb.base/corefile.exp: remove some xfails.
24396
24397 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
24398
24399 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
24400 have different timestamps.
24401
24402 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
24403
24404 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
24405 gdb.base/default.exp: Replace "exec" with "executable".
24406
24407 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
24408
24409 * gdb.base/default.exp: Change else if to elseif from previous
24410 delta.
24411
24412 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
24413
24414 * gdb.base/default.exp: Add brace missing from previous delta.
24415
24416 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
24417
24418 * gdb.base/default.exp: Support test for info float for all
24419 varieties of arm toolchain.
24420
24421 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
24422
24423 * gdb.trace/*.exp: remove "remote_download" command.
24424
24425 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
24426
24427 * gdb.trace/*.exp: remove -gdwarf from compile.
24428
24429 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
24430
24431 * gdb.trace/configure.in(AC_INIT): typo
24432 * gdb.trace/configure: regenerated
24433
24434 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
24435
24436 * config/m68k-emc.exp: New file.
24437 * lib/<emc-support.exp trace-support.exp}: New files.
24438 * configure.in: add new test directory gdb.trace.
24439 * gdb.trace/{configure configure.in Makefile.in}: New files.
24440 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
24441 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
24442 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
24443 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
24444 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
24445 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
24446 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
24447
24448 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
24449
24450 * gdb.c++/classes.exp: Change all regular expressions to match
24451 arbitrary combinations of newline/carriage-return, so that they
24452 will work equally well on Unix and Windows.
24453 * gdb.c++/inherit.exp: ditto.
24454 * gdb.c++/virtfunc.exp: ditto.
24455
24456 1998-08-11 Dawn Perchik <dawn@cygnus.com>
24457
24458 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
24459
24460 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
24461
24462 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
24463 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
24464 to use a0-a3/d0-d3 as needed.
24465
24466 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
24467
24468 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
24469 * gdb.disasm/am33.exp: Corresponding changes.
24470
24471 1998-07-11 Felix Lee <flee@cygnus.com>
24472
24473 * gdb.base/callfuncs.exp: add cmp10 test.
24474 * gdb.base/callfuncs.c (cmp10): new function.
24475
24476 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
24477
24478 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
24479 into two parts to get around a synchronization problem in expect.
24480
24481 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
24482
24483 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
24484
24485 * configure.in: Add options for gdbtk testsuite.
24486
24487 * configure: Regenerate.
24488
24489 * gdb.gdbtk: New directory to hold gdbtk tests.
24490
24491 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24492
24493 * gdb.fortran/types.exp: Escape brackets in expect patterns
24494 for test_float_literal_types_accepted tests.
24495 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
24496 before run test.
24497
24498 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
24499
24500 * am33.exp: Just compile, do not link the testcase.
24501 * am33.s: Add ".am33" pseudoop to force am33 mode.
24502
24503 1998-06-25 Felix Lee <flee@cygnus.com>
24504
24505 * gdb.base/setshow.exp: make sure $pc is sane.
24506
24507 * gdb.stabs/weird.exp: split expect patterns properly.
24508
24509 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
24510
24511 * gdb.disasm/am33.s: New disassembler testfile for the am33.
24512 * gdb.disasm/am33.exp: Run it.
24513
24514 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
24515
24516 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
24517 match processing (and eliminate spurious timeouts when running).
24518
24519 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
24520
24521 * gdb.base/signals.exp (test_handle_all_print): put back Mach
24522 exception test, but conditionalize it on target [mach | gnu].
24523
24524 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
24525
24526 * gdb.base/overlays.exp: fixup compile line for linker script.
24527
24528 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
24529
24530 * gdb.fortran/types.exp: don't guess at float size.
24531
24532 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
24533
24534 * gdb.base/exprs.exp: delete test that depends on int size.
24535
24536 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
24537
24538 * config/sim.exp: Removed checks for target triplets.
24539 (gdb_target_sim): Use gdb,target_sim_options.
24540
24541 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
24542
24543 * gdb.base/reread.exp: New file.
24544 * gdb.base/reread1.c: New file.
24545 * gdb.base/reread2.c: New file.
24546
24547 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
24548
24549 * config/sim.exp: Use 'target sim -sparclite' when running
24550 SPARClite programs.
24551
24552 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
24553
24554 * gdb.base/structs2.exp: New file.
24555 * gdb.base/structs2.c: New file.
24556
24557 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
24558
24559 * gdb.asm/common.inc: New file.
24560 * gdb.asm/d10v.inc: New file.
24561 * asm-source.exp: Pass -I's to gas to find .inc files.
24562 Update line numbers in expected output.
24563 * asmsrc1.s: Rewrite.
24564 * asmsrc2.s: Rewrite.
24565 * configure.in: Create arch.inc symlink.
24566 * configure: Regenerate.
24567 * Makefile.in (distclean): Delete arch.inc.
24568
24569 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
24570
24571 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
24572 (t_enum_value2): ditto
24573 (t_enum_value3): ditto
24574 (main): ditto
24575 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24576
24577 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
24578 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
24579 change.
24580 Use gdb_test instead of send_gdb/gdb_expect sequences.
24581
24582 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
24583
24584 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
24585 not void.
24586
24587 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
24588
24589 * gdb.base/branches.c: Code with lots of loops and
24590 subroutines. Used to test gdbs ability to single step through PC
24591 changes, especially to test mips-tdep.c:mips_next_pc
24592
24593 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
24594
24595 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
24596 more rigorous EGCS C++ error checking.
24597
24598 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24599
24600 * gdb.base/help.exp: Clean up `help set args' and `help show args'
24601 tests.
24602 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
24603 function when asleep.
24604 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
24605 for i*86 Linux and SVR4 signal handling problems.
24606 Remove linux xfail for `next to handler in signals_tests_1', fixed
24607 by recent infrun.c change.
24608 Limit backtrace to 10 frames to avoid timeout problems with infinite
24609 stack backtraces.
24610 Adjust expect pattern in `handle all print' test to match Apr 28 1997
24611 target.[ch] change.
24612
24613 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
24614
24615 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
24616 for a newline from gdb before continuing.
24617 (default_gdb_exit): Just look for y or n.
24618 (gdb_test): Detect abnormal exit from GDB running on DOS; if
24619 it does, fail the rests of the tests in the file.
24620
24621 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
24622
24623 * config/cygmon.exp: New file.
24624
24625 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
24626
24627 * gdb.base/list.exp: Fix problem with "list default lines around
24628 main" test on remote targets.
24629
24630 * gdb.base/scope.exp: Fix problem with filelocal_bss before
24631 run test on remote targets.
24632
24633 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
24634
24635 * gdb.asm: New directory.
24636 * configure.in: Configure it.
24637 * configure: Regenerate.
24638 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
24639 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
24640
24641 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
24642
24643 * config/mn10300-eval.exp: New file to support MN10300 eval board.
24644
24645 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
24646
24647 * gdb.base/overlays (several files): Merge the two overlay
24648 managers into one. Change variables (foox, barx, bazx, grbxx)
24649 back into ints but force them to load in their proper sections.
24650
24651 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
24652
24653 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
24654 on-chip insn memory and IMAP1 to upper 128k.
24655 (D10VCopy): Handle memory regions crossing 16k boundaries.
24656 (D10VCopy): Transfer data in 32 bit chunks.
24657
24658 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
24659
24660 * gdb.base/overlays.c (main): Exit normally when result is
24661 correct.
24662
24663 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
24664 map. Include space for printf in .text segment.
24665
24666 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
24667 updated d10v memory VMA/LMA map.
24668 (D10VCopy): Call D10VTranslate.
24669
24670 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
24671
24672 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
24673
24674 * gdb.base/bar.c (barx, bar): Change variable to small array so
24675 that it won't be put into the .sdata - small data -
24676 section. Update reference.
24677 * gdb.base/baz.c (bazx, baz): Ditto.
24678 * gdb.base/foo.c (foox, foo): Ditto.
24679 * gdb.base/grbx.c (grbxx, grbx): Ditto.
24680
24681 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
24682 to be arrays.
24683
24684 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
24685
24686 * gdb.base/overlays.exp: fix up and get working again.
24687 Add tests for backtraces from an overlay function.
24688
24689 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
24690
24691 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
24692 "calling function with watchpoint enabled".
24693
24694 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
24695
24696 * gdb.base/break.exp (test_next_with_recursion): Remove
24697 gdb_suppress_tests for d10v-*-*.
24698 * lib/gdb.exp (gdb_suppress_tests): Disable this function
24699 pending review of whether it is useful or not.
24700
24701 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
24702
24703 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
24704
24705 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
24706
24707 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
24708 * config/dve.exp: New file to support Densan boards.
24709
24710 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
24711
24712 * gdb.base/interrupt.exp: Document problem of simulators, signals,
24713 reads and BSD.
24714
24715 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
24716
24717 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
24718 response.
24719
24720 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
24721
24722 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
24723
24724 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
24725 test.
24726
24727 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
24728 target_sizeof_long and target_bigendian_p.
24729 (structs_by_value, structs_by_reference): Check values according
24730 to targets word size and endianess.
24731
24732 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
24733
24734 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
24735 output.
24736
24737 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
24738
24739 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
24740 Update test of set args help to match source change.
24741
24742 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
24743
24744 * gdb.base/default.exp: Expect help system output to be in
24745 alphabetical order.
24746 * gdb.base/help.exp: Ditto.
24747
24748 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
24749
24750 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
24751 "i*86-pc-linux-gnu*".
24752 * gdb.base/interrupt.exp: Ditto.
24753 * gdb.base/corefile.exp: Ditto.
24754
24755 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
24756 define vxworks when building the testcase.
24757
24758 * gdb.base/ptype.exp: Fix testnames to be unique.
24759 * gdb.base/radix.exp: Ditto.
24760 * gdb.base/term.exp: Ditto.
24761 * gdb.base/whatis.exp: Ditto.
24762 * gdb.c++/classes.exp: Ditto.
24763
24764 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
24765
24766 * gdb.base/callfuncs.exp: Fix indentation.
24767
24768 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
24769 suppress_flag has been set.
24770 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
24771 target feature.
24772
24773 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
24774
24775 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
24776 the testcase.
24777
24778 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
24779 set_debug_traps() and breakpoint().
24780 * gdb.c++/misc.cc (main): Ditto.
24781 * gdb.c++/templates.cc (main): Ditto.
24782 * gdb.c++/virtfunc.cc (main): Ditto.
24783
24784 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
24785
24786 * lib/gdb.exp(gdb_step_for_stub): New function.
24787 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
24788 exists, reload the executable and do a "continue" instead of
24789 doing a jump.
24790 (runto_main): Use gdb_step_for_stub.
24791
24792 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
24793 tests to have unique names.
24794 * gdb.base/callfuncs.exp: Ditto.
24795 * gdb.base/commands.exp: Ditto.
24796 * gdb.base/default.exp: Ditto.
24797 * gdb.base/help.exp: Ditto.
24798 * gdb.base/list.exp: Ditto.
24799 * gdb.base/opaque.exp: Ditto.
24800 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
24801 similar tests.
24802
24803 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
24804 * gdb.c++/cplusfuncs.cc: Ditto.
24805 * gdb.c++/virtfunc.cc: Ditto.
24806
24807 * config/monitor.exp: Keep track of the last file we saw, rather
24808 than trying to get the info from gdb.
24809
24810 * gdb.fortran/types.exp: Move comment to previous line.
24811
24812 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
24813
24814 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
24815 target mode.
24816
24817 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
24818
24819 From Bob Manson:
24820 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
24821 string from GDB when it connects.
24822
24823 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
24824
24825 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
24826
24827 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
24828 if we can't get a debug format from GDB (we may be testing an
24829 older GDB). Use a 10 second timeout when checking for the format.
24830
24831 * gdb.stabs/weird.exp: Fix quoting.
24832
24833 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
24834
24835 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
24836
24837 * config/arm-ice.exp: New file.
24838
24839 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
24840
24841 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
24842 until it has been modified to work with the new testsuite.
24843
24844 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
24845 testcase won't compile, cause all of the testcases in the file to
24846 fail instead.
24847
24848 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
24849 (gdb_clear_suppressed): New procedure.
24850 (gdb_stop_suppressing_tests): Only clear suppress_flag if
24851 it contains a positive value.
24852
24853 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
24854
24855 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
24856
24857 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
24858
24859 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
24860
24861 * lib/gdb.exp (setup_xfail_format): New function.
24862 (get_debug_format): New function to get debug format.
24863 (debug_format): New global variable to hold last value set
24864 by get_debug_format.
24865 * gdb.base/list.exp: Call get_debug_format and expect some
24866 tests to fail for DWARF 1 and COFF formats.
24867 * gdb.c++/ptype.exp: Ditto.
24868 * gdb.c++/classes.exp: Ditto.
24869 * gdb.c++/cplusfuncs.exp: Ditto.
24870 * gdb.c++/inherit.exp: Ditto.
24871 * gdb.c++/templates.exp: Ditto.
24872 * gdb.c++/virtfunc.exp: Ditto.
24873
24874 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
24875
24876 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
24877 host doesn't have a currently-open connection.
24878
24879 * config/sparclet.exp: Cleanups and fixes to make it generic for
24880 any gdb stub target. Handle cases where gdb doesn't respond when
24881 interrupted in a sane fashion.
24882
24883 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
24884 same thing in a totally different way.
24885
24886 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
24887 setting "timeout".
24888 (gdb_start): We set the global gdb_prompt variable in
24889 default_gdb_init now.
24890
24891 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
24892
24893 * gdb.base/printcmds.exp: Fix "check for floating addition"
24894 regexp to accept results within approx +/- .01 of exact value.
24895 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
24896
24897 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
24898
24899 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
24900 properly.
24901 (gdb_expect): Add optional timeout parameter, and add timeout
24902 value to various calls.
24903 (gdb_suppress_tests): Only give one warning message per group.
24904
24905 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
24906
24907 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
24908 global variables. Handle getting a value for $timeout more
24909 gracefully.
24910
24911 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24912
24913 * lib/gdb.exp: Close connection to remote host if gdb doesn't
24914 initialize.
24915 (default_gdb_init): New procedure; allow gdb_init to be overridden
24916 by a target configuration file.
24917 (gdb_expect): Pass the timeout to remote_expect.
24918
24919 * config/monitor.exp(gdb_load): Fix typo in regexp.
24920
24921 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
24922
24923 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
24924
24925 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
24926
24927 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
24928 here. Call gdb_target_exec before rebooting the target, to make
24929 sure the connection to the target is closed.
24930 (gdb_load): Pass the name of the executable to gdb_target_monitor.
24931 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
24932 Also detect "Timeout reading from remote" error.
24933
24934 * config/gdbserver.exp: Pass the executable being loaded to
24935 gdb_target_monitor. Don't call gdb_file_cmd here; let
24936 gdb_target_monitor do it.
24937
24938 * gdb.disasm/hppa.exp: Don't use exec_output.
24939
24940 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
24941
24942 * gdb.base/list.exp: If we're debugging a non-native target,
24943 try to set the pc register to point to the start of the
24944 program before doing the first list command.
24945
24946 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
24947 test_calls after restarting.
24948
24949 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
24950 reloading.
24951
24952 * gdb.base/watchpoint.exp: Fix typo.
24953
24954 * gdb.base/setshow.exp: Check for use_gdb_stub.
24955
24956 * gdb.base/break.exp: Fix continue until exit test for the gdb
24957 stub case.
24958 * gdb.base/langs.exp: Ditto.
24959
24960 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
24961 gdb_load_offset. If we weren't given a file to load, figure out
24962 what the current file is and use it.
24963
24964 * config/i386-bozo.exp: New file.
24965
24966 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
24967
24968 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
24969 feature.
24970
24971 * config/proelf.exp: New entry.
24972
24973 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
24974
24975 * lib/gdb.exp: Remove spurious .* patterns at the beginning
24976 of regexps.
24977
24978 * gdb.base/watchpoint.exp: Don't run the test_stepping
24979 tests if gdb can't call functions on the target.
24980
24981 * gdb.base/setshow.exp: Don't run the set prompt tests if
24982 the board has gdb_prompt set.
24983
24984 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
24985
24986 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
24987 * gdb.base/commands.exp: Likewise.
24988 * gdb.base/setshow.exp: Likewise.
24989
24990 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
24991
24992 * config/monitor.exp(gdb_start): Look for gdb_prompt target
24993 feature.
24994
24995 * config/i960.exp: New file.
24996
24997 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24998
24999 * gdb.base/funcargs.exp: Check for gdb,short_int target
25000 feature instead of looking for explicit target triplets.
25001
25002 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
25003
25004 * gdb.base/printcmds.exp: add a couple more tests a la
25005 "p 123DEADBEEF", to check parse_number.
25006 * top.c: change "to enable to enable" to "to enable" in a couple
25007 of help strings.
25008
25009 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
25010
25011 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
25012 on the mn10300.
25013
25014 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
25015
25016 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
25017 where the test executable is run with explicit args.
25018 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
25019
25020 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
25021
25022 * gdb.base/run.c: Use FAKEARGV to build test executable that
25023 does not require a command line arg, since most simulators
25024 don't currently support passing such an arg into the simulated
25025 program.
25026 * gdb.base/commands.exp: Change tests to insert the proper
25027 value as the arg to the first recursive factorial call. Change
25028 compilation line to define FAKEARGV at compile time.
25029
25030 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
25031
25032 * gdb.base/recurse.exp: Enable these tests for the mn10300.
25033 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
25034 function with watchpoint enabled" test.
25035
25036 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
25037
25038 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
25039 Don't call gdb_test when the command doesn't return to a gdb prompt.
25040
25041 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
25042 "Tests restarted" messages.
25043
25044 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
25045
25046 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
25047
25048 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
25049
25050 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
25051 for INFO SYMBOL; add help tests for OVERLAY commands.
25052 * gdb.base/default.exp: add tests for INFO SYMBOL command;
25053 add tests for OVERLAY commands
25054 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
25055 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
25056 * gdb.base/sigall.c: add usestubs code frag
25057 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
25058
25059 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
25060
25061 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
25062 failures.
25063 (gdb_stop_suppressing_tests): Note that tests have restarted.
25064
25065 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
25066
25067 * config/h8300.exp: New file.
25068
25069 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
25070
25071 * gdb.base/setshow.exp: Check for the existence of a
25072 feature, not its value.
25073
25074 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
25075
25076 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
25077
25078 * gdb.base/scope.exp: It's now init0(), not init().
25079
25080 * gdb.base/scope0.c: For now, change init() to be init0().
25081
25082 * config/monitor.exp: Use gdb_serial in preference to serial
25083 or netport.
25084
25085 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
25086 and it's not already set.
25087
25088 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
25089
25090 * gdb.base/setshow.exp: Only test the run command if the target
25091 isn't using a stub and if it supports argument passing.
25092
25093 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
25094
25095 * config/udi.exp(gdb_start): Make sure UDICONF is set
25096 properly before starting gdb.
25097
25098 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
25099
25100 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
25101 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
25102 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
25103
25104 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
25105
25106 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
25107 specialized code to reboot the board, use remote_reboot instead.
25108
25109 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
25110
25111 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
25112
25113 * config/monitor.exp: Make sure we disconnect from the target.
25114 Also, try a reboot/reload cycle instead of failing if the
25115 load fails.
25116
25117 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
25118
25119 * gdb.base/default.exp: Don't set match_max.
25120 * gdb.base/help.exp: Ditto.
25121 * gdb.base/list.exp: Ditto.
25122 * gdb.base/signals.exp: Ditto.
25123
25124 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
25125 set, use remote_ld to download the testcase instead of
25126 the GDB loader.
25127
25128 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
25129
25130 * config/vr5000.exp: New file.
25131
25132 * config/monitor.exp(gdb_target_monitor): Add pattern for
25133 "Ending remote" to detect errors in connecting.
25134
25135 * gdb.base/setshow.exp: Add .* within auto language test.
25136
25137 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
25138 target feature.
25139
25140 * config/monitor.exp(gdb_load): Check for a failure when loading,
25141 and reboot the board if necessary.
25142
25143 * gdb.base/setvar.exp(test_set): Handle multiple prints within
25144 a set of tests. Remove print.* from the patterns being checked.
25145
25146 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
25147
25148 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
25149 refer to gdb_spawn_id.
25150
25151 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
25152 longer used.
25153 * config/sparclet.exp: Ditto.
25154 * config/sparclet-old.exp: Ditto.
25155 * config/slite.exp: Ditto.
25156 * config/sim.exp: Ditto.
25157 * gdb.base/funcargs.exp: Ditto.
25158
25159 * lib/gdb.exp:Remove references to gdb_spawn_id.
25160 (gdb_expect): Move to remote.exp.
25161
25162 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
25163
25164 * config/monitor.exp: Detect the "Couldn't establish connection"
25165 message from GDB.
25166
25167 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
25168
25169 * gdb.base/bitfields.exp: Use runto instead of explicit
25170 gdb_run_cmd/gdb_expect sequences.
25171
25172 * gdb.base/break.exp(text_next_with_recursion): Add match for
25173 gdb_expect call.
25174
25175 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
25176 We also need to handle the "A program is being debugged already"
25177 prompt from gdb. Use gdb_test to set the baud rate.
25178
25179 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
25180 to 20000. Really. I mean it.
25181
25182 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
25183
25184 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
25185 fails. If suppress_flag is set, skip perror message about not
25186 being able to send to GDB.
25187 (send_gdb): If suppress_flag is set, don't try to send commands to
25188 GDB.
25189 (gdb_expect): If suppress_flag is set, always fail immediately.
25190 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
25191 (gdb_init): Call gdb_stop_suppressing_tests.
25192 (default_gdb_exit): Ditto.
25193 (default_gdb_start): Ditto.
25194
25195 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
25196 gdb_stop_suppressing_tests as appropriate.
25197 * gdb.base/break.exp: Ditto.
25198 * gdb.base/callfuncs.exp: Ditto.
25199 * gdb.base/commands.exp: Ditto.
25200 * gdb.base/exprs.exp: Ditto.
25201 * gdb.base/funcargs.exp: Ditto.
25202 * gdb.base/list.exp: Ditto.
25203 * gdb.base/recurse.exp: Ditto.
25204 * gdb.base/scope.exp: Ditto.
25205 * gdb.base/structs.exp: Ditto.
25206 * gdb.c++/inherit.exp: Ditto.
25207
25208 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
25209
25210 * config/vr4300.exp: New file.
25211
25212 * gdb.*/*.exp: Call gdb_expect instead of expect.
25213
25214 * lib/gdb.exp(gdb_expect): New function.
25215
25216 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
25217
25218 * lib/gdb.exp(gdb_init): New function.
25219
25220 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
25221 for each individual variable set.
25222
25223 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
25224 name.
25225
25226 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
25227
25228 * gdb.base/scope.exp: Use gdb_test.
25229
25230 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
25231 aborting; the testsuite driver will do that for us (see
25232 gdb_finish). Also, use gdb_test in a few more places.
25233
25234 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
25235
25236 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
25237
25238 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
25239
25240 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
25241 and "add_tests" are not at the same address.
25242
25243 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
25244
25245 * gdb.base/ptype.exp: Use gdb_test.
25246
25247 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
25248
25249 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
25250 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
25251 left in. No longer expect them to fail.
25252
25253 * gdb.stabs/*.mt; Deleted, no longer used.
25254 * gdb.stabs/configure.in: Remove references to target makefile
25255 frags.
25256 * gdb.stabs/configure: Rebuilt.
25257
25258 * gdb.disasm/*.mt: Deleted, no longer used.
25259 * gdb.disasm/configure.in: Remove references to target makefile
25260 frags. Use "sh3.s" as the unique filename for this directory.
25261 * gdb.disasm/configure: Rebuilt.
25262
25263 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
25264 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
25265 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
25266
25267 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
25268
25269 * config/udi.exp: Use mondfe,name instead of remote_host.
25270
25271 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
25272
25273 * gdb.base/watchpoint.exp: Don't expect a failure when calling
25274 a function with a watchpoint enabled on the mn10200.
25275
25276 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
25277 before trying to create it!
25278
25279 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
25280
25281 * config/vx.exp: Use hostname instead of netport.
25282
25283 * config/vxworks.exp: New file.
25284
25285 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
25286
25287 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
25288 gdb before assuming everything worked. Send a ^C if a timeout
25289 occurs.
25290
25291 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
25292 $gdb_spawn_id directly.
25293 (gdb_run_cmd): Try _start as well as start. Use the target feature
25294 gdb,start_symbol as the symbol to start from when jumping.
25295
25296 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
25297
25298 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
25299 redundant) test.
25300
25301 * gdb.base/recurse.exp: Relax final value test for 'b' so that
25302 it doesn't lose for 16bit integer systems.
25303
25304 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
25305
25306 * gdb.fortran/types.exp: If the target doesn't support "double"
25307 data types, then expect "real" types to only be 4 bytes.
25308
25309 * gdb.c++/virtfunc.exp: Expect failure for virtual function
25310 call tests if the target doesn't support inferior function calls.
25311
25312 * gdb.base/printcmds.exp: Allow minor deviation in FP values
25313 in printf tests.
25314
25315 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
25316
25317 * gdb.base/help.exp: Disable "help set", "help show", and
25318 "help support". Simplify regexp for "help stack".
25319
25320 * gdb.base/default.exp: Set match_max to 5000 and the timeout
25321 to 60 seconds. Temporarily set match_max to 15000 around the
25322 "info copying" test.
25323
25324 * gdb.base/nodebug.exp: Don't try to do an inferior function
25325 call if the target doesn't support them.
25326 * gdb.base/printcmds.exp: Likewise.
25327 * gdb.base/setvar.exp: Likewise.
25328 * gdb.base/structs.exp: Likewise.
25329 * gdb.c++/templates.exp: Likewise.
25330 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
25331
25332 * gdb.base/recurse.exp: Enable for the mn10200.
25333
25334 * configure.in: Do configure gdb.stabs directory for *-*-elf
25335 targets.
25336 * configure: Rebuilt.
25337
25338 * gdb.base/break.exp: Check for gdb,noresults before testing
25339 exit status and/or results from the target.
25340 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
25341 * lib/gdb.exp: Remove old (now bogus) initialization of
25342 noinferior, noargs, noresults and nosignals.
25343
25344 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
25345
25346 * config/sh.exp: New file.
25347
25348 * config/slite.exp: Try to connect multiple times to the board
25349 before rebooting. Only send a "monitor run" if need_monitor_run
25350 is set.
25351
25352 * gdb.base/break.exp: Don't do the "stub continue" test if
25353 the target has gdb_stub set.
25354
25355 * gdb.base/callfuncs.exp: Increase the timeout.
25356
25357 * gdb.base/interrupt.exp: Don't even try to compile the testcase
25358 if the target has gdb,noinferiorio set.
25359
25360 * gdb.base/list.exp: Increase match_max to 10000 characters.
25361
25362 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
25363
25364 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
25365 target.
25366
25367 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
25368
25369 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
25370
25371 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
25372 trying to delete the copy of gdb. Catch the file delete so we
25373 don't die if the delete fails; also, the file should be copied to
25374 the host, not to the build.
25375
25376 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
25377
25378 * lib/gdb.exp(gdb_test): Surround the result pattern with
25379 parenthesis in case it contains multiple regexps separated
25380 with |.
25381
25382 * gdb.base/watchpoint.exp: Use gdb_test.
25383 * gdb.base/default.exp: Ditto.
25384
25385 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
25386
25387 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
25388
25389 * gdb.base/scope.exp: Use gdb_test.
25390 * gdb.c++/classes.exp: Ditto.
25391 * gdb.c++/inherit.exp: Ditto.
25392
25393 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
25394
25395 * gdb.base/crossload.exp: Don't use execute_anywhere, use
25396 remote_exec instead.
25397 * gdb.base/corefile.exp: Don't be ridiculous.
25398 * gdb.base/*.c: Add missing stub invocations.
25399
25400 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
25401
25402 * config/slite.exp: Miscellaneous fixes.
25403
25404 * lib/gdb.exp: Fix runto.
25405
25406 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
25407 the target.
25408
25409 * gdb.base/watchpoint.exp: Fix regexp.
25410
25411 * lib/gdb.exp(default_gdb_exit): Add a catch to the
25412 close and wait commands, as the descriptor may now be
25413 invalid. Always call "remote_close host".
25414
25415 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
25416
25417 Major rewrite for testsuite revision.
25418
25419 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
25420 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
25421 instead of relying on spawn_id to always contain a valid
25422 spawn id.
25423 (get_compiler_info): New procedure to build the ${binfile}.ci
25424 file, instead of replicating this in N different places.
25425 (gdb_compile): New procedure.
25426
25427 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
25428 appropriate arguments) instead of compile. Use gdb_test in a lot
25429 more places. Use send_gdb instead of send. Always run gdb_start
25430 at the start of a testcase, as this is no longer done magically.
25431
25432 config/*-gdb.exp: Rename without the -gdb suffix.
25433
25434 config/mips.exp: Use remote_close instead of exit_remote_shell.
25435 config/monitor.exp: Use target_info instead of looking at
25436 baud, timeout, etc.
25437 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
25438
25439 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25440
25441 * gdb.c++/templates.exp (test_ptype_of_templates),
25442 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
25443 Update expect patterns for destructors and assignment operators
25444 to match corresponding c-typeprint.c changes.
25445 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
25446 to destructor breakpoint test, GDB should be able to set the
25447 destructor breakpoint without specifying arguments.
25448
25449 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
25450
25451 * gdb.threads/pthreads.exp: Change result for failure to compile due
25452 to lack of pthreads runtime support from an error to simply an
25453 unsupported test, per dejagnu standards.
25454
25455 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25456
25457 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
25458 where GDB exits to reduce pattern match time.
25459 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
25460
25461 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
25462
25463 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
25464
25465 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
25466 * gdb.base/default.exp: ditto.
25467 * gdb.base/nodebug.exp: ditto.
25468 * gdb.base/printcmds.exp: ditto.
25469 * gdb.base/ptype.exp: ditto.
25470 * gdb.base/setvar.exp: ditto.
25471 * gdb.base/structs.exp: ditto.
25472 * gdb.base/setshow.c: Guard against uninitialized values of argc.
25473
25474 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
25475
25476 * configure, */configure: Rebuild with autoconf 2.12.
25477
25478 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
25479
25480 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
25481 use new i*86-pc-linux*-gnu quads.
25482 * gdb.base/corefile.exp: Ditto.
25483 * gdb.base/signals.exp: Ditto.
25484 * gdb.base/sigall.exp: Ditto.
25485 * gdb.base/interrupt.exp: Ditto.
25486
25487 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
25488 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
25489 RedHat 4.0.
25490
25491 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
25492 linux. This allows the test case to at least compile on latest
25493 linux, but still not run due to missing the threads runtime library.
25494
25495 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25496
25497 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
25498 directory to search gdb directory. Accept and step over conditional
25499 stack alignment code. Consume $prompt in failure cases.
25500 Reset timeout to $oldtimeout instead of some arbitrary value.
25501 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
25502 timeout problems with infinite stack backtraces.
25503 * gdb.base/ptype.exp (ptype struct link, union tu_link):
25504 Accept function parameters for linkfunc member.
25505
25506 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
25507
25508 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
25509 (CXXFLAGS): Remove, unreferenced.
25510 (B_OPTIONS): Add for -B options and add code to initialize with
25511 previous -B options and also add -B option to pick up cross compiled
25512 runtime.
25513 (TARGET_INCLUDES): Add for -I options and add code to initialize when
25514 doing cross compiles.
25515 (target_alias): Declare global.
25516 (xgcc): Set variable to full path of gcc in build tree. Use findfile
25517 to verify that gcc exists in build tree, and if so set CC to that
25518 gcc and to use B_OPTIONS and TARGET_INCLUDES.
25519
25520 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
25521
25522 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
25523 ptype test for anonymous union. Fixup testcase to match
25524 current gcc debug output.
25525
25526 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
25527
25528 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
25529 force argument to an unsigned long type.
25530
25531 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
25532
25533 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
25534 tests and anonymous union print/ptype tests.
25535 * gdb.base/list.exp (test_forward-search): Increase timeout by
25536 5 minutes for the "search extremely long line" case.
25537 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
25538 completely optional and that the pass/fail messages use the command as
25539 the message if that third arg is a null string.
25540 (gdb_test_exact): Arrange that a null string pattern means match a
25541 null string output rather than any output, which might include random
25542 errors.
25543 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
25544 backtrace test.
25545 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
25546 always failing and failure is now exposed by gdb.exp changes.
25547
25548 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
25549
25550 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
25551 weren't being noted.
25552
25553 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25554
25555 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
25556 * gdb.stabs/weird.exp: Remove v_comb xfails.
25557
25558 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
25559
25560 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
25561 list.exp scope.exp watchpoint.exp]
25562 Make all timeout error msgs explicitly say "(timeout)".
25563
25564 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
25565
25566 * config/monitor.exp: Increase download timeout to 1000 seconds.
25567
25568 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
25569
25570 * config/m32r.exp: Increase timeout to 120 seconds.
25571
25572 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
25573
25574 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
25575 and accept older ordering as obsolescent gcc or gdb.
25576 * gdb.c++/templates.exp: Ditto.
25577 * gdb.c++/virtfunc.exp: Ditto.
25578
25579 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
25580
25581 * gdb.base/coremaker.c: Add code to mmap some data so we
25582 can check that it ends up in the core file.
25583 * gdb.base/corefile.exp: Add test to read mmapped data
25584 from core file.
25585
25586 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
25587
25588 * config/m32r.exp: New file.
25589
25590 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
25591
25592 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
25593 that cflags can contains -gstabs, and work correctly for other tests.
25594
25595 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
25596
25597 * gdb.base/setshow.exp: New file, tests show and set.
25598 * gdb.base/setshow.c: New file, tests show and set.
25599 * gdb.base/help.exp: Add test for help set|show annotate.
25600 * gdb.base/default.exp: Add test for set|show annotate.
25601
25602 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
25603
25604 * testsuite/gdb.base/break.exp: Make backtrace from factorial
25605 errors unique.
25606 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
25607 explicitly.
25608
25609 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
25610
25611 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
25612 and width commands. This is done elsewhere.
25613 * (gdb_start): Don't call gdb_start_sim here. That's already
25614 done in gdb_load. This fixes lots of failures in default.exp.
25615
25616 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
25617
25618 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
25619 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
25620 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
25621 in the same we we treat other failures (since it may be an expected
25622 condition), rather than as an error.
25623 * gdb.base/signals.exp (test_handle_all_print): Revert back to
25624 old test format.
25625
25626 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
25627
25628 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
25629 (distclean maintainer-clean realclean): No need to remove files
25630 twice. Nuke the duplicates.
25631 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
25632 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
25633 Remove config.h along with other config files.
25634
25635 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
25636
25637 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
25638 "p func1 ()" and note that rests of tests are skipped.
25639 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
25640 setup_xfails for "print func2::coremaker_local".
25641 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
25642 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
25643 affected by the previous run test.
25644 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
25645 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
25646 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
25647 "pass int powerset tuple" and "pass modeless int powerset tuple".
25648 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
25649 "real write 4" and "real write 8".
25650 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
25651 setup_xfails for "print vs1 after tuple assign 2",
25652 "print \$i after tuple assign 2", and
25653 "print vs2 after tuple assign 2".
25654 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
25655 meaningful error message and return -1 so the caller can
25656 suppress further tests and avoid a cascade of errors.
25657
25658 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
25659
25660 * gdb.base/a1-selftest.exp: Tweak tests to account for new
25661 format for printing version.
25662 * gdb.base/default.exp: Ditto.
25663 * gdb.base/interrupt.exp: Fix problem with cascade of
25664 errors if child process dies while calling a function.
25665
25666 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
25667
25668 * Makefile.in (VPATH): Add
25669 * Makefile.in (Makefile, config.status): Fix rules so things get
25670 remade when necessary.
25671
25672 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
25673
25674 * Makefile.in (just-check): Add path to sibling expect dir
25675 to environment variable specified by RPATH_ENVVAR.
25676
25677 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
25678
25679 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
25680 (just-check): Add shared library paths for libstdc++, tk,
25681 tcl, bfd, and opcodes to the environment variable specified
25682 in RPATH_ENVVAR.
25683 * configure.in: Add support to recognize --enable-shared flag
25684 and generate correct value for RPATH_ENVVAR.
25685 * configure: Regenerated with autoconf.
25686
25687 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
25688
25689 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
25690 include all osf versions.
25691 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
25692 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
25693 when target is linux. When failing to build pthreads test
25694 executable, give more meaningful message.
25695 * gdb.threads/pthreads.c: Hpux also uses old definition of second
25696 arg for pthread_create.
25697
25698 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
25699
25700 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
25701 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
25702 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
25703 and -lpthreads (everybody else).
25704 (test_startup): Fail gracefully if threads are not supported.
25705 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
25706 "p/c array_index("abcdef",2)" when not gcc compiled.
25707 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
25708 "print func2::coremaker_local" when not gcc compiled.
25709 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
25710 "ptype on opaque struct tagname (statically)",
25711 "ptype on opaque struct tagname (dynamically) 1", and
25712 "ptype on opaque struct tagname (dynamically) 2"
25713 for not compiled with gcc.
25714 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
25715 backtrace when compiled with gcc.
25716 * lib/gdb.exp (runto_main): Return result of "runto main" rather
25717 than always return success.
25718
25719 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
25720
25721 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
25722
25723 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
25724
25725 * gdb.base/structs.exp: Undo last change.
25726
25727 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
25728
25729 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
25730 encapsulate all the steps/nexts done during self test, starting
25731 at main, and makes them less sensitive to optimization issues.
25732 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
25733 signal handler" test.
25734 * gdb.threads/pthreads.exp: Only run this for native configs.
25735 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
25736 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
25737 tests.
25738 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
25739 for "runto test_calls(void)" test.
25740
25741 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
25742
25743 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
25744 and don't expect address info in breakpoint confirmations.
25745
25746 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
25747
25748 * gdb.base/list.exp (test_forward_search): Increase timeout
25749 temporarily by 60 seconds for searching extremely long line,
25750 and then reset to old value when done. Increase expect input
25751 buffer to 10000.
25752
25753 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
25754
25755 * gdb.base/list.exp (test_forward_search): Fix to handle very
25756 long source line without overflowing expect's input buffer.
25757
25758 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
25759
25760 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
25761 "buffer_full".
25762
25763 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
25764 "buffer_full".
25765
25766 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
25767 "buffer_full".
25768
25769 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
25770 "buffer_full".
25771
25772 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
25773
25774 * configure.in (configdirs): Add gdb.threads.
25775 * configure: Regenerated with autoconf.
25776 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
25777 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
25778 * gdb.threads/configure: New, generated with autoconf.
25779
25780 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
25781
25782 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
25783
25784 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
25785
25786 * gdb.base/signals.exp (test_handle_all_print): Test separately for
25787 each signal's status in the output of "handle all print".
25788 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
25789 the \r\n sequence that immediately precedes the gdb prompt.
25790 * gdb.base/a1-selftest.exp: Save original timeout and restore
25791 after test.
25792
25793 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
25794
25795 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
25796 symbol.
25797
25798 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
25799
25800 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
25801
25802 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
25803
25804 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
25805 timeout by 60 seconds.
25806
25807 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
25808
25809 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
25810 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
25811 error return.
25812
25813 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
25814
25815 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
25816 gdb initialization, also report how long dejagnu waited. Restore
25817 old timeout before doing error return. Temporarily increase timeout
25818 by 3 minutes to allow for slow startups over heavy NFS use.
25819
25820 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
25821
25822 * lib/gdb.exp: Report timeout value for verbosity level 2.
25823 * config/gdbserver.exp: Ditto.
25824 * config/hppro.exp: Ditto.
25825 * config/mips-gdb.exp: Ditto.
25826 * config/monitor.exp: Ditto.
25827 * config/netware.exp: Ditto.
25828 * config/sim-gdb.exp: Ditto.
25829 * config/slite-gdb.exp: Ditto.
25830 * config/udi-gdb.exp: Ditto.
25831 * config/unix-gdb.exp: Ditto.
25832 * config/vx-gdb.exp: Ditto.
25833 * gdb.base/a1-selftest.exp: Ditto.
25834 * gdb.base/a2-run.exp: Ditto.
25835 * gdb.base/break.exp: Ditto.
25836 * gdb.base/corefile.exp: Ditto.
25837 * gdb.base/list.exp: Ditto.
25838 * gdb.base/recurse.exp: Ditto.
25839 * gdb.base/scope.exp: Ditto.
25840 * gdb.base/signals.exp: Ditto.
25841
25842 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25843
25844 * gdb.threads/Makefile.in (docdir): Removed.
25845
25846 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
25847
25848 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
25849 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
25850 @srcdir@.
25851 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
25852 autoconf 2.5 or higher.
25853 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
25854
25855 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
25856
25857 * configure: Regenerated.
25858 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
25859 avoid name clashes with SunOS headers.
25860
25861 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
25862
25863 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
25864
25865 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
25866
25867 * gdb.base/callfuncs.exp: Finish last change -- make sure the
25868 prototype information ends up in the compiler info file.
25869
25870 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
25871
25872 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
25873 attempting to regenerate it. Eliminate use of a temporary file
25874 and just generate the info file directly. Source it immediately,
25875 for consistency of use.
25876 * gdb.base/corefile.exp: Ditto
25877 * gdb.base/exprs.exp: Ditto.
25878 * gdb.base/funcargs.exp: Ditto.
25879 * gdb.base/langs.exp: Ditto.
25880 * gdb.base/list.exp: Ditto.
25881 * gdb.base/mips_pro.exp: Ditto.
25882 * gdb.base/nodebug.exp: Ditto.
25883 * gdb.base/opaque.exp: Ditto.
25884 * gdb.base/ptype.exp: Ditto.
25885 * gdb.base/scope.exp: Ditto.
25886 * gdb.base/setvar.exp: Ditto.
25887 * gdb.base/signals.exp: Ditto.
25888 * gdb.base/whatis.exp: Ditto.
25889 * gdb.c++/templates.exp: Ditto.
25890 * gdb.c++/virtfunc.exp: Ditto.
25891 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
25892 whether or not to add -lstdc++ to the compile command line args.
25893
25894 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25895
25896 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
25897 it got fixed by the recent lookup_minimal_symbol_by_pc change.
25898 Increase timeout, a lot of single stepping might be needed if the
25899 target has no hardware watchpoints.
25900
25901 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
25902
25903 * gdb.base/break.exp: Ignore compiler warnings when compiling
25904 break.c.
25905 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
25906 * gdb.base/default.exp: Add h8300 xfails. Handle messages
25907 from remote-sim.
25908 * gdb.base/exprs.exp: Add h8300 xfails.
25909 * gdb.base/funcargs.exp: Likewise.
25910 * gdb.base/nodebug.exp: Likewise.
25911 * gdb.base/printcmds.exp: Likewise.
25912 * gdb.base/ptype.exp: Likewise.
25913 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
25914 h8300 xfails.
25915 * gdb.base/return.exp: Handle float/double precision problems
25916 on the h8300.
25917 * gdb.base/funcargs.c: Explicitly make last constant argument to
25918 call_after_alloca_subr an unsigned long type.
25919 * gdb.base/return.c: Include stdio.h.
25920
25921 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
25922
25923 * config/abug.exp: New file for the older Motorola Bug monitor
25924 that runs on the mvme13x series VME boards.
25925 * config/monitor.exp: Use the new config array for target settings
25926 if they exist.
25927
25928 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
25929
25930 * sim-gdb.exp: Make the SH simulator allocate less space when
25931 it is targeted.
25932
25933 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
25934
25935 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
25936 test.
25937
25938 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
25939
25940 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
25941 "rs6000-*-*" for "list function in include file" when gcc compiled.
25942 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
25943 for "p ctable1[120]".
25944 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
25945 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
25946 Remove setup_xfail for "rs6000-*-*" for
25947 "print 'scope0.c'::filelocal before run".
25948 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
25949 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
25950 since some compilers don't allow both options to be given
25951 on the same command line. Create object file and move it.
25952
25953 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
25954
25955 * gdb.base/corefile.exp: Always regenerate the core file, since
25956 we always regenerate the coremaker program. Detect special case
25957 where registers cannot be read from core file.
25958
25959 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
25960
25961 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
25962 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
25963 * gdb.c++/templates.exp: Only match on basename of file since
25964 some formats like xcoff don't encode directory information.
25965 * gdb.stabs/weird.exp: Use the right sed script for powerpc
25966 and rs6000 AIX xcoff targets.
25967 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
25968 * configure: Regenerate.
25969 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
25970 here, rather than in distclean.
25971
25972 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
25973
25974 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
25975 defined, and use it to compile the test case with -O2. The
25976 native compilation still uses no optimization.
25977 * gdb.base/mips_pro.c: Remove inline assembly code since
25978 it is compiled PIC by default, which results in assembler
25979 warnings that make the testsuite think the compilation
25980 was unsuccessful.
25981
25982 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
25983
25984 * gdb.c++/misc.exp: Add note to message for
25985 "print s.a for foo struct" that this is a known gcc 2.7.2
25986 and earlier bug.
25987
25988 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
25989
25990 * gdb.base/break.exp: Fix pattern for matching "Delete all
25991 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
25992 setup_xfail for deleting all breakpoints test. Fix various
25993 timeout messages to include "(timeout)".
25994 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
25995 for "p t_float_values2(3.14159,float_val2)".
25996 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
25997 for "continue to call2g" when gcc compiled.
25998 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
25999 "up to foo in langs.exp", "show language at foo in langs.exp",
26000 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
26001 and "show language at fsub in langs.exp".
26002 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
26003 "list line 1 in include file", "list message for lines past EOF",
26004 "list function in include file", "list list0.h:foo", and
26005 "list filename:function; nonexistant function".
26006 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
26007 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
26008 and "ptype t_char_array" to be for native cc only.
26009
26010 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
26011
26012 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
26013 setup_xfail for "print coremaker_bss", "print coremaker_ro",
26014 "print func2::coremaker_local", and "backtrace in corefile.exp".
26015
26016 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
26017
26018 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
26019 "bt in signals.exp". This problem only appears when running
26020 the testsuite, and then only intermittently.
26021
26022 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
26023
26024 * gdb.base/return.exp (return_tests): Differentiate between
26025 two tests of continuing.
26026
26027 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
26028
26029 * */Makefile.in (maintainer-clean): Remove config.log.
26030 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
26031 * gdb.c++/Makefile.in (PROGS): Add inherit.
26032 (clean): Remove *.ci.
26033
26034 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
26035
26036 * gdb.c++/misc.cc: Add test code from Mike Stump.
26037 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
26038
26039 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
26040
26041 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
26042 to "alpha-*-osf2*" and add comment.
26043 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
26044 setup_xfail for "step over execarg initialization" and
26045 "step over corearg initialization".
26046 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
26047 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
26048 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
26049 gcc compiled for "print coremaker_bss", "print coremaker_ro",
26050 "print func2::coremaker_local", and "backtrace in corefile.exp".
26051 * gdb.base/signals.exp: Build and source signals.ci.
26052 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
26053 to be for gcc only.
26054 * lib/gdb.exp: Move verbose statements outside conditionals.
26055
26056 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26057
26058 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
26059 Feb 3 procfs.c change.
26060
26061 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
26062
26063 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
26064
26065 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
26066
26067 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
26068 from dejagnu's apparent default of 10 seconds, which gives random
26069 results when running the tests over NFS on moderately loaded systems.
26070 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
26071
26072 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
26073
26074 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
26075 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
26076 result reports.
26077
26078 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
26079
26080 * configure.in (CY_AC_PATH_TCLH): Remove.
26081 * configure: Regenerate.
26082
26083 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
26084
26085 * gdb.c++/Makefile.in (clean): Add missing '{'.
26086
26087 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
26088
26089 * lib/gdb.exp: Provide a default value for noinferior.
26090
26091 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
26092 Load libgloss.exp.
26093
26094 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
26095
26096 * gdb.disasm/hppa.exp: Compile directly into an executable, use
26097 the executable, not the .o to run the tests from.
26098
26099 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
26100
26101 * gdb.base/break.exp: Don't test for program exit or exit status
26102 if $noresults if nonzero.
26103 * gdb.base/langs.exp: Likewise.
26104 * gdb.base/watchpoint.exp: Likewise.
26105
26106 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
26107 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
26108 trying to compile the testcase.
26109
26110 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
26111
26112 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
26113 * gdb.base/signals.exp (continue to handler): Likewise.
26114
26115 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
26116
26117 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
26118
26119 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
26120
26121 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
26122
26123 * gdb.base/corefile.exp: Recognize "not found" as failure
26124 when trying to determine if a core file was generated.
26125 If no core file was generate the first time, try again without
26126 the ulimit -c to work around braindamaged shells.
26127
26128 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
26129
26130 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
26131 [] tests with "test" and enclose string in quotes.
26132 * gdb.stabs/configure: Rebuild
26133
26134 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
26135
26136 Changes in sync with expect:
26137 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
26138 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
26139 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
26140 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
26141 argument to AC_REQUIRE.
26142 * configure: Regenerated.
26143
26144 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
26145
26146 * gdb.base/corefile.exp: When generating a core, discard any
26147 error messages about ulimit not found and the "core dumped"
26148 message from the shell that runs the coredumper.
26149
26150 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
26151
26152 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
26153
26154 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
26155 which sed script to run. Expect failure for v_comb test
26156 on PA targets too.
26157
26158 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
26159
26160 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
26161 "print func2::coremaker_local" and for "backtrace in corefile.exp"
26162
26163 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
26164
26165 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
26166 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
26167 "sparc-sun-solaris*" xfails for "p v_comb".
26168 * lib/gdb.exp (default_gdb_start): Fix typo.
26169 * gdb.base/corefile.exp: Allow "Core was generated by ..."
26170 messages to not include the full program name that caused
26171 the core dump since some systems (such as solaris) apparently
26172 truncate this path to about 80 characters.
26173 When generating a core file first try increasing the core file
26174 size limit to unlimited since some systems may default it to
26175 zero, and it is harmless to try it. Move the test for failing
26176 to generate a core file to where it will actually get executed.
26177 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
26178 new gdb result from g++ debug info improvements and make old
26179 pattern obsolescent. Also account for size_t differences
26180 (may be int or long).
26181 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
26182 initialization before function call is placed in the delay slot
26183 and thus appears to be skipped over by commands such as "next".
26184
26185 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
26186
26187 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
26188
26189 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
26190
26191 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
26192 input source file; fix code to compile test to deal with this
26193 convention.
26194 * gdb.c++/*.exp: Likewise.
26195
26196 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
26197
26198 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
26199 "bt in signals.exp".
26200
26201 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
26202
26203 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
26204 "step over execarg initialization" and
26205 "step over corearg initialization".
26206
26207 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
26208
26209 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
26210 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
26211
26212 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
26213
26214 From Rob Savoye (rob@poseidon.cygnus.com)
26215 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
26216 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
26217 configure.in}, gdb.disasm/{Makefile.in, configure.in},
26218 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
26219 configure.in}: Major reworking for autoconfig.
26220 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
26221 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
26222 New files.
26223 * config/unix-gdb.exp: Make GDB global.
26224 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
26225 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
26226 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
26227 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
26228 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
26229 term.exp, twice.exp, watchpoint.exp, whatis.exp},
26230 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
26231 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
26232 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
26233 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
26234 pr-8136.exp, result.exp, string.exp, tuples.exp},
26235 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
26236 to returns as necessary, arrange for test to compile own testcase
26237 executable.
26238 * lib/gdb.exp: Changes for testsuite to compile own test cases.
26239
26240 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
26241
26242 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
26243 clear_xfail at end of test which might not call either pass or fail.
26244 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
26245 "backtrace through signal handler".
26246
26247 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26248
26249 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
26250 continuing from a job control stop signal.
26251 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
26252
26253 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
26254
26255 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
26256 * gdb.base/corefile.exp: Likewise.
26257 * gdb.base/funcargs.exp: Likewise.
26258
26259 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
26260
26261 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
26262 * config/monitor.exp: Add support for setting baud rate.
26263
26264 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
26265
26266 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
26267 i*86-*-linux* xfails for "backtrace through signal handler".
26268 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
26269 "print func2::coremaker_local".
26270 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
26271 alpha-dec-osf2* xfail for
26272 "delete all breakpoints when none".
26273
26274 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
26275
26276 * gdb.base/break.exp: Change test that deletes all breakpoints
26277 when no user breakpoints are installed. A post 4.15 change
26278 causes gdb to no longer prompt in this case.
26279
26280 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
26281
26282 * gdb.base/return.exp (return_tests): Change xfail for test
26283 "correct value returned double test" to stop xfailing at
26284 Solaris 2.5. Apparently the bug has been fixed.
26285
26286 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
26287
26288 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
26289 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
26290
26291 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
26292
26293 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
26294 * gdb.disasm/hppa.s: Corresponding changes.
26295
26296 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
26297
26298 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
26299 makefile fragment.
26300 * config/mt-hpux: Deleted.
26301
26302 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
26303
26304 * Many files: When warning about suppressed tests due to a
26305 nonexistant test binary, avoid incrementing the warning count.
26306
26307 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
26308
26309 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
26310
26311 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26312
26313 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
26314 "sparc-*-solaris2*".
26315
26316 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26317
26318 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
26319 Add global and local variables and initialize them.
26320 * gdb.base/corefile.exp: Test correct mapping of corefile sections
26321 by printing variables. Remove rs6000 and powerpc xfails, BFD now
26322 extracts the file name and terminating signal from the core file.
26323 * TODO: Remove note about tests for correct mapping of corefile.
26324 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
26325 from optimizing it away.
26326 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
26327 handles common blocks.
26328
26329 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
26330
26331 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
26332 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
26333
26334 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
26335
26336 * Makefile.in (maintainer-clean): New target, synonym for
26337 realclean.
26338 * gdb.base/Makefile.in (maintainer-clean): Likewise.
26339 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
26340 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
26341 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
26342 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
26343 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
26344
26345 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
26346
26347 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
26348 xfails when not gcc compiled for "print foo::funclocal".
26349 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
26350 "print foo::funclocal at foo",
26351 "print 'scope1.c'::foo::funclocal at foo",
26352 "print foo::funclocal_bss at foo",
26353 "print 'scope1.c'::foo::funclocal_bss at foo",
26354 "print foo::funclocal_ro at foo",
26355 "print 'scope1.c'::foo::funclocal_ro at foo",
26356 "print bar::funclocal at foo" and
26357 "print 'scope1.c'::bar::funclocal at foo".
26358 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
26359 gcc compiled for "print foo::funclocal at bar".
26360 Expand all messages to ensure that they identify that
26361 the test is at bar().
26362 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
26363 gcc compiled for:
26364 "ptype on opaque struct pointer (statically)",
26365 "ptype on opaque struct tagname (statically)",
26366 "ptype on opaque struct pointer (dynamically) 1",
26367 "ptype on opaque struct tagname (dynamically) 1",
26368 "ptype on opaque struct pointer (dynamically) 2" and
26369 "ptype on opaque struct tagname (dynamically) 2
26370 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
26371 gcc compiled for:
26372 "p datalocal"
26373 "whatis datalocal",
26374 "ptype datalocal",
26375 "p bsslocal",
26376 "whatis bsslocal", and
26377 "ptype bsslocal".
26378 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
26379 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
26380 when not gcc compiled.
26381 * gdb.base/funcargs.exp (float_and_integral_args): Add
26382 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
26383 compiled.
26384 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
26385 "backtrace from call6a" when not gcc compiled.
26386 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
26387 "backtrace from call7a" when not gcc compiled.
26388 * gdb.base/callfuncs.exp (do_function_calls):
26389 Add "hppa*-*-hpux*" xfail when not gcc compiled for
26390 "p t_char_array_values(char_array_val2,char_array_val1)",
26391 "p t_char_array_values(char_array_val1,char_array_val2)",
26392 "p t_char_array_values("carray 1","carray 2")",
26393 "p t_char_array_values("carray 1",char_array_val2)",
26394 "p t_char_array_values(char_array_val1,"carray 2")",
26395 "p sum_args(1,{2})",
26396 "p sum_args(2,{2,3})",
26397 "p sum_args(3,{2,3,4})",
26398 "p sum_args(4,{2,3,4,5})"
26399 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
26400 "backtrace in corefile.exp" when not gcc compiled.
26401
26402 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26403
26404 * gdb.base/signals.exp: Rewrite `handle all print' test as
26405 a procedure. Accept blanks or TABs as whitespace, increase
26406 timeout and expect input buffer size for the large output
26407 from the command. Remove "i*86-*-bsdi2.0" xfail.
26408
26409 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26410
26411 * gdb.base/setvar.exp: Add new testcases for truncation when
26412 assigning invalid values to bitfields.
26413
26414 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
26415
26416 * gdb.base/callfuncs.exp (do_function_calls): Remove
26417 mips-sgi-irix* xfail for
26418 "call inferior func with struct - returns char *"
26419 and fix test so that an optional (unsigned char *) cast is
26420 accepted in the result.
26421
26422 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
26423
26424 * gdb.base/funcargs.exp (float_and_integral_args): Remove
26425 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
26426 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
26427 * gdb.base/signals.exp: Remove duplicate "handle all print" test
26428 that accidentally got checked in.
26429
26430 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
26431
26432 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
26433 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
26434 compiled test.
26435 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
26436 Add mips-sgi-irix5* xfail for not gcc compiled.
26437 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
26438 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
26439 "p top", "whatis top", "p middle", and "whatis middle".
26440 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
26441 "whatis signed char" for not gcc compiled.
26442 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
26443 "set variable signed char=-1 (-1)" and
26444 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
26445 * gdb.base/funcargs.exp (float_and_integral_args):
26446 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
26447 Add mips-sgi-irix* xfail when not gcc compiled for
26448 "continue to call2b".
26449 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
26450 "continue to call2g".
26451 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
26452 "backtrace from call6a"
26453 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
26454 "backtrace from call7k".
26455 Add mips-sgi-irix5* xfail when not gcc compiled for
26456 "backtrace from call7a".
26457 (localvars_after_alloca): Fix gdb_test cmds for
26458 "print * after runto ...".
26459 Remove rs6000-*-* xfails for
26460 "print i after runto localvars_after_alloca" and
26461 "print l after runto localvars_after_alloca"
26462 for all compilers.
26463 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
26464 when not compiled with gcc, for:
26465 "print signed char == (minus)",
26466 "print signed char != (minus)",
26467 "print signed char < (minus)",
26468 "print signed char > (minus)".
26469 * gdb.base/callfuncs.exp (do_function_calls):
26470 Add mips-sgi-irix* xfail, when compiled with native compiler, for
26471 "call inferior func with struct - returns char *".
26472 * gdb.base/return.exp (return_tests): Change xfail for
26473 "correct value returned double test" to include Solaris 2.4.
26474 * gdb.base/funcargs.exp (float_and_integral_args):
26475 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
26476
26477 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26478
26479 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
26480 enumeration bitfields if compiling with GNU C.
26481 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
26482 to empty' prompt.
26483
26484 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
26485
26486 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
26487 test for PRO targets.
26488
26489 * gdb.base/funcargs.exp: Avoid ever setting more than 8
26490 breakpoints in the inferior at any given time by making
26491 two groups of breakpoints for call2*, call6* and call7*
26492 tests.
26493
26494 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26495
26496 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
26497 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
26498 from optimizing it away.
26499 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
26500 "call inferior func with struct".
26501
26502 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
26503
26504 * configure.in: Only configure gdb.chill for particular targets.
26505
26506 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
26507
26508 * gdb.base/Makefile.in: Add action to .c.o transformation
26509 rule that generates a .ci file for each .o file and remove
26510 explicit .c.o rules except for callfuncs.o.
26511 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
26512 generates a .ci file for each .o file and remove explicit
26513 .cc.o rules.
26514 (clean): Remove *.tmp *.ci files.
26515 (EXECUTABLES): Remove templ-info.exp.
26516 * gdb.base/compiler.c: New file.
26517 * gdb.c++/compiler.cc: New file
26518 * gdb.base/scope.exp: Source gdb.base/scope.ci.
26519 Change rs6000-*-* xfail for
26520 "print 'scope0.c'::filelocal_ro" and
26521 "print 'scope1.c'::filelocal" and
26522 "print 'scope1.c'::filelocal_bss" and
26523 "print 'scope1.c'::filelocal_ro" and
26524 "print 'scope1.c'::foo::funclocal" and
26525 "print 'scope1.c'::foo::funclocal_ro" and
26526 "print 'scope1.c'::bar::funclocal" and
26527 "print 'scope0.c'::filelocal_ro" and
26528 "print 'scope1.c'::filelocal at foo" and
26529 "print 'scope1.c'::filelocal_bss at foo" and
26530 "print 'scope1.c'::filelocal_ro at foo" and
26531 "print 'scope1.c'::foo::funclocal at foo" and
26532 "print 'scope1.c'::foo::funclocal_bss at foo" and
26533 "print 'scope1.c'::foo::funclocal_ro at foo" and
26534 "print 'scope1.c'::bar::funclocal at foo" and
26535 "print 'scope0.c'::filelocal_ro" and
26536 "print 'scope1.c'::filelocal" and
26537 "print 'scope1.c'::filelocal_bss" and
26538 "print 'scope1.c'::filelocal_ro" and
26539 "print 'scope1.c'::foo::funclocal" and
26540 "print 'scope1.c'::foo::funclocal_bss" and
26541 "print 'scope1.c'::foo::funclocal_ro" and
26542 "print 'scope1.c'::bar::funclocal" and
26543 "print 'scope1.c'::bar::funclocal_bss"
26544 to only be xfail'd when not compiled with gcc.
26545 Add rs6000-*-* xfail for
26546 "print 'scope0.c'::filelocal_bss before run"
26547 when compiled with gcc.
26548 (test_at_main): Add rs6000-*-* xfail for
26549 "print filelocal_ro in test_at_main"
26550 when compiled with gcc.
26551 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
26552 Add rs6000-*-aix* xfail for
26553 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
26554 "ptype t_char_array", not compiled with gcc.
26555 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
26556 xfail for "list foo (in include file)" when gcc compiled.
26557 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
26558 (integral_args): Add rs6000-*-* xfail for
26559 "run to call0a" if not compiled with gcc.
26560 (unsigned_integral_args): Add rs6000-*-* xfail for
26561 "run to call1a" if not compiled with gcc.
26562 (float_and_integral_args): Add rs6000-*-* xfail for
26563 "run to call2a" if not compiled with gcc and for
26564 "continue to call2b" for any compiler.
26565 Add rs6000-*-* xfail to
26566 "print f1 after run to call2a" for gcc compiled.
26567 (discard_and_shuffle): Add rs6000-*-* xfail for
26568 "run to call6a".
26569 (shuffle_round_robin): Add rs6000-*-* xfail for
26570 "backtrace from call7a" if not compiled with gcc.
26571 Add rs6000-*-* xfail for
26572 "backtrace from call7b" if compiled with gcc.
26573 (call_after_alloca): Add rs6000-*-* xfail for
26574 "print c in call_after_alloca" and
26575 "print s in call_after_alloca" and
26576 "backtrace from call_after_alloca_subr"
26577 if not compiled with gcc.
26578 (localvars_in_indirect_call): Add rs6000-*-* xfail for
26579 "print c in localvars_in_indirect_call" and
26580 "print c in localvars_in_indirect_call" and
26581 "backtrace in indirectly called function" and
26582 "stepping into indirectly called function"
26583 if not compiled with gcc.
26584 (localvars_after_alloca): Add rs6000-*-* xfail for
26585 "print c after runto localvars_after_alloca" and
26586 "print s after runto localvars_after_alloca" and
26587 "print i after runto localvars_after_alloca" and
26588 "print l after runto localvars_after_alloca"
26589 for all compilers.
26590 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
26591 than whatis-info.exp.
26592 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
26593 than opaque-info.exp.
26594 Setup rs6000-*-* xfail for
26595 "ptype on opaque struct pointer (statically)" and
26596 "ptype on opaque struct pointer (dynamically)" when
26597 not compiled with gcc.
26598 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
26599 rather than callf-info.exp.
26600 (do_function_calls): Add clear_xfail for rs6000-*-* for
26601 "p t_float_values2(3.14159,float_val2)". Seems to work
26602 fine there, both with xlc and gcc. Need to find out what
26603 it is doing right and fix other platforms.
26604 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
26605 "call inferior func with struct - returns int",
26606 "call inferior func with struct - returns long",
26607 "call inferior func with struct - returns float",
26608 "call inferior func with struct - returns double",
26609 "call inferior func with struct - returns char *",
26610 but only if not gcc compiled (presumes xlc compiled).
26611 Change rs6000-*-* xfails for
26612 "call inferior func with struct - returns char" and
26613 " call inferior func with struct - returns short" to only
26614 xfail if not using gcc.
26615 (clean mostlyclean): Remove *.ci and *.tmp files.
26616 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
26617 than templ-info.exp.
26618 * gdb.base/langs.exp: Source gdb.base/langs.ci.
26619 Add rs6000-*-* xfail for "up to foo in langs.exp"
26620 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
26621 when not gcc compiled.
26622
26623 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26624
26625 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
26626 * gdb.base/corefile.exp: Likewise.
26627 * gdb.base/list.exp: Likewise.
26628 * gdb.base/scope.exp: Likewise.
26629 * gdb.base/siganls.exp: Likewise.
26630
26631 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
26632 compiler output.
26633 * gdb.base/whatis.exp: Likewise.
26634
26635 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
26636
26637 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
26638 failure (opcode table has been fixed to match reality).
26639
26640 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
26641
26642 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
26643 "call inferior func with struct - returns char",
26644 "call inferior func with struct - returns short"
26645
26646 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
26647 "print 'scope0.c'::filelocal at main",
26648 "print 'scope0.c'::filelocal_bss in test_at_main",
26649 "print 'scope0.c'::filelocal at foo",
26650 "print 'scope0.c'::filelocal_bss in test_at_foo",
26651 "print 'scope0.c'::filelocal at bar",
26652 "print 'scope0.c'::filelocal_bss in test_at_bar"
26653
26654 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
26655 in source file 1". This bug seems to have been fixed with both
26656 gcc and native cc (was native assembler bug?).
26657
26658 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
26659
26660 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
26661 "backtrace through signal handler" to "i*86-*-sysv4*".
26662 * gdb.base/signals.exp: Add xfail for "'next' behaved as
26663 continue" case. Add "known SVR4 bug" to fail message.
26664 Add "i*86-*-bsdi2.0" xfail for "handle all print".
26665 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
26666 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
26667 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
26668 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
26669 "up to foo in langs.exp", "show language at foo in
26670 langs.exp", "up to cppsub_ in langs.exp", "show
26671 language at cppsub_ in langs.exp", "up to fsub in
26672 langs.exp", and "show language at fsub in langs.exp".
26673 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
26674 "bactrace in corefile.exp".
26675 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
26676 "call inferior function with struct - returns float" and
26677 "call inferior function with struct - returns double".
26678
26679 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
26680
26681 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
26682 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
26683 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
26684 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
26685
26686 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
26687
26688 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
26689 (or overriden) "CHILL" macro rather then bare "gcc".
26690 Also look for ../../gcc/xgcc since that is what we will
26691 actually need, not "Makefile". Remove following assignment
26692 of CHILL to CHILL_FOR_TARGET because that results in
26693 recursive definition.
26694
26695 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
26696
26697 * gdb.base/corefile.exp: Change xfail for backtrace in
26698 corefile.exp from linuxaout to all linux.
26699 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
26700 cases where we miss the breakpoint at the signal handler
26701 for some reason. Setup xfail for linuxoldld/linuxaout and
26702 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
26703 hitting SIGURG breakpoint.
26704 * gdb.base/signals.exp: Setup xfail for "next" acting like
26705 continue to add linuxoldld. Setup xfail for all linux for
26706 "next to handler in signals_tests_1", "backtrace in
26707 signals_tests_1", "continue to func1", "pass SIGUSR1",
26708 and continue to handler".
26709
26710 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
26711
26712 * Update all FSF addresses except those in COPYING* files.
26713
26714 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
26715
26716 * gdb.base/a2-run.exp: Change messages to be more explicit about
26717 the status of args, and quote binfile in results.
26718
26719 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
26720
26721 * gdb.base/callfuncs.exp: Add tests for passing structs to
26722 inferior functions and return various types.
26723 * gdb.base/callfuncs.c: Add functions to receive a struct
26724 and return a member of the struct, in various types.
26725
26726 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26727
26728 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
26729
26730 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
26731
26732 * config/vxworks29k.exp: New file, sources vxworks.exp.
26733
26734 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26735
26736 * config/gdbremote.exp: New file. Testing framework using
26737 gdbserver.
26738
26739 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
26740
26741 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
26742 "call function when asleep" and "send end of file".
26743 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
26744 for "backtrace in corefile.exp".
26745 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
26746 for "backtrace through signal handler".
26747 * gdb.base/corefile.exp: Make sure we actually generate a core file
26748 before trying the core tests. Some systems allow the user to suppress
26749 generation of core files and default to that (linux for example).
26750 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
26751 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
26752
26753 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26754
26755 * gdb.threads: New directory with some crude multi-threaded
26756 gdb tests (step.exp and step2.exp).
26757 * config/mt-lynx (STEP_EXECUTABLE): Define.
26758 (THREADFLAGS): Define.
26759
26760 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
26761
26762 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
26763
26764 * gdb.base/signals.exp: Disable whole file for lynx until
26765 further notice.
26766
26767 * gdb.base/signals.exp: xfail test where "next" acts like
26768 "continue" for lynx.
26769
26770 * gdb.base/interrupt.exp: xfail test for calling function while
26771 inferior is asleep for lynx.
26772
26773 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
26774 than one cr-lf after each command.
26775
26776 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26777
26778 * configure.in: Reinstate setting of stabsdirs variable, fix
26779 typo in setting up configdirs for native builds.
26780
26781 * gdb.base/return.exp: Fix typo in return double test.
26782 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
26783 compiler from optimizing them away.
26784
26785 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
26786
26787 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
26788 sequences to be echo'd by gdb when using gdb_test.
26789 * gdb.chill/chexp.exp: Likewise.
26790 * gdb.fortran/exprs.exp: Likewise
26791
26792 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
26793
26794 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
26795 after the inferior gdb has started.
26796
26797 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
26798 after each command.
26799 * gdb.base/funcargs.exp: Likewise.
26800 * gdb.base/gdbvars.exp: Likewise.
26801 * gdb.base/interrupt.exp: Likewise.
26802 * gdb.base/list.exp: Likewise.
26803 * gdb.base/watchpoint.exp: Likewise.
26804 * gdb.c++/demangle.exp: Likewise.
26805 * gdb.c++/inherit.exp: Likewise.
26806 * gdb.chill/chexp.exp: Likewise.
26807 * gdb.fortran/exprs.exp: Likewise.
26808
26809 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
26810 test if we can't handle IO to/from the inferior.
26811
26812 * gdb.c++/misc.exp: Always check for a program already being
26813 started after sending a "run" command to gdb.
26814
26815 * gdb.base/twice.exp: Start with a fresh gdb.
26816
26817 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
26818 only depend on gdb's expression code, not the chill runtime.
26819
26820 * gdb.base/return.c: Put return values into variables so we
26821 can have gdb print them rather than depending on the program
26822 to print them.
26823 * gdb.base/return.exp: Corresponding changes.
26824
26825 * lib/gdb.exp: Provide default value for noinferiorio.
26826 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
26827 the inferior.
26828
26829 * gdb.base/break.exp: Always check for a program already being
26830 started after sending a "run" command to gdb.
26831 (text_next_with_recursion): Don't check the output from the
26832 program's printf statement. Instead just make sure the program
26833 exited.
26834
26835 * gdb.base/commands.exp: Protect tests which need arguments with
26836 $noargs conditionals.
26837
26838 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26839
26840 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
26841 of structure member arrays to match gdb/valops.c:value_addr change.
26842
26843 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
26844
26845 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
26846 cases.
26847
26848 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
26849
26850 * configure.in (configdirs): Remove gdb.chill from default list
26851 of subdirs and then add it back in only if doing a native build.
26852 The current chill compiler does not yet work in any cross build.
26853 * Revert all signal changes from Jul 6.
26854 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
26855 for sh-hms targets, allowing these tests to link, with no other
26856 changes. Testing is suppressed by setting "nosignals" in site.exp.
26857
26858 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
26859
26860 * configure.in (signaldirs): Define and add to configdirs for all
26861 targets except some specific ones that are known to not support signals.
26862 Also clean up formatting.
26863 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
26864 (signals, sigall): Remove rules to build.
26865 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
26866 Moved to new gdb.signals directory.
26867 * gdb.signals: New test directory.
26868 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
26869 signals.c signals.exp}: New or moved files.
26870
26871 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26872
26873 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
26874
26875 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
26876
26877 * gdb.base/return.exp: Xfail `return double' test failure
26878 on at least Solaris 2.3 and handle future/past versions on
26879 a case by case basis as appropriate. Also update message
26880 to include i*86 failures.
26881
26882 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26883
26884 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
26885
26886 * lib/gdb.exp: Fix comment which erroneously identified
26887 gdb_file_cmd as gdb_load (the 19 May change was in fact to
26888 gdb_file_cmd not gdb_load).
26889 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
26890
26891 * gdb.base/setvar.exp: Make test names consistent between pass and
26892 fail cases. Use gdb_test more.
26893
26894 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26895
26896 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
26897
26898 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26899
26900 * gdb.base/help.exp: Fix expected help string for `show commands'.
26901
26902 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
26903
26904 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
26905
26906 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
26907 of a text section.
26908
26909 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
26910
26911 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
26912 that loop eventually terminates. Fix Connection refused logic so
26913 that testsuite will expire nicely.
26914
26915 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
26916
26917 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
26918 config/rom68k.exp: New tcl glue for the appropriate monitors.
26919 These all just end up calling monitor.exp.
26920 * config/monitor.exp (gdb_target_monitor): Handle `Connection
26921 refused' by retrying. Cleanup some timeout issues.
26922 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
26923 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
26924 callers don't have to set/restore global timeout variable.
26925
26926 * The following set of changes centralizes management of the global
26927 timeout variable. This way, it can be set in one target dependent
26928 place instead of dozens of places scattered throughout the test suite.
26929 If you need to lengthen a timeout, then you should either set timeout
26930 in one of the config/{target}.exp files, or multiply it by a factor.
26931 Setting it to an absolute value is always going to lose for some
26932 targets.
26933 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
26934 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
26935 * gdb.base/funcargs.exp: Don't set timeout.
26936 * gdb.base/list.exp (test_forward_search): Only use local timeout.
26937 * gdb.base/printcmds.exp (test_print_string_constants
26938 test_print_array_constants): Don't set timeout.
26939 * gdb.base/ptype.exp: Don't set timeout.
26940 * gdb.base/recurse.exp: Don't set timeout.
26941 * gdb.base/return.exp: Don't set timeout.
26942 * gdb.base/watchpoint.exp: Don't set timeout.
26943 * gdb.c++/classes.exp (do_tests): Don't set timeout.
26944 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
26945
26946 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
26947
26948 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
26949
26950 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26951
26952 * lib/gdb.exp: Disable chill tests for irix5.
26953
26954 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26955
26956 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
26957 each test pass or fail.
26958
26959 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26960
26961 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
26962 xlc not gcc.
26963
26964 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
26965
26966 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
26967
26968 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
26969
26970 * config/est.exp: Fix copyright and comments. Remove dead code.
26971 Use targetname, serialport and baud variables instead of fixed
26972 constants.
26973 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
26974 * config/cpu32bug.exp: New file to support cpu32bug monitors.
26975
26976 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26977
26978 * gdb.base/watchpoint.exp: Don't run
26979 test_watchpoint_triggered_in_syscall for sunos.
26980
26981 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26982
26983 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
26984 they don't seem to exist. Do include stdio.h.
26985
26986 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26987
26988 * gdb.base/a1-selftest.exp: Add alpha xfail.
26989
26990 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26991
26992 * gdb.base/watchpoint.c (main): Prompt before calling read().
26993 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
26994 Revise accordingly. Remove cruft about sending "123" several
26995 times, until it gets noticed. Clean up the "print buf[0]" stuff
26996 so that it passes or fails, and waits for prompts in the usual way.
26997
26998 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26999
27000 * gdb.base/recurse.exp: Fix comment.
27001
27002 * TODO: Remove item about printing variables in nodebug.exp. Add
27003 item about enabling tests which are only run on some targets.
27004
27005 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
27006 fail, make test names unique, use new gdb_test convention
27007 regarding pattern, use gdb_test more, etc.).
27008
27009 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
27010 fail, make test names unique, etc.).
27011
27012 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27013
27014 * gdb.base/nodebug.c: Change return type of top and middle to
27015 short.
27016 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
27017 are fixed by the recent mdebugread.c changes. Allow `short ()'
27018 as type for top and middle.
27019
27020 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27021
27022 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
27023 nearly as I can tell, the whole thing was an accident in Stu's
27024 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
27025 to replace a send/expect pair with gdb_test, but ended up only
27026 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
27027 of 30 Mar 1995 took care of it, but left this vestigial comment
27028 which I am now nuking.
27029
27030 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27031
27032 * gdb.base/break.exp: Look for different line number for
27033 breakpoint at main depending on usestubs.
27034
27035 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27036
27037 * gdb.base/list.exp: Adjust some alternate expect patterns to
27038 match recent list0.c change. Add alternate expect pattern for
27039 output from `list default lines around main' for optimizing
27040 compilers.
27041
27042 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27043
27044 * lib/gdb.exp: If nosignals is not set, set it to 0.
27045
27046 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
27047
27048 * config/slite-gdb.exp: Responds to load symbol table prompt.
27049 * gdb.base/break.exp: Adjust line number, fix rerun.
27050 * gdb.base/langs0.c: Add #ifdef usestubs.
27051
27052 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
27053
27054 * gdb.base/list.exp: Adjust line contents after adding new lines in
27055 list0.c. Also fix a syntax error.
27056
27057 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
27058 * gdb.base/break.exp: ditto.
27059 * gdb.base/list.exp: ditto.
27060 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
27061 * gdb.base/run.c: ditto.
27062 * gdb.base/list0.c: ditto.
27063 * gdb.base/funcargs.c: ditto.
27064
27065 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
27066
27067 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
27068 $targetname, $serialport and $baud instead of hardwired variables.
27069 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
27070 target doesn't support signals.
27071
27072 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
27073
27074 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
27075
27076 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27077
27078 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
27079 Don't rely on the value of an auto variable before it has been
27080 initialized. Use gdb_test more.
27081
27082 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27083
27084 * lib/gdb.exp (default_gdb_version): A version number must start
27085 with a digit, but other than that contains all characters up to
27086 the first whitespace character.
27087
27088 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27089
27090 * gdb.base/commands.exp (breakpoint_command_test): New tests.
27091
27092 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27093
27094 * gdb.c++/*.exp: Warn if executable does not exist. The original
27095 reason for skipping the warning was that configure.in sometimes
27096 intentionally skipped building the executables but the tcl code
27097 had no way of knowing. That (a) was always bogus with respect to
27098 error handling, (b) is no longer true (right now there is no way
27099 to skip C++ tests).
27100
27101 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
27102
27103 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27104
27105 * gdb.base/list.exp: Add expect patterns for output from
27106 SunPRO compiled executables.
27107 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
27108 types.
27109
27110 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27111
27112 * gdb.base/break.exp (test_next_with_recursion): Accept any line
27113 number (we are already testing that the correct source line text
27114 gets printed).
27115
27116 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
27117 that is what is intended, but something needed to be done to get
27118 sunos4 native working again.
27119
27120 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
27121
27122 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
27123 apparently went with a (very) old xfail.
27124
27125 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
27126
27127 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
27128 runto_main is a proc in gdb.exp that will do 'step' for target use
27129 stubs.
27130 * gdb.base/exprs.exp: ditto.
27131 * gdb.base/interrupt.exp: ditto.
27132 * gdb.base/opaque.exp: ditto.
27133 * gdb.base/printcmds.exp: ditto.
27134 * gdb.base/ptype.exp: ditto.
27135 * gdb.base/scope.exp: ditto.
27136 * gdb.base/setvar.exp: ditto.
27137 * gdb.base/signals.exp: ditto.
27138 * gdb.base/twice.exp: ditto.
27139 * gdb.c++/classes.exp: ditto.
27140 * gdb.c++/inherit.exp: ditto.
27141 * gdb.c++/templates.exp: ditto.
27142 * gdb.base/break.exp: no run and hit main for stubs. Change line
27143 numbers for breakpoints and info breakpoint.
27144 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
27145 breakpoint().
27146 * gdb.base/callfuncs.c: ditto.
27147 * gdb.base/exprs: ditto.
27148 * gdb.base/interrupt.c: ditto.
27149 * gdb.base/opaque0.c: ditto.
27150 * gdb.base/printcmds.c: ditto.
27151 * gdb.base/ptype.c: ditto.
27152 * gdb.base/scope0.c: ditto.
27153 * gdb.base/setvar.c: ditto.
27154 * gdb.base/signals.c: ditto.
27155 * gdb.base/twice.c: ditto.
27156 * gdb.c++/misc.cc: ditto.
27157 * gdb.c++/templates.cc: ditto.
27158
27159 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27160
27161 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
27162
27163 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
27164 somewhere between `read' and `main.c'. I'm pretty sure the
27165 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
27166 and it isn't particularly useful.
27167
27168 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
27169
27170 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27171
27172 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
27173
27174 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
27175
27176 * config/mt-slite: add LIBS and -nostdlib.
27177 * config/slite-gdb.exp: add this new file to support sparclite target.
27178
27179 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
27180
27181 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
27182
27183 * gdb.base/a2-run.exp: Change argument to istarget from
27184 "*-*-vxworks" to "*-*-vxworks*".
27185 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
27186
27187 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
27188
27189 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
27190 will not runto main but do a 'step' to step out of breakpoint().
27191 * config/mt-slite: add -Dusestubs.
27192
27193 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27194
27195 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
27196 instead of just @.
27197
27198 * gdb.base/signals.exp: Add test for "handle all print".
27199 * TODO: Remove "handle all print". Also remove item about
27200 checking copyright date (I don't like the idea of a spurious FAIL
27201 based on when we run the tests).
27202
27203 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
27204 for SunOS4 (reason for failure not investigated). Remove
27205 redundant test for $binfile.
27206
27207 * gdb.base/nodebug.c (array_index): Call malloc.
27208
27209 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
27210
27211 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
27212
27213 * gdb.base/recurse.exp: Update gdb_test invocation to use new
27214 conventions and slightly simplify the matching regexp.
27215
27216 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27217
27218 * gdb.base/break.exp: Update gdb_test invocation to use new
27219 convention.
27220
27221 * lib/gdb.exp: If noargs is not set, set it to 0.
27222
27223 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
27224 tests unique.
27225
27226 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
27227
27228 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27229
27230 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
27231 one argument of type "<non-float parameter>".
27232
27233 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
27234
27235 * config/rom68k.exp: New file to support Motorola IDP board.
27236 * gdb.base/a2-run.exp: Skip this file if noargs is set.
27237 * gdb.base/break.c: Change things around so that this program
27238 doesn't depend upon args. This is necessary to make remote
27239 targets work (in general, they can't take args).
27240 * gdb.base/break.exp: Don't try to send args to program. Don't
27241 expect output. Also, replace lots of code with gdb_test.
27242
27243 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27244
27245 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
27246 printing of '\'' (which is what the comment says we are testing,
27247 even though we were not), not '''.
27248 (test_integer_literals_rejected): Test that printing ''' is an error.
27249
27250 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27251 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
27252 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
27253 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
27254 Use gdb_test not test_print_accept.
27255 * lib/gdb.exp: Remove test_print_accept.
27256
27257 * gdb.base/signals.exp (signal_tests_1): Make pass message
27258 consistent with fail message.
27259
27260 * gdb.base/whatis.exp: Remove xfails for printing char vs.
27261 unsigned char; the bug (PR 1821) is fixed.
27262
27263 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
27264
27265 * gdb.base/scope.exp (test_at_localscopes): Call pass for
27266 successful tests--makes xfailing them work right.
27267
27268 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27269
27270 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
27271 only \r\n, not .*. The test can pass .* as the last thing in
27272 $pattern if that is what it wants. In addition to providing this
27273 flexibility, this change should speed up pattern matching in cases
27274 where the pattern already ended with .* (there were a number of
27275 them). This change also helps catch bad patterns--in the old
27276 scheme the typo "char \*" instead of "char \\*" would pass. Now
27277 it is caught.
27278 * Many .exp files: Update callers.
27279
27280 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
27281 clearer and does not spuriously match multiple ('s. Likewise for
27282 ) and *.
27283
27284 * gdb.base/nodebug.exp: Test ability to call a function and pass
27285 it a string (even with no debugging info).
27286
27287 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
27288 "p '\'", which is the same as "p ''" once tcl gets done with
27289 quoting, to "p '\\'", which I suspect is what is intended (one
27290 backslash gets sent to GDB).
27291
27292 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
27293
27294 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27295
27296 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
27297 1817) was fixed literally years ago.
27298
27299 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27300
27301 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
27302 test, it causes stepping out of call_after_alloca_subr with
27303 optimizing compilers.
27304 (localvars_in_indirect_call): Consume GDB prompt if `finish'
27305 fails.
27306
27307 * gdb.c++/templates.exp: Source templ-info.exp only if
27308 the templates executable exists.
27309
27310 * gdb.c++/misc.cc (class Contains_static_instance,
27311 class Contains_nested_static_instance),
27312 gdb.c++/classes.exp (test_static_members): Test printing of
27313 a class that contains a static instance of the class.
27314
27315 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27316
27317 * gdb.base/langs2.c (cppsub_): Don't prototype.
27318 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
27319 only, I believe).
27320
27321 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27322
27323 * lib/gdb.exp (skip_chill_tests): New procedure.
27324
27325 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
27326
27327 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
27328
27329 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
27330 each expect pattern. Cuts runtime from 12 to about 4 seconds.
27331
27332 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27333
27334 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
27335
27336 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
27337 disassemble 8, not 16, instructions for part 4.
27338
27339 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
27340 support the latter anymore.
27341
27342 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
27343 -DNO_PROTOTYPES.
27344 * gdb.base/callfuncs.c: Control use of prototypes based on
27345 NO_PROTOTYPES, not __STDC__.
27346 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
27347 t_float_values2 tests if prototypes in use.
27348
27349 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
27350 t_double_values): When checking differences against DELTA, check
27351 that difference is within the range (-DELTA,DELTA), not just
27352 (-infinity,DELTA).
27353
27354 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
27355
27356 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
27357 'file' command firts, then 'target', then 'load', this is due to gdb
27358 target set up.
27359 * config/mips-gdb.exp: Fix a couple regular exp bugs.
27360
27361 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
27362
27363 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
27364 FP load/store variants.
27365 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
27366
27367 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
27368
27369 * gdb.base/term.exp: Do not give a warning if not native, it is
27370 not an abnormal condition.
27371
27372 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
27373
27374 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
27375 t_char_array".
27376
27377 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
27378
27379 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
27380 are getting the version number.
27381
27382 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
27383 if not native, it is not an abnormal condition.
27384
27385 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27386
27387 * lib/gdb.exp: Just use "file exists", rather than undocumented
27388 dejagnu procedure "findfile".
27389
27390 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
27391
27392 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
27393 (LDFLAGS): Set to -Xlinker -Ur.
27394
27395 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
27396 Removed, these values are set by lib/gdb.exp.
27397
27398 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
27399
27400 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
27401
27402 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
27403 of replicating gdb startup code.
27404
27405 * config/mt-vxworks (LDFLAGS): Set to -r.
27406 (CFLAGS_FOR_TARGET): Removed.
27407
27408 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
27409 (gdb) and gdb for vxworks uses (vxgdb).
27410
27411 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
27412 executable is not in the tree and host != target, use sed and
27413 program_transform_name to determine the gdb name used by the
27414 target.
27415
27416 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
27417 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
27418
27419 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27420
27421 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
27422 floats, chars, and shorts where there are ANSI-style function
27423 definitions.
27424
27425 * gdb.base/langs.exp, gdb.base/langs*: New test.
27426 * gdb.base/Makefile.in: Build it.
27427 * TODO: Remove item about checking that C names don't get C++
27428 demangling applied; this test tests it.
27429
27430 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27431
27432 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
27433 went with the const70 xfail. The xfail went away a year ago.
27434
27435 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
27436
27437 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
27438 for hp300.
27439
27440 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
27441
27442 * gdb.base/a1-selftest.exp: Don't run on hp300.
27443
27444 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27445
27446 * Makefile.in (site.exp): Set host_alias and target_alias as well
27447 as host_triplet and target_triplet.
27448
27449 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27450
27451 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
27452
27453 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
27454 places as other ecoff systems).
27455
27456 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
27457 ultrix.
27458
27459 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27460
27461 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
27462 remove them.
27463 * gdb.base/nodebug.exp: Accept "function" in addition to "text
27464 variable and "variable" in addition to "data variable".
27465 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
27466
27467 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
27468 2.
27469 * gdb.base/list1.c (long_line): Add additional statement at start
27470 of function.
27471 * gdb.base/list.exp (test_forward_search): Update line number to
27472 reflect new statement.
27473
27474 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27475
27476 * gdb.base/signals.exp: Reinitialize searched source directories
27477 after gdb_start call.
27478
27479 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
27480
27481 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
27482 * gdb.stabs/Makefile.in: Likewise.
27483
27484 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
27485 change. Instead split the tests into smaller pieces.
27486 * gdb.disasm/hppa.s: Corresponding changes.
27487
27488 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27489
27490 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27491 Quote ^C when passing it to stty. For some shells ^ is a pipe.
27492
27493 * gdb.base/funcargs.exp: Modify many tests so that every test
27494 either passes or fails. Make some test names unique.
27495
27496 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27497
27498 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
27499 Call stty to set interrupt character.
27500
27501 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
27502 for HP assembler versus GNU assembler based on actual behavior of
27503 $(CC), rather than assuming that $(AS) is always the GNU assembler.
27504
27505 * TODO: Suggest a few more stepping tests.
27506
27507 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
27508
27509 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
27510 restart GDB for h8300 after a continue.
27511 (return): Add pattern to match a29k-udi behavior.
27512 * gdb.base/nodebug.exp: Remove obsolete comment.
27513 * gdb.base/regs.exp: New file, testing of register displays.
27514 * gdb.base/return.exp: Fix typo in reference to $objdir.
27515 * gdb.base/whatis.exp: Always start with a fresh GDB.
27516
27517 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27518
27519 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
27520 higher, these tests generate a lot of output.
27521
27522 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27523
27524 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
27525 code following the catch silently ignored some errors; without the
27526 catch they should be thrown like any other tcl error. Also, the
27527 catch used "" instead of {} which meant all the callers who wanted
27528 to include one of the characters "[]$ had to quote it an extra time.
27529 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
27530 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
27531 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
27532 Remove extra quoting.
27533
27534 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
27535
27536 * gdb.base/commands.exp: Make test names unique; every test either
27537 passes or fails. Update some comments.
27538
27539 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
27540
27541 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27542
27543 The following fixes a FAIL caused by the fact that the alpha stabs
27544 configuration didn't use the ".if alpha" code in weird.def.
27545 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
27546 bit pointer, so the 32 bit version works even on the alpha.
27547 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
27548 Remove the stuff which allowed us to have separate versions for
27549 alpha and everything else.
27550
27551 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
27552 regexp which "info func operator\[\](" is supposed to match. Fix
27553 string to send to GDB. Note that GDB still doesn't work right. Add a
27554 new test for "info func .perator\[\](" which GDB does handle correctly.
27555
27556 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
27557
27558 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27559
27560 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
27561 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
27562 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
27563 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
27564 it makes the tests harder to understand and confuses test-o-matic.
27565 The preferred style is that each test provides a PASS or a FAIL,
27566 and has a unique message (e.g. "continue #54" not just "continue")
27567 which is the same for the pass and the fail.
27568 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
27569 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
27570 to lib/gdb.exp.
27571 * gdb.base/printcmds.exp: Use test_print_accept. Remove
27572 prt_accept which was basically the same thing. Likewise for
27573 test_print_reject and prt_reject.
27574 * lib/gdb.exp (test_print_reject): Add some more error message
27575 patterns to match from the former printcmds.exp (prt_reject).
27576 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
27577 One defect of the passcount stuff is that some of it failed to
27578 report XPASS where appropriate.
27579 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
27580 stuff before and after arg in expected pattern.
27581 (test_paddr_operator_functions): Re-do test without print_addr_of;
27582 this is the only test which seems to want extra stuff there.
27583
27584 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27585
27586 * gdb.base/nodebug.exp: Update new tests to reflect improved
27587 wording of gdb output.
27588
27589 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
27590 and "ptype" work on variables in files compiled without -g.
27591 Replaces commented out "maint print msymbol" tests.
27592
27593 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27594
27595 * gdb.base/setvar.c (dummy): Call malloc.
27596
27597 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
27598 losing with the irix4 sed.
27599
27600 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
27601 ALRM" on irix4.
27602
27603 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27604
27605 * TODO: Remove items about corefile.exp testing new exec-file and
27606 backtrace; both are now done. Add items about printing enums.
27607
27608 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27609
27610 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
27611 "get signal $thissig" test fails.
27612
27613 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
27614
27615 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27616
27617 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
27618 compiler warning with dec alpha compiler.
27619
27620 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
27621 extra \n from gdb_test call (this explains why the prompt test
27622 that I removed yesterday was there).
27623 (user_defined_command_test): Remove extra \n and prompt test.
27624
27625 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
27626 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
27627 doesn't exist.
27628 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
27629 Also remove alpha workaround, which turns out to be because
27630 SIGABRT == SIGLOST.
27631
27632 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
27633
27634 * gdb.base/help.exp: Don't test "help show".
27635
27636 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27637
27638 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
27639 "set print address" is on.
27640 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
27641 pass prompt to gdb_test; gdb_test already looks for the prompt.
27642
27643 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
27644
27645 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
27646 was a vestige of the manual TESTSTRATEGY, and the purpose of it
27647 was to make sure that gdb can read a core file. But (a) the "read
27648 the corefile" part didn't make it to a1-selftest.exp, we just
27649 delete the corefile after creating it, and (b) we test reading
27650 corefiles in corefile.exp anyway. Also, this test left around a
27651 xgdb process on Solaris.
27652
27653 * gdb.base/corefile.exp: Also test backtrace.
27654
27655 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
27656
27657 * gdb.base/commands.exp: Test a simple user defined command with
27658 arguments and if/while statements; verify the full user command is
27659 printed by "show user".
27660
27661 * gdb.base/commands.exp: Test if/while commands as part of a
27662 breakpoint command list; verify they appear in breakpoint
27663 information.
27664
27665 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27666
27667 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
27668 than by dividing by zero.
27669
27670 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
27671
27672 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
27673 performing an inferior call with watchpoints enabled.
27674 * gdb.base/watchpoint.c (main): Delete second unnecessary read
27675 call.
27676
27677 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27678
27679 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
27680 of "file" command.
27681
27682 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
27683 Add additional pattern for when "int operator int(void);" appears
27684 in a different order.
27685
27686 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
27687
27688 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
27689
27690 * gdb.base/help.exp: Replace most of docstrings for "info signals"
27691 and "signal" with ".*".
27692
27693 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
27694
27695 * TODO: Add note about "handle all nostop".
27696
27697 * gdb.base/{sigall.c, sigall.exp}: New test.
27698 * gdb.base/Makefile.in: Add it.
27699
27700 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
27701
27702 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
27703 when invoking GDB, suppresses any windowing interface.
27704
27705 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
27706
27707 * config/sim-gdb: New file, simulator testing support.
27708
27709 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
27710
27711 * gdb.base/interrupt.exp: Test calling func1 twice.
27712
27713 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
27714
27715 * gdb.base/list.exp (test_forward_search): Set timeout higher
27716 when we'll be getting lots of output from gdb.
27717
27718 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
27719 "init_malloc" to after the expect statement. Run it if that
27720 regexp is taken, but also for two others which happen if source
27721 cannot be found.
27722
27723 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27724
27725 * gdb.base/printcmds.exp: New test, for printing register before
27726 program is running.
27727
27728 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27729
27730 * gdb.base/list.exp: Correct some alternate expect patterns
27731 to reflect changes in list1.c.
27732
27733 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27734
27735 * TODO: Add item regarding large frames.
27736
27737 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
27738
27739 * TODO: Remove item about enabling return.exp; it
27740 is enabled. Suggest a few more "return" tests.
27741
27742 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27743
27744 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
27745 anonymous unions.
27746
27747 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27748
27749 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
27750 and pr-5646.o, so "make" is the same as "make all", not "make
27751 pr-4975.o".
27752
27753 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
27754
27755 * gdb.base/list.exp: Adjust expectations to reflect changes in
27756 list1.c.
27757 (test_forward_search): New test proc.
27758 * gdb.base/list1.c (long_line): New function, has long source line.
27759
27760 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
27761
27762 * gdb.base/a1-selftest.exp: Change initial stepping to know about
27763 additional line of code that was added.
27764
27765 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
27766
27767 * gdb.disasm/hppa.s: Break the large branching tests into smaller
27768 tests so as not to overflow expect's input buffers.
27769 * gdb.disasm/hppa.exp: Corresponding changes.
27770
27771 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27772
27773 Beginnings of template debugging tests.
27774 * gdb.c++/templ-info.cc: New file to test for template
27775 debugging capability of the compiler.
27776 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
27777 templ-info.cc.
27778 * gdb.c++/templates.cc: Add explicit template instantiations
27779 to enable compiling with -fno-implicit-templates. Add destructor
27780 and 'value' method to T5 class for template tests.
27781 * gdb.c++/templates.exp: Add testcases for printing of template
27782 types, setting breakpoints on template methods and calling a
27783 template method.
27784
27785 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
27786
27787 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
27788 branch target since some assemblers (gas-2.5) may emit a
27789 relocation for the branch instead of resolving it in the
27790 assembler.
27791
27792 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27793
27794 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
27795 through signal handler.
27796
27797 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27798
27799 * configure.in (*-*-netware): Use config/mt-netware.
27800
27801 * config/mt-netware: New file.
27802 * config/mt-i386-netware: Removed, separate configs for different
27803 netware architectures are no longer needed now that we have
27804 --with-headers.
27805
27806 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27807
27808 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
27809 by the recent changes to use ANSI C arithmetic conversions.
27810
27811 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27812
27813 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
27814 bug involving using inferior_pid to figure out whether to select a
27815 frame.
27816
27817 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
27818
27819 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
27820 match the current disassembler output.
27821
27822 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
27823
27824 * gdb.fortran/exprs.exp: Expect VOID instead of void.
27825 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
27826 types, expect "int" as type of integer values (for now).
27827
27828 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
27829
27830 * gdb.base/commands.exp: New tests for if/while commands.
27831
27832 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
27833
27834 * lib/gdb.exp (runto): Replace sub-pattern for hex value
27835 by .*, since hex values have different syntax in Chill mode.
27836
27837 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27838
27839 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
27840 linefeed from expect pattern for repeated types with indices > 9.
27841
27842 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
27843
27844 First part of Fortran test suite.
27845 * gdb.fortran: New directory.
27846 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
27847
27848 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27849
27850 * gdb.base/default.exp: Update expect pattern for load command
27851 without arguments.
27852
27853 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
27854
27855 * configure.in: Change i386 to i[345]86.
27856 * gdb.base/configure.in: Likewise.
27857 * gdb.c++/configure.in: Likewise.
27858 * gdb.chill/configure.in: Likewise.
27859
27860 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
27861
27862 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
27863 patterns, since that is not a valid context for comments.
27864
27865 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
27866
27867 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
27868 repeated types and repeated types with indices > 9.
27869
27870 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
27871
27872 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
27873 2417; old bug has been fixed.
27874
27875 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
27876
27877 * gdb.base/interrupt.exp: When trying to wake up the inferior,
27878 send the newline ourselves instead of assuming gdb_test will do
27879 so when passed an empty input string.
27880
27881 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
27882 stabs testcode.
27883
27884 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27885
27886 * lib/gdb.exp (gdb_test): Don't send anything if the first
27887 argument is an empty string. This makes cases where we want to
27888 match output that is already in expect's buffers (for example,
27889 matching a breakpoint after gdb_run_cmd has been called) work
27890 reliably.
27891
27892 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27893
27894 * config/netware.exp: New file.
27895
27896 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27897
27898 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
27899 the -B and -L prefixes so we can find the debugging stub.
27900
27901 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
27902 there and we are using the gcc from the tree.
27903
27904 * gdb.base/types.c: Removed.
27905
27906 * gdb.base/configure.in: Look for makefile fragments in ../config.
27907 Recognize i386-*-netware.
27908 * gdb.c++/configure.in: Likewise.
27909
27910 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27911
27912 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
27913 the correct TCL syntax.
27914
27915 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27916
27917 * gdb.base/opaque.exp: use runto instead of messing around with
27918 breakpoints. Simplify by using gdb_test.
27919
27920 * gdb.base/bitfields.exp: restart between tests on netware targets
27921 because breakpoints aren't relocated after target death. Run
27922 processes to completion.
27923
27924 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
27925
27926 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
27927
27928 * Makefile.in: Remove extra tabs that confuse some versions
27929 of "make". Use the newly built gdb to test with by default,
27930 rather than the first one in the tester's search path.
27931
27932 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
27933
27934 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
27935
27936 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
27937 condition help.
27938
27939 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27940
27941 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
27942
27943 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
27944 running.
27945 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
27946 * gdb.base/funcargs.exp: Likewise.
27947
27948 * gdb.base/bitfields.exp: Simplify by using gdb_test.
27949 * gdb.base/funcargs.exp: Likewise.
27950
27951 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
27952 message is "".
27953
27954 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27955
27956 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
27957 return,signals,twice}.exp: Handle non-existant binaries
27958 consistantly.
27959
27960 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
27961 * gdb.base/Makefile.in: Don't try to generate a core dump, we
27962 might testing a cross development system.
27963
27964 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27965
27966 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
27967 runtest script is relative to ${srcdir}, not ${rootdir}.
27968
27969 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
27970
27971 * gdb.base/signals.exp: Allow for optionality of breakpoint
27972 address.
27973
27974 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27975
27976 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
27977
27978 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
27979
27980 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
27981 for size_t definition.
27982 * gdb.c++/templates.cc: Likewise
27983
27984 * config/mt-i386-netware: New file.
27985
27986 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
27987 defined.
27988
27989 * gdb.base/Makefile.in: Added support for systems that name core
27990 files by appending "core" to the program name.
27991 * gdb.base/a1-selftest.exp: Likewise.
27992
27993 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27994
27995 * gdb.base/return.exp: Add comment and message for `return double'
27996 test failure on Sparc Solaris.
27997
27998 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
27999
28000 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
28001
28002 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28003
28004 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
28005 from optimizing them away.
28006 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
28007 patterns to include default constructors and assignment operators,
28008 to match gcc versions beyond 2.5.8. Accept any cplus demangling
28009 character in the output of the virtual base pointer.
28010
28011 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28012
28013 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
28014 expression match in print_addr_of to avoid unintented matches.
28015 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
28016 versions up to 2.5.8.
28017
28018 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28019
28020 * gdb.base/list.exp: Tweak alternate pattern for listing of an
28021 included file to run under newer versions of expect.
28022 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
28023 consecutive >'s in templates to accomodate recent cplus-dem.c change.
28024 Remove xfail for the virtual table of BDDHookV.
28025
28026 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
28027
28028 * lib/gdb.exp (string_to_regexp): Set a default result.
28029 (default_gdb_start): Fix misleading message.
28030
28031 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
28032
28033 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
28034 Remove all CC, etc definitions.
28035 * config/mt-hpux: New file.
28036 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
28037 (CFLAGS, LDFLAGS): Define.
28038 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
28039
28040 * Makefile.in (site.exp): Don't insert host_os, etc.
28041 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
28042 (distclean): Check existence of subdir.
28043 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
28044 * gdb.base/Makefile.in: General cleanup and simplification.
28045 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28046 to build executables. Use default rule to build .o files.
28047 (EXPECT, RUNTEST, CC): Fix relative pathname.
28048 (site.exp): Don't insert host_os, etc.
28049 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
28050 and/or SIGUSR1 defined.
28051 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
28052 * gdb.c++/Makefile.in: General cleanup and simplification.
28053 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
28054 (CFLAGS): Remove.
28055 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
28056
28057 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
28058
28059 * gdb.base/recurse.exp: Misc changes to get tests running again
28060 after Kung's changes to the watchpoint code.
28061 * gdb.base/watchpoint.exp: Likewise.
28062
28063 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
28064
28065 * lib/gdb.exp (string_to_regexp): Convert {\} also.
28066
28067 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
28068
28069 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
28070 * lib/gdb.exp (default_gdb_start): Define.
28071 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
28072 gdb.base/funcargs.exp, gdb.base/opaque.exp,
28073 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
28074 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
28075 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
28076 Don't call gdb_target_udi in between tests.
28077
28078 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28079
28080 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
28081 (which was basically just a local version of the same thing). In
28082 addition to avoiding duplication, gdb_test_exact is faster.
28083 * lib/gdb.exp (gdb_test_exact): Fix typo.
28084
28085 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
28086 don't give an error.
28087
28088 * gdb.base/term.exp: Call delete_breakpoints before starting.
28089
28090 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
28091 (t10): Add comment.
28092
28093 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28094
28095 Reorganization of the GDB Test Suite.
28096
28097 * gdb.base: New directory, contains all the basic tests.
28098 * gdb.c++: New directory, tests specific to C++.
28099 * gdb.chill: New directory, tests specific to Chill.
28100 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
28101 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
28102 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
28103 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
28104 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
28105 t30-31 to chill).
28106 * */gdbme.*: Rename to match appropriate expect scripts.
28107 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
28108 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
28109 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
28110 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
28111 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
28112 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
28113 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
28114 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
28115 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
28116 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
28117 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
28118 gdb.c++/virtfunc.cc: New names of C++ files.
28119 * gdb.chill/chillvars.ch: New name of Chill file.
28120 * gdb.base/configure.in, gdb.c++/configure.in,
28121 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
28122 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
28123 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
28124 * configure.in (configdirs): Update to reflect directory changes.
28125 (target_abbrev): No longer define for any configuration.
28126 * Makefile.in: Cosmetic improvements to header comments.
28127
28128 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
28129
28130 Various changes to gdb.t31:
28131
28132 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
28133 * gdbme.ch: Make all key-words and predefineds be upper-case.
28134 * chillvars.exp: Expect key-words and predefinds in upper-case.
28135
28136 * chillvars.exp: Use gdb_test_exact many places.
28137 Change expected output for arrays (which now includes index labels).
28138
28139 * pr-5020.exp, gdme.ch (module PR_5020):
28140 New test, for PR-5020.
28141
28142 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
28143
28144 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
28145 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
28146
28147 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
28148
28149 * Makefile.in: Fix bit-rot in definitions of CHILL,
28150 CHILL_FOR_TARGET and Chill_LIB.
28151 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
28152 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
28153 CHILL, and CHILL_LIB.
28154
28155 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
28156
28157 * Revert the previous changes. Please see Rob's directory
28158 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
28159
28160 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
28161
28162 * Makefile.in, configure.in, config/mips-gdb.exp,
28163 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
28164 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
28165 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
28166 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
28167 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
28168 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
28169 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
28170 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
28171 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
28172 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
28173 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
28174 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
28175 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
28176 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
28177 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
28178 changes from 94Q1.
28179
28180 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
28181
28182 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
28183 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
28184 Rob's new testing fragments.
28185
28186 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
28187
28188 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
28189 lib/gdb.exp: Replace error proc calls with perror.
28190
28191 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
28192
28193 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
28194 version also, match on casted version strings, and match on
28195 gdb startup case where the line numbers might be messed up.
28196
28197 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
28198
28199 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
28200 (CFLAGS): Delete it from here.
28201
28202 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
28203
28204 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
28205
28206 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
28207
28208 * Makefile.in (RUNTEST): Default to just "runtest".
28209
28210 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28211
28212 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
28213 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
28214 the code has been restructured.
28215
28216 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28217
28218 * gdb.t00/default.exp (set write): Allow any number of \r and/or
28219 \n, not just one of each.
28220
28221 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
28222 /bin/cc gives a warning if you do.
28223
28224 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
28225
28226 * gdb.t24/demangle.exp: change expect pattern of
28227 __t10ListS_link1ZUiRCUiPT0
28228
28229 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28230
28231 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
28232 on local variables in recursive functions.
28233
28234 * gdb.t07/Makefile.in: Build the new test.
28235
28236 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28237
28238 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
28239 directly. Instead compare the return values from actual calls.
28240
28241 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
28242
28243 * Makefile.in (check): Set TCL_LIBRARY for runtest.
28244
28245 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28246
28247 * From Peter Schauer with minor modifications.
28248 * gdb.t15/return.exp (return_tests): Handle targets where "return"
28249 stops in mid-line in the caller. Add xfail for returning a float
28250 value on X86 targets.
28251
28252 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28253
28254 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
28255 to avoid expect lossage.
28256 (fmem_LRbug_tests): Likewise.
28257 * gdb.disasm/hppa.s: Corresponding changes.
28258
28259 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
28260 conditions to work with latest dejagnu/expect.
28261
28262 * gdb.t15/funcargs.exp (finish from indirect call): No longer
28263 expected to fail on the PA.
28264 (backtrace in call with trampolines): Explicitly require main
28265 to be frame #1 (no trampolines should show up in backtrace).
28266
28267 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
28268 "continue -expect".
28269 * gdb.t06/break.exp: Likewise.
28270 * gdb.t07/watchpoint.exp: Likewise.
28271 * gdb.t13/bitfields.exp: Likewise.
28272 * gdb.t15/{funcargs,return}.exp: Likewise.
28273 * gdb.stabs/weird.exp: Likewise.
28274 * config/{mips,udi}-gdb.exp: Likewise.
28275
28276 * hppa.sed: Enclose comments within a sed command to avoid
28277 losing with the old OSF1 sed.
28278
28279 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28280
28281 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
28282 sequent dynix.
28283 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
28284 * gdb.t15/funcargs.exp: Conditionally step again to really
28285 finish from marker_call_with_trampolines. Handle the case where
28286 the first step from within call_with_trampolines already steps
28287 us back to main.
28288 * gdb.t15/gdbme.c: Add comment to closing brace of
28289 call_with_trampolines for funcargs.exp.
28290
28291 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28292
28293 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28294 Fix typo(s).
28295
28296 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28297
28298 * gdb.t07/gdbme.c: More code for watchpoint testing.
28299
28300 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
28301 "Hardware watchpoint" throughout file.
28302 (test_watchpoint_triggered_in_syscall): New test.
28303 (test_complex_watchpoint): New test.
28304
28305 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28306
28307 * gdbme.c (call_with_trampolines): New function to try and step
28308 into. Tests trampoline problems on the PA.
28309
28310 * funcargs.exp (localvars_in_indirect_call): No longer expect
28311 stepping into indirect call to fail on PAs.
28312 (test_stepping_over_trampolines): New test.
28313
28314 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28315
28316 * TODO: Add suggestions for static member function tests, and
28317 completion tests.
28318
28319 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28320
28321 * TODO: Add suggestions for "p/a" tests.
28322
28323 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
28324 (default_gdb_exit): Replace all the hair with sending "quit" to
28325 the process with a simple close.
28326
28327 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28328
28329 * TODO: Add suggestions for shared library tests.
28330
28331 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28332
28333 * TODO: Add suggestions for x/s tests.
28334
28335 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28336
28337 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
28338 "enable once", and "enable breakpoints once" with ".*".
28339
28340 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28341
28342 * TODO: Add suggestions about structure passing tests.
28343
28344 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28345
28346 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
28347 the primary1 test, use work around if __GNUC__ < 2.
28348 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
28349 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
28350 Test for bad output rather than waiting for timeout. Issue
28351 second continue only if first continue failed.
28352
28353 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28354
28355 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
28356 operator[] test with gdb_test because the old code didn't seem to
28357 be getting the quoting right with the new dejagnu.
28358
28359 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
28360
28361 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
28362 one from the path.
28363 * Makefile.in: Use a fresh expect if there is one, use runtest
28364 from the src tree if there is one.
28365
28366 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28367
28368 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
28369 next over recursive call. Revise the tests from that point on
28370 (which had been skipped) to match GDB's actual (correct) output.
28371
28372 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
28373 with next over a breakpoint whose condition is false.
28374
28375 * gdb.t00/help.exp: Comment out "help set print" tests just like
28376 (and for same reason as) "help set" test.
28377
28378 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28379
28380 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
28381 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
28382
28383 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28384
28385 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
28386 necessary gdb_target_udi.
28387
28388 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
28389
28390 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
28391 1838 and 2417; they are fixed.
28392
28393 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
28394 gdb.t03/ptype.exp (ptype structure, ptype union):
28395 Remove xfails; the test is looser than when the xfails were added.
28396
28397 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
28398 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
28399
28400 * gdb.t01/run.exp: Only run shell test if isnative.
28401
28402 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
28403 since "run" automatically loads if necessary. Call gdb_target_udi
28404 after the "file" since "file" kills any execution target.
28405
28406 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
28407 GDB. GDB doesn't work that way (not anymore at least) on UDI.
28408 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
28409 argument for UDI.
28410
28411 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
28412
28413 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
28414
28415 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
28416
28417 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28418
28419 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
28420 properly quoting regexps. This makes the second argument to
28421 demangle a fixed string, which matches the callers, instead of a
28422 shell-style pattern which is what the previous implementation
28423 used. Update some of the callers.
28424
28425 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28426
28427 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
28428 (comib_nullified_tests): Fix typo.
28429 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
28430 strings. No longer expected to fail.
28431
28432 * gdb.disasm/hppa.s (addib_tests): Fix typo.
28433 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
28434 strings. No longer expected to fail.
28435
28436 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
28437 string. No longer expected to fail.
28438
28439 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28440
28441 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
28442 No longer expected to fail.
28443
28444 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
28445 string. No longer expected to fail.
28446
28447 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28448
28449 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
28450 only in the names (I probably got most of them). I was even
28451 generous with some which differed in underscores in names, and
28452 probably missed a few, and I *still* was able to remove almost a
28453 third of the file with almost no impact on testsuite coverage.
28454
28455 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28456
28457 * gdb.t00/default.exp: Match udi_attach error message as well as
28458 the one from child_attach.
28459
28460 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
28461
28462 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
28463
28464 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
28465 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
28466
28467 * Move test with enums and partial symbols back to
28468 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
28469 Reverts the change of 26 May 93. Per today's change to
28470 stabs.texinfo, the behavior that weird.exp was expecting was
28471 unreasonable; what is important is that the compiler+gdb get
28472 things right, which happens with a recent gcc. Also fix the test
28473 to deal with native compilers which put out the stab gdb can't
28474 deal with.
28475
28476 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28477
28478 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
28479 in the names. The main thing these accomplish is to slow things down.
28480 Many more such duplicates surely remain.
28481
28482 * gdb.t00/help.exp: Comment out "help support" test just like
28483 (and for same reason as) "help set" test.
28484
28485 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
28486
28487 * gdb.t06/break.exp: Remove setup_xfails for
28488 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
28489 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
28490 about known bug in gcc to include up through 2.5.8.
28491 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
28492 well as "_vb$".
28493 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
28494 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
28495 with latest gcc and gdb.
28496 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
28497 well as "_vb$".
28498
28499 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28500
28501 * configure.in (hppa*-*-*): Also configure and build stabs-only
28502 tests.
28503
28504 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28505
28506 * gdb.t10/hppa.mt: A makefile fragment for the PA.
28507 * gdb.t10/configure.in (hppa*-*-*): Use it.
28508
28509 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28510
28511 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
28512
28513 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28514
28515 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
28516 versions prior to 1.13.5.
28517
28518 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28519
28520 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
28521 the prompt is at the start of a line.
28522
28523 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
28524
28525 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
28526 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
28527 in the copr tests now.
28528 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
28529 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
28530 expected to fail.
28531
28532 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
28533
28534 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
28535 gdb.t31/chillvars.exp, lib/gdb.exp:
28536 Tweak to run under either version of expect.
28537 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
28538 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
28539 * gdb.t11/list.exp: Remove extraneous whitespace.
28540
28541 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28542
28543 * gdb.t16/printcmds.exp (test_print_strings): Accept
28544 "(unsigned char *) " before the string.
28545
28546 * TODO: Add notes about printing of fancy types and GDB expressions.
28547
28548 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
28549
28550 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
28551 * gdb.t06/configure.in: Don't try to compile signals test program
28552 if doing mips-idt-ecoff.
28553
28554 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
28555
28556 * Most .exp files: Tweak to run under either version of expect.
28557
28558 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28559
28560 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
28561 xfails; I'm not sure why they are failing, but not because of PR 1806.
28562
28563 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
28564
28565 * config/unix-gdb.exp: Remove gdb_unload cause it's already
28566 defined in lib/gdb.exp.
28567
28568 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28569
28570 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
28571 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
28572 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
28573 have to be typeless.
28574
28575 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28576
28577 * TODO: Add suggestion for copyright year test.
28578
28579 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
28580
28581 * configure.in (*-*-lynxos*): Add stabs tests.
28582
28583 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28584
28585 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
28586 so insert a tab before any assembler directive in column zero.
28587
28588 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
28589 stores.
28590 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
28591 stores.
28592 (fpu_short_memory_tests): Likewise.
28593
28594 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28595
28596 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
28597 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
28598 .stabs directives in comments.
28599
28600 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28601
28602 * TODO: New file, describing tests we could write.
28603 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
28604
28605 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28606
28607 * gdb.t06/signals.exp: Add kludge to force re-sync.
28608
28609 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
28610 to xgdb instead of gdb, get out of gdb.
28611
28612 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
28613
28614 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
28615 for info.
28616
28617 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
28618
28619 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
28620 * gdb.stabs/configure.in (hppa*-*-*): Use it.
28621 * gdb.stabs/hppa.sed: New sed script for the PA.
28622
28623 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28624
28625 * gdb.stabs: Re-write weird.def and configuration to use sed
28626 instead of cpp. sed is portable and POSIX; cpp is neither.
28627
28628 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28629
28630 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
28631
28632 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28633
28634 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
28635
28636 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28637
28638 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
28639 "_vb$".
28640 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
28641 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
28642
28643 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28644
28645 * lib/gdb.exp: Comment out code which depends on non-existent
28646 `transform' procedure.
28647
28648 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
28649
28650 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
28651 * lib/gdb.exp: Transform tool name.
28652 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
28653 1.1's new error handling system.
28654
28655 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28656
28657 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
28658
28659 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28660
28661 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
28662 They made pattern matching so slow that timeouts happened on
28663 heavily loaded systems. Now any output from "show print" which
28664 gets us back to the GDB prompt is a PASS.
28665
28666 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
28667
28668 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
28669
28670 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28671
28672 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
28673
28674 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
28675 It is not from PR 3220.
28676
28677 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28678
28679 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
28680 just started failing because they depended on the order the
28681 subcommands are presented, or exact docstring text. This kind of
28682 test is a pain and has minimal benefit.
28683
28684 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28685
28686 * gdb.t09/corefile.exp: At end of test, use "core" command with
28687 no arguments.
28688
28689 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
28690
28691 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
28692 17}/Makefile.in: Make it possible to run the testsuite with Sun
28693 make and CC = cross gcc by adding explicit build rules for .o
28694 files.
28695
28696 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28697
28698 * gdb.t15/funcargs.exp: Don't put comments on same line as
28699 setup_xfail (@#$*%& tcl braindamage!).
28700
28701 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28702
28703 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
28704
28705 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
28706
28707 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
28708 * gdb.t20/inherit.exp: remove three dumplicate entries.
28709
28710 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28711
28712 * gdb.t06/break.exp: For "next over recursive call", fail on any
28713 incorrect output, not just on "factorial (value=2)".
28714
28715 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28716
28717 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
28718 working now. Add an xfail if accesing a bss variable causes
28719 a memory error if the target is not yet run.
28720
28721 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28722
28723 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
28724 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
28725 name of __st* demangling (2 strings). Did Kung really get the
28726 more than 95 others right without testing them?
28727
28728 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
28729
28730 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
28731
28732 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
28733
28734 * configure.in (configdirs): Add gdb.disasm
28735 * gdb.disasm: New directory for GDB disassembler tests.
28736 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
28737
28738 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28739
28740 * gdb.t00/help.exp: Don't test "help set".
28741
28742 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
28743 from within expect statements. None of these happen anymore and
28744 they cause regressions to be silently unnoticed.
28745
28746 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
28747 messages) about known failures with gcc cygnus-2.4.5-930417.
28748
28749 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
28750 comp-info.exp so it gets built if it doesn't exist.
28751
28752 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
28753 it is no longer used.
28754 * gdb.t13/comp-info.c: Removed.
28755
28756 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28757
28758 * gdb.t06/signals.exp: Add xfail for sun3.
28759
28760 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28761
28762 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
28763 relevant because ^C doesn't get sent but failure can be reproduced
28764 interactively).
28765
28766 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28767
28768 * gdb.stabs/alpha.mt: New configuration file for alpha.
28769 * gdb.stabs/configure.in: Use it.
28770 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
28771 sharing with alpha.mt, redefine long to word via preprocessor.
28772 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
28773 for alpha.
28774 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
28775 native cc.
28776 * gdb.t00/teststrategy.exp: Change expect string so that we
28777 consume the `(xgdb)' from the command echo and from the gdb prompt.
28778 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
28779 gdb currently compares all values as long, so this failure probably
28780 applies to any configuration where LONGEST is bigger than a target int.
28781 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
28782 with gcc.
28783 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
28784 to handle opaque pointers, gcc is.
28785 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
28786 as first argument. Include <sys/types.h> and change all operator
28787 new definitions to use size_t.
28788 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
28789 now that we use size_t.
28790
28791 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28792
28793 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
28794 a long or float array cast all array members to the same type.
28795 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
28796 with 64 bit longs.
28797 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
28798 on alpha.
28799 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
28800
28801 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28802
28803 * gdb.t24 (demangle.exp): Constructors of templates have names like
28804 vector<int>::vector(int) not vector<int>::vector<int>(int). See
28805 section 14.6 of the ARM.
28806
28807 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
28808 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
28809 accomplish little and slow down the testsuite.
28810
28811 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
28812 Accept spaces various places.
28813
28814 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28815
28816 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
28817 with watchpoint enabled.
28818
28819 * Makefile.in: Remove definition of CC and remove the second
28820 definition of CXX (the "CXX = gcc" one remains). These definitions
28821 were causing backquotes to be expanded within backquotes, which
28822 doesn't work.
28823
28824 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
28825
28826 * gdb.t17/callfuncs.exp: Add "return 0" to end.
28827
28828 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28829
28830 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
28831 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
28832 by mips cc and contains no stabs entries.
28833
28834 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
28835
28836 * config/vx-gdb.exp: Use fake device to load files rather than
28837 NFS.
28838 * lib/gdb.exp: New proc to do "file" command.
28839 * config/unix-gdb.exp: Use new "file" proc.
28840
28841 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
28842
28843 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
28844 Rework board rebooting slightly.
28845 (gdb_exit): Don't exit from the remote shell; there isn't one.
28846 * gdb.stabs/weird.exp: If a program is being debugged already,
28847 kill it.
28848 * gdb.t04/setvar.exp: Stop and restart gdb.
28849 * gdb.t05/expr.exp: Likewise.
28850 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
28851 restart gdb and reload the program.
28852 * gdb.t08/opaque.exp: Likewise.
28853 * gdb.t12/scope.exp: Likewise.
28854 * gdb.t13/bitfields.exp: Likewise.
28855 * gdb.t15/funcargs.exp: Likewise.
28856 * gdb.t20/classes.exp: Likewise.
28857 * gdb.t03/ptype.exp: Increase timeout.
28858 * gdb.t16/printcmds.exp (test_print_string_constants,
28859 test_print_array_constants): Likewise.
28860 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
28861 * gdb.t20/classes.exp (do_tests): Likewise.
28862 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
28863
28864 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
28865
28866 * gdb.stabs: Renamed *wierd* to *weird*.
28867
28868 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28869
28870 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
28871 for timeout. Add "known gcc 2.4.5 bug" to failure message.
28872
28873 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
28874
28875 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
28876 (do_tests): Remove xfail for whatis on one_var and two_var.
28877
28878 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
28879
28880 * Makefile.in: Made cross building work better by adding
28881 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
28882
28883 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28884
28885 * gdb.t15/{return.c,return.exp,Makefile.in}:
28886 New test, currently commented out.
28887
28888 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
28889
28890 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
28891 still running and removes the leftover named socket so GDb can do
28892 clean restarts.
28893
28894 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
28895
28896 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
28897 console, not GDB.
28898 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
28899 cross testing works better with "make check"
28900 * config/unix-gdb: Use default procedures for exit and version.
28901 * config/vx-gdb.exp: Cleaned up and massaged back to working order
28902 with the newest VxWorks.
28903
28904 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28905
28906 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
28907 old form.
28908
28909 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
28910 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
28911
28912 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
28913
28914 * config/unix-gdb.exp: Remove this version of gdb_exit
28915 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
28916 Rob says he'll look at it when he gets back to testing boards.
28917
28918 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
28919
28920 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
28921 an expected fail for certain ptype commands.
28922
28923 * gdb.t20/classes.exp: Update expected results of "ptype class
28924 Base1" to account for the constructor that now appears in the type.
28925
28926 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
28927
28928 * configure.in (configdirs): Restore gdb.t04, which mysteriously
28929 disappeared from list.
28930 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
28931 "alldone" proc with call to cleanup and exit.
28932 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
28933 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
28934 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
28935 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
28936 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
28937 "alldone" proc with simple returns that suppress remaining
28938 tests. The alldone proc went away many months ago.
28939
28940 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28941
28942 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
28943
28944 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
28945
28946 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28947
28948 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
28949 as vax gdb will display them.
28950
28951 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28952
28953 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
28954 optimizers.
28955
28956 * scope.exp: Change "bad value for localval" messages so each one
28957 is unique.
28958
28959 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
28960 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
28961
28962 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
28963
28964 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28965
28966 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
28967 doesn't exist (due to optimization).
28968
28969 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28970
28971 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
28972 contains \r because the filename is long.
28973
28974 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
28975 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
28976
28977 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28978
28979 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
28980 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
28981 Ultrix.
28982 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
28983 int tests.
28984 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
28985
28986 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
28987
28988 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
28989
28990 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
28991 to match does not match the passing case but still matches the
28992 failing case.
28993
28994 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28995
28996 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
28997
28998 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
28999
29000 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
29001 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
29002 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
29003 Remove various versions of gdb_exit.
29004 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
29005 gdb_exit.
29006 * config/unix-gdb.exp: gdb_exit remains here, and should override
29007 the generic version, since it's doing a lot of wierd stuff that
29008 the other versions aren't. FIXME, fold it in, or abandon this
29009 version.
29010
29011 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29012
29013 * gdb.t24/demangle.exp: Add tests for PR 3220.
29014
29015 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29016
29017 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
29018
29019 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
29020
29021 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
29022 "i386-*-*". Works for i486 as well.
29023
29024 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
29025 bug, and expand domain of xfail to all SVR4 systems, since the
29026 actual problem is likely to be in generic SVR4 /proc support.
29027
29028 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29029
29030 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
29031
29032 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
29033
29034 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
29035 xfails for other systems. Match a missing 'Continuing.' as an
29036 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
29037
29038 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
29039 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
29040 Only issue warning for missing executables if -all option is used.
29041
29042 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
29043 file if -all option is used. It's like an unpredictable XFAIL.
29044
29045 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29046
29047 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
29048 for dynamically linked binaries.
29049
29050 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
29051
29052 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29053
29054 * gdb.t20/inherit.exp: Change message for "print tagless struct"
29055 to state that this is a known bug in old versions of g++.
29056
29057 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29058
29059 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
29060 while waiting for `Continuing'.
29061
29062 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
29063
29064 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
29065 in text, data, and bss.
29066 * gdb.t10/nodebug.c: Add local and global test variables for
29067 initialized and uninitialized data.
29068
29069 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29070
29071 * config/unix-gdb.exp (gdb_exit): Add "wait".
29072
29073 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29074
29075 * gdb.t06/signals.exp: xfail the continue from the handler for all
29076 targets.
29077
29078 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
29079 function with watchpoints enabled, the i386 call dummy starts with
29080 a call.
29081
29082 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
29083 386 bsd names its corefiles.
29084
29085 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
29086
29087 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
29088 compilers don't grok it.
29089 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
29090 with small octal ints rather than character constants, which
29091 are signed and might not fit if first promoted to int.
29092
29093 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
29094
29095 * gdb.t09/Makefile.in (clean): Remove corefile.
29096
29097 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29098
29099 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
29100
29101 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29102 and Jim Kingdon (kingdon@cygnus.com)
29103
29104 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
29105 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
29106 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
29107
29108 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29109
29110 * gdb.t17/interrupt.exp: Add xfail for hppa.
29111
29112 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29113
29114 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
29115 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
29116 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
29117 to determine signed-ness of bitfields and use the result to setup
29118 the xfail.
29119 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
29120 * gdb.t15/funcargs.exp: Use them to step until the second indirect
29121 call line is reached if necessary.
29122
29123 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29124
29125 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
29126
29127 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29128
29129 * gdb.t06/break.exp: Also test `clear' command.
29130
29131 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29132
29133 * gdb.t00/teststrategy.exp: Remove extra quote.
29134
29135 * gdb.t07/watchpoint.exp: Change xfail for calling function with
29136 watchpoint enabled to be for all non-68k machines.
29137
29138 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
29139
29140 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29141
29142 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
29143 targets use aout.mt instead of ecoff.mt as gas understands
29144 standard aout format.
29145
29146 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29147
29148 * lib/gdb.exp (runto): Don't insist that function we are running to
29149 was compiled with -g.
29150
29151 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
29152
29153 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
29154 to get back into the read system call.
29155 Accept leading newline in case where we woke it up.
29156
29157 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29158
29159 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
29160 to make the stabs test work on ecoff systems using gcc and -with-stabs.
29161 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
29162 enable ecoff configuration.
29163
29164 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29165
29166 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
29167
29168 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29169
29170 * gdb.t16/printcmds.exp: Add another printf test.
29171
29172 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
29173
29174 * configure.in: If configured -with-stabs on any target, add
29175 stabsdirs to configdirs.
29176
29177 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29178
29179 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
29180 fun" so pattern does not match the command itself.
29181
29182 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29183
29184 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
29185
29186 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29187
29188 * gdb.t17/interrupt.exp: Test for more things.
29189
29190 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29191
29192 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
29193 compiler arranges the code and line numbers.
29194
29195 * gdb.t17/interrupt.exp: Don't send \n after ^C.
29196
29197 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29198
29199 * gdb.t00/help.exp: Increase expect input buffer size.
29200
29201 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29202
29203 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
29204
29205 * gdb.t07/watchpoint.exp: Add xfail for hppa.
29206
29207 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
29208
29209 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
29210 [0-9]*, not just [0-9].
29211
29212 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29213
29214 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
29215
29216 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
29217
29218 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29219
29220 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
29221
29222 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29223
29224 * gdb.t06/signals.c: Add xfails for sun3.
29225
29226 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
29227
29228 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
29229 test_stepping tests.
29230
29231 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29232
29233 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
29234
29235 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
29236
29237 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
29238 rather than actually putting it through cpp twice.
29239
29240 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
29241
29242 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
29243
29244 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
29245 no longer needed.
29246
29247 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29248
29249 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
29250
29251 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
29252 C++ features prints as "struct", make it a pass, not an xfail.
29253
29254 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29255
29256 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
29257 Don't require VA to print as "class" rather than "struct".
29258
29259 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
29260
29261 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
29262
29263 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29264
29265 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
29266
29267 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29268
29269 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
29270 order.
29271
29272 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29273
29274 * gdb.t16/printcmds.exp: Add printf tests.
29275
29276 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
29277
29278 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
29279
29280 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
29281
29282 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
29283 pass counts, to counteract any existing or future setup_xfails.
29284
29285 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29286
29287 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
29288 {BEGIN,END}_COMMON for common block instead of STAB.
29289 * gdb.stabs/wierd.exp: Add xfail for rs6000.
29290
29291 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
29292 intp_var should be N_GSYM not N_LSYM.
29293 wierd-aout.S: Use a label for the value of the N_SO.
29294 wierd.def: Remove all backslashes.
29295 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
29296
29297 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29298
29299 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
29300 get the expected next to inheritance3.
29301
29302 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29303
29304 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
29305 now that gcc-2.4 gets it right.
29306
29307 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29308
29309 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
29310
29311 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
29312 generating comp-info.exp which works for cross-compilation.
29313
29314 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
29315
29316 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
29317 "*-*-sysv4.*".
29318
29319 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
29320
29321 * gdb.t01/run.exp: Start with a fresh gdb.
29322 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
29323 SVR4.x.
29324
29325 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
29326
29327 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
29328 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
29329 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
29330 Makefile.in (distclean, realclean): Remove gdbme.c from list of
29331 things to remove.
29332
29333 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
29334
29335 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
29336 test cases from bug reports.
29337
29338 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
29339
29340 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
29341 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
29342 avoid spurious xfails.
29343 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
29344 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
29345 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
29346
29347 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
29348
29349 * gdb.t00/teststrategy.exp: Rework to provide more useful
29350 description of each test, fix problem with systems that define
29351 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
29352 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
29353 results for "next over recursive call" so timeouts aren't taken
29354 by error.
29355
29356 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
29357
29358 * gdb.t12/scope.exp: Test printing of variables before run.
29359
29360 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
29361 printed in wrong order due to sorting.
29362
29363 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
29364
29365 * gdb.t00/teststrategy.exp: Fix expected results for printing
29366 user entered string constant. Is array of char, prints with no
29367 address.
29368
29369 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
29370 commands.
29371 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
29372 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
29373 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
29374 of struct of char arrays.
29375 * gdb.t00/radix.exp: New tests for radix commands.
29376
29377 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
29378
29379 * gdb.t16/printcmd.exp: Print a variable before running program
29380 (with xfail for AIX).
29381
29382 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
29383
29384 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
29385
29386 * gdb.t16/printcmd.exp: Don't print variables before running program.
29387
29388 * gdb.t06/break.exp: Don't require envp argument to main.
29389
29390 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
29391
29392 * gdb.t02/whatis.exp, gdb.t11/list.exp:
29393 Add xfails for rs6000.
29394
29395 * gdb.t02/whatis.exp: Change other tests not to re-test something
29396 we already tested.
29397
29398 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
29399 each type used has a variable of that type.
29400
29401 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
29402
29403 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
29404
29405 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
29406
29407 * configure.in: change srctrigger to be a file, not a directory
29408
29409 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
29410
29411 * configure.in (mips-idt-ecoff*): Added trailing '*'.
29412
29413 * gdb.t11/list.exp: Fixed a couple of typos.
29414
29415 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
29416
29417 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
29418 is fixed and PR is closed.
29419 * gdb.t16 (gdbme.c): Add simple test string variable.
29420 * gdb.t16 (printcmds.exp): Add tests with simple test string
29421 variable, primarily for boundaries on "set print elements".
29422
29423 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
29424
29425 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
29426 Make leading 0's optional and don't expect a tab in the middle
29427 of the number.
29428
29429 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
29430
29431 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
29432 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
29433 don't end command passed to gdb_test with newline.
29434
29435 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
29436 signed keyword away, don't expect signed bitfields to be signed.
29437
29438 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
29439 printing with only as many 1's as are in the field as well as printing
29440 with 32 1's (see comment).
29441
29442 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
29443
29444 * gdb.t00/default.exp: Start with a fresh gdb.
29445 * configure.in (configdirs): Remove gdb.t31 until the chill
29446 compiler works again. It no longer is able to find chillrt0
29447 since it isn't in libchill.a anymore.
29448 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
29449 wierd.o, make more modular.
29450 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
29451 spurious newlines that caused problems.
29452
29453 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29454
29455 * Move test with enums and partial symbols from gdb.t03/ptype.exp
29456 to gdb.stabs/wierd.exp since GCC has worked around the bug.
29457 gdb.stabs/wierd.{exp,def}: Many new tests.
29458
29459 * gdb.t00/default.exp: update info line for new message.
29460
29461 * gdb.t02/{whatis.exp,gdbme.c}:
29462 Test that "char *" doesn't print as "caddr_t".
29463
29464 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29465
29466 * gdb.t00/help.exp: Use .* in place of some help messages which
29467 just changed.
29468 gdb.t00/default.exp: Update "info frame" test for new message.
29469 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
29470 Remove some xfails
29471
29472 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29473
29474 * gdb.t03/{gdbme.c,ptype.exp}:
29475 Add tests for typedef'd struct and union without tags.
29476 Also check "whatis" on a variable of a typedef'd enum without a tag.
29477
29478 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
29479 PRMS 1823; the bug still exists but isn't reproduced by this test
29480 anymore), and remove rs6000 XFAIL (the bug is fixed).
29481
29482 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
29483 duplicated from whatis.exp. For those that are left, accept
29484 "long", "long int", or "int" for long variables (whatis.exp already
29485 has an XFAIL for "int", so no need to fail it here).
29486
29487 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
29488 Deal with GCC's names for types now that GDB uses the compiler's names.
29489
29490 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
29491 setup_xfail's for sunos4. If we #defined the signed keyword away,
29492 don't expect GDB to know that char it is signed.
29493
29494 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
29495
29496 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
29497
29498 * configure.in (configdirs): Add gdb.t24 for C++ tests that
29499 should work on any system, regardless of debugging format.
29500 * gdb.t21/demangle.exp: Move to gdb.t24.
29501 * gdb.t24/demangle.exp: Move from gdb.t21.
29502 * gdb.t24/{Makefile.in, configure.in}: New files.
29503
29504 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29505
29506 * configure.in: Do gdb.stabs and C++ tests only for stabs.
29507 * gdb.stabs: New directory.
29508
29509 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29510
29511 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
29512 not just "Quit anyway?".
29513
29514 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
29515
29516 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
29517 that all setup_xfails are immediately followed by clear_xfails.
29518
29519 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
29520
29521 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
29522 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
29523 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
29524 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
29525 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
29526 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29527 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29528 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
29529 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
29530 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
29531 gdb.t31/chillvars.exp, lib/gdb.exp:
29532 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
29533 bug-gdb@prep.ai.mit.edu.
29534
29535 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
29536
29537 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
29538 with 0.0, not integer 0.
29539
29540 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
29541
29542 * gdb.t06/break.exp: Update for "Kill the program" message change.
29543
29544 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
29545
29546 * Makefile.in (GDBFLAGS): Set to -nx.
29547 * Makefile.in (site.exp): Use GDBFLAGS.
29548
29549 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29550
29551 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
29552 Makefiles.
29553 (check): depend on just-check.
29554 (just-check): added so that tests can be run without a noop
29555 build pass.
29556
29557 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
29558
29559 Switch to using configure's configdirs.
29560 * Makefile.in (Makefile): add configure.in dependency.
29561 (SUBDIRS): removed redundant assignment.
29562 * configure.in: switch subdirs assignment to configdirs.
29563 * gdb.t*/configure.in: new files.
29564
29565 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
29566
29567 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
29568 works.
29569
29570 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
29571
29572 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
29573 in explicit rules. Apparently this is not supported by some makes.
29574
29575 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
29576
29577 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
29578
29579 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29580
29581 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
29582 disappeared.
29583
29584 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
29585
29586 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
29587
29588 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
29589
29590 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
29591 watchpoint problem that is now fixed.
29592 * gdb.t30/chexp.exp: Remove setup_xfail for printing
29593 uninitialized convenience variables.
29594 * gdb.t31/chillvars.exp: Fix expected patterns for printing
29595 structures.
29596
29597 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29598
29599 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
29600 which causes expect to get out of sync with gdb on long output
29601 from help set.
29602 * gdb.t09/corefile.exp: Make expected pattern for core file
29603 failing signal and frame output format less sun specific.
29604
29605 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
29606
29607 * gdb.t31/chillvars.exp: Add and remove initial dummy
29608 breakpoint, so that symbol table is forced in.
29609 (Needed at least on Sunos4, though it seems not SVR4.)
29610 * gdb.t31/chillvars.exp: Update for changed output format.
29611
29612 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
29613
29614 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
29615
29616 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
29617
29618 * Makefile.in: Added --srcdir when invoking runtest, removed the
29619 need for a local config file. (optional now)
29620
29621 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
29622
29623 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
29624 failure count used to force early termination. Add some more
29625 expected failures for gnu style demangling.
29626
29627 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29628
29629 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
29630 pmi variable from gdb.t20/gdbme to get optimized away.
29631 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
29632 Check for written corefile upon timeout _and_ eof.
29633
29634 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29635
29636 * config/unix-gdb.exp: Add missing return 0.
29637
29638 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29639
29640 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
29641 test termination.
29642
29643 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
29644
29645 * configure.in (subdirs): Put back gdb.t17 which mysteriously
29646 disappeared.
29647
29648 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
29649
29650 * gdb.t10/crossload.exp: Disable the i860-elf test until such
29651 time as i860 support works.
29652
29653 * gdb.t15/funcargs.exp: Fix expected outputs to include
29654 "backtrace 100\r" rather than just "backtrace\r", to match last
29655 change.
29656
29657 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
29658
29659 * config/udi-gdb.exp (gdb_exit): Remove close command.
29660 (gdb_target_udi): New procedure to set the UDI target.
29661 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
29662 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
29663 Added waits for prompts after several question responses. Added
29664 some more responses used by a29k-amd-udi-gdb.
29665 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
29666 pass different arguments, restart UDI connection after program
29667 completion.
29668 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
29669 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
29670 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
29671 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
29672 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
29673 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
29674 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
29675 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
29676 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
29677 after program completion.
29678 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
29679 compiled with a SELECT_VECS setting.
29680 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
29681 infinite recursion.
29682
29683 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
29684 Added checks for COFF results, and made them expected failures for
29685 all targets. It would be better to make them expected failures
29686 for COFF targets only.
29687
29688 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
29689
29690 * Makefile.in: add null dvi target, don't bother to recurse
29691 through test directories for info and install-info; rename
29692 $(datadir) to be dejagnu instead of deja-gnu
29693
29694 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
29695
29696 * gdb.t31/gdbme.ch: Re-enable code that previously caused
29697 compiler to coredump.
29698 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
29699 code.
29700
29701 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
29702
29703 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
29704 coredump.
29705 * gdb.t31/chillvars.exp: Comment out tests that depend on that
29706 code.
29707
29708 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
29709
29710 * gdb.t03/ptype.exp: tests for return code from gdb_test.
29711 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
29712 which in a shell. Deletes xgdb when done.
29713 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
29714 Tests the return from the "set height" or "set width" commands.
29715 Added a few return codes where needed.
29716
29717 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
29718
29719 * Makefile.in (SUBDIRS): Add gdb.t17.
29720 * configure.in (subdirs): Add gdb.t17.
29721 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
29722 files to test gdb's calling of functions in the inferior with
29723 the correct arguments and gdb's ability to retrieve any
29724 result returned.
29725
29726 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
29727
29728 * config/unix-gdb.exp (gdb_exit): Remove close commands that
29729 may be called after gdb goes away. Previous versions of expect
29730 needed these to avoid file descriptor leaks, but they cause
29731 errors with the current revision of expect.
29732 * gdb.t00/gdbvars.exp: Use -re on expected output after
29733 setting sevenbit-strings.
29734 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
29735 to set sevenbit-strings consistent across tests.
29736 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
29737 set sevenbit-strings consistent across tests.
29738
29739 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
29740
29741 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
29742 expected output to match current "expect" expectations.
29743
29744 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
29745
29746 * gdb.t00/default.exp: Change expected output for default "source"
29747 command, to match new gdb behavior which requires a filename to
29748 source.
29749
29750 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
29751
29752 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
29753 expected fail for i486-*-* that misses the marker2 function.
29754 * gdb.t10/crossload.exp (bfddefault): Allow successful
29755 recognition of a format to pass even if no symbols are found.
29756 Explicitly catch failures where the format is not recognized
29757 or is ambiguous, and add the reason to the fail message.
29758 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
29759 the cause is and invalid target and add reason to failure message.
29760 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
29761 elf32-i386, elf32-sparc, and elf32-i860.
29762 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
29763 Set up expected failure for 'filename'::variable scope resolution,
29764 which is now apparently broken on all targets.
29765 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
29766 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
29767 gdb.t23/templates.exp: Change failure for missing binfile into
29768 just a warning.
29769 gdb.t21/demangle.exp: Change all cfront references to 'arm'
29770 references.
29771
29772 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
29773
29774 * gdb.t00/default.exp: Add expected output for default "source"
29775 command, to match new gdb behavior.
29776 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
29777
29778 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
29779
29780 * config/*-gdb.exp: returns an error, rather than exiting on
29781 internal errors.
29782
29783 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
29784
29785 * gdb.t03/gdbme.c: Add pointer to struct variable.
29786 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
29787 referencing struct members.
29788
29789 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
29790
29791 * configure.in (mips-idt-ecoff): New target.
29792 * config/mips-gdb.exp: New file for remote board using MIPS remote
29793 debugging protocol.
29794
29795 * Redid configuration scheme. Removed gdb.t*/configure.in.
29796 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
29797 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
29798 distclean targets. Built executables via .o files. Adjusted
29799 tests to account for source files in $(srcdir) rather than
29800 $(objdir).
29801 * lib/gdb.exp (runto): Don't expect () after the function name,
29802 because it may have arguments.
29803
29804 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
29805
29806 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
29807 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
29808 expected failures for mips-idt-* and mips-sgi-*.
29809 * gdb.t00/default.exp (attach): Kill process if requested.
29810 * gdb.t00/help.exp (help target core, help target): Accept a gdb
29811 that does not read core files.
29812 * gdb.t01/run.exp: Removed checks for exit status code.
29813 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
29814 it is linked in.
29815 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
29816 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
29817 appropriate, rather than doing it by hand.
29818 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
29819 execution.
29820 * gdb.t10/crossload.exp: Kill existing program if needed.
29821 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
29822 appropriate, rather than doing it by hand. Always increase
29823 timeout for this test, not just for VxWorks.
29824
29825 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
29826
29827 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
29828 of Chill STRUCT types and STRUCT values.
29829 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
29830 than "char".
29831 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
29832 struct2): New struct definitions and initializations to test
29833 simple Chill STRUCT types.
29834
29835 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
29836
29837 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
29838 the null byte at the end of strings.
29839 * gdb.t00/default.exp: Make show version insensitive to copyright
29840 date.
29841 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
29842 to avoid dependencies on target char signedness.
29843 * gdb.t16/printcmds.exp: Update expected results for explicitly
29844 unsigned char.
29845 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
29846 now work.
29847 * gdb.t21/demangle.exp: Add many more patterns for template
29848 demangling, most of them being expected failures.
29849 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
29850 string we are matching for, to match on the whole string.
29851 * gdb.t21/demangle.exp: Add many new test strings to demangle,
29852 and fix a whole bunch that had incorrect expected output but were
29853 passing anyway because of the bug in "proc demangle".
29854 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
29855 type.
29856 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
29857
29858 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
29859
29860 * gdb/testsuite: made modifications to testcases, etc., to allow
29861 them to work properly given the reorganization of deja-gnu and the
29862 relocation of the testcases from deja-gnu to a "tool" subdirectory.
29863
29864 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
29865
29866 * gdb/testsuite: Initial creation of gdb/testsuite.
29867 Migrated dejagnu testcases and support files for testing nm to
29868 gdb/testsuite from deja-gnu. These files were moved "as is"
29869 with no modifications. This migration is part of a major overhaul
29870 of dejagnu. The modifications to these testcases, etc., which
29871 will allow them to work with the new version of dejagnu will be
29872 made in a future update.
29873
29874 For additional changes see gdb.mi/ChangeLog-1999-2003.
29875 \f
29876 ;; Local Variables:
29877 ;; mode: change-log
29878 ;; left-margin: 8
29879 ;; fill-column: 74
29880 ;; version-control: never
29881 ;; End:
29882
29883 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
29884 Copying and distribution of this file, with or without modification,
29885 are permitted provided the copyright notice and this notice are preserved.
This page took 0.707922 seconds and 4 git commands to generate.