* gdb.base/funcargs.exp (complex_args): Fix typo.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2012-04-07 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.base/funcargs.exp (complex_args): Fix typo.
4
5 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
8 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
9
10 2012-04-05 Keith Seitz <keiths@redhat.com>
11
12 * gdb.base/advance.exp: Update error message for
13 "advance malformed" test.
14 * gdb.base/break.exp: Likewise for "breakpoint with
15 trailing garbage" test.
16 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
17 with trailing garbage" test.
18 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
19 trailng garbage" test.
20 * gdb.base/until.exp: Likewise for "malformed until" test.
21 * gdb.cp/ovldbreak.exp: Create the breakpoint table
22 for "breakpoint info (after setting on all)".
23 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
24 tests.
25 * gdb.cp/cplabel.cc: New file.
26 * gdb.cp/cplabel.exp: New test.
27 * gdb.linespec/ls-errs.c: New file.
28 * gdb.linespec/ls-errs.exp: New test.
29
30 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
31
32 * gdb.trace/unavailable.exp
33 (collect globals: print object on: print derived_partial)
34 (collect globals: print object on: print derived_whole)
35 (collect globals: print object off: print derived_partial)
36 (collect globals: print object off: print derived_whole): Update
37 expected output.
38
39 2012-03-30 Keith Seitz <keiths@redhat.com>
40
41 * gdb.python: Add test for linespecs with commas.
42
43 2012-03-28 Keith Seitz <keiths@redhat.com>
44
45 * gdb.linespec/ls-dollar.cc: New file.
46 * gdb.linespec/ls-dollar.exp: New test.
47
48 2012-03-28 Keith Seitz <keiths@redhat.com>
49
50 * gdb.cp/namespace.exp: Add breakpoint tests for functions
51 starting with the global namespace.
52
53 2012-03-23 Doug Evans <dje@google.com>
54
55 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
56
57 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
58
59 * gdb.python/py-value.cc: Add test case for testing the
60 methodology exposing C++ values to Python.
61 * gdb.python/py-value-cc.exp: Add tests testing the methodology
62 exposing C++ values to Python.
63 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
64
65 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
66 Siddhesh Poyarekar <siddhesh@redhat.com>
67
68 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
69 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
70 (generate native core dump): Make the test unsupported if core cannot
71 be generated.
72
73 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
74
75 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
76 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
77 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
78
79 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
80
81 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
82
83 2012-03-17 Doug Evans <dje@google.com>
84
85 * dg-extract-results.sh: Handle KFAILs.
86
87 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 PR symtab/13777
90 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
91
92 2012-03-16 Joel Brobecker <brobecker@adacore.com>
93
94 * gdb.ada/set_pckd_arr_elt: New testcase.
95
96 2012-03-16 Gary Benson <gbenson@redhat.com>
97
98 PR breakpoints/10738
99 * gdb.opt/inline-break.exp: New file.
100 * gdb.opt/inline-break.c: Likewise.
101 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
102 * gdb.dwarf2/dw2-inline-break.S: Likewise.
103 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
104 * gdb.base/async-shell.exp: Likewise.
105 * lib/mi-support.exp (library_loaded_re): Likewise.
106
107 2012-03-15 Tom Tromey <tromey@redhat.com>
108
109 * gdb.cp/virtfunc2.exp: Update expected output.
110 * gdb.cp/pr9631.exp: Update expected output.
111 * gdb.cp/member-ptr.exp: Update expected output.
112 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
113 output.
114 * gdb.cp/casts.exp: Update expected output.
115
116 2012-03-15 Tom Tromey <tromey@redhat.com>
117
118 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
119 (test_info_vtbl): Likewise.
120 (do_tests): Call test_info_vtbl.
121 * gdb.cp/virtfunc.cc (va): New global.
122
123 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
124
125 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
126 describing DWARF data structures.
127 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
128 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
129 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
130 * gdb.dwarf2/dw2-entry-value.S: Likewise.
131 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
132 * gdb.dwarf2/dw2-param-error.S: Likewise.
133 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
134 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
135 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
136 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
137 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
138 * gdb.dwarf2/pr11465.S: Likewise.
139
140 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * gdb.mi/mi2-prompt.exp: New file.
143
144 2012-03-13 Joel Brobecker <brobecker@adacore.com>
145
146 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
147
148 2012-03-13 Joel Brobecker <brobecker@adacore.com>
149
150 * gdb.ada/bp_range_type: New testcase.
151
152 2012-03-13 Doug Evans <dje@google.com>
153
154 * gdb.base/default.exp: Delete tests for symbol-reloading.
155 * gdb.base/help.exp: Ditto.
156 * gdb.base/setshow.exp: Ditto.
157 * gdb.base/gdb_history: Delete references to symbol-reloading.
158
159 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
160
161 * gdb.base/attach-twice.c: New files.
162 * gdb.base/attach-twice.exp: New files.
163
164 2012-03-08 Keith Seitz <keiths@redhat.com>
165
166 * lib/gdb.exp (gdb_get_line_number): Throw an
167 error instead of returning -1.
168 * gdb.base/break.exp: Remove unused variable
169 bp_location5.
170 * gdb.base/hbreak2.exp: Likewise.
171 * gdb.base/sepdebug.exp: Likewise.
172
173 2012-03-08 Yao Qi <yao@codesourcery.com>
174 Pedro Alves <palves@redhat.com>
175
176 Fix PR server/13392.
177 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
178 (tracepoint_change_loc_2): Remove kfail. Return if failed to
179 download tracepoints.
180 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
181 (pending_tracepoint_resolved_during_trace): Likewise.
182 (pending_tracepoint_installed_during_trace): Likewise.
183 (pending_tracepoint_with_action_resolved): Likewise.
184
185 2012-03-08 Keith Seitz <keiths@redhat.com>
186
187 * gdb.ada/array_bounds.exp: Get breakpoint for line
188 with "START", not "STOP".
189 * gdb.python/py-infthread.exp: Do not continue to
190 line marked "Break here.", which is undefined.
191
192 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
193
194 Revert:
195
196 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
197
198 Implement testsuite workaround for PR breakpoints/13781.
199 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
200 (set breakpoint condition-evaluation host): New conditional command.
201
202 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
203
204 Fix CU relative vs. absolute DIE offsets.
205 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
206 one.
207
208 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
209
210 Fix false FAIL on distros with relro linkage as default.
211 * gdb.reverse/solib-precsave.exp: Try to compile the test using
212 -Wl,-z,norelro first.
213
214 2012-03-06 Joel Brobecker <brobecker@adacore.com>
215
216 * gdb.ada/bp_on_var: New testcase.
217
218 2012-03-06 Joel Brobecker <brobecker@adacore.com>
219
220 * gdb.ada/bp_enum_homonym: New testcase.
221
222 2012-03-06 Yao Qi <yao@codesourcery.com>
223
224 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
225 x86_64-*-* and i?86-*-*.
226 Set up KFAIL for gdb/13808.
227
228 2012-03-05 Tom Tromey <tromey@redhat.com>
229
230 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
231 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
232
233 2012-03-05 Tom Tromey <tromey@redhat.com>
234
235 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
236
237 2012-03-04 Yao Qi <yao@codesourcery.com>
238
239 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
240 messages for KFAIL.
241
242 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
243
244 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
245 (print one_two_three, indexes off, print few_reps, indexes off)
246 (print many_reps, indexes off, print empty, indexes off)
247 (print one_two_three, print few_reps, print many_reps, print empty):
248 Call setup_xfail if $gcc_old.
249
250 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 Implement testsuite workaround for PR breakpoints/13781.
253 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
254 (set breakpoint condition-evaluation host): New conditional command.
255
256 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
257
258 Code cleanup.
259 * gdb.cp/mb-templates.exp: New variables executable. Use it for
260 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
261 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
262 number 1 by $bpnum. Four times.
263
264 2012-03-03 Yao Qi <yao@codesourcery.com>
265
266 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
267
268 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 Setup KFAIL for PR server/13796.
271 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
272
273 2012-03-02 Joel Brobecker <brobecker@adacore.com>
274
275 * gdb.ada/operator_bp: New testcase.
276
277 2012-03-02 Joel Brobecker <brobecker@adacore.com>
278
279 * gdb.ada/info_locals_renaming: New testcase.
280
281 2012-03-02 Tom Tromey <tromey@redhat.com>
282
283 * gdb.base/nextoverexit.c: New file.
284 * gdb.base/nextoverexit.exp: New file.
285
286 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
287
288 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
289 parameter.
290
291 2012-03-01 Maciej W. Rozycki <macro@mips.com>
292
293 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
294 core registers.
295
296 2012-03-01 Maciej W. Rozycki <macro@mips.com>
297 Maciej W. Rozycki <macro@codesourcery.com>
298 Daniel Jacobowitz <dan@codesourcery.com>
299
300 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
301
302 2012-03-01 Pedro Alves <palves@redhat.com>
303
304 PR gdb/13767
305
306 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
307 (gdb_collect_globals_test): Call it.
308
309 2012-03-01 Keith Seitz <keiths@redhat.com>
310
311 * gdb.cp/method2.exp: Output of overload menu is now
312 alphabetized. Update tests for "break A::method".
313 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
314 of hard-coding them.
315 Overload menu is alphabetized: rewrite to accommodate.
316 Unset variables LINE and TYPES which are used in other tests.
317 Compute the output of "info break".
318 Update the breakpoint table after all breakpoints are deleted.
319 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
320 compute ACTUALS and the method body based on parameters.
321 Update expected output accordingly.
322 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
323 unique comments to allow the use of gdb_get_line_number.
324
325 2012-03-01 Keith Seitz <keiths@redhat.com>
326
327 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
328 some Tcl syntax.
329 * gdb.cp/ovldbreak.exp: Likewise.
330
331 2012-03-01 Keith Seitz <keiths@redhat.com>
332
333 * gdb.base/help.exp (help show user): Update expected result
334 for new doc string changes (add "non-python").
335
336 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
337
338 * gdb.python/py-cmd.exp: Add test to verify that python commands can
339 be put in the user-defined category and that the commands appear in
340 "help user-defined".
341
342 2012-02-29 Joel Brobecker <brobecker@adacore.com>
343
344 * gdb.ada/tagged_not_init: New testcase.
345
346 2012-02-29 Joel Brobecker <brobecker@adacore.com>
347
348 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
349 * gdb.ada/enum_idx_packed: New testcase.
350
351 2012-02-29 Joel Brobecker <brobecker@adacore.com>
352
353 * gdb.ada/aliased_array: New testcase.
354
355 2012-02-29 Joel Brobecker <brobecker@adacore.com>
356
357 * gdb.ada/whatis_array_val: New testcase.
358
359 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
360
361 Fix disp-step-syscall.exp: fork: single step over fork.
362 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
363 whitespaces.
364 (single step over $syscall): Remove its check.
365 (single step over $syscall final pc): New check.
366
367 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
368
369 Support processors without SSSE3.
370 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
371 pabsd into ...
372 (ssse3_test): ... a new function.
373 (main): Call ssse3_test.
374 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
375 Update expected values everywhere.
376 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
377 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
378 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
379 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
380 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
381 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
382 Move these tests lower.
383 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
384 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
385 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
386 New tests.
387
388 2012-02-29 Yao Qi <yao@codesourcery.com>
389 Pedro Alves <palves@redhat.com>
390
391 * gdb.trace/trace-mt.c: New.
392 * gdb.trace/trace-mt.exp: New.
393
394 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
395
396 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
397 numbers instead of hardcoding them.
398 * gdb.base/annota1.c: Provide suitable markers.
399 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
400 numbers instead of hardcoding them.
401 * gdb.base/annota3.c: Provide suitable markers.
402
403 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
404 * gdb.base/annota3.c: Likewise.
405 * gdb.base/sigall.c: Likewise.
406 * gdb.base/signals.c: Likewise.
407 * gdb.reverse/sigall-reverse.c: Likewise.
408
409 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
410
411 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
412 failure return path.
413
414 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
415
416 * gdb.base/save-bp.exp: Account for new condition evaluator output.
417
418 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
419
420 * gdb.base/cond-eval-mode.exp: New file.
421
422 2012-02-24 Pedro Alves <palves@redhat.com>
423
424 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
425 (top level): Use with_test_prefix.
426
427 2012-02-24 Pedro Alves <palves@redhat.com>
428
429 * gdb.threads/attach-into-signal.exp (corefunc): Use
430 with_test_prefix.
431
432 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
433
434 Fix false FAILs on old CPUs without SSE.
435 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
436 Return untested for Illegal instruction.
437
438 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
439
440 Fix false FAILs with glibc debug infos installed.
441 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
442 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
443
444 2012-02-22 Sterling Augustine <saugustine@google.com>
445
446 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
447 constant with cast.
448
449 2012-02-21 Pedro Alves <palves@redhat.com>
450
451 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
452
453 2012-02-21 Pedro Alves <palves@redhat.com>
454
455 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
456
457 2012-02-21 Pedro Alves <palves@redhat.com>
458
459 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
460 with_test_prefix.
461
462 2012-02-21 Pedro Alves <palves@redhat.com>
463
464 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
465 with_test_prefix here.
466 (top level): Do it here instead. Remove `:' from the
467 with_test_prefix string.
468 * gdb.base/attach-pie-misread.exp: Remove the leading space the
469 the suffix `:' from the with_test_prefix prefix string.
470 * gdb.base/break-interp.exp: Ditto.
471 * gdb.base/catch-load.exp: Ditto.
472 * gdb.base/disp-step-syscall.exp: Ditto.
473 * gdb.base/jit-so.exp: Ditto.
474 * gdb.base/jit.exp: Ditto.
475 * gdb.base/sepdebug.exp: Ditto.
476 * gdb.base/solib-display.exp: Ditto.
477 * gdb.base/solib-overlap.exp: Ditto.
478 * gdb.base/watch-cond-infcall.exp: Ditto.
479 * gdb.base/watchpoint.exp: Ditto.
480 * gdb.dwarf2/dw2-noloc.exp: Ditto.
481 * gdb.mi/mi-watch.exp: Ditto.
482 * gdb.mi/mi2-watch.exp: Ditto.
483 * gdb.threads/non-ldr-exc-1.exp: Ditto.
484 * gdb.threads/non-ldr-exc-2.exp: Ditto.
485 * gdb.threads/non-ldr-exc-3.exp: Ditto.
486 * gdb.threads/non-ldr-exc-4.exp: Ditto.
487 * gdb.threads/watchpoint-fork.exp: Ditto.
488 * gdb.threads/watchthreads-reorder.exp: Ditto.
489 * gdb.trace/change-loc.exp: Ditto.
490 * gdb.trace/pending.exp: Ditto.
491 * gdb.trace/status-stop.exp: Ditto.
492 * gdb.trace/strace.exp: Ditto.
493 * gdb.trace/trace-break.exp: Ditto.
494 * gdb.trace/unavailable.exp: Ditto.
495 * lib/gdb.exp (with_test_prefix): Always prefix with space and
496 suffix with colon. Adjust leading comments.
497
498 2012-02-21 Pedro Alves <palves@redhat.com>
499 Tom Tromey <tromey@redhat.com>
500
501 * lib/gdb.exp: Add description of test prefixes.
502 (with_test_prefix): New procedure.
503 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
504 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
505 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
506 instead of lappend to append to pf_prefix.
507 * gdb.base/catch-load.exp: Use with_test_prefix.
508 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
509 * gdb.base/jit-so.exp: Use with_test_prefix.
510 * gdb.base/jit.exp: Use with_test_prefix.
511 * gdb.base/return-nodebug.exp (do_test): Use append instead of
512 lappend to append to pf_prefix.
513 * gdb.base/sepdebug.exp: Use with_test_prefix.
514 * gdb.base/solib-display.exp: Use with_test_prefix.
515 * gdb.base/solib-overlap.exp: Use with_test_prefix.
516 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
517 * gdb.base/watchpoint.exp: Use with_test_prefix.
518 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
519 * gdb.mi/mi-watch.exp: Use with_test_prefix.
520 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
521 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
522 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
523 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
524 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
525 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
526 append instead of lappend to append to pf_prefix.
527 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
528 * gdb.trace/change-loc.exp: Use with_test_prefix.
529 * gdb.trace/pending.exp: Use with_test_prefix.
530 * gdb.trace/status-stop.exp: Use with_test_prefix.
531 * gdb.trace/strace.exp: Use with_test_prefix.
532 * gdb.trace/trace-break.exp: Use with_test_prefix.
533 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
534 instead of lappend to append to pf_prefix.
535
536 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
537
538 Fix racy FAILs.
539 * gdb.base/inferior-died.c (main): Add return of 0.
540 * gdb.base/inferior-died.exp (continue): Fix expectation of
541 asynchronous events.
542 (p 1): New test.
543
544 2012-02-20 Pedro Alves <palves@redhat.com>
545
546 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
547 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
548 gdb's internal debug output. For the non-threaded case, look for
549 "Program received signal SIGLARM", for the threaded case, peek at
550 the thread's siginfo.
551
552 2012-02-20 Pedro Alves <palves@redhat.com>
553
554 General cleanup, make output test messages unique, and build
555 different executable files for the non-threaded and threaded
556 cases.
557
558 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
559 Delete.
560 (executable_nothr, executable_thr): New globals.
561 (top level): Adjust to delete both executables.
562 (corefunc): New parameter $executable. Set $pf_prefix instead of
563 hand writing a prefix in tests. Issue a clean_restart and enable
564 lin-lwp debug output here.
565 (top level): Adjust. Use build_executable. Don't start gdb here,
566 and don't enable lin-lwp debug output here.
567 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
568
569 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
570
571 Fix racy FAILs.
572 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
573 "continue" command.
574
575 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
576
577 Fix for gdbserver non-extended mode.
578 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
579 and gdb_run_cmd.
580
581 2012-02-17 Tom Tromey <tromey@redhat.com>
582
583 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
584 * gdb.python/py-events.exp: Check 'dir' output.
585 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
586
587 2012-02-17 Yao Qi <yao@codesourcery.com>
588
589 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
590
591 2012-02-16 Tom Tromey <tromey@redhat.com>
592
593 * gdb.base/inferior-died.c: Don't include stdio.h.
594
595 2012-02-16 Tom Tromey <tromey@redhat.com>
596
597 * gdb.base/inferior-died.c: New file.
598 * gdb.base/inferior-died.exp: New file.
599
600 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
601
602 * gdb.base/break-inline.exp: New file.
603 * gdb.base/break-inline.c: New file.
604
605 2012-02-15 Tom Tromey <tromey@redhat.com>
606
607 * gdb.base/pc-fp.exp: Add "info register" tests.
608
609 2012-02-15 Tom Tromey <tromey@redhat.com>
610
611 * gdb.base/regs.exp: Remove.
612
613 2012-02-15 Pedro Alves <palves@redhat.com>
614
615 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
616 the target doesn't support tracepoints.
617 * gdb.trace/circ.exp: Ditto.
618 * gdb.trace/collection.exp: Ditto.
619 * gdb.trace/packetlen.exp: Ditto.
620 * gdb.trace/passc-dyn.exp: Ditto.
621 * gdb.trace/report.exp: Ditto.
622 * gdb.trace/tfind.exp: Ditto.
623 * gdb.trace/tspeed.exp: Ditto.
624 * gdb.trace/tsv.exp: Ditto.
625 * gdb.trace/unavailable.exp: Ditto.
626 * gdb.trace/while-dyn.exp: Ditto.
627
628 2012-02-15 Pedro Alves <palves@redhat.com>
629
630 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
631 gdb_test_multiple, and call unsupported instead of fail, if the
632 remote side does not support the request.
633
634 2012-02-15 Pedro Alves <palves@redhat.com>
635
636 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
637 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
638 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
639 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
640 * gdb.server/server-run.exp: Make sure gdb is disconnected.
641 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
642 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
643 doesn't start with "extended-" already.
644
645 2012-02-15 Pedro Alves <palves@redhat.com>
646
647 Support extended-remote. Avoid cascading timeouts.
648
649 * gdb.base/attach.exp (do_attach_tests): Add expected output for
650 the extended-remote target. If attaching with no file fails, load
651 the file manually.
652 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
653
654 2012-02-14 Stan Shebs <stan@codesourcery.com>
655
656 * gdb.base/ena-dis-br.exp: Add enable count test.
657
658 2012-02-13 Pedro Alves <palves@redhat.com>
659
660 * config/mips-idt.exp: Delete.
661 * gdb.base/a2-run.exp: Remove mips-idt xfails.
662 * gdb.base/bitfields.exp: Remove mips-idt restarts.
663 * gdb.base/break.exp: Remove mips-idt references.
664 * gdb.base/chng-syms.exp: Ditto.
665 * gdb.base/default.exp: Ditto.
666 * gdb.base/funcargs.exp (funcargs_reload): Delete.
667 (top level): Don't call it.
668 * gdb.base/opaque.exp: Remove mips-idt restarts.
669 * gdb.base/ptype.exp: Remove mips-idt xfails.
670 * gdb.base/scope.exp: Remove mips-idt restarts.
671 * gdb.base/sepdebug.exp: Remove mips-idt references.
672 * gdb.base/watchpoint.exp (maybe_clean_restart)
673 (maybe_reinitialize): Delete.
674 (test_disabling_watchpoints, test_disabling_watchpoints)
675 (test_watchpoint_triggered_in_syscall)
676 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
677 Don't call them.
678
679 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
680
681 * gdb.server/server-exec-info.exp: New file.
682
683 2012-02-10 Pedro Alves <palves@redhat.com>
684
685 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
686 always non-empty.
687 (test_attach): Always pass $exec to test_attach_gdb.
688
689 2012-02-08 Tom Tromey <tromey@redhat.com>
690
691 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
692 before inferior is started.
693
694 2012-02-07 Tom Tromey <tromey@redhat.com>
695
696 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
697 Symbol.value.
698 * gdb.python/py-symbol.c (qq): Set default value.
699
700 2012-02-07 Tom Tromey <tromey@redhat.com>
701
702 * gdb.python/py-symbol.c (qq): New global.
703 * gdb.python/py-symbol.exp: Add test for frame-less
704 lookup_symbol.
705 * gdb.python/py-symtab.exp: Fix line number.
706
707 2012-02-03 Joel Brobecker <brobecker@adacore.com>
708
709 * gdb.ada/mi_task_arg: New testcase.
710
711 2012-02-02 Pedro Alves <palves@redhat.com>
712
713 * gdb.reverse/until-precsave.exp: Also put "record save" under the
714 extended timeout.
715
716 2012-02-02 Pedro Alves <palves@redhat.com>
717
718 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
719 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
720
721 2012-02-02 Pedro Alves <palves@redhat.com>
722
723 * gdb.base/term.exp: Rewrite.
724 * gdb.base/term.c: New.
725
726 2012-02-02 Pedro Alves <palves@redhat.com>
727
728 * gdb.base/default.exp (run "r" abbreviation, run): Add
729 extended-remote expected output.
730
731 2012-02-02 Tom Tromey <tromey@redhat.com>
732
733 * gdb.cp/dispcxx.exp: New file.
734 * gdb.cp/dispcxx.cc: New file.
735
736 2012-02-01 Tom Tromey <tromey@redhat.com>
737
738 * gdb.base/jit-simple.exp: New file.
739 * gdb.base/jit-simple.c: New file.
740
741 2012-01-30 Yao Qi <yao@codesourcery.com>
742
743 * gdb.base/skip.exp: Make test result unique.
744
745 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
746
747 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
748 compatibility with valgrind-3.7.0.
749
750 2012-01-27 Pedro Alves <palves@redhat.com>
751
752 * gdb.base/watchpoint.exp (no_hw): New global.
753 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
754 disable hw watchpoints.
755 (test_wide_location_1, test_wide_location_2): If no_hw is set,
756 don't expect hw watchpoints.
757 (no_hw_watchpoints): Always clean restart.
758 (do_tests): New procedure, factored out from the top level.
759 (top level): Run tests twice. Once with hw watchpoints enabled,
760 another time with hw watchpoints disabled.
761
762 2012-01-27 Pedro Alves <palves@redhat.com>
763
764 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
765 out from the top level.
766 (top level): Call it instead.
767
768 2012-01-27 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/watchpoint.exp (top level): Re-enable hardware
771 watchpoints sooner.
772
773 2012-01-27 Pedro Alves <palves@redhat.com>
774
775 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
776
777 2012-01-27 Pedro Alves <palves@redhat.com>
778
779 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
780 "You may have requested too many hardware
781 breakpoints/watchpoints".
782
783 2012-01-27 Pedro Alves <palves@redhat.com>
784
785 * gdb.base/watchpoint.exp (maybe_clean_restart)
786 (maybe_reinitialize): New.
787 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
788 expect "hit N times".
789 (test_disabling_watchpoints, test_complex_watchpoint)
790 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
791 Call maybe_clean_restart.
792 (top level): Use clean_restart. Remove "mips-idt-*"
793 reinitialization.
794
795 2012-01-27 Pedro Alves <palves@redhat.com>
796
797 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
798
799 2012-01-27 Pedro Alves <palves@redhat.com>
800
801 * gdb.base/watchpoint.exp: Clean restart after tests that don't
802 require `initialize' anymore. Remove unnecessary `initialize'
803 calls.
804
805 2012-01-27 Pedro Alves <palves@redhat.com>
806
807 * gdb.base/watchpoint.exp (wp_set): Delete.
808 (initialize, test_simple_watchpoint, top level): Remove dead code.
809
810 2012-01-27 Pedro Alves <palves@redhat.com>
811
812 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
813 typo.
814
815 2012-01-27 Pedro Alves <palves@redhat.com>
816
817 * config/extended-gdbserver.exp: New file.
818 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
819 comment.
820 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
821 * boards/native-extended-gdbserver.exp: New file.
822
823 2012-01-26 Pedro Alves <palves@redhat.com>
824
825 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
826 and gdb_test_multiple.
827
828 2012-01-26 Pedro Alves <palves@redhat.com>
829
830 Make test messages unique, and more identifiable.
831 * gdb.multi/watchpoint-multi.exp: Change test messages.
832
833 2012-01-25 Tom Tromey <tromey@redhat.com>
834
835 * gdb.base/solib-disc.exp: Fix regexps.
836
837 2012-01-24 Tom Tromey <tromey@redhat.com>
838
839 * lib/mi-support.exp (mi_expect_stop): Add special case for
840 solib-event.
841 * gdb.base/catch-load-so.c: New file.
842 * gdb.base/catch-load.exp: New file.
843 * gdb.base/catch-load.c: New file.
844 * gdb.base/break-interp.exp (reach_1): Update regexp.
845
846 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
847
848 Fix fuzzy results.
849 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
850 lpsimple and func.
851
852 2012-01-24 Gary Benson <gbenson@redhat.com>
853
854 Delete #if 0'd out code.
855 * gdb.base/default.exp (info catch): Remove.
856 * gdb.base/gdb_history (info catch): Likewise.
857 * gdb.base/help.exp (info catch): Likewise.
858
859 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
860
861 Fix watchpoints to be specific for each inferior.
862 * gdb.multi/watchpoint-multi.c: New file.
863 * gdb.multi/watchpoint-multi.exp: New file.
864
865 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
866
867 Fix watchpoints across inferior fork.
868 * gdb.threads/watchpoint-fork-child.c: New file.
869 * gdb.threads/watchpoint-fork-mt.c: New file.
870 * gdb.threads/watchpoint-fork-parent.c: New file.
871 * gdb.threads/watchpoint-fork-st.c: New file.
872 * gdb.threads/watchpoint-fork.exp: New file.
873 * gdb.threads/watchpoint-fork.h: New file.
874
875 2012-01-23 Pedro Alves <palves@redhat.com>
876
877 * gdb.base/call-signal-resume.exp: Allow output after "return".
878
879 2012-01-20 Pedro Alves <palves@redhat.com>
880
881 * gdb.python/py-finish-breakpoint.py: Fix typo.
882
883 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
884
885 * gdb.base/info-proc.exp: Also run on remote targets. Main
886 "info proc" command is now always present; whether target supports
887 actual info proc operation is detected when attempting to issue
888 the command.
889
890 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
891
892 * .gdbinit: Remove.
893
894 2012-01-19 Pedro Alves <palves@redhat.com>
895
896 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
897 look at the funtions' returns.
898 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
899 (jprint.print(int, int)): Change return type to int. Adjust.
900
901 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
902
903 PR gdb/9538
904 * gdb.base/sepdebug.exp: New test.
905
906 2012-01-18 Pedro Alves <palves@redhat.com>
907
908 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
909 Allow output before ^done.
910
911 2012-01-16 Tom Tromey <tromey@redhat.com>
912
913 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
914 Add tests for relative directory.
915
916 2012-01-16 Tom Tromey <tromey@redhat.com>
917
918 * gdb.base/printcmds.c (enum flag_enum): New.
919 (three): New global.
920 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
921 enum printing.
922 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
923 FlagEnumerationPrinter.
924 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
925 * gdb.python/py-pp-maint.c (enum flag_enum): New.
926 (fval): New global.
927
928 2012-01-16 Pedro Alves <palves@redhat.com>
929
930 * lib/gdb.exp (banned_procedures): New variable.
931 (banned_variables_traced): Rename to ...
932 (banned_traced): ... this.
933 (gdb_init): Also trace banned procedures.
934 (gdb_finish): Also untrace banned procedures.
935
936 2012-01-16 Pedro Alves <palves@redhat.com>
937
938 Remove all calls to strace.
939
940 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
943 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
944
945 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
946
947 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
948 * gdb.base/pie-execl.exp: Likewise.
949
950 2012-01-12 Keith Seitz <keiths@redhat.com>
951
952 PR mi/10586
953 * gdb.mi/var-cmd.c (struct anonymous): New structure.
954 (do_anonymous_type_tests): New function.
955 (main): Call do_anonymous_type_tests.
956 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
957 (verify_everything): New procedure.
958 * gdb.mi/mi-var-cp.cc (class A): New class.
959 (anonymous_structs_and_unions): New function.
960 (main): Call anonymous_structs_and_unions.
961 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
962 (verify_everything): New procedure.
963
964 2012-01-12 Keith Seitz <keiths@redhat.com>
965
966 * lib/mi-support.exp: Expand comments about PATH_EXPR.
967 (varobj_tree::get_path_expr): Assume that all varobjs are
968 compound unless they are known simple types.
969 Adjust path expressions based on parent type, path parent type,
970 and tree language.
971 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
972 the root varobj.
973 (mi_walk_varobj_tree): Add LANGUAGE parameter.
974
975 2012-01-11 Pedro Alves <palves@redhat.com>
976
977 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
978 core files on this machine" anymore.
979
980 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
981
982 * gdb.base/watchpoint.c (recurser): Initialize local_x.
983 (main): Repeat recurser call.
984 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
985 equivalent to 'local_x'.
986
987 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
988 Joel Brobecker <brobecker@adacore.com>
989
990 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
991
992 2012-01-05 Pedro Alves <alves.ped@gmail.com>
993
994 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
995 * gdb.python/py-events.c (first): Add bits for new "step N" test.
996 * gdb.python/py-events.exp: Test that "step N" tripping on a
997 breakpoint emits a breakpoint event.
998
999 2012-01-03 Joel Brobecker <brobecker@adacore.com>
1000
1001 * gdb.base/auxv.exp: Reformat the copyright notice.
1002
1003 2012-01-03 Yao Qi <yao@codesourcery.com>
1004
1005 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
1006 (strace_trace_on_diff_addr): New.
1007 * gdb.trace/strace.c: (main): Add two local variables.
1008
1009 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
1010
1011 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
1012 * gdb.cell/gcore.exp: Likewise.
1013 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
1014 to verify the correct instance of main is selected.
1015
1016 2012-01-02 Joel Brobecker <brobecker@adacore.com>
1017
1018 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
1019 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
1020 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
1021 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
1022 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
1023 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
1024 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
1025 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
1026 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
1027 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
1028 gdb.threads/thread_check.c: Reformat copyright header.
1029
1030 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
1031
1032 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
1033 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
1034 is not enabled.
1035
1036 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1037
1038 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
1039 parameter to self_exec, adjust the function.
1040 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
1041 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
1042 (set var do_exit = 0): Remove test.
1043 (newline at end of file): Add one.
1044
1045 2011-12-27 Joel Brobecker <brobecker@adacore.com>
1046
1047 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
1048 New files.
1049
1050 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 Fix racy FAILs.
1053 * gdb.threads/fork-thread-pending.c (barrier): New variable.
1054 (thread_function, thread_forker): Call pthread_barrier_wait for it.
1055 (main): Call pthread_barrier_init for it.
1056
1057 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1058
1059 Fix double send_gdb leading to racy FAILs.
1060 * gdb.base/break.exp (set silent break bp_location1): Replace
1061 3x send_gdb and gdb_expect by gdb_test.
1062 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
1063 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
1064 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
1065 instead of send_gdb. Twice.
1066 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
1067 3x send_gdb and gdb_expect by gdb_test.
1068 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
1069
1070 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1071
1072 * gdb.linespec/linespec.exp: Compile using {c++}.
1073
1074 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1075
1076 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
1077 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
1078 (verify GCC PR debug/51668): New test.
1079
1080 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
1081
1082 Introduce gdb.FinishBreakpoint in Python.
1083 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
1084 py-finish-breakpoint2
1085 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
1086 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
1087 instead of line number.
1088 * gdb.python/py-finish-breakpoint.c: New file.
1089 * gdb.python/py-finish-breakpoint.exp: New file.
1090 * gdb.python/py-finish-breakpoint.py: New file.
1091 * gdb.python/py-finish-breakpoint2.cc: New file.
1092 * gdb.python/py-finish-breakpoint2.exp: New file.
1093 * gdb.python/py-finish-breakpoint2.py: New file.
1094
1095 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1096
1097 Partial fix of compatibility with gcc-4.7.
1098 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
1099 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
1100 Add comment to add a PASS case in the future.
1101
1102 Fix compatibility with gcc-4.7.
1103 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
1104
1105 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1106
1107 PR tdep/12797
1108 * gdb.base/callfuncs.exp: Remove KFAIL.
1109
1110 2011-12-21 Joel Brobecker <brobecker@adacore.com>
1111
1112 * gdb.ada/task_bp: New testcase.
1113
1114 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1115
1116 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
1117 -DNO_SECTIONS.
1118 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
1119
1120 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1121
1122 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
1123 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
1124 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1125 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
1126 conditional for gcc <= 4.5.
1127
1128 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1129
1130 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
1131 by XFAIL.
1132 * gdb.cp/static-method.exp (info addr A::func())
1133 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1134 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1135 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1136 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
1137 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
1138 (test value of F in k3_m): Likewise.
1139 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
1140 Likewise.
1141
1142 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
1145 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
1146 Remove.
1147 * gdb.threads/attachstop-mt.c: Remove.
1148 * gdb.threads/attachstop-mt.exp: Remove.
1149
1150 2011-12-17 Mark Kettenis <kettenis@gnu.org>
1151
1152 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
1153
1154 2011-12-16 Doug Evans <dje@google.com>
1155
1156 * boards/native-stdio-gdbserver.exp: New file.
1157 * boards/native-gdbserver.exp: New file.
1158
1159 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
1160 gdbserver output.
1161 (gdbserver_default_get_remote_address): New function.
1162 (gdbserver_start): Call gdb,get_remote_address to compute argument
1163 to "target remote" command.
1164
1165 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
1166
1167 * gdb.python/py-function.exp: Change "on" to "full" for
1168 python print-stack. Add set/show python print-stack
1169 off|full|message tests.
1170
1171 2011-12-15 Yao Qi <yao@codesourcery.com>
1172
1173 * gdb.trace/strace.c: New
1174 * gdb.trace/strace.exp: New.
1175
1176 2011-12-14 Tom Tromey <tromey@redhat.com>
1177
1178 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
1179
1180 2011-12-14 Doug Evans <dje@google.com>
1181
1182 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
1183
1184 2011-12-14 Pedro Alves <pedro@codesourcery.com>
1185
1186 PR threads/10729
1187
1188 * gdb.mi/watch-nonstop.c: New file.
1189 * gdb.mi/mi-watch-nonstop.exp: New file.
1190
1191 2011-12-13 Pedro Alves <pedro@codesourcery.com>
1192 Doug Evans <dje@google.com>
1193
1194 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
1195 (clean_restart): Remove references to the gdb_stub target board
1196 variable.
1197 (gdb_step_for_stub): Delete.
1198
1199 * gdb.base/annota1.exp: Remove all references to [target_info
1200 exists gdb_stub], gdb_step_for_stub and usestubs.
1201 * gdb.base/annota3.exp: Ditto.
1202 * gdb.base/async.exp: Ditto.
1203 * gdb.base/break.exp: Ditto.
1204 * gdb.base/code-expr.exp: Ditto.
1205 * gdb.base/commands.exp: Ditto.
1206 * gdb.base/completion.exp: Ditto.
1207 * gdb.base/condbreak.exp: Ditto.
1208 * gdb.base/consecutive.exp: Ditto.
1209 * gdb.base/cvexpr.exp: Ditto.
1210 * gdb.base/define.exp: Ditto.
1211 * gdb.base/display.exp: Ditto.
1212 * gdb.base/ena-dis-br.exp: Ditto.
1213 * gdb.base/environ.exp: Ditto.
1214 * gdb.base/gnu-ifunc.exp: Ditto.
1215 * gdb.base/maint.exp: Ditto.
1216 * gdb.base/pending.exp: Ditto.
1217 * gdb.base/sect-cmd.exp: Ditto.
1218 * gdb.base/sepdebug.exp: Ditto.
1219 * gdb.base/unload.exp: Ditto.
1220 * gdb.base/watchpoint-solib.exp: Ditto.
1221 * gdb.cp/annota2.exp: Ditto.
1222 * gdb.cp/annota3.exp: Ditto.
1223 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1224 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1225 * gdb.mi/mi-pending.exp: Ditto.
1226 * gdb.trace/circ.exp: Ditto.
1227 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1228 * gdb.base/list.exp: Ditto.
1229
1230 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1231 breakpoint function and all references to the usestubs macro.
1232 * gdb.base/exprs.c: Ditto.
1233 * gdb.base/freebpcmd.c: Ditto.
1234 * gdb.base/bitfields.c: Ditto.
1235 * gdb.base/bitfields2.c: Ditto.
1236 * gdb.base/break.c: Ditto.
1237 * gdb.base/call-sc.c: Ditto.
1238 * gdb.base/call-signals.c: Ditto.
1239 * gdb.base/callfuncs.c: Ditto.
1240 * gdb.base/charset.c: Ditto.
1241 * gdb.base/consecutive.c: Ditto.
1242 * gdb.base/constvars.c: Ditto.
1243 * gdb.base/funcargs.c: Ditto.
1244 * gdb.base/int-type.c: Ditto.
1245 * gdb.base/interrupt.c: Ditto.
1246 * gdb.base/langs0.c: Ditto.
1247 * gdb.base/list0.c: Ditto.
1248 * gdb.base/mips_pro.c: Ditto.
1249 * gdb.base/miscexprs.c: Ditto.
1250 * gdb.base/nodebug.c: Ditto.
1251 * gdb.base/opaque0.c: Ditto.
1252 * gdb.base/pointers.c: Ditto.
1253 * gdb.base/printcmds.c: Ditto.
1254 * gdb.base/ptype.c: Ditto.
1255 * gdb.base/recurse.c: Ditto.
1256 * gdb.base/reread1.c: Ditto.
1257 * gdb.base/reread2.c: Ditto.
1258 * gdb.base/restore.c: Ditto.
1259 * gdb.base/return.c: Ditto.
1260 * gdb.base/run.c: Ditto.
1261 * gdb.base/scope0.c: Ditto.
1262 * gdb.base/sepdebug.c: Ditto.
1263 * gdb.base/setshow.c: Ditto.
1264 * gdb.base/setvar.c: Ditto.
1265 * gdb.base/sigall.c: Ditto.
1266 * gdb.base/signals.c: Ditto.
1267 * gdb.base/structs.c: Ditto.
1268 * gdb.base/structs2.c: Ditto.
1269 * gdb.base/testenv.c: Ditto.
1270 * gdb.base/twice.c: Ditto.
1271 * gdb.base/unwindonsignal.c: Ditto.
1272 * gdb.base/watchpoint.c: Ditto.
1273 * gdb.base/watchpoints.c: Ditto.
1274 * gdb.base/whatis.c: Ditto.
1275 * gdb.cp/classes.cc: Ditto.
1276 * gdb.cp/cplusfuncs.cc: Ditto.
1277 * gdb.cp/derivation.cc: Ditto.
1278 * gdb.cp/formatted-ref.cc: Ditto.
1279 * gdb.cp/misc.cc: Ditto.
1280 * gdb.cp/overload.cc: Ditto.
1281 * gdb.cp/ovldbreak.cc: Ditto.
1282 * gdb.cp/ref-params.cc: Ditto.
1283 * gdb.cp/ref-types.cc: Ditto.
1284 * gdb.cp/templates.cc: Ditto.
1285 * gdb.cp/virtfunc.cc: Ditto.
1286 * gdb.hp/gdb.aCC/run.c: Ditto.
1287 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1288 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1289 * gdb.reverse/consecutive-reverse.c: Ditto.
1290 * gdb.reverse/sigall-reverse.c: Ditto.
1291 * gdb.reverse/until-reverse.c: Ditto.
1292 * gdb.reverse/watch-reverse.c: Ditto.
1293 * gdb.trace/actions.c: Ditto.
1294 * gdb.trace/circ.c: Ditto.
1295 * gdb.trace/collection.c: Ditto.
1296
1297 2011-12-13 Pedro Alves <pedro@codesourcery.com>
1298
1299 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1300 (func6, func7): New.
1301 (main): Call func6 and func7.
1302 * gdb.base/watchpoint.exp (test_wide_location_1)
1303 (test_wide_location_2): New.
1304 (top level): Re-enable hardware watchpoints if necessary. Call
1305 test_wide_location_1 and test_wide_location_2.
1306
1307 2011-12-11 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1310
1311 2011-12-11 Joel Brobecker <brobecker@adacore.com>
1312
1313 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1314 expected output for unsupported case.
1315
1316 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1317
1318 PR testsuite/12649
1319 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1320 Protect gdb_test_multiple by final $gdb_prompt match.
1321
1322 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1325 New variable, new test.
1326 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1327 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1328 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1329 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1330 them if HAVE_GCC_45682_FIXED is not set.
1331
1332 2011-12-10 Yao Qi <yao@codesourcery.com>
1333
1334 * gdb.trace/status-stop.exp: New.
1335 * gdb.trace/status-stop.c: New.
1336
1337 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1338
1339 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1340 timeout.
1341
1342 2011-12-08 Tom Tromey <tromey@redhat.com>
1343
1344 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1345 condition.
1346
1347 2011-12-07 Stan Shebs <stan@codesourcery.com>
1348
1349 * gdb.trace/tfind.exp: Update for output changes.
1350
1351 2011-12-07 Pedro Alves <pedro@codesourcery.com>
1352
1353 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1354 throws "Cannot insert catchpoints in this configuration".
1355 * gdb.ada/mi_catch_ex.exp: Likewise.
1356
1357 2011-12-06 Pedro Alves <pedro@codesourcery.com>
1358
1359 * gdb.base/break-always.exp: Test changing memory at addresses
1360 with breakpoints inserted.
1361
1362 2011-12-06 Joel Brobecker <brobecker@acacore.com>
1363
1364 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1365 involving a fully qualified function name.
1366
1367 2011-12-06 Tom Tromey <tromey@redhat.com>
1368
1369 * gdb.ada/homonym.exp: Add three breakpoint tests.
1370
1371 2011-12-06 Tom Tromey <tromey@redhat.com>
1372
1373 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1374 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1375 * gdb.objc/objcdecode.exp: Update for output changes.
1376 * gdb.linespec/linespec.exp: New file.
1377 * gdb.linespec/lspec.cc: New file.
1378 * gdb.linespec/lspec.h: New file.
1379 * gdb.linespec/body.h: New file.
1380 * gdb.linespec/base/two/thefile.cc: New file.
1381 * gdb.linespec/base/one/thefile.cc: New file.
1382 * gdb.linespec/Makefile.in: New file.
1383 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1384 output changes.
1385 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1386 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1387 makes one breakpoint.
1388 * gdb.cp/method2.exp (test_break): Update for output changes.
1389 * gdb.cp/mb-templates.exp: Update for output changes.
1390 * gdb.cp/mb-inline.exp: Update for output changes.
1391 * gdb.cp/mb-ctor.exp: Update for output changes.
1392 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1393 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1394 has multiple matches.
1395 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1396 error message change.
1397 * gdb.base/list.exp (test_list_filename_and_number): Update for
1398 error message change.
1399 * gdb.base/break.exp: Disable pending breakpoints. Update for
1400 output changes.
1401 * configure.ac: Add gdb.linespec.
1402 * configure: Rebuild.
1403 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1404
1405 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1406
1407 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1408 last_break register on s390*-*-* targets.
1409
1410 2011-12-06 Joel Brobecker <brobecker@adacore.com>
1411
1412 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1413 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1414 of parameter X in procedure Foo.
1415
1416 2011-12-05 Stan Shebs <stan@codesourcery.com>
1417
1418 * gdb.trace/tfind.exp: Update help string matches.
1419
1420 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1421
1422 * gdb.server/ext-run.exp (get process list): Accept also systemd
1423 as PID 1.
1424
1425 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1426 Pedro Alves <pedro@codesourcery.com>
1427
1428 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1429 starting GDB.
1430 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1431 $use_gdb_stub.
1432 * gdb.base/display.exp: Likewise.
1433 * gdb.base/ending-run.exp: Likewise.
1434 * gdb.base/list.exp (test_listsize): Likewise.
1435 * gdb.base/setshow.exp: Likewise.
1436 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1437 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1438 check by global $use_gdb_stub.
1439 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1440 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1441 (default_gdb_init): Unset global $use_gdb_stub.
1442 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1443 by global $use_gdb_stub.
1444 * lib/gdbserver-support.exp: Extend comments for set_board_info
1445 gdb_protocol and gdb,socketport.
1446 (gdbserver_start_extended): Set global gdbserver_protocol and
1447 gdbserver_gdbport. Clear global use_gdb_stub.
1448 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1449 from target use_gdb_stub.
1450 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1451
1452 2011-12-03 Doug Evans <dje@google.com>
1453
1454 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1455 (gdb_step_for_stub): Add comments.
1456
1457 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1458
1459 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1460 to the caller.
1461 (gdb_test_multiple): Likewise.
1462
1463 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1464
1465 Fix gdb.mi/mi-solib.exp without system debug info installed.
1466 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1467 expect attribute, return 0 for it. Update comments.
1468
1469 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1470
1471 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1472 (corrupted list): Adjust the expectation.
1473
1474 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1475
1476 PR threads/13448
1477 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1478 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1479 * gdb.threads/tls-var-main.c: New file.
1480 * gdb.threads/tls-var.c: New file.
1481 * gdb.threads/tls-var.exp: New file.
1482
1483 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 PR testsuite/12649
1486 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1487 Protect gdb_test_multiple by final $gdb_prompt match.
1488 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1489 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1490 (test_tracepoints): Likewise.
1491
1492 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1493
1494 PR breakpoints/13346
1495 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1496 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1497 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1498
1499 2011-12-01 Joel Brobecker <brobecker@adacore.com>
1500
1501 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1502 * gdb.ada/homonym/homonym.adb: For use of all types defined
1503 locally inside both Get_Value subprograms.
1504
1505 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1506
1507 Fix racy FAILs.
1508 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1509 of send_gdb.
1510
1511 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1512
1513 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1514 environment variable after test completed.
1515
1516 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1517
1518 * gdb.base/solib-nodir.exp: Skip if remote target.
1519 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1520 application. Call gdb_load_shlibs.
1521 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1522
1523 2011-11-29 Joel Brobecker <brobecker@adacore.com>
1524
1525 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1526
1527 2011-11-28 Joel Brobecker <brobecker@adacore.com>
1528
1529 * gdb.ada/fullname_bp: New testcase.
1530
1531 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1532
1533 PR testsuite/12649
1534 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1535 Wrap send_gdb into a new gdb_test.
1536
1537 Code cleanup.
1538 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1539 Convert send_gdb and gdb_expect to gdb_test_multiple.
1540
1541 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1542
1543 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1544
1545 2011-11-23 Keith Seitz <keiths@redhat.com>
1546
1547 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1548 (mi_varobj_tree_test_children_callback): New proc.
1549 (mi_walk_varobj_tree): New proc.
1550
1551 2011-11-22 Tom Tromey <tromey@redhat.com>
1552
1553 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1554 Add "use_mi_command" argument.
1555 (mi_run_cmd, mi_run_with_cli): New procs.
1556 * gdb.mi/solib-lib.c: New file.
1557 * gdb.mi/solib-main.c: New file.
1558 * gdb.mi/mi-solib.exp: New file.
1559
1560 2011-11-21 Doug Evans <dje@google.com>
1561
1562 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1563 _Unwind_DebugHook is missing.
1564
1565 2011-11-20 Stan Shebs <stan@codesourcery.com>
1566
1567 * gdb.trace/tstatus.exp: New.
1568 * gdb.trace/actions.c: Include string.h.
1569
1570 2011-11-18 Yao Qi <yao@codesourcery.com>
1571
1572 * gdb.trace/pending.exp: New.
1573 * gdb.trace/pending.c: New.
1574 * gdb.trace/pendshr1.c: New.
1575 * gdb.trace/pendshr2.c: New.
1576 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1577 tracepoint location becomes pending.
1578 (tracepoint_change_loc_2): New.
1579
1580 2011-11-16 David S. Miller <davem@davemloft.net>
1581
1582 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1583 target is sparc*-*-linux*
1584
1585 2011-11-15 Paul Koning <paul_koning@dell.com>
1586
1587 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1588 types.
1589
1590 2011-11-14 Doug Evans <dje@google.com>
1591
1592 * gdb.base/shell.exp: New file.
1593
1594 2011-11-14 Stan Shebs <stan@codesourcery.com>
1595
1596 * gdb.trace/ftrace.c: New.
1597 * gdb.trace/ftrace.exp: New.
1598
1599 2011-11-14 Yao Qi <yao@codesourcery.com>
1600
1601 * gdb.trace/change-loc-1.c: New.
1602 * gdb.trace/change-loc-2.c: New.
1603 * gdb.trace/change-loc.c: New.
1604 * gdb.trace/change-loc.exp: New.
1605 * gdb.trace/change-loc.h: New.
1606 * gdb.trace/trace-break.c (marker): Define new symbol.
1607 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1608 New.
1609 (break_trace_same_addr_6): New.
1610
1611 2011-11-12 Matt Rice <ratmice@gmail.com>
1612
1613 * gdb.base/info-macros.exp: Make tests for info definitions
1614 test info macro. Add tests for info macro argument processing.
1615 Rename a few tests.
1616
1617 2011-11-11 Keith Seitz <keiths@redhat.com>
1618
1619 PR gdb/12843
1620 * gdb.base/linespecs.exp: New file.
1621
1622 2011-11-11 Doug Evans <dje@google.com>
1623
1624 * gdb.threads/print-threads.exp: Extend timeout for slower
1625 tests.
1626
1627 2011-11-10 Doug Evans <dje@google.com>
1628
1629 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1630 "record to end of main" test.
1631
1632 * gdb.python/py-type.c (TS): New typedef.
1633 (ts): New global.
1634 * gdb.python/py-type.exp: Test field list of typedef.
1635
1636 2011-11-10 Joel Brobecker <brobecker@adacore.com>
1637
1638 * gdb.ada/small_reg_param: New testcase.
1639
1640 2011-11-09 Tom Tromey <tromey@redhat.com>
1641
1642 * gdb.cp/destrprint.exp: New file.
1643 * gdb.cp/destrprint.cc: New file.
1644
1645 2011-11-08 Meador Inge <meadori@codesourcery.com>
1646
1647 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1648 (switch_stack_to_other): New test function.
1649 * gdb.arch/thumb-prologue.exp: New test cases.
1650
1651 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
1652
1653 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1654
1655 2011-11-08 Yao Qi <yao@codesourcery.com>
1656
1657 * gdb.exp (supports_process_record): New.
1658 (supports_reverse): New.
1659 * gdb.reverse/break-precsave.exp: Call support_process_record
1660 to run test conditionally.
1661 * gdb.reverse/consecutive-precsave.exp: Likewise.
1662 * gdb.reverse/i386-precsave.exp: Likewise.
1663 * gdb.reverse/machinestate-precsave.exp: Likewise.
1664 * gdb.reverse/solib-precsave.exp: Likewise.
1665 * gdb.reverse/step-precsave.exp: Likewise.
1666 * gdb.reverse/until-precsave.exp: Likewise.
1667 * gdb.reverse/watch-precsave.exp: Likewise.
1668 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1669 test conditionally.
1670 * gdb.reverse/consecutive-reverse.exp: Likewise.
1671 * gdb.reverse/finish-precsave.exp: Likewise.
1672 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1673 * gdb.reverse/finish-reverse.exp: Likewise.
1674 * gdb.reverse/i386-reverse.exp: Likewise.
1675 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1676 * gdb.reverse/machinestate.exp: Likewise.
1677 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1678 * gdb.reverse/sigall-precsave.exp: Likewise.
1679 * gdb.reverse/sigall-reverse.exp: Likewise.
1680 * gdb.reverse/solib-reverse.exp: Likewise.
1681 * gdb.reverse/step-reverse.exp: Likewise.
1682 * gdb.reverse/until-reverse.exp: Likewise.
1683 * gdb.reverse/watch-reverse.exp: Likewise.
1684
1685 2011-11-05 Yao Qi <yao@codesourcery.com>
1686
1687 * gdb.trace/trace-break.exp: Add test on setting two
1688 fast tracepoints at the same address.
1689
1690 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1693
1694 2011-11-02 Stan Shebs <stan@codesourcery.com>
1695
1696 * gdb.trace/collection.c: Add code using strings.
1697 * gdb.trace/collection.exp: Add tests of string collection.
1698
1699 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1700
1701 * gdb.base/skip-solib.exp (executable_main): New variable.
1702 (binfile_main): Base it on that.
1703 Use $executable_main in clean_restart calls. Drop gdb_exit and
1704 gdb_start calls.
1705
1706 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 Fix racy FAILs.
1709 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1710 breakpoint_re globals import by async. Set string_regex to .* for
1711 async. Remove the optional thread_selected_re and breakpoint_re
1712 globals expectations.
1713
1714 2011-11-01 Joseph Myers <joseph@codesourcery.com>
1715
1716 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1717 well as Cygwin.
1718
1719 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
1720
1721 Add tests for skip command.
1722 * gdb.base/skip-solib-lib.c: New
1723 * gdb.base/skip-solib-main.c: New
1724 * gdb.base/skip-solib.exp: New
1725 * gdb.base/skip.c: New
1726 * gdb.base/skip.exp: New
1727 * gdb.base/skip1.c: New
1728 * gdb.base/Makefile.in: Adding new files.
1729
1730 2011-10-31 Yao Qi <yao@codesourcery.com>
1731 Pedro Alves <pedro@codesourcery.com>
1732
1733 * gdb.trace/trace-break.c: New.
1734 * gdb.trace/trace-break.exp: New.
1735
1736 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1737
1738 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1739 break-here-2.
1740
1741 2011-10-28 Pedro Alves <pedro@codesourcery.com>
1742
1743 * gdb.threads/no-unwaited-for-left.c: New.
1744 * gdb.threads/no-unwaited-for-left.exp: New.
1745 * gdb.threads/non-ldr-exc-1.c: New.
1746 * gdb.threads/non-ldr-exc-1.exp: New.
1747 * gdb.threads/non-ldr-exc-2.c: New.
1748 * gdb.threads/non-ldr-exc-2.exp: New.
1749 * gdb.threads/non-ldr-exc-3.c: New.
1750 * gdb.threads/non-ldr-exc-3.exp: New.
1751 * gdb.threads/non-ldr-exc-4.c: New.
1752 * gdb.threads/non-ldr-exc-4.exp: New.
1753
1754 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1755
1756 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1757 * gdb.base/attach-pie-misread.exp: Likewise.
1758 * gdb.base/break-interp.exp: Likewise.
1759 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1760 testcases for use_gdb_stub.
1761 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1762 (continue): New testcase.
1763 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1764 * gdb.threads/attach-into-signal.exp: Likewise.
1765 * gdb.threads/attach-stopped.exp: Likewise.
1766 * gdb.threads/attachstop-mt.exp: Likewise.
1767
1768 2011-10-28 Paul Koning <paul_koning@dell.com>
1769
1770 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1771
1772 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1773
1774 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1775 (mi_gdb_test): Import globals thread_selected_re
1776 and breakpoint_re. Expect them optionally at the regex start.
1777
1778 2011-10-27 Doug Evans <dje@google.com>
1779
1780 * gdb.python/python.exp: Test source -s.
1781
1782 2011-10-26 Paul Koning <paul_koning@dell.com>
1783
1784 * gdb.python/lib-types.cc (struct A): New structure.
1785 * gdb.python/lib-types.exp (deepitems): New tests.
1786
1787 2011-10-25 Paul Koning <paul_koning@dell.com>
1788
1789 PR python/13327
1790
1791 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1792 fetch_lazy method.
1793
1794 2011-10-24 Yao Qi <yao@codesourcery.com>
1795
1796 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1797 target is tic6x-*-*.
1798
1799 2011-10-21 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.ada/mi_task_info/task_switch.adb: New file.
1802 * gdb.ada/mi_task_info.exp: New file.
1803
1804 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1805
1806 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1807 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1808
1809 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1810
1811 PR python/12656
1812
1813 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1814 global_block tests.
1815
1816 2011-10-18 Tom Tromey <tromey@redhat.com>
1817
1818 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1819
1820 2011-10-18 Tom Tromey <tromey@redhat.com>
1821
1822 * gdb.base/source.exp: Don't include full file name in test name.
1823 * gdb.python/python.exp: Don't include full file name in test
1824 name.
1825
1826 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1827
1828 * gdb.base/attach-pie-noexec.c: New files.
1829 * gdb.base/attach-pie-noexec.exp: New files.
1830
1831 2011-10-17 Joseph Myers <joseph@codesourcery.com>
1832
1833 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1834 prompt for each extra line in command.
1835
1836 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1837
1838 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1839 Revert the part of:
1840 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1842 Change the expected string.
1843
1844 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1845
1846 Fix results with system glibc debug info installed.
1847 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1848 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1849 Accept also __libc_ symbol prefix and no prefix.
1850
1851 2011-10-14 Keith Seitz <keiths@redhat.com>
1852
1853 PR c++/13225
1854 * gdb.cp/converts.cc (foo3_1): New function.
1855 (foo3_2): New functions.
1856 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1857 and null pointer conversions of integer constant zero.
1858 Add test to check if all arguments are checked for incompatible
1859 conversion BADNESS.
1860
1861 2011-10-14 Tom Tromey <tromey@redhat.com>
1862
1863 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1864 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1865 linespec.
1866
1867 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1868
1869 Fix internal error regression.
1870 * gdb.dwarf2/implptr-optimized-out.S: New file.
1871 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1872
1873 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1874
1875 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1876 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1877 (loclist): New.
1878 (4): New abbrev.
1879 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1880 Use prepare_for_testing, remove clean_restart.
1881 (p arraynoloc, p arraycallnoloc): New tests.
1882
1883 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1884
1885 * gdb.cp/namespace-enum.exp (executable): New variable.
1886 (binfile): Use ${objdir}/${subdir}/ prefix.
1887 Use ${executable} for clean_restart.
1888
1889 2011-10-11 Sterling Augustine <saugustine@google.com>
1890
1891 * gdb.cp/Makefile.in: Add namespace-enum test.
1892 * gdb.cp/namespace-enum.exp: New file.
1893 * gdb.cp/namespace-enum.c: New file.
1894 * gdb.cp/namespace-enum-main.c: New file.
1895
1896 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1897
1898 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1899 sysroot.
1900
1901 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1902
1903 Reimplement @entry in input expressions.
1904 * gdb.base/exprs.c (v_int_array_init): New variable.
1905 * gdb.base/exprs.exp (print v_int_array_init)
1906 (print *v_int_array_init@1, print *v_int_array_init@2)
1907 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1908 (print v_int_array_init[1]@1): New tests.
1909
1910 2011-10-10 Joseph Myers <joseph@codesourcery.com>
1911
1912 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1913 expected message.
1914
1915 2011-10-09 Doug Evans <dje@google.com>
1916
1917 * gdb.base/alias.exp: Add tests for alias command.
1918
1919 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1920
1921 * gdb.arch/amd64-entry-value.s: New file.
1922 * gdb.mi/mi2-amd64-entry-value.s: New file.
1923
1924 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1925
1926 Display @entry parameter values even for references.
1927 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1928 functions.
1929 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1930 reference and datap_input.
1931 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1932 breakpoints.
1933 (continue to breakpoint: entry_reference: reference)
1934 (entry_reference: bt at entry)
1935 (continue to breakpoint: entry_reference: breakhere_reference)
1936 (entry_reference: bt, entry_reference: ptype regparam)
1937 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1938 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1939 (entry_reference: p regcopy, entry_reference: p nodataparam)
1940 (entry_reference: p nodataparam@entry): New tests.
1941
1942 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 Support @entry in input expressions.
1945 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1946 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1947 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1948 (tailcall: p j@entry): New tests.
1949 * gdb.cp/koenig.cc (A::entry): New function.
1950 (main): Call it.
1951 * gdb.cp/koenig.exp (p entry (c)): New test.
1952
1953 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1954
1955 Display @entry parameter values (without references).
1956 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1957 (different, validity, invalid): New functions.
1958 (main): Call them.
1959 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1960 stacktest, breakhere_stacktest, different, breakhere_different,
1961 breakhere_validity and breakhere_invalid.
1962 (entry: bt): Update for @entry.
1963 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1964 (entry_validity: *, entry_invalid: *): Many new tests.
1965 * gdb.base/break.exp
1966 (run until breakpoint set at small function, optimized file): Accept
1967 also the @entry suffix.
1968 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1969 * gdb.mi/mi2-amd64-entry-value.c: New files.
1970 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1971
1972 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 Protect entry values against self tail calls.
1975 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1976 (main): Call self.
1977 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1978 (set debug entry-values 1, self: bt debug entry-values): New tests.
1979
1980 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1981
1982 Recognize virtual tail call frames.
1983 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1984 (amb_b, amb_a): New.
1985 (main): Call a and b.
1986 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1987 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1988 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1989 New tests.
1990
1991 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1992
1993 Implement basic support for DW_TAG_GNU_call_site.
1994 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1995 * gdb.arch/amd64-entry-value.cc: New file.
1996 * gdb.arch/amd64-entry-value.exp: New file.
1997
1998 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1999
2000 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
2001 * gdb.dwarf2/implptr-64bit.S: New file.
2002 * gdb.dwarf2/implptr-64bit.exp: New file.
2003
2004 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2005
2006 Fix initial language detection with -readnow.
2007 * gdb.cp/readnow-language.cc: New file.
2008 * gdb.cp/readnow-language.exp: New file.
2009
2010 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2011
2012 Fix printed anonymous struct name.
2013 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
2014
2015 2011-10-09 Joseph Myers <joseph@codesourcery.com>
2016
2017 * gdb.base/solib-symbol.exp: Do not include directories in
2018 filenames in expected messages.
2019
2020 2011-10-07 Doug Evans <dje@google.com>
2021
2022 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2023
2024 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
2025
2026 Allow Python notification of new object-file loadings.
2027 * gdb.python/py-events.exp: Test newobjfile event.
2028 * gdb.python/py-events.py: Register newobjfile callback.
2029 * gdb.python/py-events.c: Add call to shared library
2030 * gdb.python/py-events-shlib.c: New file.
2031
2032 2011-10-06 Joseph Myers <joseph@codesourcery.com>
2033
2034 * gdb.base/fixsection.exp: Do not include directories in filename
2035 in expected message.
2036
2037 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2038
2039 Add tests for passing of environment variables to inferior.
2040 * gdb.base/testenv.c: New test source.
2041 * gdb.base/testenv.exp: New expect test.
2042
2043 2011-10-04 Paul Koning <paul_koning@dell.com>
2044
2045 * gdb.python/py-value.c (main): Break before return.
2046
2047 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
2048
2049 PR python/12691: Add the inferior to Python exited event
2050 * gdb.python/py-events.exp: Test the inferior attribute of exited
2051 event with a fork.
2052 * gdb.python/py-events.py: Print inferior number on exit.
2053 * gdb.python/py-events.c: Fork the inferior.
2054
2055 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2056
2057 * gdb.base/jit.exp: Add testcase name to log message
2058
2059 2011-10-03 Paul Koning <paul_koning@dell.com>
2060 Jan Kratochvil <jan.kratochvil@redhat.com>
2061
2062 * gdb.python/py-value.exp
2063 (python inval = gdb.parse_and_eval('*(int*)0'))
2064 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
2065 (set argc=2, python print argc_lazy): New tests.
2066
2067 2011-10-02 Joel Brobecker <brobecker@adacore.com>
2068
2069 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2070
2071 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2072 Pedro Alves <pedro@codesourcery.com>
2073
2074 * gdb.python/py-value.exp (test_value_in_inferior): New variable
2075 can_read_0, test for it.
2076 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
2077 (parse_and_eval with memory error): ... here, make it untested if
2078 can_read_0.
2079
2080 2011-09-30 Marek Polacek <mpolacek@redhat.com>
2081
2082 * gdb.python/python.exp (verify pagination beforehand)
2083 (verify pagination afterwards): Fix race by splitting the line.
2084
2085 2011-09-29 Joseph Myers <joseph@codesourcery.com>
2086
2087 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
2088 for 64-bit multilibs from i?86-* targets.
2089
2090 2011-09-29 Marek Polacek <mpolacek@redhat.com>
2091
2092 * lib/gdb.exp: Fix a typo in one of the comments.
2093
2094 2011-09-29 Marek Polacek <mpolacek@redhat.com>
2095
2096 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
2097 matching pattern.
2098
2099 2011-09-28 Paul Koning <paul_koning@dell.com>
2100
2101 * gdb.python/py-type.c (enum E): New.
2102 * gdb.python/py-type.exp (test_fields): Add tests for Python
2103 mapping access to fields.
2104 (test_enums): New test for field access on enums.
2105
2106 2011-09-27 Stan Shebs <stan@codesourcery.com>
2107
2108 * gdb.trace/collection.exp: Test collection of $_ret.
2109
2110 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
2111
2112 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
2113 list of compilation switches for <*-*-freebsd*>.
2114
2115 2011-09-19 Stan Shebs <stan@codesourcery.com>
2116
2117 * gdb.trace/tspeed.exp: New file.
2118 * gdb.trace/tspeed.c: New file.
2119
2120 2011-09-18 Yao Qi <yao@codesourcery.com>
2121
2122 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
2123 instructions.
2124 (test_adr_32bit, test_pop_pc): Likewise.
2125 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
2126 Thumb instructions.
2127 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
2128 in gdb_test_multiple.
2129 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2130
2131 2011-09-17 Yao Qi <yao@codesourcery.com>
2132
2133 * lib/gdb.exp (can_single_step_to_signal_handler): New.
2134 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
2135 support single step to signal handler.
2136
2137 2011-09-17 Yao Qi <yao@codesourcery.com>
2138
2139 * gdb.base/disp-step-fork.c: New.
2140 * gdb.base/disp-step-syscall.exp: New.
2141 * gdb.base/disp-step-vfork.c: New.
2142
2143 2011-09-16 Joel Brobecker <brobecker@adacore.com>
2144
2145 * gdb.ada/tasks.exp: Make the expected output for
2146 the `info tasks' tests more resilient to spacing
2147 changes.
2148
2149 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
2152 (reached breakpoint 2, reached breakpoint 3): Update expected output.
2153
2154 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
2155
2156 PR Python/12692 Add gdb.selected_inferior() to Python interface.
2157 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2158
2159 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
2160
2161 Handle multiple breakpoint hits in Python interface:
2162 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
2163 presence.
2164 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
2165 breakpoint hits.
2166
2167 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2168 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * gdb.python/py-events.exp: Remove pretty printing comment.
2171 * gdb.python/py-evsignal.exp: New file.
2172 * gdb.python/py-evthreads.c: Include signal.h.
2173 (thread3): Remove variable count3. Remove variable bad and use raise
2174 instead.
2175 (thread2): Remove variable count2. Move thread3 pthread_create here,
2176 merge pthread_join to a single line.
2177 (main): Remove variable count1. Merge pthread_join with pthread_create
2178 to a single line.
2179 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
2180 KFAIL python/12966 for gdbserver. Test return value of
2181 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
2182 gdb_expect by gdb_test and gdb_test_multiple.
2183 (thread 2, thread 3): New tests.
2184
2185 2011-09-12 Matt Rice <ratmice@gmail.com>
2186 Pedro Alves <pedro@codesourcery.com>
2187
2188 PR gdb/13175
2189
2190 * gdb.base/interp.exp: New tests.
2191 * gdb.base/interp.c: New file.
2192
2193 2011-09-12 Doug Evans <dje@google.com>
2194
2195 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
2196 * gdb.dwarf2/typeddwarf.exp: Ditto.
2197
2198 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2199
2200 Fix compatibility with x32 arch.
2201 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
2202 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
2203 is_x86_like_target.
2204 * testsuite/gdb.trace/collection.exp: Likewise.
2205 * testsuite/gdb.trace/report.exp: Likewise.
2206 * testsuite/gdb.trace/unavailable.exp: Likewise.
2207 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2208 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2209 (is_x86_like_target): Check also is_amd64_regs_target.
2210
2211 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2212
2213 PR breakpoints/12435
2214 * gdb.arch/amd64-prologue-xmm.c: New file.
2215 * gdb.arch/amd64-prologue-xmm.exp: New file.
2216 * gdb.arch/amd64-prologue-xmm.s: New file.
2217
2218 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2219
2220 * gdb.dwarf2/dw2-param-error-main.c: New file.
2221 * gdb.dwarf2/dw2-param-error.S: New file.
2222 * gdb.dwarf2/dw2-param-error.exp: New file.
2223
2224 2011-09-08 Pedro Alves <pedro@codesourcery.com>
2225
2226 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2227 inferior's pid and look for a core dump named core.$pid. Use
2228 `remote_file' commands on the host instead of hand coding shell
2229 commands on the build.
2230 * gdb.base/valgrind-db-attach.exp: Kill the program before
2231 finishing the test.
2232
2233 2011-09-02 Matt Rice <ratmice@gmail.com>
2234
2235 * lib/prompt.exp: New file for testing the first prompt.
2236 * gdb.python/py-prompt.exp: Ditto.
2237 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2238
2239 2011-09-02 Pedro Alves <pedro@codesourcery.com>
2240
2241 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2242 0, before testing gcore.
2243
2244 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2245
2246 * dw2-ifort-parameter-debug.S: Update copyright year.
2247 * dw2-ifort-parameter.c: Update copyright year.
2248 * dw2-ifort-parameter.exp: Update copyright year.
2249
2250 * dw2-ifort-parameter-debug.S: New file.
2251 * dw2-ifort-parameter.c: New file.
2252 * dw2-ifort-parameter.exp: New file.
2253
2254 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 * gdb.base/commands.exp (error_clears_commands_left): New function.
2257 (): Call it.
2258
2259 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2260
2261 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2262 (C): Initialize `a'.
2263 * gdb.mi/mi-inheritance-syntax-error.exp
2264 (-data-evaluate-expression $path): Expect `a' as 5.
2265
2266 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2267
2268 PR mi/11912
2269 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2270 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2271 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2272 keyword in output of -var-info-path-expression.
2273
2274 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2277 * gdb.trace/collection.exp: Likewise.
2278 * gdb.trace/report.exp: Likewise.
2279 * gdb.trace/unavailable.exp: Likewise.
2280 * gdb.trace/while-dyn.exp: Likewise.
2281
2282 2011-08-18 Keith Seitz <keiths@redhat.com>
2283
2284 PR c++/12266
2285 * gdb.cp/meth-typedefs.cc: New file.
2286 * gdb.cp/meth-typedefs.exp: New file.
2287
2288 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2289
2290 * gdb.python/python.exp: Add extended-prompt tests.
2291
2292 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.arch/i386-dr3-watch.exp
2295 (watchpoint on gap1 does not fit debug registers)
2296 (delete all watchpoints): Fix racy expect strings.
2297
2298 2011-08-14 Yao Qi <yao@codesourcery.com>
2299
2300 * gdb.base/maint.exp: set data_section to ".neardata".
2301 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2302 * gdb.base/savedregs.exp: Handle SIGILL.
2303 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2304 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2305
2306 2011-08-12 Doug Evans <dje@google.com>
2307
2308 * gdb.python/py-symbol.exp: Add test for symbol.type.
2309
2310 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2311
2312 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2313 * gdb.mi/mi-pthreads.exp: Likewise.
2314 * gdb.mi/mi2-pthreads.exp: Likewise.
2315 * gdb.mi/gdb669.exp.exp: Likewise.
2316
2317 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2318
2319 * lib/mi-support.exp (detect_async): Rename to...
2320 (mi_detect_async): ... this.
2321 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2322 * gdb.mi/mi-nonstop.exp: Adjust.
2323 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2324 * gdb.mi/mi-nsintrall.exp: Adjust.
2325 * gdb.mi/mi-nsmoribund.exp: Adjust.
2326 * gdb.mi/mi-nsthrexec.exp: Adjust.
2327
2328 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2329
2330 * gdb.base/display.c (do_loops): New `p_i' local.
2331 * gdb.base/display.exp: Test displaying a variable that is
2332 temporarily at a bad address.
2333
2334 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2337 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2338
2339 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2340
2341 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
2342 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2343 (p fuNC_symtab): Permit also ppc64 leading dot.
2344
2345 2011-08-05 Pedro Alves <pedro@codesourcery.com>
2346
2347 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2348 procedure.
2349 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2350
2351 2011-08-05 Yao Qi <yao@codesourcery.com>
2352
2353 * gdb.base/callfuncs.exp: Set language after main.
2354 * gdb.cp/cplusfuncs.exp: Likewise.
2355 * gdb.cp/inherit.exp: Likewise.
2356
2357 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2358
2359 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2360 * gdb.base/watch-vfork.exp: Skip on remote targets.
2361
2362 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2363
2364 * gdb.threads/thread-find.exp: Support remote targets.
2365
2366 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2367
2368 * gdb.base/jit.exp: Download solib_binfile to target.
2369 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2370 and call dlopen without full path name.
2371 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2372 dlopen without full path name.
2373
2374 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2375
2376 * gdb.base/break-always.exp: Complete the test
2377 with duplicated breakpoints and enabling/disabling them.
2378
2379 2011-08-02 Tom Tromey <tromey@redhat.com>
2380
2381 PR gdb/11289:
2382 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2383
2384 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2385
2386 PR gdb/13045
2387 * gdb.base/float.exp: Add new test case for PR gdb/13045
2388 * gdb.base/float.c: New file.
2389
2390 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2391
2392 * gdb.python/py-mi.exp: Test printers returning string hint, and
2393 also not returning a value.
2394 * gdb.python/py-prettyprint.c: Add testcase for above.
2395 * gdb.python/py-prettyprint.py: Add test printer for above.
2396
2397 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2398
2399 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2400 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2401 (.Ldie30) Add as field "data4".
2402 (.Ldie32) Rename field "b" to "shl".
2403 (abbrev4) Change for the "data4" field.
2404 (abbrev5, abbrev6) Remove.
2405 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2406 (p &s.shl): ... here. Add comment.
2407 (p &s.data4): New.
2408
2409 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2410
2411 Fix crash on lval_computed values.
2412 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2413
2414 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2415
2416 * gdb.base/help.exp (help whatis): Update the expected string.
2417
2418 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2419
2420 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2421 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2422 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2423 Change the expected string.
2424
2425 2011-07-26 Pedro Alves <pedro@codesourcery.com>
2426
2427 * gdb.base/watchpoint.exp
2428 (test_disable_enable_software_watchpoint): New procedure.
2429 (top level): Run it.
2430
2431 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2432
2433 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2434 executable file "${binfile}", C++ version "${binfile}-cxx".
2435 * gdb.python/py-prettyprint.exp: Likewise.
2436 * gdb.python/py-symbol.exp: Likewise.
2437 * gdb.python/py-type.exp: Likewise.
2438 * gdb.python/py-value.exp: Likewise.
2439 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2440 file name instead of just suffix.
2441
2442 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2443
2444 Fix implicit pointer offsets.
2445 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2446 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2447 (continue to breakpoint: continue to baz breakpoint for implptr)
2448 (sanity check element 0, sanity check element 1)
2449 (enter the inlined function, check element 0 for the offset)
2450 (check element 1 for the offset)
2451 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2452 (set foo breakpoint for implptr): Update the breakpoint number.
2453
2454 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2455
2456 * gdb.python/py-mi.exp: Use different file names for different
2457 versions of the executable under test.
2458 * gdb.python/py-prettyprint.exp: Likewise.
2459 * gdb.python/py-symbol.exp: Likewise.
2460 * gdb.python/py-template.exp: Likewise.
2461 * gdb.python/py-type.exp: Likewise.
2462 * gdb.python/py-value.exp: Likewise.
2463
2464 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2465
2466 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2467 flag after restarting GDB if necessary.
2468
2469 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2470
2471 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2472
2473 2011-07-22 Pedro Alves <pedro@codesourcery.com>
2474
2475 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2476 backend doesn't leave used debug registers behind.
2477
2478 2011-07-22 Tom Tromey <tromey@redhat.com>
2479
2480 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2481 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2482 argument.
2483 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2484
2485 2011-07-21 Matt Rice <ratmice@gmail.com>
2486
2487 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2488 in mostlyclean rule. Add files ending in .core.
2489
2490 2011-07-21 Matt Rice <ratmice@gmail.com>
2491
2492 PR macros/12999
2493 * gdb.base/info-macros.c: New test sources.
2494 * gdb.base/info-macros.exp: New tests.
2495
2496 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2497
2498 * gdb.python/python.exp: Add prompt substitution tests.
2499
2500 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2501
2502 Fix crash if referenced CU is aged out.
2503 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2504 New.
2505 * gdb.dwarf2/implptr.exp: Likewise.
2506
2507 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2508
2509 * gdb.dwarf2/implptr.S: Rebuilt.
2510 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2511 (bar): Use them for j, k, l.
2512 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2513 COMPILE.
2514 (print j in implptr:bar): Update for the intp typedef.
2515 (print p[0].x in implptr:foo): Use more exact regex.
2516
2517 2011-07-18 Tom Tromey <tromey@redhat.com>
2518
2519 * gdb.cp/static-method.exp: Add missing single quote.
2520
2521 2011-07-18 Yao Qi <yao@codesourcery.com>
2522
2523 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2524 supported.
2525 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2526 * gdb.mi/mi-nonstop.exp: Likewise.
2527 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2528 * gdb.mi/mi-nsintrall.exp: Likewise.
2529 * gdb.mi/mi-nsmoribund.exp: Likewise.
2530 * gdb.mi/mi-nsthrexec.exp: Likewise.
2531 * gdb.python/py-evthreads.exp: Likewise.
2532
2533 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2534
2535 Code cleanup.
2536 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2537 it. Substitute it instead of test_compiler_info everywhere.
2538
2539 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2540
2541 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2542 remote targets as well.
2543
2544 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2545
2546 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2547 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2548
2549 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2550
2551 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2552 a remote machine, not the host.
2553 (gdb_compile_shlib): Set soname if target is remote.
2554
2555 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2556
2557 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2558
2559 2011-07-13 Matt Rice <ratmice@gmail.com>
2560
2561 * gdb.python/py-objfile-script-gdb.py: Renamed to
2562 py-objfile-script-gdb.py.in.
2563 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2564 py-objfile-script-gdb.py.
2565 * gdb.python/py-objfile-script.exp: Update reference to
2566 py-objfile-script-gdb.py.
2567
2568 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2569
2570 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2571 reference undefined label.
2572
2573 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2574
2575 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2576 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2577 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2578 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2579
2580 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2581
2582 PR python/12438
2583 * gdb.python/python.exp: Add maint set/show python print-stack
2584 deprecated tests. Add set/show python print-backtrace tests.
2585
2586 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2587
2588 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2589 debug info.
2590
2591 2011-07-06 Matt Rice <ratmice@gmail.com>
2592
2593 * gdb.python/python.exp: Update filename paths.
2594 * gdb.python/py-symtab.exp: Ditto.
2595
2596 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2597
2598 * gdb.python/py-evthreads.exp: Add missing `$'.
2599
2600 2011-07-06 Jie Zhang <jie.zhang@analog.com>
2601
2602 * config/bfin.exp: New file.
2603 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2604 * gdb.asm/bfin.inc: New file.
2605
2606 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2607
2608 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
2609 the whole output.
2610
2611 2011-07-05 Tom Tromey <tromey@redhat.com>
2612
2613 * gdb.java/jprint.java (jprint.hi): New field.
2614 * gdb.java/jprint.exp: Print string.
2615
2616 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2617
2618 * gdb.base/call-sc.c: Fix typos.
2619 * gdb.base/ifelse.exp: Likewise.
2620 * gdb.base/structs.c: Likewise.
2621
2622 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2623
2624 * gdb.base/jit-so.exp: New test.
2625 * gdb.base/jit-dlmain.c: New file.
2626 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2627
2628 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2629
2630 * gdb.cp/m-static.exp: Call get_compiler_info.
2631 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2632 * gdb.cp/pr9167.exp (p b): Likewise.
2633 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2634 (test value of P in inner_m, test type of Z in inner_m): Call
2635 setup_xfail for gcc <= 4.5.
2636
2637 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 * gdb.cp/paren-type.cc: New files.
2640 * gdb.cp/paren-type.exp: New files.
2641
2642 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 Stop on first linespec terminator instead of eating what we can.
2645 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2646 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2647 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2648 (break C::f()): ... this one.
2649 (break C::operator()()): New test.
2650 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2651 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2652 test.
2653
2654 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2655
2656 Fall back linespec to minimal symbols.
2657 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2658 error message.
2659 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2660 * gdb.cp/minsym-fallback-main.cc: New file.
2661 * gdb.cp/minsym-fallback.cc: New file.
2662 * gdb.cp/minsym-fallback.exp: New file.
2663 * gdb.cp/minsym-fallback.h: New file.
2664
2665 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.cp/no-dmgl-verbose.cc: New file.
2668 * gdb.cp/no-dmgl-verbose.exp: New file.
2669
2670 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2673 __GI_.
2674 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2675 (f): New function.
2676 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2677 (complete p 'func<short>(): ... here.
2678 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2679 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2680 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2681 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2682 Make them KFAIL gcc/49546.
2683
2684 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2685
2686 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2687
2688 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 Test GCC PR debug/49546.
2691 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2692 (test type of F in k3_m, test value of F in k3_m): New.
2693 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2694 (main): New variable k3. Call k3.k3_m.
2695
2696 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2697
2698 * gdb.ada/packed_array.exp: Fix expected outout.
2699
2700 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2701
2702 * gdb.ada/packed_array.exp: fixed expected output.
2703
2704 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2705
2706 * gdb.ada/same_enum: New testcase.
2707
2708 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2709
2710 * gdb.ada/ptr_typedef: New testcase.
2711
2712 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2713
2714 * gdb.ada/arrayptr.exp: Add ptype test.
2715
2716 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2717
2718 * gdb.ada/char_enum: New testcase.
2719
2720 2011-07-01 Yao Qi <yao@codesourcery.com>
2721
2722 * gdb.base/dump.exp (capture_pointer_with_type): New.
2723 Get value from address instead of name.
2724 Start GDB once, and do `dump' and `restore'
2725 tests together.
2726
2727 2011-06-30 Jie Zhang <jie.zhang@analog.com>
2728 Mike Frysinger <vapier@gentoo.org>
2729
2730 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2731 helper functions for getting/setting remotetimeout variable.
2732 * lib/gdb.exp (gdb_load): If the target is remote, set
2733 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2734 with $loadtimeout. Set $load_ok to 0 before doing the load.
2735 Instead of returning, immediately, set $load_ok to 0. Call
2736 set_remotetimeout with $oldremotetimeout, and then return if
2737 $load_ok is 1.
2738
2739 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
2740
2741 * gdb.python/py-template.exp: Don't run this test if the target
2742 does not support c++ tests.
2743
2744 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 Fix non-only rename list for Fortran modules import.
2747 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2748 tests.
2749 * gdb.fortran/module.f90 (module moduse): New.
2750 (program module): use moduse, test var_x, var_y and var_z.
2751
2752 2011-06-29 Tom Tromey <tromey@redhat.com>
2753
2754 PR testsuite/12040:
2755 * gdb.fortran/array-element.exp: Use f90, not f77.
2756 * gdb.fortran/complex.exp: Use f90, not f77.
2757 * gdb.fortran/derived-type.exp: Use f90, not f77.
2758 * gdb.fortran/library-module.exp: Use f90, not f77.
2759 * gdb.fortran/logical.exp: Use f90, not f77.
2760 * gdb.fortran/module.exp: Use f90, not f77.
2761 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2762 * gdb.fortran/subarray.exp: Use f90, not f77.
2763
2764 2011-06-29 Tom Tromey <tromey@redhat.com>
2765
2766 * gdb.fortran/charset.exp: New file.
2767 * gdb.fortran/charset.f90: New file.
2768
2769 2011-06-29 Tom Tromey <tromey@redhat.com>
2770
2771 PR testsuite/12040:
2772 * lib/future.exp: New file, mostly extracted from ada.exp.
2773 Rewrote compatibility code to use rename.
2774 (gdb_find_gfortran): New proc.
2775 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2776 gfortran patch.
2777 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2778 Move to future.exp.
2779 * lib/gdb.exp: Always load future.exp.
2780
2781 2011-06-28 Yao Qi <yao@codesourcery.com>
2782
2783 * gdb.cp/exception.cc: Don't include iostream.
2784 (bar): Remove print statement.
2785 (catcher): New.
2786 (main): Remove print statements. Call function catcher.
2787 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2788 Set breakpoint on catcher, and check the value of parameter.
2789
2790 2011-06-23 Yao Qi <yao@codesourcery.com>
2791
2792 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2793 1.2 is disabled. KFAIL for uclinux.
2794
2795 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2796
2797 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2798 mi_gdb_test.
2799
2800 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2801
2802 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2803
2804 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2805
2806 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2807
2808 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2809
2810 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2811 `test_exec_and_symbol_mi_operatons' return value.
2812 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2813 gdb_test_multiple.
2814 (test_exec_and_symbol_mi_operatons): Likewise.
2815 (test_path_specification): Likewise.
2816
2817 2011-06-23 Yao Qi <yao@codesourcery.com>
2818
2819 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2820 supported.
2821 * lib/gdb.exp (support_displaced_stepping): New.
2822
2823 2011-06-23 Yao Qi <yao@codesourcery.com>
2824
2825 * gdb.threads/execl.exp: Skip on remote target.
2826
2827 2011-06-21 Marek Polacek <mpolacek@redhat.com>
2828
2829 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
2830 mi_gdb_test.
2831
2832 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2833
2834 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2835
2836 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2837
2838 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2839 mi_gdb_test.
2840
2841 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2842
2843 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2844
2845 2011-06-14 Yao Qi <yao@codesourcery.com>
2846
2847 gdb/testsuite/
2848 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2849
2850 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2851
2852 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2853
2854 2011-06-10 Tom Tromey <tromey@redhat.com>
2855
2856 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2857 Add tests for pointer-to-member-function.
2858 * gdb.cp/temargs.cc (S::somefunc): New function.
2859 (K2): New class.
2860 (main): Instantiate K2; call method.
2861
2862 2011-06-08 Joel Brobecker <brobecker@adacore.com>
2863
2864 * gdb.python/py-inferior.c (f2): Make str an array rather
2865 than a pointer.
2866 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2867
2868 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 * gdb.base/async-shell.c: New file.
2871 * gdb.base/async-shell.exp: New file.
2872
2873 2011-06-06 Pedro Alves <pedro@codesourcery.com>
2874
2875 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2876
2877 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2878
2879 From Stephen Kitt <steve@sk2.org>
2880 * gdb.base/help.exp: Adjust following some spelling corrections
2881 in GDB.
2882
2883 2011-06-01 Yao Qi <yao@codesourcery.com>
2884
2885 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2886
2887 2010-05-31 Keith Seitz <keiths@redhat.com>
2888
2889 PR c++/12750
2890 * gdb.cp/static-method.cc: New file.
2891 * gdb.cp/static-method.exp: New file.
2892
2893 2010-05-31 Keith Seitz <keiths@redhat.com>
2894
2895 PR symtab/12704
2896 * gdb.cp/anon-ns.cc: New file.
2897 * gdb.cp/anon-ns.exp: New file.
2898
2899 2011-05-31 Pedro Alves <pedro@codesourcery.com>
2900
2901 * gdb.arch/i386-dr3-watch.c: New file.
2902 * gdb.arch/i386-dr3-watch.exp: New file.
2903
2904 2011-05-30 Yao Qi <yao@codesourcery.com>
2905
2906 * gdb.base/callfuncs.c (t_structs_fc): New.
2907 (t_structs_dc, t_structs_ldc): New.
2908 (t_double_many_args):
2909 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2910 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2911 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2912 * gdb.base/callfuncs.exp: Call new functions.
2913
2914 2011-05-30 Yao Qi <yao@codesourcery.com>
2915
2916 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2917 Call rerun_and_prepare for each test to isolate effects.
2918
2919 2011-05-30 Yao Qi <yao@codesourcery.com>
2920
2921 * gdb.base/varargs.c (find_max_float_real): New.
2922 (find_max_double_real, find_max_long_double_real): New.
2923 * gdb.base/varargs.exp: Call these new added functions.
2924 * lib/gdb.exp (setup_kfail_for_target): New.
2925
2926 2011-05-30 Yao Qi <yao@codesourcery.com>
2927
2928 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2929 (callcd, callce, callcf, callc1a, callc1b): New.
2930 (callc2a, callc2b): New.
2931 * gdb.base/funcargs.exp (complex_args): New.
2932 (complex_integral_args, complex_float_integral_args): New.
2933 * lib/gdb.exp (support_complex_tests): New. Determine
2934 whether to run test cases on _Complex types.
2935
2936 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2937
2938 * gdb.threads/leader-exit.c: New file.
2939 * gdb.threads/leader-exit.exp: New file.
2940
2941 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2942
2943 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2944
2945 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2946
2947 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2948 remove the `supported' variable.
2949 * gdb.mi/mi-nonstop.exp: Likewise.
2950 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2951 * gdb.mi/mi-nsintrall.exp: Likewise.
2952 * gdb.mi/mi-nsmoribund.exp: Likewise.
2953 * gdb.mi/mi-nsthrexec.exp: Likewise.
2954
2955 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2956
2957 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2958
2959 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2960
2961 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2962
2963 2011-05-24 Keith Seitz <keiths@redhat.com>
2964
2965 PR breakpoint/12803
2966 * gdb.cp/cmpd-minsyms.cc (a): New method.
2967 (b): New method.
2968 (c): New method.
2969 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2970
2971 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2972
2973 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2974 watchpoint's command list didn't execute when the watchpoint went
2975 out of scope.
2976
2977 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2978
2979 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2980 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2981 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2982 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2983 * gdb.arch/i386-permbkpt.exp: Likewise.
2984 * gdb.arch/i386-prologue.exp: Likewise.
2985 * gdb.arch/i386-size-overlap.exp: Likewise.
2986 * gdb.arch/i386-size.exp: Likewise.
2987 * gdb.arch/i386-unwind.exp: Likewise.
2988 * gdb.reverse/i386-precsave.exp: Likewise.
2989 * gdb.reverse/i386-reverse.exp: Likewise.
2990 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2991 * gdb.reverse/i387-env-reverse.exp: Likewise.
2992 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2993
2994 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2995
2996 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2997 file doesn't error, using MI.
2998
2999 2011-05-23 Tom Tromey <tromey@redhat.com>
3000
3001 * gdb.base/charset.exp (string_display): Add tests to assign to
3002 arrays.
3003 * gdb.base/charset.c (short_array, int_array, long_array): New.
3004
3005 2011-05-20 Pedro Alves <pedro@codesourcery.com>
3006
3007 Cope with async mode.
3008
3009 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
3010 into gdb_test + mi_expect_stop.
3011
3012 2011-05-20 Pedro Alves <pedro@codesourcery.com>
3013
3014 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
3015 (callme): Remove printf call.
3016
3017 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
3018
3019 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
3020 quote pattern to avoid problems with Cygwin/mingw expect versions.
3021 * gdb.base/default.exp (show convenience): Use double
3022 quote pattern for regular expressions.
3023
3024 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3025
3026 Fix -readnow for -gdwarf-4 unused type units.
3027 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
3028 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
3029
3030 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3031
3032 * gdb.base/kill-after-signal.c: New file.
3033 * gdb.base/kill-after-signal.exp: New file.
3034
3035 2011-05-16 Pedro Alves <pedro@codesourcery.com>
3036
3037 * gdb.ada/start.exp: Call untested with the correct test filename.
3038 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
3039 test filename. Make the test's binary unique.
3040 * gdb.arch/i386-signal.exp: Call untested with the correct test
3041 filename.
3042 * gdb.arch/i386-size-overlap.exp: Ditto.
3043 * gdb.arch/Makefile.in (EXECUTABLES): Update.
3044 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3045 * gdb.cp/call-c.exp: Ditto.
3046 * gdb.mi/mi-reverse.exp: Call untested with the correct test
3047 filename. Make the test's binary unique.
3048 * gdb.mi/Makefile.in (EXECUTABLES): Update.
3049 * gdb.python/py-mi.exp: Ditto.
3050 * gdb.python/Makefile.in (EXECUTABLES): Update.
3051 * gdb.reverse/i386-precsave.exp: Ditto.
3052 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
3053 test filename.
3054 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3055 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
3056 unique.
3057 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
3058 test filename.
3059 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
3060 * gdb.trace/tfile.exp: Ditto.
3061
3062 2011-05-14 Yao Qi <yao@codesourcery.com>
3063
3064 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
3065 type.
3066
3067 2011-05-13 Doug Evans <dje@google.com>
3068
3069 * gdb.python/py-objfile-script.exp: New file.
3070 * gdb.python/py-objfile-script.c: New file.
3071 * gdb.python/py-objfile-script-gdb.py: New file.
3072 * testsuite/gdb.python/py-section-script.exp: Test
3073 "info auto-load-scripts".
3074
3075 2011-05-13 Tom Tromey <tromey@redhat.com>
3076
3077 * gdb.dwarf2/clztest.exp: New file.
3078 * gdb.dwarf2/clztest.c: New file.
3079 * gdb.dwarf2/clztest.S: New file.
3080
3081 2011-05-13 Doug Evans <dje@google.com>
3082
3083 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
3084 String16 tests.
3085
3086 2011-05-13 Tom Tromey <tromey@redhat.com>
3087
3088 * lib/gdb.exp (is_x86_like_target): New proc.
3089 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
3090 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
3091 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
3092 -nostdlib to compiler.
3093 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
3094 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
3095 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
3096 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
3097 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
3098
3099 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3100
3101 * gdb.python/py-function.exp: Test setting a value from a function
3102 which executes a command.
3103
3104 2011-05-12 Tom Tromey <tromey@redhat.com>
3105
3106 * gdb.dwarf2/typeddwarf.S: New file.
3107 * gdb.dwarf2/typeddwarf.c: New file.
3108 * gdb.dwarf2/typeddwarf.exp: New file.
3109
3110 2011-05-12 Marek Polacek <mpolacek@redhat.com>
3111
3112 * gdb.mi/mi-basics.exp: Fix races. Honour the
3113 `test_exec_and_symbol_mi_operatons' return value.
3114 (test_mi_interpreter_selection): Use mi_gdb_test instead of
3115 gdb_test_multiple.
3116 (test_exec_and_symbol_mi_operatons): Likewise.
3117 (test_path_specification): Likewise.
3118
3119 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
3122 (gdb_touch_execfile): Remove catch wrappers. New variable time.
3123 Replace `file copy' and `file rename' by `file mtime'. Twice.
3124
3125 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3126
3127 * gdb.base/readline-ask.c: New file.
3128 * gdb.base/readline-ask.exp: New file.
3129 * gdb.base/readline-ask.inputrc: New file.
3130
3131 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3132
3133 * gdb.cell/bt.exp: Delete breakpoints before running to signal
3134 to avoid race condition.
3135 * gdb.cell/coremaker.c: Use small stack size.
3136 * gdb.cell/ea-standalone.exp: Use file name without path as
3137 argument to c_to.
3138 * gdb.cell/fork.exp: Allow other output when continuing to end.
3139
3140 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3141
3142 * gdb.threads/corethreads.c: New file.
3143 * gdb.threads/corethreads.exp: New file.
3144
3145 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3146
3147 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
3148 Try to compile the test using -Wl,-z,norelro first.
3149 (load_core): New variable libthread_db_seen, initialize it.
3150 (zeroed-threads cannot be listed): Protect it by XFAIL on
3151 !$libthread_db_seen.
3152
3153 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3154
3155 PR 12573
3156 * gdb.dwarf2/dw2-skip-prologue.S: New file.
3157 * gdb.dwarf2/dw2-skip-prologue.c: New file.
3158 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
3159
3160 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3161
3162 * gdb.cp/psymtab-parameter.cc: New file.
3163 * gdb.cp/psymtab-parameter.exp: New file.
3164
3165 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3166
3167 Fix a race.
3168 * gdb.cp/static-print-quit.exp (print c): Split to ...
3169 (print c - <return>, print c - q <return>, print c - to quit):
3170 ... these. Make the testfile untested on gdb-7.1.
3171
3172 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
3173
3174 * lib/gdb.exp (exec_target_file, exec_symbol_file,
3175 gdb_rename_execfile, gdb_touch_execfile): New.
3176 * gdb.base/reread.exp: Use new procs to handle multiple
3177 exec files.
3178
3179 2011-05-05 Yao Qi <yao@codesourcery.com>
3180
3181 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
3182 (test_adr_32bit, test_pop_pc): New.
3183 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
3184 (test_adr_32bit, test_pop_pc): New.
3185
3186 2011-05-04 Joseph Myers <joseph@codesourcery.com>
3187
3188 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
3189 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
3190 targets.
3191 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
3192 handle targets.
3193
3194 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3195
3196 * gdb.base/completion.exp (complete help info wat): Rename to ...
3197 (complete 'help info wat'): ... here.
3198 Remove all `-re ".*' and `-re "^.*' redundant regexes.
3199 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
3200
3201 2011-05-04 Pedro Alves <pedro@codesourcery.com>
3202
3203 * gdb.base/completion.exp: Use gdb_test_multiple instead of
3204 gdb_test and explicit $gdb_prompt/timeout matches.
3205
3206 2011-05-04 Yao Qi <yao@codesourcery.com>
3207
3208 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3209 and __thumb2__.
3210
3211 2011-05-03 Marek Polacek <mpolacek@redhat.com>
3212
3213 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3214 in place of `gdb_test "delete breakpoints"'. This eliminates two
3215 testcases.
3216
3217 2011-05-02 Pedro Alves <pedro@codesourcery.com>
3218
3219 PR testsuite/12649
3220 Fix races.
3221
3222 * gdb.base/completion.exp: Remove all sleep calls. Remove
3223 unnecessary regexs. Don't explicitly expect anything after the
3224 prompt. Eat the prompt if necessary.
3225
3226 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3227
3228 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3229 accept to show the caller line again as well as the line after.
3230
3231 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3232
3233 PR mi/12531
3234
3235 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3236 compile target.
3237 * gdb.python/py-prettyprint.exp: Add C++ object for
3238 CPLUS_FAKE_CHILD test.
3239
3240 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3241
3242 * gdb.base/signest.exp: New file.
3243 * gdb.base/signest.c: Likewise.
3244
3245 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3246
3247 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3248 thread and breakpoint notifications.
3249
3250 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 * gdb.base/fortran-sym-case.c: New file.
3253 * gdb.base/fortran-sym-case.exp: New file.
3254 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3255 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3256 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3257
3258 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3259
3260 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3261 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3262 false #1', `if true else false #2' and `if true else false #3'.
3263
3264 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3265
3266 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3267 while delivering signal.
3268
3269 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3270
3271 MI breakpoint notifications.
3272
3273 * testsuite/gdb.mi/mi-cli.exp: Adust.
3274 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3275 * testsuite/gdb.mi/mi-watch.exp: Adust.
3276 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3277 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3278 notifications.
3279
3280 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3281
3282 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3283 * gdb.base/gdbindex-stabs.c: New file.
3284 * gdb.base/gdbindex-stabs.exp: New file.
3285
3286 2011-04-25 Yao Qi <yao@codesourcery.com>
3287
3288 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3289 with /*...*/.
3290 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3291
3292 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.python/py-value.exp (test_objfiles): Name the first test
3295 `py-value in file.filename'.
3296
3297 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3298
3299 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3300 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3301 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3302 !gdbserver_reconnect_p..
3303 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3304
3305 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3306
3307 * gdb.cp/cpcompletion.exp (complete class methods)
3308 (complete class methods beginning with F): Move them above runto. New
3309 comment about the runto delimiter.
3310
3311 2011-04-20 Pedro Alves <pedro@codesourcery.com>
3312
3313 * gdb.base/maint.exp: Test that "maint print registers" works
3314 without a running program.
3315
3316 2011-04-20 Marek Polacek <mpolacek@redhat.com>
3317
3318 * gdb.base/setshow.exp: Fix racy tests.
3319 ($old_gdb_prompt): New variable.
3320
3321 2011-04-19 Tom Tromey <tromey@redhat.com>
3322
3323 * gdb.mi/mi-nsmoribund.exp:
3324 * gdb.hp/gdb.objdbg/objdbg01.exp:
3325 * gdb.base/structs.exp (test_struct_returns):
3326 * gdb.base/call-sc.exp (test_scalar_returns):
3327 * gdb.base/bigcore.exp: Remove duplicate words.
3328
3329 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3330
3331 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3332 * gdb.base/break-interp.exp (test_attach): New comment.
3333
3334 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3335
3336 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3337 (clear __stack_user.next, clear stack_used.next)
3338 (save a zeroed-threads corefile): New test.
3339 Call core_load for $core0file.
3340 (zeroed-threads cannot be listed): New test.
3341
3342 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3343
3344 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3345 filename.
3346 ($srcfile): Preserve the original value.
3347 ($testfile): Match it the .exp filename.
3348 ($corefile): New variable. Substitute it around.
3349 Use clean_restart.
3350 ($prev_timeout): Remove.
3351 (load_core): Move core loading into this proc.
3352 Fix restore of $timeout if load_core fails.
3353
3354 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3355
3356 * gdb.base/eu-strip-infcall.c: New file.
3357 * gdb.base/eu-strip-infcall.exp: New file.
3358
3359 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3362 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3363
3364 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3365
3366 Fix Python access to inlined frames.
3367 * gdb.python/py-frame-inline.c: New file.
3368 * gdb.python/py-frame-inline.exp: New file.
3369
3370 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3371
3372 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3373 content of 's24' correctly (avoiding "optimized out").
3374 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3375
3376 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3379
3380 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3381
3382 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3383 expect a colon in watch -location output.
3384
3385 2011-04-13 Marek Polacek <mpolacek@redhat.com>
3386
3387 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
3388 New testcase `expect response to define backtrace'. Also remove
3389 redundant `default' block.
3390
3391 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.python/py-prettyprint.c (struct hint_error): New.
3394 (main): New variable hint_error.
3395 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3396 "print hint_error".
3397 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3398 (register_pretty_printers): Register it.
3399
3400 2011-04-04 Tom Tromey <tromey@redhat.com>
3401
3402 * gdb.cp/maint.exp (test_help): Update.
3403 (test_namespace): Likewise.
3404
3405 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3408 * gdb.ada/arrayptr.exp: Add new tests.
3409
3410 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3411
3412 * gdb.ada/mi_catch_ex: New testcase.
3413
3414 2011-04-01 Pedro Alves <pedro@codesourcery.com>
3415
3416 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3417 base::overload(void) method without specifying "const".
3418
3419 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3420
3421 * gdb.arch/thumb-singlestep.S: New file.
3422 * gdb.arch/thumb-singlestep.exp: Likewise.
3423
3424 2011-03-31 Tom Tromey <tromey@redhat.com>
3425
3426 * gdb.python/py-prettyprint.py (exception_flag): New global.
3427 (NoStringContainerPrinter._iterator.next): Check it.
3428 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3429 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3430
3431 2011-03-29 Tom Tromey <tromey@redhat.com>
3432
3433 * gdb.cp/anon-struct.cc: New file.
3434 * gdb.cp/anon-struct.exp: New file.
3435
3436 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3437
3438 Test STT_GNU_IFUNC support.
3439 * gdb.base/gnu-ifunc-lib.c: New file.
3440 * gdb.base/gnu-ifunc.c: New file.
3441 * gdb.base/gnu-ifunc.exp: New file.
3442
3443 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3444
3445 Support a ring of related breakpoints.
3446 * gdb.base/watchpoint-delete.c: New file.
3447 * gdb.base/watchpoint-delete.exp: New file.
3448
3449 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3450
3451 * gdb.ada/arrayparam.exp (print first after function call): Use
3452 explicit package name. Add a comment
3453 (print lasta after function call): Rename ...
3454 (print last after function call): ... it and use explicit package
3455 name.
3456 (print length after function call): Use explicit package name.
3457 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3458 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3459 (multiple matches for symbol i): Rename ...
3460 (multiple matches for symbol integervar): ... it.
3461 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3462 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3463
3464 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
3465
3466 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3467 environment variable to make grep output more predictable. Move
3468 all the environment setup into gdb_init so it's done once per test
3469 case rather than each time we start gdb.
3470
3471 2011-03-24 Tom Tromey <tromey@redhat.com>
3472
3473 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3474 test.
3475
3476 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3477
3478 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3479 * gdb.dwarf2/dw2-entry-value.S: New file.
3480 * gdb.dwarf2/dw2-entry-value.exp: New file.
3481
3482 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3483
3484 PR python/12183
3485
3486 * gdb.python/py-function.exp: Add GdbError tests.
3487
3488 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3489
3490 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3491 (reglocal_test_func, statlocal_test_func): New functions.
3492 (globals_test_func): Call new functions.
3493 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3494 (gdb_collect_locals_test): New procedure.
3495 (gdb_trace_collection_test): Call new procedures.
3496
3497 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3498
3499 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3500 (test_register, test_register_unavailable): New procedures.
3501 (gdb_unavailable_registers_test): New procedure.
3502 (gdb_trace_collection_test): Call it.
3503
3504 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3505
3506 PR python/12149
3507
3508 * gdb.python/python.exp: Add gdb.write tests.
3509
3510 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3511
3512 * gdb.python/Makefile.in: Add py-objfile.
3513 * gdb.python/py-objfile.exp: New file.
3514 * gdb.python/py-objfile.c: New file.
3515 * gdb.python/py-block.exp: Add is_valid tests.
3516 * gdb.python/py-inferior.exp: Ditto.
3517 * gdb.python/py-infthread.exp: Ditto.
3518 * gdb.python/py-symbol.exp: Ditto.
3519 * gdb.python/py-symtab.exp: Ditto.
3520
3521 2011-03-16 Keith Seitz <keiths@redhat.com>
3522
3523 PR c++/12273
3524 * gdb.cp/cmpd-minsyms.exp: New test.
3525 * gdb.cp/cmpd-minsyms.cc: New file.
3526
3527 PR c++/11734
3528 * gdb.cp/ovsrch.exp: New test.
3529 * gdb.cp/ovsrch.h: New file.
3530 * gdb.cp/ovsrch1.cc: New file.
3531 * gdb.cp/ovsrch2.cc: New file.
3532 * gdb.cp/ovsrch3.cc: New file.
3533 * gdb.cp/ovsrch4.cc: New file.
3534
3535 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3536
3537 PR gdb/12528
3538 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3539 * gdb.base/break-on-linker-gcd-function.exp: New test.
3540 * gdb.base/break-on-linker-gcd-function.cc: New file.
3541
3542 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
3543
3544 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3545
3546 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3547
3548 * lib/gdb.exp (gdb_unload): Add another termination case.
3549
3550 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3551
3552 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3553 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3554 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3555 Provide a stub byte there.
3556 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3557 DW_AT_entry_pc.
3558 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3559
3560 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3561
3562 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3563 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3564 "generic ABI, auto".
3565 (altivec_abi_tests): Accept vectors returned by reference.
3566
3567 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3568
3569 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3570
3571 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3572
3573 * gdb.python/py-section-script.exp: Skip test if no Python support.
3574
3575 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3576
3577 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3578
3579 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3580
3581 * gdb.python/py-parameter.exp: Update tests to the new Python
3582 parameter API. Add "no documentation" test. Add deprecated API
3583 backward compatibility test.
3584
3585 2011-03-09 Tom Tromey <tromey@redhat.com>
3586
3587 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3588 gdb_continue_to_end.
3589
3590 2011-03-09 Mark Kettenis <kettenis@gnu.org>
3591
3592 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3593 tabs.
3594
3595 2011-03-09 Tom Tromey <tromey@redhat.com>
3596
3597 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3598 parentheses.
3599 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3600 $command.
3601 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3602 argument to gdb_continue_to_end.
3603 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3604 argument to gdb_continue_to_end.
3605 * gdb.cp/annota3.exp: Fix regex.
3606 * gdb.cp/annota2.exp: Fix regex.
3607 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3608 gdb_continue_to_end.
3609 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3610 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3611 gdb_continue_to_end.
3612
3613 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * gdb.server/ext-run.exp
3616 (load new file without any gdbserver inferior): New test.
3617
3618 2011-03-07 Tom Tromey <tromey@redhat.com>
3619
3620 * Makefile.in (TAGS): Rewrite.
3621
3622 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3623
3624 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3625 initial commands echo. New match for `Found trace'. Anchor all the
3626 other matches. Anchor and match for `No trace frame found' the final
3627 match.
3628
3629 2011-03-07 Tom Tromey <tromey@redhat.com>
3630
3631 * Makefile.in (TAGS): New target.
3632
3633 2011-03-07 Tom Tromey <tromey@redhat.com>
3634
3635 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3636 change.
3637 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3638 change.
3639 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3640 exit message change.
3641 (skip_altivec_tests): Update for exit message change.
3642 (skip_vsx_tests): Likewise.
3643 (gdb_continue_to_end): Likewise. Add 'command' argument.
3644 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3645 * gdb.threads/tls.exp: Update for exit message change.
3646 * gdb.threads/thread-unwindonsignal.exp: Use
3647 gdb_continue_to_end.
3648 * gdb.threads/step.exp (step_it): Update for exit message change.
3649 (continue_all): Likewise.
3650 * gdb.threads/print-threads.exp (test_all_threads): Update for
3651 exit message change.
3652 * gdb.threads/interrupted-hand-call.exp: Use
3653 gdb_continue_to_end.
3654 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3655 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3656 gdb_continue_to_end.
3657 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3658 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3659 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3660 * gdb.cp/method.exp: Update for exit message change.
3661 * gdb.cp/mb-templates.exp: Update for exit message change.
3662 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3663 * gdb.cp/annota3.exp: Update for exit message change.
3664 * gdb.cp/annota2.exp: Update for exit message change.
3665 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3666 * gdb.base/term.exp: Update for exit message change.
3667 * gdb.base/step-test.exp (test_i): Update for exit message change.
3668 * gdb.base/sigstep.exp (advance): Update for exit message change.
3669 (advancei): Likewise.
3670 * gdb.base/siginfo.exp: Update for exit message change.
3671 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3672 * gdb.base/reread.exp: Use gdb_continue_to_end.
3673 * gdb.base/langs.exp: Use gdb_continue_to_end.
3674 * gdb.base/interrupt.exp: Update for exit message change.
3675 * gdb.base/gdb1555.exp: Update for exit message change.
3676 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3677 * gdb.base/ending-run.exp: Update for exit message change.
3678 * gdb.base/chng-syms.exp: Update for exit message change.
3679 * gdb.base/checkpoint.exp: Update for exit message change.
3680 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3681 gdb_continue_to_end.
3682 (test_catch_syscall_with_wrong_args): Likewise.
3683 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3684 * gdb.base/break-interp.exp (test_ld): Update for exit message
3685 change.
3686 * gdb.base/bang.exp: Update for exit message change.
3687 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3688 (do_call_attach_tests): Likewise.
3689 * gdb.base/a2-run.exp: Update for exit message change.
3690 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3691 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3692 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3693
3694 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3695
3696 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3697
3698 2011-03-03 Tom Tromey <tromey@redhat.com>
3699
3700 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3701 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3702 * gdb.hp/gdb.aCC/configure.ac: Remove.
3703 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3704 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3705 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3706 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3707 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3708 * gdb.hp/gdb.compat/configure.ac: Remove.
3709 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3710 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3711 * gdb.hp/gdb.defects/configure.ac: Remove.
3712 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3713 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3714 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3715 * gdb.hp/configure.ac: Remove.
3716 * gdb.hp/configure: Remove.
3717 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3718 substitution.
3719 (Makefile): Remove rule.
3720 * gdb.cell/configure.ac: Remove.
3721 * gdb.cell/configure: Remove.
3722 * gdb.stabs/Makefile.in (Makefile): Remove.
3723 (distclean): Don't remove config.status or config.log.
3724 * gdb.stabs/configure (Makefile): Remove.
3725 * gdb.stabs/configure.ac: Remove.
3726 * configure: Rebuild.
3727 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3728 Remove stabs- and cell-specific logic. Test for existence of
3729 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3730 subdirectories, gdb.cell, and and gdb.stabs.
3731 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3732
3733 2011-03-03 Joel Brobecker <brobecker@adacore.com>
3734
3735 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3736 end of buffer.
3737
3738 2011-03-02 Joel Brobecker <brobecker@adacore.com>
3739
3740 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3741 gdb_test when running a test where we expected no output back.
3742
3743 2011-02-28 Michael Snyder <msnyder@vmware.com>
3744
3745 * gdb.cp/overload.cc: Change initializer value to integer.
3746
3747 2011-02-27 Michael Snyder <msnyder@vmware.com>
3748
3749 * gdb.multi/base.exp: Add test for remove-inferiors.
3750
3751 2011-02-26 Joel Brobecker <brobecker@adacore.com>
3752
3753 * gdb.python/py-frame.exp: Simplify the initialization phase
3754 using prepare_for_testing.
3755
3756 2011-02-25 Michael Snyder <msnyder@vmware.com>
3757
3758 * gdb.multi/base.exp: Add tests for info inferiors with args.
3759
3760 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3761
3762 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3763 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3764 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3765 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3766 asmfile3. Comment the STABS (#3) file compilation. Compile
3767 everything through assembler. Provide KFAIL for symtab/12497.
3768 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3769 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3770 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3771 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3772
3773 2011-02-24 Michael Snyder <msnyder@vmware.com>
3774
3775 * gdb.base/break.exp: Add tests for delete breakpoints using
3776 convenience variables and value history references.
3777
3778 2011-02-24 Michael Snyder <msnyder@vmware.com>
3779
3780 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3781 left behind in previous check-in.
3782
3783 2011-02-23 Michael Snyder <msnyder@vmware.com>
3784
3785 * gdb.base/break.exp: Add tests for "info break" with arguments.
3786 * gdb.trace/infotrace.exp: Update patterns for error and help.
3787 * gdb.base/completion.exp: Update pattern.
3788 * gdb.base/ena-dis-br.exp: Update pattern.
3789 * gdb.base/help.exp: Update patterns.
3790
3791 2011-02-23 Michael Snyder <msnyder@vmware.com>
3792
3793 * gdb.base/memattr.exp: New test.
3794 * gdb.base/memattr.c: Test load for memattr.exp.
3795
3796 2011-02-22 Doug Evans <dje@google.com>
3797
3798 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3799
3800 2011-02-22 Michael Snyder <msnyder@vmware.com>
3801
3802 * Makefile.in: Make more clean.
3803 * gdb.ada/Makefile.in: Ditto.
3804 * gdb.arch/Makefile.in: Ditto.
3805 * gdb.asm/Makefile.in: Ditto.
3806 * gdb.base/Makefile.in: Ditto.
3807 * gdb.cp/Makefile.in: Ditto.
3808 * gdb.dwarf2/Makefile.in: Ditto.
3809 * gdb.java/Makefile.in: Ditto.
3810 * gdb.mi/Makefile.in: Ditto.
3811 * gdb.modula2/Makefile.in: Ditto.
3812 * gdb.python/Makefile.in: Ditto.
3813 * gdb.server/Makefile.in: Ditto.
3814 * gdb.stabs/Makefile.in: Ditto.
3815 * gdb.threads/Makefile.in: Ditto.
3816 * gdb.trace/Makefile.in: Ditto.
3817
3818 2011-02-22 Michael Snyder <msnyder@vmware.com>
3819
3820 * gdb.threads/thread-find.exp: Add tests for bad input to
3821 info threads.
3822
3823 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3824
3825 * gdb.python/py-breakpoint.exp: Fix the expected output of
3826 one of the "maint info breakpoints" tests to accept the output
3827 generated on platforms that do not have hardware watchpoints.
3828
3829 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3830
3831 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3832 clean_restart. Be a little stricter in the expected output
3833 for one of the tests. Fix a typo in one of the comments.
3834
3835 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3836
3837 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3838 Delete variable binfile, no longer use. Add or modify test
3839 comments to make them unique.
3840
3841 2011-02-21 Michael Snyder <msnyder@vmware.com>
3842
3843 * Makefile.in: Update for make clean.
3844 * gdb.ada/Makefile.in: Ditto.
3845 * gdb.arch/Makefile.in: Ditto.
3846 * gdb.asm/Makefile.in: Ditto.
3847 * gdb.base/Makefile.in: Ditto.
3848 * gdb.cp/Makefile.in: Ditto.
3849 * gdb.dwarf2/Makefile.in: Ditto.
3850 * gdb.java/Makefile.in: Ditto.
3851 * gdb.mi/Makefile.in: Ditto.
3852 * gdb.modula2/Makefile.in: Ditto.
3853 * gdb.python/Makefile.in: Ditto.
3854 * gdb.server/Makefile.in: Ditto.
3855 * gdb.stabs/Makefile.in: Ditto.
3856 * gdb.threads/Makefile.in: Ditto.
3857 * gdb.trace/Makefile.in: Ditto.
3858
3859 2011-02-21 Michael Snyder <msnyder@vmware.com>
3860
3861 * gdb.threads/thread-find.exp: Update patterns for changes in
3862 output of "info threads" command.
3863
3864 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3865 Ulrich Weigand <uweigand@de.ibm.com>
3866
3867 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3868 (skip_hw_watchpoint_tests): Likewise.
3869 (skip_hw_watchpoint_multi_tests): Likewise.
3870
3871 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3872
3873 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3874 (skip_hw_watchpoint_tests): Likewise.
3875 (skip_hw_watchpoint_multi_tests): Likewise.
3876 (skip_hw_watchpoint_access_tests): Likewise.
3877
3878 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3879 * gdb.base/pr11022.exp: Likewise.
3880 * gdb.base/watch-read.exp: Likewise.
3881 * gdb.base/watch_thread_num.exp: Likewise.
3882 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3883 * gdb.base/watchpoint-hw.exp: Likewise.
3884 * gdb.base/watchpoint.exp: Likewise.
3885 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3886 * gdb.threads/watchthreads-reorder.exp: Likewise.
3887 * gdb.threads/watchthreads.exp: Likewise.
3888 * gdb.threads/watchthreads2.exp: Likewise.
3889
3890 2011-02-21 Joel Brobecker <brobecker@adacore.com>
3891
3892 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3893 the debugger is unable to find the array bounds.
3894
3895 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3896
3897 * gdb.cp/typedef-operator.exp: New file.
3898 * gdb.cp/typedef-operator.cc: New file.
3899
3900 2011-02-17 Michael Snyder <msnyder@vmware.com>
3901
3902 * gdb.threads/thread-find.exp: Fix regular expressions.
3903
3904 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3905
3906 * gdb.ada/packed_array: Expand testcase to test printing of
3907 unconstrained packed array.
3908
3909 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3910
3911 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3912
3913 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3914
3915 * gdb.trace/collection.c (globalarr3): New global.
3916 (main): Initialize it before collecting, and and clear it
3917 afterwards.
3918 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3919 collecting with '{type} addr', where the addr expression is not an
3920 rvalue.
3921
3922 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
3923
3924 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3925 a bool variable. Expect correct OpenCL names for vector types. Use the
3926 uc3 variable name instead of referring to the uchar3 built-in type.
3927 Escape the asterisk at the half pointer test.
3928
3929 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3930
3931 * gdb.trace/collection.c (globalarr2): New global.
3932 (main): Initialize it before collecting, and and clear it
3933 afterwards.
3934 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3935 collecting overlapping memory ranges.
3936
3937 2011-02-15 Michael Snyder <msnyder@vmware.com>
3938
3939 * gdb.base/default.exp: Add tests for thread commands.
3940 * gdb.base/help.exp: Add tests for thread commands.
3941 * gdb.threads/thread-find.exp: New test for thread find command.
3942
3943 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
3944
3945 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3946
3947 2011-02-15 Yao Qi <yao@codesourcery.com>
3948
3949 PR tdep/12352
3950 * gdb.arch/arm-disp-step.S : New test for str instruction.
3951 * gdb.arch/arm-disp-step.exp : Likewise.
3952
3953 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3954
3955 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3956 "vector_register2_vr" test strings. Test the extended floating
3957 point registers (F32~F63).
3958 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3959 IBM XL C compiler. Make the test program use a register provided
3960 by the compiler for the lxvd2x instruction.
3961
3962 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3963
3964 * gdb.trace/unavailable.cc (class Base, class Middle, class
3965 Derived): New types.
3966 (derived_unavail, derived_partial, derived_whole): New globals.
3967 (virtual_partial): New global.
3968 (virtualp): Point at virtual_partial.
3969 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3970 related to unavailable vptr.
3971
3972 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3973
3974 * gdb.trace/unavailable.cc (a, b, c): New globals.
3975 (main): Set and clear them.
3976 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3977 `a' and `c', and check that `b' isn't collected, although `a' and
3978 `c' are.
3979
3980 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3981
3982 * gdb.trace/unavailable.cc (struct Virtual): New.
3983 (virtualp): New global pointer.
3984 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3985 printing a pointer to an object whose type has a vtable, with
3986 print object on.
3987
3988 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3989
3990 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3991 value repeat handles unavailableness.
3992
3993 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3994
3995 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3996 tests for building arrays from unavailable values, subscripting
3997 non-memory rvalue unvailable arrays, and accessing fields or
3998 baseclasses of non-lazy unavailable values,
3999 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
4000 struct types.
4001 (g_smallstruct, g_smallstruct_b): New globals.
4002
4003 2011-02-14 Pedro Alves <pedro@codesourcery.com>
4004
4005 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
4006
4007 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4008
4009 Fix const/volatile qualifiers of C++ types, PR c++/12328.
4010 * gdb.cp/overload-const.exp: New file.
4011 * gdb.cp/overload-const.cc: New file.
4012
4013 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4014
4015 * gdb.opencl/callfuncs.cl: New file.
4016 * gdb.opencl/callfuncs.exp: New test.
4017 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
4018
4019 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
4020
4021 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
4022 when computing result.
4023 * gdb.arch/altivec-abi.exp: Update expected results.
4024
4025 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4026
4027 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
4028 * gdb.base/jit.exp: Likewise.
4029 * gdb.base/pie-execl.exp: Likewise.
4030 * gdb.base/solib-nodir.exp: Likewise.
4031 * gdb.base/solib-overlap.exp: Likewise.
4032
4033 2011-02-07 Pedro Alves <pedro@codesourcery.com>
4034
4035 * gdb.trace/collection.c (global_pieces): New.
4036 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
4037 New procedure.
4038 (gdb_trace_collection_test): Call it.
4039
4040 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
4041
4042 * gdb.python/py-evthreads.c: New file.
4043 * gdb.python/py-evthreads.exp: New file.
4044 * gdb.python/py-events.py: New file.
4045 * gdb.python/py-events.exp: New file.
4046 * gdb.python/py-events.c: New file.
4047
4048 2011-02-04 David Daney <ddaney@caviumnetworks.com>
4049
4050 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
4051
4052 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
4053
4054 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
4055 gdb.base/disasm-end-cu.exp: New test for disassembling over the
4056 boundary between two compilation units.
4057
4058 2011-02-02 Pedro Alves <pedro@codesourcery.com>
4059
4060 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
4061 (Virtual): New structs.
4062 (virtual_o, virtual_middle_b): New globals.
4063 * gdb.cp/virtbase.exp: New tests.
4064
4065 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4066
4067 * gdb.base/jit.exp: New file.
4068 * gdb.base/jit-main.c: New file.
4069 * gdb.base/jit-solib.c: New file.
4070
4071 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
4072
4073 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
4074 proceed to initial kernel entry point.
4075 * gdb.opencl/datatypes.exp: Likewise.
4076 * gdb.opencl/operators.exp: Likewise.
4077 * gdb.opencl/vec_comps.exp: Likewise.
4078
4079 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
4080
4081 * gdb.cp/nsnested.cc: New.
4082 * gdb.cp/nsnested.exp: New.
4083 * gdb.cp/nsnoimports.exp: New.
4084 * gdb.cp/nsnoimports.cc: New.
4085
4086 2011-01-31 Joel Brobecker <brobecker@adacore.com>
4087
4088 * gdb.base/interact.exp: Add extra tests that verify that
4089 the value of the interactive-mode setting does not change
4090 after the script is sourced.
4091
4092 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 * gdb.cp/noparam.exp: New file.
4095 * gdb.cp/noparam.cc: New file.
4096
4097 2011-01-28 Pedro Alves <pedro@codesourcery.com>
4098
4099 * gdb.trace/tfile.exp: Test that with no traceframe selected,
4100 there's no stack or registers.
4101
4102 2011-01-26 Tom Tromey <tromey@redhat.com>
4103
4104 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
4105 space before string output. Add test for "set print pretty off"
4106 case.
4107
4108 2011-01-25 Pedro Alves <pedro@codesourcery.com>
4109
4110 * gdb.base/frame-args.exp: Adjust.
4111 * gdb.dwarf2/dw2-noloc.exp: Adjust.
4112 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
4113 * gdb.dwarf2/pieces.exp: Adjust.
4114 * gdb.opt/clobbered-registers-O2.exp: Adjust.
4115 * gdb.opt/inline-locals.exp: Adjust.
4116 * gdb.threads/fork-child-threads.exp: Adjust.
4117
4118 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
4119
4120 * gdb.opencl/convs_casts.cl: Move program scope variables into the
4121 OpenCL kernel function. Add a comment as marker. Add address space
4122 qualifiers for the remaining program scope variables.
4123 * gdb.opencl/datatypes.cl: Likewise.
4124 * gdb.opencl/operators.cl: Likewise.
4125 * gdb.opencl/vec_comps.cl: Likewise.
4126 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
4127 Add breakpoint at the marker comment.
4128 * gdb.opencl/datatypes.exp: Likewise.
4129 * gdb.opencl/operators.exp: Likewise.
4130 * gdb.opencl/vec_comps.exp: Likewise.
4131
4132 2011-01-24 Pedro Alves <pedro@codesourcery.com>
4133
4134 * gdb.base/printcmds.c (some_struct): New struct and instance.
4135 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
4136 procedure.
4137 <global scope>: Call it.
4138
4139 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
4140
4141 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
4142 argument to the gdb_compile_opencl_hostapp call.
4143
4144 2011-01-19 Yao Qi <yao@codesourcery.com>
4145
4146 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
4147 positve list.
4148
4149 2011-01-19 Yao Qi <yao@codesourcery.com>
4150
4151 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
4152 canonical form.
4153 Remove "xscale-*-*"
4154 * gdb.xml/tdesc-regs.exp: Likewise.
4155 * gdb.python/py-section-script.exp: Replace ARM target triplet
4156 with canonical form.
4157 Match arm*-*-symbianelf*.
4158 * gdb.base/dup-sect.exp: Likewise.
4159 * lib/dwarf.exp: New.
4160 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
4161 dwarf2_support.
4162 * gdb.dwarf2/dup-psym.exp: Likewise.
4163 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
4164 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4165 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
4166 * gdb.dwarf2/dw2-basic.exp: Likewise.
4167 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4168 * gdb.dwarf2/dw2-const.exp: Likewise.
4169 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
4170 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
4171 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
4172 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
4173 * gdb.dwarf2/dw2-filename.exp: Likewise.
4174 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
4175 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
4176 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4177 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4178 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
4179 * gdb.dwarf2/dw2-noloc.exp: Likewise.
4180 * gdb.dwarf2/dw2-op-call.exp: Likewise.
4181 * gdb.dwarf2/dw2-producer.exp: Likewise.
4182 * gdb.dwarf2/dw2-ranges.exp: Likewise.
4183 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
4184 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
4185 * gdb.dwarf2/dw2-strp.exp: Likewise.
4186 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
4187 * gdb.dwarf2/implptr.exp: Likewise.
4188 * gdb.dwarf2/mac-fileno.exp: Likewise.
4189 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
4190 * gdb.dwarf2/pieces.exp: Likewise.
4191 * gdb.dwarf2/pr11465.exp: Likewise.
4192 * gdb.dwarf2/valop.exp: Likewise.
4193 * gdb.dwarf2/watch-notconst.exp: Likewise.
4194 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
4195
4196 2011-01-19 Tom Tromey <tromey@redhat.com>
4197
4198 * gdb.python/py-infthread.exp: Add thread tests.
4199
4200 2011-01-14 Joel Brobecker <brobecker@adacore.com>
4201
4202 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
4203
4204 2011-01-14 Joel Brobecker <brobecker@adacore.com>
4205
4206 * gdb.ada/widewide: New testcase.
4207
4208 2011-01-13 Joel Brobecker <brobecker@adacore.com>
4209
4210 * gdb.base/interact.exp: New testcase.
4211
4212 2011-01-12 Tom Tromey <tromey@redhat.com>
4213
4214 * gdb.mi/gdb2549.exp: Update for error message changes.
4215 * gdb.mi/mi-cli.exp: Likewise.
4216 * gdb.mi/mi-disassemble.exp: Likewise.
4217 * gdb.mi/mi-pthreads.exp: Likewise.
4218 * gdb.mi/mi-regs.exp: Likewise.
4219 * gdb.mi/mi-stack.exp: Likewise.
4220 * gdb.mi/mi-var-block.exp: Likewise.
4221 * gdb.mi/mi-var-cmd.exp: Likewise.
4222 * gdb.mi/mi2-cli.exp: Likewise.
4223 * gdb.mi/mi2-disassemble.exp: Likewise.
4224 * gdb.mi/mi2-pthreads.exp: Likewise.
4225 * gdb.mi/mi2-regs.exp: Likewise.
4226 * gdb.mi/mi2-stack.exp: Likewise.
4227 * gdb.mi/mi2-var-block.exp: Likewise.
4228 * gdb.mi/mi2-var-cmd.exp: Likewise.
4229
4230 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
4231 Jan Kratochvil <jan.kratochvil@redhat.com>
4232
4233 PR fortran/11104 and DWARF unbound arrays detection.
4234 * gdb.fortran/multi-dim.exp: New file.
4235 * gdb.fortran/multi-dim.f90: New file.
4236
4237 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
4238
4239 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4240 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4241 add new tests for opcode dumping.
4242
4243 2011-01-11 Tom Tromey <tromey@redhat.com>
4244
4245 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4246
4247 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4248
4249 Convert hardware watchpoints to use breakpoint_ops.
4250 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4251 type is not supported.
4252 * gdb.base/foll-fork.exp: Likewise.
4253 * gdb.base/foll-vfork.exp: Likewise.
4254
4255 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4256
4257 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4258 Use load_lib gdb-python.exp.
4259 * gdb.python/python.exp: Ditto.
4260 * gdb.python/py-function.exp: Ditto.
4261
4262 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4263
4264 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4265
4266 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4267
4268 * configure: Regenerate.
4269
4270 2011-01-06 Tom Tromey <tromey@redhat.com>
4271
4272 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4273
4274 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4275
4276 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4277 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4278 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4279 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4280 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4281 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4282 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4283 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4284 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4285 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4286 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4287 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4288 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4289 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4290 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4291 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4292 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4293 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4294 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4295 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4296 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4297 gdb.ada/uninitialized_vars.exp,
4298 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4299 Simplify by using clean_restart.
4300
4301 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4302
4303 Add marker to be used as anchor for inserting breakpoints.
4304 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4305 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4306 Likewise.
4307
4308 Remove uses of gdb_start_cmd.
4309 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4310 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4311
4312 Do not run testcase if testing with GDBserver.
4313 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4314 if testing with GDBserver.
4315
4316 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4317
4318 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4319 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4320 copyright header.
4321
4322 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4323
4324 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4325 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4326 testsuite/gdb.fortran/complex.f,
4327 testsuite/gdb.fortran/derived-type.f90,
4328 testsuite/gdb.fortran/library-module-lib.f90,
4329 testsuite/gdb.fortran/library-module-main.f90,
4330 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4331 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4332 Copyright year update.
4333
4334 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4335
4336 * gdb.base/langs1.f: Add copyright header.
4337
4338 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4339
4340 * gdb.base/morestack.exp: New file.
4341 * gdb.base/morestack.c: New file.
4342
4343 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4344
4345 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4346
4347 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4348
4349 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4350 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4351
4352 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4353
4354 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4355
4356 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4357
4358 * gdb.threads/tls.exp: Fix typo.
4359
4360 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4361 * gdb.threads/execl.exp: Update.
4362
4363 2010-12-23 Yao Qi <yao@codesourcery.com>
4364
4365 * gdb.arch/arm-disp-step.exp: New.
4366 * gdb.arch/arm-disp-step.S: New.
4367
4368 2010-12-21 Tom Tromey <tromey@redhat.com>
4369
4370 * gdb.threads/execl.exp: Update.
4371 * gdb.threads/linux-dp.exp: Update.
4372 * gdb.threads/manythreads.exp: Update.
4373 * gdb.threads/tls.exp: Update.
4374
4375 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4376
4377 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4378 (NextOverThrowDerivates) <resumebpt>: New.
4379 (resumebpt_test): New.
4380 (main): Call resumebpt_test.
4381 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4382
4383 2010-12-12 Stan Shebs <stan@codesourcery.com>
4384
4385 * gdb.trace/tsv.exp: Test print command on trace state variables.
4386
4387 2010-12-09 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.base/interp.exp: Add regression test.
4390
4391 2010-12-09 Tom Tromey <tromey@redhat.com>
4392
4393 * gdb.java/jnpe.java: New file.
4394 * gdb.java/jnpe.exp: New file.
4395 * gdb.cp/nextoverthrow.exp: New file.
4396 * gdb.cp/nextoverthrow.cc: New file.
4397
4398 2010-12-07 Doug Evans <dje@google.com>
4399
4400 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4401 of data-directory.
4402 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4403 updated.
4404 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4405
4406 2010-11-29 Michael Snyder <msnyder@vmware.com>
4407
4408 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4409 * gdb.base/call-sc.exp: Ditto.
4410 * gdb.base/finish.exp: Ditto.
4411 * gdb.base/return.exp: Ditto.
4412 * gdb.base/return2.exp: Ditto.
4413
4414 2010-11-30 Doug Evans <dje@google.com>
4415
4416 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4417 (gdb_expect_list): Fix spelling errors in comments.
4418 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4419 send_gdb/gdb_expect_list where applicable.
4420 * gdb.base/call-ar-st.exp: Ditto.
4421 * gdb.base/funcargs.exp: Ditto.
4422 * gdb.base/gcore.exp: Ditto.
4423 * gdb.base/page.exp: Ditto.
4424 * gdb.base/sigaltstack.exp: Ditto.
4425 * gdb.base/siginfo.exp: Ditto.
4426 * gdb.base/sigstep.exp: Ditto.
4427 * gdb.base/trace-commands.exp: Ditto.
4428
4429 2010-11-29 Doug Evans <dje@google.com>
4430
4431 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4432 printer-name;subprinter-name.
4433
4434 2010-11-29 Tom Tromey <tromey@redhat.com>
4435
4436 * gdb.dwarf2/implptr.exp: New file.
4437 * gdb.dwarf2/implptr.c: New file.
4438 * gdb.dwarf2/implptr.S: New file.
4439
4440 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4441
4442 PR python/12199
4443
4444 * gdb.python/py-breakpoint.exp: Test the delete method.
4445
4446 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4447
4448 Fix step_resume_breakpoint unsaved during an infcall.
4449 * gdb.base/step-resume-infcall.exp: New file.
4450 * gdb.base/step-resume-infcall.c: New file.
4451
4452 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4453
4454 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4455
4456 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4457
4458 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4459 on ppc64's symbols; "finish" and "return" commands must accept to
4460 show the caller line again as well as the line after.
4461 * gdb.asm/powerpc64.inc: New file.
4462
4463 2010-11-23 Doug Evans <dje@google.com>
4464
4465 * lib/gdb.exp (gdb_test_sequence): New function.
4466 (gdb_expect_list): Add verbose -log call for each pattern.
4467 * gdb.base/signals.exp (test_handle_all_print): Call it.
4468 Reduce timeout increment from 6 minutes to 1 minute.
4469 * gdb.server/ext-run.exp: Call it.
4470
4471 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4472
4473 PR python/12212
4474
4475 * gdb.python/python.exp: Check that selected_thread raises an
4476 error when no inferior is loaded.
4477
4478 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4479
4480 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4481 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4482
4483 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4484
4485 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4486 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4487
4488 2010-11-18 Doug Evans <dje@google.com>
4489
4490 * gdb.server/ext-run.exp: Fix intermittent failures.
4491
4492 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4493
4494 * gdb.stabs/gdb11479.exp: Use runto_main.
4495
4496 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4497
4498 * gdb.base/break-entry.exp: Skip if using a stub.
4499
4500 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4501
4502 * gdb.python/py-inferior.exp: Pack values in target endianness.
4503
4504 2010-11-12 Tom Tromey <tromey@redhat.com>
4505
4506 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4507 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4508 MemoryError.
4509 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4510 type.
4511 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4512 MemoryError.
4513 (test_subscript_regression): Update exception type.
4514
4515 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4516
4517 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4518 breakpoint tests.
4519
4520 2010-11-09 Pedro Alves <pedro@codesourcery.com>
4521
4522 * gdb.base/watchpoint.exp: Test "watch -location" with an
4523 innacessible location.
4524
4525 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
4526 Luis Machado <luisgpm@br.ibm.com>
4527
4528 * gdb.base/maint.exp: Expect "." prefix.
4529 * gdb.base/nodebug.exp: Expect "." Likewise.
4530 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4531 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4532 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4533 POWER server processors.
4534
4535 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
4536 Luis Machado <luisgpm@br.ibm.com>
4537
4538 * gdb.base/break-entry.exp: convert entry point for
4539 ppc64 and expect leading `.' on ppc64's symbols
4540
4541 2010-11-05 Doug Evans <dje@google.com>
4542
4543 * gdb.base/help.exp: Update expected output.
4544 * gdb.python/py-param.exp: Delete, contents moved to ...
4545 * gdb.python/py-parameter.exp: ... here. New file.
4546 Add test for gdb.parameter ("directories").
4547
4548 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
4549
4550 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4551 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4552 * configure: Regenerate.
4553 * gdb.opencl/Makefile.in: New File.
4554 * gdb.opencl/datatypes.exp: Likewise.
4555 * gdb.opencl/datatypes.cl: Likewise.
4556 * gdb.opencl/operators.exp: Likewise.
4557 * gdb.opencl/operators.cl: Likewise.
4558 * gdb.opencl/vec_comps.exp: Likewise.
4559 * gdb.opencl/vec_comps.cl: Likewise.
4560 * gdb.opencl/convs_casts.exp: Likewise.
4561 * gdb.opencl/convs_casts.cl: Likewise.
4562 * lib/opencl.exp: Likewise.
4563 * lib/opencl_hostapp.c: Likewise.
4564 * lib/opencl_kernel.cl: Likewise.
4565 * lib/cl_util.c: Likewise.
4566 * lib/cl_util.c: Likewise.
4567 * gdb.base/default.exp (set language): Add "opencl" to the list of
4568 languages.
4569
4570 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4571
4572 * gdb.cp/overload.exp: Added test for inheritance overload.
4573 * gdb.cp/overload.cc: Ditto.
4574 * gdb.cp/oranking.exp: Removed releveant kfails.
4575
4576 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4577 Joel Brobecker <brobecker@adacore.com>
4578
4579 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4580 check test_compiler_info.
4581
4582 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4583
4584 * gdb.base/gnu_vector.exp: Adjust expect messages.
4585
4586 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4587
4588 * gdb.base/gnu_vector.exp: Add unary operator tests.
4589
4590 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4591
4592 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4593
4594 2010-11-02 Doug Evans <dje@google.com>
4595
4596 * gdb.python/py-pp-maint.c: New file.
4597 * gdb.python/py-pp-maint.exp: New file.
4598 * gdb.python/py-pp-maint.py: New file.
4599
4600 2010-11-02 Tom Tromey <tromey@redhat.com>
4601
4602 * gdb.base/default.exp: Remove "scheme" from language list.
4603
4604 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4605
4606 Revert:
4607 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4608 * gdb.threads/sigstep-threads.exp: New file.
4609 * gdb.threads/sigstep-threads.c: New file.
4610
4611 2010-10-20 Michael Snyder <msnyder@vmware.com>
4612
4613 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4614
4615 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4616
4617 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4618 Skip test completely if gdb,no_hardware_watchpoints.
4619
4620 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4621
4622 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4623 strict, but do not check for any particular function name within libc.
4624
4625 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4626
4627 * gdb.cp/smartp.exp: New test.
4628 * gdb.cp/smartp.cc : New test.
4629
4630 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4631
4632 * gdb.cp/converts.exp: Test pointer to bool conversion.
4633 Test pointer to long conversion.
4634 * gdb.cp/oranking.exp: Removed relevant kfail.
4635
4636 2010-10-18 Tom Tromey <tromey@redhat.com>
4637
4638 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4639 argument to lazy_string.
4640 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4641 (pp_ls.to_string): Use it.
4642 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4643 Add "estring2" local.
4644
4645 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4646
4647 Fix s390x compatibility.
4648 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4649 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4650
4651 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4652
4653 * gdb.threads/sigstep-threads.exp: New file.
4654 * gdb.threads/sigstep-threads.c: New file.
4655
4656 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4657
4658 * gdb.base/pie-execl.exp: New file.
4659 * gdb.base/pie-execl.c: New file.
4660
4661 2010-10-13 Doug Evans <dje@google.com>
4662 Jan Kratochvil <jan.kratochvil@redhat.com>
4663
4664 PR exp/12117
4665 * gdb.cp/ptype-cv-cp.cc: New file.
4666 * gdb.cp/ptype-cv-cp.exp: New file.
4667
4668 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4669
4670 * gdb.cp/converts.cc: New test program.
4671 * gdb.cp/converts.exp: New test.
4672 * gdb.cp/overload.exp: Added test for void* vs int*.
4673 * gdb.cp/overload.exp: Ditto.
4674 * gdb.cp/oranking.exp: Removed related kfail.
4675
4676 2010-10-13 Doug Evans <dje@google.com>
4677
4678 * lib/gdb-python.exp (gdb_check_python_config): New function.
4679 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4680 * gdb.python/lib-types.cc: New file.
4681 * gdb.python/lib-types.exp: New file.
4682
4683 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4684
4685 * gdb.python/py-error.exp: New file.
4686 * gdb.python/py-error.py: New file.
4687
4688 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4689
4690 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4691 gdb_test_multiple.
4692
4693 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4694
4695 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4696 * gdb.base/prelink.exp: Likewise.
4697 * gdb.base/solib-nodir.exp: Likewise.
4698 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4699 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4700 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4701
4702 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4703
4704 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4705 for the "info files" test to avoid timeouts on slow machines.
4706
4707 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4708
4709 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4710 (main): Make openlib dummy call.
4711
4712 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4713
4714 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4715 * break-interp.exp (reach): Move the core body ...
4716 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4717 (test_ld): Provide always real argument, even to the linker. Replace
4718 dl_main by _dl_debug_state.
4719
4720 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 Fix results of prelinked PIEs on ppc*.
4723 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4724 Accept also DISPLACEMENT "PRESENT".
4725 (main): Replace "ZERO" displacements by "PRESENT".
4726
4727 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4728
4729 * gdb.cp/oranking.exp: New test.
4730 * gdb.cp/oranking.cc: New test program.
4731
4732 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
4733
4734 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4735 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4736
4737 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4738
4739 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4740 lush, lynx) New constant.
4741 * gdb.base/constvars.exp: Test const array types.
4742 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4743
4744 2010-10-06 Doug Evans <dje@google.com>
4745
4746 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4747 of syscall staging area.
4748
4749 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4750
4751 * gdb.base/gnu_vector.c: Add variable c4.
4752 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4753 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4754
4755 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4756
4757 * gdb.arch/altivec-abi.exp: Fix a typo.
4758
4759 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4760
4761 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4762 to match a thread ID.
4763
4764 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4765
4766 Fix s390x testcase compatibility.
4767 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4768
4769 2010-10-01 Doug Evans <dje@google.com>
4770
4771 * lib/gdb-python.exp: New file.
4772 * gdb.python/py-block.exp: Use it.
4773 * gdb.python/py-breakpoint.exp: Ditto.
4774 * gdb.python/py-frame.exp: Ditto.
4775 * gdb.python/py-inferior.exp: Ditto.
4776 * gdb.python/py-param.exp: Ditto.
4777 * gdb.python/py-prettyprint.exp: Ditto.
4778 * gdb.python/py-shared.exp: Ditto.
4779 * gdb.python/py-symbol.exp: Ditto.
4780 * gdb.python/py-symtab.exp: Ditto.
4781 * gdb.python/py-type.exp: Ditto.
4782 * gdb.python/py-value.exp: Ditto.
4783 * gdb.python/python.exp: Ditto.
4784
4785 2010-09-30 Tom Tromey <tromey@redhat.com>
4786
4787 * gdb.base/anon.exp: New file.
4788 * gdb.base/anon.c: New file.
4789
4790 2010-09-30 Tom Tromey <tromey@redhat.com>
4791
4792 * gdb.base/completion.exp: Test completion through anonymous
4793 union.
4794 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4795
4796 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4797
4798 Fix printing parameters of inlined functions.
4799 * gdb.dwarf2/dw2-inline-param.exp: New file.
4800 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4801 * gdb.dwarf2/dw2-inline-param.S: New file.
4802
4803 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4804
4805 PR corefiles/12071.
4806 * gdb.base/corefile.exp (quit with a process, no question: load core)
4807 (quit with a core file): New tests.
4808
4809 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4810
4811 Fix GDB crash on inferior calls with self-referencing classes.
4812 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4813 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4814 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4815
4816 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 Fix lost siginfo_t for inferior calls.
4819 * gdb.base/siginfo-infcall.exp: New file.
4820 * gdb.base/siginfo-infcall.c: New file.
4821
4822 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4823
4824 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4825
4826 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4827
4828 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4829 New test.
4830 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4831
4832 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4833
4834 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4835 type of our const type.
4836
4837 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4838
4839 * gdb.cp/pr12028.cc: New.
4840 * gdb.cp/pr12028.exp: New.
4841
4842 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4843
4844 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4845
4846 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
4847 Jan Kratochvil <jan.kratochvil@redhat.com>
4848
4849 PR mi/11407
4850 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4851 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4852 * gdb.mi/dw2-ref-missing-frame.S New File.
4853 * gdb.mi/dw2-ref-missing-frame.exp New File.
4854
4855 2010-09-14 Tom Tromey <tromey@redhat.com>
4856
4857 PR symtab/8399:
4858 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4859
4860 2010-09-14 Tom Tromey <tromey@redhat.com>
4861
4862 PR exp/11803:
4863 * gdb.threads/tls.exp: Use C++.
4864 (check_thread_local): Use K::another_thread_local.
4865 * gdb.threads/tls.c (class K): New.
4866 (another_thread_local): Now a member of K.
4867 (spin): Update. No longer K&R C.
4868
4869 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4870
4871 * gdb.cp/koenig.cc: created class for testing member lookup.
4872 * gdb.cp/koenig.exp: Added test for member lookup.
4873
4874 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4875
4876 Fix false FAILs on sourcetree topdir directory containing "kill".
4877 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4878 source line matching regexp.
4879
4880 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4881
4882 * gdb.python/python.exp (set height 0, collect help from uiout)
4883 (verify help to uiout): New tests.
4884
4885 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4886
4887 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4888 is_lp64_target to check 64bit target.
4889
4890 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4893 (test_ld) <powerpc64-*>: New.
4894
4895 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4896
4897 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4898
4899 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4900
4901 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4902 (FunctionArg::method): New function.
4903 (empty, arg): New variables.
4904 (main): Call arg.method.
4905 * gdb.cp/templates.exp (test_template_args): New function.
4906 (do_tests): Call it.
4907
4908 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4909
4910 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4911 of "next" to proceed over pthread_exit call.
4912
4913 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4914
4915 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4916 "maint print statistics" output to prevent expect timeouts.
4917
4918 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4919
4920 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4921 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4922 (test_float_rejected): ... here.
4923 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4924 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4925 (test_float_rejected): ... here.
4926 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4927 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4928 (test_float_rejected): ... here.
4929 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4930 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4931 (test_float_rejected): ... here.
4932
4933 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4934
4935 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4936 before disabling hardware watchpoints.
4937 (test_inaccessible_watchpoint): Check that hardware watchpoints
4938 are used. Test for watchpoints on a constant address.
4939
4940 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 * gdb.base/ui-redirect.exp: New file.
4943
4944 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4945 Joel Brobecker <brobecker@adacore.com>
4946
4947 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4948
4949 2010-08-31 Doug Evans <dje@google.com>
4950
4951 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4952
4953 2010-08-30 Tom Tromey <tromey@redhat.com>
4954
4955 PR python/11792:
4956 * gdb.python/py-value.exp (test_subscript_regression): Add
4957 dynamic_type test.
4958
4959 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4960
4961 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4962 instead of running to main. Do not test the main function.
4963 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4964 Add new main.
4965
4966 2010-08-26 Pedro Alves <pedro@codesourcery.com>
4967
4968 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4969 one test.
4970
4971 2010-08-24 Doug Evans <dje@google.com>
4972
4973 PR symtab/11942
4974 * gdb.dwarf2/dw4-sig-types.cc: New file.
4975 * gdb.dwarf2/dw4-sig-types.h: New file.
4976 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4977 * gdb.dwarf2/dw4-sig-types.exp: New file.
4978
4979 2010-08-23 Tom Tromey <tromey@redhat.com>
4980
4981 PR python/11145:
4982 * gdb.python/py-value.c (Base, Derived): New types.
4983 (base): New global.
4984 * gdb.python/py-value.exp (test_subscript_regression): Add
4985 dynamic_cast test.
4986
4987 2010-08-23 Tom Tromey <tromey@redhat.com>
4988
4989 PR python/10676:
4990 * gdb.python/py-type.exp (test_fields): Add tests for type
4991 equality.
4992
4993 2010-08-23 Tom Tromey <tromey@redhat.com>
4994
4995 PR python/11915:
4996 * gdb.python/py-type.exp (test_fields): Add tests for array.
4997
4998 2010-08-23 Keith Seitz <keiths@redhat.com>
4999
5000 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
5001 have any children. Create a new abbrev for it.
5002 Add missing terminal sequence to .debug_abbrev.
5003
5004 2010-08-20 Keith Seitz <keiths@redhat.com>
5005
5006 PR symtab/11465:
5007 * gdb.dwarf2/pr11465.exp: New test.
5008 * gdb.dwarf2/pr11465.S: New file.
5009 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
5010 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
5011
5012 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
5013
5014 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
5015 registers. Update data sets with the new v2_double element in the
5016 VSX register union. Add vector_register3_vr data set for the AltiVec
5017 registers. Use gdb_test_no_output instead of send_gdb.
5018
5019 2010-08-19 Pedro Alves <pedro@codesourcery.com>
5020
5021 * gdb.python/py-shared.exp: New file, factored out from
5022 python.exp.
5023 * gdb.python/py-shared.c: New file.
5024 * gdb.python/py-shared-sl.c: New file.
5025 * gdb.python/python-1.c: New file.
5026 * gdb.python/python-sl.c: Delete.
5027 * gdb.python/python.c: Mention python-1.c.
5028 * gdb.python/python.exp: Move shared library tests to
5029 py-shared.exp.
5030 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
5031 (MISCELLANEOUS): New.
5032 (clean mostlyclean): Also remove $MISCELLANEOUS.
5033
5034 2010-08-19 Doug Evans <dje@google.com>
5035
5036 PR exp/11926
5037 * gdb.base/printcmds.exp (test_float_accepted): New function.
5038 Move existing float tests there. Add tests for floats with suffixes.
5039 (test_float_rejected): New function.
5040 * gdb.java/jv-print.exp (test_float_accepted): New function.
5041 (test_float_rejected): New function.
5042 * gdb.objc/print.exp: New file.
5043 * gdb.pascal/print.exp: New file.
5044 * lib/objc.exp: New file.
5045
5046 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
5047
5048 * gdb.base/default.exp (info set): Avoid full buffer error and force
5049 reading up to final gdb prompt.
5050 (show): Likewise.
5051
5052 2010-08-18 Tom Tromey <tromey@redhat.com>
5053
5054 PR symtab/11919:
5055 * gdb.base/completion.exp: Add test.
5056
5057 2010-08-18 Doug Evans <dje@google.com>
5058
5059 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
5060 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
5061 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
5062 Simplify, early exit if runto_main fails.
5063 * gdb.fortran/exprs.exp: load_lib fortran.exp.
5064 (set_lang_fortran): Moved to lib/fortran.exp.
5065 * gdb.fortran/types.exp: load_lib fortran.exp.
5066 (set_lang_fortran): Moved to lib/fortran.exp.
5067 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
5068 * gdb.java/jprint.exp (set_lang_java): Ditto.
5069 * gdb.java/jv-exp.exp: load_lib java.exp.
5070 If set_lang_java fails, issue a warning instead of failure to be
5071 consistent with other set_lang_foo uses.
5072 (set_lang_java): Moved to lib/java.exp.
5073 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
5074 If set_lang_java fails, issue a warning instead of failure to be
5075 consistent with other set_lang_foo uses.
5076 * gdb.pascal/types.exp: load_lib pascal.exp.
5077 (set_lang_pascal): Moved to lib/pascal.exp.
5078 * lib/fortran.exp: New file.
5079 * lib/java.exp (set_lang_java): New function.
5080 * lib/pascal.exp (set_lang_pascal): New function.
5081
5082 2010-08-18 Yao Qi <yao@codesourcery.com
5083
5084 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
5085 func_nofb_start and func_loopfb_start, so that address of functions
5086 is equal to these labels on Thumb.
5087
5088 2010-08-18 Yao Qi <yao@codesourcery.com>
5089
5090 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
5091 to reflect latest c source file.
5092
5093 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5094
5095 * gdb.cp/infcall-dlopen.exp: New file.
5096 * gdb.cp/infcall-dlopen.cc: New file.
5097 * gdb.cp/infcall-dlopen-lib.cc: New file.
5098
5099 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5100 Pedro Alves <pedro@codesourcery.com>
5101
5102 PR breakpoints/11371
5103
5104 * gdb.base/watch-cond-infcall.exp: New file.
5105 * gdb.base/watch-cond-infcall.c: New file.
5106
5107 2010-08-16 Tom Tromey <tromey@redhat.com>
5108
5109 * gdb.base/help.exp: Update.
5110 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
5111 watchpoint.
5112 (test_watch_location): New proc.
5113 (test_watchpoint_in_big_blob): Delete watchpoint.
5114 * gdb.base/watchpoint.c (func5): New function.
5115 (main): Call it.
5116
5117 2010-08-16 Doug Evans <dje@google.com>
5118
5119 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
5120
5121 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5122
5123 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
5124 tests.
5125
5126 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
5127
5128 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
5129 * gdb.base/gnu_vector.c: New File.
5130 * gdb.base/gnu_vector.exp: Likewise.
5131
5132 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
5133
5134 * gdb.python/python.c: New File.
5135 * gdb.python/python-sl.c: New File.
5136 * gdb.python/python.exp: Test solib_address and decode_line
5137 * functions.
5138
5139 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.python/python.exp (show height, set height 10)
5142 (verify pagination beforehand, verify pagination beforehand: q)
5143 (gdb.execute does not page, verify pagination afterwards)
5144 (verify pagination afterwards: q): New.
5145
5146 2010-08-02 Doug Evans <dje@google.com>
5147
5148 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
5149 because of an older gcc, change test2
5150 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
5151 to unsupported.
5152
5153 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
5154
5155 * gdb.base/break-always.exp: Do not expect full paths to file
5156 names.
5157 * gdb.base/commands.exp: Likewise.
5158
5159 2010-07-30 Doug Evans <dje@google.com>
5160
5161 * gdb.cp/temargs.exp: For new tests that require newer gccs,
5162 xfail them when run with older gccs.
5163
5164 * lib/gdb.exp (build_executable): Forward "c++" option to
5165 get_compiler_info.
5166
5167 * gdb.python/py-type.exp (test_template): Mark as xfail tests
5168 "python print ttype.template_argument(1)" and
5169 "python print isinstance(ttype.template_argument(1), gdb.Value)"
5170 if using gcc 4.4 or earlier.
5171
5172 * gdb.base/valgrind-db-attach.exp: Use unique test name for
5173 attach-to-debugger handling.
5174
5175 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
5178 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
5179 (main): Use copyreloc.
5180 * gdb.base/prelink.exp (split debug of executable)
5181 (.dynbss vs. .bss address shift): New tests.
5182
5183 2010-07-29 Pedro Alves <pedro@codesourcery.com>
5184
5185 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
5186 in gdb_test_multiple.
5187
5188 2010-07-29 Pedro Alves <pedro@codesourcery.com>
5189
5190 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
5191 environment.
5192
5193 2010-07-28 Tom Tromey <tromey@redhat.com>
5194
5195 PR python/11060:
5196 * gdb.python/py-type.c (Temargs): New template.
5197 (temvar): New variable.
5198 * gdb.python/py-type.exp (test_template): New proc.
5199
5200 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5201
5202 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
5203 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
5204
5205 2010-07-28 Tom Tromey <tromey@redhat.com>
5206
5207 PR c++/9946:
5208 * gdb.cp/temargs.exp: New file.
5209 * gdb.cp/temargs.cc: New file.
5210
5211 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5212
5213 * gdb.base/help.exp (help disassemble): Update the content.
5214
5215 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5216
5217 * gdb.threads/ia64-sigill.exp: New file.
5218 * gdb.threads/ia64-sigill.c: New file.
5219
5220 2010-07-27 Tom Tromey <tromey@redhat.com>
5221
5222 * gdb.opt/inline-cmds.c (ATTR): New define.
5223 (func1): Use it.
5224 (func2): Likewise.
5225 (func3): Likewise.
5226 (outer_inline1): Likewise.
5227 (outer_inline2): Likewise.
5228 * gdb.opt/inline-bt.c (ATTR): New define.
5229 (func1): Use it.
5230 (func2): Likewise.
5231 * gdb.opt/inline-locals.c (ATTR): New define.
5232 (func1): Use it.
5233 (func2): Likewise.
5234
5235 2010-07-27 Tom Tromey <tromey@redhat.com>
5236
5237 * gdb.stabs/gdb11479.c (hack): New function.
5238 (test): Use it.
5239 (test2): Use it.
5240 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5241 (int32_search_buf, int64_search_buf): No longer static.
5242 (x): Remove.
5243 * gdb.base/relocate.c (hack): New function.
5244
5245 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5246
5247 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5248 * gdb.python/py-value.c (func1): New function.
5249 (func2): Likewise.
5250
5251 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
5252
5253 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5254 as not to clash with .data section.
5255
5256 2010-07-26 Jerome Guitton <guitton@adacore.com>
5257
5258 * gdb.base/code_elim.exp: New file.
5259 * gdb.base/code_elim1.c: New file.
5260 * gdb.base/code_elim2.c: New file.
5261
5262 2010-07-21 Pedro Alves <pedro@codesourcery.com>
5263
5264 PR symtab/11827
5265
5266 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5267 (some_volatile_enum): New variable.
5268 * gdb.base/printcmds.exp (test_print_enums): New.
5269 <top level>: Call it.
5270
5271 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5272
5273 * gdb.cp/fpointer.cc: New test.
5274 * gdb.cp/fpointer.exp: New test.
5275
5276 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 * gdb.base/solib-nodir.exp: New file.
5279 * lib/gdb.exp (runto): New case for a GDB internal error.
5280
5281 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5282 Ulrich Weigand <uweigand@de.ibm.com>
5283 Tom Tromey <tromey@redhat.com>
5284
5285 * gdb.base/charset-malloc.c: New file.
5286 * gdb.base/charset.c (malloc_stub): New prototype.
5287 (main): Call it instead of malloc itself.
5288 * gdb.base/charset.exp: Use only prepare_for_testing.
5289 (binfile): Remove the variable.
5290
5291 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 Make core files the process_stratum.
5294 * gdb.base/corefile.exp (run: load core again)
5295 (run: sanity check we see the core file, run: with core)
5296 (run: core file is cleared, attach: load core again)
5297 (attach: sanity check we see the core file, attach: with core)
5298 (attach: core file is cleared): New tests.
5299 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5300
5301 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
5302
5303 * gdb.arch/altivec-abi.exp: New tests.
5304
5305 2010-07-13 Tom Tromey <tromey@redhat.com>
5306
5307 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5308 (main): Use it.
5309 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5310
5311 2010-07-13 Tom Tromey <tromey@redhat.com>
5312
5313 * gdb.base/label.exp: New file.
5314 * gdb.base/label.c: New file.
5315
5316 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5317 H.J. Lu <hongjiu.lu@intel.com>
5318
5319 * lib/gdb.exp (is_ilp32_target): New.
5320 (is_lp64_target): Likewise.
5321
5322 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5323 target.
5324 * gdb.arch/amd64-disp-step.exp: Likewise.
5325 * gdb.arch/amd64-dword.exp: Likewise.
5326 * gdb.arch/amd64-i386-address.exp: Likewise.
5327 * gdb.arch/amd64-word.exp: Likewise.
5328
5329 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5330 target.
5331 * gdb.arch/i386-bp_permanent.exp: Likewise.
5332 * gdb.arch/i386-byte.exp: Likewise.
5333 * gdb.arch/i386-disp-step.exp: Likewise.
5334 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5335 * gdb.arch/i386-prologue.exp: Likewise.
5336 * gdb.arch/i386-size-overlap.exp: Likewise.
5337 * gdb.arch/i386-size.exp: Likewise.
5338 * gdb.arch/i386-sse.exp: Likewise.
5339 * gdb.arch/i386-unwind.exp: Likewise.
5340 * gdb.arch/i386-word.exp: Likewise.
5341
5342 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5343 test only when building 64-bit executables. Do not hard-code
5344 -m64 option.
5345
5346 2010-07-07 Doug Evans <dje@google.com>
5347
5348 * lib/gdb.exp (gdb_test_list_exact): New function.
5349 * gdb.base/default.exp (show convenience): Call it, add tests for
5350 $_sdata = void, $_thread = 0.
5351
5352 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5353 Joel Brobecker <brobecker@adacore.com>
5354
5355 Fix re-run of PIE executable, PR shlibs/11776.
5356 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5357 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5358 and re-"run" of the inferior.
5359
5360 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5361 Joel Brobecker <brobecker@adacore.com>
5362
5363 Cope with missing /usr/sbin/prelink.
5364 * lib/prelink-support.exp (prelink_no):
5365 <result == 1 && $output is "no such file or directory">: New.
5366 (prelink_yes): Likewise. Return on failed prelink_no.
5367
5368 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5369 Joel Brobecker <brobecker@adacore.com>
5370
5371 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5372 build_executable by build_executable_own_libs. Replace "prelink -R"
5373 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5374 change.
5375 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5376 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5377 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5378 Replace build_executable by build_executable_own_libs's function
5379 build_executable_own_libs.
5380 (prelinkNO): Create new stub to call prelink_no.
5381 (prelinkYES): Create new stub to call prelink_yes.
5382 (test_attach): Rename calls of copy to file_copy.
5383 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5384 (copy): Move to ...
5385 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5386 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5387 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5388 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5389 special flags by gdb_compile_shlib. Replace second gdb_compile by
5390 build_executable_own_libs. Replace "prelink -R" execution by a call of
5391 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5392 a second call of prelink_yes. Replace restart commands by
5393 clean_restart.
5394 (prelink): Rename to ...
5395 (seen displacement message): ... this test. Extend its expectation
5396 strictness.
5397
5398 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5399
5400 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5401 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5402 displacement message exactly once.
5403
5404 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5405 Joel Brobecker <brobecker@adacore.com>
5406
5407 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5408 its restore after the <$relink_args != ""> loop. new comment.
5409
5410 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5414 code for it. New variable relink_args.
5415 (prelinkYES): Call prelinkNO.
5416 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5417 in such case. Move the core code to ...
5418 (test_attach_gdb): ... a new function. Send GDB command "file".
5419 Extend expected "Attaching to " string.
5420
5421 2010-07-02 Tom Tromey <tromey@redhat.com>
5422
5423 * gdb.base/bitops.exp: Remove extraneous "pass".
5424
5425 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
5426
5427 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5428
5429 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5430
5431 * gdb.base/help.exp: Adjust expected output.
5432
5433 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5434
5435 * gdb.base/help.exp: Adjust expected output.
5436
5437 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5438
5439 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5440 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5441 c++/11702.
5442
5443 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5444 Doug Evans <dje@google.com>
5445
5446 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5447 add .dynamic entry'.
5448
5449 2010-06-29 Doug Evans <dje@google.com>
5450
5451 Test PR c++/11702.
5452 * gdb.cp/m-static.exp: Add testcase.
5453 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5454
5455 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
5456 Tom Tromey <tromey@redhat.com>
5457 Thiago Jung Bauermann <bauerman@br.ibm.com>
5458
5459 * gdb.python/py-inferior.c: New File.
5460 * gdb.python/py-infthread.c: New File.
5461 * gdb.python/py-inferior.exp: New File.
5462 * gdb.python/py-infthread.exp: New File.
5463
5464 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5465
5466 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5467 (ptype ::C::OtherFileClass typedefs): New.
5468 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5469 (C::OtherFileClass::cOtherFileClassVar2): New.
5470 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5471 cOtherFileClassVar2.
5472 (C::cOtherFileType2, C::cOtherFileVar2): New.
5473 (C::cOtherFileVar_use): use also cOtherFileVar2.
5474 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5475
5476 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5479 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5480 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5481 (print ::C::cOtherFileVar)
5482 (whatis C::OtherFileClass::cOtherFileClassType)
5483 (whatis ::C::OtherFileClass::cOtherFileClassType)
5484 (print C::OtherFileClass::cOtherFileClassVar)
5485 (print ::cOtherFileClassVar)
5486 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5487 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5488 trailing content.
5489 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5490 (C::OtherFileClass::cOtherFileClassVar)
5491 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5492 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5493
5494 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5495
5496 Test PR c++/11703 and PR gdb/1448.
5497 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5498 gdb/1448.
5499
5500 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5501
5502 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5503 (main) <rtti_data>: New.
5504 * gdb.cp/virtbase.exp (print rtti_data): New.
5505
5506 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5507 Joel Brobecker <brobecker@adacore.com>
5508
5509 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5510
5511 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5512
5513 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5514
5515 2010-06-28 Doug Evans <dje@google.com>
5516
5517 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5518
5519 2010-06-27 Doug Evans <dje@google.com>
5520
5521 * gdb.cp/m-static.exp: Update expected test output.
5522
5523 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5524
5525 * gdb.gdb/selftest.exp: Adjust expected message for
5526 capturing start-up runtime.
5527
5528 2010-06-25 Tom Tromey <tromey@redhat.com>
5529
5530 PR python/10808:
5531 * gdb.python/python.exp: Add new tests.
5532
5533 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5534
5535 * gdb.cp/operator.cc: Created an import loop.
5536 * gdb.cp/operator.exp: Added testcase for import loop.
5537
5538 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5539
5540 Test PR python/11407.
5541 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5542 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5543 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5544 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5545 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5546 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5547 binfile. Call gdb_compile with clean_restart twice.
5548 (func_nofb print, func_nofb backtrace, func_loopfb print)
5549 (func_loopfb backtrace): New.
5550
5551 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5552
5553 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5554 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5555 by a hand made one.
5556 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5557 i?86 requirement. Remove variables srcfile and binfile. New variable
5558 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5559
5560 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5561
5562 * gdb.cell/dwarfaddr.exp: New file.
5563 * gdb.cell/dwarfaddr.S: New file.
5564
5565 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 Test PR 9436.
5568 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5569
5570 2010-06-24 Hui Zhu <teawater@gmail.com>
5571
5572 * gdb.base/eval.exp: New file.
5573
5574 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5575
5576 * gdb.cell/fork.exp: New file.
5577 * gdb.cell/fork.c: Likewise.
5578 * gdb.cell/fork-spu.c: Likewise.
5579
5580 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5581
5582 * lib/gdb.exp (banned_variables_traced): New global variable.
5583 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5584 (gdb_init): Use `trace add variable' instead of obsolete
5585 `trace variable'.
5586
5587 2010-06-21 Doug Evans <dje@google.com>
5588
5589 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5590
5591 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5592
5593 * gdb.arch/spu-ls.exp: New file.
5594 * gdb.arch/spu-ls.c: Likewise.
5595
5596 2010-06-18 Stan Shebs <stan@codesourcery.com>
5597
5598 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5599
5600 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5601
5602 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5603 * gdb.base/watch-cond.exp: Likewise.
5604 * gdb.python/py-breakpoint.exp: Likewise.
5605
5606 2010-06-18 Pedro Alves <pedro@codesourcery.com>
5607
5608 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5609 clean_restart, make sure every test has a distinct message, and
5610 that messages don't include the executable' full path.
5611
5612 2010-06-17 Doug Evans <dje@google.com>
5613
5614 * gdb.arch/i386-size.exp: Updated expected output for
5615 DISASSEMBLY_OMIT_FNAME.
5616
5617 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5618 Sergio Durigan Junior <sergiodj@redhat.com>
5619
5620 * gdb.base/watch-notconst.c: New file.
5621 * gdb.base/watch-notconst.S: New file.
5622 * gdb.base/watch-notconst2.c: New file.
5623 * gdb.base/watch-notconst2.S: New file.
5624 * gdb.base/watch-notconst.exp: New file.
5625 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5626 (func4): Add operations on `global_ptr_ptr'.
5627 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5628 routine to test watchpoints created with a constant expression.
5629 (test_inaccessible_watchpoint): Include tests for watchpoints
5630 created with a constant expression.
5631
5632 2010-06-14 Kevin Buettner <kevinb@redhat.com>
5633
5634 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5635 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5636 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5637 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5638 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5639 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5640 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5641 of `_start'.
5642
5643 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5644
5645 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5646 not supported on the target.
5647 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5648 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5649 * gdb.mi/mi-nsintrall.exp: Likewise.
5650 * gdb.mi/mi-nsmoribund.exp: Likewise.
5651 * gdb.mi/mi-nsthrexec.exp: Likewise.
5652
5653 2010-06-11 Stan Shebs <stan@codesourcery.com>
5654
5655 * gdb.base/permissions.exp: New file.
5656
5657 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5658
5659 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5660 does not support ELF executable class.
5661
5662 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5663
5664 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5665
5666 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5667
5668 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5669 (runto): Catch "The target does not support running in non-stop mode.".
5670
5671 2010-06-11 Michael Snyder <msnyder@vmware.com>
5672
5673 * gdb.base/setshow.exp (set language asm): Don't use
5674 gdb_test_no_output, fails on some targets.
5675
5676 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5677
5678 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5679 * gdb.cp/pr9167.exp: Likewise.
5680
5681 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5682
5683 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5684
5685 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5686
5687 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5688
5689 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5690
5691 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5692
5693 2010-06-11 Tom Tromey <tromey@redhat.com>
5694
5695 PR gdb/9977, PR exp/11636::
5696 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5697 (pieces_test_f6): Update expected output.
5698
5699 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5700
5701 * gdb.base/moribund-step.exp: New.
5702
5703 2010-06-08 Michael Snyder <msnyder@vmware.com>
5704
5705 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
5706 * gdb.ada/boolean_expr.exp:
5707 * gdb.ada/frame_args.exp: Ditto.
5708 * gdb.ada/lang_switch.exp: Ditto.
5709 * gdb.ada/ptype_arith_binop.exp: Ditto.
5710 * gdb.ada/ref_param.exp: Ditto.
5711 * gdb.ada/type_coercion.exp:Ditto.
5712
5713 * gdb.asm/asm-source.exp: Ditto.
5714
5715 * gdb.base/attach.exp: Ditto.
5716 * gdb.base/bitfields2.exp: Ditto.
5717 * gdb.base/call-signal-resume.exp: Ditto.
5718 * gdb.base/callfuncs.exp: Ditto.
5719 * gdb.base/commands.exp: Ditto.
5720 * gdb.base/dbx.exp: Ditto.
5721 * gdb.base/default.exp: Ditto.
5722 * gdb.base/dump.exp: Ditto.
5723 * gdb.base/exprs.exp: Ditto.
5724 * gdb.base/freebpcmd.exp: Ditto.
5725 * gdb.base/interrupt.exp: Ditto.
5726 * gdb.base/list.exp: Ditto.
5727 * gdb.base/long_long.exp: Ditto.
5728 * gdb.base/maint.exp: Ditto.
5729 * gdb.base/ptype.exp: Ditto.
5730 * gdb.base/return.exp: Ditto.
5731 * gdb.base/setshow.exp: Ditto.
5732 * gdb.base/sigbpt.exp: Ditto.
5733 * gdb.base/sigrepeat.exp: Ditto.
5734
5735 * gdb.cp/classes.exp: Ditto.
5736
5737 * gdb.dwarf2/dw2-restore.exp: Ditto.
5738
5739 * gdb.gdb/selftest.exp: Ditto.
5740
5741 * gdb.multi/base.exp: Ditto.
5742 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5743
5744 * gdb.python/py-block.exp: Ditto.
5745 * gdb.python/py-prettyprint.exp: Ditto.
5746 * gdb.python/py-template.exp: Ditto.
5747
5748 * gdb.server/ext-attach.exp: Ditto.
5749 * gdb.server/ext-run.exp: Ditto.
5750 * gdb.server/server-mon.exp: Ditto.
5751
5752 * gdb.threads/fork-thread-pending.exp: Ditto.
5753 * gdb.threads/hand-call-in-threads.exp: Ditto.
5754 * gdb.threads/interrupted-hand-call.exp: Ditto.
5755 * gdb.threads/linux-dp.exp: Ditto.
5756 * gdb.threads/manythreads.exp: Ditto.
5757 * gdb.threads/print-threads.exp: Ditto.
5758 * gdb.threads/pthreads.exp: Ditto.
5759 * gdb.threads/schedlock.exp: Ditto.
5760 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5761 * gdb.threads/threadapply.exp: Ditto.
5762
5763 2010-06-08 Michael Snyder <msnyder@vmware.com>
5764
5765 * gdb.ada/exec_changed.exp:
5766 Use ".*" instead of "" as wildcard regexp.
5767
5768 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5769 * gdb.base/call-ar-st.exp: Ditto.
5770 * gdb.base/checkpoint.exp: Ditto.
5771 * gdb.base/default.exp: Ditto.
5772 * gdb.base/dump.exp: Ditto.
5773 * gdb.base/ending-run.exp: Ditto.
5774 * gdb.base/fileio.exp: Ditto.
5775 * gdb.base/miscexprs.exp: Ditto.
5776 * gdb.base/pointers.exp: Ditto.
5777 * gdb.base/readline.exp: Ditto.
5778 * gdb.base/reread.exp: Ditto.
5779 * gdb.base/restore.exp: Ditto.
5780 * gdb.base/shlib-call.exp: Ditto.
5781 * gdb.base/valgrind-db-attach.exp: Ditto.
5782 * gdb.base/volatile.exp: Ditto.
5783 * gdb.base/watchpoints.exp: Ditto.
5784
5785 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5786
5787 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5788 * gdb.python/py-value.exp: Ditto.
5789
5790 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5791 * gdb.trace/circ.exp: Ditto.
5792 * gdb.trace/collection.exp: Ditto.
5793 * gdb.trace/packetlen.exp: Ditto.
5794 * gdb.trace/passc-dyn.exp: Ditto.
5795 * gdb.trace/report.exp: Ditto.
5796 * gdb.trace/tfile.exp: Ditto.
5797 * gdb.trace/tfind.exp: Ditto.
5798 * gdb.trace/while-dyn.exp: Ditto.
5799
5800 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5803
5804 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5805
5806 Test PR 10640.
5807 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5808
5809 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5810
5811 * gdb.cp/koenig.exp: Test for ADL operators.
5812 * gdb.cp/koenig.cc: Added ADL operators.
5813 * gdb.cp/operator.exp: New test.
5814 * gdb.cp/operator.cc: New test.
5815
5816 2010-06-04 Michael Snyder <msnyder@vmware.com>
5817
5818 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5819 * gdb.base/pending.exp: Ditto.
5820
5821 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5822
5823 2010-06-04 Doug Evans <dje@google.com>
5824
5825 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5826 disabled printers.
5827 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5828 (enable_lookup_function): New function.
5829
5830 2010-06-04 Tom Tromey <tromey@redhat.com>
5831
5832 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5833 of hash and id.
5834
5835 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5838 newline.
5839 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5840 (empty verbose non-noisy clear, empty verbose noisy clear)
5841 (empty non-verbose noisy clear): Likewise.
5842
5843 2010-06-03 Michael Snyder <msnyder@vmware.com>
5844
5845 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5846 * gdb.base/display.exp: Ditto.
5847 * gdb.base/find.exp: Ditto.
5848 * gdb.base/ifelse.exp: Ditto.
5849 * gdb.base/multi-forks.exp: Ditto.
5850 * gdb.base/recurse.exp: Ditto.
5851 * gdb.base/setshow.exp: Ditto.
5852 * gdb.base/value-double-free.exp: Ditto.
5853 * gdb.base/watch-vfork.exp: Ditto.
5854 * gdb.base/watch_thread_num.exp: Ditto.
5855 * gdb.base/watchpoint-solib.exp: Ditto.
5856 * gdb.base/watchpoint.exp: Ditto.
5857 * gdb.base/watchpoints.exp: Ditto.
5858
5859 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5860 * gdb.cp/overload.exp: Ditto.
5861 * gdb.cp/virtfunc.exp: Ditto.
5862
5863 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5864
5865 * gdb.reverse/watch-precsave.exp:
5866 Replace gdb_test with gdb_test_no_output.
5867
5868 * gdb.threads/attach-into-signal.exp:
5869 Replace gdb_test with gdb_test_no_output.
5870 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5871 * gdb.threads/watchthreads.exp: Ditto.
5872 * gdb.threads/watchthreads2.exp: Ditto.
5873
5874 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5875 * gdb.trace/tfind.exp: Ditto.
5876
5877 2010-06-03 Joel Brobecker <brobecker@adacore.com>
5878
5879 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5880 successful test if message is the empty string.
5881
5882 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5883
5884 * gdb.fortran/module.exp (stopped language detection): New test.
5885
5886 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5887
5888 Support DW_TAG_module as separate namespaces.
5889 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5890 gdb.fortran/library-module-lib.f90: New.
5891 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5892 (print i): Remove.
5893 (continue to breakpoint: i-is-1, print var_i value 1)
5894 (continue to breakpoint: i-is-2, print var_i value 2)
5895 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5896 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5897 (complete `modmany, complete `modmany`, complete `modmany`var)
5898 (show language, setting breakpoint at module): New tests.
5899 * gdb.fortran/module.f90 (module mod): Remove.
5900 (module mod1, module mod2, module modmany, subroutine sub1)
5901 (subroutine sub2, program module): New.
5902
5903 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5904
5905 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5906 (print value of rUC, print value of rI, print value of UI): ... here.
5907 * gdb.cp/anon-union.exp (pass): Rename to ...
5908 (print z 2): ... here.
5909
5910 2010-06-02 Michael Snyder <msnyder@vmware.com>
5911
5912 * gdb.trace/actions.exp: Use gdb_test_no_output.
5913 * gdb.trace/circ.exp: Ditto.
5914 * gdb.trace/packetlen.exp: Ditto.
5915 * gdb.trace/save-trace.exp: Ditto.
5916 * gdb.trace/tracecmd.exp: Ditto.
5917 * gdb.trace/tsv.exp: Ditto.
5918
5919 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5920 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5921 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5922 * gdb.threads/manythreads.exp: Ditto.
5923 * gdb.threads/print-threads.exp: Ditto.
5924 * gdb.threads/pthreads.exp: Ditto.
5925 * gdb.threads/schedlock.exp: Ditto.
5926 * gdb.threads/staticthreads.exp: Ditto.
5927 * gdb.threads/thread-specific.exp: Ditto.
5928 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5929 * gdb.threads/threadapply.exp: Ditto.
5930 * gdb.threads/watchthreads.exp: Ditto.
5931 * gdb.threads/watchthreads2.exp: Ditto.
5932
5933 * gdb.python/py-block.exp: Use gdb_test_no_output.
5934 * gdb.python/py-prettyprint.exp: Ditto.
5935 * gdb.python/py-template.exp: Ditto.
5936 * gdb.python/py-value.exp: Ditto.
5937
5938 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5939 * gdb.reverse/watch-reverse.exp: Ditto.
5940
5941 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5942 * gdb.server/ext-run.exp: Ditto.
5943
5944 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5945 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5946 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5947 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5948 * gdb.dwarf2/dw2-producer.exp: Ditto.
5949 * gdb.dwarf2/mac-fileno.exp: Ditto.
5950
5951 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5952 * gdb.gdb/selftest.exp: Ditto.
5953
5954 * gdb.multi/base.exp: Use gdb_test_no_output.
5955
5956 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5957
5958 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5959
5960 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5961
5962 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5963
5964 * gdb.cp/class2.exp: Use gdb_test_no_output.
5965 * gdb.cp/classes.exp: Ditto.
5966 * gdb.cp/extern-c.exp: Ditto.
5967 * gdb.cp/inherit.exp: Ditto.
5968 * gdb.cp/maint.exp: Ditto.
5969 * gdb.cp/mb-inline.exp: Ditto.
5970 * gdb.cp/mb-templates.exp: Ditto.
5971 * gdb.cp/method2.exp: Ditto.
5972 * gdb.cp/misc.exp: Ditto.
5973 * gdb.cp/ovldbreak.exp: Ditto.
5974 * gdb.cp/punctuator.exp: Ditto.
5975 * gdb.cp/templates.exp: Ditto.
5976 * gdb.cp/virtbase.exp: Ditto.
5977
5978 * gdb.threads/attach-stopped.exp:
5979 Replace uses of send_gdb / gdb_expect.
5980 * gdb.threads/attachstop-mt.exp:
5981 Replace uses of send_gdb / gdb_expect.
5982 * gdb.threads/gcore-thread.exp:
5983 Replace uses of send_gdb / gdb_expect.
5984 * gdb.threads/hand-call-in-threads.exp:
5985 Replace uses of send_gdb / gdb_expect.
5986 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5987 * gdb.threads/print-threads.exp:
5988 Replace uses of send_gdb / gdb_expect.
5989 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5990 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5991 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5992
5993 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5994 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5995 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5996 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5997 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5998 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5999 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
6000 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
6001 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
6002 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
6003 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
6004
6005 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6006
6007 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
6008
6009 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
6010
6011 * gdb.cp/koenig.exp: Added new test case.
6012 * gdb.cp/koenig.cc: Ditto.
6013
6014 2010-06-01 Michael Snyder <msnyder@vmware.com>
6015
6016 * gdb.base/arithmet.exp: Use gdb_test_no_output.
6017 * gdb.base/arrayidx.exp: Ditto.
6018 * gdb.base/attach.exp: Ditto.
6019 * gdb.base/auxv.exp: Ditto.
6020 * gdb.base/bigcre.exp: Ditto.
6021 * gdb.base/break-always.exp: Ditto.
6022 * gdb.base/break-interp.exp: Ditto.
6023 * gdb.base/break.exp: Ditto.
6024 * gdb.base/breakpoint-shadow.exp: Ditto.
6025 * gdb.base/call-ar-st.exp: Ditto.
6026 * gdb.base/call-sc.exp: Ditto.
6027 * gdb.base/call-signal-resume.exp: Ditto.
6028 * gdb.base/callfuncs.exp: Ditto.
6029 * gdb.base/catch-syscall.exp: Ditto.
6030 * gdb.base/charset.exp: Ditto.
6031 * gdb.base/code-expr.exp: Ditto.
6032 * gdb.base/commands.exp: Ditto.
6033 * gdb.base/cond-expr.exp: Ditto.
6034 * gdb.base/condbreak.exp: Ditto.
6035 * gdb.base/cursal.exp: Ditto.
6036 * gdb.base/cvexpr.exp: Ditto.
6037 * gdb.base/default.exp: Ditto.
6038 * gdb.base/del.exp: Ditto.
6039 * gdb.base/detach.exp: Ditto.
6040 * gdb.base/display.exp: Ditto.
6041 * gdb.base/ena-dis-br.exp: Ditto.
6042 * gdb.base/eval-skip.exp: Ditto.
6043 * gdb.base/foll-fork.exp: Ditto.
6044 * gdb.base/foll-vfork.exp: Ditto.
6045 * gdb.base/frame-args.exp: Ditto.
6046 * gdb.base/funcargs.exp: Ditto.
6047 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6048 * gdb.base/gdbvars.exp: Ditto.
6049 * gdb.base/help.exp: Ditto.
6050 * gdb.base/ifelse.exp: Ditto.
6051 * gdb.base/included.exp: Ditto.
6052 * gdb.base/list.exp: Ditto.
6053 * gdb.base/macscp.exp: Ditto.
6054 * gdb.base/maint.exp: Ditto.
6055 * gdb.base/multi-fork.exp: Ditto.
6056 * gdb.base/overlays.exp: Ditto.
6057 * gdb.base/page.exp: Ditto.
6058 * gdb.base/pending.exp: Ditto.
6059 * gdb.base/pointers.exp: Ditto.
6060 * gdb.base/pr11022.exp: Ditto.
6061 * gdb.base/prelink.exp: Ditto.
6062 * gdb.base/printcmds.exp: Ditto.
6063 * gdb.base/psymtab.exp: Ditto.
6064 * gdb.base/randomize.exp: Ditto.
6065 * gdb.base/relational.exp: Ditto.
6066 * gdb.base/relocate.exp: Ditto.
6067 * gdb.base/remote.exp: Ditto.
6068 * gdb.base/sepdebug.exp: Ditto.
6069 * gdb.base/set-lang-auto.exp: Ditto.
6070 * gdb.base/setshow.exp: Ditto.
6071 * gdb.base/setvar.exp: Ditto.
6072 * gdb.base/signals.exp: Ditto.
6073 * gdb.base/signull.exp: Ditto.
6074 * gdb.base/sigstep.exp: Ditto.
6075 * gdb.base/sizeof.exp: Ditto.
6076 * gdb.base/solib-disc.exp: Ditto.
6077 * gdb.base/store.exp: Ditto.
6078 * gdb.base/structs.exp: Ditto.
6079 * gdb.base/structs2.exp: Ditto.
6080 * gdb.base/subst.exp: Ditto.
6081 * gdb.base/term.exp: Ditto.
6082 * gdb.base/trace-commands.exp: Ditto.
6083 * gdb.base/unwindonsignal.exp: Ditto.
6084 * gdb.base/valgrind-db-attach.exp: Ditto.
6085 * gdb.base/varargs.exp: Ditto.
6086 * gdb.base/watch-cond.exp: Ditto.
6087 * gdb.base/watch_thread_num.exp: Ditto.
6088 * gdb.base/watchpoint-cond-gone.exp: Ditto.
6089 * gdb.base/watchpoint.exp: Ditto.
6090 * gdb.base/whatis-exp.exp: Ditto.
6091
6092 2010-06-01 Michael Snyder <msnyder@vmware.com>
6093
6094 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
6095 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
6096 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
6097 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
6098 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
6099 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
6100 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
6101 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
6102 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
6103 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
6104 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
6105 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
6106 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
6107 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
6108 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
6109
6110 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6111
6112 * gdb.base/commands.exp (begin commands on watch): Remove excessive
6113 trailing newline.
6114 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
6115 * gdb.java/jmisc.exp (p *args\n): Rename to ...
6116 (p *args): ... here and remove excessive trailing newline.
6117
6118 2010-05-31 Joel Brobecker <brobecker@adacore.com>
6119
6120 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
6121
6122 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 Accept the new Linux kernel "t (tracing stop)" string.
6125 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
6126 Update comment.
6127 (state_wait) <T (tracing stop)>: New.
6128 (main): Update the state_wait expect string.
6129
6130 2010-05-28 Pedro Alves <pedro@codesourcery.com>
6131
6132 * limits.c, limits.exp: Delete files.
6133 * Makefile.in (clean mostlyclean): Adjust.
6134 * tracecmd.exp: Adjust.
6135
6136 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6137
6138 * gdb.base/tui-layout.exp: New.
6139
6140 2010-05-28 Michael Snyder <msnyder@vmware.com>
6141
6142 * gdb.reverse/break-precsave.exp:
6143 Replace uses of send_gdb / gdb_expect.
6144 * gdb.reverse/break-reverse.exp:
6145 Replace uses of send_gdb / gdb_expect.
6146 * gdb.reverse/consecutive-precsave.exp:
6147 Replace uses of send_gdb / gdb_expect.
6148 * gdb.reverse/consecutive-reverse.exp:
6149 Replace uses of send_gdb / gdb_expect.
6150 * gdb.reverse/finish-precsave.exp:
6151 Replace uses of send_gdb / gdb_expect.
6152 * gdb.reverse/finish-reverse.exp:
6153 Replace uses of send_gdb / gdb_expect.
6154 * gdb.reverse/i386-precsave.exp:
6155 Replace uses of send_gdb / gdb_expect.
6156 * gdb.reverse/i386-reverse.exp:
6157 Replace uses of send_gdb / gdb_expect.
6158 * gdb.reverse/i386-sse-reverse.exp:
6159 Replace uses of send_gdb / gdb_expect.
6160 * gdb.reverse/i387-env-reverse.exp:
6161 Replace uses of send_gdb / gdb_expect.
6162 * gdb.reverse/i387-stack-reverse.exp:
6163 Replace uses of send_gdb / gdb_expect.
6164 * gdb.reverse/machinestate-precsave.exp:
6165 Replace uses of send_gdb / gdb_expect.
6166 * gdb.reverse/machinestate.exp:
6167 Replace uses of send_gdb / gdb_expect.
6168 * gdb.reverse/sigall-precsave.exp:
6169 Replace uses of send_gdb / gdb_expect.
6170 * gdb.reverse/sigall-reverse.exp:
6171 Replace uses of send_gdb / gdb_expect.
6172 * gdb.reverse/solib-precsave.exp:
6173 Replace uses of send_gdb / gdb_expect.
6174 * gdb.reverse/solib-reverse.exp:
6175 Replace uses of send_gdb / gdb_expect.
6176 * gdb.reverse/step-precsave.exp:
6177 Replace uses of send_gdb / gdb_expect.
6178 * gdb.reverse/step-reverse.exp:
6179 Replace uses of send_gdb / gdb_expect.
6180 * gdb.reverse/until-precsave.exp:
6181 Replace uses of send_gdb / gdb_expect.
6182 * gdb.reverse/until-reverse.exp:
6183 Replace uses of send_gdb / gdb_expect.
6184 * gdb.reverse/watch-precsave.exp:
6185 Replace uses of send_gdb / gdb_expect.
6186 * gdb.reverse/watch-reverse.exp:
6187 Replace uses of send_gdb / gdb_expect.
6188
6189 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6190
6191 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
6192 excessive newline.
6193
6194 2010-05-27 Michael Snyder <msnyder@vmware.com>
6195
6196 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
6197 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
6198 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
6199 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
6200 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
6201 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
6202 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
6203 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
6204 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
6205 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
6206 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6207 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6208 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6209 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6210 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6211 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6212 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6213 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6214 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
6215
6216 2010-05-26 Michael Snyder <msnyder@vmware.com>
6217
6218 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6219 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6220
6221 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6222 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6223 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6224
6225 * gdb.reverse/consecutive-reverse.exp:
6226 Replace uses of send_gdb / gdb_expect.
6227 * gdb.reverse/consecutive-precsave.exp:
6228 Replace uses of send_gdb / gdb_expect.
6229
6230 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6231 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6232 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
6233 * gdb.mi/mi-ns-stale-regcache.exp:
6234 Replace uses of send_gdb / gdb_expect.
6235 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6236 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6237 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6238 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6239 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6240 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6241 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6242 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6243 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
6244
6245 2010-05-26 Michael Snyder <msnyder@vmware.com>
6246
6247 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6248
6249 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6250
6251 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6252 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6253 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6254 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6255 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6256 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6257 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6258 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6259 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6260
6261 2010-05-25 Tom Tromey <tromey@redhat.com>
6262
6263 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6264
6265 2010-05-25 Tom Tromey <tromey@redhat.com>
6266
6267 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6268 argument order.
6269 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6270 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6271 order.
6272 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6273 order.
6274 * gdb.base/call-sc.exp (setup_kfails): Remove.
6275 (setup_compiler_kfails): Remove.
6276 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6277 argument order.
6278 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6279 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6280 (advancei): Fix setup_kfail argument order.
6281 * gdb.base/radix.exp: Fix setup_kfail argument order.
6282 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6283 order.
6284 * gdb.base/structs.exp (setup_kfails): Remove.
6285 (setup_compiler_kfails): Fix setup_kfail argument order.
6286 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6287 order.
6288 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6289 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6290 setup_kfail argument order.
6291 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6292
6293 2010-05-25 Tom Tromey <tromey@redhat.com>
6294
6295 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6296
6297 2010-05-25 Michael Snyder <msnyder@vmware.com>
6298
6299 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6300 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6301 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6302 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6303 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6304 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6305 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6306 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6307 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
6308 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6309 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6310 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6311 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6312 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6313 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6314 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6315 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6316 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6317 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6318 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6319 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6320 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6321 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
6322 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6323 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6324 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6325 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6326 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6327 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6328 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6329 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6330 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6331 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6332 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6333 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6334 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6335 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6336 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6337 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6338 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6339 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6340 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
6341 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6342 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6343 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6344 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6345 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6346 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
6347
6348 2010-05-25 Doug Evans <dje@google.com>
6349
6350 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6351 gdb.string_to_argv.
6352
6353 2010-05-21 Tom Tromey <tromey@redhat.com>
6354
6355 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6356 Call it.
6357 * gdb.dwarf2/pieces.S: Update.
6358 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6359
6360 2010-05-21 Tom Tromey <tromey@redhat.com>
6361
6362 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6363 Call it.
6364 * gdb.dwarf2/pieces.c (struct C): New.
6365 (f6): New function.
6366 * gdb.dwarf2/pieces.S: Replace.
6367
6368 2010-05-21 Tom Tromey <tromey@redhat.com>
6369
6370 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6371 Call it.
6372
6373 2010-05-21 Tom Tromey <tromey@redhat.com>
6374
6375 * gdb.dwarf2.pieces.exp: New file.
6376 * gdb.dwarf2.pieces.S: New file.
6377 * gdb.dwarf2.pieces.c: New file.
6378
6379 2010-05-20 Pedro Alves <pedro@codesourcery.com>
6380 Joel Brobecker <brobecker@adacore.com>
6381
6382 * lib/gdb.exp (gdb_test_no_output): New function.
6383 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6384 when testing commands that should produce no output.
6385
6386 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6387
6388 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6389 parameter that we want to watch being a constant.
6390
6391 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6392
6393 * gdb.ada/cond_lang: New testcase.
6394
6395 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6396
6397 * lib/gdb.exp (banned_variables): New variable/constant.
6398 (gdb_init): Add write trace on variables listed in banned_variables.
6399 (gdb_finish): Remove write traces on variables listed in
6400 banned_variables.
6401
6402 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6403
6404 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6405 * gdb.cp/koenig.exp: Likewise.
6406
6407 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6408
6409 PR python/11482
6410
6411 * gdb.python/py-value.exp (test_value_hash): New function.
6412
6413 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6414
6415 PR exp/11530.
6416 * gdb.base/gdb11530.c: New file.
6417 * gdb.base/gdb11530.exp: New file.
6418
6419 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6420
6421 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6422 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6423
6424 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6425
6426 * gdb.cp/koenig.exp: New test.
6427 * gdb.cp/koenig.cc: New test program.
6428
6429 2010-05-05 Joel Brobecker <brobecker@adacore.com>
6430
6431 Remove the use of prms_id and bug_id throughout the testsuite.
6432
6433 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6434
6435 PR exp/11349.
6436 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6437 use a reference local variable.
6438
6439 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6440
6441 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6442 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6443 variable different_dir. Move debugfile into a full directory pathname
6444 under DIFFERENT_DIR.
6445 * lib/gdb.exp (separate_debug_filename): Remove.
6446 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6447 variable debug_dir and mkdir of it. Update function comments.
6448
6449 2010-04-29 Pedro Alves <pedro@codesourcery.com>
6450
6451 PR gdb/11557
6452
6453 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6454 files.
6455
6456 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6457
6458 * gdb.python/py-param.exp: New File.
6459
6460 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6461
6462 * gdb.base/default.exp: Fix "set language" test.
6463
6464 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6465
6466 PR breakpoints/11531.
6467 * gdb.base/gdb11531.c: New file.
6468 * gdb.base/gdb11531.exp: New file.
6469
6470 2010-04-26 Tom Tromey <tromey@redhat.com>
6471
6472 * gdb.base/completion.exp: Add tests for completion and deprecated
6473 commands.
6474
6475 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6476
6477 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6478 (print /x char_array): Escape curly brackets.
6479
6480 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6481
6482 Fix deadlock on looped list of loaded shared objects.
6483 * gdb.base/solib-corrupted.exp: New.
6484
6485 2010-04-23 Doug Evans <dje@google.com>
6486
6487 * gdb.python/py-section-script.c: New file.
6488 * gdb.python/py-section-script.exp: New file.
6489 * gdb.python/py-section-script.py: New file.
6490
6491 2010-04-20 Chris Moller <cmoller@redhat.com>
6492
6493 PR 10179
6494
6495 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6496 * gdb.base/pr10179-a.c:
6497 * gdb.base/pr10179-b.c:
6498 * gdb.base/pr10179.exp: New files.
6499
6500 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6501
6502 Fix crashes on dangling display expressions.
6503 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6504 is SEP.
6505 (lib_flags): Remove the "debug" keyword.
6506 (libsepdebug): New variable for iterating new loop.
6507 (save_pf_prefix): New variable wrapping the loop.
6508 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6509 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6510
6511 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6512
6513 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6514
6515 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6516
6517 PR stabs/11479.
6518 * gdb.stabs/gdb11479.exp: New file.
6519 * gdb.stabs/gdb11479.c: New file.
6520
6521 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6522
6523 * gdb.base/charset.c (Strin16, String32): New variables.
6524 * gdb.base/charset.exp (gdb_test): Test correct display
6525 of 16 or 32 bit strings.
6526
6527 2010-04-21 Chris Moller <cmoller@redhat.com>
6528
6529 PR 9167
6530 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6531 * gdb.cp/pr9167.cc: New file.
6532 * gdb.cp/pr9167.exp: New file.
6533
6534
6535 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6536
6537 PR pascal/11492.
6538 * gdb.pascal/gdb11492.pas: New file.
6539 * gdb.pascal/gdb11492.exp: New file.
6540
6541 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6542
6543 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
6544
6545 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6546
6547 * gdb.ada/dyn_loc: New testcase.
6548
6549 2010-04-20 Chris Moller <cmoller@redhat.com>
6550
6551 PR 10867
6552
6553 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6554 * gdb.cp/pr10687.cc: New file.
6555 * gdb.cp/pr10687.exp: New file.
6556
6557
6558 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6559 Sergio Durigan Junior <sergiodj@redhat.com>
6560
6561 * gdb.fortran/logical.exp: New testcase.
6562 * gdb.fortran/logical.f90: New file.
6563
6564 2010-04-19 Doug Evans <dje@google.com>
6565
6566 * gdb.base/help.exp (help source): Update expected output.
6567
6568 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6569
6570 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6571 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6572 gdb_exit and return.
6573 (executable): New variable.
6574 (binfile): Use it.
6575
6576 2010-04-19 Pedro Alves <pedro@codesourcery.com>
6577
6578 PR breakpoints/8554.
6579
6580 * gdb.trace/save-trace.exp: Adjust.
6581
6582 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 PR corefiles/11511
6585 * gdb.arch/system-gcore.exp: New.
6586 * gdb.arch/gcore.c: Likewise.
6587
6588 2010-04-15 Doug Evans <dje@google.com>
6589
6590 * gdb.python/py-progspace.c: New file.
6591 * gdb.python/py-progspace.exp: New file.
6592
6593 * gdb.base/source.exp: Add tests for "source -s".
6594
6595 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6596
6597 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6598 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6599 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6600 * gdb.python/py-mi.exp: New test for to_string returning None.
6601
6602 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6603
6604 * gdb.python/py-breakpoint.c: Make result global.
6605
6606 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 Fix non-GNU make compatibility.
6609 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6610
6611 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6612
6613 * gdb.python/py-breakpoint.exp: New File.
6614 * gdb.python/py-breakpoint.C: Ditto.
6615
6616 2010-04-08 Stan Shebs <stan@codesourcery.com>
6617
6618 * gdb.trace/actions.exp: Clear default-collect.
6619 * gdb.trace/save-trace.exp: Clear default-collect.
6620
6621 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6622
6623 * gdb.python/py-value: Add null string variable.
6624 (test_lazy_string): Test zero length, NULL address lazy
6625 strings.
6626
6627 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6628
6629 * gdb.arch/i386-avx.c: New.
6630 * gdb.arch/i386-avx.exp: Likewise.
6631
6632 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6633
6634 2010-04-06 Doug Evans <dje@google.com>
6635
6636 * gdb.base/source-test.gdb: New file.
6637 * gdb.base/source.exp: Test source -v.
6638
6639 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6640
6641 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6642
6643 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6644
6645 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6646 within one line, unless it is followed by a double quote.
6647 * gdb.stabs/hppa.sed: Idem.
6648 * gdb.stabs/weird.def: Add char and String constants
6649 * gdb.stabs/weird.exp: Check for correct parsing of
6650 char and string constants.
6651 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6652 in .stabs to .stabx substitution.
6653
6654 2010-04-05 Stan Shebs <stan@codesourcery.com>
6655
6656 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6657 constant global.
6658 * gdb.trace/tfile.exp: Try to print them.
6659
6660 2010-04-04 Stan Shebs <stan@codesourcery.com>
6661
6662 * gdb.base/completion.exp: Update for new "info watchpoints".
6663 * gdb.base/default.exp: Ditto.
6664 * gdb.base/help.exp: Ditto.
6665 * gdb.base/watchpoint.exp: Ditto.
6666 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
6667
6668 2010-04-04 Stan Shebs <stan@codesourcery.com>
6669
6670 * gdb.trace/tfile.exp: Sharpen tfind test.
6671
6672 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 * gdb.base/break-entry.exp: New.
6675
6676 2010-04-02 Hui Zhu <teawater@gmail.com>
6677 Michael Snyder <msnyder@vmware.com>
6678
6679 * gdb.reverse/i386-sse-reverse.exp: New file.
6680 * gdb.reverse/i386-sse-reverse.c: New file.
6681
6682 2010-04-02 Pedro Alves <pedro@codesourcery.com>
6683
6684 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6685
6686 2010-04-01 Stan Shebs <stan@codesourcery.com>
6687
6688 * gdb.trace/actions.exp: Tweak expected output.
6689 * gdb.trace/while-stepping.exp: Tweak expected output.
6690
6691 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6692
6693 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6694
6695 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6696
6697 * gdb.base/commands.exp: Adjust.
6698 * gdb.cp/extern-c.exp: Adjust.
6699
6700 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6701
6702 * gdb.trace/collection.c (local_test_func): Define a local struct,
6703 and instanciate it.
6704
6705 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6706
6707 * gdb.trace/collection.exp (gdb_collect_args_test)
6708 (gdb_collect_argarray_test): XFAIL the tests that assume the
6709 argarray argument's elements are collected.
6710
6711 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6712
6713 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6714 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6715
6716 2010-03-31 Stan Shebs <stan@codesourcery.com>
6717
6718 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6719 and tracepoint conditionals.
6720 (gdb_verify_tracepoints): Delete unused return.
6721
6722 2010-03-26 Keith Seitz <keiths@redhat.com>
6723
6724 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6725 appear in the output before main.
6726 Remove KFAIL for gdb/2215 aka bz 9320.
6727
6728 2010-03-30 Doug Evans <dje@google.com>
6729
6730 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6731 by dejagnu.
6732 * gdb.arch/amd64-dword.exp: Ditto.
6733
6734 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6735 match.
6736 (break printf): Ditto.
6737
6738 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6739
6740 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6741 gcc < 4.4.
6742 * gdb.cp/shadow.exp: Ditto.
6743
6744 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6745
6746 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6747 "tstart" is silent.
6748
6749 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6750
6751 * gdb.trace/collection.exp (executable): New.
6752 (binfile): Use it.
6753 (fpreg, spreg, pcreg): New.
6754 (test_register): Use gdb_test_multiple. Pass /x to print.
6755 (prepare_for_trace_test): New.
6756 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6757 (gdb_collect_args_test, gdb_collect_argstruct_test)
6758 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6759 prepare_for_trace_test.
6760 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6761 fpreg, spreg and pcreg.
6762 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6763 prepare_for_trace_test.
6764 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6765 try to detect tracing support here. Don't set breakpoints at
6766 `begin' or `end' here.
6767 <global scope>: Use clean_restart. Run to main before checking
6768 for tracing support. Check for for tracing support here.
6769
6770 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6771
6772 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6773 " as $displacement" to "seen displacement message".
6774
6775 2010-03-28 Pedro Alves <pedro@codesourcery.com>
6776
6777 * gdb.trace/while-dyn.exp (executable): New variable.
6778 (binfile): Use it.
6779 (test_while_stepping): New function. Move most tests here. Call
6780 it once for each of the while-stepping, stepping and ws aliases.
6781
6782 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6783
6784 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6785 that do not provide the tagless_struct type name at all.
6786 (test_print_anon_union): Do not check value of uninitialized
6787 union member. Do not use cp_test_ptype_class, so we can accept
6788 "long" as well as "long int".
6789
6790 2010-03-26 Pedro Alves <pedro@codesourcery.com>
6791
6792 * gdb.trace/tfile.c (tohex, bin2hex): New.
6793 (write_error_trace_file): Hexify error description.
6794
6795 2010-03-25 Stan Shebs <stan@codesourcery.com>
6796
6797 * gdb.trace/tfile.c: Generate an additional trace file, improve
6798 portability.
6799 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6800 files in a better way.
6801
6802 2010-03-25 Keith Seitz <keiths@redhat.com>
6803
6804 * gdb.java/jprint.exp: XFAIL printing of static class members
6805 because of GCC debuginfo problem.
6806
6807 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6808
6809 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6810
6811 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6812
6813 * gdb.base/completion.exp: Allow long instead of long int.
6814 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6815 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6816 variable p.
6817 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6818 * gdb.base/pointers.exp: Allow long instead of long int.
6819 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6820 * gdb.base/step-line.exp: Allow a directory before the source file name.
6821
6822 2010-03-24 Tom Tromey <tromey@redhat.com>
6823
6824 PR breakpoints/9352:
6825 * gdb.base/default.exp: Update.
6826 * gdb.base/commands.exp: Update.
6827 * gdb.cp/extern-c.exp: Test setting commands on multiple
6828 breakpoints at once.
6829
6830 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6831
6832 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6833 if gdb,nosignals.
6834 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6835 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6836 exited".
6837
6838 2010-03-24 Stan Shebs <stan@codesourcery.com>
6839
6840 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6841
6842 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6843
6844 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6845 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6846 argument. Handle "short" and "long".
6847 (Top level): Pass overprototyped output for old_fptr and xptr.
6848
6849 2010-03-23 Pedro Alves <pedro@codesourcery.com>
6850
6851 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6852 format strings and add casts to avoid compiler warnings.
6853
6854 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
6855
6856 * lib/trace-support.exp (gdb_trace_setactions):
6857 Don't expect whitespace after ">" prompt.
6858 * gdb.trace/actions.exp: Adjust for output changes.
6859 * gdb.trace/while-stepping.exp: Likewise.
6860
6861 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6864 and r157645).
6865
6866 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6869 New.
6870
6871 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6874 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6875
6876 2010-03-19 Stan Shebs <stan@codesourcery.com>
6877
6878 * gdb.trace/ax.exp: New file.
6879
6880 2010-03-19 Doug Evans <dje@google.com>
6881
6882 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6883 output from gcc.
6884
6885 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6886 named /usr/sbin/prelink<foo>.
6887
6888 2010-03-18 Stan Shebs <stan@codesourcery.com>
6889
6890 * gdb.trace/circ.exp: Test circular-trace-buffer.
6891 * gdb.trace/tfile.exp: Update tstatus test.
6892
6893 2010-03-18 Joel Brobecker <brobecker@adacore.com>
6894
6895 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6896 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6897
6898 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6899
6900 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6901
6902 2010-03-18 Pedro Alves <pedro@codesourcery.com>
6903
6904 * gdb.base/default.exp: Adjust the expected output of the finish
6905 and until commands when the inferior is not being run.
6906
6907 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6908
6909 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6910 * gdb.cp/nsusing.exp: Ditto.
6911
6912 2010-03-15 Tom Tromey <tromey@redhat.com>
6913
6914 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6915 * gdb.cp/userdef.cc (operator==): New function.
6916 (main): New locals mem1, mem2.
6917
6918 2010-03-15 Jie Zhang <jie@codesourcery.com>
6919
6920 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6921 Declare and use new loadtimeout variable.
6922
6923 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6924
6925 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6926 Use gdb_load later.
6927
6928 2010-03-14 Pedro Alves <pedro@codesourcery.com>
6929
6930 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6931 literal. Add missing endlines to prints to stderr.
6932
6933 2010-03-12 Tom Tromey <tromey@redhat.com>
6934
6935 PR c++/9708:
6936 * gdb.cp/m-static.exp: Add regression test.
6937 * gdb.cp/m-static.cc (method): New method.
6938 (main): Call it.
6939
6940 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6941
6942 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6943 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6944
6945 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6946
6947 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6948
6949 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6950
6951 * lib/gdb.exp (skip_stl_tests): New.
6952 (gdb_compile): Symbian needs -ldl.
6953 (shlib_target_file): New.
6954 (shlib_symbol_file): New.
6955 (gdb_load_shlibs): Use shlib_target_file.
6956 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6957 * gdb.cp/exception.exp: Use skip_stl_tests.
6958 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6959 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6960 * gdb.cp/mb-templates.exp: Ditto.
6961 * gdb.base/commands.exp: Relax regexes.
6962 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6963 shlib_target_file and shlib_symbol_file.
6964 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6965 sections.
6966 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6967 * gdb.base/solib-disc.exp: Use
6968 shlib_target_file and shlib_symbol_file.
6969 * gdb.base/unload.exp: Don't skip on symbian. Use
6970 shlib_target_file and shlib_symbol_file.
6971 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6972
6973 2010-03-12 Pedro Alves <pedro@codesourcery.com>
6974
6975 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6976 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6977 Issue a tfind end before looking for a tracepoint frame.
6978 * gdb.trace/tfind.exp: Adjust tstatus output.
6979 Adjust disassembly output.
6980 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6981
6982 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6983
6984 * gdb.base/break-interp.exp: Create new displacement parameter value
6985 for the test_ld calls.
6986 (reach): New parameter displacement, verify its content. New push of
6987 pf_prefix "reach-$func:". Import global expect_out.
6988 (test_core): New parameter displacement, verify its content. New push
6989 of pf_prefix "core:". New command "set verbose on". Import global
6990 expect_out.
6991 (test_attach): New parameter displacement, verify its content. New
6992 push of pf_prefix "attach:". New command "set verbose on". Import
6993 global expect_out.
6994 (test_ld): New parameter displacement, pass it to the reach, test_core
6995 and test_attach calls and verify its content in the "ld.so exit" test.
6996 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6997 (prelink): Update expected text, use gdb_test.
6998
6999 2010-03-10 Doug Evans <dje@google.com>
7000
7001 * gdb.base/checkpoint.exp: Fix comment.
7002 Lengthen timeout while doing >600 checkpoints test.
7003 Rename duplicate "kill all one" test to keep test names unique.
7004
7005 2010-03-10 Pedro Alves <pedro@codesourcery.com>
7006
7007 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
7008
7009 2010-03-08 Keith Seitz <keiths@redhat.com>
7010
7011 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
7012 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
7013 (dm_type_long): New function.
7014 (dm_type_unsigned_short): New function.
7015 (dm_type_unsigned_long): New function.
7016 (myint): New typedef.
7017 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
7018 long, unsigned shor and long, operator char*, and typedef.
7019 (test_lookup_operator_functions): Add operator char* test.
7020 (test_paddr_operator_functions): Likewise.
7021 (test_paddr_overloaded_functions): Use probe values for
7022 short, long, and unsigned short and long.
7023 (test_paddr_hairy_functions): If the demangler probe detected
7024 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
7025 demangler.
7026 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
7027 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
7028 and "print null_pmf".
7029 Add test "ptype a.*pmf".
7030 * gdb.cp/overload.exp: Allow optional "int" to appear with
7031 "short" and "long".
7032 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
7033 long expect value for men_overload1arg.
7034 Allow "int" to appear with "short" and "long".
7035 When testing "info break", add argument for main (void).
7036 Also allow "int" to appear with "short" and "long".
7037 Ditto with "unsigned" and "long long".
7038 * gdb.java/jmain.exp: Do not enclose methods names in single
7039 quotes.
7040 * gdb.java/jmisc.exp: Likewise.
7041 * gdb.java/jprint.exp: Likewise.
7042 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
7043
7044 From Jan Kratochvil <jan.kratochvil@redhat.com>:
7045 * gdb.cp/exception.exp (backtrace after first throw)
7046 (backtrace after second throw): Allow a namespace before __cxa_throw.
7047 (backtrace after first catch, backtrace after second catch): Allow
7048 a namespace before __cxa_begin_catch.
7049
7050 * gdb.cp/cpexprs.exp: New file.
7051 * gdb.cp/cpexprs.cc: New file.
7052
7053 From Daniel Jacobowitz <dan@codesourcery.com>
7054 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
7055 to use string_to_regexp.
7056 (ctor, dtor): New functions. Use them to match constructor
7057 and destructor function types.
7058 (Top level): Use runto_main.
7059
7060 2010-03-05 Tom Tromey <tromey@redhat.com>
7061
7062 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
7063 gdb.target_charset.
7064 (pp_ns.to_string): Likewise.
7065
7066 2010-03-04 Keith Seitz <keiths@redhat.com>
7067
7068 * gdb.cp/overload.exp: Test that the filename portion of a linespec
7069 can be quoted. Test that both the filename and function/line
7070 portions can be quoted at the same time.
7071
7072 2010-03-04 Pedro Alves <pedro@codesourcery.com>
7073
7074 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
7075
7076 2010-03-03 Doug Evans <dje@google.com>
7077
7078 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
7079 libc contains libpthread.
7080
7081 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
7082 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
7083 of gdb_compile. Add another pattern to match android backtrace.
7084
7085 2010-03-03 Tom Tromey <tromey@redhat.com>
7086
7087 PR gdb/11345:
7088 * gdb.base/printcmds.exp (test_printf): Add test.
7089
7090 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
7091
7092 * gdb.arch/amd64-byte.exp: New.
7093 * gdb.arch/amd64-dword.exp: Likewise.
7094 * gdb.arch/amd64-pseudo.c: Likewise.
7095 * gdb.arch/amd64-word.exp: Likewise.
7096 * gdb.arch/i386-byte.exp: Likewise.
7097 * gdb.arch/i386-pseudo.c: Likewise.
7098 * gdb.arch/i386-word.exp: Likewise.
7099
7100 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7101
7102 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
7103 types. Add structreg, bitfields, and flags registers.
7104 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
7105 registers.
7106
7107 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
7108
7109 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
7110 (load_description): Set architecture if defined.
7111
7112 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
7113
7114 * gdb.python/py-frame.exp: Add read_var block tests.
7115 * gdb.python/py-frame.c (block): New function.
7116
7117 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7118 Daniel Jacobowitz <dan@codesourcery.com>
7119
7120 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
7121
7122 2010-02-25 David S. Miller <davem@davemloft.net>
7123
7124 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
7125 fix logic for setting all_syscalls_numbers.
7126
7127 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7128
7129 * Makefile.in: Add py-block and py-symbol.
7130 * gdb.python/py-symbol.exp: New File.
7131 * gdb.python/py-symtab.exp: New File.
7132 * gdb.python/py-block.exp: New File.
7133 * gdb.python/py-symbol.c: New File.
7134 * gdb.python/py-block.c: New File.
7135
7136 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
7137
7138 PR python/11314
7139 * lib/gdb.exp (skip_python_tests): New function.
7140 * gdb.python/py-cmd.exp: Use skip_python_tests.
7141 * gdb.python/py-frame.exp: Likewise.
7142 * gdb.python/py-function.exp: Likewise.
7143 * gdb.python/py-prettyprint.exp: Likewise.
7144 * gdb.python/py-template.exp: Likewise.
7145 * gdb.python/py-type.exp: Likewise.
7146 * gdb.python/py-value.exp: Likewise.
7147
7148 2010-02-22 Pedro Alves <pedro@codesourcery.com>
7149
7150 PR9605
7151
7152 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
7153
7154 2010-02-19 Tom Tromey <tromey@redhat.com>
7155
7156 PR c++/8693, PR c++/9496:
7157 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
7158 regression tests.
7159
7160 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7161
7162 Fix compatibility with m68k as.
7163 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
7164 Use only /* comments */.
7165
7166 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7167
7168 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
7169 * configure: Regenerate.
7170
7171 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
7172
7173 * gdb.python/py-type.exp: Check for Python support.
7174
7175 2010-02-17 Pedro Alves <pedro@codesourcery.com>
7176
7177 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
7178 `regsub' syntax available.
7179
7180 2010-02-17 Pedro Alves <pedro@codesourcery.com>
7181
7182 * gdb.base/shmain.c (main): Remove printf call.
7183 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
7184 * gdb.base/unload.c (main): Make format of fprintf a string
7185 literal. Add missing endlines to prints to stderr.
7186 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
7187
7188 2010-02-17 Tom Tromey <tromey@redhat.com>
7189
7190 * gdb.java/jprint.java (jprint.props): New field.
7191 * gdb.java/jprint.exp (set_lang_java): Add regression test.
7192
7193 2010-02-17 Pedro Alves <pedro@codesourcery.com>
7194
7195 * gdb.base/charset.exp: Don't assume new `regsub' syntax
7196 available.
7197
7198 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7199
7200 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
7201 creation to support remote host testing.
7202
7203 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7204
7205 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
7206 Recognize "command not found".
7207
7208 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7209
7210 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7211 single-stepping.
7212
7213 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7214
7215 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7216 if arguments are not supported.
7217
7218 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7219
7220 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7221 be const or non-const.
7222
7223 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7224
7225 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7226 mi_send_resuming_command to send -exec-continue.
7227
7228 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7229
7230 * gdb.base/list.exp (test_list_filename_and_function): Add test
7231 with single quotes.
7232 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7233 matching.
7234 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7235 Add KFAIL'd tests for PR gdb/11289.
7236
7237 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7238
7239 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7240
7241 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7242
7243 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7244 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7245 a temporary directory.
7246
7247 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7248
7249 * gdb.base/charset.exp: Use a single regular expression to match
7250 show host-charset and show target-charset output.
7251
7252 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7255 "Illegal process-id" expect string more exact.
7256 (attach to digits-starting nonsense is prohibited): New.
7257
7258 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 * gdb.base/prelink.exp (set verbose on): New.
7261
7262 2010-02-12 Tomas Holmberg <th@virtutech.com>
7263
7264 * mi-reverse.exp: New file. Test for reverse option to the
7265 following MI commands: exec-continue, exec-finish, exec-next,
7266 exec-step, exec-next-instruction, exec-step-instruction.
7267
7268 2010-02-09 Joel Brobecker <brobecker@adacore.com>
7269
7270 * gdb.ada/ptype_tagged_param: New testcase.
7271
7272 2010-02-08 Tom Tromey <tromey@redhat.com>
7273
7274 PR c++/8017:
7275 * gdb.cp/overload.exp: Add tests.
7276 * gdb.cp/overload.cc (struct K): New.
7277 (namespace N): New.
7278 (main): Call new functions.
7279 (K::staticoverload): Define.
7280
7281 2010-02-08 Chris Moller <moller@mollerware.com>
7282
7283 PR gdb/10728
7284 * gdb.cp/pr10728-x.h: New file.
7285 * gdb.cp/pr10728-x.cc: New file.
7286 * gdb.cp/pr10728-y.cc: New file.
7287 * gdb.cp/pr10728.exp: New file.
7288 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7289
7290 2010-02-08 Chris Moller <moller@mollerware.com>
7291
7292 PR gdb/9067
7293 * gdb.cp/pr9067.exp: New
7294 * gdb.cp/pr9067.cc: New
7295 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7296
7297 2010-02-08 Joel Brobecker <brobecker@adacore.com>
7298
7299 * lib/gdb.exp (gdb_test_timeout): New global variable.
7300 Set it to timeout if not already set.
7301 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7302
7303 2010-02-05 Doug Evans <dje@google.com>
7304
7305 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7306 user.
7307
7308 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7309
7310 PR c++/7935:
7311 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7312
7313 2010-02-04 Tom Tromey <tromey@redhat.com>
7314
7315 * gdb.cp/virtbase.exp: Make test case names unique.
7316
7317 2010-02-02 Tom Tromey <tromey@redhat.com>
7318
7319 * gdb.cp/virtbase.exp: Add regression tests.
7320 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7321 (main): Instantiate RHC.
7322
7323 2010-02-02 Tom Tromey <tromey@redhat.com>
7324
7325 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7326 type-printing change.
7327
7328 2010-02-02 Tom Tromey <tromey@redhat.com>
7329
7330 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7331 * gdb.cp/virtbase.cc: New file.
7332 * gdb.cp/virtbase.exp: New file.
7333 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7334
7335 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7336
7337 PR libc/11214:
7338 * gdb.threads/current-lwp-dead.c: Include features.h.
7339 (HAS_NOMMU): New.
7340 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7341
7342 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7343
7344 * gdb.base/symbol-without-target_section.exp,
7345 gdb.base/symbol-without-target_section.c: New.
7346
7347 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7348
7349 * gdb.base/bigcore.exp: Reset increased timeout.
7350 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7351
7352 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7353
7354 * gdb.base/gcore.exp (capture_command_output): Use
7355 gdb_test_multiple.
7356
7357 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7358
7359 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7360 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7361 (Top level): Call it.
7362
7363 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7364
7365 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7366
7367 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7368
7369 * gdb.base/call-strs.exp, gdb.base/default.exp,
7370 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7371 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7372 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7373 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7374 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7375 * gdb.base/ending-run.exp: Correct restore of timeout.
7376 * gdb.base/page.exp: Remove unnecessary timeout setting.
7377
7378 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7379
7380 * gdb.ada/rec_return: New testcase.
7381
7382 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7383
7384 * gdb.ada/call_pn: New testcase.
7385
7386 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7387
7388 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7389 (Top level): Use it to resume.
7390 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7391 the Thumb mode displaced stepping error as unsupported.
7392
7393 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7394
7395 * gdb.cp/nsusing.exp: Added more tests.
7396 * gdb.cp/nsrecurs.exp: Ditto.
7397 * gdb.cp/nsusing.cc: Added test functions.
7398 * gdb.cp/nsrecurs.cc: Ditto.
7399
7400 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7403 absolute directory pathnames in gdb.sum file.
7404
7405 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7406
7407 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7408 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7409
7410 2010-01-26 Tom Tromey <tromey@redhat.com>
7411
7412 PR exp/7643:
7413 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7414 setup_kfail.
7415
7416 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7417
7418 * gdb.cp/nsrecurs.exp: New test.
7419 * gdb.cp/nsrecurs.cc: New test program.
7420 * gdb.cp/nsstress.exp: New test.
7421 * gdb.cp/nsstress.cc: New test program.
7422 * gdb.cp/nsdecl.exp: New test.
7423 * gdb.cp/nsdecl.cc: New test program.
7424
7425 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7426
7427 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7428 imported into file scope.
7429 Marked test as xfail.
7430 * gdb.cp/namespace-using.cc (marker5): New function.
7431 * gdb.cp/shadow.exp: New test.
7432 * gdb.cp/shadow.cc: New test program.
7433 * gdb.cp/nsimport.exp: New test.
7434 * gdb.cp/nsimport.cc: New test program.
7435
7436 2010-01-25 Tom Tromey <tromey@redhat.com>
7437
7438 PR gdb/11049:
7439 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7440 with "set print null-stop on".
7441
7442 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7445 Adjust it for DISASSEMBLY_OMIT_FNAME.
7446
7447 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7448
7449 PR symtab/11199:
7450 * gdb.dwarf2/member-ptr-forwardref.exp,
7451 gdb.dwarf2/member-ptr-forwardref.S: New.
7452
7453 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7454
7455 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7456 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7457 thread1_tid_mutex. Remove gdbstop_mutex handling.
7458 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7459 thread2_tid_mutex. Remove gdbstop_mutex handling.
7460 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7461 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7462 pthread_cond_wait conditionalizations by while loops.
7463
7464 2010-01-20 Tom Tromey <tromey@redhat.com>
7465
7466 PR backtrace/10770:
7467 * gdb.dwarf2/pr10770.exp: New file.
7468 * gdb.dwarf2/pr10770.c: New file.
7469 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7470
7471 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7472
7473 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7474 that target was removed, and the test always runs native anyway.
7475
7476 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7477
7478 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7479 gdb.base/watchpoint-cond-gone-stripped.c: New.
7480
7481 2010-01-19 Tom Tromey <tromey@redhat.com>
7482
7483 PR c++/8000:
7484 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7485 existing tests.
7486 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7487 (main): Use AAA::SomeEnum.
7488
7489 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7490
7491 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7492 (test_ignore_count): Declare line_callme_body global.
7493 (run to breakpoint with ignore count): Use line_callme_body.
7494 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7495 (set line_main_hello, set line_main_return): Reindent.
7496 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7497 New.
7498 (continue to callee4): Use line_callee4_body.
7499 (check *stopped from CLI command): Use line_callee4_next.
7500 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7501 (set line_main_hello, set line_main_return): Reindent.
7502 (set line_callee4_head, set line_callee4_body): New.
7503 (continue to callee4): Use line_callee4_body.
7504
7505 2010-01-18 Tom Tromey <tromey@redhat.com>
7506
7507 PR c++/9680:
7508 * gdb.cp/casts.cc: Add new classes and variables.
7509 * gdb.cp/casts.exp: Test new operators.
7510
7511 2010-01-18 Tom Tromey <tromey@redhat.com>
7512 Thiago Jung Bauermann <bauerman@br.ibm.com>
7513
7514 * gdb.python/source2.py: New file.
7515 * gdb.python/source1: New file.
7516 * gdb.python/python.exp: Test "source" command.
7517
7518 2010-01-15 Stan Shebs <stan@codesourcery.com>
7519
7520 * gdb.trace/tfile.c: New file.
7521 * gdb.trace/tfile.exp: New file.
7522
7523 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7524
7525 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7526
7527 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7530
7531 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7534 (libfunc): New parameter action. Implement also selectable "sleep".
7535 * gdb.base/break-interp-main.c: Include assert.h.
7536 (libfunc): New parameter action.
7537 (main): New parameters argc and argv. Assert argc. Pass argv.
7538 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7539 (test_attach): New proc.
7540 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7541 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7542
7543 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7544
7545 * gdb.base/break-interp.exp (test_core): New proc.
7546 (test_ld): Call it.
7547
7548 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7551 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7552 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7553 and gdb_compile_shlib. Use new -Wl compiler options.
7554 (dl bt, main bt): New tests.
7555
7556 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7557
7558 Support PIEs with no symfile_objfile.
7559 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7560 (test_ld): New parameter trynosym.
7561 (test_ld <$trynosym>): New block.
7562
7563 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7564
7565 * gdb.base/break-interp.exp: New file.
7566
7567 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7568
7569 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7570 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7571 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7572 test.
7573 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7574 * gdb.python/py-mi.exp: Add lazy string test.
7575
7576 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7577
7578 * lib/mi-support.exp (mi_check_thread_states): Handle
7579 core number in thread listing.
7580
7581 2010-01-12 Joel Brobecker <brobecker@adacore.com>
7582
7583 * gdb.base/maint.exp: Adjust the expected output for the
7584 "maint print type" test. Use gdb_test_multiple instead of
7585 gdb_sent/gdb_expect.
7586
7587 2010-01-11 Doug Evans <dje@google.com>
7588
7589 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7590 from gdbserver_download. All callers updated.
7591
7592 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7593
7594 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7595
7596 Implement binary numbers parsing.
7597 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7598 (test_integer_literals_rejected): New binary tests.
7599
7600 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7601
7602 * gdb.cell/configure: Regenerate.
7603
7604 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7605
7606 * gdb.base/corefile.exp: Move the core finding block out and call it as
7607 core_find, new variable $corefile, replace corefile by $corefile and
7608 [file tail $corefile] for usage vs. test names resp.
7609 * lib/gdb.exp (core_find): Move it as a new function here. New
7610 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7611 $destcore. Return "" on error.
7612
7613 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 Workaround PR binutils/10802.
7616 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7617 (twice).
7618
7619 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7620
7621 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7622
7623 2010-01-08 Joel Brobecker <brobecker@adacore.com>
7624
7625 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7626 call, to avoid interruption.
7627
7628 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7629
7630 * gdb.stabs/weird.def (args93): New.
7631
7632 2010-01-07 Doug Evans <dje@google.com>
7633
7634 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7635
7636 2010-01-07 Tom Tromey <tromey@redhat.com>
7637
7638 * gdb.base/source.exp: Use correct line number.
7639
7640 2010-01-05 Stan Shebs <stan@codesourcery.com>
7641
7642 * gdb.trace/tracecmd.exp: Test ftrace.
7643
7644 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7645
7646 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7647
7648 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7649
7650 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7651 "uint_for_mi_testing".
7652
7653 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7654
7655 Test indented comment in file being sourced.
7656 * gdb.base/commands.exp: Test indented comment in file being sourced.
7657
7658 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7659
7660 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7661 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7662 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7663 notice.
7664
7665 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7666
7667 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7668 notice.
7669
7670 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7671
7672 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7673 missing $after_stopped and comma (,) expectation.
7674
7675 2009-12-31 Stan Shebs <stan@codesourcery.com>
7676
7677 * gdb.trace/actions.exp: Test teval action.
7678
7679 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7680
7681 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7682 (top level): Call test_watchpoint_in_big_blob.
7683 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7684 watchpoints.
7685 (func3): Write to buf.
7686
7687 2009-12-29 Stan Shebs <stan@codesourcery.com>
7688
7689 * gdb.trace/actions.exp: Test default-collect.
7690
7691 2009-12-28 Stan Shebs <stan@codesourcery.com>
7692
7693 * gdb.trace/tsv.exp: New file.
7694 * gdb.base/completion.exp: Update ambiguous info output.
7695
7696 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7697
7698 * gdb.base/find.c (main): Reference search buffers.
7699 * gdb.base/included.c (main): Reference integer.
7700 * gdb.base/ptype.c (charfoo): Declare.
7701 (intfoo): Call charfoo.
7702 * gdb.base/scope0.c (useitp): New function.
7703 (usestatics): Use useitp.
7704 (useit): Add a type for val.
7705 * gdb.base/scope1.c (useit1): Take a pointer argument.
7706 (usestatics1): Update calls to useit1.
7707 * gdb.cp/call-c.cc: Declare foo.
7708 (main): Call foo.
7709 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7710 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7711 (main): Call C::ensureRefs and ensureOtherRefs.
7712 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7713 variables.
7714 (ensureOtherRefs): New function.
7715 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7716 * gdb.cp/templates.cc (main): Call t5i.value.
7717
7718 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7719
7720 Fix compatibility with G++-4.5.
7721 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7722 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7723 (uncaught return): Remove.
7724
7725 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7726 Phil Muldoon <pmuldoon@redhat.com>
7727
7728 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7729 (bp_location13, bp_location14, bp_location17, bp_location18)
7730 (marker3_proto, marker4_proto): New variables.
7731 (breakpoint info): Update output.
7732 (run until breakpoint at marker3, run until breakpoint at marker4): New
7733 tests.
7734
7735 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7738 Replace the printf call of Y by provided "y-set-1" label. New block
7739 for the second shared library.
7740 * gdb.base/unload.exp: Compile also the second library, call
7741 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7742 (single pending breakpoint info): Rename to ...
7743 (pending breakpoint info before run): ... this extended test.
7744 (libfile2, libname2, libsrcfile2, libsrc2)
7745 (lib_sl2): New variables.
7746 (exec_opts): Set also SHLIB_NAME2.
7747 (pending breakpoint info on first run at shrfunc1)
7748 (pending breakpoint info on second run at shrfunc1)
7749 (pending breakpoint info on second run at shrfunc2)
7750 (print y from libfile, print y from libfile2): New tests.
7751 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7752 * gdb.base/unloadshr2.c: New.
7753
7754 2009-12-22 Hui Zhu <teawater@gmail.com>
7755
7756 * gdb.reverse/sigall-reverse.exp: Adjust.
7757
7758 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7759
7760 PR gdb/10884
7761
7762 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7763 (main): Call do_bitfield_tests.
7764 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
7765
7766 2009-12-20 Joel Brobecker <brobecker@adacore.com>
7767
7768 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7769 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7770 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7771 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7772 gdb.modula2/unbounded1.c: Update copyright header.
7773
7774 2009-12-10 Chris Moller <moller@mollerware.com>
7775
7776 PR gdb/9399
7777 * gdb.cp/virtfunc2.exp: New tests
7778 * gdb.cp/virtfunc2.cc: New tests
7779 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7780
7781 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7782
7783 * gdb.reverse/i387-env-reverse.c: New file.
7784 * gdb.reverse/i387-env-reverse.exp: New file.
7785 * gdb.reverse/i387-stack-reverse.c: New file.
7786 * gdb.reverse/i387-stack-reverse.exp: New file.
7787
7788 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7789
7790 * gdb.python/py-type.exp (test_range): New test.
7791
7792 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7793
7794 PR python/10805
7795
7796 * gdb.python/py-type.exp: New file.
7797 * gdb.python/py-type.c: New file.
7798 * Makefile.in: Add py-type.
7799
7800 2009-12-03 Tom Tromey <tromey@redhat.com>
7801
7802 * gdb.python/py-value.exp (test_parse_and_eval): New
7803 function.
7804
7805 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7806
7807 PR gdb/11022
7808
7809 * gdb.base/pr11022.exp: New test.
7810 * gdb.base/pr11022.c: New test.
7811
7812 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7813
7814 Fix spurious false FAILs.
7815 * gdb.base/structs.c (chartest): New.
7816 (main): Fill-in chartest.
7817 * gdb.base/structs.exp (anychar_re, first): New.
7818 (start_structs_test): Import global anychar_re and first.
7819 New gdb_test call "set print elements 300; ${testfile}"
7820 (start_structs_test <$first>): New block.
7821 (any): Import global anychar_re. New variable ac. Use ${ac}.
7822
7823 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7824
7825 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7826
7827 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7828
7829 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7830 Force $srcfile file.
7831 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7832
7833 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7834
7835 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7836 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7837 * gdb.threads/watchthreads-reorder.exp: Likewise.
7838
7839 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7840
7841 PR gdb/8704
7842
7843 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7844 "if", and "thread". Correct matching in the previous test.
7845
7846 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7847
7848 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7849
7850 2009-11-23 Michael Snyder <msnyder@vmware.com>
7851
7852 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7853 * gdb.reverse-watch-precsave.exp: Ditto.
7854
7855 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7856
7857 * gdb.asm/asm-source.exp: Adjust.
7858 * gdb.base/help.exp: Adjust.
7859
7860 2009-11-22 Pedro Alves <pedro@codesourcery.com>
7861
7862 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7863 (do_syscall_tests_without_xml): Set data-directory to
7864 /the/path/to/nowhere.
7865
7866 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7867
7868 * gdb.threads/local-watch-wrong-thread.c,
7869 gdb.threads/local-watch-wrong-thread.exp: New files.
7870
7871 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7872
7873 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7874 assume new `regsub' syntax available.
7875
7876 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7877
7878 * gdb.base/watchpoint-hw-hit-once.exp,
7879 gdb.base/watchpoint-hw-hit-once.c: New.
7880
7881 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7882
7883 * gdb.threads/watchthreads-reorder.exp,
7884 gdb.threads/watchthreads-reorder.c: New.
7885
7886 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7887
7888 * gdb.xml/tdesc-regs.exp: Use for m68k.
7889
7890 2009-11-15 Pedro Alves <pedro@codesourcery.com>
7891
7892 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7893
7894 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7895
7896 * lib/gdb.exp (current_target_name): New procedure.
7897 (gdb_wrapper_target): New variable.
7898 (gdb_wrapper_init): Set gdb_wrapper_target.
7899 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7900 wrapper.
7901
7902 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7903
7904 * gdb.base/remote.exp: Delete the slowest load test.
7905 Do not load with fixed packet sizes.
7906
7907 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7908
7909 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7910
7911 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7912
7913 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7914 srcfile when setting a breakpoint.
7915
7916 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7917
7918 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7919 macros.
7920
7921 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7922
7923 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7924 to be in memory.
7925 * gdb.base/display.c (force_mem): New.
7926 (do_loops): Use it. Add breakpoint comments.
7927 (do_vars): Add a breakpoint comment.
7928 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7929 line numbers.
7930
7931 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7932
7933 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7934 instead of a bare "run".
7935
7936 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7937
7938 * gdb.python/py-prettyprint.exp: Adjust.
7939
7940 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7941
7942 * lib/cell.exp (skip_cell_tests): Clean up test files before
7943 returning.
7944
7945 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7946
7947 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7948 and the breakpoint menu. Do not call perror if a prompt is seen.
7949 Consume the following GDB prompt.
7950 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7951 * gdb.cp/namespace.exp: Use gdb_test.
7952 * gdb.cp/templates.exp: Use gdb_test.
7953 (test_template_breakpoints): Use gdb_test_multiple.
7954
7955 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7956
7957 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7958 (marker4): Reference values.
7959
7960 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7961
7962 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7963 is missing.
7964
7965 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7966
7967 * gdb.base/break.c (need_malloc): New.
7968 * gdb.base/constvars.c (main): Reference crass and crisp.
7969 * gdb.base/gdb1821.c (main): Reference bar.
7970 * gdb.cp/gdb1355.cc (main): Reference s1.
7971 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7972 (main): Call them.
7973 * gdb.cp/hang2.cc (dummy2): Define.
7974 * gdb.cp/hang3.cc (dummy3): Define.
7975 * gdb.cp/m-data.cc (main): Reference shadow.
7976
7977 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7978 Nathan Froyd <froydnj@codesourcery.com>
7979
7980 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7981 remote host.
7982
7983 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7984
7985 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7986 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7987 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7988 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7989 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7990 * gdb.dwarf2/dw2-producer.exp: Likewise.
7991 * gdb.dwarf2/mac-fileno.exp: Likewise.
7992 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7993 py-prettyprint.py to the remote host.
7994 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7995
7996 2009-11-11 Keith Seitz <keiths@redhat.com>
7997
7998 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7999 use it instead of "Foo".
8000 * gdb.cp/classes.exp (do_tests): Add a test to access
8001 a method through a typedef'd class name.
8002
8003 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
8004
8005 * gdb.base/long_long.exp: Permit leading zeros on floating-point
8006 exponents.
8007 * gdb.base/pointers.exp: Likewise.
8008 * gdb.cp/ref-types.exp: Likewise.
8009
8010 2009-11-11 Keith Seitz <keiths@redhat.com>
8011
8012 * gdb.cp/cplusfuncs.cc (class foo): Add operators
8013 new[] and delete[].
8014 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
8015 "void".
8016 (probe_demangler): Remove all single-quoting of
8017 method and variable names.
8018 (info_func_regexp): Remove the word "void" from any
8019 occurrence of "(void)".
8020 (print_addr_2): Remove all single-quoting of
8021 method names.
8022 (print_addr_2_kfail): Likewise.
8023 (print_addr): Single-quote C function names before
8024 passing to print_addr_2.
8025 (test_paddr_operator_functions): Remove single-quoting
8026 for method names.
8027 Add tests for operator new[] and operator delete[].
8028
8029 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8030
8031 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
8032
8033 2009-11-09 Keith Seitz <keiths@redhat.com>
8034
8035 * gdb.cp/overload.exp: Add tests for resolving overloaded
8036 methods in expression parsing/evaluation.
8037
8038 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
8039
8040 * lib/gdb.exp (default_gdb_version): Use --version instead of
8041 --command.
8042
8043 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
8044
8045 * lib/gdb.exp (gdb_compile_test): New.
8046 (skip_ada_tests, skip_java_tests): New.
8047 (gdb_compile): Use gdb_compile_test for f77.
8048 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
8049 * lib/java.exp (compile_java_from_source): Remove runtests check,
8050 use gdb_compile_test to record result.
8051 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
8052 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
8053 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
8054 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
8055 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
8056 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
8057 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
8058 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
8059 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
8060 adjust gdb_compile invocations.
8061
8062 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8063
8064 * Makefile.in (abs_builddir): New.
8065 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
8066 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
8067 `$(abs_builddir)/site.exp'.
8068
8069 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
8070
8071 * config/m68k-emc.exp, lib/emc-support.exp,
8072 gdb.trace/gdb_c_test.c: Delete.
8073 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
8074 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8075 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8076 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8077 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8078 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
8079 casing for m68k-*-elf.
8080
8081 2009-11-03 Pedro Alves <pedro@codesourcery.com>
8082
8083 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
8084 * gdb.arch/i386-prologue.exp: Likewise.
8085 * gdb.arch/i386-unwind.exp: Likewise.
8086
8087 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8088
8089 * lib/gdb.exp (gdb_expect): Fix timeout typo.
8090
8091 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8092
8093 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
8094
8095 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
8096
8097 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
8098
8099 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8100
8101 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
8102
8103 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8104
8105 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
8106 * gdb.base/sepdebug2.c: New file.
8107
8108 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8109
8110 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
8111 the modified warnings for catch syscall. Verify if GDB was compiled
8112 with support for lib expat, and choose which tests to run depending
8113 on this.
8114
8115 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
8116
8117 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
8118 that composite commands are parsed OK. And also test
8119 that breakpoint commands do work.
8120
8121 2009-10-23 Michael Snyder <msnyder@vmware.com>
8122
8123 gdb.reverse/consecutive-precsave.exp: Change expect pattern
8124 to allow for new disassembly style.
8125
8126 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8127
8128 * gdb.asm/asm-source.exp: Adjust.
8129
8130 2009-10-22 Michael Snyder <msnyder@vmware.com>
8131
8132 * gdb.reverse/break-precsave.exp: New test.
8133 * gdb.reverse/consecutive-precsave.exp: Ditto.
8134 * gdb.reverse/finish-precsave.exp: Ditto.
8135 * gdb.reverse/i386-precsave.exp: Ditto.
8136 * gdb.reverse/machinestate-precsave.exp: Ditto.
8137 * gdb.reverse/sigall-precsave.exp: Ditto.
8138 * gdb.reverse/solilb-precsave.exp: Ditto.
8139 * gdb.reverse/step-precsave.exp: Ditto.
8140 * gdb.reverse/until-precsave.exp: Ditto.
8141 * gdb.reverse/watch-precsave.exp: Ditto.
8142
8143 2009-10-22 Michael Snyder <msnyder@vmware.com>
8144
8145 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
8146 for gdb_expect. Adjust one test's expect strings for the new
8147 format of disassemble.
8148 * gdb.reverse/finish-reverse.exp: Delete 'return'.
8149 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
8150 gdb_test_multiple.
8151 * gdb.reverse/step-reverse.exp: Delete 'return'.
8152 * gdb.reverse/until-reverse.exp: Delete blank lines.
8153 * gdb.reverse/watch-reverse.exp: Delete blank lines.
8154
8155 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
8156
8157 * gdb.base/consecutive.exp: Adjust.
8158 * gdb.base/display.exp: Likewise.
8159 * gdb.base/pc-fp.exp: Likewise.
8160 * gdb.base/sigbpt.exp: Likewise.
8161
8162 2009-10-19 Michael Snyder <msnyder@vmware.com>
8163
8164 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
8165 * gdb.reverse/finish-reverse.c: Ditto.
8166 * gdb.reverse/sigall-reverse.c: Ditto.
8167 * gdb.reverse/solib-reverse.c: Ditto.
8168 * gdb.reverse/step-reverse.c: Ditto.
8169 * gdb.reverse/watch-reverse.c: Ditto.
8170
8171 2009-10-19 Pedro Alves <pedro@codesourcery.com>
8172 Stan Shebs <stan@codesourcery.com>
8173
8174 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
8175 * gdb.base/foll-exec.exp: Adjust to expect a process id before
8176 "Executing new program".
8177 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
8178 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
8179 left listed after having been killed.
8180 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
8181 * gdb.base/maint.exp: Adjust test.
8182
8183 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
8184 * gdb.multi/Makefile.in: New.
8185 * gdb.multi/base.exp: New.
8186 * gdb.multi/goodbye.c: New.
8187 * gdb.multi/hangout.c: New.
8188 * gdb.multi/hello.c: New.
8189 * gdb.multi/bkpt-multi-exec.c: New.
8190 * gdb.multi/bkpt-multi-exec.exp: New.
8191 * gdb.multi/crashme.c: New.
8192
8193 2009-10-13 Tristan Gingold <gingold@adacore.com>
8194
8195 * gdb.base/sepdebug.exp: Check debug info are found.
8196
8197 2009-10-08 Pedro Alves <pedro@codesourcery.com>
8198
8199 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
8200 bits.
8201
8202 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8203
8204 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
8205
8206 2009-10-07 Joel Brobecker <brobecker@adacore.com>
8207
8208 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8209 of the comments.
8210
8211 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8212
8213 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8214 * gdb.base/annota3.exp: Idem.
8215 * gdb.base/maint.exp: Idem.
8216
8217 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8218
8219 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8220 to default.
8221
8222 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8223
8224 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
8225 mingw and cygwin targets.
8226
8227 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8228 Pedro Alves <pedro@codesourcery.com>
8229
8230 * lib/gdb.exp (gdb_compile): Avoid adding
8231 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8232
8233 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8234
8235 * gdb.base/shr1.c: Use %p in format string.
8236 * gdb.base/unload.c: Avoid warning in fprintf.
8237 * gdb.base/watchpoint-solib.c: Idem.
8238
8239 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8240
8241 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8242 long type.
8243 (test_unlink): Correct printf string.
8244 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8245 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8246
8247 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8250 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8251 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8252
8253 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8254
8255 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8256 * gdb.objc/nondebug.exp: Likewise.
8257
8258 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8259
8260 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8261 target_info setting.
8262
8263 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8264 that detect new threads during "info threads".
8265
8266 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8267
8268 * gdb.threads/manythreads.c (main): Increase thread stack size
8269 to 2*PTHREAD_STACK_MIN.
8270 * gdb.threads/multi-create.c (main): Likewise.
8271 (create_function): Likewise.
8272
8273 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8274
8275 * gdb.base/dump.exp: Pass difference of pointer types instead
8276 of integer types as offset to restore in intarr3.srec case.
8277
8278 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8279
8280 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8281
8282 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8283
8284 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8285
8286 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
8287
8288 New test for two watchpoints, with disabling of
8289 the first inserted.
8290 * testsuite/gdb.base/watchpoints.c: New file.
8291 * testsuite/gdb.base/watchpoints.exp: New file.
8292
8293 2009-09-25 Tom Tromey <tromey@redhat.com>
8294
8295 * gdb.base/charset.exp: Test utf-16 strings with Python.
8296
8297 2009-09-25 Tom Tromey <tromey@redhat.com>
8298
8299 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8300 UCS-4.
8301 * gdb.base/charset.c (utf_32_string): Rename.
8302 (init_utf32): Rename.
8303 (main): Update.
8304
8305 2009-09-22 Tom Tromey <tromey@redhat.com>
8306
8307 * gdb.python/py-function.exp: Add regression tests.
8308
8309 2009-09-21 Keith Seitz <keiths@redhat.com>
8310
8311 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8312 with invalid operator.
8313
8314 2009-09-21 Keith Seitz <keiths@redhat.com>
8315
8316 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8317 and destructor using typedef name of class.
8318 * gdb.cp/classes.cc (class Base1): Add a destructor.
8319 (base1): New typedef.
8320 (use_methods): Instanitate an object of type base1.
8321 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8322 (do_tests): Call test_template_typedef.
8323 * gdb.cp/templates.cc (Baz::~Baz): New method.
8324 (intBazOne): New typedef.
8325 (main): Instantiate intBazOne.
8326
8327 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8328
8329 PR python/10633
8330
8331 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8332 Function.
8333 (run_lang_tests): Add print elements test.
8334
8335 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8336
8337 * gdb.python/py-value.exp (test_subscript_regression): New
8338 function. Test for invalid subscripts.
8339 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8340 (ptr_ref): New function.
8341
8342 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8343
8344 * gdb.base/default.exp: Fix "show convenience".
8345
8346 2009-09-15 Tom Tromey <tromey@redhat.com>
8347
8348 * lib/mi-support.exp (mi_create_varobj): Update.
8349 (mi_create_floating_varobj): Likewise.
8350 (mi_create_dynamic_varobj): New proc.
8351 (mi_varobj_update): Update.
8352 (mi_varobj_update_with_type_change): Likewise.
8353 (mi_varobj_update_kv_helper): New proc.
8354 (mi_varobj_update_dynamic_helper): Rewrite.
8355 (mi_varobj_update_dynamic): New proc.
8356 (mi_list_varobj_children): Update.
8357 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8358 * gdb.python/python-prettyprint.py (pp_outer): New class.
8359 (pp_nullstr): Likewise.
8360 (lookup_function): Register new printers.
8361 * gdb.python/python-prettyprint.c (struct substruct): New type.
8362 (struct outerstruct): Likewise.
8363 (substruct_test): New function.
8364 (struct nullstr): New type.
8365 (string_1, string_2): New globals.
8366 (main): Add new tests.
8367 * gdb.python/python-mi.exp: Added regression tests.
8368 * gdb.mi/mi2-var-display.exp: Update.
8369 * gdb.mi/mi2-var-cmd.exp: Update.
8370 * gdb.mi/mi2-var-child.exp: Update.
8371 * gdb.mi/mi2-var-block.exp: Update.
8372 * gdb.mi/mi-var-invalidate.exp: Update.
8373 * gdb.mi/mi-var-display.exp: Update.
8374 * gdb.mi/mi-var-cmd.exp: Update.
8375 * gdb.mi/mi-var-child.exp: Update.
8376 * gdb.mi/mi-var-block.exp: Update.
8377 * gdb.mi/mi-break.exp: Update.
8378 * gdb.mi/gdb701.exp: Update.
8379
8380 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8381
8382 * Makefile.in: Inclusion of catch-syscall object.
8383 * gdb.base/catch-syscall.c: New file.
8384 * gdb.base/catch-syscall.exp: New file.
8385
8386 2009-09-12 Michael Snyder <msnyder@vmware.com>
8387
8388 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8389 that can support reverse debuggnig.
8390
8391 2009-09-11 Tom Tromey <tromey@redhat.com>
8392
8393 * gdb.dwarf2/valop.S: New file.
8394 * gdb.dwarf2/valop.exp: New file.
8395
8396 2009-09-11 Mark Kettenis <kettenis@gnu.org>
8397
8398 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8399
8400 2009-09-10 Doug Evans <dje@google.com>
8401
8402 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8403 Add $gdb_prompt to second breakpoint regexp.
8404
8405 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8406
8407 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8408 names, add missing ones.
8409 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8410 * gdb.python/py-frame.c: Rename from python-frame.c.
8411 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8412 testfile name.
8413 * gdb.python/py-function.exp: Rename from python-function.exp.
8414 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8415 testfile name.
8416 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8417 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8418 Adjust testfile name.
8419 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8420 * gdb.python/py-template.cc: Rename from python-template.cc.
8421 * gdb.python/py-template.exp: Rename from python-template.exp.
8422 Adjust testfile name.
8423 * gdb.python/py-value.c: Rename from python-value.c.
8424 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8425 testfile name.
8426
8427 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8428
8429 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8430 $bpt2address.
8431 (Second breakpoint address is valid on ia64)
8432 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8433
8434 2009-09-03 Joseph Myers <joseph@codesourcery.com>
8435
8436 * gdb.base/ending-run.exp: Restrict regular expression matching
8437 line number to require closing brace following.
8438
8439 2009-09-03 Doug Evans <dje@google.com>
8440
8441 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8442
8443 2009-09-02 Tom Tromey <tromey@redhat.com>
8444
8445 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8446
8447 2009-09-02 Tom Tromey <tromey@redhat.com>
8448
8449 * gdb.dwarf2/callframecfa.exp: New file.
8450 * gdb.dwarf2/callframecfa.S: New file.
8451
8452 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8453
8454 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8455 gdb.base/solib-overlap-main.c: New.
8456
8457 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8458
8459 PR gdb/10565
8460
8461 * gdb.base/bitfields.c (struct container, container): New.
8462 (main): Initialize it and call break5.
8463 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8464
8465 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8466
8467 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8468 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8469
8470 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8471
8472 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8473
8474 2009-08-26 Michael Snyder <msnyder@vmware.com>
8475
8476 * gdb.base/i386-reverse.c: New file.
8477 * gdb.base/i386-reverse.exp: New file.
8478 * gdb.base/Makefile.in: Add new files to be removed.
8479
8480 2009-08-26 Joseph Myers <joseph@codesourcery.com>
8481
8482 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8483 environment-pwd for remote host.
8484 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8485
8486 2009-08-24 Keith Seitz <keiths@redhat.com>
8487
8488 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8489 Add two new C++ completer tests which limit the output to a
8490 given class.
8491
8492 2009-08-24 Michael Snyder <msnyder@vmware.com>
8493
8494 * gdb.base/del.exp: Fix typo in comment.
8495 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8496
8497 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8498
8499 * configure: Regenerate.
8500 * gdb.hp/configure: Likewise.
8501 * gdb.hp/gdb.aCC/configure: Likewise.
8502 * gdb.hp/gdb.base-hp/configure: Likewise.
8503 * gdb.hp/gdb.compat/configure: Likewise.
8504 * gdb.hp/gdb.defects/configure: Likewise.
8505 * gdb.hp/gdb.objdbg/configure: Likewise.
8506 * gdb.stabs/configure: Likewise.
8507
8508 2009-08-19 Doug Evans <dje@google.com>
8509
8510 * gdb.base/gdbvars.c: New file.
8511 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8512
8513 2009-08-14 Pedro Alves <pedro@codesourcery.com>
8514
8515 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8516 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8517
8518 2009-08-13 Pedro Alves <pedro@codesourcery.com>
8519
8520 * gdb.base/default.exp: Adjust "set language test": it's now an
8521 enum command. Larger help string moved to "help set language".
8522 * gdb.base/help.exp: Adjust "help set language" expected output,
8523 now lists all known languages.
8524
8525 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8526
8527 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8528 all frame arguments.
8529 * gdb.arch/altivec-regs.exp: Likewise.
8530
8531 2009-08-07 Tom Tromey <tromey@redhat.com>
8532
8533 * gdb.base/setshow.exp: Add tests for changes to set language, set
8534 check range, and set check type.
8535
8536 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8537
8538 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8539 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
8540 Call it.
8541
8542 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8543
8544 * configure.ac: Run gdb.cell tests when appropriate.
8545 * configure: Regenerate.
8546 * lib/cell.exp: New file.
8547 * gdb.cell: New directory.
8548 * gdb.cell/configure.ac: New file.
8549 * gdb.cell/configure: New file.
8550 * gdb.cell/Makefile.in: New file.
8551 * gdb.cell/arch.exp: New file.
8552 * gdb.cell/break.c: New file.
8553 * gdb.cell/break.exp: New file.
8554 * gdb.cell/break-spu.c: New file.
8555 * gdb.cell/bt.c: New file.
8556 * gdb.cell/bt2-spu.c: New file.
8557 * gdb.cell/bt-spu.c: New file.
8558 * gdb.cell/bt.exp: New file.
8559 * gdb.cell/coremaker.c: New file.
8560 * gdb.cell/coremaker-spu.c: New file.
8561 * gdb.cell/core.exp: New file.
8562 * gdb.cell/gcore.exp: New file.
8563 * gdb.cell/data.c: New file.
8564 * gdb.cell/data.exp: New file.
8565 * gdb.cell/data-spu.c: New file.
8566 * gdb.cell/ea-cache.exp: New file.
8567 * gdb.cell/ea-cache.c: New file.
8568 * gdb.cell/ea-cache-spu.c: New file.
8569 * gdb.cell/ea-standalone.c: New file.
8570 * gdb.cell/ea-standalone.exp: New file.
8571 * gdb.cell/ea-test.c: New file.
8572 * gdb.cell/ea-test.exp: New file.
8573 * gdb.cell/f-regs.exp: New file.
8574 * gdb.cell/mem-access.c: New file.
8575 * gdb.cell/mem-access.exp: New file.
8576 * gdb.cell/mem-access-spu.c: New file.
8577 * gdb.cell/ptype.exp: New file.
8578 * gdb.cell/registers.exp: New file.
8579 * gdb.cell/size.c: New file.
8580 * gdb.cell/sizeof.exp: New file.
8581 * gdb.cell/size-spu.c: New file.
8582 * gdb.cell/solib.exp: New file.
8583 * gdb.cell/solib-symbol.exp: New file.
8584
8585 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8586
8587 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8588
8589 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8590
8591 * gdb.base/float.exp: Handle VFP registers.
8592
8593 2009-07-14 Michael Snyder <msnyder@vmware.com>
8594
8595 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8596 to bring gdb to the beginning of the calling line.
8597
8598 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8599 confusing the i386 epilogue unwinder.
8600
8601 2009-07-14 Stan Shebs <stan@codesourcery.com>
8602
8603 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8604
8605 2009-07-14 Michael Snyder <msnyder@vmware.com>
8606
8607 * gdb.reverse/step-reverse.exp (stepi into function call):
8608 Call instruction may not be first instruction in the line.
8609 (reverse stepi from a function call): Used wrong line number.
8610
8611 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8612
8613 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8614
8615 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8616
8617 Fix gdb.base/macscp.exp when using custom inputrc.
8618 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8619 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8620 env(TERM) set.
8621 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8622 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8623
8624 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8625
8626 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8627 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8628 Change the compilation target to match the testcase name.
8629 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8630 testcase name.
8631 * a2-run.exp: Use for setup prepare_for_testing. Change the
8632 compilation target to match the testcase name.
8633 * gdb.base/commands.exp: Likewise.
8634 * gdb.base/finish.exp: Likewise.
8635 * gdb.base/float.exp: Likewise.
8636 * gdb.base/info-target.exp: Likewise.
8637 * gdb.base/relational.exp: Likewise.
8638 * gdb.base/term.exp: Likewise.
8639 * gdb.base/until.exp: Likewise.
8640 * gdb.base/volatile.exp: Likewise.
8641 * gdb.base/whatis-exp.exp: Likewise.
8642
8643 2009-07-11 Hui Zhu <teawater@gmail.com>
8644
8645 * gdb.base/help.exp (disassemble): Update expected help text.
8646
8647 2009-07-09 Tom Tromey <tromey@redhat.com>
8648
8649 * lib/gdb.exp: Handle TRANSCRIPT.
8650 (remote_spawn, remote_close, send_gdb): New procs.
8651
8652 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8653
8654 * gdb.python/python-prettyprint.c: Add counted null string
8655 structure.
8656 * gdb.python/python-prettyprint.exp: Print null string. Test for
8657 embedded nulls.
8658 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8659 * gdb.python/python-value.exp (test_value_in_inferior): Add
8660 variable length string fetch tests.
8661 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8662
8663 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8664
8665 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8666
8667 2009-07-07 Tom Tromey <tromey@redhat.com>
8668
8669 * gdb.base/call-rt-st.exp: Update for change to escape output.
8670 * gdb.base/callfuncs.exp: Likewise.
8671 * gdb.base/charset.exp: Likewise.
8672 * gdb.base/constvars.exp: Likewise.
8673 * gdb.base/long_long.exp: Likewise.
8674 * gdb.base/pointers.exp: Likewise.
8675 * gdb.base/printcmds.exp: Likewise.
8676 * gdb.base/setvar.exp: Likewise.
8677 * gdb.base/store.exp: Likewise.
8678 * gdb.cp/ref-types.exp: Likewise.
8679 * gdb.mi/mi-var-child.exp: Likewise.
8680 * gdb.mi/mi-var-display.exp: Likewise.
8681 * gdb.mi/mi2-var-display.exp: Likewise.
8682 * gdb.base/charset.exp: Test octal escape sequence length.
8683 Update for change to escape output.
8684
8685 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8686
8687 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8688
8689 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8690
8691 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8692
8693 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8696 gdbserver increasing $portnum if "Can't bind address" has been seen.
8697
8698 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8699
8700 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8701 mingw32ce.
8702
8703 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8704
8705 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8706 VFP format.
8707
8708 2009-07-02 Pedro Alves <pedro@codesourcery.com>
8709
8710 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8711 linux. Adjust to use "inferior", "info inferiors", "detach
8712 inferior" and "kill inferior" instead of "restart", "info fork",
8713 "detach fork" and "delete fork".
8714 * gdb.base/ending-run.exp: Spell out "info".
8715 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8716 the "kill" command.
8717
8718 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8719
8720 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8721 change to prefix TLS offset in hex with 0x.
8722
8723 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8724
8725 * gdb.base/default.exp: Update test case for "x" changes.
8726
8727 2009-07-01 Tristan Gingold <gingold@adacore.com>
8728
8729 * gdb.base/bigcore.exp: Make darwin untested.
8730
8731 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8732
8733 * gdb.base/completion.exp (directory completion): Create the directory.
8734 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8735 escapeuniquesub.
8736 (directory completion 2): Expect now ${escapeuniquesub}.
8737 (Glob remaining of directory test): Remove one excessive newline.
8738 Expect the real output.
8739
8740 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8741
8742 Fix `make check//%' target after `make check' has been ran.
8743 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8744 a mkdir call.
8745 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8746 (%/.dir): Remove.
8747
8748 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8749
8750 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8751 the expected result record.
8752
8753 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8754
8755 Remove racy FAILs relying just on the timeouts.
8756 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8757 (annotation_level 2): Remove racy FAILs.
8758
8759 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8760
8761 gdb/10275
8762 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8763
8764 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8765
8766 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8767
8768 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8769
8770 * gdb.mi/mi-stack.exp: Testing symbolic options
8771 to -stack-list-locals and -stack-list-arguments.
8772
8773 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8776
8777 2009-06-29 Tom Tromey <tromey@redhat.com>
8778
8779 * dg-extract-results.sh: New file.
8780 * Makefile.in (FORCE_PARALLEL): New variable.
8781 (CHECK_TARGET): New conditional variable.
8782 (check): Use CHECK_TARGET.
8783 (DO_RUNTEST): New variable.
8784 (check-single): New target.
8785 (TEST_DIRS): New variable.
8786 (TEST_TARGETS): Likewise.
8787 (check-parallel): New target.
8788 (check-gdb.%): New pattern.
8789 (BASE1_FILES): New variable.
8790 (BASE2_FILES): Likewise.
8791 (check-gdb.base%): New pattern.
8792 (%/.dir): New pattern.
8793 * configure: Rebuild.
8794 * aclocal.m4 (AM_CONDITIONAL): New defun.
8795 * configure.ac: Check whether user is using GNU make.
8796 (GMAKE): New conditional.
8797
8798 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8799
8800 * gdb.cp/namespace-nested-import.cc: New test.
8801 * gdb.cp/namespace-nested-import.exp: New test.
8802
8803 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8804
8805 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8806 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8807 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8808 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8809 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8810 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8811 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8812 gdb.opt/inline-markers.c: New files.
8813 * lib/gdb.exp (skip_inline_frame_tests): New function.
8814 (skip_inline_var_tests): New function.
8815
8816 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8817
8818 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8819 backtrace.
8820
8821 2009-06-27 Michael Snyder <msnyder@vmware.com>
8822
8823 * gdb.reverse: New directory.
8824 * gdb.reverse/break-reverse.c: New test.
8825 * gdb.reverse/break-reverse.exp: New test.
8826 * gdb.reverse/consecutive-reverse.c: New test.
8827 * gdb.reverse/consecutive-reverse.exp: New test.
8828 * gdb.reverse/finish-reverse.c: New test.
8829 * gdb.reverse/finish-reverse.exp: New test.
8830 * gdb.reverse/machinestate.c: New test.
8831 * gdb.reverse/ms1.c: New test.
8832 * gdb.reverse/machinestate.exp: New test.
8833 * gdb.reverse/Makefile.in: New file.
8834 * gdb.reverse/shr2.c: New test.
8835 * gdb.reverse/solib-reverse.c: New test.
8836 * gdb.reverse/solib-reverse.exp: New test.
8837 * gdb.reverse/step-reverse.c: New test.
8838 * gdb.reverse/step-reverse.exp: New test.
8839 * gdb.reverse/until-reverse.c: New test.
8840 * gdb.reverse/ur1.c: New test.
8841 * gdb.reverse/until-reverse.exp: New test.
8842 * gdb.reverse/watch-reverse.c: New test.
8843 * gdb.reverse/watch-reverse.exp: New test.
8844 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8845 * configure: Regenerate.
8846
8847 2009-06-26 Doug Evans <dje@google.com>
8848
8849 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8850
8851 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8852
8853 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8854 windows problem for 'file delete $binfile'.
8855
8856 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8857
8858 * gdb.cp/namespace-using.exp: New test.
8859 * gdb.cp/namespace-using.cc: New test.
8860
8861 2009-05-20 Joel Brobecker <brobecker@adacore.com>
8862
8863 * gdb.ada/variant_record_packed_array: New testcase.
8864
8865 2009-06-23 Tom Tromey <tromey@redhat.com>
8866
8867 * gdb.base/charset.exp (test_combination): Regression test.
8868 * gdb.base/charset.c (my_wchar_t): New typedef.
8869 (myvar): New global.
8870 (main): Set myvar.
8871
8872 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8873
8874 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8875 target.
8876
8877 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8878
8879 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8880
8881 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8882
8883 * gdb.mi/gdb680.exp: Update test for error message.
8884
8885 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8886
8887 * gdb.base/annota1.exp: Allow multiple occurrences of the
8888 frames-invalid annotation.
8889 * gdb.cp/annota2.exp: Likewise.
8890
8891 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8892
8893 * gdb.cp/gdb2495.cc: New file.
8894 * gdb.cp/gdb2495.exp: New file.
8895
8896 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8897
8898 Report error on GDB crash during runto.
8899 * lib/gdb.exp (runto <eof>): New.
8900
8901 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8902
8903 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8904 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8905 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8906 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8907 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8908 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8909 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8910 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8911 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8912 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8913 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8914 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8915 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8916 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8917 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8918 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8919 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8920 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8921 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8922 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8923 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8924 gdb.trace/passcount.exp, gdb.trace/report.exp,
8925 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8926 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8927 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8928 executable.
8929
8930 2009-06-07 Pedro Alves <pedro@codesourcery.com>
8931
8932 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8933 defined before referencing it.
8934
8935 2009-06-03 Doug Evans <dje@google.com>
8936
8937 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8938 * gdb.arch/i386-see.c: Ditto.
8939
8940 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8941
8942 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8943 (check_macro): Return 1 if undefined.
8944 If first test fails, check if macro debug information is available,
8945 and report unsupported test if no macro information is found.
8946
8947 2009-05-29 Doug Evans <dje@google.com>
8948
8949 * gdb.threads/hand-call-in-threads.exp: New.
8950 * gdb.threads/hand-call-in-threads.c: New.
8951
8952 2009-05-29 Michael Snyder <msnyder@vmware.com>
8953
8954 * gdb.base/break-always.exp: Change "1" to "on".
8955 Add confirmation check.
8956
8957 2009-05-28 Pedro Alves <pedro@codesourcery.com>
8958
8959 * gdb.threads/threxit-hop-specific.c: New.
8960 * gdb.threads/threxit-hop-specific.exp: New.
8961 * gdb.threads/thread-execl.c: New.
8962 * gdb.threads/thread-execl.exp: New.
8963
8964 2009-05-27 Tom Tromey <tromey@redhat.com>
8965 Thiago Jung Bauermann <bauerman@br.ibm.com>
8966
8967 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8968 (mi_child_regexp): Likewise.
8969 (mi_list_varobj_children_range): Likewise.
8970 (mi_get_features): Likewise.
8971 (mi_list_varobj_children): Rewrite.
8972 * gdb.python/python-mi.exp: New file.
8973
8974 2009-05-27 Tom Tromey <tromey@redhat.com>
8975 Thiago Jung Bauermann <bauerman@br.ibm.com>
8976 Phil Muldoon <pmuldoon@redhat.com>
8977 Paul Pluzhnikov <ppluzhnikov@google.com>
8978
8979 * gdb.python/python-prettyprint.exp: New file.
8980 * gdb.python/python-prettyprint.c: New file.
8981 * gdb.python/python-prettyprint.py: New file.
8982 * gdb.base/display.exp: print/r is now valid.
8983
8984 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8985 Tom Tromey <tromey@redhat.com>
8986 Pedro Alves <pedro@codesourcery.com>
8987 Paul Pluzhnikov <ppluzhnikov@google.com>
8988
8989 * gdb.python/python-template.exp: New file.
8990 * gdb.python/python-template.cc: New file.
8991 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8992 tests.
8993 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8994 Call it.
8995 (test_value_after_death): New proc.
8996 * gdb.python/python-value.c (PTR): New typedef.
8997 (main): New variable 'x'.
8998
8999 2009-05-27 Tom Tromey <tromey@redhat.com>
9000
9001 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
9002 tests.
9003 * gdb.python/python-value.exp (py_objfile_tests): New proc.
9004 Call it.
9005
9006 2009-05-27 Pedro Alves <pedro@codesourcery.com>
9007
9008 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
9009
9010 2009-05-24 Pedro Alves <pedro@codesourcery.com>
9011
9012 * gdb.threads/fork-thread-pending.c: New.
9013 * gdb.threads/fork-thread-pending.exp: New.
9014
9015 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9016
9017 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
9018 * gdb.dwarf2/dw2-strp.S (a_string2): New.
9019
9020 2009-05-18 Jon Beniston <jon@beniston.com>
9021
9022 * gdb.asm/asm-source.exp: Add lm32 target.
9023
9024 2009-05-17 Pedro Alves <pedro@codesourcery.com>
9025
9026 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
9027 `gdb_get_line_number'. Call `callee' in both parent and child.
9028 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
9029 `gdb_get_line_number' instead of hardcoding line numbers.
9030 (catch_fork_unpatch_child): New procedure to test detaching
9031 breakpoints from child fork.
9032 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
9033 hardcoding line numbers.
9034 (do_fork_tests): Run `catch_fork_unpatch_child'.
9035
9036 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
9037
9038 * gdb.mi/mi-cmd-var.exp: Check that when varobj
9039 of structure type enters or leaves the scope, it
9040 is reported by -var-update.
9041
9042 2009-05-11 Doug Evans <dje@sebabeach.org>
9043
9044 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
9045 * gdb.threads/pending-step.c (main): Fix off-by-one error.
9046 * gdb.threads/schedlock.c (main): Fix off-by-one error.
9047
9048 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9049
9050 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
9051
9052 2009-04-30 Doug Evans <dje@google.com>
9053
9054 * gdb.threads/watchthreads2.exp: New testcase.
9055 * gdb.threads/watchthreads2.c: New testcase.
9056
9057 2009-04-29 Doug Evans <dje@google.com>
9058
9059 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
9060 * gdb.cp/mb-ctor.cc: Ditto.
9061 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
9062 * gdb.cp/mb-inline.h (multi_line_foo): New function.
9063 * gdb.cp/mb-inline1.cc: Call it.
9064 * gdb.cp/mb-inline2.cc: Ditto.
9065 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
9066 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
9067
9068 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9069
9070 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
9071 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
9072 Replace all uses of `decimal' by `nonzero'.
9073 (info macro FROM_COMMANDLINE): New test.
9074
9075 2009-04-27 Tom Tromey <tromey@redhat.com>
9076
9077 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
9078
9079 2009-04-27 Doug Evans <dje@google.com>
9080
9081 * gdb.threads/watchthreads.c (main): Initialize args before starting
9082 the threads. Plus formatting cleanup.
9083 * gdb.threads/watchthreads.exp: Avoid errant failures due to
9084 biased scheduling of one thread.
9085
9086 2009-04-27 Jerome Guitton <guitton@adacore.com>
9087
9088 * gdb.cp/templates.cc (GetMax): New template.
9089 (main): Declare two instances of GetMax.
9090 * gdb.cp/templates.exp: Add new test.
9091
9092 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9093
9094 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
9095
9096 2009-04-22 Joseph Myers <joseph@codesourcery.com>
9097
9098 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
9099
9100 2009-04-15 Tom Tromey <tromey@redhat.com>
9101
9102 * gdb.base/charset.exp: Add regression test.
9103
9104 2009-04-14 Joel Brobecker <brobecker@adacore.com>
9105
9106 * gdb.base/exe-lock.exp: New testcase.
9107
9108 2009-04-13 Tom Tromey <tromey@redhat.com>
9109
9110 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
9111 operator on Frame.
9112
9113 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9114
9115 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
9116 * gdb.server/ext-attach.exp: Likewise.
9117
9118 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
9119
9120 Eliminate some sleep usage.
9121
9122 * gdb.mi/basics.c (do_nothing): New.
9123 (main): Use do_nothing instead of printf, so that
9124 not to introduce race condition between output of
9125 inferiour and output of gdb. Do not use sleep as it
9126 is not generally available on embedded targets.
9127
9128 2009-04-02 Pedro Alves <pedro@codesourcery.com>
9129
9130 * gdb.server/ext-attach.exp: Expect an optional process id after
9131 "Detached from remote process".
9132
9133 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9134
9135 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
9136 gdb.dwarf2/dw2-unresolved.exp: New.
9137
9138 2009-04-02 Pedro Alves <pedro@codesourcery.com>
9139
9140 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
9141 mi_run_to_main.
9142
9143 2009-04-02 Pedro Alves <pedro@codesourcery.com>
9144
9145 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
9146 mi_run_to_main. Skip thread exit test on remote targets.
9147 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
9148 mi_run_to_main.
9149 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
9150 mi_run_to_main.
9151 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
9152 when expecting ^connected. Detect when the target doesn't support
9153 non-stop mode.
9154 (mi_run_cmd): Detect if non-stop mode was requested by isn't
9155 supported. Return -1 on error, 0 on success.
9156 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
9157 (mi_runto): Return mi_runto_helper's result explicitly.
9158
9159 2009-04-01 Pedro Alves <pedro@codesourcery.com>
9160
9161 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
9162
9163 2009-04-01 Tom Tromey <tromey@redhat.com>
9164
9165 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
9166 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
9167 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
9168 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
9169
9170 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
9171 Jan Kratochvil <jan.kratochvil@redhat.com>
9172
9173 PR gdb/931
9174 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
9175 output.
9176 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
9177 for gdb/931.
9178 * dw2-strp.S (DW_AT_language): Change to C++.
9179 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
9180
9181 2009-03-31 Joel Brobecker <brobecker@adacore.com>
9182
9183 * gdb.ada/tasks: New testcase.
9184
9185 2009-03-30 Stan Shebs <stan@codesourcery.com>
9186
9187 * gdb.trace/actions.exp: Update to match new info trace format.
9188 * gdb.trace/deltrace.exp: Ditto.
9189 * gdb.trace/infotrace.exp: Ditto.
9190 * gdb.trace/passcount.exp: Ditto.
9191 * gdb.trace/save-trace.exp: Ditto.
9192 * gdb.trace/while-stepping.exp: Ditto.
9193 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
9194
9195 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9196
9197 * gdb.python/python-frame.c: New file.
9198 * gdb.python/python-frame.exp: New file.
9199
9200 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
9201
9202 * gdb.python/python-value.exp: Add tests for the address
9203 attribute.
9204
9205 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
9206
9207 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9208
9209 2009-03-26 Doug Evans <dje@google.com>
9210
9211 * gdb.mi/mi-nonstop-exit.exp: New file.
9212 * gdb.mi/non-stop-exit.c: New file.
9213
9214 2009-03-26 Tom Tromey <tromey@redhat.com>
9215
9216 Update for change to prologue skipping:
9217 * gdb.mi/mi2-simplerun.exp: Update.
9218 * gdb.mi/mi2-break.exp: Update.
9219 * gdb.mi/mi-simplerun.exp: Update.
9220 * gdb.mi/mi-break.exp: Update.
9221 * gdb.base/ending-run.exp: Update.
9222
9223 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9224
9225 * gdb.python/python-value.exp (test_value_in_inferior): Test
9226 gdb.Value.is_optimized_out attribute.
9227
9228 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9229
9230 * gdb.dwarf2/dw2-noloc-main.c: New file.
9231 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9232 (.text): Remove.
9233 (.data): New.
9234 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9235 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9236 (DW_TAG_subprogram func_cu1, noloc): Remove.
9237 (main): New.
9238 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9239 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9240 (file_symbols): New procedure.
9241
9242 2009-03-25 Tom Tromey <tromey@redhat.com>
9243
9244 * gdb.base/charset.exp (valid_target_charset): New proc.
9245 Use it to skip tests on invalid charsets.
9246
9247 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9248
9249 * gdb.base/completion.exp: Add a test for directory completion.
9250
9251 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9252
9253 Fix a racy FAIL.
9254 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9255 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9256
9257 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9258
9259 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9260 * gdb.python/python-function.exp: Add test for function returning
9261 a GDB value.
9262
9263 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9264
9265 * gdb.python/python-function.exp: New file.
9266
9267 2009-03-20 Tom Tromey <tromey@redhat.com>
9268
9269 * gdb.base/store.exp: Update for change to escape output.
9270 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9271 to escape output.
9272 * gdb.base/pointers.exp: Update for change to escape output.
9273 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9274 to escape output.
9275 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9276 escape output.
9277 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9278 to escape output.
9279 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9280 escape output.
9281 * gdb.base/setvar.exp: Update for change to escape output.
9282 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9283 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9284 to escape output.
9285 (test_print_string_constants): Likewise.
9286 * gdb.base/charset.exp (valid_host_charset): Check size of
9287 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9288 cases. Handle "auto"-related output.
9289 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9290 (uvar, Uvar): New globals.
9291
9292 2009-03-19 Jerome Guitton <guitton@adacore.com>
9293
9294 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9295 deltas.
9296 * gdb.ada/fixed_points.exp: Ditto.
9297
9298 2009-03-18 Pedro Alves <pedro@codesourcery.com>
9299
9300 * return-nodebug.c: Don't include stdio.h.
9301 (init): Delete.
9302 (func): Delete definition and provide extern declaration.
9303 (t): New.
9304 (main): Don't call printf. Call func and store its result in t.
9305 * return-nodebug1.c: New.
9306 * return-nodebug.exp: Don't expect stdio output. Instead, print
9307 the global variable t. Drop printf formatters and cast types from
9308 foreach loop. Don't use prepare_for_testing. Compile
9309 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9310 define FORMAT or CAST.
9311
9312 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9313
9314 * gdb.base/solib-display.exp: Disable test for remote targers.
9315
9316 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9317
9318 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9319
9320 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9321
9322 Fix a racy FAIL.
9323 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9324 code from `follow parent, print pids'.
9325 (`follow child, print pids', `follow parent, print pids'): Call it.
9326 Replace `gdb_test "break..."' by gdb_breakpoint.
9327
9328 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9329
9330 * gdb.mi/mi-cli.exp: Adjust for output difference in
9331 sync and async modes.
9332
9333 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9334
9335 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9336 that was checked in by mistake. Remove loading of ada.exp, since
9337 this is not necessary in this case.
9338
9339 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9340
9341 * gdb.ada/ptype_arith_binop.exp: New testcase.
9342
9343 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9344
9345 * gdb.ada/mod_from_name: New testcase.
9346
9347 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9348
9349 * gdb.ada/tick_last_segv: New testcase.
9350
9351 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9352
9353 * gdb.mi/mi-cli.exp: Remove debug print.
9354
9355 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9356
9357 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9358 include the token in ^running and frame info in *stopped.
9359
9360 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9361
9362 * solib-display.exp: New file.
9363 * solib-display-main.c: New file.
9364 * solib-display-lib.c: New file.
9365
9366 2009-03-05 Pedro Alves <pedro@codesourcery.com>
9367
9368 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9369
9370 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9373 (list_and_check_macro): Use more specific test name.
9374 (next to definition): Make the test names unique.
9375
9376 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9377
9378 * gdb.pascal/floats.exp: Accept approximate results everywhere.
9379
9380 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9381
9382 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9383 notifications.
9384 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9385 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9386 * lib/mi-support.exp (library_loaded_re): New.
9387 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9388
9389 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9390
9391 * gdb.gdb/observer.exp: Use test_notification observer, not
9392 normal_stop, everywhere.
9393 (test_normal_stop_notifications): Rename to...
9394 (test_notifications): ...this.
9395 (test_observer_normal_stop): Rename to...
9396 (test_observer): ...this.
9397
9398 2009-02-16 Doug Evans <dje@google.com>
9399
9400 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9401 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9402 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9403 (test_prefixed_syscall,test_int3): New tests.
9404 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9405 (test_prefixed_syscall,test_int3): New tests.
9406
9407 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9408
9409 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9410 (mi_expect_interrupt): Likewise.
9411 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9412 response.
9413
9414 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9415
9416 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9417 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9418 Replace calls to get_valueofx by get_hexadecimal_valueof.
9419
9420 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9421
9422 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9423 (get_integer_valueof): New procedure.
9424 (get_sizeof): Use new get_integer_value_of.
9425 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9426 by get_integer_valueof.
9427
9428 2009-02-13 Tom Tromey <tromey@redhat.com>
9429
9430 * gdb.base/remote.exp (get_sizeof): Remove.
9431 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9432 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9433 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9434 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9435 (get_sizeof): Likewise.
9436
9437 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9438
9439 PR fortran/9806
9440 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9441
9442 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9443
9444 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9445
9446 2009-02-06 Pedro Alves <pedro@codesourcery.com>
9447
9448 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9449
9450 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9451
9452 * gdb.python/python-cmd.exp: New file.
9453
9454 2009-02-06 Tristan Gingold <gingold@adacore.com>
9455
9456 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9457
9458 2009-02-05 Tristan Gingold <gingold@adacore.com>
9459
9460 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9461 pointer is dereferenced and use this signal name in regexp.
9462 * gdb.base/signull.exp: Ditto.
9463 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9464 * gdb.base/signull.c (main): Ditto.
9465
9466 2009-02-04 Tom Tromey <tromey@redhat.com>
9467 Thiago Jung Bauermann <bauerman@br.ibm.com>
9468
9469 * gdb.python/python-value.exp: Use `gdb.history' instead of
9470 `gdb.value_from_history'.
9471 (test_value_numeric_ops): Add test for conversion of enum constant.
9472 * gdb.python/python-value.c (enum e): New type.
9473 (evalue): New global.
9474 (main): Use argv.
9475
9476 2009-02-04 Jerome Guitton <guitton@adacore.com>
9477
9478 * gdb.ada/uninitialized_vars: New test program.
9479 * gdb.ada/uninitialized_vars.exp: New testcase.
9480
9481 2009-02-02 Tom Tromey <tromey@redhat.com>
9482
9483 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9484 * gdb.cp/pr2489.cc: Rename...
9485 * gdb.cp/pr9594.cc: ... to this.
9486
9487 2009-02-02 Tom Tromey <tromey@redhat.com>
9488
9489 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9490 * gdb.cp/pr2489.cc: New file.
9491 * gdb.cp/cpcompletion.exp: New file.
9492
9493 2009-02-02 Tom Tromey <tromey@redhat.com>
9494
9495 PR exp/9059:
9496 * gdb.cp/call-c.exp: Add regression test.
9497 * gdb.cp/call-c.cc (FooHandle): New typedef.
9498 (main): New variable 'handle'.
9499
9500 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9501
9502 * lib/mi-support.exp (et_mi_thread_list)
9503 (check_mi_and_console_threads): Adjust for current thread in
9504 -thread-list-ids output.
9505
9506 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9507
9508 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9509 Call it.
9510
9511 2009-01-28 Doug Evans <dje@google.com>
9512
9513 * gdb.arch/amd64-disp-step.S: New file.
9514 * gdb.arch/amd64-disp-step.exp: New file.
9515 * gdb.arch/i386-disp-step.S: New file.
9516 * gdb.arch/i386-disp-step.exp: New file.
9517
9518 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9519
9520 * gdb.base/find.exp: Set newline variable
9521 using quotes instead of braces to fix cygwin failures.
9522
9523 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9524
9525 * gdb.base/radix.exp: Add tests to ensure that that set
9526 input-radix 0 and set output-radix 0 are really rejected.
9527
9528 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9529
9530 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9531 copyright years.
9532
9533 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9534
9535 PR gdb/9664:
9536 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9537
9538 2009-01-22 Pedro Alves <pedro@codesourcery.com>
9539
9540 PR c++/9631:
9541 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9542
9543 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9544
9545 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9546 binfile definition to fix Windows OS failure.
9547
9548 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9549
9550 PR gdb/9346
9551 * gdb.base/interrupt.c (sigint_handler): New.
9552 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9553 on error.
9554 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9555 Test "signal SIGINT".
9556
9557 2009-01-19 Doug Evans <dje@google.com>
9558
9559 * gdb.base/break.exp: Update expected gdb output.
9560 * gdb.base/sepdebug.exp: Ditto.
9561 * gdb.mi/mi-syn-frame.exp: Ditto.
9562 * gdb.mi/mi2-syn-frame.exp: Ditto.
9563 * gdb.base/call-signal-resume.exp: New file.
9564 * gdb.base/call-signals.c: New file.
9565 * gdb.base/unwindonsignal.exp: New file.
9566 * gdb.base/unwindonsignal.c: New file.
9567 * gdb.threads/interrupted-hand-call.exp: New file.
9568 * gdb.threads/interrupted-hand-call.c: New file.
9569 * gdb.threads/thread-unwindonsignal.exp: New file.
9570
9571 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9572
9573 * gdb.base/define.exp: Test defining and hooking prefix commands.
9574 * gdb.python/python.exp: Update test for "show user" output.
9575
9576 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9577
9578 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9579 now the output exactly, using less wildcards. Expect also the output
9580 of gfortran-4.3. Update for the f-valprint.c modification from
9581 2008-04-22.
9582 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9583 Remove gdb_test test names where matching the command.
9584
9585 2009-01-01 Pedro Alves <pedro@codesourcery.com>
9586
9587 PR breakpoints/9681:
9588 * gdb.base/watchpoint.exp: Add regression test.
9589
9590 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9591
9592 * gdb.threads/attach-into-signal.exp: Don't use
9593 gdb_suppress_entire_file.
9594 * gdb.threads/attach-stopped.exp: Ditto.
9595 * gdb.threads/attachstop-mt.exp: Ditto.
9596
9597 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9598
9599 PR gdb/8812:
9600 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9601
9602 2008-12-29 Pedro Alves <pedro@codesourcery.com>
9603
9604 PR gdb/7536:
9605 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9606 and unsupported output radices are really rejected.
9607
9608 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9609
9610 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9611
9612 2008-12-22 Tom Tromey <tromey@redhat.com>
9613
9614 * gdb.cp/punctuator.exp: New file.
9615
9616 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9617
9618 * gdb.base/completion.exp (Completing non-existing component): New test.
9619
9620 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9621
9622 Fix for PR gdb/8648.
9623 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9624 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9625 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9626 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9627
9628 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9631
9632 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
9633
9634 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9635 compiler actually generate code at the expected line number.
9636
9637 2008-12-15 Jie Zhang <jie.zhang@analog.com>
9638
9639 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9640
9641 2008-12-12 Tom Tromey <tromey@redhat.com>
9642
9643 * gdb.base/commands.exp (redefine_hook_test): New proc.
9644 Call it.
9645
9646 2008-12-11 Tom Tromey <tromey@redhat.com>
9647
9648 * gdb.base/macscp.exp: New regression test.
9649
9650 2008-12-11 Tom Tromey <tromey@redhat.com>
9651
9652 * gdb.base/macscp.exp: Print "address.addr".
9653 * gdb.base/macscp1.c (struct outer): New struct.
9654 (address): New global.
9655
9656 2008-12-09 Tom Tromey <tromey@redhat.com>
9657
9658 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9659 Call it.
9660
9661 2008-12-04 Doug Evans <dje@google.com>
9662
9663 * gdb.server/ext-run.exp: Relax regexp for init program.
9664
9665 2008-12-03 Tristan Gingold <gingold@adacore.com>
9666
9667 * gdb.base/macscp.exp: Generate an object file during compilation
9668 to work around Darwin dsymutil limitations.
9669
9670 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9671
9672 Test resolving external references to TLS variables.
9673 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9674 FILE2_THREAD_LOCAL.
9675 (testfile2, srcfile2): New variables.
9676 * gdb.threads/tls.c (file2_thread_local)
9677 (function_referencing_file2_thread_local): New.
9678 * gdb.threads/tls2.c: New file.
9679
9680 2008-11-28 Joel Brobecker <brobecker@adacore.com>
9681
9682 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
9683 rather than integer, as integer might not be big enough when
9684 on 64bit targets.
9685
9686 2008-11-27 Jerome Guitton <guitton@adacore.com>
9687
9688 * gdb.cp/formatted-ref.exp: Add equality test.
9689 * gdb.ada/formatted_ref.exp: Ditto.
9690
9691 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9692
9693 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9694 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9695
9696 2008-11-20 Andreas Schwab <schwab@suse.de>
9697
9698 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9699 matching syscall entry point.
9700 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9701 (tcatch_vfork_then_child_follow): Likewise. Finish through
9702 vfork even if we stopped at the syscall trampoline.
9703
9704 2008-11-20 Doug Evans <dje@google.com>
9705
9706 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9707
9708 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9709
9710 * gdb.arch/ppc-dfp.exp: New file.
9711 * gdb.arch/ppc-dfp.c: New file.
9712
9713 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9714
9715 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
9716
9717 2008-11-17 Doug Evans <dje@google.com>
9718
9719 * gdb.mi/mi-syn-frame.exp: Update expected output.
9720 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9721
9722 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9723
9724 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
9725 "thread N" results in =thread-selected.
9726 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9727 (mi_send_resuming_command_raw): Be prepared for
9728 =thread-selected.
9729
9730 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9731
9732 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9733 * lib/mi-support.exp: Likewise.
9734
9735 2008-11-16 Joel Brobecker <brobecker@adacore.com>
9736
9737 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9738 commands from the expected output for "help catch".
9739
9740 2008-11-15 Joel Brobecker <brobecker@adacore.com>
9741
9742 * gdb.ada/int_deref.exp: New testcase.
9743
9744 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
9745
9746 * gdb.mi/gdb2549.exp: New file.
9747
9748 2008-11-11 Doug Evans <dje@google.com>
9749
9750 * gdb.base/callexit.exp: New file.
9751 * gdb.base/callexit.c: New file.
9752
9753 2008-11-10 Doug Evans <dje@google.com>
9754
9755 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9756 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9757 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9758 (default_gdb_start,default_gdb_exit): Ditto.
9759 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9760 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9761 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9762 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9763 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9764 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9765
9766 2008-11-03 Andreas Schwab <schwab@suse.de>
9767
9768 * gdb.base/hashline2.exp: Fix typo.
9769 * gdb.base/hashline3.exp: Likewise.
9770
9771 2008-10-30 Tom Tromey <tromey@redhat.com>
9772
9773 * gdb.base/pointers.exp: Add test.
9774 * gdb.base/pointers.c (k, S): New typedefs.
9775 (instance): New global.
9776
9777 2008-10-30 Andreas Schwab <schwab@suse.de>
9778
9779 * gdb.base/args.exp: Add tests for newlines.
9780
9781 2008-10-30 Joel Brobecker <brobecker@adacore.com>
9782
9783 gdb.base/foll-exec.exp: Update the expected output of a couple
9784 of "info breakpoints" tests.
9785
9786 2008-10-28 Tom Tromey <tromey@redhat.com>
9787
9788 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9789
9790 2008-10-24 Pedro Alves <pedro@codesourcery.com>
9791
9792 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9793 gdb_start_cmd.
9794 Use runto_main before any test that requires execution.
9795
9796 2008-10-23 Pedro Alves <pedro@codesourcery.com>
9797
9798 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9799 instead of SIGINT.
9800
9801 2008-10-22 Joel Brobecker <brobecker@adacore.com>
9802
9803 * gdb.base/completion.exp: Update expected output following
9804 the addition of the "info tasks" command.
9805
9806 2008-10-22 Tom Tromey <tromey@redhat.com>
9807
9808 * gdb.base/exprs.exp (test_expr): Add test for string
9809 concatenation.
9810
9811 2008-10-19 Pedro Alves <pedro@codesourcery.com>
9812
9813 * configure.ac: Output gdb.python/Makefile.
9814 * configure: Regenerate.
9815 * gdb.python/Makefile.in: New.
9816
9817 2008-10-16 Joel Brobecker <brobecker@adacore.com>
9818
9819 * gdb.base/foll-fork.exp: Adjust the expected output to match
9820 the new description for fork/vfork catchpoints in the "info
9821 breakpoints" output.
9822
9823 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9824
9825 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9826
9827 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9828
9829 * gdb.python/python-value.c: New file.
9830 * gdb.python/python-value.exp: New file.
9831
9832 2008-10-15 Pedro Alves <pedro@codesourcery.com>
9833
9834 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9835
9836 2008-10-15 Denis Pilat <denis.pilat@st.com>
9837
9838 * gdb.cp/mb-ctor.exp: Fix a typo.
9839
9840 2008-10-09 Tom Tromey <tromey@redhat.com>
9841
9842 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9843 'fprintf' and 'stderr'.
9844
9845 2008-10-07 Joel Brobecker <brobecker@adacore.com>
9846
9847 * gdb.ada/ref_tick_size.exp: New testcase.
9848
9849 2008-10-06 Doug Evans <dje@google.com>
9850
9851 * gdb.dwarf2/dw2-cu-size.exp: New file.
9852 * gdb.dwarf2/dw2-cu-size.S: New file.
9853
9854 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9855 .Ltype_int for clarity.
9856
9857 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9858
9859 PR gdb/2384:
9860 * gdb.cp/gdb2384.exp: Extended to test more cases.
9861 * gdb.cp/gdb2384.cc: Likewise.
9862 * gdb.cp/gdb2384-base.h: Likewise.
9863 * gdb.cp/gdb2384-base.cc: Likewise.
9864
9865 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9866
9867 * gdb.base/maint.exp (maint print type): Remove printing
9868 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9869
9870 2008-09-30 Tom Tromey <tromey@redhat.com>
9871
9872 * gdb.base/macscp.exp: Add completion tests.
9873 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9874 (TWENTY_THREE): Likewise.
9875 (FORTY_EIGHT): Likewise.
9876
9877 2008-09-30 Tom Tromey <tromey@redhat.com>
9878
9879 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9880 everywhere.
9881 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9882
9883 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9884
9885 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9886 testcase is derived from. Fix racy dependency on an expected PID
9887 number. No longer support the testcase on Linux kernel 2.4.x.
9888
9889 2008-09-27 Tom Tromey <tromey@redhat.com>
9890
9891 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9892 and varargs.
9893
9894 2008-09-22 Pedro Alves <pedro@codesourcery.com>
9895
9896 * lib/mi-support.exp (mi_expect_interrupt): New.
9897 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9898 from gdb.mi/mi-nonstop.exp.
9899 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9900 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9901 lib/mi-support.exp.
9902 Use mi_check_thread_states throughout. Avoid ".*" and do not
9903 require an anchor after -exec-run.
9904
9905 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9906
9907 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9908 stop is pending. Avoid ".*" when two stops are pending.
9909 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9910 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9911 newlines in fullnames.
9912 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9913 (mi_expect_stop): Update comments. Only anchor in sync mode.
9914 Do not match newlines.
9915 (mi_send_resuming_command_raw): Always return status.
9916 (mi_get_stop_line): Do not match more than one line by accident.
9917 Only anchor in sync mode.
9918 (mi_run_inline_test): If -exec-next fails, give up.
9919
9920 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9921
9922 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9923 on SPU.
9924
9925 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9926
9927 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9928
9929 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9930
9931 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9932 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9933 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9934 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9935 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9936 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9937 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9938 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9939 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9940 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9941 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9942 Include the "= " sequence in the expected output of print tests.
9943
9944 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9945
9946 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9947 description for boolean types.
9948
9949 2008-09-09 Pedro Alves <pedro@codesourcery.com>
9950
9951 * gdb.base/hook-stop-continue.c: New.
9952 * gdb.base/hook-stop-continue.exp: New.
9953
9954 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9955
9956 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9957
9958 2008-09-08 Jerome Guitton <guitton@adacore.com>
9959
9960 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9961 (stack_check_probe_2, stack_check_probe_loop_1)
9962 (stack_check_probe_loop_2): New functions.
9963 (main): Add call to these new functions.
9964 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9965 functions, check that the breakpoint is inserted at the appropriate
9966 location.
9967 (insert_breakpoint): Slightly refine this procedure so that it can
9968 be called several times in the test.
9969
9970 2008-09-08 Jerome Guitton <guitton@adacore.com>
9971
9972 * gdb.base/stack-checking.c: New file.
9973 * gdb.base/stack-checking.exp: New file.
9974
9975 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9976
9977 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9978 * gdb.arch/altivec-regs.exp: Likewise.
9979 * gdb.arch/vsx-regs.exp: Likewise.
9980
9981 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9982
9983 * gdb.arch/ppc-fp.exp: New file.
9984 * gdb.arch/ppc-fp.c: New file.
9985
9986 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9987
9988 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9989 lest gcc-4.3.1 optimizes the whole thing away.
9990
9991 2008-09-04 Michael Snyder <msnyder@vmware.com>
9992
9993 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9994 as "at" (for non-debug functions such as _start).
9995
9996 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9997
9998 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9999 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
10000 software watchpoints.
10001 * gdb.base/watch_thread_num.exp: Likewise.
10002
10003 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
10004
10005 * gdb.arch/i386-bp_permanent.exp: New test.
10006
10007 2008-08-24 Tom Tromey <tromey@redhat.com>
10008
10009 * gdb.base/maint.exp: Update "maint print type".
10010
10011 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
10012
10013 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
10014 support. Adjust the order of "*running" notifications.
10015 * gdb.mi/non-stop.c: Don't cast from int to void* and
10016 back.
10017
10018 2008-08-20 Mark Kettenis <kettenis@gnu.org>
10019
10020 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
10021 expect to find it in the "info frame" output.
10022
10023 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
10024
10025 * gdb.base/interp.exp: Always consume both prompts.
10026
10027 2008-08-20 Pedro Alves <pedro@codesourcery.com>
10028
10029 * gdb.base/pending.exp: Test pending breakpoints without symbols
10030 loaded.
10031
10032 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10033
10034 * lib/mi-support.exp (mi_expect_stop): Produce
10035 more details on failures.
10036 * gdb.mi/mi-nonstop.exp: New.
10037 * gdb.mi/non-stop.c: New.
10038
10039 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
10040
10041 * gdb.mi/mi-async.exp: Use 'set target-async'.
10042 * lib/mi-support.exp: Use 'set/show target-async'.
10043
10044 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
10045
10046 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
10047
10048 2008-08-17 Tom Tromey <tromey@redhat.com>
10049
10050 * gdb.base/help.exp (help catch): Rewrite.
10051
10052 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
10053
10054 * gdb.base/define.exp: Test indented command documentation.
10055 * gdb.python/python.exp: Test indented multi-line command.
10056
10057 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
10058
10059 * testsuite/gdb.arch/vsx-regs.c: New source file.
10060 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
10061 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
10062
10063 2008-08-14 Tom Tromey <tromey@redhat.com>
10064
10065 * gdb.base/macscp.exp: Add regression test for "macro define" or
10066 "macro undef" with no arguments.
10067
10068 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10069
10070 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
10071
10072 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10073
10074 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
10075
10076 2008-08-06 Tom Tromey <tromey@redhat.com>
10077
10078 * gdb.python/python.exp: New file.
10079
10080 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10081
10082 Fix for PR gdb/1543.
10083 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
10084 $LOCATION.
10085 (location): New variable.
10086 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
10087 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
10088 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
10089 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
10090 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
10091 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
10092 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
10093 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
10094 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
10095 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
10096 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
10097 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
10098 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
10099 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
10100 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
10101 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
10102 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
10103 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
10104 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
10105 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
10106 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
10107 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
10108 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
10109 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
10110 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
10111 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
10112 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
10113 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
10114 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
10115 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
10116 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
10117 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
10118 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
10119 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
10120 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
10121 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
10122 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
10123 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
10124 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
10125 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
10126 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
10127 gdb.base/type-opaque.exp, gdb.base/until.exp,
10128 gdb.base/value-double-free.c, gdb.base/varargs.exp,
10129 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
10130 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
10131 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10132 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
10133 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
10134 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10135 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10136 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10137 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
10138 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
10139 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
10140 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
10141 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
10142 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
10143 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
10144 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
10145 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
10146 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
10147 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
10148 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10149 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
10150 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
10151 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
10152 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10153 gdb.pascal/types.exp, gdb.stabs/weird.exp,
10154 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
10155 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
10156 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
10157 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
10158 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
10159 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
10160 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10161 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
10162 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
10163 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
10164 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
10165 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
10166 lib/mi-support.exp, lib/trace-support.exp: Remove reference
10167 to bug-gdb@prep.ai.mit.edu .
10168
10169 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
10170
10171 * lib/mi-support.exp (mi_load_shlibs): New.
10172 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
10173
10174 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
10175
10176 * lib/mi-support.exp (get_mi_thread_list)
10177 (check_mi_and_console_threads): New, moved from ...
10178 * gdb.mi/mi-pthread.exp: ...here.
10179 * gdb.mi/gdb669.exp (get_mi_thread_list)
10180 (check_mi_and_console_threads): Delete.
10181 * gdb.mi/mi2-pthread.exp: Likewise.
10182
10183 2008-07-28 Tom Tromey <tromey@redhat.com>
10184
10185 * Makefile.in (just-check): Remove. Move body to...
10186 (check): ... here.
10187
10188 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10189
10190 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
10191 Add a test for duplicated SIGINTs.
10192
10193 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10194
10195 * gdb.threads/schedlock.exp (get_args): Update to work for any
10196 value of NUM.
10197 (Top level): Report the number of threads that did not resume.
10198
10199 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10200
10201 * gdb.dwarf2/dw2-compressed.S: Also define __start.
10202
10203 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10204
10205 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
10206 non-MI prompt.
10207
10208 2008-07-26 Tom Tromey <tromey@redhat.com>
10209
10210 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10211 (function_struct, function_struct_ptr): New globals.
10212 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10213 function pointer in a struct.
10214
10215 2008-07-26 Tom Tromey <tromey@redhat.com>
10216
10217 * gdb.base/macscp.exp: Add test for macro lexing bug.
10218
10219 2008-07-18 Tom Tromey <tromey@redhat.com>
10220
10221 * gdb.base/macscp.exp: Add macro tests.
10222
10223 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10224
10225 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10226
10227 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10228
10229 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10230
10231 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10232
10233 * gdb.cp/class2.exp: fix for failure on spu-elf
10234
10235 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10236
10237 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
10238
10239 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10240
10241 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10242
10243 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10244
10245 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10246
10247 2008-07-11 Kevin Buettner <kevinb@redhat.com>
10248
10249 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10250 of regexp to account for changes made to GDB in the printing of
10251 byte vectors.
10252
10253 2008-07-11 Tom Tromey <tromey@redhat.com>
10254
10255 * gdb.base/completion.exp: Add 'help' completion test.
10256
10257 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10258
10259 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10260
10261 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10262
10263 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10264
10265 2008-07-09 Pedro Alves <pedro@codesourcery.com>
10266
10267 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10268
10269 2008-07-09 Pedro Alves <pedro@codesourcery.com>
10270
10271 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10272
10273 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10274
10275 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10276
10277 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10278
10279 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10280 previous commit. Add a comment.
10281
10282 2008-06-28 Pedro Alves <pedro@codesourcery.com>
10283
10284 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10285
10286 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10287
10288 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10289
10290 2008-06-27 Pedro Alves <pedro@codesourcery.com>
10291
10292 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10293 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10294 compiling an executable, link in an object that forces unbuffered
10295 output.
10296 * lib/set_unbuffered_mode.c: New file.
10297
10298 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10299
10300 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10301
10302 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10303
10304 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10305 mi_expect_stop.
10306 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10307 Demand that *running is output.
10308 (detect_async): Perform checking every time.
10309 (mi_send_resuming_command): Extract everything into...
10310 (mi_send_resuming_command_raw): ...this.
10311 (mi_expect_stop): Don't accept any output before *stopped.
10312
10313 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10314
10315 Robustify mi-simplerun.
10316 * gdb.mi/basics.c (main): Add a call to sleep.
10317 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10318 * gdb.mi/mi2-cli.exp: Likewise.
10319 * gdb.mi/mi-break.exp: Likewise.
10320
10321 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
10322
10323 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10324
10325 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10326
10327 * gdb.mi/mi-console.exp: Adjust.
10328 * gdb.mi/mi-syn-frame.exp: Adjust.
10329 * gdb.mi/mi2-console.exp: Adjust.
10330 * gdb.mi/mi2-syn-frame.exp: Adjust.
10331 * lib/mi-support.exp (mi_run_cmd): Adjust.
10332 (mi_send_resuming_command): Adjust.
10333
10334 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10335
10336 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
10337 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10338 testing of stopped.
10339 * gdb.mi/mi2-syn-frame.exp: Likewise.
10340 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10341 (async, detect_async): New.
10342 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10343 depending on if we're running in sync or async mode.
10344
10345 2008-06-09 Tom Tromey <tromey@redhat.com>
10346
10347 * gdb.base/completion.exp: New tests for field name completion
10348 with spaces, and field name completion with '->'.
10349
10350 2008-06-06 Tom Tromey <tromey@redhat.com>
10351
10352 * gdb.base/break1.c (struct some_struct): New struct.
10353 (values): New global.
10354 * gdb.base/completion.exp: Add field name completion test.
10355
10356 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10357
10358 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10359 to pointer.
10360 * gdb.cp/call-c.cc: Likewise.
10361
10362 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
10363
10364 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10365 annotation.
10366
10367 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10368 Pedro Alves <pedro@codesourcery.com>
10369
10370 * gdb.threads/execl.c, gdb.threads/execl1.c,
10371 gdb.threads/execl.exp: New tests.
10372
10373 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10374 Daniel Jacobowitz <dan@codesourcery.com>
10375
10376 * gdb.cp/exception.exp: Activate test, make it work with pending
10377 catchpoints.
10378
10379 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10380
10381 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10382
10383 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10384
10385 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10386 now printed.
10387 * gdb.mi/mi2-var-cmd.exp: Likewise.
10388
10389 2008-05-27 Andreas Schwab <schwab@suse.de>
10390
10391 * gdb.base/frame-args.exp: Handle arguments that are optimized
10392 out.
10393
10394 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
10395
10396 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10397 quiet for ppc32 and group options into a single variable.
10398
10399 2008-05-23 Joel Brobecker <brobecker@adacore.com>
10400
10401 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10402 of zero-size elements.
10403 * gdb.ada/null_array.exp: Test printing this new array.
10404
10405 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10406
10407 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10408
10409 2008-05-21 Joel Brobecker <brobecker@adacore.com>
10410
10411 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10412 of the "finish" command.
10413
10414 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
10415
10416 * gdb.base/annota1.exp: Test for new annotation.
10417
10418 2008-05-16 Pedro Alves <pedro@codesourcery.com>
10419
10420 * gdb.base/fixsection.exp: New file.
10421 * gdb.base/fixsection0.c: New file.
10422 * gdb.base/fixsection1.c: New file.
10423
10424 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10425
10426 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10427 * gdb.base/annota3.exp: Likewise.
10428
10429 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10430
10431 * gdb.base/watch_thread_num.exp: Don't run tests that require
10432 watchpoints if the target doesn't support them.
10433
10434 2008-05-12 Doug Evans <dje@google.com>
10435
10436 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10437
10438 2008-05-09 Joel Brobecker <brobecker@adacore.com>
10439
10440 * gdb.ada/assign_1.exp: New testcase.
10441
10442 2008-05-09 Doug Evans <dje@google.com>
10443
10444 * gdb.base/find.exp: New file.
10445 * gdb.base/find.c: New file.
10446
10447 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10448
10449 * gdb.base/commands.exp (watchpoint_command_test): Handle
10450 gdb,no_hardware_watchpoints.
10451 * gdb.base/float.exp: Allow ARM targets without floating point.
10452 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10453
10454 2008-05-06 Jerome Guitton <guitton@adacore.com>
10455 Joel Brobecker <brobecker@adacore.com>
10456
10457 * gdb.ada/lang_switch: New test program.
10458 * gdb.ada/lang_switch.exp: New testcase.
10459
10460 2008-05-05 Doug Evans <dje@google.com>
10461
10462 * gdb.base/help.exp (disassemble): Update expected help text.
10463
10464 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10465
10466 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10467
10468 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10469
10470 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10471 different times.
10472
10473 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10474
10475 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10476 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10477 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10478 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10479
10480 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10481
10482 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10483 notification to appear.
10484
10485 2008-05-04 Daniel Jacobowitz <dan@debian.org>
10486
10487 * gdb.base/fullname.c: New file.
10488 * gdb.base/fullname.exp: New file.
10489 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10490
10491 2008-05-03 Pedro Alves <pedro@codesourcery.com>
10492
10493 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10494 expressions with macros.
10495
10496 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10497
10498 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10499
10500 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10501
10502 * gdb.base/completion.exp: Handle lack of other symbols beginning
10503 with "a".
10504
10505 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10506
10507 2008-05-02 Jim Blandy <jimb@codesourcery.com>
10508
10509 * gdb.asm/asmsrc1.s: Add scratch space.
10510
10511 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10512 Daniel Jacobowitz <dan@codesourcery.com>
10513
10514 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10515 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10516 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10517
10518 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10519
10520 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10521
10522 2008-05-01 Joel Brobecker <brobecker@adacore.com>
10523
10524 * gdb.base/info-target.exp: New testcase.
10525
10526 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10527
10528 * gdb.cp/hang.exp: Use .cc instead of .C.
10529 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10530 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10531
10532 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10533
10534 * gdb.base/gdb1250.exp: Remove perror.
10535 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10536
10537 2008-04-30 Pedro Alves <pedro@codesourcery.com>
10538
10539 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10540 .2byte.
10541
10542 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10543
10544 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10545 (maybe_kfail): New.
10546
10547 2008-04-25 Pedro Alves <pedro@codesourcery.com>
10548
10549 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10550
10551 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10552
10553 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10554 * gdb.mi/mi2-syn-frame.exp: Likewise.
10555 * lib/mi-support.exp: Likewise.
10556
10557 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10558
10559 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10560 to specify regexp for the location to stop at.
10561 * gdb.base/break-always.c: New.
10562 * gdb.base/break-always.exp: New.
10563
10564 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10565
10566 * lib/mi-support.exp (mi_runto_helper): Adjust
10567 for the original-location field.
10568 (mi_create_breakpoint, mi_list_breakpoints): New.
10569 * gdb.mi/mi-break.exp: Adjust.
10570 * gdb.mi/mi2-break.exp: Adjust.
10571 * gdb.mi/mi-pending.exp: Adjust.
10572 * gdb.mi/mi-simplerun.exp: Adjust.
10573 * gdb.mi/mi2-simplerun.exp: Adjust.
10574 * gdb.mi/mi-syn-frame.exp: Adjust.
10575 * gdb.mi/mi2-syn-frame.exp: Adjust.
10576 * gdb.mi/mi-until.exp: Adjust.
10577 * gdb.mi/mi2-until.exp: Adjust.
10578 * gdb.mi/mi-var-display.exp: Adjust.
10579 * gdb.mi/mi2-var-display.exp: Adjust.
10580 * gdb.mi/mi-watch.exp: Adjust.
10581 * gdb.mi/mi2-watch.exp: Adjust.
10582
10583 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
10584
10585 * aclocal.m4: Add override.m4.
10586 * configure: Regenerate.
10587
10588 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10589
10590 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10591 '-var-update --all-values' reports new value even the type
10592 of a variable object has changed.
10593
10594 2008-04-18 Craig Silverstein <csilvers@google.com>
10595
10596 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10597 files.
10598
10599 2008-04-18 Joel Brobecker <brobecker@adacore.com>
10600
10601 * gdb.ada/atomic_enum: New test program.
10602 * gdb.ada/atomic_enum.exp: New testcase.
10603
10604 2008-04-17 Doug Evans <dje@google.com>
10605
10606 * gdb.opt/Makefile.in: Fix whitespace.
10607
10608 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10609
10610 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10611
10612 2008-04-17 Doug Evans <dje@google.com>
10613
10614 * gdb.base/hashline1.exp: New testcase.
10615 * gdb.base/hashline2.exp: New testcase.
10616 * gdb.base/hashline2.exp: New testcase.
10617
10618 2008-04-17 Pedro Alves <pedro@codesourcery.com>
10619
10620 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10621
10622 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10623
10624 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10625 temporary breakpoint to match "Temporary breakpoint".
10626 * gdb.base/break.exp (delete_breakpoints): Likewise.
10627 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10628 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10629 * gdb.base/display.exp: Likewise.
10630 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10631 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10632 * gdb.base/restore.exp (restore_tests): Likewise.
10633 * gdb.base/sepdebug.exp: Likewise.
10634 * gdb.base/watchpoint.exp: Likewise.
10635 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10636 * gdb.mi/mi-pending.exp: Likewise.
10637 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10638 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10639 * gdb.mi/mi-var-cmd.exp: Likewise.
10640 * gdb.mi/mi-var-display.exp: Likewise.
10641 * gdb.mi/mi2-cli.exp: Likewise.
10642 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10643 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10644 * gdb.mi/mi2-var-display.exp: Likewise.
10645 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10646 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10647 new "disp" field.
10648 (mi_expect_stop): Move after_reason argument to be really after
10649 reason. This is to support fix for PR2424.
10650
10651 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10652
10653 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10654
10655 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10656
10657 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
10658 field. Add more floating varobj tests.
10659 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
10660 field.
10661 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10662 (main): Call do_at_tests.
10663 * lib/mi-support.exp (mi_create_floating_varobj)
10664 (mi_varobj_update_with_type_change): New.
10665
10666 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10667
10668 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10669 option of -var-evaluate-expression.
10670 * gdb.mi/mi2-var-display.exp: Likewise.
10671
10672 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10673
10674 Introduce test setup helpers.
10675 * lib/gdb.exp (build_executable, clean_restart)
10676 (prepare_for_testing): New.
10677 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10678 * gdb.base/return.exp: Likewise.
10679 * gdb.base/ending-run.exp: Likewise.
10680
10681 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
10682
10683 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10684 Interface (MI) responses.
10685
10686 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10687
10688 * gdb.cp/breakpoint.cc: New code to test conditions involving
10689 member variables.
10690 * gdb.cp/breakpoint.exp: Test condition involving member
10691 variables.
10692
10693 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10694
10695 * lib/mi-support.exp (mi_expect_stop): New.
10696 (mi_run_cmd): Change the
10697 token. Use mi_send_resuming_command, use
10698 mi_expect_stop.
10699 (mi_execute_to_helper): Rename to mi_execute_to.
10700 (mi_send_resuming_command): Add more error patterns.
10701 (mi_wait_for_stop): Renamed to...
10702 (mi_get_stop_line): ...this.
10703 (mi_run_inline_test): Adjust.
10704
10705 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10706 * gdb.mi/mi-console.exp: Likewise.
10707 * gdb.mi/mi-pending.exp: Likewise.
10708 * gdb.mi/mi-simplerun.exp: Likewise.
10709 * gdb.mi/mi-stack.exp: Likewise.
10710 * gdb.mi/mi-stepi.exp: Likewise.
10711 * gdb.mi/mi-syn-frame.exp: Add comment.
10712 * gdb.mi/mi-until.exp: Likewise.
10713 * gdb.mi/mi-var-display.exp: Likewise.
10714 * gdb.mi/mi-watch.exp: Likewise.
10715 * gdb.mi/mi2-cli.exp: Likewise.
10716 * gdb.mi/mi2-console.exp: Likewise.
10717 * gdb.mi/mi2-simplerun.exp: Likewise.
10718 * gdb.mi/mi2-stack.exp: Likewise.
10719 * gdb.mi/mi2-stepi.exp: Likewise.
10720 * gdb.mi/mi2-until.exp: Likewise.
10721 * gdb.mi/mi2-var-display.exp: Likewise.
10722 * gdb.mi/mi2-watch.exp: Likewise.
10723
10724 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10725
10726 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10727
10728 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10729
10730 2008-04-04 Pedro Alves <pedro@codesourcery.com>
10731
10732 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10733 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10734 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10735 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10736 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10737 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10738 expect an mi error duplicated in stderr.
10739
10740 2008-04-03 Joel Brobecker <brobecker@adacore.com>
10741
10742 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10743 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10744 Add a couple of tests that verify the behavior when the new setting
10745 is set to "cancel" and "all".
10746 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10747 "ask" before we start the testing.
10748
10749 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10750
10751 * gdb.cp/casts.cc: Add class reference variables.
10752 * gdb.cp/casts.exp: New test cases for up/down casting references.
10753
10754 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10755
10756 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10757 instead of beginning to make an extra test pass.
10758 * gdb.mi/mi2-var-display.exp: Likewise.
10759
10760 2008-03-31 Maciej W. Rozycki <macro@mips.com>
10761
10762 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10763
10764 2008-03-31 Markus Deuling <deuling@de.ibm.com>
10765 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10766
10767 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10768 value. Add xfail for older kernels.
10769
10770 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10771
10772 Bring mi-support in line with gdb.exp.
10773 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10774 (mi_gdb_start): New function.
10775
10776 2008-03-28 Maciej W. Rozycki <macro@mips.com>
10777
10778 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10779
10780 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10781
10782 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10783 * gdb.mi/mi2-var-display.exp: Likewise.
10784
10785 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10786
10787 * lib/mi-support.exp (mi_create_varobj_checked): New.
10788 (mi_list_varobj_children): Allow to check for a
10789 value.
10790 (mi_list_array_varobj_children): New.
10791
10792 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10793 and mi_list_varobj_children, as opposed to hardcoding
10794 expected strings.
10795 * gdb.mi/gdb701.exp: Likewise.
10796 * gdb.mi/gdb792.exp: Likewise.
10797 * gdb.mi/mi-var-block.exp: Likewise.
10798 * gdb.mi/mi-var-cmd.exp: Likewise.
10799 * gdb.mi/mi-var-invalidate.exp: Likewise.
10800 * gdb.mi/mi2-var-block.exp: Likewise.
10801 * gdb.mi/mi2-var-child.exp: Likewise.
10802 * gdb.mi/mi2-var-cmd.exp: Likewise.
10803 * gdb.mi/mi2-var-display.exp: Likewise.
10804
10805 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10806
10807 Fix random false FAILs on i386.
10808 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10809
10810 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10811
10812 PR gdb/544
10813 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10814
10815 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10816
10817 PR gdb/544
10818 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10819
10820 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10821
10822 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10823 fixed PR gdb/544.
10824
10825 2008-03-21 Pedro Alves <pedro@codesourcery.com>
10826
10827 * gdb.threads/fork-child-threads.exp: Test next over fork.
10828
10829 2008-03-21 Chris Demetriou <cgd@google.com>
10830
10831 * gdb.base/break.exp (rbreak junk): New test for rbreak
10832 "Junk at end of arguments" issue.
10833
10834 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10835
10836 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10837 *& to work on created array elements.
10838 (Top level): Test print $pc with a file. Test string operations
10839 without a target.
10840 * gdb.base/ptype.exp: Do not expect *& to work on created array
10841 elements.
10842
10843 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10844
10845 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10846 gdb.threads/staticthreads.exp: Update exit query.
10847
10848 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10849
10850 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10851
10852 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10853
10854 * gdb.base/watchpoint.c (global_ptr, func4): New.
10855 (main): Call func4.
10856 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10857 (test_inaccessible_watchpoint): New.
10858
10859 2008-02-29 Maciej W. Rozycki <macro@mips.com>
10860
10861 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10862 select the largest.
10863
10864 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10865
10866 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10867 frames-invalid annotations.
10868
10869 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10870
10871 * gdb.base/assign.exp: avoid same output for different tests.
10872
10873 2008-02-27 Doug Evans <dje@google.com>
10874
10875 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10876 for bug 1738.
10877 (breakpoint_to_handler_entry): Ditto.
10878
10879 2008-02-27 Joel Brobecker <brobecker@adacore.com>
10880
10881 * gdb.base/ending-run.exp: Use the first line of code inside
10882 function body to test breakpoints.
10883 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10884 location where the breakpoint is inserted when using the line
10885 where a function is declared. Fix typo in the description of
10886 one of the tests.
10887 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10888
10889 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10890
10891 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10892 tests.
10893
10894 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10895
10896 * gdb.base/args.exp: avoid same output for tests
10897 with single quotes.
10898
10899 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10900
10901 * gdb.base/annota1.exp: Adjust for 'info break'
10902 format changes.
10903 * gdb.base/annota3.exp: Likewise.
10904 * gdb.base/break.exp: Likewise.
10905 * gdb.base/condbreak.exp: Likewise.
10906 * gdb.base/pending.exp: Likewise.
10907 * gdb.base/sepdebug.exp: Likewise.
10908 * gdb.base/unload.exp: Likewise.
10909 * gdb.cp/ovldbreak.exp: Likewise.
10910 * gdb.mi/mi-pending.exp: Likewise.
10911
10912 2008-02-07 Doug Evans <dje@google.com>
10913
10914 * gdb.cp/mb-inline.exp: New.
10915 * gdb.cp/mb-inline.h: New.
10916 * gdb.cp/mb-inline1.cc: New.
10917 * gdb.cp/mb-inline2.cc: New.
10918
10919 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10920
10921 * gdb.pascal/floats.pas: New test program.
10922 * gdb.pascal/floats.exp: New testcase.
10923
10924 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10925
10926 * gdb.base/callfuncs.c (t_float_many_args): New function.
10927 (t_double_many_args): New function.
10928 * gdb.base/callfuncs.exp: Add tests for exceeding float
10929 and double parameters passed through the stack.
10930
10931 2008-02-05 Joel Brobecker <brobecker@adacore.com>
10932
10933 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10934 gdb.ada/complete/foo.adb: New files.
10935 * gdb.ada/complete.exp: New testcase.
10936
10937 2008-02-03 Doug Evans <dje@google.com>
10938
10939 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10940
10941 * gdb.cp/gdb2384.exp: New file.
10942 * gdb.cp/gdb2384.cc: New file.
10943 * gdb.cp/gdb2384-base.h: New file.
10944 * gdb.cp/gdb2384-base.cc: New file.
10945
10946 2008-02-02 Doug Evans <dje@google.com>
10947
10948 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10949
10950 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10951
10952 * gdb.ada/sym_print_name: New test program.
10953 * gdb.ada/sym_print_name.exp: New testcase.
10954
10955 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10956
10957 * gdb.ada/nested/hello.adb: New file.
10958 * gdb.ada/nested.exp: New testcase.
10959 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10960
10961 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10962
10963 * gdb.mi/basic.c (return_1): New function.
10964 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10965 don't cause future evaluations of function to report
10966 creation of internal breakpoints.
10967
10968 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10969
10970 * gdb.mi/mi-break.exp (test_error): New.
10971 Call it.
10972
10973 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
10974
10975 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10976 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10977
10978 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10979
10980 * gdb.pascal/integers.pas: New test program.
10981 * gdb.pascal/integers.exp: New testcase.
10982
10983 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10984
10985 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10986
10987 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
10988
10989 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10990 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10991
10992 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10993
10994 * gdb.ada/formatted_ref: New test program.
10995 * gdb.ada/formatted_ref.exp: New testcase.
10996
10997 * gdb.cp/formatted-ref.cc: New file.
10998 * gdb.cp/formatted-ref.exp: New testcase.
10999
11000 2008-01-30 Joel Brobecker <brobecker@adacore.com>
11001
11002 * gdb.base/ptype.exp: Add testing of "ptype $pc".
11003
11004 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
11005
11006 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
11007 (test_file_list_exec_source_file): Update to new macro-info field.
11008
11009 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
11010
11011 * gdb.ada/exprs: New test program.
11012 * gdb.ada/exprs.exp: New testcase.
11013
11014 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11015
11016 * dfp-test.c (DELTA, DELTA_B): New definitions.
11017 (double_val1, double_val2, double_val3, double_val4, double_val5,
11018 double_val6, double_val7, double_val8, double_val9, double_val10,
11019 double_val11, double_val12, double_val13, double_val14, dec32_val1,
11020 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
11021 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
11022 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
11023 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
11024 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
11025 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
11026 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
11027 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
11028 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
11029 dec128_val16): New global variables.
11030 (decimal_dec128_align): New function.
11031 (decimal_mixed): Likewise.
11032 (decimal_many_args_dec32): Likewise.
11033 (decimal_many_args_dec64): Likewise.
11034 (decimal_many_args_dec128): Likewise.
11035 (decimal_many_args_mixed): Likewise.
11036 * dfp-test.exp: Add tests calling new inferior functions.
11037
11038 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11039
11040 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
11041 gdb.server/ext-run.exp: New files.
11042 * lib/gdbserver-support.exp (gdbserver_download): New.
11043 (gdbserver_start): New. Update gdbserver expected
11044 output.
11045 (gdbserver_spawn): Use them.
11046 (gdbserver_start_extended): New.
11047
11048 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11049
11050 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
11051 Run on GNU/Linux.
11052 (do_exec_tests): Check for systems which do not support catchpoints.
11053 Do not match START.
11054 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
11055 Run on GNU/Linux. Enable verbose output.
11056 (check_fork_catchpoints): New.
11057 (explicit_fork_child_follow, catch_fork_child_follow)
11058 (tcatch_fork_parent_follow): Update expected messages.
11059 (do_fork_tests): Use check_fork_catchpoints.
11060 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
11061 Run on GNU/Linux. Enable verbose output.
11062 (check_vfork_catchpoints): New.
11063 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
11064 expected messages.
11065 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
11066
11067 2008-01-29 Jim Blandy <jimb@red-bean.com>
11068
11069 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
11070 host' errors.
11071 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
11072
11073 2008-01-29 Jim Blandy <jimb@red-bean.com>
11074
11075 * gdb.threads/sigthread.c: Use barriers to ensure that
11076 child_thread and child_thread_two are always initialized before we
11077 start to use them.
11078
11079 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
11080
11081 * gdb.base/watchpoint-solib.exp: New.
11082 * gdb.base/watchpoint-solib.c: New.
11083 * gdb.base/watchpoint-solib-shr.c: New.
11084
11085 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
11086
11087 * gdb.base/gdb1056.exp: Add unsigned integer test.
11088
11089 2008-01-28 Doug Evans <dje@google.com>
11090
11091 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
11092
11093 2008-01-27 Jim Blandy <jimb@codesourcery.com>
11094
11095 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
11096
11097 * gdb.base/expand-psymtabs.exp: Doc fix.
11098
11099 2008-01-26 Mark Kettenis <kettenis@gnu.org>
11100
11101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11102
11103 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
11104
11105 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
11106 -var-set-format.
11107
11108 2008-01-23 Chris Demetriou <cgd@google.com>
11109
11110 * gdb.threads/thread_events.c: New testcase source file.
11111 * gdb.threads/thread_events.exp: New testcase expect file.
11112
11113 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
11114
11115 * lib/gdb.exp: Add the variable octal.
11116
11117 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
11118 -var-set-format.
11119
11120 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11121 Vladimir Prus <vladimir@codesourcery.com>
11122
11123 * gdb.base/float.exp: Allow missing floating point for m68k and
11124 PowerPC.
11125
11126 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
11127
11128 * gdb.mi/basics.c: Setup for testing breakpoints
11129 ignore count.
11130 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
11131 * gdb.mi/mi-cli.exp: Adjust.
11132 * gdb.mi/mi2-cli.exp: Adjust.
11133
11134 2008-01-17 Pedro Alves <pedro@codesourcery.com>
11135
11136 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
11137 and 'dummy_ptr' integer pointer. Initialize struct_declarations
11138 with dummy_ptr's address.
11139 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
11140 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
11141 all targets.
11142 * gdb.mi/mi2-var-child.exp: Likewise.
11143
11144 2008-01-09 Joel Brobecker <brobecker@adacore.com>
11145
11146 * gdb.ada/null_array: New test program.
11147 * gdb.ada/null_array.exp: New testcase.
11148
11149 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
11150
11151 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
11152 with required float modifiers.
11153
11154 2008-01-08 Joel Brobecker <brobecker@adacore.com>
11155
11156 * gdb.ada/funcall_param: New test program.
11157 * gdb.ada/funcall_param.exp: New testcase.
11158
11159 2008-01-08 Joel Brobecker <brobecker@adacore.com>
11160
11161 * gdb.ada/arrayparam: New test program.
11162 * gdb.ada/arrayparam.exp: New testcase.
11163
11164 2008-01-08 Joel Brobecker <brobecker@adacore.com>
11165
11166 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
11167 landed. Should also fix random failures in the test following it.
11168
11169 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11170
11171 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
11172 for expressions with decimal float values.
11173 (test_dfp_conversions): New function to test casts to and from
11174 decimal float types.
11175 Call test_dfp_conversions.
11176 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
11177 elements.
11178 (main): Initialize ds.float4 and ds.double8 elements.
11179 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
11180 string to new error message.
11181 (d64_set_tests): Likewise.
11182 (d128_set_tests): Likewise.
11183 Add tests for expressions with decimal float variables. Add tests for
11184 conversions to and from decimal float types.
11185
11186 2008-01-05 Joel Brobecker <brobecker@adacore.com>
11187
11188 * gdb.ada/packed_tagged/comp_bug.adb: New file.
11189 * gdb.ada/packed_tagged.exp: New testcase.
11190
11191 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11192
11193 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
11194 gdb.ada/homonym/homonym_main.adb: New files.
11195 * gdb.ada/homonym.exp: New testcase.
11196
11197 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11198
11199 * gdb.ada/packed_array.exp: Add testing of references to
11200 a packed array.
11201
11202 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11203
11204 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
11205 New files.
11206 * gdb.ada/type_coercion.exp: New testcase.
11207
11208 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11209
11210 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11211 gdb.ada/tagged/foo.adb: New file.
11212 * gdb.ada/tagged.exp: New testcase.
11213
11214 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11215
11216 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11217 gdb.ada/ptype_field/foo.adb: New files.
11218 * gdb.ada/ptype_field.exp: New testcase.
11219
11220 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11221
11222 * gdb.ada/print_pc.exp: New testcase.
11223
11224 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11225
11226 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11227 gdb.ada/taft_type/p.adb: New files.
11228 * gdb.ada/taft_type.exp: New testcase.
11229
11230 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11231
11232 * gdb.ada/array_bounds/bar.adb: New file.
11233 * gdb.ada/array_bounds.exp: New testcase.
11234
11235 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11236
11237 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11238 gdb.ada/arrayptr/foo.adb: New files.
11239 * gdb.ada/arrayptr.exp: New testcase.
11240
11241 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11242
11243 * gdb.base/set-lang-auto.exp: New testcase.
11244
11245 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11246
11247 * gdb.ada/fun_addr/foo.adb: New file.
11248 * gdb.ada/fun_addr.exp: New testcase.
11249
11250 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11251
11252 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11253 New files
11254
11255 2008-01-02 Joel Brobecker <brobecker@adacore.com>
11256
11257 * array_subscript_addr/p.adb: New file.
11258 * array_subscript_addr.exp: New testcase.
11259
11260 2008-01-02 Joel Brobecker <brobecker@adacore.com>
11261
11262 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
11263 New files.
11264 * gdb.ada/str_cmp_ref.exp: New testcase.
11265
11266 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11267
11268 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11269 gdb.ada/fun_in_declare/foo.adb: New files.
11270 * gdb.ada/fun_in_declare.exp: New testcase.
11271
11272 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11273
11274 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11275 gdb.ada/ref_param/pck.ads: New files.
11276 * gdb.ada/ref_param.exp: New testcase.
11277
11278 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11279
11280 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11281 gdb.ada/interface/foo.adb: New files.
11282 * gdb.ada/interface.exp: New testcase.
11283
11284 2007-12-31 Jim Blandy <jimb@codesourcery.com>
11285
11286 * gdb.base/multi-forks.exp: Consume all output from child
11287 processes before proceeding to next test.
11288
11289 2007-12-29 Jim Blandy <jimb@codesourcery.com>
11290
11291 * configure: Regenerated.
11292
11293 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11294
11295 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11296 gdb.ada/fixed_cmp/fixed.adb: New files.
11297 * gdb.ada/fixed_cmp.exp: New testcase.
11298
11299 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11300
11301 * gdb.ada/boolean_expr.exp: New testcase.
11302
11303 2007-12-26 Jim Blandy <jimb@codesourcery.com>
11304
11305 * gdb.base/multi-forks.exp: Doc fix.
11306
11307 2007-12-26 Joel Brobecker <brobecker@adacore.com>
11308
11309 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11310 * gdb.ada/char_param.exp: Do not compile our test program with
11311 -gnata, this is unnecessary.
11312 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11313
11314 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11315
11316 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11317 gdb.ada/print_chars/foo.adb: New files.
11318 * gdb.ada/print_chars.exp: New testcase.
11319
11320 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11321
11322 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11323 gdb.ada/char_param/foo.adb: New files.
11324 * gdb.ada/char_param.exp: New testcase.
11325
11326 2007-12-22 Jim Blandy <jimb@codesourcery.com>
11327
11328 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11329 hard-coding source line numbers into the test.
11330 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11331 gdb_get_line_number to find.
11332
11333 2007-12-22 Joel Brobecker <brobecker@adacore.com>
11334
11335 * gdb.base/ptype.c (highest): New struct type.
11336 (the_highest): New variable of that type.
11337 (main): Add dummy assignment to a field of variable the_highest.
11338 * gdb.base/ptype.exp: Test type printing of our new variable.
11339
11340 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11341
11342 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
11343 and record first explicitly generated thread number.
11344 Use that thread number for thread specific watchpoint test.
11345 Add iteration number to repetitive tests.
11346
11347 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11348 Jim Blandy <jimb@codesourcery.com>
11349
11350 * gdb.base/expand-psymtabs.c: New testcase
11351 source file.
11352 * gdb.base/expand-psymtabs.exp: New testcase
11353 expect file.
11354
11355 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
11356
11357 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11358 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11359
11360 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11361
11362 * gdb.ada/frame_args/foo.adb: New file.
11363 * gdb.ada/frame_args/pck.ads: New file.
11364 * gdb.ada/frame_args/pck.adb: New file.
11365 * gdb.ada/frame_args.exp: New testcase.
11366
11367 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11368
11369 * gdb.base/frame-args.c: New file.
11370 * gdb.base/frame-args.exp: New testcase.
11371
11372 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
11373 Joseph Myers <joseph@codesourcery.com>
11374
11375 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11376
11377 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
11378
11379 * gdb.mi/mi-pending.exp: New.
11380 * gdb.mi/mi-pending.c: New.
11381 * gdb.mi/mi-pendshr.c: New.
11382
11383 2007-12-06 Jim Blandy <jimb@codesourcery.com>
11384
11385 * gdb.base/default.exp: Update expected output for 'info catch'.
11386
11387 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11388
11389 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11390 must be set to binary.
11391
11392 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11393
11394 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11395
11396 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11397
11398 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11399 gdb.mi/mi-file-transfer.exp: New.
11400
11401 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11402
11403 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11404
11405 2007-11-22 Maciej W. Rozycki <macro@mips.com>
11406
11407 * gdb.trace/backtrace.exp: Fix a typo.
11408 * gdb.trace/circ.exp: Likewise.
11409 * gdb.trace/collection.exp: Likewise.
11410 * gdb.trace/limits.exp: Likewise.
11411 * gdb.trace/report.exp: Likewise.
11412 * gdb.trace/tfind.exp: Likewise.
11413 * gdb.trace/while-dyn.exp: Likewise.
11414
11415 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
11416
11417 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11418 objects of pointers that can't be dereferenced are now
11419 "noneditable".
11420
11421 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11422
11423 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11424 (target_cpu): Remove.
11425
11426 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11427
11428 * gdb.base/ending-run.exp: Expect the list of cleared
11429 breakpoint to come in natural order, not the reversed one.
11430
11431 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11432
11433 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11434 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
11435
11436 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
11437
11438 * gdb.base/printcmds.exp: New function
11439 test_printf_with_dfp.
11440
11441 2007-11-02 Doug Evans <dje@google.com>
11442
11443 * gdb.disasm/t01_mov.s: Remove carriage returns.
11444 * gdb.disasm/t02_mova.s: Ditto.
11445 * gdb.disasm/t03_add.s: Ditto.
11446 * gdb.disasm/t04_sub.s: Ditto.
11447 * gdb.disasm/t05_cmp.s: Ditto.
11448 * gdb.disasm/t06_ari2.s: Ditto.
11449 * gdb.disasm/t07_ari3.s: Ditto.
11450 * gdb.disasm/t08_or.s: Ditto.
11451 * gdb.disasm/t09_xor.s: Ditto.
11452 * gdb.disasm/t10_and.s: Ditto.
11453 * gdb.disasm/t11_logs.s: Ditto.
11454 * gdb.disasm/t12_bit.s: Ditto.
11455 * gdb.disasm/t13_otr.s: Ditto.
11456
11457 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11458
11459 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11460
11461 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11462
11463 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11464 provide DFP support.
11465
11466 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11467
11468 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11469 Test "set powerpc vector-abi". Skip auto-detection tests for old
11470 toolchains.
11471
11472 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11473
11474 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11475 with [string compare].
11476
11477 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11478
11479 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11480 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11481
11482 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
11483
11484 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11485 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11486 * gdb.opt/Makefile.in: New makefile.
11487 * Makefile.in: Create new directory "gdb.opt".
11488 * configure.ac: Add "gdb.opt" directory.
11489 * configure: Regenerated.
11490
11491 2007-10-25 Doug Evans <dje@google.com>
11492
11493 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11494 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11495
11496 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
11497 Thiago Jung Bauermann <bauerman@br.ibm.com>
11498
11499 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11500 Floating Point expressions.
11501 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11502 Floating Point variables.
11503 * gdb.base/dfp-test.c: new file containing program with Decimal
11504 Floating variables, used by gdb.base/dfp-test.exp.
11505
11506 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11507
11508 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11509
11510 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11511
11512 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11513 compiling test case with GCC.
11514 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11515
11516 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11517
11518 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11519 format changes.
11520
11521 2007-10-18 Michael Snyder <msnyder@specifix.com>
11522
11523 * gdb.base/dbx.exp: Add missing "-re " operator.
11524
11525 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11526
11527 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11528 * configure.ac: Removed trailing spaces after backslash.
11529 * gdb.modula2: New directory.
11530 * gdb.modula2/Makefile.in: New file.
11531 * gdb.modula2/unbounded-array.exp: New file.
11532 * gdb.modula2/unbounded1.c: New file.
11533
11534 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11535
11536 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11537
11538 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
11539
11540 * gdb.base/sigstep.c (main): Add checks for
11541 return values for setitimer call.
11542 Call setitimer again with itimer = ITIMER_REAL
11543 if first call to setitimer fails.
11544
11545 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
11546
11547 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11548 of $timeout.
11549
11550 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11551
11552 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11553
11554 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
11555
11556 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11557 of gdb_expect call, to avoid interruption.
11558
11559 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11560
11561 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11562 (v_unsigned_long_long, v_long_long_array)
11563 (v_signed_long_long_array, v_unsigned_long_long_array)
11564 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11565 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11566 [!NO_LONG_LONG]: New.
11567 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11568 v_long_long_member.
11569
11570 (v_long_long_func, v_signed_long_long_func)
11571 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11572 (main) [!NO_LONG_LONG]: Initialize long long variants.
11573
11574 * gdb.base/whatis.exp: If board file requests no_long_long, build
11575 test with NO_LONG_LONG defined. Test long long, signed long long,
11576 and unsigned long long variants but only if board file doesn't
11577 disable it.
11578
11579 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
11580 Daniel Jacobowitz <dan@codesourcery.com>
11581
11582 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11583 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11584 * configure: Regenerated.
11585 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11586 gdb.pascal/types.exp, lib/pascal.exp: New files.
11587
11588 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11589
11590 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11591 call.
11592 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11593 to return to the call.
11594 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11595 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11596 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11597 * gdb.mi/mi-until.exp (test_until): Likewise.
11598 * gdb.mi/mi2-until.exp (test_until): Likewise.
11599
11600 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11601
11602 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11603 two-char array.
11604 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11605
11606 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11607
11608 * gdb.threads/watchthreads.c (thread_function): Sleep between
11609 iterations.
11610 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11611 at once for S/390. Generate matching fails and passes.
11612
11613 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11614
11615 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11616 the 'struct_declarations' variable to zeros.
11617
11618 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11619
11620 * gdb.cp/mb-ctor.cc: New.
11621 * gdb.cp/mb-ctor.exp: New.
11622 * gdb.cp/mb-templates.cc: New.
11623 * gdb.cp/mb-templates.exp: New.
11624
11625 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11626
11627 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11628
11629 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11630
11631 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11632 targets.
11633 * configure: Regenerate.
11634
11635 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
11636
11637 * gdb.base/annota1.exp: Adjust for 'info break'
11638 format changes.
11639 * gdb.base/annota3.exp: Likewise.
11640 * gdb.base/break.exp: Likewise.
11641 * gdb.base/condbreak.exp: Likewise.
11642 * gdb.base/pending.exp: Likewise.
11643 * gdb.base/sepdebug.exp: Likewise.
11644 * gdb.base/unload.exp: Likewise.
11645 * gdb.base/ovldbreak.exp: Likewise.
11646
11647 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11648
11649 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11650 messages.
11651 * gdb.base/chng-syms.exp: Likewise.
11652 * gdb.base/unload.exp: Likewise.
11653
11654 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11655
11656 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11657
11658 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11659
11660 * schedlock.c (NUM): Change to 1.
11661 (main): Use args[0] for the main thread.
11662 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11663 regardless of the number of threads.
11664
11665 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11666
11667 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11668 type down.
11669 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11670 test.
11671 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11672 watchpoint type down.
11673 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11674 test.
11675
11676 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11677
11678 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11679 Move all the tests here and run them twice, once using software
11680 watchpoints and once using hardware watchpoints.
11681 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11682
11683 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11684
11685 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11686 test.
11687
11688 2007-09-10 Mark Kettenis <kettenis@gnu.org>
11689
11690 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11691 build-id.
11692
11693 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11694 know about $ORIGIN. Calculate output dir from $dest instead of
11695 using ${objdir}/{$subdir}.
11696
11697 2007-09-09 Mark Kettenis <kettenis@gnu.org>
11698
11699 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11700 gcore, before continuing with the test.
11701
11702 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11703
11704 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11705 * gdb.mi/mi-watch.exp: Likewise.
11706
11707 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11708 Jim Blandy <jimb@codesourcery.com>
11709
11710 * gdb.arch/i386-sse.exp: Do not expect character constants.
11711 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11712 * gdb.base/display.exp: Allow print/s.
11713 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11714 and unsigned char array changes.
11715
11716 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11717
11718 * gdb.base/display.exp: Add tests for printf %p.
11719
11720 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11721
11722 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11723 the dll name to unicode.
11724
11725 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11726
11727 * gdb.base/default.exp (show version): Update the version text.
11728 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11729
11730 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11731
11732 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11733 New files.
11734
11735 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11736
11737 * lib/gdb.exp (build_id_debug_filename_get): New function.
11738 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11739 Remove the generate DEBUG file for the future testcase runs.
11740 New testcase for the NT_GNU_BUILD_ID retrieval.
11741 Move the final testing step to ...
11742 (test_different_dir): ... a new function.
11743 New parameter XFAIL to XFAIL all the tests performed.
11744 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11745 New parameter TYPE to PF_PREFIX all the tests performed.
11746
11747 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11748
11749 * gdb.mi/mi-var-cp.cc (path_expression): New
11750 function.
11751 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11752
11753 2007-08-27 Markus Deuling <deuling@de.ibm.com>
11754
11755 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11756 to fit into SPU Local Store memory.
11757
11758 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11759
11760 * gdb.base/default.exp: Adjust the expected output of "info
11761 warranty" after the switch to GPLv3.
11762
11763 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11764
11765 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11766 to 30000 (from 20000).
11767
11768 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11769
11770 Switch the license of all .exp files to GPLv3.
11771 Switch the license of all .f and .f90 files to GPLv3.
11772 Switch the license of all .s and .S files to GPLv3.
11773
11774 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11775
11776 * configure.ac: Switch license to GPLv3.
11777
11778 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11779
11780 Switch the licensing to GPLv3 for all .ads and .adb files.
11781
11782 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11783
11784 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11785 and t_int_double.
11786 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11787
11788 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11789
11790 * gdb.base/step-line.c: Switch license to GPL version 3, and
11791 update copyright year.
11792 * gdb.base/step-line.inp: Likewise.
11793
11794 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11795
11796 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11797 changes inside gdb1555.c.
11798 * gdb.base/pending.exp: Likewise.
11799
11800 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11801
11802 * config/default.exp: New file.
11803
11804 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11805
11806 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11807 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11808
11809 2007-07-30 Maciej W. Rozycki <macro@mips.com>
11810
11811 * gdb.base/dump.exp: Force the correct endianness for binary
11812 formats not carrying this information.
11813
11814 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11815
11816 * gdb.threads/staticthreads.exp: Match .*sem_post.
11817
11818 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11819
11820 * gdb.base/readline.exp (operate_and_get_next): Match the final
11821 prompt.
11822
11823 2007-07-23 Kevin Buettner <kevinb@redhat.com>
11824
11825 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11826 to restarting SID.
11827
11828 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11829
11830 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11831 prior to `gdb_start'.
11832
11833 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11834
11835 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11836 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11837 Remove call to gdb_unload.
11838
11839 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11840 Daniel Jacobowitz <dan@codesourcery.com>
11841
11842 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11843 for __WIN32__.
11844 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11845 * gdb.base/unload.exp: Use shared library test routines.
11846
11847 2007-07-03 Markus Deuling <deuling@de.ibm.com>
11848
11849 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11850 * gdb.base/solib-symbol-lib.c: Likewise.
11851 * gdb.base/solib-symbol-main.c: Likewise.
11852
11853 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11854
11855 * config/gdbserver.exp (gdb_reconnect): New.
11856 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11857 gdb.base/solib-disc.exp: New files.
11858 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11859 remote debugging".
11860 (gdb_compile): Add shlib_load flag.
11861 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11862 port.
11863 (gdbserver_reconnect): New.
11864
11865 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
11866 Daniel Jacobowitz <dan@codesourcery.com>
11867
11868 * gdb.base/annota3.exp: Test for if construct.
11869
11870 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11871
11872 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11873
11874 2007-06-21 Chris Dearman <chris@mips.com>
11875 Maciej W. Rozycki <macro@mips.com>
11876
11877 * gdb.base/display.exp: Allow a newline after display/i.
11878 * gdb.base/pc-fp.exp: Likewise.
11879 * gdb.base/sigbpt.exp: Likewise.
11880
11881 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11882
11883 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11884 required features to be included.
11885
11886 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11887
11888 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11889 in info threads output.
11890
11891 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11892 Markus Deuling <deuling@de.ibm.com>
11893
11894 * gdb.arch/spu-info.exp: New testcase.
11895 * gdb.arch/spu-info.c: New file.
11896
11897 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11898
11899 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11900 tpcs_offset. Restore lr after the call.
11901 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11902
11903 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11904
11905 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11906 (gdbserver_run): Kill any running gdbserver.
11907 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11908
11909 2007-05-17 Maciej W. Rozycki <macro@mips.com>
11910
11911 * gdb.base/sigbpt.exp: Preset segv_addr.
11912
11913 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11914
11915 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11916 (gdb_compile_shlib): Likewise.
11917 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11918 (default_gdb_init): Clear cleanfiles.
11919 (gdb_finish): Delete recorded cleanfiles.
11920 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11921
11922 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11923 Do not use isnative.
11924 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11925 gdb.base/so-impl-ld.exp: Likewise.
11926 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11927 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11928 gdb_compile.
11929
11930 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11931
11932 * config/unknown.exp: Remove.
11933
11934 2007-05-15 Markus Deuling <deuling@de.ibm.com>
11935
11936 * gdb.base/info-proc.exp: Check is_remote.
11937
11938 2007-05-14 Markus Deuling <deuling@de.ibm.com>
11939
11940 * gdb.base/gcore.exp: Initialize variable core_supported.
11941
11942 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11943
11944 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11945
11946 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11947
11948 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11949 * gdb.threads/print-threads.exp (test_all_threads): Allow
11950 negative and hexadecimal thread IDs.
11951
11952 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11953
11954 * gdb.java/jprint.java (public): Avoid invalid call to static
11955 method.
11956
11957 2007-05-14 Denis Pilat <denis.pilat@st.com>
11958
11959 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11960 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11961 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11962 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11963 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11964
11965 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11966
11967 * gdb.base/overlays.exp: Add support for targets with only code
11968 overlay support, not data overlay. Support spu-*-* target in
11969 this mode.
11970 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11971 * gdb.base/spu.ld: New file.
11972
11973 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11974
11975 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11976
11977 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11978
11979 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11980
11981 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11982
11983 * gdb.java/jmain.exp: Handle demangled names with and without method
11984 signatures.
11985
11986 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11987
11988 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11989 (have_a_very_merry_interrupt): Remove calls to puts.
11990 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11991 inferior output.
11992 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11993 test names.
11994
11995 2007-04-29 Markus Deuling <deuling@de.ibm.com>
11996 Daniel Jacobowitz <dan@codesourcery.com>
11997
11998 * gdb.base/auxv.exp (core_works): Also check is_remote.
11999 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
12000
12001 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
12002
12003 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
12004 message, not the undefined 'module' variable.
12005 * gdb.base/siginfo.exp: Likewise.
12006 * gdb.base/sigstep.exp: Likewise.
12007 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
12008 serialport.
12009 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
12010
12011 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
12012
12013 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
12014 target sim fails. Return 0 otherwise.
12015 (gdb_load): Return prematurely if gdb_target_sim fails.
12016
12017 2007-04-16 Denis Pilat <denis.pilat@st.com>
12018
12019 * gdb.base/setshow.exp: Reset height after having set it to 100.
12020
12021 2007-04-16 Denis Pilat <denis.pilat@st.com>
12022
12023 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
12024
12025 2007-04-16 Denis Pilat <denis.pilat@st.com>
12026
12027 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
12028
12029 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
12030
12031 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
12032 tests. Run the frozen varobjs test.
12033 * gdb.mi/var-cmd.c (do_frozen_tests): New.
12034 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
12035
12036 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12037
12038 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
12039 gdb.base/type-opaque.exp: New files.
12040
12041 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
12042
12043 * gdb.mi/mi-var-child.c
12044 (do_children_tests): User char[2] instead of
12045 char so that automatic printing of pointers to char
12046 don't give unpredicable result.
12047 * gdb.mi/var-cmd.c (do_locals_test): Initialize
12048 local variables.
12049 * gdb.mi/mi-var-child.exp: Step to right line
12050 of do_children_tests.
12051 * gdb.mi/mi2-var-child.exp: Likewise.
12052 * gdb.mi/mi-var-cmd.exp: Step to right line of
12053 do_locals_tests.
12054 (do_children_tests): User char[2] instead of
12055 char so that automatic printing of pointers to char
12056 don't give unpredicable result.
12057 * gdb.mi/mi2-var-cmd.exp: Likewise.
12058 * lib/mi-support.exp (mi_continue_to_line):
12059 Pass test name to mi_wait_for_stop.
12060
12061 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12062
12063 * gdb.asm/asm-source.exp: Remove d10v case.
12064 * lib/gdb.exp (skip_cplus_tests): Likewise.
12065 * gdb.asm/d10v.inc: Deleted.
12066
12067 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12068
12069 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
12070
12071 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12072
12073 * config/netware.exp: Delete file.
12074
12075 2007-03-29 Joel Brobecker <brobecker@adacore.com>
12076
12077 * gdb.dwarf2/dw2-noloc.S: New file.
12078 * gdb.dwarf2/dw2-noloc.exp: New file.
12079
12080 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
12081
12082 * gdb.cp/method2.cc: New test.
12083 * gdb.cp/method2.exp: New test.
12084 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
12085
12086 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12087
12088 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
12089
12090 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
12091
12092 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
12093
12094 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
12095
12096 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
12097 (gdb_load): Delete, replace with...
12098 (gdb_reload): ...this.
12099 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
12100 * gdb.server/server-mon.exp: Likewise.
12101 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
12102 (gdb_start_cmd): New.
12103 (gdb_file_cmd): Save the last loaded file.
12104 (gdb_reload): New.
12105 (gdb_gnu_strip_debug): Use transform.
12106 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
12107 support here. Use new $last_loaded_file. Check mtime.
12108 (gdb_target_cmd): Handle ObjC failure case.
12109 (infer_host_exec): Delete.
12110 (gdbserver_load): Rename to...
12111 (gdbserver_run): ...this. Simplify.
12112 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
12113 (mi_gdb_load): Move most contents to a new function...
12114 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
12115 (mi_run_cmd): Use mi_gdb_target_load.
12116 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
12117 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
12118 Use gdb_run_cmd.
12119 * gdb.base/charsign.exp: Remove incorrect comment.
12120 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
12121 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
12122 gdb.base/start.exp: Use gdb_start_cmd.
12123
12124 2007-03-23 Nigel Stephens <nigel@mips.com>
12125 Maciej W. Rozycki <macro@mips.com>
12126
12127 * gdb.base/sigbpt.exp: Fix the message when skipping test.
12128 * gdb.base/signull.exp: Similarly.
12129
12130 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12131
12132 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
12133 messages available to test cases (like chng-sym.exp).
12134
12135 2007-03-14 Andreas Schwab <schwab@suse.de>
12136
12137 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
12138 format changes.
12139
12140 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
12141
12142 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
12143 (optimized_1): New.
12144 (main): Call optimized_1.
12145 (gdb2029): Correct typos. Call gdb2029_marker.
12146 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
12147 for gdb2029.
12148
12149 2007-03-12 Mark Kettenis <kettenis@gnu.org>
12150
12151 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
12152 as tabs. Remove redundant test pattern.
12153
12154 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12155
12156 * gdb.base/long_long.exp: Accept optional symbol name in <...>
12157 for /a format output.
12158
12159 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
12160
12161 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
12162 collect output incrementally.
12163
12164 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12165
12166 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
12167 for -var-create lpcharacter test.
12168 * gdb.mi/mi2-var-cmd.exp: Likewise.
12169
12170 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12171
12172 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
12173 pass on targets where address zero is readable.
12174
12175 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12176
12177 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
12178 just a single architecture.
12179
12180 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12181
12182 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
12183 (fetch_all_registers): New function, uses gdb_test_multiple and
12184 exp_continue to fetch inferior output line-by-line.
12185 Replace all uses of do_get_all_registers by fetch_all_registers.
12186
12187 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12188
12189 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
12190 in target_info.
12191
12192 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12193
12194 * gdb.threads/manythreads.exp: Use $message string for
12195 consistancy; add a default (timeout) case.
12196
12197 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12198
12199 * gdb.base/watchpoint.exp: Fix truncated comment.
12200
12201 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
12202
12203 * Makefile.in: Remove spurious single-quotes from sed command.
12204
12205 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12206
12207 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12208 func.
12209 * gdb.mi/mi2-var-cmd.exp: Likewise.
12210
12211 2007-02-27 Joel Brobecker <brobecker@adacore.com>
12212
12213 * gdb.dwarf2/dw2-producer.S: New file.
12214 * gdb.dwarf2/dw2-producer.exp: New testcase.
12215
12216 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
12217
12218 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12219 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12220 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12221 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12222 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12223 Revert tests to use mi_gdb_test and include value field in output
12224 of -var-create.
12225
12226 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12227
12228 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12229
12230 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12231
12232 * gdb.base/maint.exp: Remove full paths from test names.
12233 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12234 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12235
12236 2007-02-27 Joel Brobecker <brobecker@adacore.com>
12237
12238 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12239
12240 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12241
12242 * gdb.server/server-mon.exp: New test.
12243
12244 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12245
12246 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12247
12248 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12249
12250 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12251 register capitalization.
12252
12253 2007-02-13 Denis Pilat <denis.pilat@st.com>
12254
12255 * gdb.mi/mi-var-invalidate.exp: New file.
12256
12257 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12258
12259 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12260
12261 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12262
12263 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12264
12265 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12266
12267 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12268 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12269
12270 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
12271
12272 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12273 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12274 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12275 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12276 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12277 * gdb.mi/gdb792.exp, lib/mi-support.exp:
12278 Update tests to include value field in output of -var-create.
12279
12280 2007-02-08 Andreas Schwab <schwab@suse.de>
12281
12282 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12283
12284 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12285
12286 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12287 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12288
12289 2007-02-02 Denis Pilat <denis.pilat@st.com>
12290
12291 * gdb.threads/threadapply.exp: check that frame is not changed by
12292 the thread apply all command.
12293
12294 2007-01-31 Andreas Schwab <schwab@suse.de>
12295
12296 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12297
12298 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12299 in the dwarf sections.
12300 * gdb.dwarf2/mac-fileno.S: Likewise.
12301
12302 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12303 bspstore register on ia64.
12304
12305 2007-01-29 Andreas Schwab <schwab@suse.de>
12306
12307 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12308 "frame-begin" annotation.
12309
12310 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12311 number of "frames-invalid" annotations.
12312
12313 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12314
12315 * gdb.base/commands.exp: Call if_commands_test.
12316 (gdb_test_no_prompt, if_commands_test): New.
12317
12318 2007-01-28 Mark Kettenis <kettenis@gnu.org>
12319
12320 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12321
12322 2007-01-27 Andreas Schwab <schwab@suse.de>
12323
12324 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12325 .short/.int/.quad in the dwarf sections.
12326 * gdb.dwarf2/dw2-intercu.S: Likewise.
12327 * gdb.dwarf2/dw2-intermix.S: Likewise.
12328
12329 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12330
12331 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
12332 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12333 array.
12334 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12335 * gdb.base/setvar.exp: Likewise.
12336
12337 2007-01-26 Andreas Schwab <schwab@suse.de>
12338
12339 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12340 test.
12341
12342 * gdb.base/multi-forks.exp ("restart $i"): Also match
12343 __kernel_syscall_via_break.
12344
12345 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12346
12347 * lib/mi-support.exp (mi_delete_varobj): New.
12348 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12349 testcase.
12350 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12351 (main): Call the above.
12352 (reference_update_test, base_in_reference_test)
12353 (reference_to_pointer): Delete the created varobjs.
12354
12355 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12356
12357 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12358 * configure: Regenerated.
12359 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12360 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12361 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12362 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12363 * lib/gdb.exp (gdb_skip_xml_test): New function.
12364
12365 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12366
12367 * gdb.base/sigrepeat.exp: Correct error message.
12368
12369 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12370 Daniel Jacobowitz <dan@codesourcery.com>
12371
12372 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12373 gdb.arch/i386-gnu-cfi-asm.S: New files.
12374
12375 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12376
12377 * lib/gdb.exp: Abort on missing `site.exp'.
12378
12379 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12380 Daniel Jacobowitz <dan@codesourcery.com>
12381
12382 * gdb.base/included.c, gdb.base/included.exp,
12383 gdb.base/included.h: New files.
12384
12385 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12386
12387 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12388 (maximize_rlimit): Reduce limits on 64-bit systems.
12389
12390 2007-01-19 Mark Kettenis <kettenis@gnu.org>
12391
12392 From Marcus Deuling <deuling@de.ibm.com>:
12393 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12394 every case.
12395
12396 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
12397
12398 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12399 (test_path_specification): Use objdir instead of srcdir to always
12400 get an absolute filename.
12401
12402 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12403
12404 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12405
12406 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12407
12408 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12409 Make sure the variable we're using is in scope.
12410 (reference_to_pointer): Likewise.
12411
12412 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12413
12414 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12415 has no debug information.
12416
12417 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12418
12419 * gdb.base/annota1.exp: Remove extra send_gdb.
12420
12421 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12422
12423 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12424
12425 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12426
12427 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12428
12429 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
12430 Daniel Jacobowitz <dan@codesourcery.com>
12431
12432 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12433 lcharacter or linteger change. Correct duplicated test name.
12434 * gdb.mi/mi2-var-cmd.exp: Likewise.
12435
12436 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12437
12438 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12439
12440 2007-01-05 Joel Brobecker <brobecker@adacore.com>
12441
12442 * gdb.base/nofield.c: New file.
12443 * gdb.base/nofield.exp: New testcase.
12444
12445 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
12446
12447 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12448
12449 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12450 test.
12451
12452 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12453
12454 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12455
12456 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12457
12458 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12459 when continuing.
12460
12461 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12462
12463 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12464 Expect ".exe" extension.
12465
12466 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12467
12468 * gdb.base/charset.exp: Add explicit filename to break.
12469 * gdb.base/dbx.exp: Add explicit filename to breaks.
12470
12471 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12472
12473 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12474 * gdb.mi/mi2-file.exp: Likewise.
12475
12476 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12477
12478 Implement specification of MI tests as comments
12479 in C and C++ sources.
12480 * lib/mi-support.exp (mi_autotest_data): New variable.
12481 (mi_autotest_source): New variable.
12482 (count_newlines, mi_prepare_inline_tests)
12483 (mi_get_inline_test, mi_continue_to_line)
12484 (mi_run_inline_test, mi_tbreak)
12485 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12486 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12487 Run inline tests.
12488 * gdb.mi/mi-var-cp.cc: Define tests here.
12489
12490 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12491
12492 Simplify usage of mi_continue_to.
12493 * lib/mi-support.exp (mi_runto_helper): Renamed
12494 from mi_runto, added new parameter 'run_or_continue'.
12495 (mi_runto): Use mi_runto_helper.
12496 (mi_continue_to): Accept just function name as parameter.
12497 Use mi_runto_helper.
12498 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12499 * gdb.mi/mi2-var-cmd.exp: Likewise.
12500
12501 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12502
12503 Make this testcase a bit more realistic. The current code
12504 is too simplistic, and allows the compiler to optimize out
12505 some of the entities we need for this testcase.
12506 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12507 (Do_Nothing): Add extra parameter.
12508 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12509 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12510 by using a variable of type Void_Star.
12511
12512 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12513
12514 * gdb.ada/catch_ex/foo.adb: New file.
12515 * gdb.ada/catch_ex.exp: New testcase.
12516
12517 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12518
12519 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12520 pass --image-base to linker.
12521
12522 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12523 Daniel Jacobowitz <dan@codesourcery.com>
12524
12525 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12526 secondary prompts.
12527
12528 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12529
12530 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12531 output. Test the types of members and member pointers.
12532 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12533 gdb/2092.
12534 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12535 statement. Enable for GCC. Update expected output for some tests
12536 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12537 layout.
12538 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12539 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12540 (Diamond::vget_base): New.
12541 (main): Add new tests.
12542 * gdb.cp/printmethod.exp: Update expected output for member functions.
12543 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12544 print pEe->D::vg().
12545
12546 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12547
12548 * gdb.threads/tls.exp: Allow stops in sem_post.
12549
12550 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12551
12552 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12553 * gdb.base/annota3.exp: Likewise.
12554 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12555 again (instead of timing out).
12556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12557 GCC bug 26475.
12558 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12559 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12560 test from jmisc1.exp.
12561 * gdb.java/jmisc1.exp: Delete.
12562 * gdb.java/jprint.exp: Adjust to work with method signatures including
12563 return types.
12564 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12565 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12566 * lib/java.exp (compile_java_from_source): Pass the correct type
12567 to target_compile.
12568
12569 2006-12-31 Joel Brobecker <brobecker@adacore.com>
12570
12571 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12572 (stack_align_edx): New function.
12573 (stack_align_eax): New function.
12574 (main): Add calls to stack_align_edx and stack_align_eax.
12575 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12576 Add testing for the cases where the register used during a stack
12577 realignment is edx. Same for eax.
12578
12579 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12580
12581 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12582 and generic PE targets.
12583
12584 2006-12-29 Joel Brobecker <brobecker@adacore.com>
12585
12586 * gdb.ada/array_return.exp: Update copyright date list.
12587
12588 2006-12-27 Joel Brobecker <brobecker@adacore.com>
12589
12590 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12591 (Create_Small_Float_Vector): New function.
12592 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12593 function body.
12594 * gdb.ada/array_return/p.adb: Use new type and function from
12595 package Pck.
12596 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12597 able to print the value returned by a function returning an
12598 array of float.
12599
12600 2006-12-20 Joel Brobecker <brobecker@adacore.com>
12601
12602 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12603 The associated tests should be PASSing.
12604
12605 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12606
12607 Test for base in references.
12608 * gdb.mi/mi-var-cp.cc: Add test code.
12609 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12610 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12611 * gdb.mi/mi2-watch.exp: Likewise.
12612 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12613 (mi_list_varobj_children): New function.
12614
12615 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12616
12617 * lib/mi-support.exp
12618 (mi_runto): Accept "()" after function name.
12619 (mi_create_varobj): New function.
12620 (mi_varobj_update): New function.
12621 (mi_Check_varobj_value): New function.
12622 * gdb.mi/mi-var-cp.exp: New file.
12623 * gdb.mi/mi-var-cp.cc: New file.
12624
12625 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12626
12627 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12628 gdb.base/weaklib2.c: New files.
12629
12630 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
12631
12632 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12633 info. Adjust test names.
12634
12635 * gdb.base/break.c (main): Move position of malloc.
12636 * gdb.base/break.exp: Revert mistaken checkin.
12637
12638 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12639
12640 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12641 assignement of arrays and function pointers.
12642 * gdb.mi/var-cmd.c: Add declaration necessary for above
12643 tests.
12644
12645 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12646
12647 * gdb.base/break.c (main): Call malloc.
12648
12649 * gdb.threads/linux-dp.exp: Read thread table before and after
12650 creating each philosopher and verify it.
12651
12652 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12653 Paul Brook <paul@codesourcery.com>
12654 Daniel Jacobowitz <dan@codesourcery.com>
12655
12656 * gdb.base/ending-run.exp: Flatten expect script stepping out of
12657 main to remove duplication. Add start function of the form
12658 '_*start[1-9]*'. Add RVDS start function.
12659
12660 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12661
12662 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12663
12664 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12665
12666 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12667 * gdb.asm/spu.inc: New file.
12668 * gdb.base/term.exp: Disable if [target_info exists noargs].
12669 * gdb.gdb/complaints.exp: Disable if ![isnative].
12670 * gdb.gdb/selftest.exp: Likewise.
12671 * gdb.gdb/observer.exp: Likewise.
12672 * gdb.gdb/xfullpath.exp: Likewise.
12673 * gdb.base/attach.exp: Disable on SPU target.
12674 * gdb.cp/bs145503.exp: Likewise.
12675 * gdb.cp/exception.exp: Likewise.
12676 * gdb.cp/userdef.exp: Likewise.
12677
12678 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12679
12680 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12681
12682 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12683
12684 * gdb.base/completion.exp: Fix completion tests for
12685 'info' and 'info '.
12686 * gdb.base/help.exp (help_test_raw, test_class_help)
12687 (test_prefix_command_help): Move...
12688 * lib/gdb.exp: Here.
12689 * gdb.base/main.exp: Adjust.
12690 * gdb.cp/maint.exp: Adjust.
12691 * gdb.trace/tracecmd.exp: Use test_help_class.
12692
12693 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12694
12695 * gdb.stabs/weird.exp (print_weird_var): Use
12696 gdb_test_multiple instead of gdb_expect.
12697
12698 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12699
12700 * gdb.base/help.exp (help_test_raw): New.
12701 (test_class_help): New.
12702 (test_prefix_command_help): New.
12703 Adjust testcases.
12704
12705 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
12706
12707 * gdb.base/constvars.c (main): Write to crass and crips, so that
12708 they are allocated by the compiler.
12709
12710 2006-10-27 Andreas Schwab <schwab@suse.de>
12711
12712 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12713 "detach-fork".
12714
12715 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12716
12717 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12718 of patterns.
12719
12720 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12721
12722 * gdb.base/sepdebug.exp: Remove debug format test.
12723 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12724 Handle no-symtab.
12725 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12726
12727 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12728
12729 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12730 int to pointer or pointer to int.
12731 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12732
12733 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12734
12735 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12736
12737 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12738
12739 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12740
12741 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12742
12743 PR c++/2116
12744 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12745
12746 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12747
12748 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12749 the corresponding bug has been fixed in GDB (PR/2018).
12750
12751 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12752
12753 * gdb.base/subst.exp: New testcase.
12754
12755 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12756
12757 * gdb.ada/array_return/pck.ads: Add copyright notice.
12758 * gdb.ada/array_return/pck.adb: Likewise.
12759 * gdb.ada/array_return/p.adb: Likewise.
12760 * gdb.ada/exec_changed/first.adb: Likewise.
12761 * gdb.ada/exec_changed/second.adb: Likewise.
12762
12763 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12764
12765 * gdb.ada/watch_arg/watch.adb: New file.
12766 * gdb.ada/watch_arg.exp: New testcase.
12767
12768 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12769
12770 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
12771 via string_to_regexp.
12772 * gdb.mi/mi2-basics.exp: Likewise.
12773
12774 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
12775
12776 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12777 Remove unused / obsolete files.
12778
12779 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
12780
12781 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12782
12783 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12784
12785 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12786 HIGH_FRAME argument to -stack-list-arguments can be larger than
12787 the number of frames.
12788
12789 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12790
12791 * gdb.base/args.c (main): Add breakpoint marker.
12792 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12793 really test empty arguments.
12794 (args_load): Delete.
12795 (args_test): New.
12796
12797 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
12798
12799 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
12800 check for one file.
12801
12802 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12803
12804 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12805 HIGH_FRAME argument to -stack-list-locals can be larger than
12806 the number of frames.
12807
12808 2006-08-18 Fred Fish <fnf@specifix.com>
12809
12810 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12811 '$' in front of skip_vmx_tests_saved when setting that.
12812
12813 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12814
12815 * gdb.base/trace-commands.exp: New file.
12816
12817 2006-08-10 Joel Brobecker <brobecker@adacore.com>
12818 Daniel Jacobowitz <dan@codesourcery.com>
12819
12820 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12821 expected output of the backtrace commands.
12822
12823 2006-08-09 Joel Brobecker <brobecker@adacore.com>
12824
12825 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12826 untested followed by return combination.
12827 * gdb.arch/altivec-regs.exp: Likewise.
12828 * gdb.arch/e500-abi.exp: Likewise.
12829 * gdb.arch/e500-regs.exp: Likewise.
12830 * gdb.arch/gdb1291.exp: Likewise.
12831 * gdb.arch/gdb1431.exp: Likewise.
12832 * gdb.arch/gdb1558.exp: Likewise.
12833 * gdb.arch/i386-prologue.exp: Likewise.
12834 * gdb.arch/i386-unwind.exp: Likewise.
12835 * gdb.asm/asm-source.exp: Likewise.
12836 * gdb.base/a2-run.exp: Likewise.
12837 * gdb.base/advance.exp: Likewise.
12838 * gdb.base/all-bin.exp: Likewise.
12839 * gdb.base/annota1.exp: Likewise.
12840 * gdb.base/annota3.exp: Likewise.
12841 * gdb.base/args.exp: Likewise.
12842 * gdb.base/arithmet.exp: Likewise.
12843 * gdb.base/assign.exp: Likewise.
12844 * gdb.base/async.exp: Likewise.
12845 * gdb.base/attach.exp: Likewise.
12846 * gdb.base/bang.exp: Likewise.
12847 * gdb.base/bigcore.exp: Likewise.
12848 * gdb.base/bitfields.exp: Likewise.
12849 * gdb.base/bitfields2.exp: Likewise.
12850 * gdb.base/break.exp: Likewise.
12851 * gdb.base/call-sc.exp: Likewise.
12852 * gdb.base/call-strs.exp: Likewise.
12853 * gdb.base/callfuncs.exp: Likewise.
12854 * gdb.base/checkpoint.exp: Likewise.
12855 * gdb.base/chng-syms.exp: Likewise.
12856 * gdb.base/code-expr.exp: Likewise.
12857 * gdb.base/commands.exp: Likewise.
12858 * gdb.base/completion.exp: Likewise.
12859 * gdb.base/cond-expr.exp: Likewise.
12860 * gdb.base/condbreak.exp: Likewise.
12861 * gdb.base/consecutive.exp: Likewise.
12862 * gdb.base/constvars.exp: Likewise.
12863 * gdb.base/corefile.exp: Likewise.
12864 * gdb.base/cvexpr.exp: Likewise.
12865 * gdb.base/dbx.exp: Likewise.
12866 * gdb.base/define.exp: Likewise.
12867 * gdb.base/detach.exp: Likewise.
12868 * gdb.base/display.exp: Likewise.
12869 * gdb.base/dump.exp: Likewise.
12870 * gdb.base/ena-dis-br.exp: Likewise.
12871 * gdb.base/ending-run.exp: Likewise.
12872 * gdb.base/environ.exp: Likewise.
12873 * gdb.base/eval-skip.exp: Likewise.
12874 * gdb.base/exprs.exp: Likewise.
12875 * gdb.base/fileio.exp: Likewise.
12876 * gdb.base/finish.exp: Likewise.
12877 * gdb.base/float.exp: Likewise.
12878 * gdb.base/foll-exec.exp: Likewise.
12879 * gdb.base/foll-fork.exp: Likewise.
12880 * gdb.base/foll-vfork.exp: Likewise.
12881 * gdb.base/freebpcmd.exp: Likewise.
12882 * gdb.base/funcargs.exp: Likewise.
12883 * gdb.base/gcore.exp: Likewise.
12884 * gdb.base/gdb1090.exp: Likewise.
12885 * gdb.base/gdb1250.exp: Likewise.
12886 * gdb.base/huge.exp: Likewise.
12887 * gdb.base/info-proc.exp: Likewise.
12888 * gdb.base/interrupt.exp: Likewise.
12889 * gdb.base/jump.exp: Likewise.
12890 * gdb.base/langs.exp: Likewise.
12891 * gdb.base/lineinc.exp: Likewise.
12892 * gdb.base/list.exp: Likewise.
12893 * gdb.base/logical.exp: Likewise.
12894 * gdb.base/long_long.exp: Likewise.
12895 * gdb.base/macscp.exp: Likewise.
12896 * gdb.base/maint.exp: Likewise.
12897 * gdb.base/mips_pro.exp: Likewise.
12898 * gdb.base/miscexprs.exp: Likewise.
12899 * gdb.base/multi-forks.exp: Likewise.
12900 * gdb.base/opaque.exp: Likewise.
12901 * gdb.base/overlays.exp: Likewise.
12902 * gdb.base/pc-fp.exp: Likewise.
12903 * gdb.base/pointers.exp: Likewise.
12904 * gdb.base/printcmds.exp: Likewise.
12905 * gdb.base/psymtab.exp: Likewise.
12906 * gdb.base/ptype.exp: Likewise.
12907 * gdb.base/recurse.exp: Likewise.
12908 * gdb.base/relational.exp: Likewise.
12909 * gdb.base/relocate.exp: Likewise.
12910 * gdb.base/remote.exp: Likewise.
12911 * gdb.base/reread.exp: Likewise.
12912 * gdb.base/restore.exp: Likewise.
12913 * gdb.base/return.exp: Likewise.
12914 * gdb.base/return2.exp: Likewise.
12915 * gdb.base/scope.exp: Likewise.
12916 * gdb.base/sect-cmd.exp: Likewise.
12917 * gdb.base/sep.exp: Likewise.
12918 * gdb.base/sepdebug.exp: Likewise.
12919 * gdb.base/setshow.exp: Likewise.
12920 * gdb.base/setvar.exp: Likewise.
12921 * gdb.base/sigall.exp: Likewise.
12922 * gdb.base/sigbpt.exp: Likewise.
12923 * gdb.base/signals.exp: Likewise.
12924 * gdb.base/signull.exp: Likewise.
12925 * gdb.base/sizeof.exp: Likewise.
12926 * gdb.base/solib.exp: Likewise.
12927 * gdb.base/step-line.exp: Likewise.
12928 * gdb.base/step-test.exp: Likewise.
12929 * gdb.base/structs.exp: Likewise.
12930 * gdb.base/structs2.exp: Likewise.
12931 * gdb.base/term.exp: Likewise.
12932 * gdb.base/twice.exp: Likewise.
12933 * gdb.base/until.exp: Likewise.
12934 * gdb.base/varargs.exp: Likewise.
12935 * gdb.base/volatile.exp: Likewise.
12936 * gdb.base/watchpoint.exp: Likewise.
12937 * gdb.base/whatis-exp.exp: Likewise.
12938 * gdb.base/whatis.exp: Likewise.
12939 * gdb.cp/ambiguous.exp: Likewise.
12940 * gdb.cp/annota2.exp: Likewise.
12941 * gdb.cp/annota3.exp: Likewise.
12942 * gdb.cp/bool.exp: Likewise.
12943 * gdb.cp/breakpoint.exp: Likewise.
12944 * gdb.cp/casts.exp: Likewise.
12945 * gdb.cp/class2.exp: Likewise.
12946 * gdb.cp/classes.exp: Likewise.
12947 * gdb.cp/cplusfuncs.exp: Likewise.
12948 * gdb.cp/ctti.exp: Likewise.
12949 * gdb.cp/derivation.exp: Likewise.
12950 * gdb.cp/exception.exp: Likewise.
12951 * gdb.cp/gdb1355.exp: Likewise.
12952 * gdb.cp/hang.exp: Likewise.
12953 * gdb.cp/inherit.exp: Likewise.
12954 * gdb.cp/local.exp: Likewise.
12955 * gdb.cp/m-data.exp: Likewise.
12956 * gdb.cp/m-static.exp: Likewise.
12957 * gdb.cp/member-ptr.exp: Likewise.
12958 * gdb.cp/method.exp: Likewise.
12959 * gdb.cp/misc.exp: Likewise.
12960 * gdb.cp/namespace.exp: Likewise.
12961 * gdb.cp/overload.exp: Likewise.
12962 * gdb.cp/ovldbreak.exp: Likewise.
12963 * gdb.cp/pr-1023.exp: Likewise.
12964 * gdb.cp/pr-1210.exp: Likewise.
12965 * gdb.cp/pr-574.exp: Likewise.
12966 * gdb.cp/printmethod.exp: Likewise.
12967 * gdb.cp/psmang.exp: Likewise.
12968 * gdb.cp/ref-params.exp: Likewise.
12969 * gdb.cp/ref-types.exp: Likewise.
12970 * gdb.cp/rtti.exp: Likewise.
12971 * gdb.cp/templates.exp: Likewise.
12972 * gdb.cp/try_catch.exp: Likewise.
12973 * gdb.cp/userdef.exp: Likewise.
12974 * gdb.cp/virtfunc.exp: Likewise.
12975 * gdb.disasm/am33.exp: Likewise.
12976 * gdb.disasm/h8300s.exp: Likewise.
12977 * gdb.disasm/mn10300.exp: Likewise.
12978 * gdb.disasm/sh3.exp: Likewise.
12979 * gdb.disasm/t01_mov.exp: Likewise.
12980 * gdb.disasm/t02_mova.exp: Likewise.
12981 * gdb.disasm/t03_add.exp: Likewise.
12982 * gdb.disasm/t04_sub.exp: Likewise.
12983 * gdb.disasm/t05_cmp.exp: Likewise.
12984 * gdb.disasm/t06_ari2.exp: Likewise.
12985 * gdb.disasm/t07_ari3.exp: Likewise.
12986 * gdb.disasm/t08_or.exp: Likewise.
12987 * gdb.disasm/t09_xor.exp: Likewise.
12988 * gdb.disasm/t10_and.exp: Likewise.
12989 * gdb.disasm/t11_logs.exp: Likewise.
12990 * gdb.disasm/t12_bit.exp: Likewise.
12991 * gdb.disasm/t13_otr.exp: Likewise.
12992 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12993 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12994 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12995 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12996 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12997 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12998 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12999 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13000 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
13001 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
13002 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13003 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13004 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13005 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13006 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13007 * gdb.mi/gdb701.exp: Likewise.
13008 * gdb.mi/gdb792.exp: Likewise.
13009 * gdb.mi/mi-basics.exp: Likewise.
13010 * gdb.mi/mi-break.exp: Likewise.
13011 * gdb.mi/mi-cli.exp: Likewise.
13012 * gdb.mi/mi-console.exp: Likewise.
13013 * gdb.mi/mi-disassemble.exp: Likewise.
13014 * gdb.mi/mi-eval.exp: Likewise.
13015 * gdb.mi/mi-file.exp: Likewise.
13016 * gdb.mi/mi-read-memory.exp: Likewise.
13017 * gdb.mi/mi-regs.exp: Likewise.
13018 * gdb.mi/mi-return.exp: Likewise.
13019 * gdb.mi/mi-simplerun.exp: Likewise.
13020 * gdb.mi/mi-stack.exp: Likewise.
13021 * gdb.mi/mi-stepi.exp: Likewise.
13022 * gdb.mi/mi-syn-frame.exp: Likewise.
13023 * gdb.mi/mi-until.exp: Likewise.
13024 * gdb.mi/mi-var-block.exp: Likewise.
13025 * gdb.mi/mi-var-child.exp: Likewise.
13026 * gdb.mi/mi-var-cmd.exp: Likewise.
13027 * gdb.mi/mi-var-display.exp: Likewise.
13028 * gdb.mi/mi-watch.exp: Likewise.
13029 * gdb.mi/mi2-basics.exp: Likewise.
13030 * gdb.mi/mi2-break.exp: Likewise.
13031 * gdb.mi/mi2-cli.exp: Likewise.
13032 * gdb.mi/mi2-console.exp: Likewise.
13033 * gdb.mi/mi2-disassemble.exp: Likewise.
13034 * gdb.mi/mi2-eval.exp: Likewise.
13035 * gdb.mi/mi2-file.exp: Likewise.
13036 * gdb.mi/mi2-read-memory.exp: Likewise.
13037 * gdb.mi/mi2-regs.exp: Likewise.
13038 * gdb.mi/mi2-return.exp: Likewise.
13039 * gdb.mi/mi2-simplerun.exp: Likewise.
13040 * gdb.mi/mi2-stack.exp: Likewise.
13041 * gdb.mi/mi2-stepi.exp: Likewise.
13042 * gdb.mi/mi2-syn-frame.exp: Likewise.
13043 * gdb.mi/mi2-until.exp: Likewise.
13044 * gdb.mi/mi2-var-block.exp: Likewise.
13045 * gdb.mi/mi2-var-child.exp: Likewise.
13046 * gdb.mi/mi2-var-cmd.exp: Likewise.
13047 * gdb.mi/mi2-var-display.exp: Likewise.
13048 * gdb.mi/mi2-watch.exp: Likewise.
13049 * gdb.stabs/exclfwd.exp: Likewise.
13050 * gdb.stabs/weird.exp: Likewise.
13051 * gdb.threads/gcore-thread.exp: Likewise.
13052 * gdb.trace/actions.exp: Likewise.
13053 * gdb.trace/backtrace.exp: Likewise.
13054 * gdb.trace/circ.exp: Likewise.
13055 * gdb.trace/collection.exp: Likewise.
13056 * gdb.trace/deltrace.exp: Likewise.
13057 * gdb.trace/infotrace.exp: Likewise.
13058 * gdb.trace/limits.exp: Likewise.
13059 * gdb.trace/packetlen.exp: Likewise.
13060 * gdb.trace/passc-dyn.exp: Likewise.
13061 * gdb.trace/passcount.exp: Likewise.
13062 * gdb.trace/report.exp: Likewise.
13063 * gdb.trace/save-trace.exp: Likewise.
13064 * gdb.trace/tfind.exp: Likewise.
13065 * gdb.trace/tracecmd.exp: Likewise.
13066 * gdb.trace/while-dyn.exp: Likewise.
13067 * gdb.trace/while-stepping.exp: Likewise.
13068
13069 2006-08-08 Joel Brobecker <brobecker@adacore.com>
13070
13071 * gdb.base/step-bt.c: New file.
13072 * gdb.base/step-bt.exp: New testcase.
13073
13074 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
13075
13076 * config/monitor.exp (gdb_load): Remove support for obsolete
13077 download-write-size.
13078 * gdb.base/remote.exp: Likewise. Update all callers of
13079 gdb_timed_load.
13080
13081 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
13082
13083 * cursal.exp: Pass binfile to gdb_load.
13084
13085 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
13086
13087 * gdb.base/cursal.exp: Add "" to gdb_load call.
13088
13089 2006-07-29 Mark Kettenis <kettenis@gnu.org>
13090
13091 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
13092 NetBSD/ELF targets.
13093
13094 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
13095
13096 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
13097 operator*.
13098
13099 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
13100
13101 * gdb.base/completion.exp: Update for change in "file" behavior.
13102 * gdb.stabs/weird.exp: Likewise.
13103 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
13104 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
13105
13106 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
13107
13108 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
13109 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
13110
13111 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
13112
13113 * gdb.base/default.exp: Update source command error message.
13114 * gdb.base/help.exp: Update 'help source' message.
13115
13116 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
13117
13118 * gdb.cp/bs15503.exp: Update comment for no longer crashing
13119 test.
13120
13121 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
13122
13123 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
13124
13125 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13126
13127 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
13128
13129 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
13130
13131 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
13132
13133 2006-07-17 Mark Kettenis <kettenis@gnu.org>
13134
13135 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
13136 *-*-openbsd* from targets for wich we expect ARM FPA floating
13137 point format.
13138
13139 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
13140
13141 * gdb.cp/annota3.exp: Expect frame-begin annotation.
13142
13143 2006-07-17 Mark Kettenis <kettenis@gnu.org>
13144
13145 * gdb.base/annota3.exp: Expect frame-begin annotation.
13146
13147 2006-07-14 Joel Brobecker <brobecker@adacore.com>
13148
13149 * gdb.base/help.exp: Adjust "help unset" test to accept
13150 any list of unset commands.
13151
13152 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
13153 Daniel Jacobowitz <dan@codesourcery.com>
13154
13155 * gdb.cp/ref-params.exp: New test.
13156 * gdb.cp/ref-params.cc: New source file.
13157 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
13158
13159 2006-07-08 Mark Kettenis <kettenis@gnu.org>
13160
13161 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
13162 spaces/tabs in regular expressions since they might not be there.
13163
13164 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
13165
13166 * gdb.base/ifelse.exp: New file.
13167
13168 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
13169
13170 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
13171 line.
13172 * gdb.base/huge.exp: Loop over compilation to find a size that
13173 is acceptable.
13174 * gdb.base/remote.exp: Correct expected strings.
13175 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
13176
13177 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13178
13179 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
13180
13181 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13182
13183 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
13184 native.
13185
13186 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13187
13188 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
13189 enable stabs testing.
13190
13191 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13192
13193 * gdb.base/auxv.exp: Intercept undefined command messages before
13194 gdb_test_multiple does.
13195
13196 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
13197
13198 * Makefile.in (host_alias): Remove.
13199 (target_alias): Use @target_noncanonical@.
13200 (site.exp): Don't set host_alias.
13201 * aclocal.m4: Remove contents. Include acx.m4.
13202 * configure: Regenerated.
13203 * configure.ac: Use ACX_NONCANONICAL_TARGET.
13204
13205 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
13206
13207 * lib/gdb.exp (gdb_load_cmd): New.
13208
13209 * gdb.base/fileio.c: Add system(NULL) test.
13210 * gdb.base/fileio.exp: Check it.
13211
13212 * gdb.base/break.c: Add 10a breakpoint at }
13213 * gdb.base/break.exp: Add test for breakpoint at }
13214 * gdb.cp/anon-union.cc: Add code at end of function.
13215 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13216 * gdb.mi/var-cmd.c: Add code at end of function.
13217 * gdb.mi/mi-var-display.exp: Adjust end of next.
13218 * gdb.mi/mi2-var-display.exp: Likewise.
13219 * gdb.base/fileio.c: Add stop function and insert calls at
13220 stopping places.
13221 * gdb.base/fileio.exp: Breakpoint stop function and remove
13222 explicit line number references.
13223
13224 2006-05-19 Joel Brobecker <brobecker@adacore.com>
13225
13226 * gdb.base/del.exp (test_delete_alias): New function.
13227 Now check that both "del" and "d" work as aliases for "delete".
13228
13229 2006-05-18 Fred Fish <fnf@specifix.com>
13230
13231 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13232 required. Check for spurious output after program exits normally.
13233
13234 2006-05-17 Fred Fish <fnf@specifix.com>
13235
13236 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13237 gdb_load, so it works in the simulator.
13238
13239 2006-05-11 Fred Fish <fnf@specifix.com>
13240
13241 * gdb.base/bang.exp: Ignore unexpected output between the
13242 "program exited normally" and the gdb prompt, as many other
13243 tests do.
13244
13245 2006-05-07 Mark Kettenis <kettenis@gnu.org>
13246
13247 * gdb.base/help.exp: Make "delete checkpoint" part option for
13248 "help d" and "help delete" tests.
13249
13250 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13251
13252 * gdb.mi/mi-basics.exp: Add missing serial number to
13253 expected output in some mi_gdb_test statements.
13254 * gdb.mi/mi2-basics.exp: Likewise.
13255
13256 2006-05-05 Joel Brobecker <brobecker@adacore.com>
13257
13258 * gdb.base/del.c: New file.
13259 * gdb.base/del.exp: New testcase.
13260
13261 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
13262
13263 * gdb.base/break.exp: Do not assume a breakpoint on
13264 main will actually be in $srcfile when optimizing.
13265 * gdb.base/savedregs.exp: Do not require that the dummy
13266 frame location match up to a symbol and source file location.
13267 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13268 will get printed without a mi_cmd_data_list_register_values prefix.
13269 (*-data-list-register-*): Correct regular expressions to expect the new
13270 pseudo d? floating point registers.
13271 * gdb.mi/mi2-regs.exp: Likewise.
13272
13273 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
13274
13275 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13276 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13277 is allocated by the compiler.
13278 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13279 anons, e, anone to force their allocation by the compiler.
13280
13281 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
13282
13283 * gdb.base/help.exp: Update expected text for help d and
13284 help delete.
13285
13286 2006-05-02 Mark Kettenis <kettenis@gnu.org>
13287
13288 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13289 NetBSD/ELF targets.
13290
13291 2006-04-30 Mark Kettenis <kettenis@gnu.org>
13292
13293 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13294 single-step breakpoint fails; make this a KFAIL on
13295 sparc*-*-openbsd*.
13296 * gdb.base/siginfo.exp: Likewise.
13297 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13298
13299 2006-04-26 Michael Snyder <msnyder@redhat.com>
13300
13301 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13302 which may have to consume output from other forks.
13303 Add tests to make sure that "delete fork" succeeded.
13304
13305 2006-04-20 Michael Snyder <msnyder@redhat.com>
13306
13307 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13308 Add support for the Renesas M32C and M16C.
13309
13310 * gdb.asm/asm-source.exp: Add m32c target.
13311 * gdb.asm/m32c.inc: Support for m32c target.
13312
13313 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13314
13315 * gdb.base/commands.exp (recursive_source_test): New test.
13316
13317 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
13318
13319 * gdb.base/float.exp: Add pattern for sparc targets.
13320
13321 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13322
13323 * gdb.base/commands.exp (stray_arg0_test): New test.
13324
13325 2006-03-30 Paul Brook <paul@codesourcery.com>
13326
13327 * gdb.mi/mi-until.exp: kfail broken until command.
13328 * gdb.mi/mi2-until.exp: Ditto.
13329
13330 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
13331
13332 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13333
13334 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
13335
13336 * gdb.base/prelink.exp: Anchor tested-for regular expression
13337 on gdb prompt.
13338
13339 2006-03-07 Paul Brook <paul@codesourcery.com>
13340
13341 * gdb.base/assign.exp: Correct fail message.
13342
13343 2006-03-07 Paul Brook <paul@codesourcery.com>
13344
13345 * lib/compiler.c: Extract armcc version number.
13346 * lib/compiler.cc: Ditto.
13347
13348 2006-03-07 Paul Brook <paul@codesourcery.com>
13349
13350 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13351 additional_flags=-w.
13352 * gdb.arch/altivec-regs.exp: Ditto.
13353 * gdb.arch/e500-abi.exp: Ditto.
13354 * gdb.arch/e500-regs.exp: Ditto.
13355 * gdb.base/all-bin.exp: Ditto.
13356 * gdb.base/annota1.exp: Ditto.
13357 * gdb.base/annota3.exp: Ditto.
13358 * gdb.base/args.exp: Ditto.
13359 * gdb.base/arithmet.exp: Ditto.
13360 * gdb.base/assign.exp: Ditto.
13361 * gdb.base/async.exp: Ditto.
13362 * gdb.base/bang.exp: Ditto.
13363 * gdb.base/break.exp: Ditto.
13364 * gdb.base/call-rt-st.exp: Ditto.
13365 * gdb.base/completion.exp: Ditto.
13366 * gdb.base/cond-expr.exp: Ditto.
13367 * gdb.base/condbreak.exp: Ditto.
13368 * gdb.base/consecutive.exp: Ditto.
13369 * gdb.base/define.exp: Ditto.
13370 * gdb.base/display.exp: Ditto.
13371 * gdb.base/ena-dis-br.exp: Ditto.
13372 * gdb.base/environ.exp: Ditto.
13373 * gdb.base/eval-skip.exp: Ditto.
13374 * gdb.base/info-proc.exp: Ditto.
13375 * gdb.base/jump.exp: Ditto.
13376 * gdb.base/logical.exp: Ditto.
13377 * gdb.base/long_long.exp: Ditto.
13378 * gdb.base/maint.exp: Ditto.
13379 * gdb.base/miscexprs.exp: Ditto.
13380 * gdb.base/pc-fp.exp: Ditto.
13381 * gdb.base/pointers.exp: Ditto.
13382 * gdb.base/relational.exp: Ditto.
13383 * gdb.base/reread.exp: Ditto.
13384 * gdb.base/sect-cmd.exp: Ditto.
13385 * gdb.base/sep.exp: Ditto.
13386 * gdb.base/sepdebug.exp: Ditto.
13387 * gdb.base/until.exp: Ditto.
13388 * gdb.base/whatis-exp.exp: Ditto.
13389 * gdb.cp/annota2.exp: Ditto.
13390 * gdb.cp/annota3.exp: Ditto.
13391 * gdb.trace/actions.exp: Ditto.
13392 * gdb.trace/backtrace.exp: Ditto.
13393 * gdb.trace/circ.exp: Ditto.
13394 * gdb.trace/collection.exp: Ditto.
13395 * gdb.trace/deltrace.exp: Ditto.
13396 * gdb.trace/infotrace.exp: Ditto.
13397 * gdb.trace/limits.exp: Ditto.
13398 * gdb.trace/packetlen.exp: Ditto.
13399 * gdb.trace/passc-dyn.exp: Ditto.
13400 * gdb.trace/passcount.exp: Ditto.
13401 * gdb.trace/report.exp: Ditto.
13402 * gdb.trace/save-trace.exp: Ditto.
13403 * gdb.trace/tfind.exp: Ditto.
13404 * gdb.trace/tracecmd.exp: Ditto.
13405 * gdb.trace/while-dyn.exp: Ditto.
13406 * gdb.trace/while-stepping.exp: Ditto.
13407 * lib/gdb.exp: Ditto.
13408 (gdb_compile): Handle nowarning option.
13409
13410 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
13411
13412 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13413 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13414 Rename executable to prelinkt. Don't re-prelink if we didn't
13415 get a core file. Test prelink -u exit status to tell whether
13416 prelinking failed. Use gdb_test_multiple.
13417
13418 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13419
13420 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13421 (do_tests): Call it.
13422
13423 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
13424
13425 * gdb.base/prelink.exp: New test.
13426 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13427
13428 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13429
13430 * gdb.fortran/derived-type.f90: New file.
13431 * gdb.fortran/derived-type.exp: New testcase.
13432
13433 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13434
13435 * gdb.base/default.exp: Allow ';' as a directory separator.
13436
13437 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13438
13439 * gdb.base/help.exp (help add-symbol-file): Update.
13440
13441 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13442
13443 * gdb.base/help.exp (help load): Update expected results.
13444
13445 2006-02-19 Fred Fish <fnf@specifix.com>
13446
13447 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13448 specifix hex value as part of results.
13449 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
13450
13451 2006-02-16 Fred Fish <fnf@specifix.com>
13452
13453 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13454 ushort_addr, and slong_addr, so the typedefs are not optimized
13455 away.
13456 * gdb.base/whatis.exp: Add tests using type name for struct type,
13457 union type, enum type, and typedef.
13458
13459 2006-02-13 Mark Kettenis <kettenis@gnu.org>
13460
13461 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13462
13463 2006-02-13 Jim Blandy <jimb@redhat.com>
13464
13465 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13466 case where it takes two "next" commands to skip past the init
13467 call.
13468
13469 2006-02-12 Fred Fish <fnf@specifix.com>
13470
13471 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13472 to handle cases where it takes two "next" commands to skip
13473 past the init call.
13474
13475 2006-02-07 Joel Brobecker <brobecker@adacore.com>
13476
13477 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13478 on hppa32 targets.
13479
13480 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
13481
13482 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13483 field.
13484
13485 2006-01-29 Mark Kettenis <kettenis@gnu.org>
13486
13487 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13488
13489 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13492 files.
13493
13494 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13495
13496 * gdb.cp/maint.exp: Set complaints to a positive value.
13497
13498 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13499
13500 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13501 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13502 function name.
13503
13504 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13505
13506 * gdb.base/checkpoint.c: Update copyright notice. Include
13507 <stdlib.h>.
13508
13509 2006-01-04 Jim Blandy <jimb@redhat.com>
13510
13511 * gdb.asm/asm-source.exp: Independently provide default values for
13512 asm-flags and debug-flags. Use 'string equal' to do the
13513 comparison, not the implicit expr's '==' operator. Remove
13514 now-unneeded assignments to asm-flags. In h8300 case, place
13515 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13516
13517 2006-01-04 Michael Snyder <msnyder@redhat.com>
13518
13519 * gdb.base/checkpoint.c: New file.
13520 * gdb.base/checkpoint.exp: New file.
13521 * gdb.base/multi-fork.c: New file.
13522 * gdb.base/multi-fork.exp: New file.
13523 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13524
13525 2006-01-04 Fred Fish <fnf@specifix.com>
13526
13527 * gdb.base/ptype.c (foo): Add typedef.
13528 (intfoo): Add function.
13529 * gdb.base/ptype1.c: New file.
13530 * gdb.base/ptype.exp: Handle compilation and linking with two
13531 source files. Test that proper type for "foo" is found based
13532 on source context rather than first match found in symtabs.
13533
13534 2005-12-28 Mark Kettenis <kettenis@gnu.org>
13535
13536 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13537 * gdb.asm/openbsd.inc: Indent commands.
13538
13539 2005-12-26 Mark Kettenis <kettenis@gnu.org>
13540
13541 * gdb.base/freebpcmd.exp: Increase timeout.
13542
13543 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13544
13545 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13546
13547 * gdb.base/default.exp: Update check for "show version".
13548
13549 2005-12-09 Randolph Chung <tausq@debian.org>
13550
13551 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13552 * gdb.asm/pa64.inc: New file.
13553
13554 2005-12-09 Randolph Chung <tausq@debian.org>
13555
13556 * gdb.asm/common.inc: Indent commands.
13557 * gdb.asm/asmsrc1.s: Likewise.
13558 * gdb.asm/asmsrc2.s: Likewise.
13559
13560 2005-12-09 Randolph Chung <tausq@debian.org>
13561
13562 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13563 (get_addr_of_sym): Remove duplicate print.
13564 (gen_core): xfail hppa*-*-hpux*, update expected output.
13565 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13566 * gdb.arch/pa64-nullify.s: New file.
13567
13568 2005-12-09 Randolph Chung <tausq@debian.org>
13569
13570 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13571
13572 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
13573
13574 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13575 code generation for these functions.
13576 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13577 error message.
13578
13579 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13580
13581 * gdb.base/help.exp (help b, help br, help bre, help brea)
13582 (help break): Update the expected message.
13583
13584 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13585
13586 * gdb.asm/m68hc11.inc: Setup the data section.
13587 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13588 script for this test.
13589 (m6812-*-*): Likewise.
13590
13591 2005-11-09 Randolph Chung <tausq@debian.org>
13592
13593 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13594
13595 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13596
13597 * gdb.base/break.exp: Fix a comment typo.
13598
13599 2005-11-03 Jim Blandy <jimb@redhat.com>
13600
13601 Checked in by Elena Zannoni <ezannoni@redhat.com>
13602
13603 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
13604
13605 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
13606
13607 * gdb.arch/gdb1558.c: Include stdio.h.
13608
13609 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13610
13611 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13612
13613 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13614
13615 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13616
13617 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13618
13619 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13620 vscr" tests to better match output.
13621
13622 2005-10-12 Jim Blandy <jimb@redhat.com>
13623
13624 * gdb.base/structs.exp (any): New function.
13625 (test_struct_returns): Don't make any assumptions at all about
13626 what value the function returns when GDB can't set the return
13627 value.
13628
13629 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13630
13631 * gdb.ada/arrayidx/p.adb: New file.
13632 * gdb.ada/arrayidx.exp: New testcase
13633
13634 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13635
13636 * gdb.ada/array_return/pck.ads: New file.
13637 * gdb.ada/array_return/pck.adb: New file.
13638 * gdb.ada/array_return/p.adb: New file.
13639 * gdb.ada/array_return.exp: New testcase.
13640
13641 2005-10-03 Joel Brobecker <brobecker@adacore.com>
13642
13643 * gdb.base/arrayidx.c: New file.
13644 * gdb.base/arrayidx.exp: New testcase.
13645
13646 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
13647
13648 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13649 frames-invalid and breakpoints-invalid are no longer generated
13650 with level 3 so don't expect them in the output.
13651
13652 2005-09-27 Bob Rossi <bob@brasko.net>
13653
13654 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
13655 from test. Escape the | in mi_gdb_test call.
13656 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13657 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13658 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13659 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13660 expected regex's in mi_gdb_test calls.
13661 * lib/mi-support.exp: Remove arbitrary .* from tests.
13662 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13663 Fully anchor GDB/MI expected results in mi_gdb_test.
13664 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13665 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13666
13667 2005-09-26 Paul Brook <paul@codesourcery.com>
13668
13669 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13670
13671 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13672
13673 * bfp-test.c: New file.
13674 * bfp-test.exp: New testcase.
13675
13676 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13677
13678 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13679 of subarray and substring variable.
13680 * gdb.fortran/subarray.f: New source file for the test of subarray
13681 and substring variable evaluation.
13682 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13683 of string constant.
13684
13685 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13686
13687 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13688 copyright dates.
13689
13690 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13691
13692 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13693 powerpc altivec' test with an almost identical 'info vector' test.
13694
13695 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13696
13697 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13698 vscr" tests to match output.
13699
13700 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13701
13702 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13703 output.
13704
13705 2005-09-11 Bob Rossi <bob@brasko.net>
13706
13707 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13708 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13709 commands that return an MI output command and an asyncronous MI output
13710 command.
13711 * gdb.mi/mi-console.exp: Ditto.
13712
13713 2005-09-11 Bob Rossi <bob@brasko.net>
13714
13715 * gdb.mi/mi-var-child.c: Include <string.h>.
13716
13717 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13718
13719 * killed.exp: Correct gdb_expect syntax.
13720
13721 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
13722
13723 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13724
13725 2005-08-02 Bob Rossi <bob@brasko.net>
13726
13727 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13728 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13729 Change tests to inferior-tty-set/show.
13730 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13731 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13732 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13733 inferior. Use mi_gdb_test to get GDB and Inferior output.
13734 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13735 descriptor.
13736 (mi_inferior_tty_name): Add inferior PTY file name.
13737 (mi_gdb_start): Add INFERIOR_PTY parameter.
13738 (mi_gdb_test): Add IPATTERN parameter.
13739
13740 2005-08-02 Bob Rossi <bob@brasko.net>
13741
13742 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13743 parameter to mi_gdb_test.
13744 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13745
13746 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13747
13748 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13749 struct_declarations.
13750 * gdb.mi/mi-var-child.exp: Step over the initialization of
13751 struct_declarations.
13752
13753 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13754
13755 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13756 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13757 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13758 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13759 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13760 file.
13761
13762 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
13763
13764 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13765 (do_children_tests): Assign values to the extra elements.
13766
13767 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13768 them for tests for "-var-update --no-values" and
13769 "-var-update --all-values".
13770 Add test for "-var-list-children --simple-values".
13771
13772 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13773
13774 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13775 "-stack-list-locals --simple-values" Improve doc strings and
13776 comments.
13777
13778 2005-07-18 Mark Kettenis <kettenis@gnu.org>
13779
13780 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13781 *-*-openbsd*.
13782 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13783
13784 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13785 sigaltsatck'.
13786
13787 2005-07-14 Bob Rossi <bob@brasko.net>
13788
13789 * gdb.base/default.exp (tty): Changed output of command.
13790 * gdb.base/help.exp (help tty): Ditto.
13791
13792 2005-07-12 Mark Kettenis <kettenis@gnu.org>
13793
13794 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13795
13796 2005-07-10 Mark Kettenis <kettenis@gnu.org>
13797
13798 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13799 -stack-select-frame without arguments.
13800 (test_stack_frame_listing): Add test for newly implemented command
13801 -stack-info-frame.
13802
13803 2005-07-06 Bob Rossi <bob@brasko.net>
13804
13805 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13806 command.
13807 (Copyright): Update copyright.
13808
13809 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13810
13811 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13812 tests to evaluate exponentiation expression.
13813
13814 2005-06-29 Andreas Schwab <schwab@suse.de>
13815
13816 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13817 main to avoid warnings.
13818
13819 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13820
13821 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
13822
13823 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13824 -stack-select-frame without arguments.
13825 (test_stack_frame_listing): Add test for newly implemented command
13826 -stack-info-frame.
13827
13828 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13829
13830 * gdb.fortran/array-element.f: New file.
13831 * gdb.fortran/array-element.exp: New testcase.
13832
13833 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13834
13835 * gdb.base/bigcore.exp: Correct checks for systems which can
13836 not dump a large core file.
13837
13838 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13839
13840 * gdb.base/relocate.c: Add a copyright notice.
13841 (dummy): Remove.
13842 * gdb.base/relocate.exp: Test printing the values of variables
13843 from a relocatable file.
13844
13845 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13846
13847 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13848 excess MI output after an error.
13849
13850 2005-05-29 Joel Brobecker <brobecker@adacore.com>
13851
13852 * gdb.arch/alpha-step.c: New file.
13853 * gdb.arch/alpha-step.exp: New testcase.
13854
13855 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13856 Dennis Brueni <dennis@slickedit.com>
13857
13858 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13859 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13860 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13861 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13862 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13863 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13864 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13865
13866 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13867 Wu Zhou <woodzltc@cn.ibm.com>
13868
13869 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13870 IBM's xlc compiler.
13871 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13872 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13873
13874 2005-05-13 Jim Blandy <jimb@redhat.com>
13875
13876 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13877 calling gdb_suppress_entire_file.
13878 * gdb.base/charset.exp: Same.
13879 * gdb.base/call-rt-st.exp: Same.
13880
13881 2005-05-05 Bob Rossi <bob_rossi@cox.net>
13882
13883 * lib/gdb.exp (fullname_syntax): Added global regex.
13884 (fullname_syntax_POSIX): Ditto.
13885 (fullname_syntax_UNC): Ditto.
13886 (fullname_syntax_DOS_CASE): Ditto.
13887 (fullname_syntax_DOS): Ditto.
13888 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13889 fullname_syntax variable to scope and use it.
13890 (test_file_list_exec_source_files): Ditto.
13891 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13892
13893 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13894
13895 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13896
13897 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13898
13899 * lib/gdb.exp (skip_altivec_tests): New function, based on
13900 check_vmx_hw_available from the GCC testsuite.
13901 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13902 * lib/gdb.arch/altivec-regs.exp: Likewise.
13903
13904 2005-05-02 Jim Blandy <jimb@redhat.com>
13905
13906 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13907 calling gdb_suppress_entire_file.
13908
13909 2005-04-30 Randolph Chung <tausq@debian.org>
13910
13911 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13912 Slightly relax "sem_post" name checking.
13913
13914 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13915
13916 * gdb.base/unload.exp: Use new shared library infrastructure.
13917
13918 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13919
13920 * gdb.base/so-impl-ld.exp: Use new shared library
13921 infrastructure.
13922
13923 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
13924
13925 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13926 * gdb.asm/h8300.inc: New file.
13927
13928 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13929
13930 * gdb.base/shlib-call.exp: Change to use new shared library
13931 infrastructure.
13932
13933 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13934
13935 * gdb.base/pending.exp: Change to use new shared library
13936 infrastructure.
13937
13938 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13939
13940 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13941 use test_compiler_info instead of gcc_compiled, and update copyright.
13942
13943 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13944
13945 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13946 shared objects being adjusted and update copyright years.
13947
13948 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13949
13950 * ChangeLog: Correct some 2003-01-13 dates.
13951 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13952 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13953 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13954 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13955 gdb.trace/tfind.exp: Update copyright years.
13956
13957 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13958 Daniel Jacobowitz <dan@codesourcery.com>
13959
13960 * lib/gdb.exp (gdb_compile): Handle shlib=.
13961 (gdb_compile_shlib): New function.
13962
13963 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13964
13965 * lib/gdb.exp (test_compiler_info): Give argument a default value.
13966
13967 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13968
13969 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13970 gdb.server.
13971 * configure.ac: Likewise.
13972 * configure: Regenerated.
13973 * gdb.gdbserver/Makefile.in: Moved to...
13974 * gdb.server/Makefile.in: ... here.
13975 * gdb.gdbserver/server.c: Moved to...
13976 * gdb.server/server.c: ... here.
13977 * gdb.gdbserver/server-run.exp: Moved to...
13978 * gdb.server/server-run.exp: ... here.
13979
13980 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13981
13982 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13983 * configure.ac: Create gdb.gdbserver/Makefile.
13984 * configure: Regenerated.
13985 * lib/gdbserver-support.exp: New file, derived from
13986 config/gdbserver.exp.
13987 * config/gdbserver.exp: Use gdbserver-support.exp.
13988 * gdb.gdbserver/Makefile.in: New file.
13989 * gdb.gdbserver/server.c: New file.
13990 * gdb.gdbserver/server-run.exp: New file.
13991
13992 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13993
13994 * lib/gdb.exp (test_compiler_info): Return compiler_info
13995 if no arguments are given.
13996
13997 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13998
13999 * gdb.arch/altivec-abi.exp: Check for compiler and set
14000 use altivec' flag accordingly.
14001 * gdb.arch/altivec-regs.exp: Likewise.
14002
14003 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
14004
14005 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
14006
14007 2005-03-27 Andreas Schwab <schwab@suse.de>
14008
14009 * gdb.base/bigcore.c (main): Add missing mode argument in open
14010 call.
14011
14012 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
14013
14014 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
14015 downloads.
14016 * config/gdbserver.exp (gdb_load): Likewise.
14017
14018 2005-03-14 Paul Brook <paul@codesourcery.com>
14019
14020 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
14021 targets.
14022
14023 2005-03-09 Joel Brobecker <brobecker@adacore.com>
14024
14025 * gdb.dwarf2/dup-psym.S: New file.
14026 * gdb.dwarf2/dup-psym.exp: New testcase.
14027
14028 2005-03-09 Joel Brobecker <brobecker@adacore.com>
14029
14030 * gdb.ada/exec_changed/first.adb: New file.
14031 * gdb.ada/exec_changed/second.adb: New file.
14032 * gdb.ada/exec_changed.exp: New testcase.
14033
14034 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
14035
14036 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
14037 (A2): New class.
14038 (main): Test operator+.
14039 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
14040 breakpoint test.
14041
14042 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
14043 * gdb.base/signull.exp: Disable if gdb,nosignals.
14044 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
14045 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
14046 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
14047 * gdb.mi/mi2-console.exp: Likewise.
14048 * gdb.trace/collection.exp (run_trace_experiment): Consume the
14049 continue output at start.
14050 (gdb_collect_locals_test): Robustify regexp.
14051 * gdb.trace/passc-dyn.exp: Fix comment typo.
14052 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
14053
14054 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
14055
14056 * gdb.asm/asm-source.exp: Add iq2000 case.
14057 * gdb.asm/iq2000.inc: New file.
14058
14059 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
14060
14061 * gdb.base/command.exp: Change hardcoded value to regular expression.
14062 * gdb.base/float.exp: Add powerpc to the list of targets checked.
14063
14064 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
14065
14066 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
14067 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
14068 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
14069 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
14070 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
14071
14072 2005-03-05 Mark Kettenis <kettenis@gnu.org>
14073
14074 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
14075 changes.
14076
14077 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
14078
14079 * lib/compiler.c: Add test for IBM's xlc compiler.
14080 * lib/compiler.cc: Likewise.
14081
14082 2004-02-24 Joel Brobecker <brobecker@adacore.com>
14083
14084 * gdb.ada/fixed_points.exp: Create compilation object directory
14085 before running the test.
14086 * gdb.ada/null_record.exp: Likewise.
14087 * gdb.ada/packed_array.exp: Likewise.
14088 * gdb.ada/start.exp: Likewise.
14089
14090 2005-02-15 Joel Brobecker <brobecker@adacore.com>
14091
14092 * gdb.ada/packed_array/pa.adb: New file.
14093 * gdb.ada/packed_array.exp: New testcase.
14094
14095 2005-02-10 Mark Kettenis <kettenis@gnu.org>
14096
14097 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
14098 files.
14099
14100 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
14101 on *-*-openbsd*. Correctly match whitespace in regukar
14102 expressions.
14103
14104 2005-02-10 Daniel Jacobowitz <dan@debian.org>
14105
14106 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
14107 PR exp/1821
14108 * gdb.base/gdb1821.c: New test file.
14109 * gdb.base/gdb1821.exp: New test file.
14110
14111 2005-02-09 Joel Brobecker <brobecker@adacore.com>
14112
14113 * gdb.base/start.c: New file.
14114 * gdb.base/start.exp: New testcase.
14115
14116 2005-02-09 Joel Brobecker <brobecker@adacore.com>
14117
14118 * gdb.ada/start/dummy.adb: New file.
14119 * gdb.ada/start.exp: New testcase.
14120
14121 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
14122
14123 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
14124 for printing symbols and statistics.
14125 Add test for using relative pathnames in "maint print msymbols" test.
14126 Mark "maint info sections DATA" XFAIL on Cygwin.
14127 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
14128 tests.
14129
14130 2005-02-09 Andreas Schwab <schwab@suse.de>
14131
14132 Committed by Andrew Cagney <cagney@gnu.org>
14133 * gdb.base/remotetimeout.exp: New file.
14134
14135 2005-02-07 Mark Kettenis <kettenis@gnu.org>
14136
14137 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
14138
14139 2005-02-03 Joel Brobecker <brobecker@adacore.com>
14140
14141 * gdb.ada/gnat_ada.gpr: New file.
14142 * gdb.ada/gnat_ada.gin: Delete, no longer used.
14143 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
14144 * configure.ac: No longer generate gnat_ada.gpr.
14145 * configure: Regenerate.
14146 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
14147 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
14148 * gdb.ada/null_record/bar.ads: Likewise.
14149 * gdb.ada/null_record/bar.adb: Likewise.
14150 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
14151 * gdb.ada/null_record.exp (testdir): New variable.
14152 (testfile): executable is now in testdir subdirectory.
14153 (srcfile): Use full path to the main compilation unit.
14154 * gdb.ada/fixed_points.exp: Same changes as above.
14155
14156 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
14157
14158 * gdb.base/interp.exp: New test.
14159
14160 2005-01-24 Andrew Cagney <cagney@gnu.org>
14161
14162 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
14163
14164 2005-01-19 Andrew Cagney <cagney@gnu.org>
14165
14166 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
14167 configure.ac not configure.in.
14168
14169 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
14170 of powerpc*-*-*.
14171 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
14172 * gdb.base/list.exp (test_list_function)
14173 (test_list_filename_and_function): Ditto.
14174 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
14175
14176 2005-01-16 Andrew Cagney <cagney@gnu.org>
14177
14178 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
14179
14180 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
14181
14182 2005-01-14 Andrew Cagney <cagney@gnu.org>
14183
14184 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
14185 * gdb.mi/mi2-var-cmd.exp: Ditto.
14186
14187 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
14188
14189 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
14190
14191 2005-01-07 Andrew Cagney <cagney@gnu.org>
14192
14193 * configure.ac: Rename configure.in, require autoconf 2.59.
14194 * configure: Re-generate.
14195 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
14196 * gdb.stabs/configure: Re-generate.
14197 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
14198 * gdb.hp/configure: Re-generate.
14199 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
14200 autoconf 2.59.
14201 * gdb.hp/gdb.objdbg/configure: Re-generate.
14202 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
14203 autoconf 2.59.
14204 * gdb.hp/gdb.defects/configure: Re-generate.
14205 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
14206 autoconf 2.59.
14207 * gdb.hp/gdb.compat/configure: Re-generate.
14208 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14209 autoconf 2.59.
14210 * gdb.hp/gdb.base-hp/configure: Re-generate.
14211 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14212 autoconf 2.59.
14213 * gdb.hp/gdb.aCC/configure: Re-generate.
14214
14215 2004-12-15 Jim Blandy <jimb@redhat.com>
14216
14217 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14218 under NPTL when there is debugging info available for libpthread.
14219
14220 2004-12-13 Jerome Guitton <guitton@gnat.com>
14221
14222 * gdb.ada/fixed_points.c: New file.
14223 * gdb.ada/fixed_points.exp: New file.
14224
14225 2004-12-03 Randolph Chung <tausq@debian.org>
14226
14227 * gdb.arch/pa-nullify.exp: New file.
14228 * gdb.arch/pa-nullify.s: New file.
14229
14230 2004-11-30 Randolph Chung <tausq@debian.org>
14231
14232 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14233 instead of "tbug". Fix regexp to work properly with gdb_test.
14234
14235 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14236
14237 * gdb.base/bitfields2.exp: New test.
14238 * gdb.base/bitfields2.c: New file.
14239
14240 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
14241
14242 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14243
14244 2004-11-16 Randolph Chung <tausq@debian.org>
14245
14246 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14247
14248 2004-11-14 Daniel Jacobowitz <dan@debian.org>
14249
14250 * gdb.threads/threadapply.exp: Correct "macro details" test.
14251
14252 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14253
14254 * gdb.threads/threadapply.exp: New test.
14255 * gdb.threads/threadapply.c: New file.
14256
14257 2004-11-07 Mark Kettenis <kettenis@gnu.org>
14258
14259 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14260 frames.
14261
14262 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
14263
14264 * gdb.base/cursal.exp: New file.
14265 * gdb.base/cursal.c: New file.
14266
14267 2004-11-03 Andrew Cagney <cagney@gnu.org>
14268
14269 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14270
14271 2004-10-30 Mark Kettenis <kettenis@gnu.org>
14272
14273 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14274 NetBSD/ELF targets.
14275
14276 2004-10-29 Joel Brobecker <brobecker@gnat.com>
14277
14278 * gdb.threads/bp_in_thread.c: New file, copied from
14279 pthread_cond_wait.c.
14280 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14281 file, rather than reusing the .c file from another testcase.
14282
14283 2004-10-20 Joel Brobecker <brobecker@gnat.com>
14284
14285 * gdb.ada/null_record.exp: Check where we stopped after
14286 sending the start command, instead of where the associated
14287 temporary breakpoint was inserted.
14288
14289 2004-10-14 Andrew Cagney <cagney@gnu.org>
14290
14291 * gdb.mi/gdb701.c (main): Return 0.
14292
14293 2004-10-13 Daniel Jacobowitz <dan@debian.org>
14294
14295 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
14296
14297 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14298
14299 * gdb.threads/schedlock.c: Add comment markers to use to find
14300 line numbers.
14301 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14302 comments.
14303 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14304 breakpoint lines.
14305
14306 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14307
14308 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14309
14310 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14311
14312 * configure.in: Add gdb.dwarf2.
14313 * configure: Regenerated.
14314 * Makefile.in: Add gdb.dwarf2.
14315 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14316 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14317 gdb.dwarf2/file1.txt: New files.
14318
14319 2004-10-11 Orjan Friberg <orjanf@axis.com>
14320
14321 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
14322 of "run", since the latter doesn't work with remote targets. Adjust
14323 the breakpoint numbering accordingly.
14324 * gdb.threads/pthread_cond_wait.exp: Ditto.
14325
14326 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14327
14328 * gdb.base/overlays.exp: Update copyright years.
14329
14330 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14331
14332 * gdb.base/overlays.exp: Disable if target is Linux.
14333
14334 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
14335
14336 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14337
14338 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14339
14340 * gdb.asm/asm-source.exp: Add m32r-linux target.
14341 * gdb.asm/m32r-linux.inc: New file.
14342
14343 2004-09-24 Andrew Cagney <cagney@redhat.com>
14344 David Anderson <anderson@redhat.com>
14345
14346 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14347 command fails, assume things will work.
14348 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14349 (_GNU_SOURCE): Define.
14350 (print_unsigned, print_hex): Change parameter to "long long".
14351 (print_byte_count): New function, use to print byte counts.
14352 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14353 O_LARGEFILE.
14354 (main): Compute an upper bound on a corefile in max_core_size.
14355 Limit memory chunk size to max_core_size. Limit total memory
14356 allocated to max_core_size.
14357
14358 2004-09-23 Andrew Cagney <cagney@gnu.org>
14359
14360 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14361 from a separate process with code that creates a corefile by
14362 making the inferior dump core.
14363
14364 2004-09-23 Mark Kettenis <kettenis@gnu.org>
14365
14366 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14367 block.
14368
14369 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14370
14371 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14372 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14373 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14374 Likewise.
14375
14376 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14377
14378 * gdb.java/jprint.exp: New test case for java inferior call.
14379 * gdb.java/jprint.java: Ditto.
14380
14381 2004-09-15 Joel Brobecker <brobecker@gnat.com>
14382
14383 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14384
14385 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14386
14387 * gdb.threads/killed.c: Include <stdlib.h>.
14388 * gdb.threads/pthreads.c: Likewise.
14389
14390 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14391
14392 * gdb.threads/killed.c: Add copyright notice.
14393
14394 2004-09-10 Jason Molenda (jmolenda@apple.com)
14395
14396 * gdb.base/define.exp: Two new tests to verify zero space chars
14397 after 'if' and 'while' commands in a user-defined command is correctly
14398 parsed.
14399
14400 2004-09-08 Andrew Cagney <cagney@gnu.org>
14401
14402 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14403 delivery test with duplicate at end of file.
14404
14405 2004-09-06 Mark Kettenis <kettenis@jive.nl>
14406
14407 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14408
14409 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14410
14411 * config/hppro.exp: Removed.
14412
14413 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14414
14415 * config/sparclet.exp: Removed.
14416
14417 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14418
14419 * config/udi.exp: Removed.
14420
14421 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14422
14423 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14424 of "exp_continue".
14425 (advancei): Likewise.
14426
14427 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14428
14429 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14430
14431 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14432
14433 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
14434 to check for nodebug in executable.
14435 * gdb.gdb/observer.exp (setup_test): Likewise.
14436 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14437 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14438
14439 2004-09-01 Andrew Cagney <cagney@gnu.org>
14440
14441 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14442 files.
14443
14444 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14445
14446 * gdb.base/unload.exp: Fix expected warning message to match
14447 latest format.
14448
14449 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
14450
14451 * gdb.base/call-rt-st.exp: Fix typos.
14452
14453 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14454
14455 * gdb.threads/thread_check.exp: New testcase.
14456 * gdb.threads/thread_check.c: New testcase.
14457
14458 2004-08-31 Andrew Cagney <cagney@gnu.org>
14459
14460 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14461 (skip_to_handler_entry): New procedures. Test stepping into a
14462 handler when the breakpoint is at the handler's entry point.
14463
14464 2004-08-30 Andrew Cagney <cagney@gnu.org>
14465
14466 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14467 gdb/1757.
14468
14469 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14470
14471 With code from Manoj Iyer <manjo@austin.ibm.com>:
14472 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14473 return value. Add an arm for "no debugging symbols found".
14474 Change a stray "error" to "perror".
14475 (gdb_run_cmd): Adapt to new return value.
14476 * gdb.base/remote.exp: Adapt to new return value.
14477 * gdb.gdb/complaints.exp: Likewise.
14478 * gdb.gdb/observer.exp: Likewise.
14479 * gdb.gdb/selftest.exp: Likewise.
14480 * gdb.gdb/xfullpath.exp: Likewise.
14481
14482 2004-08-27 Joel Brobecker <brobecker@gnat.com>
14483
14484 * gdb.threads/bp_in_thread.exp: New testcase.
14485
14486 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14487
14488 Fix PR testsuite/1735.
14489 * gdb.threads/schedlock.c (thread_function): Add a cast
14490 to suppress a gcc warning.
14491 * gdb.threads/thread-specific.c (thread_function): Likewise.
14492
14493 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14494
14495 * gdb.base/unload.c: Include <stdlib.h>.
14496
14497 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14498
14499 From Paul Gilliam <pgilliam@us.ibm.com>:
14500 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14501 synchronized after the "return".
14502
14503 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14504
14505 * gdb.mi/basics.c: Include <stdio.h>.
14506 * gdb.mi/pthreads.c: Include <stdlib.h>.
14507 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14508
14509 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14510
14511 * gdb.threads/schedlock.c: Add copyright notice.
14512
14513 2004-08-25 Andrew Cagney <cagney@gnu.org>
14514
14515 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14516 (skip_over_handler, breakpoint_over_hander): New test procedures.
14517 (advance, advancei): Add a proper prefix, do not use
14518 rerun_to_main.
14519 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14520
14521 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14522
14523 * gdb.mi/basics.c: Add copyright notice.
14524 * gdb.mi/var-cmd.c: Add copyright notice.
14525
14526 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14527
14528 * lib/gdb.exp: Remove signed_keyword_not_used.
14529 * lib/compiler.c: Likewise.
14530 * lib/compiler.cc: Likewise.
14531
14532 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14533
14534 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14535 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14536
14537 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14538
14539 * gdb.base/whatis.c: Add copyright notice.
14540
14541 2004-08-20 Mark Kettenis <kettenis@gnu.org>
14542
14543 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14544 it to skip the breakpoints encoded in the inline assembly.
14545
14546 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14547
14548 * Makefile.in: Add gdb.fortran.
14549
14550 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14551
14552 * gdb.base/call-sc.exp (test_scalar_returns):
14553 Fix cut-and-paste glitch in "Make fun return now".
14554
14555 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14556
14557 * configure.in: Add gdb.fortran.
14558 * configure: Regenerate.
14559 * gdb.fortran/Makefile.in: New file.
14560 * lib/gdb.exp (skip_fortran_tests): New procedure.
14561
14562 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14563
14564 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14565 reference to bug-gnu@prep.ai.mit.edu.
14566 * gdb.mi/mi-var-child.exp: Likewise.
14567 * gdb.mi/mi-var-cmd.exp: Likewise.
14568 * gdb.mi/mi-var-display.exp: Likewise.
14569 * gdb.mi/mi2-var-block.exp: Likewise.
14570 * gdb.mi/mi2-var-child.exp: Likewise.
14571 * gdb.mi/mi2-var-cmd.exp: Likewise.
14572 * gdb.mi/mi2-var-display.exp: Likewise.
14573
14574 2004-08-15 Mark Kettenis <kettenis@gnu.org>
14575
14576 * gdb.base/unload.c (main): Make local variable msg const.
14577
14578 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14579
14580 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14581 to bug-gnu@prep.ai.mit.edu.
14582 * gdb.mi/mi-disassemble.exp: Likewise.
14583 * gdb.mi/mi-eval.exp: Likewise.
14584 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14585 default line number.
14586 * gdb.mi/mi-return.exp: Likewise.
14587 * gdb.mi/mi-simplerun.exp: Likewise.
14588 * gdb.mi/mi-stack.exp: Likewise.
14589 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14590 number with explicit range test.
14591 * gdb.mi/mi-watch.exp: Likewise.
14592 * gdb.mi/mi2-break.exp: Likewise.
14593 * gdb.mi/mi2-cli.exp: Likewise.
14594 * gdb.mi/mi2-disassemble.exp: Likewise.
14595 * gdb.mi/mi2-eval.exp: Likewise.
14596 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14597 default line number.
14598 * gdb.mi/mi2-return.exp: Likewise.
14599 * gdb.mi/mi2-simplerun.exp: Likewise.
14600 * gdb.mi/mi2-stack.exp: Likewise.
14601 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14602 number with explicit range test.
14603 * gdb.mi/mi2-watch.exp: Likewise.
14604
14605 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14606
14607 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14608 * gdb.cp/m-static.exp: Likewise.
14609 * gdb.cp/rtti.exp: Likewise.
14610
14611 2004-08-14 Mark Kettenis <kettenis@gnu.org>
14612
14613 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14614
14615 2004-08-14 Eli Zaretskii <eliz@gnu.org>
14616
14617 * ChangeLog: Prefix Local Variables with semi-colons and indent
14618 the reference to older ChangeLog files, to fix fontification in
14619 Emacs.
14620
14621 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14622
14623 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14624 * gdb.mi/mi2-break.exp: Likewise.
14625
14626 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14627
14628 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14629
14630 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14631
14632 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14633
14634 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14635
14636 * gdb.cp/classes.exp: Remove unused declarations. Just let
14637 test names default instead of providing special names. Remove
14638 extraneous demangler test.
14639
14640 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14641
14642 * gdb.base/unload.exp: New test for breakpoints in dynamically
14643 loaded libraries.
14644 * gdb.base/unload.c: Ditto.
14645 * gdb.base/unloadshr.c: Ditto.
14646
14647 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14648
14649 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14650 cp_test_ptype_class.
14651 (test_enums): Likewise.
14652
14653 2004-08-10 Andrew Cagney <cagney@gnu.org>
14654
14655 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14656 files.
14657
14658 2004-08-10 Andrew Cagney <cagney@gnu.org>
14659
14660 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14661 init_malloc call.
14662
14663 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14664
14665 * ChangeLog: Add copyright notice. The notice is copied
14666 from emacs 21.3 top level ChangeLog.
14667
14668 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14669
14670 * lib/cp-support.exp: New file.
14671 * lib/cp-support.exp (cp_test_type_class): New function.
14672 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14673 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14674 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14675 cp_test_ptype_class.
14676
14677 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14678
14679 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14680 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14681 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14682 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14683 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14684 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14685 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14686 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14687 gdb.mi/mi2-watch.exp: Update copyright years.
14688
14689 2004-08-09 Mark Kettenis <kettenis@gnu.org>
14690
14691 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14692
14693 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14694
14695 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14696 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14697 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14698 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14699 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14700 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14701 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14702 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14703 gdb.mi/mi-watch.exp: Update copyright years.
14704
14705 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14706
14707 PR gdb/1738
14708 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14709 from a breakpoint with a pending signal.
14710
14711 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14712
14713 PR gdb/1736
14714 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14715 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14716 the prompt.
14717 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14718
14719 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14720
14721 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14722
14723 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14724
14725 PR gdb/1736
14726 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14727 for i?86-*-linux*.
14728
14729 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14730
14731 * gdb.arch/i386-prologue.exp: Compile without debug information.
14732
14733 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14734
14735 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14736 rather than asking gdb to search.
14737
14738 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14739
14740 * gdb.base/gcore.c: Include <string.h>.
14741
14742 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14743
14744 * gdb.base/gcore.c: Add copyright notice.
14745
14746 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14747
14748 * gdb.base/freebpcmd.c: Include <stdio.h>.
14749 * gdb.base/long_long.c: Include <string.h>.
14750 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14751 * gdb.base/siginfo.c: Include <string.h>.
14752 * gdb.base/sigstep.c: Include <string.h>.
14753
14754 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14755
14756 * gdb.base/complex.c: Include <stdlib.h>.
14757
14758 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14759
14760 * gdb.base/complex.c: Add copyright notice.
14761
14762 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14763
14764 * gdb.base/charset.c: Include <stdlib.h>.
14765
14766 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14767
14768 * gdb.base/auxv.c: Include <stdlib.h>.
14769
14770 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14771
14772 * gdb.base/auxv.c: Add copyright notice.
14773
14774 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14775
14776 * gdb.base/coremaker.c: Add copyright notice.
14777 * gdb.base/coremaker2.c: Add copyright notice.
14778
14779 2004-08-04 Andrew Cagney <cagney@gnu.org>
14780
14781 * gdb.base/store.exp: Update copyright.
14782 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14783 names, do not import gdb_prompt.
14784
14785 2004-08-01 Andrew Cagney <cagney@gnu.org>
14786
14787 Fix PR testsuite/1729.
14788 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14789 not use capture_value with value 4.
14790 (capture_value): Add optional test name parameter.
14791 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14792 the prefix, pass to capture_value.
14793
14794 2004-08-01 Mark Kettenis <kettenis@gnu.org>
14795
14796 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14797 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14798 (main): Call new function.
14799
14800 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14801
14802 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14803
14804 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14805
14806 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14807
14808 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14809
14810 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
14811 Accept more values of vtbl pointer. Remove some messages
14812 about "obsolete gcc or gdb".
14813
14814 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14815
14816 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14817
14818 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14819
14820 * gdb.base/asm-source.exp: Properly convert target board
14821 debug flags from gcc format to binutils format.
14822
14823 2004-07-28 Mark Kettenis <kettenis@gnu.org>
14824
14825 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14826 gdb1718". PR backtrace/1718 partially fixed.
14827
14828 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14829
14830 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14831
14832 2004-07-26 Nick Clifton <nickc@redhat.com>
14833
14834 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14835 good default value for a specific architecture is available then
14836 set it to that value. Otherwise default to the -gstabs switch.
14837 Remove the -g... switches from the asm-flags variable. Allow the
14838 target board info to override the value if it wants to. Pass the
14839 switch on the assembler command line.
14840
14841 2004-07-23 Mark Kettenis <kettenis@gnu.org>
14842
14843 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14844 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14845 (main): Call new function.
14846
14847 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14848
14849 Test for PR exp/1715.
14850 * gdb.base/radix.exp: Refactor common procedures. Make all
14851 test names unique. Change XFAIL to KFAIL.
14852
14853 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14854
14855 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14856 * gdb.ada/gnat_ada.gin: ... to here.
14857 * configure.in: Use gnat_ada.gin.
14858 * configure: Regenerate.
14859
14860 2004-07-20 Andrew Cagney <cagney@gnu.org>
14861
14862 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14863 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14864 XFAILs. Clean up test messages and comments. Check backtraces.
14865 Delete re-sync code.
14866
14867 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14868
14869 Fix PR cli/740.
14870 * gdb.base/annota1.exp: Honor gdb,nosignals.
14871 * gdb.base/annota3.exp: Likewise.
14872
14873 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14874
14875 * lib/java.exp: Update copyright notice.
14876
14877 2004-07-19 Andrew Cagney <cagney@gnu.org>
14878
14879 * gdb.base/selftest.exp: Copy file from here ...
14880 * gdb.gdb/selftest.exp: ... to here.
14881
14882 2004-07-16 Andrew Cagney <cagney@redhat.com>
14883
14884 * lib/insight-support.exp: Delete file.
14885 * lib/java.exp (java_init): Fix copyright.
14886
14887 2004-07-16 Andrew Cagney <cagney@gnu.org>
14888
14889 * gdb.base/restore.c: Append "prologue" to comments marking the a
14890 function's prologue.
14891 * gdb.base/restore.exp: Update copyright, re-indent.
14892 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14893 callerN" prefix where needed. Update patterns that match a
14894 function's prologue.
14895
14896 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14897
14898 * gdb.base/restore.c: Add copyright notice.
14899
14900 2004-07-16 Andrew Cagney <cagney@gnu.org>
14901
14902 * gdb.base/logical.exp: Update copyright.
14903 (evaluate): New procedure. Use to re-implement tests using
14904 several tables.
14905
14906 2004-07-14 Martin Hunt <hunt@redhat.com>
14907
14908 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14909 which fixes some problems where init.tcl was not found.
14910
14911 2004-07-13 Andrew Cagney <cagney@gnu.org>
14912
14913 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14914 (check_sizeof, check_valueof): Do not include the output in the
14915 test name. Use gdb_test.
14916 (get_valueof): Use gdb_test_multiple.
14917
14918 * gdb.base/step-test.exp: Update copyright. Use
14919 gdb_test_multiple. Ensure that test names do not include
14920 architecture dependent output.
14921
14922 * gdb.gdb/observer.exp: Update copyright.
14923 (setup_test): Use gdb_test_multiple.
14924 (attach_first_observer, attach_second_observer)
14925 (attach_third_observer, detach_first_observer)
14926 (detach_second_observer, detach_third_observer)
14927 (reset_counters, check_counters): Make $message a prefix.
14928 (test_normal_stop_notifications): Add "args" parameter - a list of
14929 init functions to be called. Make $message a prefix,
14930 (test_observer_normal_stop): Change the message prefixes so that
14931 they are unique, pass the attach / detach procedures to
14932 test_normal_stop_notifications.
14933
14934 * gdb.base/signull.exp (test_segv): Prefix all tests with
14935 "${name}". Clean up test messages.
14936
14937 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14938
14939 * gdb.base/ena-dis-br.exp: Update copyright.
14940 (break_at): New function. Replace send_gdb with gdb_test,
14941 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14942 ignore count, not stopped at bpt", with KFAIL.
14943
14944 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
14945
14946 * gdb.base/attach.exp: Remove cleanupfile handling.
14947
14948 2004-07-12 Andrew Cagney <cagney@gnu.org>
14949
14950 * gdb.base/annota1.exp: Cleanup corefile test name.
14951 * gdb.base/annota3.exp: Ditto.
14952
14953 2004-07-12 Andrew Cagney <cagney@gnu.org>
14954
14955 * gdb.base/signals.exp: Clean up copyright, re-indent.
14956
14957 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14958 gdb_test and gdb_test_multiple.
14959
14960 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14961
14962 * gdb.java/jmain.exp: Fix expected line number for main to
14963 break at. Set XFAIL for break at main test since gcj does not
14964 provide line number info for first statement in main.
14965
14966 2004-07-08 Andrew Cagney <cagney@gnu.org>
14967
14968 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14969
14970 * gdb.base/sigbpt.exp: Make the common part of each test name a
14971 prefix instead of suffix.
14972
14973 2004-07-07 Bob Rossi <bob_rossi@cox.net>
14974
14975 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14976 test from test_tbreak_creation_and_listing to
14977 test_file_list_exec_source_file
14978 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14979 Changed name of test from test_tbreak_creation_and_listing to
14980 test_file_list_exec_source_file
14981
14982 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14983
14984 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14985 the jmisc() constructor instead of <init>.
14986 * gdb.java/jmisc1.exp: Ditto.
14987
14988 2004-07-07 Andrew Cagney <cagney@gnu.org>
14989
14990 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14991 corrupting the PC.
14992
14993 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14994
14995 * gdb.cp/templates.exp: Accept whitespace change in demangler
14996 output.
14997
14998 2004-07-06 Andrew Cagney <cagney@gnu.org>
14999
15000 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
15001
15002 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
15003
15004 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
15005 * lib/compiler.cc: Likewise.
15006
15007 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
15008
15009 * lib/compiler.cc: Work around string preprocessing problem
15010 with old hp c++ compiler.
15011 * lib/compiler.c: Likewise.
15012
15013 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
15014
15015 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
15016 directives to conditionalize symbol prefixing.
15017 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
15018 additional_flags handling. Add underscore prefix for Cygwin.
15019 * gdb.arch/i386-unwind.c: Use preprocessor directives to
15020 conditionalize symbol prefixing.
15021 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
15022 additional_flags handling. Add underscore prefix for Cygwin.
15023
15024 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
15025
15026 * gdb.base/bigcore.exp: Skip test on Cygwin.
15027
15028 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
15029
15030 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
15031 formats for "info register". Use gdb_test_multiple. Fix
15032 the "invalid register" test.
15033
15034 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
15035
15036 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
15037 PID for Cygwin. Add Cygwin specific strings to check for in some
15038 tests.
15039 (do_attach_tests): Add a test for user interaction when attaching
15040 to a process with no matching symbol table already loaded.
15041
15042 2004-06-26 Andrew Cagney <cagney@gnu.org>
15043
15044 Test PR java/1567 and PR java/1565.
15045 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
15046 * gdb.java/jmisc2.exp: Delete file.
15047
15048 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
15049
15050 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
15051
15052 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
15053
15054 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
15055 attach process.
15056
15057 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
15058
15059 * gdb.cp/pr-1553.exp: Remove.
15060
15061 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
15062
15063 * gdb.cp/pr-1553.cc: Remove.
15064 * gdb.cp/pr-1553.exp: Disable this test.
15065
15066 2004-06-20 Jim Blandy <jimb@redhat.com>
15067
15068 Fix PR testsuite/1680.
15069 * gdb.arch/i386-sse.exp: Properly quote curly braces in
15070 regular expressions.
15071
15072 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
15073
15074 Fix PR testsuite/1679.
15075 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
15076 Issue an UNSUPPORTED result instead.
15077
15078 2004-06-18 Jim Blandy <jimb@redhat.com>
15079
15080 * gdb.base/charset.exp: Only send a control-C if we see a new
15081 prompt and incomplete command.
15082
15083 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
15084
15085 * gdb.cp/pr-574.cc: Add copyright notice.
15086
15087 2004-06-17 Jim Blandy <jimb@redhat.com>
15088
15089 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
15090 cases where the regexp has no groups; this grabs random text from
15091 the previous test suite, whatever that was.
15092
15093 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
15094
15095 * gdb.cp/printmethod.cc: Add copyright notice.
15096
15097 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
15098
15099 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
15100
15101 2004-06-16 Andrew Cagney <cagney@gnu.org>
15102
15103 * gdb.base/signull.c: Update copyright. Include <string.h>.
15104 (bowler): Replace data_pointer with data_read
15105 and data_write cases. Add code_descriptor case.
15106 (zero, desc): New array and pointer.
15107 (data, code): Change to simple pointers.
15108 * gdb.base/signull.exp: Fix probe pattern matching a function
15109 descriptor SIGSEGV. Replace data_pointer with data_read and
15110 data_write tests.
15111
15112 2004-06-16 Andrew Cagney <cagney@gnu.org>
15113
15114 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
15115
15116 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15117
15118 * gdb.base/long_long.c: Add copyright notice.
15119
15120 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
15121
15122 * gdb.base/long_long.exp: Remove reference to
15123 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
15124 to gdb_breakpoint and gdb_continue_to_breakpoint.
15125
15126 2004-06-14 Jim Blandy <jimb@redhat.com>
15127
15128 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
15129 endian case.
15130
15131 2004-06-14 Andrew Cagney <cagney@gnu.org>
15132
15133 * gdb.base/gcore.exp (capture_command_output): Delete the always
15134 passing tests containing inferior values.
15135 * gdb.base/ending-run.exp: Do not include the breakpoint address
15136 in the test message. Update copyright.
15137 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
15138 size in the test name, use gdb_test_multiple. Update copyright.
15139
15140 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15141
15142 * gdb.cp/ref-types.cc: Add copyright notice.
15143
15144 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
15145
15146 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
15147 hp_aCC_compiler.
15148 * lib/compiler.cc: Likewise.
15149 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
15150 'set' commands. Log diagnostics for other lines. Set
15151 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
15152
15153 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
15154
15155 * gdb.cp/try_catch.cc: Add copyright notice.
15156
15157 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
15158
15159 * gdb.cp/userdef.cc: Add copyright notice.
15160
15161 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
15162
15163 * gdb.cp/virtfunc.cc: Add copyright notice.
15164
15165 2004-06-11 Randolph Chung <tausq@debian.org>
15166
15167 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
15168 problem.
15169
15170 2004-06-10 Andrew Cagney <cagney@gnu.org>
15171
15172 * lib/compiler.cc, lib/compiler.c: Append either
15173 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
15174 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
15175 instead of gcc-3-3.
15176
15177 2004-06-09 Andrew Cagney <cagney@gnu.org>
15178
15179 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
15180 gdb/1455, bug is specific to "long long" and "double".
15181
15182 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
15183 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
15184 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
15185 fixed.
15186
15187 2004-06-09 Andrew Cagney <cagney@gnu.org>
15188
15189 * gdb.base/structs.exp (test_struct_returns): Replace
15190 "return_value_unknown" and "finish_value_unknown" by
15191 "return_value_known" and "finish_value_known". Instead of
15192 "return_value_unknown" iff "finish_value_unknown", check
15193 "return_value_known" implies "finish_value_known".
15194
15195 2004-06-08 Martin Hunt <hunt@redhat.com>
15196
15197 * gdb.base/float.exp: Add pattern for mips targets.
15198
15199 2004-06-08 Randolph Chung <tausq@debian.org>
15200
15201 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
15202 message for unknown architectures more clear.
15203
15204 2004-06-08 Joel Brobecker <brobecker@gnat.com>
15205
15206 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15207 start the execution of the program.
15208
15209 2004-06-07 Jim Blandy <jimb@redhat.com>
15210
15211 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15212 * gdb.arch/i386-cpuid.h: New helper file.
15213
15214 2004-06-07 Randolph Chung <tausq@debian.org>
15215
15216 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15217 has started.
15218
15219 2004-06-04 Roland McGrath <roland@redhat.com>
15220
15221 Fix PR gdb/1647.
15222 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15223 differently to be robust to output buffering differences.
15224
15225 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15226
15227 * gdb.threads/pthreads.exp: Update copyright years.
15228 (check_control_c): Change asynchronous 'after' to synchronous.
15229
15230 2004-06-04 Roland McGrath <roland@redhat.com>
15231
15232 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15233 next gdb prompt.
15234
15235 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15236
15237 Fix PR gdb/1636.
15238 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15239 calls to synchronous.
15240
15241 2004-05-26 Jim Blandy <jimb@redhat.com>
15242
15243 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15244
15245 2004-05-24 Randolph Chung <tausq@debian.org>
15246
15247 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15248 * gdb.asm/pa.inc: New file.
15249
15250 2004-05-22 Mark Kettenis <kettenis@gnu.org>
15251
15252 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15253
15254 2004-05-21 Joel Brobecker <brobecker@gnat.com>
15255 Daniel Jacobowitz <drow@mvista.com>
15256
15257 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15258 GDB prompt.
15259
15260 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15261
15262 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
15263 setjmp/longjmp. Use sigaction instead of signal.
15264
15265 2004-05-19 J. Brobecker <brobecker@gnat.com>
15266 Michael Snyder <msnyder@redhat.com>
15267
15268 * gdb.threads/pthread_cond_wait.c: New file.
15269 * gdb.threads/pthread_cond_wait.exp: New testcase.
15270
15271 2004-05-13 Andrew Cagney <cagney@redhat.com>
15272
15273 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15274 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15275
15276 2004-05-11 Andrew Cagney <cagney@redhat.com>
15277
15278 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15279 fixed but revealed gdb/1639.
15280
15281 2004-05-10 Andrew Cagney <cagney@redhat.com>
15282
15283 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15284 func1" and "next to 2nd alarm", kernel bug avoided.
15285
15286 2004-05-10 Daniel Jacobowitz <dan@debian.org>
15287
15288 PR external/1568
15289 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15290 XFAIL if it is smaller than bytes_allocated.
15291 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15292 (main): Make chunks_allocated unsigned. Correct comment.
15293
15294 2004-05-07 Joel Brobecker <brobecker@gnat.com>
15295
15296 * gdb.arch/powerpc-aix-prologue.c: New file.
15297 * gdb.arch/powerpc-aix-prologue.exp: New file.
15298
15299 2004-05-07 Jim Blandy <jimb@redhat.com>
15300
15301 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15302 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15303
15304 2004-05-06 Joel Brobecker <brobecker@gnat.com>
15305
15306 * gdb.base/sep.exp: No longer setup_kfail when the program was
15307 built with dwarf2.
15308
15309 2004-05-05 Jim Ingham <jingham@apple.com>
15310
15311 * gdb.base/pending.exp: Make sure pending breakpoints
15312 preserve the ignore count.
15313
15314 2004-04-27 Jerome Guitton <guitton@gnat.com>
15315
15316 * i386-prologue.exp: Add testcase for jump instruction as first
15317 instruction of the real code.
15318 * i386-prologue.c (jump_at_beginning): New function.
15319
15320 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15321
15322 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15323 x86_64-*-*.
15324
15325 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15326
15327 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15328 i*86-*-*.
15329
15330 2004-04-25 Mark Kettenis <kettenis@gnu.org>
15331
15332 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15333 expression that checks the return type.
15334
15335 2004-04-23 Andrew Cagney <cagney@redhat.com>
15336
15337 * gdb.base/call-sc.exp: New test of scalar call/return values.
15338 * gdb.base/call-sc.c: Ditto.
15339
15340 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15341
15342 * gdb.threads/manythreads.c: Reduce thread stack size.
15343
15344 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15345
15346 * gdb.threads/manythreads.c: Add copyright notice.
15347
15348 2004-04-23 Andrew Cagney <cagney@redhat.com>
15349
15350 * gdb.base/siginfo.exp: Better handle step out of signal.
15351 * gdb.base/sigstep.exp: Ditto.
15352
15353 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
15354 Daniel Jacobowitz <drow@mvista.com>
15355
15356 * gdb.threads/manythreads.c: New testcase.
15357 * gdb.threads/manythreads.exp: Ditto.
15358
15359 2004-04-22 Jim Blandy <jimb@redhat.com>
15360
15361 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15362 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15363
15364 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15365
15366 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15367
15368 2004-04-21 Andrew Cagney <cagney@redhat.com>
15369
15370 * gdb.base/sigstep.c: New file.
15371 * gdb.base/sigstep.exp: New file.
15372
15373 2004-04-16 Joel Brobecker <brobecker@gnat.com>
15374
15375 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15376 call to observer_notify_normal_stop.
15377
15378 2004-04-15 Andrew Cagney <cagney@redhat.com>
15379
15380 * gdb.base/siginfo.c: New file.
15381 * gdb.base/siginfo.exp: New file.
15382
15383 2004-04-12 J. Brobecker <brobecker@gnat.com>
15384
15385 * gdb.base/sep.exp: Fix typo in comment.
15386
15387 2004-04-12 J. Brobecker <brobecker@gnat.com>
15388
15389 * gdb.base/sep.c: New file.
15390 * gdb.base/sep-proc.c: New file.
15391 * gdb.base/sep.exp: New testcase.
15392
15393 2004-04-09 Mark Kettenis <kettenis@gnu.org>
15394
15395 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15396 support.
15397
15398 2004-04-05 Andrew Cagney <cagney@redhat.com>
15399
15400 * gdb.base/sigaltstack.c: New file.
15401 * gdb.base/sigaltstack.exp: New file.
15402
15403 2004-04-04 Joel Brobecker <brobecker@gnat.com>
15404
15405 * gdb.base/foll-fork.exp: Update the expected output for
15406 "help set follow-fork-mode", to match a change that was made
15407 to the help of this variable on 2004-01-13.
15408
15409 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15410
15411 * lib/ada.exp: Add copyright notice.
15412 * bar.ads: Likewise.
15413 * bar.adb: Likewise.
15414 * null_record.adb: Likewise.
15415 * null_record.exp: Likewise.
15416 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15417
15418 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15419
15420 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15421 * configure: Regenerate.
15422
15423 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15424
15425 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15426 to build the application. Remove the message printed when in
15427 verbose mode, redundant with the UNSUPPORTED message above.
15428
15429 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15430
15431 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15432 * gdb.ada (null_record.exp): New testcase.
15433
15434 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15435
15436 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15437
15438 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15439
15440 * gdb.ada: New subdirectory.
15441 * gdb.ada/Makefile.in: New file.
15442 * gdb.ada/gnat_ada.gpr.in: New file.
15443
15444 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15445
15446 * lib/ada.exp: New file.
15447
15448 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
15449
15450 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15451 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15452
15453 2004-03-22 Andrew Cagney <cagney@redhat.com>
15454
15455 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15456 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15457 Problem identified by Ulrich Weigand.
15458
15459 2004-03-17 David Carlton <carlton@kealia.com>
15460
15461 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15462 PR c++/826.
15463
15464 2004-03-16 Roland McGrath <roland@redhat.com>
15465
15466 * gdb.base/auxv.exp: New file.
15467 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15468
15469 2004-03-12 David Carlton <carlton@kealia.com>
15470
15471 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15472 * gdb.cp/pr-1553.cc: Ditto.
15473 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15474 pass branch.
15475
15476 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15477
15478 * gdb.cp/templates.exp: Accept more template types.
15479
15480 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15481
15482 From Corinna Vinschen with modifications.
15483 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15484 local variable obj_with_enum.
15485 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15486 results with obj_with_enum.
15487
15488 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15489
15490 * gdb.cp/classes.cc: New file, copied from misc.cc.
15491 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15492
15493 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15494
15495 * gdb.cp/misc.cc: Add copyright notice.
15496
15497 2004-03-05 David Carlton <carlton@kealia.com>
15498
15499 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15500 * gdb.cp/rtti.h: Update copyright.
15501 (namespace n2::n3): New.
15502 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15503 (n2::n3::func3): New.
15504 (main): Call n2::n3::func3.
15505 * gdb.cp/rtti2.cc: Update copyright.
15506 (n2::create3): New.
15507
15508 2004-03-04 Mark Kettenis <kettenis@gnu.org>
15509
15510 * gdb.asm/openbsd.inc: Fix typo.
15511
15512 2004-03-03 Fred Fish <fnf@redhat.com>
15513
15514 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15515 "val" instead of unused "size". Update copyright year.
15516
15517 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15518
15519 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15520 to use unsigned char.
15521 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15522 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15523
15524 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15525
15526 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15527 line of output.
15528
15529 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15530
15531 * gdb.base/relocate.c (dummy): Initialize.
15532
15533 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15534
15535 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15536 a breakpoint at exit.
15537
15538 2004-02-27 Fred Fish <fnf@redhat.com>
15539
15540 * gdb.base/chng-syms.exp: Add expect condition to match failing
15541 case that isn't a timeout.
15542
15543 2004-02-27 Andrew Cagney <cagney@redhat.com>
15544
15545 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15546 support.
15547
15548 2004-02-26 Fred Fish <fnf@redhat.com>
15549
15550 * gdb.arch/gdb1431.c: Remove.
15551 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15552 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15553 of "until" incorrectly.
15554
15555 2004-02-26 J. Brobecker <brobecker@gnat.com>
15556
15557 * gdb.cp/class2.cc (empty): New class.
15558 (refer): New function.
15559 (main): Declare an object of type empty and use it.
15560 * gdb.cp/class2.exp: Print the value of an object of type empty.
15561
15562 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15563
15564 * gdb.base/langs.exp: Update query string to match the
15565 new nquery format used for pending breakpoints.
15566
15567 2004-02-26 Andrew Cagney <cagney@redhat.com>
15568
15569 Fix PR i18n/1570.
15570 * gdb.base/charset.c: Update copyright notice.
15571 (main, init_string): Remove the escape character '\e' tests.
15572 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15573 * gdb.base/charset.exp (valid_host_charset): Ditto.
15574 * gdb.base/setvar.exp: Ditto.
15575
15576 2004-02-24 Andrew Cagney <cagney@redhat.com>
15577
15578 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15579 mmapped data in core file" PASS and FAIL messages consistent.
15580
15581 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15582 setting a breakpoint. Work around PR java/1565.
15583
15584 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15585
15586 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15587 new nquery format.
15588 * gdb.base/pending.exp: Ditto.
15589
15590 2004-02-22 Mark Kettenis <kettenis@gnu.org>
15591
15592 * configure.in: Run stabs tests on *BSD.
15593 * configure: Regenerated.
15594
15595 2004-02-21 Mark Kettenis <kettenis@gnu.org>
15596
15597 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15598
15599 2004-02-20 Fred Fish <fnf@redhat.com>
15600
15601 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15602 blank in test for "returns short", for consistency with other
15603 "returns xxx" tests. Update copyright year.
15604
15605 2004-02-19 Fred Fish <fnf@redhat.com>
15606
15607 New testcase for PR breakpoint/1558.
15608 * gdb.arch/gdb1558.exp: New file.
15609 * gdb.arch/gdb1558.c: New file.
15610
15611 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
15612
15613 * gdb.base/nodebug.exp: Fix typo.
15614
15615 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15616
15617 Committed by Jim Blandy <jimb@redhat.com>.
15618
15619 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15620
15621 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15622
15623 * gdb.base/float.exp: Support s390*-*-* targets.
15624
15625 2004-02-17 Adam Fedor <fedor@gnu.org>
15626
15627 * gdb.base/gdb1555.exp: New file.
15628 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15629
15630 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
15631
15632 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15633
15634 2004-02-16 Fred Fish <fnf@redhat.com>
15635
15636 * gdb.arch/gdb1291.c: Remove
15637 * gdb.arch/gdb1291.s: New test input file.
15638 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15639 fail. Test for correct result, known incorrect result, other
15640 failures and timeouts.
15641
15642 2004-02-16 Andrew Cagney <cagney@redhat.com>
15643
15644 * gdb.base/bigcore.exp: New file.
15645 * gdb.base/bigcore.c: New file.
15646
15647 2004-02-13 Andrew Cagney <cagney@redhat.com>
15648
15649 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15650 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15651 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15652 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15653 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15654 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15655 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15656 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15657 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15658 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15659
15660 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15661
15662 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15663 executed is an alloc instruction.
15664
15665 2004-02-11 David Carlton <carlton@kealia.com>
15666
15667 * gdb.cp/breakpoint.exp: New.
15668 * gdb.cp/breakpoint.cc: New.
15669
15670 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15671
15672 Partial fix for PR gdb/1543.
15673 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15674 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15675 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15676 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15677 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15678 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15679 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15680 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15681 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15682 to bug-gdb@prep.ai.mit.edu .
15683 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15684 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15685 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15686 Likewise.
15687
15688 2004-02-10 Andrew Cagney <cagney@redhat.com>
15689
15690 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15691 using gdb_internal_error_resync.
15692
15693 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
15694
15695 * gdb.threads/thread-specific.exp: Stop early if no threads are
15696 found.
15697
15698 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15699
15700 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15701
15702 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
15703
15704 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15705 breakpoints.
15706
15707 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
15708
15709 * config/sim.exp (gdb_load): Handle $arg == "".
15710 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15711 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15712
15713 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
15714
15715 * gdb.base/maint.exp: Update test to reflect
15716 obstack changes.
15717
15718 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15719
15720 * gdb.base/pendshr.c (pendfunc): New function that calls
15721 pendfunc1.
15722 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15723
15724 2004-02-04 Fred Fish <fnf@redhat.com>
15725
15726 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15727 function symbols and update copyright years.
15728 * gdb.arch/gdb1291.c: Ditto.
15729
15730 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15731
15732 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15733
15734 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15735
15736 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15737
15738 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15739
15740 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15741
15742 2004-02-02 Fred Fish <fnf@redhat.com>
15743
15744 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15745 remote targets. Update copyright years.
15746
15747 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15748
15749 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15750 support.
15751 * gdb.base/langs.exp: Fix test which attempts to create
15752 breakpoint on non-existent function to handle new pending
15753 support.
15754 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15755 a breakpoint.
15756 * gdb.base/pending.exp: New test.
15757 * gdb.base/pending.c: New file.
15758 * gdb.base/pendshr.c: Ditto.
15759
15760 2004-02-02 David Carlton <carlton@kealia.com>
15761
15762 * gdb.cp/overload.exp: Add overloadNamespace tests.
15763 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15764 (overloadNamespace, XXX): New.
15765 (main): Call XXX::marker2.
15766
15767 2004-02-01 Fred Fish <fnf@redhat.com>
15768
15769 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15770 * gdb.base/finish.exp: Ditto.
15771 * gdb.base/gcore.exp: Ditto.
15772 * gdb.base/huge.exp: Ditto.
15773 * gdb.base/info-proc.exp: Ditto.
15774 * gdb.base/return2.exp: Ditto.
15775 * gdb.threads/gcore-thread.exp: Ditto.
15776
15777 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15778
15779 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15780
15781 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15782
15783 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15784 that opening the file succeeds on OpenBSD.
15785
15786 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15787
15788 * gdb.threads/thread-specific.c: New file.
15789 * gdb.threads/threads-specific.exp: New test script.
15790 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15791 to expect_out.
15792
15793 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15794
15795 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15796 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15797 only on the "print_small_structs from print_long_arg_list" test.
15798
15799 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15800
15801 * gdb.base/completion.exp: Kill a stray backslash.
15802
15803 From Jim Ingham <jingham@apple.com>:
15804 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15805 agrees with the result from sending a tab.
15806
15807 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
15808
15809 * gdb.base/chng-syms.exp: Remove stray newline.
15810
15811 2004-01-31 Mark Kettenis <kettenis@gnu.org>
15812
15813 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15814 *-*-openbsd*.
15815 * gdb.asm/openbsd.inc: New file.
15816
15817 2004-01-30 Mark Kettenis <kettenis@gnu.org>
15818
15819 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15820 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15821 *-*solaris2*. Remove commented out default settings for
15822 asm-flags. Replace gdb_compile with target_link.
15823
15824 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15825
15826 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15827 for all tests. Remove old hp-ux and cygnus xfail cases.
15828
15829 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15830
15831 * gdb.base/chng-syms.exp: New file.
15832 * gdb.base/chng-syms.c: New file.
15833
15834 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15835
15836 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15837 Provide arms for current output in all my configurations.
15838
15839 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15840
15841 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15842 * lib/compiler.cc: Likewise.
15843 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15844 get the right preprocessor. Eval the output directly. Remove
15845 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15846 hp_f77_compiler and hp_f90_compiler completely.
15847 (gdb_preprocess): Delete.
15848 (get_compiler): Delete.
15849
15850 2004-01-24 Mark Kettenis <kettenis@gnu.org>
15851
15852 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15853 <string.h>.
15854
15855 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
15856
15857 * gdb.mi/mi-stack.exp: Update copyright.
15858
15859 2004-01-23 David Carlton <carlton@kealia.com>
15860
15861 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15862 test for cp_lookup_transparent_type.
15863 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15864 call them.
15865
15866 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
15867
15868 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15869 after -var-update.
15870
15871 2004-01-23 David Carlton <carlton@kealia.com>
15872
15873 * gdb.cp/namespace.cc (C::ensureRefs): New.
15874 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15875
15876 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
15877
15878 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15879 case "-stack-list-locals 2".
15880 * gdb.mi/mi-var-child.exp: Test for case
15881 "-var-list-children --all-values NAME".
15882
15883 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15884
15885 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15886
15887 2004-01-18 Mark Kettenis <kettenis@gnu.org>
15888
15889 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15890 used with gdb_test_multiple.
15891
15892 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15893 read at address 0. This fixes PR testsuite/1504.
15894
15895 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
15896
15897 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15898 Remove downloading, guessing the host executable, the calls to
15899 gdb_file_cmd and gdb_target_cmd, and "load" support.
15900 (infer_host_exec): New function broken out from gdb_load.
15901 (gdb_load): New wrapper for gdbserver_gdb_load.
15902 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15903 gdb_target_cmd. Use -target-select.
15904 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15905 Download binaries to the host. Clear last_mi_remote_file when
15906 we load a new binary.
15907 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15908 call gdbserver_gdb_load and mi_gdb_target_cmd.
15909
15910 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15911
15912 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15913 type patterns.
15914
15915 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15916
15917 * gdb.cp/templates.exp: Fix typo in test name of
15918 "print Foo<volatile char*>::foo".
15919
15920 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15921
15922 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15923
15924 2004-01-16 Ben Elliston <bje@wasabisystems.com>
15925
15926 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15927 (clean mostlyclean): Remove empty rm.
15928
15929 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15930
15931 * gdb.base/setvar.exp: Add copyright years.
15932
15933 2004-01-14 David Carlton <carlton@bactrian.org>
15934
15935 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15936 PR c++/1511 and update coment.
15937 * gdb.cp/templates.exp: Update patterns to match current output.
15938 If changes involve something other than whitespace, KFAIL
15939 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15940
15941 2004-01-14 David Carlton <carlton@kealia.com>
15942
15943 * gdb.cp/namespace.exp: Add tests involving classes defined within
15944 namespaces.
15945 * gdb.cp/namespace.cc (C::CClass): New.
15946 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15947
15948 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
15949
15950 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15951 what debug info we have. Print a better message if something goes
15952 wrong while producing the separate debug info file.
15953
15954 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15955
15956 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15957
15958 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15959
15960 * gdb.base/callfuncs.c: Add copyright notice.
15961
15962 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15963
15964 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15965 inheritance. PR gdb/1498, PR gcc/13539.
15966
15967 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
15968
15969 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15970 test specific name.
15971 * gdb.mi/gdb669.exp: Ditto.
15972 * gdb.mi/mi-pthreads.exp: Ditto.
15973 * gdb.mi/mi1-pthreads.exp: Ditto.
15974 * gdb.mi/mi2-pthreads.exp: Ditto.
15975
15976 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15977
15978 * gdb.cp/member-ptr.cc: Add copyright notice.
15979
15980 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15981
15982 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15983 some patterns for recent versions of gcc and hpacc. Delete
15984 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15985 Delete tests that access a NULL pointer-to-member-data. This
15986 script is still disabled for gcc.
15987
15988 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15989
15990 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15991 escaped correctly.
15992
15993 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15994
15995 * gdb.base/sepdebug.exp: New file.
15996 * gdb.base/sepdebug.c: New file.
15997 * lib/gdb.exp (separate_debug_filename): New procedure.
15998 (gdb_gnu_strip_debug): New procedure.
15999
16000 2004-01-12 Andrew Cagney <cagney@redhat.com>
16001
16002 * gdb.mi/ChangeLog: Delete file. Renamed to ...
16003 * gdb.mi/ChangeLog-1999-2003: New file.
16004
16005 2004-01-12 Andrew Cagney <cagney@redhat.com>
16006
16007 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
16008 "Renaming a directory to a non-empty directory returns ENOTEMPTY
16009 or EEXIST", treat EBUSY as an XFAIL.
16010
16011 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
16012
16013 * gdb.base/scope.exp: Remove obsolete setup_xfail for
16014 hp_cc_compiler.
16015
16016 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16017
16018 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
16019 decorations.
16020
16021 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
16022
16023 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
16024 and "(aCC)" decorations. Remove obsolete doco about old
16025 test results.
16026
16027 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16028
16029 * gdb.cp/exception.exp: Fix typo in doco.
16030
16031 2004-01-09 Mark Kettenis <kettenis@gnu.org>
16032
16033 * gdb.base/gdb1476.exp: Fix typo.
16034
16035 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16036
16037 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
16038 file.
16039
16040 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
16041
16042 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
16043 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
16044 Use gdb_compile. Remove restriction on gcc. Add some patterns
16045 for recent version of gdb. Delete second half, which was a copy
16046 of the first half with different build flags. This test is
16047 still disabled because it is still not ready for production.
16048
16049 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16050
16051 * gdb.cp/exception.cc: Add copyright notice.
16052 * gdb.cp/exception.exp: Add a notice that this file is broken
16053 because of line number changes caused by addition of copyright
16054 notice.
16055
16056 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16057
16058 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
16059 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
16060
16061 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16062
16063 * gdb.cp/classes.exp: Accept gnu abi 2.
16064 * gdb.cp/derivation.exp: Likewise.
16065 * gdb.cp/overload.exp: Likewise.
16066 * gdb.cp/virtfunc.exp: Likewise.
16067
16068 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
16069
16070 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
16071 semicolon after end of function.
16072
16073 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16074
16075 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
16076 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
16077 boilerplate code for compiling and running the program under
16078 test. Add some string method tests.
16079
16080 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16081
16082 * gdb.cp/bs15503.cc: Add copyright notice.
16083 * gdb.cp/bs15503.exp: Adjust line number.
16084
16085 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16086
16087 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
16088 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
16089
16090 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16091
16092 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
16093 hp_cc_compiler.
16094
16095 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16096
16097 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
16098 * gdb.cp/ctti.exp: Use the marker instead of "next".
16099 With gcc, run further before bailing.
16100
16101 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16102
16103 * gdb.cp/cttiadd.cc: Add copyright notice.
16104 * gdb.cp/cttiadd1.cc: Likewise.
16105 * gdb.cp/cttiadd2.cc: Likewise.
16106 * gdb.cp/cttiadd3.cc: Likewise.
16107
16108 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16109
16110 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
16111 Use gdb_test, gdb_test_multiple. Use floating-point values that
16112 have exact representations in IEEE-ish formats.
16113
16114 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16115
16116 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
16117 compilers. Delete duplicate call to get_compiler_info.
16118 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
16119 * gdb.base/volatile.exp: Likewise.
16120
16121 2004-01-07 Mark Kettenis <kettenis@gnu.org>
16122
16123 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
16124 memory at address 0.
16125
16126 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
16127
16128 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
16129 to test for hp-ux assembler. Fix copyright years.
16130
16131 2004-01-07 Andrew Cagney <cagney@redhat.com>
16132
16133 * gdb.base/fileio.c (strerrno): Add "EBUSY".
16134
16135 2004-01-07 Andrew Cagney <cagney@redhat.com>
16136
16137 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
16138 when creating the read-only file. From analysis by Roland McGrath
16139 and Elena Zannoni.
16140
16141 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16142
16143 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
16144
16145 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16146
16147 * gdb.base/cvexpr.c: Be type-safe with function pointers and
16148 data pointers.
16149
16150 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16151
16152 * gdb.cp/m-static.exp: Compile one source file at a time.
16153 Delete unused call to get_compiler_info.
16154
16155 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
16156
16157 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
16158 * gdb.base/call-rt-st.exp: Likewise.
16159 * gdb.base/nodebug.exp: Likewise.
16160 * gdb.base/volatile.exp: Likewise.
16161 * gdb.cp/ref-types.exp: Likewise.
16162 * gdb.cp/templates.exp: Likewise.
16163
16164 2004-01-05 Mark Kettenis <kettenis@gnu.org>
16165
16166 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
16167
16168 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
16169
16170 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
16171 hppa*-hp-hpux*.
16172
16173 2004-01-04 Mark Kettenis <kettenis@gnu.org>
16174
16175 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16176 x86_64-*-*.
16177
16178 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
16179 sparc64-*-* and sparc*-solaris2*.
16180
16181 2004-01-04 Mark Kettenis <kettenis@gnu.org>
16182
16183 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
16184 return ${tests}" test. The ${tests} already mentions the
16185 filename.
16186
16187 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16188
16189 * gdb.cp/local.exp: Accept gcc abi 2.
16190
16191 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16192
16193 * gdb.cp/templates.exp: Accept gcc abi 2.
16194
16195 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
16196
16197 * lib/compiler.cc: Remove supports_template_debugging.
16198 * gdb.cp/templates.exp: Do not test supports_template_debugging.
16199
16200 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16201
16202 * gdb.cp/namespace.exp: Accept gcc abi 2.
16203
16204 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16205
16206 * gdb.cp/method.exp: Accept gcc abi 2.
16207
16208 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16209
16210 * gdb.cp/classes.exp: Generate identical results as old version.
16211 * gdb.cp/derivation.exp: Likewise.
16212 * gdb.cp/overload.exp: Likewise.
16213 * gdb.cp/virtfunc.exp: Likewise.
16214
16215 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16216
16217 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16218 mysterious bug with sourceware version of expect.
16219
16220 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16221
16222 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16223 current versions of gcc, including gcc abi 2. Remove gratuitous
16224 restart of test program. Use gdb_test_multiple and gdb_test for
16225 all tests. Add patterns to xfail missing "const" in "const char *"
16226 and kfail PR gdb/1155.
16227
16228 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16229
16230 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16231 current versions of gcc, including gcc abi 2. Remove gratuitous
16232 restart of test program. Use gdb_test_multiple and gdb_test for
16233 all tests. Add patterns to kfail PR gdb/1498.
16234
16235 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16236
16237 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16238 current versions of gcc, including gcc abi 2. Use "breakpoint"
16239 and "continue" instead of restarting the target program. Use
16240 gdb_test_multiple and gdb_test for all tests.
16241
16242 2004-01-01 Mark Kettenis <kettenis@gnu.org>
16243
16244 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16245 for *-*-solaris2*.
16246
16247 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16248
16249 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16250 current versions of gcc, including gcc abi 2. Use "breakpoint"
16251 and "continue" instead of restarting the target program several
16252 times. Use gdb_test_multiple and gdb_test for all tests.
16253
16254 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16255
16256 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16257 source files.
16258
16259 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16260
16261 * gdb.base/environ.exp: Handle compiling test case from multiple
16262 source files.
16263
16264 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16265
16266 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16267
16268 2003-12-17 Jim Blandy <jimb@redhat.com>
16269
16270 * gdb.base/freebpcmd.c: Add copyright notice.
16271
16272 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16273
16274 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16275
16276 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16277
16278 2003-12-13 Jim Blandy <jimb@redhat.com>
16279
16280 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16281
16282 2003-12-12 Kevin Buettner <kevinb@redhat.com>
16283
16284 * gdb.asm/frv.inc: New file.
16285 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16286
16287 2003-12-09 Fred Fish <fnf@redhat.com>
16288
16289 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16290 functions to break1.c and leave prototypes behind. Add more
16291 "set breakpoint NN here" comments.
16292 * gdb.base/break1.c: New file.
16293
16294 * gdb.base/break.exp: Handle compiling test case from multiple
16295 source files and change source file references as needed.
16296 * gdb.base/completion.exp: Ditto.
16297 * gdb.base/condbreak.exp: Ditto.
16298 * gdb.base/define.exp: Ditto.
16299 * gdb.base/ena-dis-br.exp: Ditto.
16300 * gdb.base/info-proc.exp: Ditto.
16301 * gdb.base/maint.exp: Ditto.
16302 * gdb.base/until.exp: Ditto.
16303
16304 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16305 hardcoded line numbers.
16306 * gdb.base/define.exp: Ditto.
16307 * gdb.base/ena-dis-br.exp: Ditto.
16308 * gdb.base/maint.exp: Ditto.
16309 * gdb.base/until.exp: Ditto.
16310
16311 * gdb.base/completion.exp: Use "break1" for completion tests since
16312 "break" is no longer a unique prefix.
16313
16314 2003-12-06 Andrew Cagney <cagney@redhat.com>
16315
16316 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16317 "return_value_unimplemented". When an unimplemented struct return
16318 architecture, report incorrect values as a KFAIL
16319
16320 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16321
16322 * gdb.cp/rtti.exp: Accept new wording of warning from
16323 cp_lookup_rtti_type.
16324
16325 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16326
16327 Partial fix for PR testsuite/1456.
16328 * gdb.base/scope.exp (test_at_main): Replace references to
16329 gcc_compiled with calls to test_compiler_info.
16330 (test_at_foo): Likewise.
16331 (test_at_bar): Likewise.
16332
16333 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16334
16335 Partial fix for PR testsuite/1456.
16336 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16337 to test_compiler_info.
16338
16339 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16340
16341 * gdb.base/so-impl-ld.exp: Update copyright notice.
16342
16343 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16344
16345 Partial fix for PR testsuite/1456.
16346 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16347 to test_compiler_info.
16348
16349 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16350
16351 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16352 from current versions of gdb. Clean up regular expressions.
16353 Delete redundant timeout case.
16354
16355 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16356
16357 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16358 from current versions of gdb. Clean up regular expressions.
16359 Delete redundant timeout case.
16360
16361 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16362
16363 Partial fix for PR testsuite/1456.
16364 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16365 gcc_compiled with call to test_compiler_info.
16366
16367 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16368
16369 Partial fix for PR testsuite/1456.
16370 * gdb.base/list.exp (test_list_function): Delete unused declaration
16371 of gcc_compiled.
16372
16373 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16374
16375 Partial fix for PR testsuite/1456.
16376 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16377 call to test_compiler_info.
16378
16379 2003-11-29 Mark Kettenis <kettenis@gnu.org>
16380
16381 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16382 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16383 it to create the appropriate note.inc.
16384 * gdb.asm/asmsrc1.s: Include "note.inc".
16385 * gdb.asm/netbsd.inc: New file.
16386 * gdb.asm/empty.inc: New file.
16387
16388 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16389
16390 Partial fix for PR testsuite/1456.
16391 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16392 calls to test_compiler_info.
16393
16394 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16395
16396 Partial fix for PR testsuite/1456.
16397 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16398 calls to test_compiler_info.
16399
16400 2003-11-27 Mark Kettenis <kettenis@gnu.org>
16401
16402 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16403 pattern for the KFAILs.
16404
16405 2003-11-25 Adam Fedor <fedor@gnu.org>
16406
16407 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16408 * gdb.objc/objcdecode.m: New file.
16409
16410 2003-11-25 Adam Fedor <fedor@gnu.org>
16411
16412 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16413 * gdb.objc/nondebug.m: New file.
16414
16415 2003-11-26 Ben Elliston <bje@wasabisystems.com>
16416
16417 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16418 NetBSD as it does on FreeBSD. Modelled on a similar change by
16419 Mark Kettenis on 2003-05-30.
16420 (link-flags): Set to "--entry _start" regardless of target.
16421 Special linker flags are to be appended to $link-flags.
16422 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16423
16424 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16425
16426 * gdb.cp/method.exp: Accept output of new demangler.
16427
16428 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16429
16430 * gdb/class2.exp: New file.
16431 * gdb/class2.cc: New file.
16432
16433 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16434
16435 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16436 of new demangler.
16437
16438 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16439
16440 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16441 of gdb_test "run".
16442
16443 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16444
16445 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16446 "continue" into "run".
16447
16448 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16449
16450 Partial fix for PR testsuite/1456.
16451 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16452 call to test_compiler_info.
16453 * gdb.cp/ctti.exp: Likewise.
16454 * gdb.cp/derivation.exp: Likewise.
16455 * gdb.cp/member-ptr.exp: Likewise.
16456 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16457 reference to gcc_compiled.
16458
16459 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16460
16461 Fix PR testsuite/1463.
16462 * gdb.base/structs.exp (start_structs_test): Call
16463 get_debug_format before using the debug format.
16464
16465 2003-11-22 Andrew Cagney <cagney@redhat.com>
16466
16467 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16468 * gdb.base/structs.exp: Use gdb_test_multiple.
16469
16470 2003-11-20 Andrew Cagney <cagney@redhat.com>
16471
16472 * gdb.base/structs.exp: Handle and recover from internal errors.
16473 Replace "foo${n}" with "foo<n>" in test messages.
16474
16475 * gdb.base/structs.exp: Update copyright. Rewrite.
16476 * gdb.base/structs.c: Update copyright. Rewrite.
16477
16478 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16479 resync count exceeded.
16480
16481 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16482 from the internal error.
16483 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16484 Original from Jim Blandy.
16485 (gdb_test_multiple): Use gdb_internal_error_resync.
16486
16487 2003-11-19 Andrew Cagney <cagney@redhat.com>
16488
16489 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16490 KFAIL.
16491
16492 2003-11-17 Mark Kettenis <kettenis@gnu.org>
16493
16494 New testcase for PR backtrace/1435.
16495 * gdb.arch/i386-unwind.exp: New file.
16496 * gdb.arch/i386-unwind.c: New file.
16497
16498 2003-11-17 Andrew Cagney <cagney@redhat.com>
16499
16500 * lib/gdb.exp (compiler_info): New global.
16501 (test_compiler_info): New function.
16502 (get_compiler_info): Set compiler_info.
16503 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16504 "compiler_info" to gcc-<major>-<minor>.
16505
16506 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16507
16508 * gdb.trace/configure: Remove.
16509
16510 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
16511
16512 * gdb.base/break.c: Add comments to aid finding line numbers for
16513 breakpoints.
16514 * gdb.base/break.exp: Remove all references to explicit line
16515 numbers.
16516
16517 2003-11-11 Nick Clifton <nickc@redhat.com>
16518
16519 * gdb.base/shreloc.exp: Do not run for targets which do not
16520 support shared objects.
16521
16522 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
16523
16524 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16525 Don't run tests if nofileio flag is given.
16526
16527 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
16528
16529 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
16530 as well as 'Watchpoint'.
16531
16532 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16533
16534 Reported by Jim Ingham <jingham@apple.com>:
16535 * gdb.base/annota1.exp: Match at least one occurrence of the
16536 signal handler annotation.
16537
16538 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16539
16540 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16541 as well as 'Watchpoint'.
16542
16543 2003-11-05 Michael Chastain <mec@shout.net>
16544
16545 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16546
16547 2003-11-03 Kris Warkentin <kewarken@qnx.com>
16548
16549 * gdb.arch/gdb1291.c: New test file.
16550 * gdb.arch/gdb1291.exp: New test script.
16551 * gdb.arch/gdb1431.c: New test file.
16552 * gdb.arch/gdb1431.exp: New test script.
16553
16554 2003-10-22 Michael Chastain <mec@shout.net>
16555
16556 * gdb.mi/pthreads.c: Add copyright notice.
16557
16558 2003-10-22 Michael Chastain <mec@shout.net>
16559
16560 * gdb.threads/pthreads.c: Add copyright notice.
16561
16562 2003-10-20 Michael Chastain <mec@shout.net>
16563
16564 * gdb.base/gdb1056.exp: New test script.
16565
16566 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16567
16568 * gdb.threads/killed.exp: Use gdb_run_cmd.
16569
16570 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16571
16572 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16573 create a core file.
16574 * gdb.threads/gcore-thread.exp: Likewise.
16575
16576 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
16577
16578 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16579 type, based on char type.
16580 (struct bit_flags_short_t): New bitfield type, based on short type.
16581 (init_bit_flags_char): New fuction.
16582 (init_bit_flags_short): Ditto.
16583 (print_bit_flags_char): Ditto.
16584 (print_bit_flags_short): Ditto.
16585 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16586
16587 2003-10-11 Michael Chastain <mec@shout.net>
16588
16589 * gdb.base/call-rt-st.exp: Update copyright year.
16590
16591 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16592
16593 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16594 * gdb.disasm/sh3.s: Ditto.
16595
16596 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
16597
16598 * gdb.threads/switch-threads.exp: New test.
16599 * gdb.threads/switch-threads.c: New source file.
16600
16601 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
16602
16603 * gdb.base/ending-run.exp: Add sh specific case.
16604
16605 2003-10-06 Andrew Cagney <cagney@redhat.com>
16606
16607 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16608 * gdb.disasm/mn10200.exp: Delete obsolete file.
16609
16610 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
16611
16612 * ChangeLog: Correct an entry command.exp -> commands.exp.
16613 * gdb.base/commands.exp (bp_deleted_in_command_test)
16614 (temporary_breakpoint_commands): Check noargs.
16615
16616 2003-09-25 David Carlton <carlton@kealia.com>
16617
16618 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16619 of some print tests, where appropriate. Add tests for C::D::cd,
16620 E::ce, F::cXfX, G::XgX.
16621 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16622
16623 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
16624
16625 * lib/java.exp (java_init): Import target_alias before using it.
16626
16627 2003-09-25 David Carlton <carlton@kealia.com>
16628
16629 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16630
16631 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
16632
16633 * gdb.base/selftest.exp: Accomodate more instruction reordering
16634 weirdness.
16635
16636 2003-09-17 Michael Chastain <mec@shout.net>
16637
16638 * gdb.cp/gdb1355.exp: New file.
16639 * gdb.cp/gdb1355.c: New file.
16640
16641 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
16642
16643 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16644 * gdb.asm/sh.inc: New file.
16645
16646 2003-09-11 David Carlton <carlton@kealia.com>
16647
16648 * gdb.cp/namespace.exp: Add tests for namespace types.
16649 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
16650 (test_namespace): New.
16651
16652 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
16653
16654 * gdb.base/relocate.exp: Handle new gdb output at startup.
16655 * gdb.stabs/weird.exp: Ditto.
16656
16657 2003-09-08 Michael Chastain <mec@shout.net>
16658
16659 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16660
16661 2003-09-07 Michael Chastain <mec@shout.net>
16662
16663 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16664 'parse error'.
16665
16666 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16667
16668 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16669
16670 2003-08-30 Michael Chastain <mec@shout.net>
16671
16672 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16673 * gdb.gdb/observer.exp: Ditto.
16674 * gdb.gdb/xfullpath.exp: Ditto.
16675
16676 2003-08-29 Mark Kettenis <kettenis@gnu.org>
16677
16678 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16679 *-*-*bsd*.
16680
16681 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16682
16683 * gdb.base/dump.exp: Skip for ia64.
16684
16685 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16686
16687 * gdb.asm/asm-source.exp: Add ia64 support.
16688 * gdb.asm/ia64.inc: New file.
16689
16690 2003-08-22 Michael Chastain <mec@shout.net>
16691
16692 * gdb.cp: New directory.
16693 * gdb.cp/*: Copy from gdb.c++/*.
16694 * gdb.c++/*: Remove.
16695 * Makefile.in: Change gdb.c++ to gdb.cp.
16696 * configure.in: Ditto.
16697 * configure: Regnerate.
16698
16699 2003-08-18 Mark Kettenis <kettenis@gnu.org>
16700
16701 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16702 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16703
16704 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16705
16706 * mi-var-display.exp (-var-list-children weird): Accept function
16707 pointers with argument types.
16708 * mi1-var-display.exp (-var-list-children weird): Likewise.
16709 * mi2-var-display.exp (-var-list-children weird): Likewise.
16710
16711 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16712
16713 * gdb.base/annota3.exp: Add missing newline.
16714
16715 2003-08-06 Michael Chastain <mec@shout.net>
16716
16717 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16718
16719 2003-08-12 Michael Snyder <msnyder@redhat.com>
16720
16721 * gdb.base/float.exp: Add test for SH.
16722
16723 2003-08-10 Mark Kettenis <kettenis@gnu.org>
16724
16725 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16726
16727 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16728
16729 * gdb.base/completion.exp: Remove reduntant completion test
16730 on filename.
16731
16732 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16733
16734 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16735 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16736 gdb.trace/save-trace.exp: Make sure that full pathnames are
16737 escaped correctly.
16738
16739 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16740
16741 * configure.in: Don't generate config.h from config.hin.
16742 * configure: Regenerate.
16743 * config.hin: Remove file.
16744 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16745 * gdb.threads/pthreads.c: Ditto.
16746
16747 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
16748
16749 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16750 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16751 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16752 Replace ld24 with seth/add3.
16753
16754 2003-08-02 Andrew Cagney <cagney@redhat.com>
16755
16756 * gdb.base/annota3.exp: New file.
16757 * gdb.base/annota3.c: New file.
16758 * gdb.c++/annota3.exp: New file.
16759 * gdb.c++/annota3.cc: New file.
16760
16761 2003-07-29 Michael Chastain <mec@shout.net>
16762
16763 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16764 actually failed.
16765 (do_pass): Likewise.
16766 * gdb.threads/tls.exp: Always initialize no_of_threads.
16767
16768 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
16769
16770 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16771 pattern.
16772 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16773 * gdb.threads/tls.exp: Recognize one case of the host library not
16774 supporting TLS.
16775
16776 2003-07-27 Andrew Cagney <cagney@redhat.com>
16777
16778 * gdb.base/fileio.exp: Use SH when running commands using
16779 remote_exec.
16780
16781 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
16782
16783 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16784 * gdb.base/relocate.c (dummy): New padding array.
16785
16786 2003-07-22 Michael Snyder <msnyder@redhat.com>
16787
16788 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
16789
16790 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16791 patterns to be more general, accepting old and new output.
16792 Some output chars (such as '+') also must be quoted.
16793 Some addresses are displayed numerically instead of
16794 symbolically.
16795
16796 2003-07-23 Michael Snyder <msnyder@redhat.com>
16797
16798 * gdb.base/return2.exp: Don't test long-long return.
16799
16800 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16801 * gdb.disasm/t01_mov.exp: Ditto.
16802 * gdb.disasm/t02_mova.s: Ditto.
16803 * gdb.disasm/t02_mova.exp: Ditto.
16804 * gdb.disasm/t03_add.s: Ditto.
16805 * gdb.disasm/t03_add.exp: Ditto.
16806 * gdb.disasm/t04_sub.s: Ditto.
16807 * gdb.disasm/t04_sub.exp: Ditto.
16808 * gdb.disasm/t05_cmp.s: Ditto.
16809 * gdb.disasm/t05_cmp.exp: Ditto.
16810 * gdb.disasm/t06_ari2.s: Ditto.
16811 * gdb.disasm/t06_ari2.exp: Ditto.
16812 * gdb.disasm/t07_ari3.s: Ditto.
16813 * gdb.disasm/t07_ari3.exp: Ditto.
16814 * gdb.disasm/t08_or.s: Ditto.
16815 * gdb.disasm/t08_or.exp: Ditto.
16816 * gdb.disasm/t09_xor.s: Ditto.
16817 * gdb.disasm/t09_xor.exp: Ditto.
16818 * gdb.disasm/t10_and.s: Ditto.
16819 * gdb.disasm/t10_and.exp: Ditto.
16820 * gdb.disasm/t11_logs.s: Ditto.
16821 * gdb.disasm/t11_logs.exp: Ditto.
16822 * gdb.disasm/t12_bit.s: Ditto.
16823 * gdb.disasm/t12_bit.exp: Ditto.
16824 * gdb.disasm/t13_otr.s: Ditto.
16825 * gdb.disasm/t13_otr.exp: Ditto.
16826
16827 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16828
16829 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16830
16831 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16832
16833 * gdb.threads/tls.c : New file.
16834 * gdb.threads/tls.exp : New file.
16835 * gdb.threads/tls-main.c : New file.
16836 * gdb.threads/tls-shared.c : New file.
16837 * gdb.threads/tls-shared.exp : New file.
16838
16839 2003-07-22 Andreas Schwab <schwab@suse.de>
16840
16841 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16842
16843 2003-07-20 Andreas Schwab <schwab@suse.de>
16844
16845 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16846 due to insn reordering.
16847
16848 2003-07-15 Andrew Cagney <cagney@redhat.com>
16849
16850 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16851
16852 2003-07-15 Michael Chastain <mec@shout.net>
16853
16854 * gdb.base/gdb1250.exp: New file.
16855 * gdb.base/gdb1250.c: New file.
16856
16857 2003-07-09 Michal Ludvig <mludvig@suse.cz>
16858
16859 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16860 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16861
16862 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16863
16864 * gdb.threads/tls.c: New file.
16865 * gdb.threads/tls.exp: New file.
16866 * gdb.threads/tls-main.c: New file.
16867 * gdb.threads/tls-shared.c: New file.
16868 * gdb.threads/tls-shared.exp: New file.
16869
16870 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16871
16872 * gdb.base/annota1.exp: Make sure that we properly escape the
16873 full path of the source file. Xfail more permissive patterns,
16874 due to a compiler debug info problem.
16875
16876 2003-07-07 Andreas Schwab <schwab@suse.de>
16877
16878 * gdb.asm/m68k.inc: New file.
16879 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16880
16881 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16882 arguments"): Also match negative number.
16883
16884 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16885
16886 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
16887
16888 * gdb.base/store.c (charest): New typedef.
16889 (add_char): Rename to add_charest, update.
16890 (wack_char): Rename to wack_charest, update types. Return l + r
16891 to keep r live across the call.
16892 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16893 (wack_double, wack_doublest): Return l + r to keep r live across
16894 the call.
16895 * gdb.base/store.exp: Accomodate store.c changes.
16896
16897 2003-06-30 David Carlton <carlton@kealia.com>
16898
16899 * gdb.c++/maint.exp (test_invalid_name): New.
16900 (test_first_component): Add tests for invalid names.
16901
16902 2003-06-29 Michael Chastain <mec@shout.net>
16903
16904 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16905 output of '<VTT for class>' for virtual base classes.
16906
16907 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16908
16909 * gdb.base/completion.exp: Tab-complete "complet" instead of
16910 "compl".
16911 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16912
16913 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16914
16915 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16916 * gdb.base/volatile.exp: Likewise.
16917
16918 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16919
16920 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16921 gdb/1265.
16922
16923 2003-06-28 Michael Chastain <mec@shout.net>
16924 Daniel Jacobowitz <drow@mvista.com>
16925
16926 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16927 initial line count of 'captured_main' from 26 to 32.
16928 (test_with_self): Allow xmalloc call to be interleaved with the
16929 preceding two lines.
16930
16931 2003-06-24 Joel Brobecker <brobecker@gnat.com>
16932
16933 * gdb.base/bang.exp: New testcase.
16934
16935 2003-06-23 Joel Brobecker <brobecker@gnat.com>
16936
16937 * gdb.base/langs.exp: Add some tests for the "minimal" language
16938 support.
16939
16940 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
16941
16942 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16943 the testcase.
16944
16945 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16946
16947 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16948 offset.
16949
16950 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16951
16952 * gdb.c++/pr-1210.cc: New file.
16953 * gdb.c++/pr-1210.exp: New file.
16954
16955 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
16956
16957 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16958 000-exec-continue.
16959
16960 2003-06-15 Mark Kettenis <kettenis@gnu.org>
16961
16962 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16963 on *-*-*bsd* instead of *-*-freebsd*.
16964
16965 2003-06-14 Andrew Cagney <cagney@redhat.com>
16966
16967 * gdb.base/store.exp: Test longest and doublest. Test all
16968 parameters. Weaken return statement match.
16969 * gdb.base/store.c: Add longest and doublest - aka long long and
16970 long double functions. Put all parameters into local register
16971 variables. Use negative values.
16972
16973 2003-06-14 Andrew Cagney <cagney@redhat.com>
16974
16975 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16976 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16977 exit status.
16978 * gdb.base/fileio.exp: Disable target when nointerrupts and
16979 noinferiorio, instead of limiting it to remote. Use remote_exec
16980 instead of system.
16981
16982 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16983
16984 * gdb.base/float.exp: Add ia64 support.
16985
16986 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
16987
16988 * gdb.base/fileio.exp: Run only on remote targets.
16989
16990 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
16991
16992 * gdb.base/fileio.c: New file, testing File-I/O.
16993 * gdb.base/fileio.exp: Ditto.
16994
16995 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16996
16997 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16998 shared objects after relocation at load time (gdb PR/1132).
16999 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
17000 as above, part of the shared object relocation test.
17001
17002 2003-06-08 Mark Kettenis <kettenis@gnu.org>
17003
17004 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
17005 fully filled history list.
17006 * gdb.base/gdb_history: New file.
17007
17008 * gdb.base/signals.exp: XFAIL "continue to func1" on
17009 i*86-*-freebsd*.
17010
17011 * gdb.base/attach.exp: When trying to attach to a nonexistent
17012 process, make it possible to specify the PID based on the target,
17013 and do so for *-*-freebsd*.
17014
17015 2003-06-02 Richard Henderson <rth@redhat.com>
17016
17017 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
17018
17019 2003-06-02 Richard Henderson <rth@redhat.com>
17020
17021 * gdb.base/selftest.exp: Next over lim_at_start initialization.
17022
17023 2003-06-02 Richard Henderson <rth@redhat.com>
17024
17025 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
17026
17027 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
17028
17029 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
17030 of globalvar.
17031
17032 2003-06-01 Mark Kettenis <kettenis@gnu.org>
17033
17034 * gdb.asm/asm-source.exp: Check for memory read errors in
17035 disassembler test on *BSD too.
17036
17037 2003-06-01 Richard Henderson <rth@redhat.com>
17038
17039 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
17040 for .frame.
17041 (gdbasm_call): Lose ldgp.
17042 (gdbasm_startup): Add frame information.
17043 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
17044
17045 2003-05-31 Mark Kettenis <kettenis@gnu.org>
17046
17047 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
17048 i?86-*-*.
17049
17050 2003-05-30 Mark Kettenis <kettenis@gnu.org>
17051
17052 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17053 FreeBSD.
17054
17055 2003-05-29 Richard Henderson <rth@redhat.com>
17056
17057 * gdb.asm/alpha.inc: New file.
17058 * gdb.asm/asm-source.exp: Use it.
17059
17060 2003-05-29 Jim Blandy <jimb@redhat.com>
17061
17062 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
17063 'core.PID'.
17064
17065 2003-05-22 Jim Blandy <jimb@redhat.com>
17066
17067 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
17068 backtrace.
17069
17070 2003-05-20 David Carlton <carlton@math.stanford.edu>
17071
17072 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
17073 this time.
17074
17075 2003-05-19 David Carlton <carlton@bactrian.org>
17076
17077 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
17078 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
17079
17080 2003-05-19 David Carlton <carlton@bactrian.org>
17081
17082 * gdb.c++/namespace.exp: Add namespace scope and anonymous
17083 namespace tests.
17084 Bump copyright date.
17085 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
17086 (main): Call C::D::marker2.
17087 * gdb.c++/namespace1.cc: New file.
17088
17089 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
17090
17091 Roland McGrath <roland@redhat.com>
17092 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
17093 there is no manager thread.
17094
17095 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
17096
17097 * gdb.threads/schedlock.exp: Remove assumption that all threads
17098 will run in a particular small time slice. Also ensure we break
17099 in one of the child threads rather than the main thread.
17100
17101 2003-05-07 Jim Blandy <jimb@redhat.com>
17102
17103 Add support for assembly source testing on the s390x.
17104 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
17105 architecture.
17106 * gdb.asm/s390x.inc: New file.
17107
17108 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
17109 succession of 'if' statements.
17110
17111 2003-05-05 Andrew Cagney <cagney@redhat.com>
17112
17113 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
17114
17115 2003-05-05 Andrew Cagney <cagney@redhat.com>
17116
17117 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
17118 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
17119
17120 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
17121
17122 * gdb.base/charset.exp: Update based on new behavior of set/show
17123 charset commands.
17124
17125 2003-05-01 Andrew Cagney <cagney@redhat.com>
17126
17127 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
17128 variable do not give memory errors.
17129
17130 2003-04-30 Adam Fedor <fedor@gnu.org>
17131
17132 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
17133 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
17134 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
17135 gdb.objc/basicclass.m: : New files
17136
17137 * lib/gdb.exp (gdb_compile_objc): New procedure.
17138
17139 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
17140
17141 * gdb.base/signals.exp: Make backtrace tests more specific.
17142
17143 2003-04-23 David Carlton <carlton@bactrian.org>
17144
17145 * gdb.c++/maint.exp (test_first_component): Add tests for
17146 'operator' in more locations.
17147
17148 2003-04-16 Kevin Buettner <kevinb@redhat.com>
17149
17150 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
17151
17152 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
17153
17154 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
17155 func marke' instead. Update test name.
17156
17157 2003-04-15 David Carlton <carlton@math.stanford.edu>
17158
17159 * gdb.c++/maint.exp: New file.
17160
17161 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
17162
17163 * gdb.threads/schedlock.c: Change type of thread function argument
17164 to long, to avoid warnings on 64-bit platforms.
17165
17166 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
17167
17168 * gdb.base/attach.exp: Add new message from ptrace in case of
17169 attaching to nonexistent process.
17170
17171 2003-04-11 Jim Blandy <jimb@redhat.com>
17172
17173 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17174 gdb.c++/userdef.cc: Place comments on the lines to which the
17175 marker function might return.
17176 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17177 gdb.c++/userdef.exp: Look for those comments to check that we've
17178 returned to the right place, instead of checking line numbers.
17179
17180 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
17181
17182 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
17183 match on sourcefile name, instead of directory name.
17184
17185 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
17186
17187 * gdb.base/completion.exp: Use string_to_regexp to match the
17188 working directory name.
17189
17190 2003-04-09 Jim Blandy <jimb@redhat.com>
17191
17192 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
17193 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
17194 after an inferior function call, report the failure, but allow the
17195 test to continue.
17196
17197 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17198
17199 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17200 with -DPROTOTYPES.
17201
17202 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
17203
17204 * gdb.base/break.exp: Revert last patch.
17205
17206 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17207
17208 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17209 with -DPROTOTYPES.
17210
17211 2003-04-02 Andrew Cagney <cagney@redhat.com>
17212
17213 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17214 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17215 matching directories by the name breakpoint.
17216 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17217 Make "continue to marker1" consistent.
17218 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17219 message consistent.
17220 * lib/gdb.exp: Put "the program is no longer running", and "the
17221 program exited" in parenthesis.
17222 * lib/mi-support.exp: Ditto.
17223
17224 2003-04-02 Bob Rossi <bob_rossi@cox.net>
17225
17226 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17227
17228 2003-03-29 Andrew Cagney <cagney@redhat.com>
17229
17230 * gdb.base/sizeof.c (main): Print the value of '\377'.
17231 * gdb.base/sizeof.exp: Check the sign of '\377'.
17232
17233 2003-03-27 Michael Chastain <mec@shout.net>
17234
17235 * gdb.base/gdb1090.exp: New file.
17236 * gdb.base/gdb1090.cc: New file.
17237
17238 2003-03-27 J. Brobecker <brobecker@gnat.com>
17239
17240 * gdb.gdb/observer.exp: New regression test.
17241
17242 2003-03-27 Michael Chastain <mec@shout.net>
17243
17244 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17245 * gdb.base/ptype.exp: Likewise.
17246
17247 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
17248
17249 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17250
17251 2003-03-26 Michael Chastain <mec@shout.net>
17252
17253 * gdb.base/ptype.exp: Actually use some typedef'd types.
17254
17255 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17256
17257 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17258 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17259
17260 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17261
17262 * gdb.base/default.exp: Fix regular expression.
17263
17264 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17265
17266 * gdb.base/args.exp: Fix regular expression.
17267
17268 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17269
17270 * gdb.base/help.exp: Allow Win32 child process.
17271
17272 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17273
17274 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17275 when stepping out of main().
17276
17277 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17278
17279 * gdb.base/default.exp: Check for win32 specific message when calling
17280 "run" without executable.
17281
17282 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17283
17284 * gdb.base/args.exp: Expect .exe in output.
17285
17286 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17287
17288 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17289 Cygwin native.
17290
17291 2003-03-17 Andrew Cagney <cagney@redhat.com>
17292
17293 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17294 vector registes.
17295 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17296 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17297
17298 2003-03-17 David Carlton <carlton@math.stanford.edu>
17299
17300 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17301 test, for PR breakpoints/38.
17302 Call test_watchpoint_and_breakpoint.
17303 * gdb.base/watchpoint.c (func3): New function.
17304 (main): Call func3.
17305
17306 2003-03-04 David Carlton <carlton@math.stanford.edu>
17307
17308 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17309 Garply<Garply<char> >:: garply".
17310 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17311 with respect to PR c++/1111; note also PR c++/1113.
17312 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17313 respect to PR c++/1062.
17314 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17315
17316 2003-03-03 David Carlton <carlton@math.stanford.edu>
17317
17318 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17319 with respect to PR c++/57.
17320 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17321 c++/826.
17322 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17323 respect to PR c++/57.
17324
17325 2003-03-03 David Carlton <carlton@math.stanford.edu>
17326
17327 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17328 respect to PR c++/33 into FAILs.
17329
17330 2003-03-03 Michael Chastain <mec@shout.net>
17331
17332 * configure.in: Update copyright years.
17333
17334 2003-03-03 Michael Chastain <mec@shout.net>
17335
17336 * Makefile.in: Update copyright years.
17337
17338 2003-02-28 David Carlton <carlton@math.stanford.edu>
17339
17340 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17341 print class instead of struct and/or superfluous protection
17342 specifiers, as long as the resulting output is equivalent to the
17343 source code.
17344 Delete FIXME from end of messages on tests that don't need
17345 fixing.
17346
17347 2003-02-28 David Carlton <carlton@math.stanford.edu>
17348
17349 * gdb.c++/templates.exp (do_tests): Allow const in the two
17350 Foo<volatile char *>::foo tests.
17351
17352 2003-02-27 Michael Snyder <msnyder@redhat.com>
17353
17354 * gdb.base/restore.c (main): Return zero, so exit code
17355 will be consistant.
17356
17357 2003-02-26 David Carlton <carlton@math.stanford.edu>
17358
17359 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17360 char *>::foo" test with respect to PR c++/33. Create a new test
17361 which is identical to that one except that it doesn't put the
17362 space between the "char" and the "*"; KFAIL it, too.
17363
17364 2003-02-26 David Carlton <carlton@math.stanford.edu>
17365
17366 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17367 template types into either PASSes or KFAILs (corresponding to PR
17368 c++/57). Tweak indentation. Update copyright.
17369
17370 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17371
17372 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17373
17374 2003-02-13 Michael Chastain <mec@shout.net>
17375
17376 * gdb.base/exprs.exp: Remove i960 remnants.
17377 * gdb.base/funcargs.exp: Likewise.
17378 * gdb.base/list.exp: Likewise.
17379 * gdb.base/ptype.exp: Likewise.
17380
17381 2003-02-14 David Carlton <carlton@math.stanford.edu>
17382
17383 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17384 pEe->D::vg()" from XFAIL to KFAIL.
17385
17386 2003-02-13 Jason Molenda (jmolenda@apple.com)
17387
17388 * gdb.base/maint.exp: Update maint print statistics regexp to include
17389 new entries.
17390
17391 2003-02-13 Michael Chastain <mec@shout.net>
17392
17393 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17394
17395 2003-02-12 Michael Chastain <mec@shout.net>
17396
17397 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17398 * gdb.c++/inherit.exp: Likewise.
17399 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17400 * gdb.c++/templates.exp: Likewise.
17401 * gdb.c++/virtfunc.exp: Likewise.
17402
17403 2003-02-06 Jason Molenda (jason-cl@molenda.com)
17404
17405 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17406 why the code is written that way.
17407
17408 2003-02-05 Michael Chastain <mec@shout.net>
17409
17410 * gdb.base/dump.exp: Add missing copyright line.
17411
17412 2003-02-05 Jason Molenda (jason-cl@molenda.com)
17413
17414 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
17415 at the beginning so the breakpoint doesn't get set on the loop.
17416
17417 2003-02-05 Michael Chastain <mec@shout.net>
17418
17419 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17420 output for configurations with gcc 2.95.3.
17421
17422 2003-02-05 Keith Seitz <keiths@redhat.com>
17423 Andrew Cagney <ac131313@redhat.com>
17424
17425 * gdb.mi/mi-cli.exp: New file.
17426
17427 2003-02-04 Michael Chastain <mec@shout.net>
17428
17429 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17430 Call perror and then continue.
17431
17432 2003-02-03 Michael Chastain <mec@shout.net>
17433
17434 * gdb.c++/pr-1023.cc: New file.
17435 * gdb.c++/pr-1023.exp: New file.
17436
17437 2003-02-05 Jim Blandy <jimb@redhat.com>
17438
17439 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17440 it's local to foobar. Check for it there, and check that it's not
17441 present in main.
17442 * gdb.c++/local.cc (marker2): New function.
17443 (foobar): Call marker1.
17444 (main): Call marker2 instead of marker1.
17445
17446 2003-02-04 Andrew Cagney <ac131313@redhat.com>
17447
17448 * gdb.disasm/mn10200.exp: Obsolete file.
17449 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17450 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17451 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17452
17453 2003-02-04 David Carlton <carlton@math.stanford.edu>
17454
17455 * gdb.c++/overload.exp: Test intToChar(1).
17456 * gdb.c++/overload.cc (intToChar): New.
17457 (main): Call intToChar.
17458
17459 2003-02-03 David Carlton <carlton@math.stanford.edu>
17460
17461 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17462 'might_kfail' arg.
17463 KFAIL some of the continue_to_bp_overloaded calls, according to
17464 PR c++/1025.
17465
17466 2003-02-01 Michael Chastain <mec@shout.net>
17467
17468 * gdb.base/advance.c (marker1): New marker function.
17469 * gdb.base/advance.exp: When the 'advance' command lands on the
17470 return breakpoint, it can legitimately stop on either the
17471 current line or the next line. Accommodate both outcomes.
17472 * gdb.base/until.exp: Likewise.
17473
17474 2003-02-02 Andrew Cagney <ac131313@redhat.com>
17475
17476 2002-11-10 Jason Molenda (jason-cl@molenda.com):
17477 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17478 now a list, not a tuple.
17479 * gdb.mi/mi-var-display.exp: Ditto.
17480 * gdb.mi/gdb792.exp: Ditto.
17481
17482 2003-02-01 Andrew Cagney <ac131313@redhat.com>
17483
17484 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
17485 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17486 stack backtraces.
17487 * gdb.mi/mi-syn-frame.c: Part of same.
17488
17489 2003-02-01 Mark Kettenis <kettenis@gnu.org>
17490
17491 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17492 gdb.mi/mi1-pthreads.exp: Return instead of calling
17493 gdb_suppress_entire_file.
17494
17495 2003-02-01 Mark Salter <msalter@redhat.com>
17496
17497 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17498
17499 2003-01-31 Mark Salter <msalter@redhat.com>
17500
17501 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17502 Support empty arg.
17503
17504 2003-01-30 Michael Chastain <mec@shout.net>
17505
17506 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17507 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17508 has been fixed in gdb/readline on 2003-01-09.
17509
17510 2003-01-29 Michael Snyder <msnyder@redhat.com>
17511
17512 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17513 * gdb.base/display.exp: Allow for leading underscore in symbol.
17514 * gdb.base/args.exp: Skip if target does not support args passing.
17515
17516 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
17517
17518 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
17519 gdb_test. Accept a list of expect arguments as the third
17520 parameter.
17521 (gdb_test): Use it.
17522
17523 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
17524
17525 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17526 allow for different test tree configurations. Update some
17527 tescases accordingly.
17528 * gdb.arch/altivec-regs.exp: Ditto.
17529 * gdb.asm/asm-source.exp: Ditto.
17530 * gdb.base/advance.exp: Ditto.
17531 * gdb.base/display.exp: Ditto.
17532 * gdb.base/long_long.exp: Ditto.
17533 * gdb.base/mips_pro.exp: Ditto.
17534 * gdb.base/overlays.exp: Ditto.
17535 * gdb.base/relocate.exp: Ditto.
17536 * gdb.base/setshow.exp: Ditto.
17537 * gdb.base/step-line.exp: Ditto.
17538 * gdb.base/step-test.exp: Ditto.
17539 * gdb.base/until.exp: Ditto.
17540 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17541
17542 2003-01-17 David Carlton <carlton@math.stanford.edu>
17543
17544 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17545 corresponding to PR c++/945.
17546 Update copyright.
17547
17548 2003-01-17 David Carlton <carlton@math.stanford.edu>
17549
17550 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17551 corresponding to PR c++/68.
17552
17553 2003-01-17 David Carlton <carlton@math.stanford.edu>
17554
17555 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17556 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17557 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17558
17559 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17560
17561 * gdb.base/break.exp: Fix change of default location, because of
17562 removal of until tests.
17563 * gdb.base/help.exp: Update test for new 'until' help message.
17564 Add test for help on 'advance'.
17565 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
17566
17567 2003-01-15 Mark Kettenis <kettenis@gnu.org>
17568
17569 * gdb.base/default.exp: Adapt "info float" test for recent changes
17570 to that command. Add test for "info vector".
17571 * gdb.base/float.exp: New file. Add test for "info float" that
17572 resembles the old test in gdb.base/default.exp.
17573
17574 2003-01-15 David Carlton <carlton@math.stanford.edu>
17575
17576 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17577
17578 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17579
17580 * gdb.base/break.exp: Move the tests of until command from here...
17581 * gdb.base/until.exp: ... to here. New file. Add other tests.
17582 * gdb.base/advance.c: New file.
17583 * gdb.base/advance.exp: New file.
17584
17585 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
17586
17587 * gdb.base/args.c: New file.
17588 * gdb.base/args.exp: New file.
17589
17590 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17591
17592 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17593
17594 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17595
17596 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17597
17598 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17599
17600 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17601 dates.
17602
17603 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17604
17605 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17606
17607 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17608
17609 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17610 (ptype &*"foo").
17611 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17612
17613 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17614
17615 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17616 * gdb.mi/mi1-console.exp: Likewise.
17617
17618 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17619
17620 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17621 * gdb.mi/mi1-console.exp: Likewise.
17622
17623 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17624
17625 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17626
17627 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17628
17629 * gdb.base/detach.exp: New test.
17630
17631 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17632
17633 * Makefile.in (ALL_SUBDIRS): New variable.
17634 (subdirs, clean, distclean): Use it.
17635 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17636 regenerating Makefile, since it is generated from the top level.
17637 * gdb.asm/Makefile.in: Likewise.
17638 * gdb.base/Makefile.in: Likewise.
17639 * gdb.c++/Makefile.in: Likewise.
17640 * gdb.disasm/Makefile.in: Likewise.
17641 * gdb.java/Makefile.in: Likewise.
17642 * gdb.mi/Makefile.in: Likewise.
17643 * gdb.threads/Makefile.in: Likewise.
17644 * gdb.trace/Makefile.in: Likewise.
17645
17646 2003-01-09 David Carlton <carlton@math.stanford.edu>
17647
17648 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17649 Add copyright year 2003.
17650
17651 2003-01-06 Michael Chastain <mec@shout.net>
17652
17653 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17654 When selecting a thread, 'line' and 'file' are optional.
17655 * gdb.mi/mi1-pthreads.exp: Likewise.
17656
17657 2003-01-06 Andreas Schwab <schwab@suse.de>
17658
17659 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17660 failures.
17661
17662 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17663
17664 Fix PR gdb/844
17665 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17666 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17667
17668 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17669 instead of calling gdb_suppress_entire_file.
17670 * gdb.threads/print-threads.exp: Likewise.
17671 * gdb.threads/schedlock.exp: Likewise.
17672
17673 * gdb.threads/killed.exp: Return instead of calling
17674 gdb_suppress_entire_file.
17675 * gdb.threads/linux-dp.exp: Likewise.
17676 * gdb.threads/pthreads.exp: Likewise.
17677
17678 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17679
17680 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17681 stabs.
17682 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17683 * gdb.base/whatis.exp: Always allow (void) after function names.
17684
17685 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17686
17687 * gdb.c++/casts.exp: Correct regexp.
17688
17689 2003-01-04 Mark Kettenis <kettenis@gnu.org>
17690
17691 * configure.in: Call AC_CONFIG_HEADER. Don't call
17692 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17693 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17694 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17695 aforementioned directories in the AC_OUPUT call.
17696 * config.hin: New file.
17697 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17698 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17699 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17700 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17701 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17702 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17703 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17704 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17705 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17706 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17707 gdb.threads/configure.in, gdb.threads/configure,
17708 gdb.threads/config.in, gdb.trace/configure.in,
17709 gdb.trace/configure: Removed.
17710
17711 2003-01-03 Michael Chastain <mec@shout.net>
17712
17713 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17714 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17715
17716 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
17717
17718 * gdb.base/store.exp: Fix regular expressions.
17719
17720 2002-12-28 Mark Kettenis <kettenis@gnu.org>
17721
17722 * configure.in: Rewrite.
17723 * configure: Regenerated.
17724
17725 2003-01-03 David Carlton <carlton@math.stanford.edu>
17726
17727 * gdb.base/psymtab.exp: New file.
17728 * gdb.base/psymtab1.c: Ditto.
17729 * gdb.base/psymtab2.c: Ditto.
17730
17731 2002-12-23 Adam Fedor <fedor@gnu.org>
17732
17733 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17734
17735 2002-12-23 David Carlton <carlton@math.stanford.edu>
17736
17737 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17738 and current_directory initialization.
17739
17740 2002-12-22 Jim Blandy <jimb@redhat.com>
17741
17742 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17743 rather than as part of the output file name.
17744
17745 * gdb.base/attach.exp: There's no need to copy the test program to
17746 /tmp; that was only ever necessary on HP/UX, and this test is
17747 entirely disabled there anyway.
17748
17749 2002-12-21 Jim Blandy <jimb@redhat.com>
17750
17751 * gdb.c++/psmang.exp: Doc fix.
17752
17753 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17754 test.
17755
17756 2002-12-20 David Carlton <carlton@math.stanford.edu>
17757
17758 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17759
17760 2002-12-18 Michael Chastain <mec@shout.net>
17761
17762 * gdb.c++/annota2.exp: Add copyright year 2002.
17763
17764 2002-12-17 David Carlton <carlton@math.stanford.edu>
17765
17766 * gdb.c++/try_catch.cc: Add marker comments.
17767 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17768 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17769 * gdb.c++/m-static.cc: Ditto.
17770 * gdb.c++/m-static1.cc: Ditto.
17771 * gdb.c++/try_catch.cc: Ditto.
17772
17773 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17774
17775 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17776 to see whether we are using the new -environment-directory
17777 command which resets via -r or the old version of the command
17778 which may prompt the user. Part of fix for gdb/741.
17779
17780 2002-12-13 Andrew Cagney <ac131313@redhat.com>
17781
17782 * gdb.fortran/types.exp: Update obsolete comment.
17783 * gdb.fortran/exprs.exp: Ditto.
17784 * lib/gdb.exp: Delete obsolete code.
17785 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17786 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17787 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17788 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17789 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17790 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17791 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17792 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17793 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17794 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17795 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17796 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17797 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17798 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17799 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17800 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17801 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17802 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17803 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17804 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17805 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17806 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17807 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17808 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17809 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17810 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17811 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17812 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17813 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17814 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17815 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17816 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17817 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17818 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17819 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17820 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17821 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17822
17823 2002-12-11 David Carlton <carlton@math.stanford.edu>
17824
17825 * gdb.c++/m-data.exp: Add test for members that shadow global
17826 variables: see PR gdb/804.
17827 * gdb.c++/m-data.cc: Ditto.
17828
17829 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
17830
17831 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17832
17833 2002-12-06 David Carlton <carlton@math.stanford.edu>
17834
17835 * gdb.base/store.c: Don't declare functions static.
17836
17837 2002-12-04 Andrew Cagney <ac131313@redhat.com>
17838
17839 * gdb.base/store.exp, gdb.base/store.c: New files.
17840
17841 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17842
17843 * gdb.base/selftest.exp: Update for current gdb.
17844
17845 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17846
17847 * gdb.base/maint.exp: Only dump symbols from one source file
17848 or objfile.
17849
17850 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17851
17852 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17853 function call.
17854
17855 2002-11-25 Jim Blandy <jimb@redhat.com>
17856
17857 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17858 function appearing in error message.
17859
17860 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
17861
17862 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17863
17864 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17865
17866 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17867 for mi1 and current mi is in correct format. New mi startup message
17868 should be in mi console format. This is part of fix for PR gdb/604.
17869
17870 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17871
17872 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17873 which explicitly prints the zero offset as "+0".
17874
17875 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
17876
17877 * gdb.threads/schedlock.c (args): Make unsigned.
17878
17879 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
17880
17881 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17882 numbers. Allow "foo2|selected stack frame".
17883 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17884 * gdb.asm/asmsrc2.s: Likewise.
17885 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17886 comments.
17887 * gdb.asm/mips.inc: New file.
17888
17889 2002-10-18 Adam Fedor <fedor@gnu.org>
17890
17891 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17892 * gdb.base/help.exp: Likewise.
17893
17894 2002-10-17 Kevin Buettner <kevinb@redhat.com>
17895
17896 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17897 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17898
17899 2002-10-02 Jim Blandy <jimb@redhat.com>
17900
17901 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17902
17903 2002-10-01 Andrew Cagney <ac131313@redhat.com>
17904
17905 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17906 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17907 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17908 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17909 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17910 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17911 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17912
17913 2002-09-29 Andrew Cagney <ac131313@redhat.com>
17914
17915 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17916 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17917 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17918 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17919 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17920 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17921 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17922
17923 2002-09-27 Kevin Buettner <kevinb@redhat.com>
17924
17925 * gdb.base/annota1.exp (info break): Make directory components of
17926 path optional since not all compilers emit this debug information.
17927
17928 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17929 step ends up stepping out of the function instead of stopping on
17930 the epilogue.
17931
17932 2002-09-26 Keith Seitz <keiths@redhat.com>
17933
17934 * lib/insight-support.exp (gdbtk_start): Figure out where
17935 the insight executable is based on where gdb is. Use this
17936 executable to start insight instead of gdb.
17937
17938 2002-09-25 Andrew Cagney <cagney@redhat.com>
17939
17940 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17941
17942 2002-09-24 Andrew Cagney <ac131313@redhat.com>
17943
17944 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17945 test_isolated_complaints.
17946 (test_empty_complaint): New function.
17947 (test_empty_complaints): New function. Check no output when no
17948 complaints.
17949
17950 2002-09-19 Jim Blandy <jimb@redhat.com>
17951
17952 * gdb.base/charset.exp, gdb.base/charset.c: New files.
17953
17954 2002-09-19 Andrew Cagney <ac131313@redhat.com>
17955
17956 * gdb.gdb/complaints.exp: New file.
17957
17958 2002-09-18 Andrew Cagney <ac131313@redhat.com>
17959
17960 * gdb.base/maint.exp: Check `help maint internal-warning'.
17961
17962 2002-09-18 David Carlton <carlton@math.stanford.edu>
17963
17964 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17965 numbers, and replace them by a single breakpoint after the
17966 constructors are all finished.
17967 Add test 4.
17968 * gdb.c++/m-static.cc: Add test 4.
17969 * gdb.c++/m-static.h: New file.
17970 * gdb.c++/m-static1.cc: New file.
17971
17972 * gdb.c++/printmethod.exp: New file.
17973 * gdb.c++/printmethod.cc: New file.
17974
17975 * gdb.c++/pr-574.exp: New file.
17976 * gdb.c++/pr-574.cc: New file.
17977
17978 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17979
17980 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17981 embedded targets which never actually exit.
17982
17983 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17984
17985 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17986 "don't step after run" as unresolved or unsupported, instead of xfail.
17987
17988 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17989
17990 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17991 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17992 Add newline to expected string in "step out of main (status wrapper)"
17993 case.
17994
17995 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17996
17997 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17998 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17999
18000 2002-09-17 Tom Tromey <tromey@redhat.com>
18001
18002 * gdb.base/printcmds.exp (test_print_string_constants): Expect
18003 \000, not \0, in double-quoted string.
18004
18005 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
18006
18007 * gdb.base/commands.exp: Don't expect a "Program exited normally"
18008 string after running the commands execution on breakpoint tests.
18009
18010 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
18011
18012 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
18013
18014 2002-09-12 Joel Brobecker <brobecker@gnat.com>
18015
18016 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
18017
18018 2002-09-10 Keith Seitz <keiths@redhat.com>
18019
18020 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
18021 runto proc.
18022 (mi_run_to_main): Use mi_runto.
18023 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
18024
18025 2002-09-10 Keith Seitz <keiths@redhat.com>
18026
18027 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
18028 regexp for stopping at main. Could have multiple event notifications.
18029 Don't assume that main was declared with no parameters.
18030 (mi_next): Use mi_step_to.
18031 (mi_step): Use mi_next_to.
18032
18033 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
18034
18035 * gdb.base/default.exp: Fix expected string in `info float' test.
18036
18037 2002-09-09 Ben Elliston <bje@redhat.com>
18038
18039 * config/mips.exp: Update comments.
18040 * config/mips-idt.exp: Likewise.
18041 * config/nind.exp: Likewise.
18042 * config/slite.exp: Likewise.
18043 * config/sparclet.exp: Likewise.
18044 * config/udi.exp: Likewise.
18045 * config/vx.exp: Likewise.
18046 * config/vxworks29k.exp: Likewise.
18047
18048 2002-09-05 Jim Blandy <jimb@redhat.com>
18049
18050 * gdb.threads/killed.exp: Fix test failure message.
18051
18052 2002-09-04 Keith Seitz <keiths@redhat.com>
18053
18054 * lib/mi-support.exp: Update copyright.
18055 (mi_gdb_test): Increase the priority of the expected pattern
18056 so that it matches gdb_test.
18057
18058 2002-09-03 Keith Seitz <keiths@redhat.com>
18059
18060 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
18061 Use integer comparison instead of string comparison for testing
18062 whether binary was built.
18063
18064 2002-09-03 Jim Blandy <jimb@redhat.com>
18065
18066 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
18067
18068 2002-08-29 Jim Blandy <jimb@redhat.com>
18069
18070 * gdb.threads/pthreads.exp: Move the portable thread compilation
18071 code into a function in lib/gdb.exp, and call that from here.
18072 * lib/gdb.exp (gdb_compile_pthreads): New function.
18073
18074 2002-08-29 Keith Seitz <keiths@redhat.com>
18075
18076 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
18077 expect_out so that callers can get at it.
18078
18079 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
18080
18081 * gdb.threads/print-threads.c: New file.
18082 * gdb.threads/print-threads.exp: New file.
18083 * gdb.threads/schedlock.c: New file.
18084 * gdb.threads/schedlock.exp: New file.
18085
18086 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
18087
18088 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
18089 not altivec.c.
18090
18091 2002-08-17 Mark Kettenis <kettenis@gnu.org>
18092
18093 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
18094 targets. The problem should be fixed now.
18095
18096 2002-08-15 Mark Kettenis <kettenis@gnu.org>
18097
18098 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
18099 2002-07-24 change that removes final dots from error messages.
18100
18101 2002-08-13 Tom Tromey <tromey@redhat.com>
18102
18103 * gdb.base/readline.exp: New file.
18104
18105 2002-08-01 Andrew Cagney <ac131313@redhat.com>
18106
18107 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
18108 supress message.
18109
18110 2002-08-01 Andrew Cagney <cagney@redhat.com>
18111
18112 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
18113 CHILL_FOR_TARGET and CHILL_LIB.
18114 * configure.in (configdirs): Remove gdb.chill.
18115 * configure: Regenerate.
18116 * lib/gdb.exp: Obsolete references to chill.
18117 * gdb.fortran/types.exp: Ditto.
18118 * gdb.fortran/exprs.exp: Ditto.
18119
18120 2002-07-30 Kevin Buettner <kevinb@redhat.com>
18121
18122 * gdb.base/shlib-call.exp (additional_flags): Conditionally
18123 set Irix-specific compile and link flags.
18124
18125 2002-07-29 Kevin Buettner <kevinb@redhat.com>
18126
18127 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
18128 source files. The ``-o'' option doesn't work with the ``-E'' option
18129 when using the Irix compiler.
18130
18131 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
18132
18133 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
18134 Improve support for reusing an exec file. Copy exec file
18135 to target, and run gdbserver on the target instead of on the host.
18136
18137 2002-07-18 Jim Blandy <jimb@redhat.com>
18138
18139 * gdb.base/ending-run.exp: Don't expect to see the program end in
18140 some orderly fashion when we're running on a real stand-alone
18141 board.
18142
18143 * gdb.base/interrupt.exp: Correct logic for skipping tests on
18144 targets that don't support interrupts.
18145
18146 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
18147
18148 * gdb.base/attach.exp: Add patterns to match output from /proc-based
18149 systems.
18150 Move comments in expect statements to inside the actions, so that they
18151 don't get matched against.
18152
18153 2002-07-10 Mark Kettenis <kettenis@gnu.org>
18154
18155 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
18156 function when asleep" test.
18157
18158 2002-07-10 Andrew Cagney <ac131313@redhat.com>
18159
18160 * gdb.base/page.exp: Rewrite to handle problems with very long
18161 `info set' output. Update copyright.
18162
18163 2002-06-26 Andrew Cagney <ac131313@redhat.com>
18164
18165 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
18166 gdb.threads-hp.
18167 * gdb.hp/configure: Regenerate.
18168 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
18169 * gdb.hp/gdb.threads-hp/configure: Delete file.
18170 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
18171
18172 2002-06-22 Andrew Cagney <ac131313@redhat.com>
18173
18174 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
18175 setlocale, bindtextdomain and textdomain.
18176
18177 2002-06-11 Jim Blandy <jimb@redhat.com>
18178
18179 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
18180 preprocessor macro information is present.
18181
18182 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
18183 tests.
18184
18185 2002-06-06 Michael Snyder <msnyder@redhat.com>
18186
18187 * gdb.base/overlays.exp: Record addresses of overlay
18188 functions in TCL variables rather than in GDB variables,
18189 to avoid having GDB convert them to pointers (with loss
18190 of information).
18191
18192 * gdb.base/d10v.ld: Merge in several years worth of
18193 default linker script changes.
18194 * gdb.base/long_long.exp: Add check for sizeof (long double).
18195
18196 2002-06-06 Michal Ludvig <mludvig@suse.cz>
18197
18198 * gdb.asm/asm-source.exp: Add x86-64 target.
18199 * gdb.asm/x86_64.inc: New.
18200
18201 2002-05-30 Michael Chastain <mec@shout.net>
18202
18203 From Benjamin Kosnik <bkoz@redhat.com>:
18204 * gdb.c++/m-static.cc: New file.
18205 * gdb.c++/m-static.exp: New file.
18206
18207 2002-05-28 Michael Snyder <msnyder@redhat.com>
18208
18209 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18210 precision.
18211
18212 2002-05-27 Michael Chastain <mec@shout.net>
18213
18214 From Benjamin Kosnik <bkoz@redhat.com>:
18215 * gdb.c++/m-data.cc: New file.
18216 * gdb.c++/m-data.exp: New file.
18217
18218 2002-05-27 Michael Chastain <mec@shout.net>
18219
18220 From Benjamin Kosnik <bkoz@redhat.com>:
18221 * gdb.c++/try_catch.cc: New file.
18222 * gdb.c++/try_catch.exp: New file.
18223
18224 2002-05-27 Michael Chastain <mec@shout.net>
18225
18226 * gdb.c++/local.exp: Accept more nested types in output.
18227
18228 2002-05-26 Michael Chastain <mec@shout.net>
18229
18230 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18231
18232 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18233
18234 * lib/gdb.exp (gdb_wrapper_init): Just because
18235 gdb_wrapper_file exists, this does not mean that the file
18236 should not be rebuilt. That is what gdb_wrapper_initialized
18237 is for.
18238 (default_gdb_init): Reset gdb_wrapper_initialized.
18239
18240 2002-05-23 Michael Snyder <msnyder@redhat.com>
18241
18242 * gdb.base/all-bin.exp: Revise previous patch by just reducing
18243 the precision of the floating point test results.
18244 * gdb.base/call-rt-st.exp: Ditto.
18245
18246 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18247 * gdb.base/call-rt-st.exp: Ditto.
18248
18249 2002-05-19 Michael Chastain <mec@shout.net>
18250
18251 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18252
18253 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
18254
18255 * configure.in (configdirs): Add gdb.arch.
18256 * configure: Regenerate.
18257
18258 2002-05-17 Jim Blandy <jimb@redhat.com>
18259
18260 * gdb.base/completion.exp: Recognize the more detailed error
18261 messages produced by the macro expander's lexical analyzer.
18262
18263 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
18264
18265 * gdb.arch/altivec-abi.c: New file.
18266 * gdb.arch/altivec-abi.exp: New file.
18267 * gdb.arch/altivec-regs.c: New file.
18268 * gdb.arch/altivec-regs.exp: New file.
18269
18270 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
18271
18272 * gdb.base/maint.exp (maint print type): Update for new type
18273 structure.
18274
18275 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
18276
18277 * gdb.arch: New directory.
18278 * gdb.arch/configure.in: New file.
18279 * gdb.arch/configure: New file.
18280 * gdb.arch/Makefile.in: New file.
18281
18282 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
18283
18284 * gdb.asm/asm-source.exp: Add v850 as supported target.
18285 * gdb.asm/v850.inc: New file.
18286
18287 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
18288
18289 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18290
18291 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
18292
18293 * gdb.base/break.exp: Check 'break "marker2"'.
18294
18295 2002-05-10 Michael Snyder <msnyder@redhat.com>
18296
18297 * gdb.base/long_long.exp: Fix typo.
18298
18299 2002-05-10 Jim Blandy <jimb@redhat.com>
18300
18301 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18302 a bug.
18303
18304 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18305 Recognize more detailed error message produced by the macro
18306 expander's lexical analyzer.
18307 * lib/gdb.exp (test_print_reject): Same.
18308
18309 2002-05-09 Mark Kettenis <kettenis@gnu.org>
18310
18311 * gdb.c++/method.exp: Fix typo.
18312
18313 2002-05-08 Michael Snyder <msnyder@redhat.com>
18314
18315 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18316 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
18317 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
18318 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18319 Add iftarget clause for strongarm.
18320
18321 2002-05-06 Michael Snyder <msnyder@redhat.com>
18322
18323 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18324 (gdb_continue_to_end): Accept output from status wrapper.
18325 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18326 Clean up fail messages to match pass messages.
18327
18328 Enable the "needs_status_wrapper" testsuite feature.
18329 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18330 (gdb_compile): Conditionally call gdb_wrapper_init.
18331 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18332 * gdb.c++/method.exp: Recognize output from status wrapper.
18333
18334 2002-05-06 Ben Elliston <bje@redhat.com>
18335 From Graydon Hoare <graydon@redhat.com>
18336
18337 * config/sid.exp: Include support for "rawsid" protocol.
18338
18339 2002-05-03 Jim Blandy <jimb@redhat.com>
18340
18341 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18342 * gdb.c++/hang3.C: New file.
18343
18344 2002-05-04 Andrew Cagney <ac131313@redhat.com>
18345
18346 * gdb.base/default.exp: Remove obsolete code.
18347 * gdb.c++/misc.exp: Ditto. Update copyright.
18348 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18349 * gdb.base/whatis.exp: Ditto. Update copyright.
18350 * gdb.base/scope.exp: Ditto. Update copyright.
18351 * gdb.base/ptype.exp: Ditto. Update copyright.
18352 * gdb.base/printcmds.exp: Ditto. Update copyright.
18353 * gdb.base/opaque.exp: Ditto. Update copyright.
18354 * gdb.base/list.exp: Ditto.
18355 * gdb.base/funcargs.exp: Ditto. Update copyright.
18356 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18357 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18358 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18359 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18360 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18361 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18362
18363 2002-05-02 Michael Snyder <msnyder@redhat.com>
18364
18365 * gdb.base/watchpoint.exp: Add xscale target.
18366 * gdb.base/long_long.exp: Add xscale target.
18367 * gdb.base/default.exp: Add xscale target.
18368
18369 2002-05-01 Jim Blandy <jimb@redhat.com>
18370
18371 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18372 gdb.c++/hang.exp: New test.
18373
18374 2002-05-01 Fred Fish <fnf@redhat.com>
18375
18376 * gdb.base/completion.exp: Handle completions of "./Make" for
18377 more than one completion possibility, as is the case when we
18378 build and test in the source tree.
18379
18380 2002-04-29 Anthony Green <green@redhat.com>
18381
18382 * gdb.java/jmisc1.exp: New file.
18383 * gdb.java/jmisc2.exp: New file.
18384
18385 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
18386
18387 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18388
18389 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
18390
18391 * gdb.base/help.exp: Change 'help status' to allow for target
18392 dependent output differences.
18393
18394 2002-04-22 Michael Chastain <mec@shout.net>
18395
18396 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18397
18398 2002-04-22 Michael Chastain <mec@shout.net>
18399
18400 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18401
18402 2002-04-17 David S. Miller <davem@redhat.com>
18403
18404 * gdb.asm/sparc64.inc: New file.
18405 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18406
18407 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
18408
18409 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18410 instruction file directly into the build tree. Clean up at end of
18411 test.
18412
18413 2002-04-18 David S. Miller <davem@redhat.com>
18414
18415 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18416 handle 64-bit platforms correctly.
18417 * gdb.base/maint.exp: Likewise.
18418
18419 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18420
18421 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18422 ``-fpic'' when compiling files comprising a shared library, but
18423 it does need additional linker flags in order to find shared
18424 libraries at run time.
18425
18426 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18427
18428 * gdb.base/cvexpr.c (use): New function.
18429 (main): Invoke use() on all global variables to prevent
18430 some linkers from deleting these otherwise unused symbols.
18431
18432 2002-04-17 Michael Chastain <mec@shout.net>
18433 From David S. Miller <davem@redhat.com>
18434
18435 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18436 handle 64-bit platforms correctly.
18437
18438 2002-04-12 Michael Snyder <msnyder@redhat.com>
18439 From Jim Blandy <jimb@redhat.com>
18440 * gdb.base/foo.c (foox): Remove section attribute; the linker
18441 script can handle this instead.
18442 * gdb.base/bar.c (barx): Same.
18443 * gdb.base/baz.c (bazx): Same.
18444 * gdb.base/grbx.c (grbxx): Same.
18445
18446 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18447 manager doesn't automatically unmap overlays unnecessarily.
18448
18449 2002-04-10 Martin M. Hunt <hunt@redhat.com>
18450
18451 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18452 stepping out of main.
18453
18454 2002-04-09 Michael Chastain <mec@shout.net>
18455
18456 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18457 scope so that the nested scope tests will make sense.
18458 * gdb.c++/local.exp: Write patterns that actually work with gcc
18459 (the HP patterns "were never known to work with gcc").
18460 Keep the old aCC patterns too.
18461
18462 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
18463
18464 * gdb.base/attach.exp: Correct target board test.
18465
18466 2002-04-08 Michael Chastain <mec@shout.net>
18467
18468 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18469 in a const method. Add some xfail and fail cases for configurations
18470 that do not emit the "const ...".
18471
18472 2002-04-07 Michael Chastain <mec@shout.net>
18473
18474 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18475 Accept "A * const" and "const A * const" as type of "this".
18476 Fix spelling of getFunky throughout. Make messages uniform.
18477
18478 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18479
18480 Work around for PR gdb/285:
18481 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18482
18483 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18484
18485 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18486 instructions file at run time instead of configure time.
18487 Sometimes we run the test in a directory that is not the one we
18488 configured in.
18489 * gdb.asm/configure.in: Delete creation of symlink.
18490 * gdb.asm/configure: Regenerate.
18491
18492 2002-04-05 J. Brobecker <brobecker@gnat.com>
18493
18494 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18495 xfullpath () function.
18496
18497 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18498
18499 * gdb.asm/Makefile.in: Correct dependencies.
18500
18501 * gdb.asm/powerpc.inc: New file.
18502 * gdb.asm/asm-source.exp: Add PowerPC.
18503 * gdb.asm/configure.in: Likewise.
18504 * gdb.asm/configure: Regenerated.
18505
18506 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18507
18508 * gdb.base/relocate.exp: New file.
18509 * gdb.base/relocate.c: New file.
18510
18511 2002-04-04 Fred Fish <fnf@redhat.com>
18512
18513 * gdb.base/step-test.exp: Update comment regarding stopping in
18514 memcpy/bcopy calls inserted as part of the compiler runtime.
18515
18516 2002-04-04 Michael Snyder <msnyder@redhat.com>
18517
18518 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18519
18520 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
18521
18522 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18523 (gdb_expect): Remove $notransfer hack.
18524
18525 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
18526
18527 * gdb.c++/classes.exp ("calling method for small class"): Match
18528 updated register output.
18529
18530 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18531
18532 Fix PR gdb/452
18533 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18534 when finished. Make gdb_file_cmd send "exec-file" when
18535 appropriate.
18536
18537 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18538
18539 * gdb.base/attach.exp: Remove extra setup_xfail.
18540
18541 2002-03-26 Michael Snyder <msnyder@redhat.com>
18542
18543 * gdb.base/default.exp: Add tests for dump, append, and restore.
18544 * gdb.base/help.exp: Add tests for dump, append, and restore.
18545 * gdb.base/dump.exp: New file, test dump, append and restore.
18546 * gdb.base/dump.c: New file.
18547
18548 2002-03-27 Michael Snyder <msnyder@redhat.com>
18549
18550 * gdb.base/help.exp: Modify expect strings to reflect
18551 clean-ups in help messages.
18552
18553 2002-03-26 Fred Fish <fnf@redhat.com>
18554
18555 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18556 have debugging info for those functions and the compiler uses them
18557 internally to copy structs around.
18558
18559 2002-03-26 Fred Fish <fnf@redhat.com>
18560
18561 * gdb.base/list.exp: Revert the change made yesterday and add note
18562 about why we don't list the default lines for remote targets.
18563
18564 2002-03-25 Michael Snyder <msnyder@redhat.com>
18565
18566 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18567
18568 2002-03-25 Fred Fish <fnf@redhat.com>
18569
18570 * gdb.base/list.exp: This test works on remote targets so remove
18571 the short circuit for remote targets. Update copyright.
18572
18573 2002-03-25 Fred Fish <fnf@redhat.com>
18574
18575 * gdb.base/attach.exp: Fix logic error that was suppressing this
18576 test for all non hppa*-*-hpux* targets, instead of the hp target.
18577 Move comments closer to the suppression point. Also now need to
18578 check that we are running natively.
18579
18580 2002-03-22 Michael Snyder <msnyder@redhat.com>
18581
18582 * gdb.base/default.exp: Add test for gcore. Update copyright.
18583 * gdb.base/help.exp: Add test for gcore. Update copyright.
18584
18585 2002-03-06 Fred Fish <fnf@redhat.com>
18586
18587 * gdb.base/funcargs.c: Remove extraneous ';' character.
18588 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18589
18590 2002-03-04 Michael Chastain <mec@shout.net>
18591
18592 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18593 accommodate gcc v3 function signature.
18594 * gdb.mi/mi0-var-cmd-exp: Ditto.
18595
18596 2002-02-24 Andrew Cagney <ac131313@redhat.com>
18597
18598 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18599 ``GNU/Linux'' or ``Linux kernel''
18600 * testsuite/gdb.threads/pthreads.c: Ditto.
18601
18602 2002-02-24 Michael Chastain <mec@shout.net>
18603
18604 * gdb.threads/pthreads.c (thread1): Add a return statement.
18605 (thread2): Likewise.
18606 (foo): Likewise.
18607
18608 2002-02-23 Michael Chastain <mec@shout.net>
18609
18610 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18611 to placate gcc.
18612
18613 2002-02-23 Michael Chastain <mec@shout.net>
18614
18615 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18616 test "ptype bint". The test passes on all my stabs configurations.
18617
18618 2002-02-21 Jim Blandy <jimb@redhat.com>
18619
18620 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18621 filename at a time, and watch for the ones we want to see.
18622
18623 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18624 types of pointers to prototyped functions.
18625
18626 2002-02-20 Andrew Cagney <ac131313@redhat.com>
18627
18628 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18629 signed, unsigned and straight char.
18630 (padding_char, padding_short, padding_int, padding_long,
18631 padding_long_long, padding_float, padding_double,
18632 padding_long_double): New global variables.
18633 (fill, fill_structs): New functions.
18634
18635 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18636 for correctly sized writes. Update copyright.
18637 (get_valueof): New procedure.
18638 (get_sizeof): Call get_valueof.
18639 (check_valueof): New procedure.
18640 (check_padding): New procedure.
18641
18642 2002-02-20 Michael Chastain <mec@shout.net>
18643
18644 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18645 to setup_xfail. Document some of the remaining calls.
18646
18647 2002-02-18 Michael Chastain <mec@shout.net>
18648
18649 * gdb.c++/userdef.exp: Update copyright year.
18650
18651 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
18652
18653 * gdb.c++/userdef.exp: Test overloaded operators properly.
18654 Remove xfails.
18655
18656 2002-02-14 Michael Snyder <msnyder@redhat.com>
18657
18658 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18659
18660 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
18661
18662 * gdb.base/a2-run.exp: Check for a remote target properly.
18663 * gdb.base/annota1.exp: Likewise.
18664 * gdb.base/list.exp: Likewise.
18665 * gdb.base/reread.exp: Likewise.
18666 * gdb.base/scope.exp: Likewise.
18667 * gdb.base/shlib-call.exp: Likewise.
18668 * gdb.base/term.exp: Likewise.
18669 * gdb.c++/annota2.exp: Likewise.
18670
18671 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
18672
18673 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18674
18675 2002-02-10 Michael Chastain <mec@shout.net>
18676
18677 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18678 (call_after_alloca): Ditto.
18679
18680 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
18681
18682 * gdb.base/ending-run.exp: Guard "cont" test with
18683 gdb_skip_stdio_test.
18684
18685 2002-02-06 Jim Blandy <jimb@redhat.com>
18686
18687 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18688 from here...
18689 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18690 To here. Disable this test on non-HP platforms. Add big comment.
18691
18692 2002-02-04 Michael Snyder <msnyder@redhat.com>
18693
18694 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18695 other than d10v and m32r.
18696
18697 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
18698
18699 * gdb.base/default.exp: Rewrite test patterns to reduce time
18700 taken to match them.
18701
18702 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18703
18704 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18705 Allow a start function above main.
18706 * gdb.threads/linux-dp.exp: Fix copyright date.
18707
18708 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18709
18710 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18711 (check_philosopher_stack): Check for manager thread before checking
18712 for a just-starting thread.
18713
18714 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18715
18716 From Neil Booth <neil@daikokuya.demon.co.uk>:
18717 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18718 warnings.
18719
18720 2002-01-21 Fred Fish <fnf@redhat.com>
18721
18722 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18723 not caller.
18724
18725 2002-01-21 Jim Blandy <jimb@redhat.com>
18726
18727 * gdb.base/reread.exp: Check that GDB properly re-reads the
18728 executable file when it changes while no inferior is running.
18729
18730 2002-01-21 Fred Fish <fnf@redhat.com>
18731
18732 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18733 optionally accept the "shlib events" variation.
18734
18735 2002-01-21 Jim Blandy <jimb@redhat.com>
18736
18737 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18738 call `fflush' after every `printf', so that the output is produced
18739 at predictable points, regardless of whatever buffering does (or
18740 doesn't) take place.
18741 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18742 at different points.
18743
18744 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18745
18746 * gdb.c++/inherit.exp: Update copyright years.
18747 * gdb.c++/method.exp: Likewise.
18748
18749 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18750
18751 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18752 artificial methods/arguments.
18753 * gdb.c++/derivation.exp: Likewise.
18754 * gdb.c++/inherit.exp: Likewise.
18755 * gdb.c++/method.exp: Likewise.
18756 * gdb.c++/virtfunc.exp: Likewise.
18757
18758 2002-01-18 Andrew Cagney <ac131313@redhat.com>
18759
18760 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18761 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18762 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18763 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18764 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18765 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18766
18767 2002-01-17 Jim Blandy <jimb@redhat.com>
18768
18769 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18770 anchoring the pattern matching the entry point symbol's name.
18771
18772 2002-01-17 Andrew Cagney <ac131313@redhat.com>
18773
18774 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18775 continue/quit query. Update copyright.
18776
18777 2002-01-14 Michael Snyder <msnyder@redhat.com>
18778
18779 * gdb.base/gcore.exp: Remove extra debugging output.
18780
18781 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18782
18783 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18784 for slightly dubious v2 mangled string.
18785
18786 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18787
18788 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18789
18790 2002-01-10 Jason Merrill <jason@redhat.com>
18791
18792 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
18793
18794 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18795 constructors.
18796 * gdb.c++/derivation.exp: Likewise.
18797 * gdb.c++/templates.exp: Likewise.
18798 * gdb.c++/virtfunc.exp: Likewise.
18799
18800 2002-01-10 Michael Snyder <msnyder@redhat.com>
18801
18802 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
18803
18804 2002-01-08 Michael Snyder <msnyder@redhat.com>
18805
18806 * gdb.base/gcore.exp: New test for generate-core-file command.
18807 * gdb.base/gcore.c: Testcase for above.
18808 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18809
18810 2002-01-08 Jason Merrill <jason@redhat.com>
18811
18812 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18813
18814 2002-01-07 Fred Fish <fnf@redhat.com>
18815
18816 * gdb.c++/overload.exp: Remove unconditional xfails for:
18817 print foo_instance1.overloadargs(1)
18818 print foo_instance1.overloadargs(1, 2)
18819 print foo_instance1.overloadargs(1, 2, 3)
18820 print foo_instance1.overloadargs(1, 2, 3, 4)
18821 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18822 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18823 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18824 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18825 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18826 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18827 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18828 print foo_instance1.overload1arg()
18829 print foo_instance1.overload1arg((char)arg2)
18830 print foo_instance1.overload1arg((signed char)arg3)
18831 print foo_instance1.overload1arg((unsigned char)arg4)
18832 print foo_instance1.overload1arg((int)arg7)
18833 print foo_instance1.overload1arg((unsigned int)arg8)
18834 print foo_instance1.overload1arg((float)arg11)
18835 print foo_instance1.overload1arg((double)arg12)
18836
18837 2002-01-07 Michael Snyder <msnyder@redhat.com>
18838
18839 * gdb.base/huge.exp: New test. Print a very large target data object.
18840 (skip_huge_test): New test variable. Define if you want to skip this
18841 test. The test reads an 8 megabyte data object from the target, so it
18842 might be very time consuming on remote targets with a slow connection.
18843 * gdb.base/huge.c: New file. Test case for above.
18844
18845 2002-01-07 Fred Fish <fnf@redhat.com>
18846
18847 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18848 g_instance.bfoo, and g_instance.cfoo.
18849
18850 2002-01-07 Jeffrey A Law <law@redhat.com>
18851
18852 * gdb.base/break.c (multi_line_if_conditional): New function.
18853 (multi_ilne_while_conditional): Likewise.
18854 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18855 IF or WHILE condition puts the breakpoint at the start of
18856 the condition.
18857
18858 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18859 hppa*-*-hpux* expected failure.
18860 * gdb.base/structs.exp (do_function_calls): Similarly.
18861
18862 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18863 watchpoints.
18864
18865 2002-01-06 Andrew Cagney <ac131313@redhat.com>
18866
18867 Fix PR gdb/66.
18868 * gdb.base/structs.exp: Replace skip for a29k with skip for
18869 gdb,cannot_call_functions.
18870 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18871 * gdb.base/callfuncs.exp: Ditto.
18872 * gdb.base/call-rt-st.exp: Ditto.
18873 * gdb.base/call-strs.exp: Ditto.
18874 * gdb.base/callfwmall.exp: Ditto.
18875 * gdb.base/scope.exp: Obsolete xfail a29k.
18876 * gdb.c++/misc.exp: Ditto.
18877 * gdb.c++/cplusfuncs.exp: Ditto.
18878 * gdb.base/ptype.exp: Ditto.
18879 * gdb.base/printcmds.exp: Ditto.
18880 * gdb.base/opaque.exp: Ditto.
18881 * gdb.base/list.exp: Ditto.
18882 * gdb.base/funcargs.exp: Ditto.
18883 * gdb.base/default.exp: Ditto.
18884
18885 2002-01-04 Michael Snyder <msnyder@redhat.com>
18886
18887 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18888 * gdb.base/maint.exp: Add tests for maint info sections options.
18889
18890 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18891
18892 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18893
18894 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
18895
18896 * gdb.asm/arm.inc: New file.
18897 * gdb.asm/asm-source.exp: Add arm targets.
18898 * gdb.asm/configure.in: Ditto.
18899 * gdb.asm/configure: Recreated from configure.in.
18900
18901 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18902
18903 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18904 with HP's compiler.
18905 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18906 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18907 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18908 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18909
18910 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18911 either HP's compilers or GCC.
18912
18913 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18914 a SIGBUS or SIGSEGV.
18915
18916 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18917
18918 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18919 can be compiled with either HP's compiler or GCC.
18920
18921 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18922 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18923 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18924
18925 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18926 to match current gdb output. Update due to using auto-solib-limit
18927 for limiting instead of overloading auto-solib-add.
18928 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18929 test program.
18930
18931 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18932 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18933 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18934 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18935 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18936 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18937 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18938 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18939 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18940 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18941 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18942 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18943 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18944
18945 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18946 a SIGTRAP to the inferior.
18947
18948 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
18949
18950 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18951 Substitute call to target_link by call to gdb_compile.
18952
18953 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18954
18955 * gdb.base/break.exp: Fix HP specific search string when testing
18956 backtracing in a called function.
18957
18958 * gdb.base/constvars.exp: Only set lang to C++ if we're
18959 compiling the test with HP's compilers.
18960 * gdb.base/volatile.exp: Similarly.
18961
18962 2001-12-19 Jim Blandy <jimb@redhat.com>
18963
18964 * gdb.base/printcmds.exp: Expect the null character to be printed
18965 as '\0', and the '\013' to be printed as '\v'.
18966 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18967 * gdb.base/setvar.exp: Same.
18968
18969 2001-12-17 Jim Blandy <jimb@redhat.com>
18970
18971 * gdb.base/completion.exp: Rather than completing very long
18972 filenames, which can make the readline library produce output we
18973 don't recognize, cd to the directory first, and then complete
18974 using nice, short relative paths.
18975
18976 * gdb.base/completion.exp: On some systems, there is, in fact, a
18977 variable named `b' in scope, since GDB treats all static
18978 variables as being in scope. So use `no_var_named_this'
18979 instead of `b'.
18980
18981 * gdb.base/corefile.exp: Recognize the message saying that GDB
18982 can't find the core file's registers as a failure.
18983
18984 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18985
18986 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18987 test expect string more specific.
18988
18989 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
18990
18991 * gdb.asm/asm-source.exp: Add support for xstormy16.
18992 * gdb.asm/configure.in: Ditto.
18993 * gdb.asm/configure: Rebuild.
18994 * gdb.asm/xstormy16.inc: New file.
18995
18996 2001-12-10 Fred Fish <fnf@redhat.com>
18997
18998 * gdb.base/maint.exp: Update to match changes in type dumping code.
18999
19000 2001-12-10 Jim Blandy <jimb@redhat.com>
19001
19002 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
19003 matching the entry point symbol's name at the beginning of the
19004 line.
19005
19006 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
19007
19008 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
19009 gdb.c++/inherit.exp, gdb.c++/method.exp,
19010 gdb.c++/namespace.exp, gdb.c++/templates.exp,
19011 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
19012 and class layout support.
19013
19014 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
19015
19016 * gdb.c++/classes.exp: Add test for static member function.
19017 * gdb.c++/misc.cc: Add class with static member function.
19018
19019 2001-12-07 Jim Blandy <jimb@redhat.com>
19020
19021 If GDB says it can't find the struct the function returned, report
19022 those tests as `unsupported'.
19023 * gdb.base/call-rt-st.exp (print_struct_call): New function.
19024 Rewrite subsequent tests to use it.
19025
19026 If GDB says it can't find the struct the function returned, report
19027 those tests as `unsupported'.
19028 * gdb.base/structs.exp (call_struct_func): New function.
19029 (do_function_calls): Use call_struct_func to call the functions
19030 returning structs.
19031
19032 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
19033 whether functions are prototyped or not, so we can't possibly pass
19034 arguments to t_float_values2 properly.
19035
19036 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
19037 value of `timeout' for targets other than the mips*tx39-*.
19038
19039 2001-12-06 Michael Snyder <msnyder@redhat.com>
19040
19041 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
19042 and detect whether the start symbol has a leading underscore.
19043
19044 2001-12-04 Jim Blandy <jimb@redhat.com>
19045
19046 * gdb.base/completion.exp: Clarify indentation.
19047
19048 2001-12-03 Jim Blandy <jimb@redhat.com>
19049
19050 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
19051 variables on the S/390, not `.word'.
19052
19053 2001-11-30 Jim Blandy <jimb@redhat.com>
19054
19055 Add assembly-source tests for s390-ibm-linux.
19056 * gdb.asm/s390.inc: New file.
19057 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
19058 the S/390 architecture.
19059 * gdb.asm/configure: Regenerated.
19060
19061 2001-11-30 Michael Snyder <msnyder@redhat.com>
19062
19063 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
19064 next, info source, info sources, info line, global and static
19065 variables, and static functions.
19066 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
19067 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
19068 * gdb.asm/asmsrc1.s: Add a static function and some variables.
19069 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
19070 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
19071 (gdbasm_leave): Restore frame pointer.
19072 (gdbasm_startup): Copy stack set-up from crt0.S.
19073
19074 2001-11-26 Fernando Nasser <fnasser@redhat.com>
19075
19076 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
19077 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
19078 to a local (non-static) variable. Copy tstruct.a to a static buffer
19079 and return a pointer to that buffer.
19080 * gdb.base/callfwmall.c (t_structs_a): Ditto.
19081
19082 2001-11-24 Mark Kettenis <kettenis@gnu.org>
19083
19084 * gdb.asm/configure.in: Fix recognition of ix86 target.
19085 * gdb.asm/configure: Regenerate.
19086
19087 2001-11-21 Michael Snyder <msnyder@redhat.com>
19088
19089 * gdb.asm/sparc.inc: New file.
19090 * gdb.asm/asm-source.exp: Recognize sparc target.
19091 * gdb.asm/configure.in: Recognize sparc target.
19092 * gdb.asm/configure: Regenerate.
19093
19094 2001-11-21 Michael Snyder <msnyder@redhat.com>
19095
19096 * gdb.asm/m32r.inc: New file.
19097 * gdb.asm/asm-source.exp: Recognize m32r target.
19098 * gdb.asm/configure.in: Recognize m32r target.
19099 * gdb.asm/configure: Regenerate.
19100
19101 2001-11-20 Michael Snyder <msnyder@redhat.com>
19102
19103 * gdb.asm/i386.inc: New file.
19104 * gdb.asm/asm-source.exp: Recognize ix86 target.
19105 * gdb.asm/configure.in: Recognize ix86 target.
19106 * gdb.asm/configure: Regenerate.
19107
19108 * gdb.c++/namespace.exp: Fix quotes in output messages.
19109
19110 2001-11-14 Michael Snyder <msnyder@redhat.com>
19111
19112 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
19113 qualifier in a type cast expression, to designate an address
19114 in the instruction space (Harvard architecture).
19115
19116 2001-11-13 Michael Snyder <msnyder@redhat.com>
19117
19118 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
19119 Tests for expressions using 'const' and 'volatile'.
19120
19121 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
19122
19123 * gdb.asm/asm-sources.exp: Allow defining linker flags.
19124
19125 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
19126
19127 * lib/mi-support.exp (mi_run_to_helper): Move comments
19128 outside of gdb_expect.
19129
19130 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
19131
19132 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
19133 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
19134 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
19135 mi0_run_to): New functions.
19136 * gdb.mi/mi-simplerun.exp: Use them.
19137 * gdb.mi/mi0-simplerun.exp: Likewise.
19138 * gdb.mi/mi-var-cmd.exp: Likewise.
19139 * gdb.mi/mi0-var-cmd.exp: Likewise.
19140
19141 2001-11-10 Andrew Cagney <ac131313@redhat.com>
19142
19143 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
19144 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
19145
19146 2001-11-09 Andrew Cagney <ac131313@redhat.com>
19147
19148 * gdb.base/restore.exp: Include $expected value in restored test
19149 message.
19150
19151 2001-11-09 Andrew Cagney <ac131313@redhat.com>
19152
19153 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
19154 implemented.
19155
19156 2001-11-08 Michael Snyder <msnyder@redhat.com>
19157
19158 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
19159 Add pass/fail message for stop at breakpoint in call dummy function.
19160
19161 2001-11-07 Michael Snyder <msnyder@redhat.com>
19162
19163 * gdb.c++/templates.exp (test_template_breakpoints):
19164 If we get an overload menu, but it does not match what
19165 we expect, we still need to issue the "cancel" command.
19166 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
19167 making the whitespace optional. Argument for "new" may be
19168 "unsigned" as well as "unsigned int/long".
19169 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
19170 making the whitespace optional. Also replace "(void) with
19171 "((void|)), making the keyword "void" optional.
19172 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
19173 making the whitespace optional. Also replace "(void) with
19174 "((void|)), making the keyword "void" optional.
19175 * gdb.base/callfuncs.c (t_float_values): This function must
19176 _not_ be prototyped, and the following function (t_float_values2)
19177 must be prototyped (if the compiler supports it), so that GDB
19178 can be tested against both cases. Usually one case involves
19179 promotion of float to double, while the other does not.
19180 * gdb.base/callfwmall.c: Ditto.
19181 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
19182 includes a stack frame for "start".
19183
19184 2001-11-05 Jim Blandy <jimb@redhat.com>
19185
19186 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
19187 pointers are 32 bits long, and that offsets of relocs are always
19188 stored in the data (REL-style), and not in the reloc entry itself
19189 (RELA-style).
19190 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
19191 stabs.
19192
19193 2001-11-01 Michael Snyder <msnyder@redhat.com>
19194
19195 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
19196 and regular expression operators by using quoting.
19197
19198 2001-10-31 Michael Snyder <msnyder@redhat.com>
19199
19200 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
19201 depending on what the symbol table contains.
19202 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
19203 the output of the ptype command. Similarly, accept both "const &"
19204 and "const&".
19205
19206 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
19207
19208 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19209 symbol `STORAGE' to allow to choose the storage class of
19210 the local datastructures.
19211 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19212 compiler directive.
19213
19214 2001-10-30 Michael Snyder <msnyder@redhat.com>
19215
19216 * gdb.base/jump.exp: Allow it to run for all targets.
19217
19218 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
19219
19220 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19221 with new double_array size.
19222 (main): Change storage class of all local variables to static.
19223 Reduce size of double_array to 9.
19224 * gdb.base/call-ar-st.exp: Increase timeout value.
19225 Change expected output for double array to match new size in
19226 call-ar-st.c.
19227
19228 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
19229
19230 * gdb.base/ending-run.exp: Create identical output when passing
19231 `step to end of run' case. Add regular expression branch satisfying
19232 Stormy16 target.
19233
19234 2001-10-28 Mark Kettenis <kettenis@gnu.org>
19235
19236 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19237 that we catch the expected failure under Linux/x86.
19238
19239 2001-10-29 Orjan Friberg <orjanf@axis.com>
19240
19241 * gdb.base/setvar.exp: Escape curly braces.
19242 * gdb.stabs/weird.exp: Ditto.
19243
19244 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
19245
19246 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19247 * gdm.mi/mi0-hack-cli.exp: Likewise.
19248
19249 2001-10-25 Andrew Cagney <ac131313@redhat.com>
19250
19251 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19252 messages.
19253
19254 2001-10-21 Andrew Cagney <ac131313@redhat.com>
19255
19256 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19257 checking MI enabled.
19258
19259 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
19260
19261 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19262
19263 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
19264
19265 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19266 if gdb child process crashes, just signal an error.
19267
19268 2001-10-02 Jim Blandy <jimb@redhat.com>
19269
19270 * lib/gdb.exp (test_xfail_format): Simplify.
19271
19272 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19273 front of the variable name `format'. Simplify `if'.
19274
19275 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
19276
19277 * gdb.threads/pthreads.exp: Wait for output and delay
19278 before sending ^C.
19279
19280 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
19281
19282 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19283 some incorrect output instead of timing out.
19284 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19285
19286 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
19287
19288 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19289 check to allow additional `int'.
19290
19291 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
19292
19293 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19294 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19295
19296 2001-09-27 Michael Snyder <msnyder@redhat.com>
19297
19298 * lib/gdb.exp (test_debug_format): New proc.
19299 (setup_xfail_format): Use new proc test_debug_format.
19300 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19301 proc; use new service proc test_debug_format.
19302 Replace all other "gcc_compiled" tests with this test.
19303 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19304 proc; use new service proc test_debug_format.
19305 Replace all other "gcc_compiled" tests with this test.
19306
19307 2001-09-27 Michael Snyder <msnyder@redhat.com>
19308
19309 * gdb.base/cvexpr.exp: New file.
19310 * gdb.base/cvexpr.c: New file
19311 Test for expressions using const and volatile keywords.
19312
19313 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
19314
19315 * gdb.base/constvars.exp: Check for different orders of keywords
19316 and additional "int" strings in output.
19317
19318 2001-09-22 Andrew Cagney <ac131313@redhat.com>
19319
19320 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19321 responses from "help maint".
19322
19323 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
19324
19325 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19326 to localhost:NNN instead of :NNN, in case Xvfb is listening
19327 only on TCP.
19328
19329 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
19330
19331 * gdb.base/recurse.exp: When checking leaving the watchpoint
19332 scope, recognize when gdb is in function's epilogue and pass.
19333
19334 2001-09-18 Keith Seitz <keiths@redhat.com>
19335
19336 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19337 support for running tests against sid targets.
19338 (gdbtk_done): Ditto.
19339
19340 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
19341
19342 * gdb.base/ending-run.c (main): Set stdout buffersize
19343 to the same reasonable value for any target.
19344 * gdb.base/ending-run.exp: Add a regular expression
19345 to make testsuite happy on Sanyo Stormy16 target.
19346
19347 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
19348
19349 * gdb.base/display.c (do_loops): Add float variable `f'.
19350 Increment f in loop.
19351 * gdb.base/display.exp: Increment timeout by 60 seconds.
19352 Change float display test to use variable `f'.
19353
19354 2001-09-17 Jim Blandy <jimb@redhat.com>
19355
19356 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19357 overflowing the limited breakpoint tables on some ROM monitors
19358 (like the ROM68K).
19359
19360 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
19361
19362 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19363 the "-ac" (disable access control) flag.
19364
19365 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
19366
19367 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19368 ints.
19369
19370 2001-08-30 Keith Seitz <keiths@redhat.com>
19371
19372 * lib/gdb.exp: Move all insight-related functionality into
19373 separate file.
19374 * lib/insight-support.exp: New file.
19375
19376 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
19377
19378 * config/sid.exp (sid_start): Never set sid verbosity; disable
19379 expect_background {} that consumed its stdout; tolerate </dev/null.
19380 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19381
19382 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19383
19384 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19385 CLI jump command to start it.
19386 (mi_run_to_main): Fail immediatly when unexpected output.
19387
19388 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19389
19390 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19391 beginning of function. Fix PR gdb/191.
19392
19393 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
19394
19395 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19396 what to force sid endianness to.
19397
19398 2001-08-15 Keith Seitz <keiths@redhat.com>
19399
19400 * lib/gdb.exp (gdbtk_start): Don't set environment
19401 variables for TCL_LIBRARY and friends. Insight will
19402 now figure these out for itself.
19403
19404 2001-08-02 Michael Snyder <msnyder@redhat.com>
19405
19406 * gdb.base/completion.exp: Remove the symbol "a64l" from
19407 the expect string; this is target-specific, and not related
19408 to what is being tested.
19409
19410 2001-08-02 Dave Brolley <brolley@redhat.com>
19411
19412 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19413
19414 2001-07-25 Michael Snyder <msnyder@redhat.com>
19415
19416 * gdb.base/consecutive.exp: New file. Test stepping over
19417 breakpoints on consecutive instructions.
19418 * gdb.base/consecutive.c: New file.
19419
19420 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19421 curly braces in regular expressions.
19422
19423 2001-07-25 Michael Snyder <msnyder@redhat.com>
19424
19425 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19426 legitimate output from stepping out of main.
19427
19428 2001-07-22 Keith Seitz <keiths@redhat.com>
19429
19430 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19431 the empty string, do not run the tests.
19432
19433 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19434
19435 * gdb.base/long_long.exp: Detect size of pointer. Take into
19436 account 2-byte pointers when testing for p/a results.
19437
19438 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19439
19440 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
19441 and defined to 1K for m68hc11.
19442 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19443 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19444 (sizeof_random_data): New variable to tell the size of the data table;
19445 don't test past this size; always run to main.
19446
19447 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19448
19449 * gdb.base/return2.exp: return of long long and double fails for
19450 68HC11; don't execute these tests on that platform.
19451 * gdb.base/return.exp: Return of a double fails for 68hc11.
19452
19453 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19454
19455 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19456 tests that print a float.
19457 * call-rt-st.exp: Likewise.
19458
19459 2001-07-12 Mark Kettenis <kettenis@gnu.org>
19460
19461 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19462 running this test on Linux.
19463
19464 2001-06-24 Michael Chastain <chastain@redhat.com>
19465
19466 * gdb.base/arithmet.exp: Remove some tests to make all test names
19467 unique.
19468
19469 2001-07-03 Michael Snyder <msnyder@redhat.com>
19470
19471 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19472 the output of the ptype command.
19473
19474 2001-07-02 Michael Snyder <msnyder@redhat.com>
19475
19476 * gdb.base/completion.exp: Don't assume that break.c is the only
19477 source file that may contain functions named "marker".
19478 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19479
19480 2001-06-28 Andrew Cagney <ac131313@redhat.com>
19481
19482 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19483 of files to delete.
19484
19485 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19486 * gdb.disasm/h8300s.exp: New file.
19487 gdb.disasm/h8300s.s: Likewise.
19488
19489 2001-06-27 Andrew Cagney <ac131313@redhat.com>
19490
19491 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19492 empty breakpoint tables.
19493
19494 2001-06-25 Andrew Cagney <ac131313@redhat.com>
19495
19496 * lib/mi-support.exp: Update args=... part of stop-reason
19497 patterns. Accept either a list or a tuple.
19498
19499 2001-06-23 Andrew Cagney <ac131313@redhat.com>
19500
19501 * lib/mi-support.exp: Remove local emacs variable defining
19502 change-log-default-name.
19503
19504 2001-06-22 Michael Chastain <chastain@redhat.com>
19505
19506 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19507 This is operationally compatible with the previous version.
19508
19509 2001-06-13 Jim Blandy <jimb@redhat.com>
19510
19511 * lib/gdb.exp (gdb_test): Doc fix.
19512
19513 2001-06-10 Michael Chastain <chastain@redhat.com>
19514
19515 * gdb.base/exprs.exp: Remove a duplicate test.
19516
19517 2001-06-06 Jim Blandy <jimb@redhat.com>
19518
19519 * gdb.base/return2.exp (main): Use values to test float and double
19520 returns that are not NaN's, to avoid being confused by IEEE
19521 comparison rules.
19522
19523 2001-06-04 Michael Snyder <msnyder@redhat.com>
19524
19525 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
19526 non-zero if control_c fails. Terminate the test on failure,
19527 rather than wait for 12 more tests to time out.
19528
19529 2001-06-06 Jim Blandy <jimb@redhat.com>
19530
19531 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
19532 Don't forget to match the GDB prompt.
19533
19534 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19535
19536 2001-06-04 Jim Blandy <jimb@redhat.com>
19537
19538 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19539 command.
19540
19541 2001-05-31 Kevin Buettner <kevinb@redhat.com>
19542
19543 * gdb.base/annota1.exp (info break): Match four or more spaces
19544 after "Address".
19545
19546 2001-05-31 Michael Chastain <chastain@redhat.com>
19547
19548 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19549 (dm_type_int_star): Likewise.
19550 (dm_type_long_star): Likewise.
19551 (dm_type_void_star): Likewise.
19552
19553 2001-05-29 Kevin Buettner <kevinb@redhat.com>
19554
19555 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19556 to a known value in order to get consistent results regardless
19557 of the setting of INPUTRC or the presence or contents of .inputrc.
19558
19559 2001-05-24 Michael Snyder <msnyder@redhat.com>
19560
19561 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19562 Don't require that the main thread and the manager thread are the
19563 first in the list.
19564
19565 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19566 debugging. If test fails, issue an "unsupported" not a "fail".
19567
19568 2001-05-24 Jim Blandy <jimb@redhat.com>
19569
19570 Don't assume that short is shorter than int.
19571 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19572 assume that shorts are smaller than ints. On a 16-bit machine,
19573 this isn't true.
19574 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19575 an int, is not equal to ~0 stored in an unsigned char. This tests
19576 the same thing that the previous test meant to, but works on
19577 16-bit machines, too.
19578 ("print unsigned char != (~0)"): Same test, complemented.
19579
19580 2001-05-24 Michael Snyder <msnyder@redhat.com>
19581
19582 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
19583 test for (full_coverage == 0). This makes the test run faster,
19584 and prevents dejagnu getting out of step.
19585
19586 2001-05-23 Kevin Buettner <kevinb@redhat.com>
19587
19588 * gdb.base/finish.exp (finish_void): Revise pattern for
19589 stopping on the call statement to not permit stopping at
19590 the start of the instructions comprising the call sequence.
19591
19592 2001-05-19 Michael Chastain <chastain@redhat.com>
19593
19594 * gdb.base/callfuncs.exp: Make all test names unique.
19595 * gdb.base/commands.exp: Make all test names unique.
19596 * gdb.base/condbreak.exp: Make all test names unique.
19597 * gdb.base/dbx.exp: Make all test names unique.
19598 * gdb.base/default.exp: Make all test names unique.
19599 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19600 and TIMEOUT messages to their corresponding PASS message.
19601 * gdb.base/ending-run.exp: Make all test names unique.
19602 * gdb.base/long_long.exp: Remove duplicate test.
19603
19604 2001-05-21 Kevin Buettner <kevinb@redhat.com>
19605
19606 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19607 stop on the call statement as well as the statement after the
19608 call.
19609
19610 2001-05-21 Michael Snyder <msnyder@redhat.com>
19611
19612 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19613
19614 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19615
19616 * gdb.base/completion.exp: Revamp test. Make it execute on all
19617 platforms.
19618
19619 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19620
19621 * config/gdbserver.exp (gdb_load): Handle the case
19622 in which the arguments to gdbserver are given in the
19623 baseboard configuration file.
19624 Also handle the case in which the server needs to do a
19625 load.
19626
19627 2001-05-07 Keith Seitz <keiths@cygnus.com>
19628
19629 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19630 set up the display for testing.
19631 (gdbtk_start): Convert all paths to paths that tcl will like.
19632 Export target information to environment.
19633 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19634 necessary.
19635 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19636 (to_tcl_path): New proc to convert a given pathname into
19637 a path acceptible as an argument to a tcl command.
19638 (_gdbtk_export_target_info): New proc to export target info
19639 into the environment for gdbtk testing.
19640 (gdbtk_done): New proc to signal end-of-test.
19641
19642 2001-05-06 Jim Blandy <jimb@redhat.com>
19643
19644 * restore.c: Make the code of caller0 correspond to its comment.
19645
19646 2001-05-03 Michael Snyder <msnyder@redhat.com>
19647
19648 * config/sid.exp (gdb_target_sid): Check for error messages.
19649 On error or timeout, don't make expect exit (which will terminate
19650 all subsequent tests); instead just make gdb exit.
19651 (gdb_load): Check for error messages. On error or timeout,
19652 return a negative value.
19653
19654 2001-04-24 Jim Blandy <jimb@redhat.com>
19655
19656 * gdb.c++/templates.exp: If we see the prompt for the overload
19657 list, but we haven't recognized any of the longer patterns,
19658 arrange for this test to fail, not hang.
19659
19660 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19661 variations.
19662
19663 2001-04-22 Michael Chastain <chastain@redhat.com>
19664
19665 * gdb.c++/local.exp: Use the 'runto' library function.
19666 * gdb.c++/namespace.exp: Likewise.
19667 * gdb.c++/overload.exp: Likewise.
19668
19669 2001-03-26 Kevin Buettner <kevinb@redhat.com>
19670
19671 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19672 * gdb.base/step-line.exp: New file. Test step/next in presence of
19673 #line directives.
19674 * gdb.base/step-line.c: New file. Test program for the above.
19675 * gdb.base/step-line.inp: New file. We pretend that this file has
19676 been transformed by some other tool into step-line.c.
19677
19678 2001-03-21 Jim Blandy <jimb@redhat.com>
19679
19680 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19681 unmangled operator names.
19682
19683 2001-03-20 Jim Blandy <jimb@redhat.com>
19684
19685 * gdb.threads/linux-dp.exp: Recognize an additional message
19686 generated by GDB when it doesn't understand how to debug threads
19687 on the target system.
19688
19689 2001-03-19 Andrew Cagney <ac131313@redhat.com>
19690
19691 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19692
19693 2001-03-12 Michael Chastain <chastain@redhat.com>
19694
19695 * gdb.c++/derivation.exp: Use the 'runto' library function.
19696
19697 2001-03-12 Michael Chastain <chastain@redhat.com>
19698
19699 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19700
19701 2001-02-24 Michael Chastain <chastain@redhat.com>
19702
19703 * gdb.c++/ref-types.exp: Change handwritten code to library
19704 function 'runto'.
19705
19706 2001-03-16 Orjan Friberg <orjanf@axis.com>
19707
19708 * gdb.base/signals.exp: Set count to 0 explicitly.
19709
19710 2001-03-15 Mark Salter <msalter@redhat.com>
19711
19712 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19713 (gdb_target_monitor): Add check of gdb_target_cmd return value.
19714 (gdb_load): Add support for additional target_info: gdb_download_size
19715 and gdb_load_timeout.
19716
19717 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19718
19719 * gdb.base/annota1.exp: Move test of isnative to earlier in the
19720 file -- to prevent failing when the compile fails but we have no
19721 intention of running the tests anyway.
19722
19723 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19724 tests if set.
19725
19726 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
19727 integers.
19728
19729 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19730 * gdb.c++/namespace.exp: Ditto.
19731
19732 2001-03-07 Orjan Friberg <orjanf@axis.com>
19733
19734 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19735 * gdb.base/pointers.exp: Relax pattern match of decimals.
19736
19737 2001-03-06 Kevin Buettner <kevinb@redhat.com>
19738
19739 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19740 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19741 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19742 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19743 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19744 config/sh.exp, config/sid.exp, config/slite.exp,
19745 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19746 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19747 config/vxworks.exp, config/vxworks29k.exp,
19748 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19749 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19750 gdb.base/arithmet.exp, gdb.base/assign.exp,
19751 gdb.base/async.exp, gdb.base/attach.exp,
19752 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19753 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19754 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19755 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19756 gdb.base/commands.exp, gdb.base/completion.exp,
19757 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19758 gdb.base/constvars.exp, gdb.base/corefile.exp,
19759 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19760 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19761 gdb.base/ending-run.exp, gdb.base/environ.exp,
19762 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19763 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19764 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19765 gdb.base/funcargs.exp, gdb.base/help.exp,
19766 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19767 gdb.base/logical.exp, gdb.base/long_long.exp,
19768 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19769 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19770 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19771 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19772 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19773 gdb.base/regs.exp, gdb.base/relational.exp,
19774 gdb.base/remote.exp, gdb.base/reread.exp,
19775 gdb.base/restore.exp, gdb.base/return2.exp,
19776 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19777 gdb.base/selftest.exp, gdb.base/setshow.exp,
19778 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19779 gdb.base/sigall.exp, gdb.base/signals.exp,
19780 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19781 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19782 gdb.base/step-test.exp, gdb.base/structs.c,
19783 gdb.base/structs.exp, gdb.base/structs2.exp,
19784 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19785 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19786 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19787 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19788 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19789 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19790 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19791 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19792 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19793 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19794 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19795 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19796 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19797 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19798 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19799 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19800 gdb.trace/circ.exp, gdb.trace/collection.exp,
19801 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19802 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19803 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19804 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19805 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19806 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19807 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19808 notices.
19809
19810 2001-02-27 Michael Snyder <msnyder@cygnus.com>
19811
19812 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19813 first arg is int not float.
19814
19815 2001-02-22 Michael Snyder <msnyder@cygnus.com>
19816
19817 * gdb.base/reread.exp: Unsupported for non-native targets;
19818 doesn't work for remote debugging.
19819
19820 2001-02-19 Fernando Nasser <fnasser@redhat.com>
19821
19822 From Drew Moseley <dmoseley@redhat.com>
19823 * gdb.base/ending-run.exp: Properly handle the BSP state when
19824 stepping past the end of main.
19825
19826 2001-02-19 John Moore <jmoore@redhat.com>
19827
19828 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19829 Converted HPUX fix for non-expected items following multiple
19830 step commands into general solution for all platforms.
19831
19832 2001-02-18 Michael Chastain <chastain@redhat.com>
19833
19834 * gdb.c++/classes.exp (do_tests): Change runto statements
19835 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19836 statements demangler agnostic.
19837 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19838 (gdb_virtfunc_restart): Likewise.
19839
19840 2001-02-14 Michael Chastain <chastain@redhat.com>
19841
19842 * gdb.c++/inherit.exp (do_tests): Change runto statements
19843 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19844 statements demangler agnostic.
19845
19846 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19847
19848 * gdb.threads/pthreads.exp: Unify pass/fail messages for
19849 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19850 before calling common_routine 15 times'' tests.
19851
19852 2001-02-11 Michael Chastain <chastain@redhat.com>
19853
19854 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19855 Helps the test script figure out which demangler is in use.
19856 (dm_type_foo_ref): Ditto.
19857 (dm_type_int_star): Ditto.
19858 (dm_type_long_star): Ditto.
19859 (dm_type_unsigned_int): Ditto.
19860 (dm_type_void): Ditto.
19861 (dm_type_void_star): Ditto.
19862 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19863 Probe the gdb demangler and set variables to accommodate
19864 formatting differences.
19865 (info_func_regexp): New function. Same as info_func, but
19866 matches against a regexp.
19867 (info_func): Match against a literal string.
19868 (print_addr_2): New function. Match against a literal string,
19869 which can be different from the input to gdb.
19870 (print_addr): Simply call print_addr_2 with the same argument twice.
19871 (test_lookup_operator_functions): Use demangler formatting variables.
19872 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19873 the tests in the same order as the C++ class declaration.
19874 (test_paddr_operator_functions): Ditto.
19875 (test_paddr_overloaded_functions): Ditto.
19876 (test_paddr_hairy_functions): Use demangler formatting variables.
19877 Add reference to gdb/19 for related tests.
19878 (do_tests): Call probe_demangler.
19879
19880 2001-01-30 Kevin Buettner <kevinb@redhat.com>
19881
19882 * gdb.c++/templates.cc (printf): Remove unused function definition.
19883
19884 2001-01-26 Felix Lee <flee@redhat.com>
19885
19886 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19887
19888 2001-01-25 matthew green <mrg@redhat.com>
19889
19890 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19891 up sid.
19892 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19893
19894 2001-01-25 matthew green <mrg@redhat.com>
19895
19896 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19897 Deprecate $sid_spawn_id.
19898 (sid_exit): Remove code necessary only for `spawn.'
19899
19900 2001-01-25 matthew green <mrg@redhat.com>
19901
19902 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19903
19904 2001-01-28 Michael Chastain <chastain@redhat.com>
19905
19906 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19907 to call when tests fail. It takes gdb out of the overloaded
19908 function choice menu back to the main prompt, so that the test
19909 program stays synchronized.
19910 (set_bp_overloaded): New proc to collect all the common
19911 code for setting a breakpoint on an overloaded name. Calls
19912 take_gdb_out_of_choice_menu when needed.
19913 (menu_overload1arg): New variable to collect the repeated
19914 instances of the expected menu for an overloaded name. Change
19915 the regular expression to handle changes in g++ type encoding:
19916 "void" can be either "void" or "", and "unsigned int" can be
19917 either "unsigned int" or "unsigned".
19918 (continue_to_bp_overloaded): Change regular expressions to handle
19919 changes in g++ type encoding.
19920 (no proc): Call take_gdb_out_of_choice_menu when needed.
19921 Remove redundant calls to "info break". Accept either "canceled"
19922 or "cancelled". Change regular expressions in "info break"
19923 calls to handle changes in g++ type encoding. Give all tests
19924 unique strings.
19925
19926 2001-01-17 Ben Elliston <bje@redhat.com>
19927
19928 * config/sid.exp: New file.
19929
19930 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19931
19932 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19933
19934 2000-12-21 Michael Snyder <msnyder@cygnus.com>
19935
19936 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19937 Add a RE to accept a non-ascii char if one is ever presented.
19938
19939 2000-12-20 Fernando Nasser <fnasser@redhat.com>
19940
19941 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19942
19943 2000-12-18 Michael Snyder <msnyder@cygnus.com>
19944
19945 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19946 in regexp. One '\' does not suffice on Linux.
19947
19948 2000-12-09 Michael Chastain <chastain@redhat.com>
19949
19950 * gdb.base/break.exp (test_clear_command): Use a marker function
19951 rather than 'main' for the test function. Also move this
19952 test to an execution point where the marker function names are
19953 guaranteed to be bound to functions. (Executing tests after a
19954 'finish' from main runs into name conflicts with local names
19955 in __libc_start_main).
19956
19957 2000-12-07 Michael Snyder <msnyder@cygnus.com>
19958
19959 * gdb.base/finish.exp: New test for gdb's "finish" command.
19960 * gdb.base/return2.exp: New test for gdb's "return" command.
19961 * gdb.base/return2.c: New source file for above.
19962
19963 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19964
19965 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19966 * gdb.base/miscexprs.exp: Ditto.
19967 * gdb.base/pointers.exp: Ditto.
19968 * gdb.c++/derivation.exp: Ditto.
19969 * gdb.c++/local.exp: Ditto.
19970 * gdb.c++/namespace.exp: Ditto.
19971 * gdb.c++/overload.exp: Ditto.
19972 * gdb.c++/ref-types.exp: Ditto.
19973
19974 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19975
19976 * gdb.base/constvars.exp: Test result of "up" command.
19977 * gdb.base/miscexprs.exp: Ditto.
19978 * gdb.base/pointers.exp: Ditto.
19979 * gdb.base/scope.exp: Ditto.
19980 * gdb.c++/derivation.exp: Ditto.
19981 * gdb.c++/local.exp: Ditto.
19982 * gdb.c++/namespace.exp: Ditto.
19983 * gdb.c++/overload.exp: Ditto.
19984 * gdb.c++/ref-types.exp: Ditto.
19985
19986 2000-11-22 Michael Chastain <chastain@redhat.com>
19987
19988 * mips_pro.exp: Accept either "middle -> top -> main" or
19989 "middle -> main" in the backtrace, because gcc can optimize
19990 tail calls to jumps. Remove setup_xfail for the hppa case.
19991 Add a comment with the original warning messages from PR 3016,
19992 which was filed in 1993, to preserve them for posterity.
19993
19994 2000-11-17 Nick Duffek <nsd@redhat.com>
19995
19996 * lib/gdb.exp (gdb_test): Override timeout with board info.
19997
19998 2000-11-17 Nick Duffek <nsd@redhat.com>
19999
20000 * gdb.base/display.exp: Don't kill running stub. Add "again" to
20001 the second kill and detach messages.
20002
20003 2000-11-17 Nick Duffek <nsd@redhat.com>
20004
20005 * configure.in: Add AC_EXEEXT.
20006 * configure: Regenerate.
20007 * Makefile.in (just-check): Export EXEEXT.
20008 * lib/gdb.exp ($EXEEXT): Import from environment.
20009 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
20010 expect "maint dump-me" on Cygwin.
20011 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
20012 $EXEEXT.
20013
20014 2000-11-17 Nick Duffek <nsd@redhat.com>
20015
20016 * gdb.base/break.exp: Test backtrace and finish from called
20017 function on all platforms, not just HP-UX.
20018
20019 2000-11-03 Michael Snyder <msnyder@cygnus.com>
20020
20021 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
20022 code from gdb_target_monitor, so it can be used independantly
20023 for gdbserver. Also comment out an unnecessary PUTS.
20024
20025 2000-11-03 Michael Snyder <msnyder@cygnus.com>
20026
20027 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
20028 * gdb.base/corefile.exp: Expect the message "Program is being
20029 debugged already" when we send the "corefile" command, since
20030 the preceeding gdb_load may have connected gdb to a remote target.
20031 * gdb.base/display.exp: Disable hardware watchpoints if new
20032 board info variable "no_hardware_watchpoints" is true.
20033 Replace single-letter commands with more readable ones.
20034 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
20035 if new board info variable "no_hardware_watchpoints" is true.
20036 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
20037 to see if stdio (printf) testing is possible.
20038 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
20039 board info variable "no_hardware_watchpoints" is true. Use new
20040 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
20041
20042 2000-11-13 Fernando Nasser <fnasser@redhat.com>
20043
20044 From Orjan Friberg <orjanf@axis.com>:
20045 * gdb.base/printcmds.exp: Escape curly braces followed by a number
20046 in array print pattern match.
20047
20048 2000-11-09 Fernando Nasser <fnasser@redhat.com>
20049
20050 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
20051 spelling "cancelled" to U.S. spelling "canceled" to match changes
20052 made to gdb.
20053 * gdb.c++/ovldbreak.exp: Ditto.
20054
20055 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20056
20057 * gdb.base/callfuncs.c (main): Moved to end of file, call
20058 t_double_values to initialize the FPU before inferior calls are made.
20059 * gdb.base/callfuncs.exp: Test for register preservation after calling
20060 inferior functions. Add tests for continuining, finishing and
20061 returning from a stop in a call dummy.
20062
20063 2000-10-24 Michael Snyder <msnyder@cygnus.com>
20064
20065 * gdb.base/commands.exp: Break up long lines, and re-indent.
20066
20067 2000-10-19 Michael Snyder <msnyder@cygnus.com>
20068
20069 * config/gdbserver.exp: Rewritten from the ground up, to make it
20070 compatible with the current dejagnu tree, and to make it work with
20071 the new "gdbserver" in libremote.
20072
20073 2000-10-16 Michael Snyder <msnyder@cygnus.com>
20074
20075 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
20076 * gdb.base/varargs.exp: Skip entire test if no printf support.
20077 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
20078 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
20079
20080 2000-10-13 Michael Snyder <msnyder@cygnus.com>
20081
20082 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
20083 no floating point support.
20084 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
20085 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
20086 * gdb.base/call-rt-st.exp: Ditto.
20087 * gdb.base/call-strs.exp: Ditto.
20088
20089 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
20090
20091 * gdb.base/sizeof.c: include <stdio.h>.
20092
20093 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
20094 'finish', otherwise uncaptured gdb_prompt would potentially
20095 throw remaining test points out of sync.
20096
20097 2000-07-26 Scott Bambrough <scottb@netwinder.org>
20098
20099 * gdb.base/recurse.exp: Run tests for all targets.
20100 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
20101 gnu-oldld case on ARM.
20102 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
20103 for ARM targets.
20104
20105 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
20106
20107 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
20108 * gdb.java/configure: Rebuild.
20109
20110 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
20111
20112 * gdb.java/jv-exp.exp: New file.
20113
20114 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
20115
20116 * configure: Rebuilt.
20117 * configure.in (configdirs): Add gdb.java.
20118 * gdb.java/jmisc.java: New file.
20119 * gdb.java/jmisc.exp: New file.
20120 * gdb.java/Makefile.in: New file.
20121 * gdb.java/configure: Rebuilt.
20122 * gdb.java/configure.in: New file.
20123 * lib/java.exp: New file.
20124
20125 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
20126
20127 * gdb.base/exprs.exp: Test casts to a pointer including over and
20128 underflow.
20129
20130 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
20131
20132 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
20133 and the compilers sizes.
20134
20135 2000-07-09 Nick Duffek <nsd@redhat.com>
20136
20137 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
20138 (use_methods): New function.
20139 (main): Call use_methods().
20140 * gdb.c++/classes.exp (test_method_param_class): New procedure.
20141 (do_tests): Call test_method_param_class.
20142
20143 2000-07-09 Nick Duffek <nsd@redhat.com>
20144
20145 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
20146 spelling.
20147 (test_enums): New procedure. Move enum tests from end of script
20148 to here. Set breakpoint on function name instead of line number.
20149 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
20150 (enums2): New marker function.
20151 (enums1): New function.
20152 (main): Call enums1(). Move enum tests to enums1().
20153
20154 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
20155
20156 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
20157 compile/link program. Update line numbers.
20158 * gdb.asm/d10v.inc: Define ``startup''.
20159 * gdb.asm/asmsrc1.s: Add definition of _start.
20160
20161 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
20162
20163 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
20164
20165 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20166
20167 * gdb.base/maint.exp: Add 'maint print architecture' item to output
20168 of 'help maint print' command.
20169
20170 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
20171
20172 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
20173 they use gdb_expect_list.
20174
20175 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
20176
20177 * gdb.base/commands.exp: Use ``set remote
20178 memory-read-packet-size'' instead of ``set endian big'' to test
20179 long commands.
20180
20181 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
20182
20183 * gdb.c++/templates.exp (do_tests): Make all of these work under
20184 g++, and stop skipping them.
20185
20186 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
20187 work under g++.
20188
20189 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
20190 initialization.
20191
20192 2000-06-02 Michael Snyder <msnyder@cygnus.com>
20193
20194 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
20195 the regular expression: accept an (almost) arbitrary sequence of
20196 "frames-invalid" and "breakpoints-invalid" messages both before
20197 and after the "starting" message.
20198
20199 2000-06-02 Michael Snyder <msnyder@cygnus.com>
20200
20201 * gdb.c++/local.exp: This test has never been known to work with g++.
20202
20203 2000-05-18 Michael Snyder <msnyder@cygnus.com>
20204
20205 * gdb.base/annota1.exp (annotate-signal-handler-caller):
20206 Relax the regular expression a little, make it pass on Solaris 8.
20207
20208 2000-05-12 Kevin Buettner <kevinb@redhat.com>
20209
20210 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
20211 a call, do not require that gdb stop on the line after the call.
20212 Instead, it is permissible for gdb to stop on the line of the
20213 call itself.
20214
20215 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
20216
20217 * gdb.base/break.exp (bp on small function, optimized file):
20218 Add a second pass pattern. The behavior differs here between stabs
20219 and dwarf for one-line functions. Stabs preserves two line symbols
20220 (one before the prologue and one after) with the same line number,
20221 but dwarf regards these as duplicates and discards one of them.
20222 Therefore the address after the prologue (where the breakpoint is)
20223 has no exactly matching line symbol, and GDB reports the breakpoint
20224 as if it were in the middle of a line rather than at the beginning.
20225
20226 2000-05-08 Michael Snyder <msnyder@cygnus.com>
20227
20228 * gdb.base/interrupt.exp: Make "pass" message say "send"
20229 rather than "send_gdb" (for consistancy).
20230
20231 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20232
20233 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20234 * gdb.c++/templates.cc: Properly check for GCC version number.
20235 * lib/compiler.cc: Likewise
20236
20237 2000-04-28 Michael Snyder <msnyder@cygnus.com>
20238
20239 * gdb.base/break.exp: When compiled with -O2 optimization,
20240 gdb may not stop at the first line of main, due to code motion.
20241
20242 2000-04-26 Michael Snyder <msnyder@cygnus.com>
20243
20244 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20245 This test depends on parsing the printf output from the target.
20246 Since the sparclet stub doesn't do stdio, this will never work.
20247 * gdb.base/call-rt-st.exp: ditto.
20248 * gdb.base/call-strs: ditto.
20249
20250 2000-04-24 Michael Snyder <msnyder@cygnus.com>
20251
20252 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20253
20254 * gdb.base/ending-run.exp: After connecting to a remote target,
20255 but before running, the target will appear to be in a random
20256 location. Specify both a file and a line for breakpoints.
20257 Also, the function that calls main may be called 'init'
20258 rather than 'start'.
20259
20260 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20261
20262 * gdb.base/help.exp: Update output for add-symbol-file command.
20263
20264 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
20265
20266 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20267 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20268
20269 2000-04-07 J.T. Conklin <jtc@redback.com>
20270
20271 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20272
20273 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20274
20275 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20276
20277 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
20278 values that can be represented exactly.
20279 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20280 above change, and to not check against the directory part of the source
20281 file name.
20282 (step into print_long_arg_list): Likewise.
20283 (print print_small_structs from print_long_arg_list): Likewise.
20284 (print print_long_arg_list): Likewise.
20285
20286 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20287
20288 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
20289
20290 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20291
20292 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20293
20294 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
20295
20296 * gdb.base/commands.exp (deprecated_command_test): Add test for
20297 deprecate with no arguments.
20298
20299 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20300
20301 * gdb.base/break.exp: Add new test for setting breakpoints on
20302 optimized code so we can test breakpoints work even when function
20303 prologues may be optimized away
20304
20305 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20306
20307 From David Whedon <dwhedon@gordian.com>
20308 * gdb.base/commands.exp : Added command deprecator tests.
20309
20310 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
20311
20312 * gdb.base/help.exp: Added test for new apropos command.
20313
20314 2000-03-21 Kevin Buettner <kevinb@redhat.com>
20315
20316 * gdb.base/pointers.c (usevar): New function.
20317 (main): Make sure that global variables v_int_pointer2, rptr,
20318 and y are all referenced someplace in the program by calling
20319 usevar() on them. [Some linkers delete symbols which are
20320 never referenced. The space remains, but there's no way to
20321 get a (symbolic) handle on the variable from the debugger.]
20322
20323 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20324
20325 * gdb.base/printcmds.c: Add typedeffed arrays.
20326
20327 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
20328 procedure to test arrays that are typedef'd.
20329
20330 2000-03-13 James Ingham <jingham@leda.cygnus.com>
20331
20332 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
20333 the library directories.
20334
20335 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20336
20337 * configure.in (configdirs): Add sub directory gdb.mi.
20338 * configure: Re-generate.
20339
20340 * gdb.mi: New directory.
20341
20342 2000-02-25 Scott Bambrough <scottb@netwinder.org>
20343
20344 * gdb.base/long_long.exp: Correct test suite failure when printing
20345 a long long value as a double on ARM platforms.
20346
20347 2000-02-16 Jim Blandy <jimb@redhat.com>
20348
20349 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20350 default source file is set properly before running this test.
20351
20352 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20353
20354 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
20355 gdbtk/library directory, not in gdbtcl2.
20356
20357 2000-02-04 Jim Blandy <jimb@redhat.com>
20358
20359 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20360 backslash from regexp pattern.
20361
20362 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20363 procedure. Use it to run all the "continue to bp overloaded"
20364 tests. Note that this changes the names of the tests slightly.
20365 If the breakpoint hit message includes a hex PC value, because
20366 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20367 from the real source code, still consider that a pass.
20368
20369 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20370 XFAIL here if the breakpoint message contains a hex address. Note
20371 similar change on 1999-11-02.
20372
20373 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20374
20375 * gdb.base/ptype.exp: Establish a default source file before
20376 calling get_debug_format.
20377
20378 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20379
20380 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20381
20382 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20383
20384 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20385 of successive stepi commands -- while in the prologue we should see
20386 the function entry bracket.
20387
20388 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20389
20390 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20391 reach __change_mode() when stepping through the end of main().
20392
20393 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20394
20395 * gdb.base/default.exp: Fix expected pattern.
20396 * gdb.base/help.exp: Same.
20397
20398 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20399
20400 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
20401 Don't use xfail's because that affects only the following test.
20402
20403 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
20404 solaris or linux.
20405
20406 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20407
20408 2000-01-07 Michael Snyder <msnyder@cygnus.com>
20409
20410 * gdb.base/display.exp: Some yacc parsers like to say
20411 "A syntax error" rather than "A parse error". Accept both.
20412
20413 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20414
20415 * gdb.base/default.exp: Remove OS dependent string from "target
20416 remote" test.
20417 * gdb.base/help.exp: Same for "help target remote" test.
20418
20419 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20420
20421 From Jim Kingdon <kingdon@redhat.com>:
20422
20423 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
20424 prompt (cleanup rather than necessity, but still might keep output
20425 from spilling to next test).
20426
20427 2000-01-02 Fred Fish <fnf@cygnus.com>
20428
20429 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20430 AIX, which defines them in <sys/types.h>.
20431
20432 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
20433
20434 * gdb.base/default.exp: Match arm* etc instead of arm in "info
20435 float" test.
20436
20437 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
20438
20439 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
20440
20441 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20442 outermost frame disallowed".
20443
20444 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20445
20446 * gdb.base/setvar.exp: New tests for setting the value of a struct
20447 with a constant list.
20448
20449 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20450
20451 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20452 require the user to type a cast before setting the value of a struct.
20453
20454 1999-12-06 Jim Blandy <jimb@cygnus.com>
20455
20456 * gdb.base/default.exp: Expect the new 'info float' command on
20457 all i386 platforms.
20458
20459 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20460 LinuxThreads libraries that don't support debugging.
20461
20462 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20463
20464 * gdb.base/remote.c: Fill the buffer with truely random data.
20465 Change the buffer type to ``unsigned char'' to simplify size
20466 arithmetic.
20467
20468 * gdb.base/remote.exp: Reduce download numbers by one. Typical
20469 stub only handles 400-1 byte packets. Verify that the download
20470 worked.
20471
20472 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20473
20474 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20475 tests, using UNRESOLVED for the untested cases. Also, does not wait
20476 for a timeout if the prompt was received before a recognizable pattern.
20477
20478 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20479
20480 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20481
20482 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20483
20484 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
20485 watchpoints.
20486
20487 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
20488
20489 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20490
20491 * gdb.c++/local.exp: Be more flexible in recognizing local class
20492 name mangling. Don't allow horribly truncated method names.
20493 * gdb.c++/derivation.exp: Expect protected inheritance.
20494 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20495 * gdb.c++/virtfunc.exp: Likewise.
20496 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20497 when printing a nested enum.
20498
20499 1999-11-22 Jim Blandy <jimb@cygnus.com>
20500
20501 * gdb.base/step-test.exp: Properly await GDB's response to setting
20502 a breakpoint on the call to large_struct_by_value.
20503
20504 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20505 just because we have debug info for the `start' function.
20506
20507 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20508
20509 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20510 "Unknown signal" messages, which indicate (on LinuxThreads) that
20511 GDB doesn't know how to debug threads on this system. This is
20512 better than hanging while philosopher 0 dumps chatter into gdb.log.
20513
20514 1999-11-18 Tom Tromey <tromey@cygnus.com>
20515
20516 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20517
20518 1999-11-18 Fred Fish <fnf@cygnus.com>
20519
20520 * gdb.base/coremaker2.c: Add sample program for generating
20521 cores that is more self contained than coremaker.c. Eventually
20522 I'll add more code to this and tie it into the testsuite.
20523
20524 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20525
20526 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20527
20528 1999-11-10 Jimmy Guo <guo@cup.hp.com>
20529
20530 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
20531 from $srcdir/lib/.
20532 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
20533 and gdb.c++/.
20534
20535 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20536
20537 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
20538 'continue with watch' test point.
20539
20540 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20541
20542 Merged from p2linux-990323-branch:
20543
20544 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20545
20546 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20547
20548 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
20549 {limit,fixed}''. Test ``set download-write-size''.
20550
20551 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20552
20553 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
20554 gdb_expect_list.
20555
20556 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20557
20558 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20559
20560 1999-11-03 Mark Salter <msalter@cygnus.com>
20561
20562 * gdb.base/break.exp: Fix "stub continue" pattern.
20563
20564 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20565
20566 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20567
20568 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20569
20570 * gdb.base/display.exp ("finish"): Add timeout clause.
20571
20572 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20573 plain prompt clause, so this doesn't have to time out in order to
20574 fail.
20575
20576 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
20577 breakpoint hit messages include an address.
20578
20579 * gdb.base/display.exp: Don't forget to escape parens in regular
20580 expressions. Unix regexp notatation sucks.
20581
20582 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20583
20584 * gdb.base/annota1.exp: Test for annotate-signalled: change output
20585 order for 'signalled' message.
20586
20587 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20588
20589 From Jimmy Guo <guo@cup.hp.com>:
20590 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20591 * gdb.base/annota1.c: Add code for tests to work with.
20592
20593 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20594
20595 * gdb.base/remote.exp: New test for remote downloading settings.
20596 * gdb.base/remote.c: New file with large .data.
20597
20598 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20599
20600 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20601 for LinuxThreads support, merged from the Code Fusion branch.
20602
20603 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20604
20605 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
20606 containing exp_continue into a while within an expect. Don't
20607 attempt a start more than three times. Check return value from
20608 gdb_load.
20609
20610 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20611
20612 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
20613 a pass case.
20614
20615 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
20616
20617 * gdb.base/break.c (main): Added a statement that we can step
20618 off of.
20619 * gdb.base/break.exp: Added tests for setting a breakpoint
20620 at an offset and stepping onto a breakpoint.
20621
20622 1999-10-01 Fred Fish <fnf@cygnus.com>
20623
20624 * gdb.base/help.exp (help add-symbol-file): Update to match current
20625 gdb output.
20626
20627 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20628
20629 * gdb.base/break.exp: Code locations are in hex, don't forget!
20630 (For HP-UX.)
20631
20632 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20633
20634 * condbreak.exp: Use break.c as test program.
20635 * condbreak.c: Remove, redundant with break.c.
20636
20637 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20638
20639 * config/monitor.exp (gdb_target_monitor): Disable X- and
20640 Z-packets if the target needs it.
20641
20642 1999-09-13 James Ingham <jingham@leda.cygnus.com>
20643
20644 * gdb.c++/overload.exp: Added tests for listing overloaded
20645 functions with function pointers in the arg, explicitly calling
20646 out the version you want.
20647
20648 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20649
20650 * long_long.exp: Add variations of test cases that work for
20651 targets with 16-bit ints and 32-bit doubles.
20652
20653 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20654
20655 * break.c (main): Compare a possibly-uninitialized argc with an
20656 unlikely value that fits in 16 bits.
20657
20658 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20659
20660 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20661 0xfeeb, don't want negative numbers if ints are 16 bits.
20662
20663 * lib/gdb.exp (skip_cplus_tests): New proc.
20664 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
20665 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20666 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20667 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20668 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20669 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20670 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20671 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
20672
20673 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20674
20675 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20676
20677 * gdb.base/corefile.exp (up): Allow a parameter to appear
20678 in the frame that we're going up to.
20679
20680 From Jim Blandy <jimb@cygnus.com>:
20681
20682 * gdb.base/default.exp (info float): Expect some output now.
20683
20684 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20685 returning floating-point values to fail on the x86.
20686 * gdb.base/callfwmall.exp (do_function_calls): Same.
20687
20688 * gdb.base/list.exp (test_listsize): Correct expectations for
20689 listing line 1 with listsize 2. Also, listing a single line
20690 works now, as does listing three lines. [Kevin's note: There
20691 were a number of other cases fixed too where the expectations
20692 differed...]
20693
20694 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20695
20696 * gdb.base/selftest.exp: Add case for when version prints as
20697 constant string instead of char pointer.
20698
20699 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20700
20701 * gdb.base/ending-run.exp: Add Solaris case for what happens when
20702 stepping out of main.
20703
20704 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20705 G++ used.
20706
20707 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
20708 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
20709
20710 * gdb.c++/ovldbreak.exp: Update match string in test that
20711 includes a warning of multiple breakpoints.
20712
20713 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20714
20715 * gdb.base/display.exp: Improve precision of step-after-finish
20716 added yesterday.
20717
20718 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
20719 test.
20720
20721 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20722 configs when using G++, not just hppa*.
20723
20724 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20725
20726 * gdb.base/async.c: New file.
20727 * gdb.base/async.exp: New file.
20728
20729 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20730
20731 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20732 PA64.
20733
20734 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20735
20736 * gdb.base/display.exp: "finish" can leave us mid-line on many
20737 targets, deal with it. Add a small constant to main, instead of
20738 1000 since main+1000 may not be a valid address in the target.
20739
20740 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20741 on hpux11.
20742
20743 * gdb.base/attach.exp: Handle another hpux11 error message variant
20744 when attaching to a process that does not exist.
20745
20746 1999-08-19 J.T. Conklin <jtc@redback.com>
20747
20748 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
20749 characters in 'continue to 1241' test.
20750
20751 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20752
20753 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20754 stop in print_long_arg_list, define and use a whitespace
20755 variable in print_small_structs test, add an XFAIL for Solaris.
20756 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20757 interested enough to fix.
20758
20759 1999-08-13 Keith Seitz <keiths@cygnus.com>
20760
20761 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20762 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20763 proc knows about targets other than the natives.
20764 (test_assign): Use "gdb_run_cmd" to "run" the target.
20765 Check that we've actually hit the breakpoint at main.
20766 When we attempt to assign a value to a local variable, check
20767 that the variable is in the current scope, i.e., don't use
20768 a test with an empty result.
20769
20770 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20771
20772 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
20773 command.
20774
20775 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20776
20777 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20778 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20779 gdb.compat, gdb.threads-hp.
20780 gdb.hp/configure, gdb.hp/configure.in: New files.
20781 gdb.hp/Makefile.in: Recurse into new subdirs.
20782 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20783 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20784 in object files.
20785 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20786
20787 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20788
20789 * gdb.base/display.exp: Help expect by putting a newline in the
20790 funky printf, remove a bogus p/a test.
20791
20792 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20793
20794 * gdb.base/display.exp: Make sure that when we say 'run', we are
20795 connected to the target. This is necessary when running not
20796 natively.
20797
20798 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20799
20800 * gdb.base/step-test.exp: Removed some extraneous messages.
20801
20802 * gdb.base/long_long.exp: Don't run memory examination tests
20803 on little-endian targets (they will need a different set of
20804 results to match).
20805
20806 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20807
20808 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20809 until somebody decides to fix GDB.
20810
20811 * gdb.base/long_long.c: Stop compiler complaint by specifying long
20812 constant as "ULL".
20813 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20814 matches for a couple x/2 commands.
20815
20816 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20817
20818 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20819 by merging in ref-types2 tests.
20820 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20821
20822 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20823 * gdb.c++/Makefile.in: Add standard actions.
20824 (EXECUTABLES): Rename from PROGS, update list.
20825 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20826 from gdb.hp.
20827 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20828 foo and bar locals.
20829 * gdb.c++/anon-union.exp: Fix tests to match.
20830 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20831 expect matches to handle output variations.
20832 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20833 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
20834 output, add HP alternatives for new and delete prints.
20835 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20836 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20837 * gdb.c++/demangle.exp: Use $style when reporting failure.
20838 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20839 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20840 match alternatives.
20841 * gdb.c++/local.exp: Add match alternatives or xfails for HP
20842 compilers.
20843 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20844 * gdb.c++/method.exp: Add match alternatives.
20845 * gdb.c++/misc.cc: Add bool types.
20846 * gdb.c++/misc.exp: Add tests for bool types.
20847 * gdb.c++/overload.exp: Add xfails.
20848 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20849 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20850 add some more template parameter tests (only for HP currently).
20851 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20852 * gdb.c++/virtfunc.cc: Add return type and value for main.
20853 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20854 match alternatives.
20855
20856 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20857
20858 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20859
20860 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20861
20862 * gdb.base/signals.exp: Don't expect getting a backtrace from
20863 within a signal handler to fail on Linux.
20864
20865 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20866
20867 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20868 * lib/gdb.exp: Remove some gratuitious semicolons.
20869 (delete_breakpoints): Increase timeout.
20870 (gdb_expect): Add -notransfer option.
20871 (gdb_test): Use -notransfer option.
20872 (get_compiler_info): Add f77 case.
20873 (get_compiler): New proc, split out from gdb_preprocess, add f77
20874 case.
20875 (gdb_preprocess): Call get_compiler.
20876
20877 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20878 * gdb.base/attach.exp, gdb.base/display.exp,
20879 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20880 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20881 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20882 third arg to gdb_test.
20883 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20884 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20885 HP-UX xfails, add others.
20886 * gdb.base/completion.exp: Reflect name change of self-test.
20887 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20888 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20889 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20890 HP failure number.
20891 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20892 useless HP-UX 10.30 references.
20893 * gdb.base/maint.exp: Loosen matches.
20894 * gdb.base/pointers.c (main): Declare more_code.
20895 * gdb.base/pointers.exp: Match on output of a `next'.
20896 * gdb.base/structs.c: Add prototypes.
20897 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20898 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20899
20900 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20901
20902 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20903 command.
20904
20905 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20906
20907 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20908 Fix run to main failures. Watchpoint can be hardware watchpoint.
20909
20910 * gdb.base/annota1.exp: Clean up some more, in case printf has
20911 debug info. Deal with lack of signal hanlder info in stack.
20912
20913 From Jim Kingdon <kingdon@redhat.com>:
20914 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20915
20916 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20917
20918 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20919 gdb.base/foll-vfork.exp: Don't run for crosses.
20920
20921 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20922
20923 * gdb.base/configure.in: Check for gdbvars.exp instead of
20924 a1-selftest.exp.
20925 * gdb.base/configure: Re-generate.
20926
20927 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20928
20929 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20930 in trying to run first and name is too long.
20931
20932 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20933 pointers2.c and pointers2.exp, respectively.
20934 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20935 doschk happier.
20936
20937 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20938
20939 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20940 callfuncs2.c and callfuncs2.exp.
20941
20942 * gdb.base/list.exp: Remove mistaken xfails.
20943 * gdb.base/list0.h: Add optional prototypes.
20944
20945 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20946
20947 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20948 calling malloc.
20949 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20950 * ptype.exp: Move test for get_debug_format to before its first
20951 use.
20952
20953 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20954
20955 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20956 * gdb.base/annota2.cc, annota2.exp: Move from here.
20957 * gdb.c++/annota2.cc, annota2.exp: To here.
20958 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20959
20960 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20961
20962 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20963 a consistent format.
20964
20965 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20966
20967 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20968 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20969 HP compilers, also set the globals $true and $false.
20970
20971 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20972 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20973 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20974 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20975 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20976 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20977 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20978 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20979 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20980 whatis.c} Add C++ compatible function definitions and return
20981 types, add includes for library functions.
20982 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20983 * gdb.base/step-test.c (myglob): Rename from glob.
20984 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20985 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20986 files, move here from gdb.hp.
20987 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20988 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20989 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20990 Adjust line numbers in regexps.
20991
20992 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20993 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20994 instead of 0/1.
20995
20996 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20997 foll-vfork.exp: New files, move here from gdb.hp.
20998 * gdb.base/page.exp: New file, test of pagination command.
20999
21000 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
21001 recursion test.
21002 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
21003
21004 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
21005 gdb.base/solib.exp: Fix compiler invocation process.
21006
21007 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
21008 HP-UX 11, turn off overload resolution explicitly.
21009 * gdb.base/commands.exp: Set argument list explicitly, add
21010 watchpoint test.
21011 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
21012 them work.
21013 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
21014 expressions properly.
21015 * gdb.base/corefile.exp: Loosen the match slightly.
21016 * gdb.base/default.exp: Allow "Error accessing memory" message
21017 also.
21018 * gdb.base/display.exp: Skip over x/0 j if PA64.
21019 * gdb.base/funcargs.exp: Add xfails for HP-UX.
21020 * gdb.base/interrupt.exp: Ditto.
21021 * gdb.base/langs.exp: Add symbolic matches governed by compiler
21022 in use.
21023 * gdb.base/list.exp: Add xfails for HP-UX.
21024 * gdb.base/long_long.exp: Refine some of the numeric matches.
21025 * gdb.base/mips_pro.exp: Xfail on HP-UX.
21026 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
21027 * gdb.base/nodebug.exp: Succeed on more varieties of output.
21028 * gdb.base/opaque.exp: Remove some HP-UX xfails.
21029 * gdb.base/ptype.exp: Succeed on more varieties of output.
21030 * gdb.base/scope.exp: Add xfails for HP-UX.
21031 * gdb.base/sect-cmd.exp: Add more cases.
21032 * gdb.base/setvar.exp: Add xfails for HP-UX.
21033 * gdb.base/shlib-call.exp: Loosen some matches slightly.
21034 * gdb.base/signals.exp: Match on void symbolically.
21035 * gdb.base/step-test.exp: Add case for PA64.
21036 * gdb.base/term.exp: Add exit and restart.
21037 * gdb.base/twice.exp: Clean up after self.
21038 * gdb.base/varargs.exp: Disable overload resolution explicitly.
21039 * gdb.base/whatis.exp: Allow more ways to pass tests.
21040
21041 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
21042 no longer useful.
21043
21044 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
21045
21046 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
21047 list of patterns.
21048 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
21049 print_double_array(double_array)", "continuing to breakpoint
21050 1018", "print print_double_array(array_d)" and "continuing to
21051 1034" tests.
21052
21053 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
21054
21055 * Makefile.in: Add empty html and install-html targets.
21056
21057 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
21058
21059 * config/mt-*: Remove, these haven't been used since 1996.
21060
21061 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
21062
21063 * gdb.base/call-strs.c, gdb.base/ending-run.c,
21064 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
21065 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
21066
21067 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
21068
21069 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
21070 simpler match case for the ptype of the big class.
21071
21072 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21073
21074 * gdb.exp: Fix test for gdb_prompt existence.
21075
21076 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21077
21078 * gdb.exp (gdb_test): Add fail after calls to perror.
21079
21080 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21081
21082 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
21083
21084 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
21085
21086 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
21087
21088 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
21089
21090 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
21091 malloc() is linked in.
21092
21093 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21094
21095 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
21096 step at end.
21097
21098 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
21099
21100 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
21101
21102 * gdb.java/jv-print.exp: New file. (Our first Java test!)
21103
21104 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
21105
21106 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
21107 * gdb.base/mips_pro.exp: Likewise.
21108
21109 1999-06-02 Keith Seitz <keiths@cygnus.com>
21110
21111 * gdb.c++/templates.cc: Change all "new" operators to throw
21112 an exception.
21113 * gdb.c++/cplusfuncs.cc: Likewise.
21114
21115 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
21116
21117 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
21118
21119 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
21120 * gdb.base/ending-run.exp: When stepping out of main, accept a
21121 step into an arbitrary assembler file.
21122
21123 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21124
21125 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
21126 "breakpoint-invalid" to be printed.
21127 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
21128 number of "frames-invalid" and "breakpoint-invalid" to be printed.
21129 * gdb.base/annota2.cc: Initialize a.x to 0.
21130
21131 1999-05-17 Keith Seitz <keiths@cygnus.com>
21132
21133 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
21134 when "skip_float_tests" set.
21135 Ditto for "print print_double_array(array_d)", "print print_small_structs",
21136 "print print_ten_doubles", and "step into print_long_arg_list".
21137 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
21138 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
21139 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
21140 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
21141 "skip_float_tests" is set.
21142 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
21143 when "skip_float_tests" set.
21144
21145 1999-05-06 Keith Seitz <keiths@cygnus.com>
21146
21147 * gdb.base/annota2.cc: Include stdio.h.
21148
21149 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
21150
21151 * gdb.base/crossload.exp: Remove, this has been disabled ever
21152 since BFD stopped including all targets, and cross-GDB gets
21153 plenty of testing anyway.
21154 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
21155 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
21156 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
21157 * gdb.base/README: Remove, was doc for this.
21158 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
21159 needed.
21160
21161 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21162
21163 * gdb.base/call-ar-st.exp: Fix one regular expression in test
21164 output.
21165
21166 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
21167 * gdb.base/annota2.exp: New file. More annotation tests.
21168 * gdb.base/annota1.c: New file. Source file for annota1.exp.
21169 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
21170
21171 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
21172
21173 * config/cfdbug.exp: New file.
21174
21175 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
21176
21177 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
21178 Marcus Daniel's and Dale Hawkins's demangler crashes.
21179
21180 * gdb.c++/demangle.exp (test_gnu_style_demangling,
21181 test_lucid_style_demangling, test_arm_style_demangling,
21182 test_hp_style_demangling): Try Tom Tromey's core-dumping
21183 identifier under each demangling style.
21184
21185 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
21186
21187 * gdb.c++/demangle.exp: Include the current demangling style
21188 in all test names.
21189 (current_demangling_style): New global variable.
21190 (set_demangling_style, test_demangling_core, test_demangling,
21191 test_demangling_exact): New functions.
21192 (test_gnu_style_demangling, test_lucid_style_demangling,
21193 test_arm_style_demangling, test_hp_style_demangling): Use those,
21194 instead of calling gdb_test and gdb_test_exact directly.
21195 (catch_demangling_errors): New function, which reports errors
21196 signalled by the demangling test functions in an orderly way.
21197 (do_tests): Use catch_demangling_errors.
21198
21199 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
21200
21201 * gdb.base/signals.exp (test_handle_all_print): Use () for
21202 grouping in expressions, not {}.
21203
21204 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
21205 initialized yet.
21206
21207 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21208
21209 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21210 are listed.
21211
21212 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21213
21214 * gdb.stabs/weird.exp: Test for CC being defined before
21215 looking at its value.
21216
21217 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21218
21219 * gdb.base/call-ar-st.exp: Remove stray '#'.
21220 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21221 "short int" and "long int".
21222 * gdb.c++/overload.cc: Cast the string added in the previous
21223 change, to mollify finicky HP compiler.
21224 * gdb.hp/reg-test.exp (testfile): Fix file name.
21225 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
21226
21227 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21228 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21229 alternate form of enum ptype.
21230
21231 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21232
21233 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21234 * gdb.hp/*.exp: Change all to run compiler probe only after
21235 passing skip_hp_tests, so as not to waste time on guaranteed
21236 failure.
21237
21238 * gdb.c++/overload.cc: Pass string instead of char addr, always
21239 init ccpfoo.
21240 * gdb.c++/templates.cc: Fix syntax error.
21241
21242 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21243
21244 * gdb.base/commands.exp: Add test for correct position of '>'
21245 when issuing the 'commands' command after a 'while' or 'if'
21246 command.
21247
21248 1999-03-18 James Ingham <jingham@cygnus.com>
21249
21250 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21251
21252 * gdb.c++/method.exp: It was testing an uninitialized int on the
21253 stack and assuming it was positive.
21254
21255 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21256
21257 * gdb.base/step-test.exp: Catch a case where finish is broken and
21258 keep it from killing the rest of the tests.
21259 Use gdb_continue_to_end.
21260
21261 * gdb.base/sigall.exp: use gdb_continue_to_end.
21262
21263 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21264
21265 * gdb.base/display.exp: use runto_main, not run.
21266
21267 * gdb.base/default.exp: Check for the current error message in the
21268 r abbreviation test.
21269 Add strongarm to the targets that know info float.
21270
21271 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
21272 run which doesn't work with monitors.
21273
21274 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21275
21276 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21277
21278 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
21279 program. Traps the case (in Cygmon) when the program never really
21280 exits. Same as Mark's continue_to_exit, but I had put it in a lot
21281 more places, so I used my name. Sorry Mark...
21282
21283 * config/monitor.exp (gdb_target_monitor): added another
21284 target_info parameter: remotebinarydownload. This will set the
21285 remotebinarydownload flag if this is causing some boards trouble.
21286
21287 1999-03-18 Mark Salter <msalter@cygnus.com>
21288
21289 * lib/gdb.exp (continue_to_exit): New function.
21290
21291 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21292 * gdb.base/ending-run.exp: Ditto.
21293 * gdb.base/step-test.exp: Ditto.
21294
21295 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21296
21297 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21298 (suggested by Art Haas <ahaas@neosoft.com>).
21299
21300 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21301
21302 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
21303
21304 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21305
21306 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
21307 descriptions of types (short unsigned int vs unsigned short, etc).
21308
21309 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21310
21311 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21312 a call to strlen; sometimes we do have sources.
21313
21314 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21315
21316 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
21317 character, so GDB won't print garbage after its end.
21318
21319 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21320 breakpoint there instead. Sometimes GCC emits memcpy to handle
21321 the large structures being passed by value, so we step into that
21322 instead of sum_array_print, which obscures what we're really testing.
21323 * gdb.base/step-test.exp: However, we do want a test that notices
21324 the bizarre steps into memcpy, so do that here. Add check for
21325 stepping into function calls that pass large structures by value.
21326 ("Is that a noun clause, or are you just happy to see me?")
21327 Remove all references to specific line numbers.
21328 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21329 New type and function.
21330 (main): Call large_struct_by_value, passing it a large struct by value.
21331 * lib/gdb.exp (gdb_get_line_number): New function.
21332
21333 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21334 more portable.
21335
21336 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21337
21338 * lib/gdb.exp: Doc fixes.
21339
21340 1999-03-05 Nick Clifton <nickc@cygnus.com>
21341
21342 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
21343
21344 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21345
21346 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
21347 commands. They're not germane to this test, and they don't work
21348 that way on remote targets.
21349
21350 1999-03-01 James Ingham <jingham@cygnus.com>
21351
21352 * Changelog entries merged over from gdb development branch.
21353
21354 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21355
21356 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21357 for outputting results of test run.
21358
21359 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
21360
21361 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
21362
21363 1999-02-25 Felix Lee <flee@cygnus.com>
21364
21365 * lib/gdb.exp (debug_format): initialize
21366
21367 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21368
21369 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21370 * gdb.base/call-rt-st.c: Ditto.
21371
21372 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21373
21374 * gdb.threads/pthreads.exp (horiz): New variable.
21375 (test_startup): Fix regexps that capture thread numbers.
21376
21377 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21378
21379 * gdb.base/smoke.exp: Disambiguate two test case names (both
21380 called ``print'').
21381
21382 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21383
21384 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
21385 compilation.
21386
21387 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21388
21389 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21390 actual output formatting.
21391 * gdb.base/smoke.exp: GDB removes leading 0's.
21392 * gdb.base/volatile.exp: Don't check type of remuneration;
21393 that variable is no longer defined in constvars.c.
21394 * gdb.base/step-test.c (main): Exit with explicit exit code.
21395 * gdb.base/step-test.exp: Remove two nexti checks--they are
21396 not portable.
21397
21398 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21399
21400 * gdb.base/help.exp ("help delete display"): Fix test to match
21401 gdb's output.
21402
21403 * gdb.base/long_long.c (known_types): Initialize values to zero.
21404 * gdb.base/long_long.exp: Step one more line
21405 so 'dec' is initialized in "get to known place". GDB removes
21406 leading zeros. Explicitly ask for hex formatting. Use
21407 unique test case names.
21408
21409 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21410
21411 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
21412
21413 * gdb.c++/method.exp: Add missing close brace.
21414
21415 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21416
21417 * gdb.base/maint.exp: Use 'set height 0' to disable page
21418 prompting, not 'set height 400'.
21419
21420 Fix a bunch of timeouts.
21421 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21422 four separate tests, so expect doesn't take forever to match a ton
21423 of text against a regexp with lots of .* forms.
21424 ("maint print psymbols", "maint print symbols"): Make some of
21425 these greps more selective, so that expect doesn't try to wade
21426 through huge piles of output and time out.
21427
21428 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21429
21430 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
21431 tests: one which doesn't expect shlib events to be reported, and
21432 another which does, but is XFAIL for all platforms other than
21433 HP/UX.
21434
21435 * gdb.base/break.exp: Teach the test suite that the `catch
21436 fork', `catch vfork', and `catch exec' commands produce error
21437 messages on platforms that don't provide these features.
21438
21439 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21440
21441 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
21442 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21443 (shortening names from solib_threshold.exp etc), won't run on
21444 anything but HP-UX for the foreseeable future.
21445 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
21446 reflect move.
21447
21448 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21449
21450 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21451 gdb.trace/Makefile.in (clean): Remove all test executables.
21452
21453 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21454
21455 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21456 successfully re-sets breakpoints in shared libraries.
21457 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21458
21459 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21460
21461 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21462 and compiled w/o GCC.
21463
21464 * gdb.hp/watch-cmd.exp: ditto.
21465
21466 * gdb.hp/watch-hp.exp: ditto.
21467
21468 * gdb.hp/xdb1.exp: ditto.
21469
21470 * gdb.hp/xdb2.exp: ditto.
21471
21472 * gdb.hp/dbx.exp: ditto.
21473
21474 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21475
21476 * constvars.c: Remove C++-isms.
21477 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
21478 with GCC.
21479
21480 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21481
21482 The following changes are part of the HP merge.
21483
21484 * gdb.base/break.exp: new tests to verify that catchpoints for
21485 fork, vfork, and exec don't trigger inappropriately.
21486
21487 * gdb.base/opaque.exp: compile one file at a time, then link.
21488
21489 * gdb.base/signals.exp: be more restrictive about which hppa
21490 systems receive a setup_xfail. new tests.
21491
21492 * gdb.base/solib_threshold.build: new file.
21493 * gdb.base/solib_threshold.exp: new file.
21494 * gdb.base/solib_threshold.link_opts: new file.
21495 * gdb.base/solib_threshold.mk: new file.
21496 * gdb.base/gen_solib_threshold.c: new file.
21497
21498 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21499 tests. New tests for enums inside classes.
21500
21501 * gdb.c++/compiler.cc: indicate support of template debugging.
21502
21503 * gdb.c++/demangle.exp: run hp style demangling tests.
21504
21505 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21506 tests.
21507
21508 * gdb.c++/misc.cc: changes to support new tests.
21509
21510 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21511 to support new tests.
21512
21513 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21514 gcc, then skip these tests.
21515
21516 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21517
21518 The following files are part of the HP merge; some had longer
21519 names at HP, but have been renamed to be no more than 14
21520 characters in length.
21521
21522 * gdb.hp/ambiguous.cc: new file.
21523 * gdb.hp/ambiguous.exp: new file.
21524 * gdb.hp/attach.exp: new file.
21525 * gdb.hp/attach2.exp: new file.
21526 * gdb.hp/classes-hp.exp: new file.
21527 * gdb.hp/ctti.exp: new file.
21528 * gdb.hp/ctti-add.cc: new file.
21529 * gdb.hp/ctti-add1.cc: new file.
21530 * gdb.hp/ctti-add2.cc: new file.
21531 * gdb.hp/ctti-add3.cc: new file.
21532 * gdb.hp/dbx.exp: new file.
21533 * gdb.hp/exception.cc: new file.
21534 * gdb.hp/exception.exp: new file.
21535 * gdb.hp/foll-exec.c: new file.
21536 * gdb.hp/foll-exec.exp: new file.
21537 * gdb.hp/foll-fork.c: new file.
21538 * gdb.hp/foll-fork.exp: new file.
21539 * gdb.hp/foll-vfork.c: new file.
21540 * gdb.hp/foll-vfork.exp: new file.
21541 * gdb.hp/inherit-hp.exp: new file.
21542 * gdb.hp/more-steps.exp: new file.
21543 * gdb.hp/namespace.cc: new file.
21544 * gdb.hp/namespace.exp: new file.
21545 * gdb.hp/optimize.exp: new file.
21546 * gdb.hp/pxdb.c: new file.
21547 * gdb.hp/pxdb.exp: new file.
21548 * gdb.hp/quicksort.exp: new file.
21549 * gdb.hp/reg-test.exp: new file.
21550 * gdb.hp/reg-test.s: new file.
21551 * gdb.hp/sized-enum.c: new file.
21552 * gdb.hp/sized-enum.exp: new file.
21553 * gdb.hp/start-stop.exp: new file.
21554 * gdb.hp/templ-hp.cc: new file.
21555 * gdb.hp/templ-hp.exp: new file.
21556 * gdb.hp/thr-lib.c: new file.
21557 * gdb.hp/thr-lib.exp: new file.
21558 * gdb.hp/thr-lib.h: new file.
21559 * gdb.hp/thr-liblib.c: new file.
21560 * gdb.hp/virtfun-hp.c: new file.
21561 * gdb.hp/virtfun-hp.exp: new file.
21562 * gdb.hp/watch-cmd.exp: new file.
21563 * gdb.hp/watch-hp.exp: new file.
21564 * gdb.hp/xdb1.exp: new file.
21565 * gdb.hp/xdb2.exp: new file.
21566 * gdb.hp/xdb3.exp: new file.
21567
21568 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21569
21570 The following files are part of the HP merge; some had longer
21571 names at HP, but have been renamed to be no more than 14
21572 characters in length.
21573
21574 * gdb.base/ss.h: new file.
21575 * gdb.base/call-ar-st.c: new file.
21576 * gdb.base/call-ar-st.exp: new file.
21577 * gdb.base/call-rt-st.c: new file.
21578 * gdb.base/call-rt-st-exp: new file.
21579 * gdb.base/call-strs.exp: new file.
21580 * gdb.base/ena-dis-br.exp: new file.
21581 * gdb.base/environ.exp: new file.
21582 * gdb.base/long_long.exp: new file.
21583 * gdb.base/sect-cmd.exp: new file.
21584 * gdb.base/shlib-cl2.exp: new file.
21585 * gdb.base/smoke.exp: new file.
21586 * gdb.base/so-impl-ld.c: new file.
21587 * gdb.base/so-impl-ld.exp: new file.
21588 * gdb.base/so-indr-cl.c: new file.
21589 * gdb.base/so-indr-cl.exp: new file.
21590 * gdb.base/varargs.exp: new file.
21591 * gdb.base/volatile.exp: new file.
21592 * gdb.base/whatis-exp.exp: new file.
21593 * gdb.base/display.exp: new file.
21594 * gdb.c++/derivation.exp: new file.
21595 * gdb.c++/local.exp: new file.
21596 * gdb.c++/member-ptr.exp: new file.
21597 * gdb.c++/overload.exp: new file.
21598 * gdb.c++/ovldbreak.exp: new file.
21599 * gdb.c++/ref-types.exp: new file.
21600 * gdb.c++/ref-types2.exp: new file.
21601 * gdb.c++/userdef.exp: new file.
21602
21603 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21604
21605 * gdb.base/default.exp: Reflect wording change in remote.c.
21606
21607 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
21608
21609 * gdb.base/help.exp: Update to reflect current text.
21610
21611 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21612
21613 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21614 they're stack variables and contain garbage.
21615 * gdb.c++/anon-union.exp: new file.
21616
21617 The following changes were made by David Taylor
21618 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21619 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21620 in changes by HP.
21621
21622 * gdb.base/bitops.exp: new file.
21623 * gdb.base/default.exp: change expected messages for catch and
21624 info catch tests to reflect HP merge changes.
21625 * gdb.base/enable-disable-break.exp
21626 * gdb.base/ending-run.c: new file.
21627 * gdb.base/long_long.c: new file.
21628 * gdb.base/maint.exp: new file.
21629 * gdb.base/pointers2.exp: new file.
21630 * gdb.base/shlib-call2.exp: new file.
21631 * gdb.base/solib.exp: new file.
21632 * gdb.base/step-test.c: new file.
21633 * gdb.c++/anon-union.cc: new file.
21634 * gdb.c++/local.cc: new file.
21635 * gdb.c++/member-pointer.cc: new file.
21636 * gdb.c++/method.cc: new file.
21637 * gdb.c++/ref-types.cc: new file.
21638 * gdb.c++/ref-types2.cc: new file.
21639 * gdb.c++/userdef.cc: new file.
21640
21641 * gdb.base/scope.exp: compile one file at a time, then link.
21642 * gdb.base/langs.exp: ditto.
21643 * gdb.base/list.exp: ditto.
21644
21645 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21646
21647 The following changes were made by David Taylor
21648 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21649 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21650 in changes by HP.
21651
21652 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21653 skip tests. When compiling pass c++ flag to gdb_compile.
21654 * gdb.c++/
21655
21656 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21657 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21658 (skip_hp_tests): new function.
21659 (gdb_preprocess): new function.
21660
21661 * configure.in (hpdir): decide whether to configure gdb.hp.
21662 * configure: regenerated.
21663
21664 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21665 to delete on clean.
21666 (EXECUTABLES): update to reflect new additions.
21667 * gdb.base/commands.exp: update message expected.
21668 * gdb.base/default.exp: add copyright notice.
21669 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21670 * gdb.base/help.exp: update messages to reflect current text.
21671 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21672 targets for recurse tests.
21673 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21674 skip this file.
21675
21676 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21677 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21678 compilation.
21679 * gdb.c++/misc.exp: ditto.
21680 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21681 run the tests. tell gdb_compile that it's a c++ compilation.
21682
21683 * gdb.threads/pthreads.exp: fix typo in message.
21684
21685 * gdb.base/all-bin.exp: new file.
21686 * gdb.base/arithmet.exp: new file.
21687 * gdb.base/assign.exp: new file.
21688 * gdb.base/completion.exp: new file.
21689 * gdb.base/cond-expr.exp: new file.
21690 * gdb.base/condbreak.exp: new file.
21691 * gdb.base/define.exp: new file.
21692 * gdb.base/dollar.exp: new file.
21693 * gdb.base/environment.exp: new file.
21694 * gdb.base/eval-skip.exp: new file.
21695 * gdb.base/jump.exp: new file.
21696 * gdb.base/logical.exp: new file.
21697 * gdb.base/pointers.exp: new file.
21698 * gdb.base/relational.exp: new file.
21699 * gdb.base/section_command.exp: new file.
21700 * gdb.base/whatis-expr.exp: new file.
21701
21702 * gdb.base/all-types.c: new file.
21703 * gdb.base/call-array-struct.c: new file.
21704 * gdb.base/call-return-struct.c: new file.
21705 * gdb.base/call-strings.c: new file.
21706 * gdb.base/callfuncs2.c: new file.
21707 * gdb.base/condbreak.c: new file.
21708 * gdb.base/constvars.c: new file.
21709 * gdb.base/display.c: new file.
21710 * gdb.base/int-type.c: new file.
21711 * gdb.base/jump.c: new file.
21712 * gdb.base/miscexprs.c: new file.
21713 * gdb.base/pointers.c: new file.
21714 * gdb.base/pointers2.c: new file.
21715 * gdb.base/shmain.c: new file.
21716 * gdb.base/shr1.c: new file.
21717 * gdb.base/shr2.c: new file.
21718 * gdb.base/solib.c: new file.
21719 * gdb.base/solib1.c: new file.
21720 * gdb.base/solib2.c: new file.
21721 * gdb.base/varargs.c: new file.
21722 * gdb.c++/derivation.cc: new file.
21723 * gdb.c++/overload.cc: new file.
21724 * gdb.c++/ovldbreak.cc: new file.
21725 * gdb.hp/attach.c: new file.
21726 * gdb.hp/attach2.c: new file.
21727 * gdb.hp/average.c: new file.
21728 * gdb.hp/compiler.c: new file.
21729 * gdb.hp/compiler.cc: new file.
21730 * gdb.hp/execd-program.c: new file.
21731 * gdb.hp/follow-exec.c: new file.
21732 * gdb.hp/follow-fork.c: new file.
21733 * gdb.hp/follow-vfork-and-exec.c: new file.
21734 * gdb.hp/misc-hp.cc: new file.
21735 * gdb.hp/more-steps.c: new file.
21736 * gdb.hp/optimize.c: new file.
21737 * gdb.hp/quicksort.c: new file.
21738 * gdb.hp/run-hp.c: new file.
21739 * gdb.hp/start-stop.c: new file.
21740 * gdb.hp/sum.c: new file.
21741 * gdb.hp/templates-hp.cc: new file.
21742 * gdb.hp/thread-local-in-lib.c: new file.
21743 * gdb.hp/thread-local-in-lib.h: new file.
21744 * gdb.hp/thread-local-in-lib.lib.c: new file.
21745 * gdb.hp/vforked-program.c: new file.
21746 * gdb.hp/virtfunc-hp.cc: new file.
21747 * gdb.hp/watchpoint-hp.c: new file.
21748 * gdb.hp/xdb.c: new file.
21749 * gdb.hp/xdb0.c: new file.
21750 * gdb.hp/xdb0.h: new file.
21751 * gdb.hp/xdb1.c: new file.
21752
21753 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21754
21755 The following change was made by Edith Epstein
21756 <eepstein@cygnus.com> as part of a project to merge in changes
21757 originally made by HP; HP did not create ChangeLog entries.
21758
21759 * gdb.c++/demangle.exp: changed the expected output for some
21760 ARM-style mangling -- removed second reference to datatype.
21761 For example, maint demangle __dt__11T1__pt__2_cFv
21762 T1<char>::~T1<char>(void)
21763 becomes,
21764 maint demangle __dt__11T1__pt__2_cFv
21765 T1<char>::~T1(void)
21766
21767 (test_hp_style_demangling): new hp specific demangling test cases.
21768
21769 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21770
21771 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21772 * gdb.trace/backtrace.exp: Likewise.
21773 * gdb.trace/circ.exp: Likewise.
21774 * gdb.trace/collection.exp: Likewise.
21775 * gdb.trace/deltrace.exp: Likewise.
21776 * gdb.trace/infotrace.exp: Likewise.
21777 * gdb.trace/limits.exp: Likewise.
21778 * gdb.trace/packetlen.exp: Likewise.
21779 * gdb.trace/passc-dyn.exp: Likewise.
21780 * gdb.trace/passcount.exp: Likewise.
21781 * gdb.trace/report.exp: Likewise.
21782 * gdb.trace/save-trace.exp: Likewise.
21783 * gdb.trace/tfind.exp: Likewise.
21784 * gdb.trace/tracecmd.exp: Likewise.
21785 * gdb.trace/while-dyn.exp: Likewise.
21786 * gdb.trace/while-stepping.exp: Likewise.
21787
21788 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21789
21790 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21791
21792 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21793
21794 From Brendan Kehoe:
21795 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21796 int return types.
21797
21798 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21799
21800 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
21801 remote dos host testing right.
21802
21803 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21804
21805 * gdb.base/corefile.exp: remove some xfails.
21806
21807 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21808
21809 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
21810 have different timestamps.
21811
21812 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21813
21814 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
21815 gdb.base/default.exp: Replace "exec" with "executable".
21816
21817 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21818
21819 * gdb.base/default.exp: Change else if to elseif from previous
21820 delta.
21821
21822 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21823
21824 * gdb.base/default.exp: Add brace missing from previous delta.
21825
21826 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21827
21828 * gdb.base/default.exp: Support test for info float for all
21829 varieties of arm toolchain.
21830
21831 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
21832
21833 * gdb.trace/*.exp: remove "remote_download" command.
21834
21835 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
21836
21837 * gdb.trace/*.exp: remove -gdwarf from compile.
21838
21839 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21840
21841 * gdb.trace/configure.in(AC_INIT): typo
21842 * gdb.trace/configure: regenerated
21843
21844 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
21845
21846 * config/m68k-emc.exp: New file.
21847 * lib/<emc-support.exp trace-support.exp}: New files.
21848 * configure.in: add new test directory gdb.trace.
21849 * gdb.trace/{configure configure.in Makefile.in}: New files.
21850 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21851 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21852 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21853 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21854 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21855 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21856 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21857
21858 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
21859
21860 * gdb.c++/classes.exp: Change all regular expressions to match
21861 arbitrary combinations of newline/carriage-return, so that they
21862 will work equally well on Unix and Windows.
21863 * gdb.c++/inherit.exp: ditto.
21864 * gdb.c++/virtfunc.exp: ditto.
21865
21866 1998-08-11 Dawn Perchik <dawn@cygnus.com>
21867
21868 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21869
21870 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21871
21872 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21873 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21874 to use a0-a3/d0-d3 as needed.
21875
21876 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21877
21878 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21879 * gdb.disasm/am33.exp: Corresponding changes.
21880
21881 1998-07-11 Felix Lee <flee@cygnus.com>
21882
21883 * gdb.base/callfuncs.exp: add cmp10 test.
21884 * gdb.base/callfuncs.c (cmp10): new function.
21885
21886 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21887
21888 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21889 into two parts to get around a synchronization problem in expect.
21890
21891 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21892
21893 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21894
21895 * configure.in: Add options for gdbtk testsuite.
21896
21897 * configure: Regenerate.
21898
21899 * gdb.gdbtk: New directory to hold gdbtk tests.
21900
21901 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21902
21903 * gdb.fortran/types.exp: Escape brackets in expect patterns
21904 for test_float_literal_types_accepted tests.
21905 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21906 before run test.
21907
21908 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21909
21910 * am33.exp: Just compile, do not link the testcase.
21911 * am33.s: Add ".am33" pseudoop to force am33 mode.
21912
21913 1998-06-25 Felix Lee <flee@cygnus.com>
21914
21915 * gdb.base/setshow.exp: make sure $pc is sane.
21916
21917 * gdb.stabs/weird.exp: split expect patterns properly.
21918
21919 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21920
21921 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21922 * gdb.disasm/am33.exp: Run it.
21923
21924 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
21925
21926 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21927 match processing (and eliminate spurious timeouts when running).
21928
21929 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
21930
21931 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21932 exception test, but conditionalize it on target [mach | gnu].
21933
21934 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
21935
21936 * gdb.base/overlays.exp: fixup compile line for linker script.
21937
21938 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21939
21940 * gdb.fortran/types.exp: don't guess at float size.
21941
21942 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21943
21944 * gdb.base/exprs.exp: delete test that depends on int size.
21945
21946 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21947
21948 * config/sim.exp: Removed checks for target triplets.
21949 (gdb_target_sim): Use gdb,target_sim_options.
21950
21951 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21952
21953 * gdb.base/reread.exp: New file.
21954 * gdb.base/reread1.c: New file.
21955 * gdb.base/reread2.c: New file.
21956
21957 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21958
21959 * config/sim.exp: Use 'target sim -sparclite' when running
21960 SPARClite programs.
21961
21962 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21963
21964 * gdb.base/structs2.exp: New file.
21965 * gdb.base/structs2.c: New file.
21966
21967 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21968
21969 * gdb.asm/common.inc: New file.
21970 * gdb.asm/d10v.inc: New file.
21971 * asm-source.exp: Pass -I's to gas to find .inc files.
21972 Update line numbers in expected output.
21973 * asmsrc1.s: Rewrite.
21974 * asmsrc2.s: Rewrite.
21975 * configure.in: Create arch.inc symlink.
21976 * configure: Regenerate.
21977 * Makefile.in (distclean): Delete arch.inc.
21978
21979 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21980
21981 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
21982 (t_enum_value2): ditto
21983 (t_enum_value3): ditto
21984 (main): ditto
21985 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21986
21987 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21988 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21989 change.
21990 Use gdb_test instead of send_gdb/gdb_expect sequences.
21991
21992 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21993
21994 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21995 not void.
21996
21997 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21998
21999 * gdb.base/branches.c: Code with lots of loops and
22000 subroutines. Used to test gdbs ability to single step through PC
22001 changes, especially to test mips-tdep.c:mips_next_pc
22002
22003 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
22004
22005 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
22006 more rigorous EGCS C++ error checking.
22007
22008 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22009
22010 * gdb.base/help.exp: Clean up `help set args' and `help show args'
22011 tests.
22012 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
22013 function when asleep.
22014 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
22015 for i*86 Linux and SVR4 signal handling problems.
22016 Remove linux xfail for `next to handler in signals_tests_1', fixed
22017 by recent infrun.c change.
22018 Limit backtrace to 10 frames to avoid timeout problems with infinite
22019 stack backtraces.
22020 Adjust expect pattern in `handle all print' test to match Apr 28 1997
22021 target.[ch] change.
22022
22023 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
22024
22025 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
22026 for a newline from gdb before continuing.
22027 (default_gdb_exit): Just look for y or n.
22028 (gdb_test): Detect abnormal exit from GDB running on DOS; if
22029 it does, fail the rests of the tests in the file.
22030
22031 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
22032
22033 * config/cygmon.exp: New file.
22034
22035 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
22036
22037 * gdb.base/list.exp: Fix problem with "list default lines around
22038 main" test on remote targets.
22039
22040 * gdb.base/scope.exp: Fix problem with filelocal_bss before
22041 run test on remote targets.
22042
22043 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
22044
22045 * gdb.asm: New directory.
22046 * configure.in: Configure it.
22047 * configure: Regenerate.
22048 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
22049 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
22050
22051 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
22052
22053 * config/mn10300-eval.exp: New file to support MN10300 eval board.
22054
22055 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
22056
22057 * gdb.base/overlays (several files): Merge the two overlay
22058 managers into one. Change variables (foox, barx, bazx, grbxx)
22059 back into ints but force them to load in their proper sections.
22060
22061 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
22062
22063 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
22064 on-chip insn memory and IMAP1 to upper 128k.
22065 (D10VCopy): Handle memory regions crossing 16k boundaries.
22066 (D10VCopy): Transfer data in 32 bit chunks.
22067
22068 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
22069
22070 * gdb.base/overlays.c (main): Exit normally when result is
22071 correct.
22072
22073 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
22074 map. Include space for printf in .text segment.
22075
22076 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
22077 updated d10v memory VMA/LMA map.
22078 (D10VCopy): Call D10VTranslate.
22079
22080 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
22081
22082 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
22083
22084 * gdb.base/bar.c (barx, bar): Change variable to small array so
22085 that it won't be put into the .sdata - small data -
22086 section. Update reference.
22087 * gdb.base/baz.c (bazx, baz): Ditto.
22088 * gdb.base/foo.c (foox, foo): Ditto.
22089 * gdb.base/grbx.c (grbxx, grbx): Ditto.
22090
22091 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
22092 to be arrays.
22093
22094 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
22095
22096 * gdb.base/overlays.exp: fix up and get working again.
22097 Add tests for backtraces from an overlay function.
22098
22099 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
22100
22101 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
22102 "calling function with watchpoint enabled".
22103
22104 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
22105
22106 * gdb.base/break.exp (test_next_with_recursion): Remove
22107 gdb_suppress_tests for d10v-*-*.
22108 * lib/gdb.exp (gdb_suppress_tests): Disable this function
22109 pending review of whether it is useful or not.
22110
22111 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
22112
22113 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
22114
22115 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
22116
22117 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
22118 * config/dve.exp: New file to support Densan boards.
22119
22120 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
22121
22122 * gdb.base/interrupt.exp: Document problem of simulators, signals,
22123 reads and BSD.
22124
22125 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
22126
22127 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
22128 response.
22129
22130 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
22131
22132 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
22133
22134 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
22135 test.
22136
22137 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
22138 target_sizeof_long and target_bigendian_p.
22139 (structs_by_value, structs_by_reference): Check values according
22140 to targets word size and endianess.
22141
22142 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
22143
22144 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
22145 output.
22146
22147 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
22148
22149 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
22150 Update test of set args help to match source change.
22151
22152 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
22153
22154 * gdb.base/default.exp: Expect help system output to be in
22155 alphabetical order.
22156 * gdb.base/help.exp: Ditto.
22157
22158 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
22159
22160 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
22161 "i*86-pc-linux-gnu*".
22162 * gdb.base/interrupt.exp: Ditto.
22163 * gdb.base/corefile.exp: Ditto.
22164
22165 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
22166 define vxworks when building the testcase.
22167
22168 * gdb.base/ptype.exp: Fix testnames to be unique.
22169 * gdb.base/radix.exp: Ditto.
22170 * gdb.base/term.exp: Ditto.
22171 * gdb.base/whatis.exp: Ditto.
22172 * gdb.c++/classes.exp: Ditto.
22173
22174 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
22175
22176 * gdb.base/callfuncs.exp: Fix indentation.
22177
22178 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
22179 suppress_flag has been set.
22180 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
22181 target feature.
22182
22183 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
22184
22185 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
22186 the testcase.
22187
22188 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
22189 set_debug_traps() and breakpoint().
22190 * gdb.c++/misc.cc (main): Ditto.
22191 * gdb.c++/templates.cc (main): Ditto.
22192 * gdb.c++/virtfunc.cc (main): Ditto.
22193
22194 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
22195
22196 * lib/gdb.exp(gdb_step_for_stub): New function.
22197 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
22198 exists, reload the executable and do a "continue" instead of
22199 doing a jump.
22200 (runto_main): Use gdb_step_for_stub.
22201
22202 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
22203 tests to have unique names.
22204 * gdb.base/callfuncs.exp: Ditto.
22205 * gdb.base/commands.exp: Ditto.
22206 * gdb.base/default.exp: Ditto.
22207 * gdb.base/help.exp: Ditto.
22208 * gdb.base/list.exp: Ditto.
22209 * gdb.base/opaque.exp: Ditto.
22210 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22211 similar tests.
22212
22213 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22214 * gdb.c++/cplusfuncs.cc: Ditto.
22215 * gdb.c++/virtfunc.cc: Ditto.
22216
22217 * config/monitor.exp: Keep track of the last file we saw, rather
22218 than trying to get the info from gdb.
22219
22220 * gdb.fortran/types.exp: Move comment to previous line.
22221
22222 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22223
22224 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
22225 target mode.
22226
22227 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22228
22229 From Bob Manson:
22230 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
22231 string from GDB when it connects.
22232
22233 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22234
22235 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22236
22237 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
22238 if we can't get a debug format from GDB (we may be testing an
22239 older GDB). Use a 10 second timeout when checking for the format.
22240
22241 * gdb.stabs/weird.exp: Fix quoting.
22242
22243 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22244
22245 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22246
22247 * config/arm-ice.exp: New file.
22248
22249 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22250
22251 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
22252 until it has been modified to work with the new testsuite.
22253
22254 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
22255 testcase won't compile, cause all of the testcases in the file to
22256 fail instead.
22257
22258 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22259 (gdb_clear_suppressed): New procedure.
22260 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22261 it contains a positive value.
22262
22263 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22264
22265 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22266
22267 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22268
22269 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22270
22271 * lib/gdb.exp (setup_xfail_format): New function.
22272 (get_debug_format): New function to get debug format.
22273 (debug_format): New global variable to hold last value set
22274 by get_debug_format.
22275 * gdb.base/list.exp: Call get_debug_format and expect some
22276 tests to fail for DWARF 1 and COFF formats.
22277 * gdb.c++/ptype.exp: Ditto.
22278 * gdb.c++/classes.exp: Ditto.
22279 * gdb.c++/cplusfuncs.exp: Ditto.
22280 * gdb.c++/inherit.exp: Ditto.
22281 * gdb.c++/templates.exp: Ditto.
22282 * gdb.c++/virtfunc.exp: Ditto.
22283
22284 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22285
22286 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22287 host doesn't have a currently-open connection.
22288
22289 * config/sparclet.exp: Cleanups and fixes to make it generic for
22290 any gdb stub target. Handle cases where gdb doesn't respond when
22291 interrupted in a sane fashion.
22292
22293 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
22294 same thing in a totally different way.
22295
22296 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
22297 setting "timeout".
22298 (gdb_start): We set the global gdb_prompt variable in
22299 default_gdb_init now.
22300
22301 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22302
22303 * gdb.base/printcmds.exp: Fix "check for floating addition"
22304 regexp to accept results within approx +/- .01 of exact value.
22305 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22306
22307 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22308
22309 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
22310 properly.
22311 (gdb_expect): Add optional timeout parameter, and add timeout
22312 value to various calls.
22313 (gdb_suppress_tests): Only give one warning message per group.
22314
22315 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22316
22317 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
22318 global variables. Handle getting a value for $timeout more
22319 gracefully.
22320
22321 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22322
22323 * lib/gdb.exp: Close connection to remote host if gdb doesn't
22324 initialize.
22325 (default_gdb_init): New procedure; allow gdb_init to be overridden
22326 by a target configuration file.
22327 (gdb_expect): Pass the timeout to remote_expect.
22328
22329 * config/monitor.exp(gdb_load): Fix typo in regexp.
22330
22331 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22332
22333 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22334
22335 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22336
22337 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
22338 here. Call gdb_target_exec before rebooting the target, to make
22339 sure the connection to the target is closed.
22340 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22341 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22342 Also detect "Timeout reading from remote" error.
22343
22344 * config/gdbserver.exp: Pass the executable being loaded to
22345 gdb_target_monitor. Don't call gdb_file_cmd here; let
22346 gdb_target_monitor do it.
22347
22348 * gdb.disasm/hppa.exp: Don't use exec_output.
22349
22350 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22351
22352 * gdb.base/list.exp: If we're debugging a non-native target,
22353 try to set the pc register to point to the start of the
22354 program before doing the first list command.
22355
22356 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
22357 test_calls after restarting.
22358
22359 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
22360 reloading.
22361
22362 * gdb.base/watchpoint.exp: Fix typo.
22363
22364 * gdb.base/setshow.exp: Check for use_gdb_stub.
22365
22366 * gdb.base/break.exp: Fix continue until exit test for the gdb
22367 stub case.
22368 * gdb.base/langs.exp: Ditto.
22369
22370 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
22371 gdb_load_offset. If we weren't given a file to load, figure out
22372 what the current file is and use it.
22373
22374 * config/i386-bozo.exp: New file.
22375
22376 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22377
22378 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22379 feature.
22380
22381 * config/proelf.exp: New entry.
22382
22383 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22384
22385 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22386 of regexps.
22387
22388 * gdb.base/watchpoint.exp: Don't run the test_stepping
22389 tests if gdb can't call functions on the target.
22390
22391 * gdb.base/setshow.exp: Don't run the set prompt tests if
22392 the board has gdb_prompt set.
22393
22394 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22395
22396 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22397 * gdb.base/commands.exp: Likewise.
22398 * gdb.base/setshow.exp: Likewise.
22399
22400 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22401
22402 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22403 feature.
22404
22405 * config/i960.exp: New file.
22406
22407 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22408
22409 * gdb.base/funcargs.exp: Check for gdb,short_int target
22410 feature instead of looking for explicit target triplets.
22411
22412 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
22413
22414 * gdb.base/printcmds.exp: add a couple more tests a la
22415 "p 123DEADBEEF", to check parse_number.
22416 * top.c: change "to enable to enable" to "to enable" in a couple
22417 of help strings.
22418
22419 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22420
22421 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22422 on the mn10300.
22423
22424 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22425
22426 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22427 where the test executable is run with explicit args.
22428 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22429
22430 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22431
22432 * gdb.base/run.c: Use FAKEARGV to build test executable that
22433 does not require a command line arg, since most simulators
22434 don't currently support passing such an arg into the simulated
22435 program.
22436 * gdb.base/commands.exp: Change tests to insert the proper
22437 value as the arg to the first recursive factorial call. Change
22438 compilation line to define FAKEARGV at compile time.
22439
22440 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22441
22442 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22443 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22444 function with watchpoint enabled" test.
22445
22446 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22447
22448 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
22449 Don't call gdb_test when the command doesn't return to a gdb prompt.
22450
22451 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
22452 "Tests restarted" messages.
22453
22454 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22455
22456 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22457
22458 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
22459
22460 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22461 for INFO SYMBOL; add help tests for OVERLAY commands.
22462 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22463 add tests for OVERLAY commands
22464 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22465 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22466 * gdb.base/sigall.c: add usestubs code frag
22467 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
22468
22469 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22470
22471 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22472 failures.
22473 (gdb_stop_suppressing_tests): Note that tests have restarted.
22474
22475 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22476
22477 * config/h8300.exp: New file.
22478
22479 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22480
22481 * gdb.base/setshow.exp: Check for the existence of a
22482 feature, not its value.
22483
22484 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22485
22486 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22487
22488 * gdb.base/scope.exp: It's now init0(), not init().
22489
22490 * gdb.base/scope0.c: For now, change init() to be init0().
22491
22492 * config/monitor.exp: Use gdb_serial in preference to serial
22493 or netport.
22494
22495 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
22496 and it's not already set.
22497
22498 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22499
22500 * gdb.base/setshow.exp: Only test the run command if the target
22501 isn't using a stub and if it supports argument passing.
22502
22503 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22504
22505 * config/udi.exp(gdb_start): Make sure UDICONF is set
22506 properly before starting gdb.
22507
22508 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22509
22510 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22511 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22512 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22513
22514 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22515
22516 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
22517 specialized code to reboot the board, use remote_reboot instead.
22518
22519 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22520
22521 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22522
22523 * config/monitor.exp: Make sure we disconnect from the target.
22524 Also, try a reboot/reload cycle instead of failing if the
22525 load fails.
22526
22527 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22528
22529 * gdb.base/default.exp: Don't set match_max.
22530 * gdb.base/help.exp: Ditto.
22531 * gdb.base/list.exp: Ditto.
22532 * gdb.base/signals.exp: Ditto.
22533
22534 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22535 set, use remote_ld to download the testcase instead of
22536 the GDB loader.
22537
22538 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22539
22540 * config/vr5000.exp: New file.
22541
22542 * config/monitor.exp(gdb_target_monitor): Add pattern for
22543 "Ending remote" to detect errors in connecting.
22544
22545 * gdb.base/setshow.exp: Add .* within auto language test.
22546
22547 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22548 target feature.
22549
22550 * config/monitor.exp(gdb_load): Check for a failure when loading,
22551 and reboot the board if necessary.
22552
22553 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22554 a set of tests. Remove print.* from the patterns being checked.
22555
22556 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22557
22558 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22559 refer to gdb_spawn_id.
22560
22561 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22562 longer used.
22563 * config/sparclet.exp: Ditto.
22564 * config/sparclet-old.exp: Ditto.
22565 * config/slite.exp: Ditto.
22566 * config/sim.exp: Ditto.
22567 * gdb.base/funcargs.exp: Ditto.
22568
22569 * lib/gdb.exp:Remove references to gdb_spawn_id.
22570 (gdb_expect): Move to remote.exp.
22571
22572 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22573
22574 * config/monitor.exp: Detect the "Couldn't establish connection"
22575 message from GDB.
22576
22577 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22578
22579 * gdb.base/bitfields.exp: Use runto instead of explicit
22580 gdb_run_cmd/gdb_expect sequences.
22581
22582 * gdb.base/break.exp(text_next_with_recursion): Add match for
22583 gdb_expect call.
22584
22585 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22586 We also need to handle the "A program is being debugged already"
22587 prompt from gdb. Use gdb_test to set the baud rate.
22588
22589 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22590 to 20000. Really. I mean it.
22591
22592 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22593
22594 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
22595 fails. If suppress_flag is set, skip perror message about not
22596 being able to send to GDB.
22597 (send_gdb): If suppress_flag is set, don't try to send commands to
22598 GDB.
22599 (gdb_expect): If suppress_flag is set, always fail immediately.
22600 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22601 (gdb_init): Call gdb_stop_suppressing_tests.
22602 (default_gdb_exit): Ditto.
22603 (default_gdb_start): Ditto.
22604
22605 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
22606 gdb_stop_suppressing_tests as appropriate.
22607 * gdb.base/break.exp: Ditto.
22608 * gdb.base/callfuncs.exp: Ditto.
22609 * gdb.base/commands.exp: Ditto.
22610 * gdb.base/exprs.exp: Ditto.
22611 * gdb.base/funcargs.exp: Ditto.
22612 * gdb.base/list.exp: Ditto.
22613 * gdb.base/recurse.exp: Ditto.
22614 * gdb.base/scope.exp: Ditto.
22615 * gdb.base/structs.exp: Ditto.
22616 * gdb.c++/inherit.exp: Ditto.
22617
22618 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22619
22620 * config/vr4300.exp: New file.
22621
22622 * gdb.*/*.exp: Call gdb_expect instead of expect.
22623
22624 * lib/gdb.exp(gdb_expect): New function.
22625
22626 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22627
22628 * lib/gdb.exp(gdb_init): New function.
22629
22630 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
22631 for each individual variable set.
22632
22633 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22634 name.
22635
22636 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22637
22638 * gdb.base/scope.exp: Use gdb_test.
22639
22640 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22641 aborting; the testsuite driver will do that for us (see
22642 gdb_finish). Also, use gdb_test in a few more places.
22643
22644 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22645
22646 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22647
22648 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22649
22650 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22651 and "add_tests" are not at the same address.
22652
22653 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22654
22655 * gdb.base/ptype.exp: Use gdb_test.
22656
22657 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22658
22659 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22660 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22661 left in. No longer expect them to fail.
22662
22663 * gdb.stabs/*.mt; Deleted, no longer used.
22664 * gdb.stabs/configure.in: Remove references to target makefile
22665 frags.
22666 * gdb.stabs/configure: Rebuilt.
22667
22668 * gdb.disasm/*.mt: Deleted, no longer used.
22669 * gdb.disasm/configure.in: Remove references to target makefile
22670 frags. Use "sh3.s" as the unique filename for this directory.
22671 * gdb.disasm/configure: Rebuilt.
22672
22673 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22674 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22675 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22676
22677 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22678
22679 * config/udi.exp: Use mondfe,name instead of remote_host.
22680
22681 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22682
22683 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22684 a function with a watchpoint enabled on the mn10200.
22685
22686 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22687 before trying to create it!
22688
22689 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22690
22691 * config/vx.exp: Use hostname instead of netport.
22692
22693 * config/vxworks.exp: New file.
22694
22695 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22696
22697 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
22698 gdb before assuming everything worked. Send a ^C if a timeout
22699 occurs.
22700
22701 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22702 $gdb_spawn_id directly.
22703 (gdb_run_cmd): Try _start as well as start. Use the target feature
22704 gdb,start_symbol as the symbol to start from when jumping.
22705
22706 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22707
22708 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22709 redundant) test.
22710
22711 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22712 it doesn't lose for 16bit integer systems.
22713
22714 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22715
22716 * gdb.fortran/types.exp: If the target doesn't support "double"
22717 data types, then expect "real" types to only be 4 bytes.
22718
22719 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22720 call tests if the target doesn't support inferior function calls.
22721
22722 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22723 in printf tests.
22724
22725 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22726
22727 * gdb.base/help.exp: Disable "help set", "help show", and
22728 "help support". Simplify regexp for "help stack".
22729
22730 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22731 to 60 seconds. Temporarily set match_max to 15000 around the
22732 "info copying" test.
22733
22734 * gdb.base/nodebug.exp: Don't try to do an inferior function
22735 call if the target doesn't support them.
22736 * gdb.base/printcmds.exp: Likewise.
22737 * gdb.base/setvar.exp: Likewise.
22738 * gdb.base/structs.exp: Likewise.
22739 * gdb.c++/templates.exp: Likewise.
22740 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22741
22742 * gdb.base/recurse.exp: Enable for the mn10200.
22743
22744 * configure.in: Do configure gdb.stabs directory for *-*-elf
22745 targets.
22746 * configure: Rebuilt.
22747
22748 * gdb.base/break.exp: Check for gdb,noresults before testing
22749 exit status and/or results from the target.
22750 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22751 * lib/gdb.exp: Remove old (now bogus) initialization of
22752 noinferior, noargs, noresults and nosignals.
22753
22754 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22755
22756 * config/sh.exp: New file.
22757
22758 * config/slite.exp: Try to connect multiple times to the board
22759 before rebooting. Only send a "monitor run" if need_monitor_run
22760 is set.
22761
22762 * gdb.base/break.exp: Don't do the "stub continue" test if
22763 the target has gdb_stub set.
22764
22765 * gdb.base/callfuncs.exp: Increase the timeout.
22766
22767 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22768 if the target has gdb,noinferiorio set.
22769
22770 * gdb.base/list.exp: Increase match_max to 10000 characters.
22771
22772 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22773
22774 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22775 target.
22776
22777 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22778
22779 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22780
22781 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
22782 trying to delete the copy of gdb. Catch the file delete so we
22783 don't die if the delete fails; also, the file should be copied to
22784 the host, not to the build.
22785
22786 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22787
22788 * lib/gdb.exp(gdb_test): Surround the result pattern with
22789 parenthesis in case it contains multiple regexps separated
22790 with |.
22791
22792 * gdb.base/watchpoint.exp: Use gdb_test.
22793 * gdb.base/default.exp: Ditto.
22794
22795 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22796
22797 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
22798
22799 * gdb.base/scope.exp: Use gdb_test.
22800 * gdb.c++/classes.exp: Ditto.
22801 * gdb.c++/inherit.exp: Ditto.
22802
22803 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22804
22805 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22806 remote_exec instead.
22807 * gdb.base/corefile.exp: Don't be ridiculous.
22808 * gdb.base/*.c: Add missing stub invocations.
22809
22810 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22811
22812 * config/slite.exp: Miscellaneous fixes.
22813
22814 * lib/gdb.exp: Fix runto.
22815
22816 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22817 the target.
22818
22819 * gdb.base/watchpoint.exp: Fix regexp.
22820
22821 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22822 close and wait commands, as the descriptor may now be
22823 invalid. Always call "remote_close host".
22824
22825 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22826
22827 Major rewrite for testsuite revision.
22828
22829 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22830 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22831 instead of relying on spawn_id to always contain a valid
22832 spawn id.
22833 (get_compiler_info): New procedure to build the ${binfile}.ci
22834 file, instead of replicating this in N different places.
22835 (gdb_compile): New procedure.
22836
22837 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22838 appropriate arguments) instead of compile. Use gdb_test in a lot
22839 more places. Use send_gdb instead of send. Always run gdb_start
22840 at the start of a testcase, as this is no longer done magically.
22841
22842 config/*-gdb.exp: Rename without the -gdb suffix.
22843
22844 config/mips.exp: Use remote_close instead of exit_remote_shell.
22845 config/monitor.exp: Use target_info instead of looking at
22846 baud, timeout, etc.
22847 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22848
22849 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22850
22851 * gdb.c++/templates.exp (test_ptype_of_templates),
22852 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22853 Update expect patterns for destructors and assignment operators
22854 to match corresponding c-typeprint.c changes.
22855 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22856 to destructor breakpoint test, GDB should be able to set the
22857 destructor breakpoint without specifying arguments.
22858
22859 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22860
22861 * gdb.threads/pthreads.exp: Change result for failure to compile due
22862 to lack of pthreads runtime support from an error to simply an
22863 unsupported test, per dejagnu standards.
22864
22865 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22866
22867 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22868 where GDB exits to reduce pattern match time.
22869 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22870
22871 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22872
22873 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
22874
22875 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22876 * gdb.base/default.exp: ditto.
22877 * gdb.base/nodebug.exp: ditto.
22878 * gdb.base/printcmds.exp: ditto.
22879 * gdb.base/ptype.exp: ditto.
22880 * gdb.base/setvar.exp: ditto.
22881 * gdb.base/structs.exp: ditto.
22882 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22883
22884 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22885
22886 * configure, */configure: Rebuild with autoconf 2.12.
22887
22888 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22889
22890 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22891 use new i*86-pc-linux*-gnu quads.
22892 * gdb.base/corefile.exp: Ditto.
22893 * gdb.base/signals.exp: Ditto.
22894 * gdb.base/sigall.exp: Ditto.
22895 * gdb.base/interrupt.exp: Ditto.
22896
22897 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22898 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22899 RedHat 4.0.
22900
22901 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22902 linux. This allows the test case to at least compile on latest
22903 linux, but still not run due to missing the threads runtime library.
22904
22905 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22906
22907 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22908 directory to search gdb directory. Accept and step over conditional
22909 stack alignment code. Consume $prompt in failure cases.
22910 Reset timeout to $oldtimeout instead of some arbitrary value.
22911 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22912 timeout problems with infinite stack backtraces.
22913 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22914 Accept function parameters for linkfunc member.
22915
22916 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22917
22918 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22919 (CXXFLAGS): Remove, unreferenced.
22920 (B_OPTIONS): Add for -B options and add code to initialize with
22921 previous -B options and also add -B option to pick up cross compiled
22922 runtime.
22923 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22924 doing cross compiles.
22925 (target_alias): Declare global.
22926 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22927 to verify that gcc exists in build tree, and if so set CC to that
22928 gcc and to use B_OPTIONS and TARGET_INCLUDES.
22929
22930 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22931
22932 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22933 ptype test for anonymous union. Fixup testcase to match
22934 current gcc debug output.
22935
22936 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22937
22938 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22939 force argument to an unsigned long type.
22940
22941 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22942
22943 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22944 tests and anonymous union print/ptype tests.
22945 * gdb.base/list.exp (test_forward-search): Increase timeout by
22946 5 minutes for the "search extremely long line" case.
22947 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22948 completely optional and that the pass/fail messages use the command as
22949 the message if that third arg is a null string.
22950 (gdb_test_exact): Arrange that a null string pattern means match a
22951 null string output rather than any output, which might include random
22952 errors.
22953 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22954 backtrace test.
22955 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22956 always failing and failure is now exposed by gdb.exp changes.
22957
22958 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22959
22960 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22961 weren't being noted.
22962
22963 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22964
22965 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22966 * gdb.stabs/weird.exp: Remove v_comb xfails.
22967
22968 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
22969
22970 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22971 list.exp scope.exp watchpoint.exp]
22972 Make all timeout error msgs explicitly say "(timeout)".
22973
22974 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
22975
22976 * config/monitor.exp: Increase download timeout to 1000 seconds.
22977
22978 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
22979
22980 * config/m32r.exp: Increase timeout to 120 seconds.
22981
22982 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22983
22984 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22985 and accept older ordering as obsolescent gcc or gdb.
22986 * gdb.c++/templates.exp: Ditto.
22987 * gdb.c++/virtfunc.exp: Ditto.
22988
22989 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22990
22991 * gdb.base/coremaker.c: Add code to mmap some data so we
22992 can check that it ends up in the core file.
22993 * gdb.base/corefile.exp: Add test to read mmapped data
22994 from core file.
22995
22996 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
22997
22998 * config/m32r.exp: New file.
22999
23000 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
23001
23002 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
23003 that cflags can contains -gstabs, and work correctly for other tests.
23004
23005 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
23006
23007 * gdb.base/setshow.exp: New file, tests show and set.
23008 * gdb.base/setshow.c: New file, tests show and set.
23009 * gdb.base/help.exp: Add test for help set|show annotate.
23010 * gdb.base/default.exp: Add test for set|show annotate.
23011
23012 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
23013
23014 * testsuite/gdb.base/break.exp: Make backtrace from factorial
23015 errors unique.
23016 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
23017 explicitly.
23018
23019 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
23020
23021 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
23022 and width commands. This is done elsewhere.
23023 * (gdb_start): Don't call gdb_start_sim here. That's already
23024 done in gdb_load. This fixes lots of failures in default.exp.
23025
23026 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
23027
23028 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
23029 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
23030 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
23031 in the same we we treat other failures (since it may be an expected
23032 condition), rather than as an error.
23033 * gdb.base/signals.exp (test_handle_all_print): Revert back to
23034 old test format.
23035
23036 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
23037
23038 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
23039 (distclean maintainer-clean realclean): No need to remove files
23040 twice. Nuke the duplicates.
23041 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
23042 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
23043 Remove config.h along with other config files.
23044
23045 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
23046
23047 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
23048 "p func1 ()" and note that rests of tests are skipped.
23049 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
23050 setup_xfails for "print func2::coremaker_local".
23051 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
23052 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
23053 affected by the previous run test.
23054 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
23055 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
23056 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
23057 "pass int powerset tuple" and "pass modeless int powerset tuple".
23058 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
23059 "real write 4" and "real write 8".
23060 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
23061 setup_xfails for "print vs1 after tuple assign 2",
23062 "print \$i after tuple assign 2", and
23063 "print vs2 after tuple assign 2".
23064 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
23065 meaningful error message and return -1 so the caller can
23066 suppress further tests and avoid a cascade of errors.
23067
23068 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
23069
23070 * gdb.base/a1-selftest.exp: Tweak tests to account for new
23071 format for printing version.
23072 * gdb.base/default.exp: Ditto.
23073 * gdb.base/interrupt.exp: Fix problem with cascade of
23074 errors if child process dies while calling a function.
23075
23076 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
23077
23078 * Makefile.in (VPATH): Add
23079 * Makefile.in (Makefile, config.status): Fix rules so things get
23080 remade when necessary.
23081
23082 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
23083
23084 * Makefile.in (just-check): Add path to sibling expect dir
23085 to environment variable specified by RPATH_ENVVAR.
23086
23087 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
23088
23089 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
23090 (just-check): Add shared library paths for libstdc++, tk,
23091 tcl, bfd, and opcodes to the environment variable specified
23092 in RPATH_ENVVAR.
23093 * configure.in: Add support to recognize --enable-shared flag
23094 and generate correct value for RPATH_ENVVAR.
23095 * configure: Regenerated with autoconf.
23096
23097 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
23098
23099 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
23100 include all osf versions.
23101 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
23102 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
23103 when target is linux. When failing to build pthreads test
23104 executable, give more meaningful message.
23105 * gdb.threads/pthreads.c: Hpux also uses old definition of second
23106 arg for pthread_create.
23107
23108 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
23109
23110 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
23111 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
23112 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
23113 and -lpthreads (everybody else).
23114 (test_startup): Fail gracefully if threads are not supported.
23115 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
23116 "p/c array_index("abcdef",2)" when not gcc compiled.
23117 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
23118 "print func2::coremaker_local" when not gcc compiled.
23119 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
23120 "ptype on opaque struct tagname (statically)",
23121 "ptype on opaque struct tagname (dynamically) 1", and
23122 "ptype on opaque struct tagname (dynamically) 2"
23123 for not compiled with gcc.
23124 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
23125 backtrace when compiled with gcc.
23126 * lib/gdb.exp (runto_main): Return result of "runto main" rather
23127 than always return success.
23128
23129 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
23130
23131 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
23132
23133 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
23134
23135 * gdb.base/structs.exp: Undo last change.
23136
23137 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
23138
23139 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
23140 encapsulate all the steps/nexts done during self test, starting
23141 at main, and makes them less sensitive to optimization issues.
23142 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
23143 signal handler" test.
23144 * gdb.threads/pthreads.exp: Only run this for native configs.
23145 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
23146 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
23147 tests.
23148 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
23149 for "runto test_calls(void)" test.
23150
23151 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
23152
23153 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
23154 and don't expect address info in breakpoint confirmations.
23155
23156 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
23157
23158 * gdb.base/list.exp (test_forward_search): Increase timeout
23159 temporarily by 60 seconds for searching extremely long line,
23160 and then reset to old value when done. Increase expect input
23161 buffer to 10000.
23162
23163 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
23164
23165 * gdb.base/list.exp (test_forward_search): Fix to handle very
23166 long source line without overflowing expect's input buffer.
23167
23168 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
23169
23170 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
23171 "buffer_full".
23172
23173 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
23174 "buffer_full".
23175
23176 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
23177 "buffer_full".
23178
23179 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
23180 "buffer_full".
23181
23182 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
23183
23184 * configure.in (configdirs): Add gdb.threads.
23185 * configure: Regenerated with autoconf.
23186 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
23187 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
23188 * gdb.threads/configure: New, generated with autoconf.
23189
23190 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
23191
23192 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
23193
23194 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
23195
23196 * gdb.base/signals.exp (test_handle_all_print): Test separately for
23197 each signal's status in the output of "handle all print".
23198 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
23199 the \r\n sequence that immediately precedes the gdb prompt.
23200 * gdb.base/a1-selftest.exp: Save original timeout and restore
23201 after test.
23202
23203 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
23204
23205 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
23206 symbol.
23207
23208 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23209
23210 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23211
23212 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23213
23214 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23215 timeout by 60 seconds.
23216
23217 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23218
23219 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23220 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23221 error return.
23222
23223 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23224
23225 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23226 gdb initialization, also report how long dejagnu waited. Restore
23227 old timeout before doing error return. Temporarily increase timeout
23228 by 3 minutes to allow for slow startups over heavy NFS use.
23229
23230 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23231
23232 * lib/gdb.exp: Report timeout value for verbosity level 2.
23233 * config/gdbserver.exp: Ditto.
23234 * config/hppro.exp: Ditto.
23235 * config/mips-gdb.exp: Ditto.
23236 * config/monitor.exp: Ditto.
23237 * config/netware.exp: Ditto.
23238 * config/sim-gdb.exp: Ditto.
23239 * config/slite-gdb.exp: Ditto.
23240 * config/udi-gdb.exp: Ditto.
23241 * config/unix-gdb.exp: Ditto.
23242 * config/vx-gdb.exp: Ditto.
23243 * gdb.base/a1-selftest.exp: Ditto.
23244 * gdb.base/a2-run.exp: Ditto.
23245 * gdb.base/break.exp: Ditto.
23246 * gdb.base/corefile.exp: Ditto.
23247 * gdb.base/list.exp: Ditto.
23248 * gdb.base/recurse.exp: Ditto.
23249 * gdb.base/scope.exp: Ditto.
23250 * gdb.base/signals.exp: Ditto.
23251
23252 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23253
23254 * gdb.threads/Makefile.in (docdir): Removed.
23255
23256 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23257
23258 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
23259 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
23260 @srcdir@.
23261 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
23262 autoconf 2.5 or higher.
23263 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23264
23265 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23266
23267 * configure: Regenerated.
23268 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23269 avoid name clashes with SunOS headers.
23270
23271 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23272
23273 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23274
23275 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23276
23277 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23278 prototype information ends up in the compiler info file.
23279
23280 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23281
23282 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23283 attempting to regenerate it. Eliminate use of a temporary file
23284 and just generate the info file directly. Source it immediately,
23285 for consistency of use.
23286 * gdb.base/corefile.exp: Ditto
23287 * gdb.base/exprs.exp: Ditto.
23288 * gdb.base/funcargs.exp: Ditto.
23289 * gdb.base/langs.exp: Ditto.
23290 * gdb.base/list.exp: Ditto.
23291 * gdb.base/mips_pro.exp: Ditto.
23292 * gdb.base/nodebug.exp: Ditto.
23293 * gdb.base/opaque.exp: Ditto.
23294 * gdb.base/ptype.exp: Ditto.
23295 * gdb.base/scope.exp: Ditto.
23296 * gdb.base/setvar.exp: Ditto.
23297 * gdb.base/signals.exp: Ditto.
23298 * gdb.base/whatis.exp: Ditto.
23299 * gdb.c++/templates.exp: Ditto.
23300 * gdb.c++/virtfunc.exp: Ditto.
23301 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
23302 whether or not to add -lstdc++ to the compile command line args.
23303
23304 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23305
23306 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23307 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23308 Increase timeout, a lot of single stepping might be needed if the
23309 target has no hardware watchpoints.
23310
23311 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23312
23313 * gdb.base/break.exp: Ignore compiler warnings when compiling
23314 break.c.
23315 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23316 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23317 from remote-sim.
23318 * gdb.base/exprs.exp: Add h8300 xfails.
23319 * gdb.base/funcargs.exp: Likewise.
23320 * gdb.base/nodebug.exp: Likewise.
23321 * gdb.base/printcmds.exp: Likewise.
23322 * gdb.base/ptype.exp: Likewise.
23323 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23324 h8300 xfails.
23325 * gdb.base/return.exp: Handle float/double precision problems
23326 on the h8300.
23327 * gdb.base/funcargs.c: Explicitly make last constant argument to
23328 call_after_alloca_subr an unsigned long type.
23329 * gdb.base/return.c: Include stdio.h.
23330
23331 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23332
23333 * config/abug.exp: New file for the older Motorola Bug monitor
23334 that runs on the mvme13x series VME boards.
23335 * config/monitor.exp: Use the new config array for target settings
23336 if they exist.
23337
23338 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23339
23340 * sim-gdb.exp: Make the SH simulator allocate less space when
23341 it is targeted.
23342
23343 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23344
23345 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23346 test.
23347
23348 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23349
23350 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23351 "rs6000-*-*" for "list function in include file" when gcc compiled.
23352 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23353 for "p ctable1[120]".
23354 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23355 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23356 Remove setup_xfail for "rs6000-*-*" for
23357 "print 'scope0.c'::filelocal before run".
23358 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23359 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23360 since some compilers don't allow both options to be given
23361 on the same command line. Create object file and move it.
23362
23363 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23364
23365 * gdb.base/corefile.exp: Always regenerate the core file, since
23366 we always regenerate the coremaker program. Detect special case
23367 where registers cannot be read from core file.
23368
23369 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23370
23371 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23372 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23373 * gdb.c++/templates.exp: Only match on basename of file since
23374 some formats like xcoff don't encode directory information.
23375 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23376 and rs6000 AIX xcoff targets.
23377 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23378 * configure: Regenerate.
23379 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23380 here, rather than in distclean.
23381
23382 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23383
23384 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23385 defined, and use it to compile the test case with -O2. The
23386 native compilation still uses no optimization.
23387 * gdb.base/mips_pro.c: Remove inline assembly code since
23388 it is compiled PIC by default, which results in assembler
23389 warnings that make the testsuite think the compilation
23390 was unsuccessful.
23391
23392 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23393
23394 * gdb.c++/misc.exp: Add note to message for
23395 "print s.a for foo struct" that this is a known gcc 2.7.2
23396 and earlier bug.
23397
23398 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23399
23400 * gdb.base/break.exp: Fix pattern for matching "Delete all
23401 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23402 setup_xfail for deleting all breakpoints test. Fix various
23403 timeout messages to include "(timeout)".
23404 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23405 for "p t_float_values2(3.14159,float_val2)".
23406 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23407 for "continue to call2g" when gcc compiled.
23408 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23409 "up to foo in langs.exp", "show language at foo in langs.exp",
23410 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23411 and "show language at fsub in langs.exp".
23412 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23413 "list line 1 in include file", "list message for lines past EOF",
23414 "list function in include file", "list list0.h:foo", and
23415 "list filename:function; nonexistant function".
23416 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23417 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23418 and "ptype t_char_array" to be for native cc only.
23419
23420 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23421
23422 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
23423 setup_xfail for "print coremaker_bss", "print coremaker_ro",
23424 "print func2::coremaker_local", and "backtrace in corefile.exp".
23425
23426 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23427
23428 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23429 "bt in signals.exp". This problem only appears when running
23430 the testsuite, and then only intermittently.
23431
23432 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23433
23434 * gdb.base/return.exp (return_tests): Differentiate between
23435 two tests of continuing.
23436
23437 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23438
23439 * */Makefile.in (maintainer-clean): Remove config.log.
23440 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23441 * gdb.c++/Makefile.in (PROGS): Add inherit.
23442 (clean): Remove *.ci.
23443
23444 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23445
23446 * gdb.c++/misc.cc: Add test code from Mike Stump.
23447 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23448
23449 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23450
23451 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23452 to "alpha-*-osf2*" and add comment.
23453 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23454 setup_xfail for "step over execarg initialization" and
23455 "step over corearg initialization".
23456 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23457 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23458 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
23459 gcc compiled for "print coremaker_bss", "print coremaker_ro",
23460 "print func2::coremaker_local", and "backtrace in corefile.exp".
23461 * gdb.base/signals.exp: Build and source signals.ci.
23462 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23463 to be for gcc only.
23464 * lib/gdb.exp: Move verbose statements outside conditionals.
23465
23466 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23467
23468 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23469 Feb 3 procfs.c change.
23470
23471 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23472
23473 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23474
23475 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23476
23477 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23478 from dejagnu's apparent default of 10 seconds, which gives random
23479 results when running the tests over NFS on moderately loaded systems.
23480 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23481
23482 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23483
23484 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23485 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
23486 result reports.
23487
23488 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23489
23490 * configure.in (CY_AC_PATH_TCLH): Remove.
23491 * configure: Regenerate.
23492
23493 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23494
23495 * gdb.c++/Makefile.in (clean): Add missing '{'.
23496
23497 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23498
23499 * lib/gdb.exp: Provide a default value for noinferior.
23500
23501 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23502 Load libgloss.exp.
23503
23504 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23505
23506 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23507 the executable, not the .o to run the tests from.
23508
23509 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23510
23511 * gdb.base/break.exp: Don't test for program exit or exit status
23512 if $noresults if nonzero.
23513 * gdb.base/langs.exp: Likewise.
23514 * gdb.base/watchpoint.exp: Likewise.
23515
23516 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23517 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23518 trying to compile the testcase.
23519
23520 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23521
23522 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23523 * gdb.base/signals.exp (continue to handler): Likewise.
23524
23525 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23526
23527 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23528
23529 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23530
23531 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23532
23533 * gdb.base/corefile.exp: Recognize "not found" as failure
23534 when trying to determine if a core file was generated.
23535 If no core file was generate the first time, try again without
23536 the ulimit -c to work around braindamaged shells.
23537
23538 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23539
23540 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23541 [] tests with "test" and enclose string in quotes.
23542 * gdb.stabs/configure: Rebuild
23543
23544 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23545
23546 Changes in sync with expect:
23547 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23548 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23549 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23550 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23551 argument to AC_REQUIRE.
23552 * configure: Regenerated.
23553
23554 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23555
23556 * gdb.base/corefile.exp: When generating a core, discard any
23557 error messages about ulimit not found and the "core dumped"
23558 message from the shell that runs the coredumper.
23559
23560 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23561
23562 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23563
23564 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23565 which sed script to run. Expect failure for v_comb test
23566 on PA targets too.
23567
23568 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23569
23570 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23571 "print func2::coremaker_local" and for "backtrace in corefile.exp"
23572
23573 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23574
23575 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23576 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
23577 "sparc-sun-solaris*" xfails for "p v_comb".
23578 * lib/gdb.exp (default_gdb_start): Fix typo.
23579 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23580 messages to not include the full program name that caused
23581 the core dump since some systems (such as solaris) apparently
23582 truncate this path to about 80 characters.
23583 When generating a core file first try increasing the core file
23584 size limit to unlimited since some systems may default it to
23585 zero, and it is harmless to try it. Move the test for failing
23586 to generate a core file to where it will actually get executed.
23587 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23588 new gdb result from g++ debug info improvements and make old
23589 pattern obsolescent. Also account for size_t differences
23590 (may be int or long).
23591 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23592 initialization before function call is placed in the delay slot
23593 and thus appears to be skipped over by commands such as "next".
23594
23595 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23596
23597 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23598
23599 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23600
23601 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23602 input source file; fix code to compile test to deal with this
23603 convention.
23604 * gdb.c++/*.exp: Likewise.
23605
23606 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23607
23608 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23609 "bt in signals.exp".
23610
23611 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23612
23613 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23614 "step over execarg initialization" and
23615 "step over corearg initialization".
23616
23617 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23618
23619 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23620 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23621
23622 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23623
23624 From Rob Savoye (rob@poseidon.cygnus.com)
23625 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23626 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
23627 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23628 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23629 configure.in}: Major reworking for autoconfig.
23630 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23631 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
23632 New files.
23633 * config/unix-gdb.exp: Make GDB global.
23634 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
23635 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23636 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23637 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23638 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23639 term.exp, twice.exp, watchpoint.exp, whatis.exp},
23640 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
23641 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23642 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23643 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23644 pr-8136.exp, result.exp, string.exp, tuples.exp},
23645 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
23646 to returns as necessary, arrange for test to compile own testcase
23647 executable.
23648 * lib/gdb.exp: Changes for testsuite to compile own test cases.
23649
23650 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23651
23652 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
23653 clear_xfail at end of test which might not call either pass or fail.
23654 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23655 "backtrace through signal handler".
23656
23657 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23658
23659 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23660 continuing from a job control stop signal.
23661 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23662
23663 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23664
23665 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23666 * gdb.base/corefile.exp: Likewise.
23667 * gdb.base/funcargs.exp: Likewise.
23668
23669 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23670
23671 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23672 * config/monitor.exp: Add support for setting baud rate.
23673
23674 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23675
23676 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23677 i*86-*-linux* xfails for "backtrace through signal handler".
23678 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23679 "print func2::coremaker_local".
23680 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
23681 alpha-dec-osf2* xfail for
23682 "delete all breakpoints when none".
23683
23684 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23685
23686 * gdb.base/break.exp: Change test that deletes all breakpoints
23687 when no user breakpoints are installed. A post 4.15 change
23688 causes gdb to no longer prompt in this case.
23689
23690 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23691
23692 * gdb.base/return.exp (return_tests): Change xfail for test
23693 "correct value returned double test" to stop xfailing at
23694 Solaris 2.5. Apparently the bug has been fixed.
23695
23696 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23697
23698 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23699 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23700
23701 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23702
23703 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23704 * gdb.disasm/hppa.s: Corresponding changes.
23705
23706 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23707
23708 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23709 makefile fragment.
23710 * config/mt-hpux: Deleted.
23711
23712 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23713
23714 * Many files: When warning about suppressed tests due to a
23715 nonexistant test binary, avoid incrementing the warning count.
23716
23717 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23718
23719 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
23720
23721 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23722
23723 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23724 "sparc-*-solaris2*".
23725
23726 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23727
23728 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23729 Add global and local variables and initialize them.
23730 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23731 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23732 extracts the file name and terminating signal from the core file.
23733 * TODO: Remove note about tests for correct mapping of corefile.
23734 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23735 from optimizing it away.
23736 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23737 handles common blocks.
23738
23739 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23740
23741 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23742 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23743
23744 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23745
23746 * Makefile.in (maintainer-clean): New target, synonym for
23747 realclean.
23748 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23749 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23750 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23751 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23752 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23753 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23754
23755 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23756
23757 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23758 xfails when not gcc compiled for "print foo::funclocal".
23759 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23760 "print foo::funclocal at foo",
23761 "print 'scope1.c'::foo::funclocal at foo",
23762 "print foo::funclocal_bss at foo",
23763 "print 'scope1.c'::foo::funclocal_bss at foo",
23764 "print foo::funclocal_ro at foo",
23765 "print 'scope1.c'::foo::funclocal_ro at foo",
23766 "print bar::funclocal at foo" and
23767 "print 'scope1.c'::bar::funclocal at foo".
23768 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23769 gcc compiled for "print foo::funclocal at bar".
23770 Expand all messages to ensure that they identify that
23771 the test is at bar().
23772 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23773 gcc compiled for:
23774 "ptype on opaque struct pointer (statically)",
23775 "ptype on opaque struct tagname (statically)",
23776 "ptype on opaque struct pointer (dynamically) 1",
23777 "ptype on opaque struct tagname (dynamically) 1",
23778 "ptype on opaque struct pointer (dynamically) 2" and
23779 "ptype on opaque struct tagname (dynamically) 2
23780 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23781 gcc compiled for:
23782 "p datalocal"
23783 "whatis datalocal",
23784 "ptype datalocal",
23785 "p bsslocal",
23786 "whatis bsslocal", and
23787 "ptype bsslocal".
23788 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23789 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23790 when not gcc compiled.
23791 * gdb.base/funcargs.exp (float_and_integral_args): Add
23792 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23793 compiled.
23794 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23795 "backtrace from call6a" when not gcc compiled.
23796 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23797 "backtrace from call7a" when not gcc compiled.
23798 * gdb.base/callfuncs.exp (do_function_calls):
23799 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23800 "p t_char_array_values(char_array_val2,char_array_val1)",
23801 "p t_char_array_values(char_array_val1,char_array_val2)",
23802 "p t_char_array_values("carray 1","carray 2")",
23803 "p t_char_array_values("carray 1",char_array_val2)",
23804 "p t_char_array_values(char_array_val1,"carray 2")",
23805 "p sum_args(1,{2})",
23806 "p sum_args(2,{2,3})",
23807 "p sum_args(3,{2,3,4})",
23808 "p sum_args(4,{2,3,4,5})"
23809 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23810 "backtrace in corefile.exp" when not gcc compiled.
23811
23812 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23813
23814 * gdb.base/signals.exp: Rewrite `handle all print' test as
23815 a procedure. Accept blanks or TABs as whitespace, increase
23816 timeout and expect input buffer size for the large output
23817 from the command. Remove "i*86-*-bsdi2.0" xfail.
23818
23819 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23820
23821 * gdb.base/setvar.exp: Add new testcases for truncation when
23822 assigning invalid values to bitfields.
23823
23824 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23825
23826 * gdb.base/callfuncs.exp (do_function_calls): Remove
23827 mips-sgi-irix* xfail for
23828 "call inferior func with struct - returns char *"
23829 and fix test so that an optional (unsigned char *) cast is
23830 accepted in the result.
23831
23832 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23833
23834 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23835 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23836 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23837 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23838 that accidentally got checked in.
23839
23840 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23841
23842 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
23843 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23844 compiled test.
23845 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23846 Add mips-sgi-irix5* xfail for not gcc compiled.
23847 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23848 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23849 "p top", "whatis top", "p middle", and "whatis middle".
23850 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23851 "whatis signed char" for not gcc compiled.
23852 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23853 "set variable signed char=-1 (-1)" and
23854 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23855 * gdb.base/funcargs.exp (float_and_integral_args):
23856 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23857 Add mips-sgi-irix* xfail when not gcc compiled for
23858 "continue to call2b".
23859 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23860 "continue to call2g".
23861 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23862 "backtrace from call6a"
23863 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23864 "backtrace from call7k".
23865 Add mips-sgi-irix5* xfail when not gcc compiled for
23866 "backtrace from call7a".
23867 (localvars_after_alloca): Fix gdb_test cmds for
23868 "print * after runto ...".
23869 Remove rs6000-*-* xfails for
23870 "print i after runto localvars_after_alloca" and
23871 "print l after runto localvars_after_alloca"
23872 for all compilers.
23873 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23874 when not compiled with gcc, for:
23875 "print signed char == (minus)",
23876 "print signed char != (minus)",
23877 "print signed char < (minus)",
23878 "print signed char > (minus)".
23879 * gdb.base/callfuncs.exp (do_function_calls):
23880 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23881 "call inferior func with struct - returns char *".
23882 * gdb.base/return.exp (return_tests): Change xfail for
23883 "correct value returned double test" to include Solaris 2.4.
23884 * gdb.base/funcargs.exp (float_and_integral_args):
23885 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23886
23887 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23888
23889 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23890 enumeration bitfields if compiling with GNU C.
23891 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23892 to empty' prompt.
23893
23894 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23895
23896 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23897 test for PRO targets.
23898
23899 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23900 breakpoints in the inferior at any given time by making
23901 two groups of breakpoints for call2*, call6* and call7*
23902 tests.
23903
23904 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23905
23906 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23907 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23908 from optimizing it away.
23909 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23910 "call inferior func with struct".
23911
23912 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23913
23914 * configure.in: Only configure gdb.chill for particular targets.
23915
23916 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23917
23918 * gdb.base/Makefile.in: Add action to .c.o transformation
23919 rule that generates a .ci file for each .o file and remove
23920 explicit .c.o rules except for callfuncs.o.
23921 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23922 generates a .ci file for each .o file and remove explicit
23923 .cc.o rules.
23924 (clean): Remove *.tmp *.ci files.
23925 (EXECUTABLES): Remove templ-info.exp.
23926 * gdb.base/compiler.c: New file.
23927 * gdb.c++/compiler.cc: New file
23928 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23929 Change rs6000-*-* xfail for
23930 "print 'scope0.c'::filelocal_ro" and
23931 "print 'scope1.c'::filelocal" and
23932 "print 'scope1.c'::filelocal_bss" and
23933 "print 'scope1.c'::filelocal_ro" and
23934 "print 'scope1.c'::foo::funclocal" and
23935 "print 'scope1.c'::foo::funclocal_ro" and
23936 "print 'scope1.c'::bar::funclocal" and
23937 "print 'scope0.c'::filelocal_ro" and
23938 "print 'scope1.c'::filelocal at foo" and
23939 "print 'scope1.c'::filelocal_bss at foo" and
23940 "print 'scope1.c'::filelocal_ro at foo" and
23941 "print 'scope1.c'::foo::funclocal at foo" and
23942 "print 'scope1.c'::foo::funclocal_bss at foo" and
23943 "print 'scope1.c'::foo::funclocal_ro at foo" and
23944 "print 'scope1.c'::bar::funclocal at foo" and
23945 "print 'scope0.c'::filelocal_ro" and
23946 "print 'scope1.c'::filelocal" and
23947 "print 'scope1.c'::filelocal_bss" and
23948 "print 'scope1.c'::filelocal_ro" and
23949 "print 'scope1.c'::foo::funclocal" and
23950 "print 'scope1.c'::foo::funclocal_bss" and
23951 "print 'scope1.c'::foo::funclocal_ro" and
23952 "print 'scope1.c'::bar::funclocal" and
23953 "print 'scope1.c'::bar::funclocal_bss"
23954 to only be xfail'd when not compiled with gcc.
23955 Add rs6000-*-* xfail for
23956 "print 'scope0.c'::filelocal_bss before run"
23957 when compiled with gcc.
23958 (test_at_main): Add rs6000-*-* xfail for
23959 "print filelocal_ro in test_at_main"
23960 when compiled with gcc.
23961 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23962 Add rs6000-*-aix* xfail for
23963 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23964 "ptype t_char_array", not compiled with gcc.
23965 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23966 xfail for "list foo (in include file)" when gcc compiled.
23967 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23968 (integral_args): Add rs6000-*-* xfail for
23969 "run to call0a" if not compiled with gcc.
23970 (unsigned_integral_args): Add rs6000-*-* xfail for
23971 "run to call1a" if not compiled with gcc.
23972 (float_and_integral_args): Add rs6000-*-* xfail for
23973 "run to call2a" if not compiled with gcc and for
23974 "continue to call2b" for any compiler.
23975 Add rs6000-*-* xfail to
23976 "print f1 after run to call2a" for gcc compiled.
23977 (discard_and_shuffle): Add rs6000-*-* xfail for
23978 "run to call6a".
23979 (shuffle_round_robin): Add rs6000-*-* xfail for
23980 "backtrace from call7a" if not compiled with gcc.
23981 Add rs6000-*-* xfail for
23982 "backtrace from call7b" if compiled with gcc.
23983 (call_after_alloca): Add rs6000-*-* xfail for
23984 "print c in call_after_alloca" and
23985 "print s in call_after_alloca" and
23986 "backtrace from call_after_alloca_subr"
23987 if not compiled with gcc.
23988 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23989 "print c in localvars_in_indirect_call" and
23990 "print c in localvars_in_indirect_call" and
23991 "backtrace in indirectly called function" and
23992 "stepping into indirectly called function"
23993 if not compiled with gcc.
23994 (localvars_after_alloca): Add rs6000-*-* xfail for
23995 "print c after runto localvars_after_alloca" and
23996 "print s after runto localvars_after_alloca" and
23997 "print i after runto localvars_after_alloca" and
23998 "print l after runto localvars_after_alloca"
23999 for all compilers.
24000 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
24001 than whatis-info.exp.
24002 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
24003 than opaque-info.exp.
24004 Setup rs6000-*-* xfail for
24005 "ptype on opaque struct pointer (statically)" and
24006 "ptype on opaque struct pointer (dynamically)" when
24007 not compiled with gcc.
24008 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
24009 rather than callf-info.exp.
24010 (do_function_calls): Add clear_xfail for rs6000-*-* for
24011 "p t_float_values2(3.14159,float_val2)". Seems to work
24012 fine there, both with xlc and gcc. Need to find out what
24013 it is doing right and fix other platforms.
24014 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
24015 "call inferior func with struct - returns int",
24016 "call inferior func with struct - returns long",
24017 "call inferior func with struct - returns float",
24018 "call inferior func with struct - returns double",
24019 "call inferior func with struct - returns char *",
24020 but only if not gcc compiled (presumes xlc compiled).
24021 Change rs6000-*-* xfails for
24022 "call inferior func with struct - returns char" and
24023 " call inferior func with struct - returns short" to only
24024 xfail if not using gcc.
24025 (clean mostlyclean): Remove *.ci and *.tmp files.
24026 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
24027 than templ-info.exp.
24028 * gdb.base/langs.exp: Source gdb.base/langs.ci.
24029 Add rs6000-*-* xfail for "up to foo in langs.exp"
24030 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
24031 when not gcc compiled.
24032
24033 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24034
24035 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
24036 * gdb.base/corefile.exp: Likewise.
24037 * gdb.base/list.exp: Likewise.
24038 * gdb.base/scope.exp: Likewise.
24039 * gdb.base/siganls.exp: Likewise.
24040
24041 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
24042 compiler output.
24043 * gdb.base/whatis.exp: Likewise.
24044
24045 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
24046
24047 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
24048 failure (opcode table has been fixed to match reality).
24049
24050 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
24051
24052 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
24053 "call inferior func with struct - returns char",
24054 "call inferior func with struct - returns short"
24055
24056 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
24057 "print 'scope0.c'::filelocal at main",
24058 "print 'scope0.c'::filelocal_bss in test_at_main",
24059 "print 'scope0.c'::filelocal at foo",
24060 "print 'scope0.c'::filelocal_bss in test_at_foo",
24061 "print 'scope0.c'::filelocal at bar",
24062 "print 'scope0.c'::filelocal_bss in test_at_bar"
24063
24064 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
24065 in source file 1". This bug seems to have been fixed with both
24066 gcc and native cc (was native assembler bug?).
24067
24068 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
24069
24070 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
24071 "backtrace through signal handler" to "i*86-*-sysv4*".
24072 * gdb.base/signals.exp: Add xfail for "'next' behaved as
24073 continue" case. Add "known SVR4 bug" to fail message.
24074 Add "i*86-*-bsdi2.0" xfail for "handle all print".
24075 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
24076 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
24077 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
24078 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
24079 "up to foo in langs.exp", "show language at foo in
24080 langs.exp", "up to cppsub_ in langs.exp", "show
24081 language at cppsub_ in langs.exp", "up to fsub in
24082 langs.exp", and "show language at fsub in langs.exp".
24083 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
24084 "bactrace in corefile.exp".
24085 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
24086 "call inferior function with struct - returns float" and
24087 "call inferior function with struct - returns double".
24088
24089 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
24090
24091 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
24092 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
24093 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
24094 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
24095
24096 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
24097
24098 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
24099 (or overriden) "CHILL" macro rather then bare "gcc".
24100 Also look for ../../gcc/xgcc since that is what we will
24101 actually need, not "Makefile". Remove following assignment
24102 of CHILL to CHILL_FOR_TARGET because that results in
24103 recursive definition.
24104
24105 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
24106
24107 * gdb.base/corefile.exp: Change xfail for backtrace in
24108 corefile.exp from linuxaout to all linux.
24109 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
24110 cases where we miss the breakpoint at the signal handler
24111 for some reason. Setup xfail for linuxoldld/linuxaout and
24112 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
24113 hitting SIGURG breakpoint.
24114 * gdb.base/signals.exp: Setup xfail for "next" acting like
24115 continue to add linuxoldld. Setup xfail for all linux for
24116 "next to handler in signals_tests_1", "backtrace in
24117 signals_tests_1", "continue to func1", "pass SIGUSR1",
24118 and continue to handler".
24119
24120 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
24121
24122 * Update all FSF addresses except those in COPYING* files.
24123
24124 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
24125
24126 * gdb.base/a2-run.exp: Change messages to be more explicit about
24127 the status of args, and quote binfile in results.
24128
24129 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
24130
24131 * gdb.base/callfuncs.exp: Add tests for passing structs to
24132 inferior functions and return various types.
24133 * gdb.base/callfuncs.c: Add functions to receive a struct
24134 and return a member of the struct, in various types.
24135
24136 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24137
24138 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
24139
24140 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
24141
24142 * config/vxworks29k.exp: New file, sources vxworks.exp.
24143
24144 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24145
24146 * config/gdbremote.exp: New file. Testing framework using
24147 gdbserver.
24148
24149 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
24150
24151 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
24152 "call function when asleep" and "send end of file".
24153 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
24154 for "backtrace in corefile.exp".
24155 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
24156 for "backtrace through signal handler".
24157 * gdb.base/corefile.exp: Make sure we actually generate a core file
24158 before trying the core tests. Some systems allow the user to suppress
24159 generation of core files and default to that (linux for example).
24160 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
24161 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
24162
24163 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24164
24165 * gdb.threads: New directory with some crude multi-threaded
24166 gdb tests (step.exp and step2.exp).
24167 * config/mt-lynx (STEP_EXECUTABLE): Define.
24168 (THREADFLAGS): Define.
24169
24170 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
24171
24172 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
24173
24174 * gdb.base/signals.exp: Disable whole file for lynx until
24175 further notice.
24176
24177 * gdb.base/signals.exp: xfail test where "next" acts like
24178 "continue" for lynx.
24179
24180 * gdb.base/interrupt.exp: xfail test for calling function while
24181 inferior is asleep for lynx.
24182
24183 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
24184 than one cr-lf after each command.
24185
24186 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24187
24188 * configure.in: Reinstate setting of stabsdirs variable, fix
24189 typo in setting up configdirs for native builds.
24190
24191 * gdb.base/return.exp: Fix typo in return double test.
24192 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
24193 compiler from optimizing them away.
24194
24195 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
24196
24197 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
24198 sequences to be echo'd by gdb when using gdb_test.
24199 * gdb.chill/chexp.exp: Likewise.
24200 * gdb.fortran/exprs.exp: Likewise
24201
24202 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
24203
24204 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
24205 after the inferior gdb has started.
24206
24207 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24208 after each command.
24209 * gdb.base/funcargs.exp: Likewise.
24210 * gdb.base/gdbvars.exp: Likewise.
24211 * gdb.base/interrupt.exp: Likewise.
24212 * gdb.base/list.exp: Likewise.
24213 * gdb.base/watchpoint.exp: Likewise.
24214 * gdb.c++/demangle.exp: Likewise.
24215 * gdb.c++/inherit.exp: Likewise.
24216 * gdb.chill/chexp.exp: Likewise.
24217 * gdb.fortran/exprs.exp: Likewise.
24218
24219 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24220 test if we can't handle IO to/from the inferior.
24221
24222 * gdb.c++/misc.exp: Always check for a program already being
24223 started after sending a "run" command to gdb.
24224
24225 * gdb.base/twice.exp: Start with a fresh gdb.
24226
24227 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24228 only depend on gdb's expression code, not the chill runtime.
24229
24230 * gdb.base/return.c: Put return values into variables so we
24231 can have gdb print them rather than depending on the program
24232 to print them.
24233 * gdb.base/return.exp: Corresponding changes.
24234
24235 * lib/gdb.exp: Provide default value for noinferiorio.
24236 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24237 the inferior.
24238
24239 * gdb.base/break.exp: Always check for a program already being
24240 started after sending a "run" command to gdb.
24241 (text_next_with_recursion): Don't check the output from the
24242 program's printf statement. Instead just make sure the program
24243 exited.
24244
24245 * gdb.base/commands.exp: Protect tests which need arguments with
24246 $noargs conditionals.
24247
24248 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24249
24250 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24251 of structure member arrays to match gdb/valops.c:value_addr change.
24252
24253 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24254
24255 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24256 cases.
24257
24258 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24259
24260 * configure.in (configdirs): Remove gdb.chill from default list
24261 of subdirs and then add it back in only if doing a native build.
24262 The current chill compiler does not yet work in any cross build.
24263 * Revert all signal changes from Jul 6.
24264 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24265 for sh-hms targets, allowing these tests to link, with no other
24266 changes. Testing is suppressed by setting "nosignals" in site.exp.
24267
24268 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24269
24270 * configure.in (signaldirs): Define and add to configdirs for all
24271 targets except some specific ones that are known to not support signals.
24272 Also clean up formatting.
24273 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24274 (signals, sigall): Remove rules to build.
24275 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24276 Moved to new gdb.signals directory.
24277 * gdb.signals: New test directory.
24278 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24279 signals.c signals.exp}: New or moved files.
24280
24281 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24282
24283 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24284
24285 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24286
24287 * gdb.base/return.exp: Xfail `return double' test failure
24288 on at least Solaris 2.3 and handle future/past versions on
24289 a case by case basis as appropriate. Also update message
24290 to include i*86 failures.
24291
24292 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24293
24294 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24295
24296 * lib/gdb.exp: Fix comment which erroneously identified
24297 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24298 gdb_file_cmd not gdb_load).
24299 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24300
24301 * gdb.base/setvar.exp: Make test names consistent between pass and
24302 fail cases. Use gdb_test more.
24303
24304 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24305
24306 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24307
24308 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24309
24310 * gdb.base/help.exp: Fix expected help string for `show commands'.
24311
24312 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24313
24314 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24315
24316 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24317 of a text section.
24318
24319 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24320
24321 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24322 that loop eventually terminates. Fix Connection refused logic so
24323 that testsuite will expire nicely.
24324
24325 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24326
24327 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24328 config/rom68k.exp: New tcl glue for the appropriate monitors.
24329 These all just end up calling monitor.exp.
24330 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24331 refused' by retrying. Cleanup some timeout issues.
24332 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24333 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24334 callers don't have to set/restore global timeout variable.
24335
24336 * The following set of changes centralizes management of the global
24337 timeout variable. This way, it can be set in one target dependent
24338 place instead of dozens of places scattered throughout the test suite.
24339 If you need to lengthen a timeout, then you should either set timeout
24340 in one of the config/{target}.exp files, or multiply it by a factor.
24341 Setting it to an absolute value is always going to lose for some
24342 targets.
24343 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24344 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24345 * gdb.base/funcargs.exp: Don't set timeout.
24346 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24347 * gdb.base/printcmds.exp (test_print_string_constants
24348 test_print_array_constants): Don't set timeout.
24349 * gdb.base/ptype.exp: Don't set timeout.
24350 * gdb.base/recurse.exp: Don't set timeout.
24351 * gdb.base/return.exp: Don't set timeout.
24352 * gdb.base/watchpoint.exp: Don't set timeout.
24353 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24354 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24355
24356 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24357
24358 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24359
24360 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24361
24362 * lib/gdb.exp: Disable chill tests for irix5.
24363
24364 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24365
24366 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24367 each test pass or fail.
24368
24369 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24370
24371 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24372 xlc not gcc.
24373
24374 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24375
24376 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24377
24378 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24379
24380 * config/est.exp: Fix copyright and comments. Remove dead code.
24381 Use targetname, serialport and baud variables instead of fixed
24382 constants.
24383 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24384 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24385
24386 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24387
24388 * gdb.base/watchpoint.exp: Don't run
24389 test_watchpoint_triggered_in_syscall for sunos.
24390
24391 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24392
24393 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24394 they don't seem to exist. Do include stdio.h.
24395
24396 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24397
24398 * gdb.base/a1-selftest.exp: Add alpha xfail.
24399
24400 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24401
24402 * gdb.base/watchpoint.c (main): Prompt before calling read().
24403 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24404 Revise accordingly. Remove cruft about sending "123" several
24405 times, until it gets noticed. Clean up the "print buf[0]" stuff
24406 so that it passes or fails, and waits for prompts in the usual way.
24407
24408 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24409
24410 * gdb.base/recurse.exp: Fix comment.
24411
24412 * TODO: Remove item about printing variables in nodebug.exp. Add
24413 item about enabling tests which are only run on some targets.
24414
24415 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24416 fail, make test names unique, use new gdb_test convention
24417 regarding pattern, use gdb_test more, etc.).
24418
24419 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24420 fail, make test names unique, etc.).
24421
24422 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24423
24424 * gdb.base/nodebug.c: Change return type of top and middle to
24425 short.
24426 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24427 are fixed by the recent mdebugread.c changes. Allow `short ()'
24428 as type for top and middle.
24429
24430 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24431
24432 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24433 nearly as I can tell, the whole thing was an accident in Stu's
24434 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24435 to replace a send/expect pair with gdb_test, but ended up only
24436 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24437 of 30 Mar 1995 took care of it, but left this vestigial comment
24438 which I am now nuking.
24439
24440 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24441
24442 * gdb.base/break.exp: Look for different line number for
24443 breakpoint at main depending on usestubs.
24444
24445 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24446
24447 * gdb.base/list.exp: Adjust some alternate expect patterns to
24448 match recent list0.c change. Add alternate expect pattern for
24449 output from `list default lines around main' for optimizing
24450 compilers.
24451
24452 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24453
24454 * lib/gdb.exp: If nosignals is not set, set it to 0.
24455
24456 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24457
24458 * config/slite-gdb.exp: Responds to load symbol table prompt.
24459 * gdb.base/break.exp: Adjust line number, fix rerun.
24460 * gdb.base/langs0.c: Add #ifdef usestubs.
24461
24462 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24463
24464 * gdb.base/list.exp: Adjust line contents after adding new lines in
24465 list0.c. Also fix a syntax error.
24466
24467 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24468 * gdb.base/break.exp: ditto.
24469 * gdb.base/list.exp: ditto.
24470 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24471 * gdb.base/run.c: ditto.
24472 * gdb.base/list0.c: ditto.
24473 * gdb.base/funcargs.c: ditto.
24474
24475 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24476
24477 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24478 $targetname, $serialport and $baud instead of hardwired variables.
24479 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24480 target doesn't support signals.
24481
24482 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24483
24484 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24485
24486 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24487
24488 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24489 Don't rely on the value of an auto variable before it has been
24490 initialized. Use gdb_test more.
24491
24492 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24493
24494 * lib/gdb.exp (default_gdb_version): A version number must start
24495 with a digit, but other than that contains all characters up to
24496 the first whitespace character.
24497
24498 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24499
24500 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24501
24502 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24503
24504 * gdb.c++/*.exp: Warn if executable does not exist. The original
24505 reason for skipping the warning was that configure.in sometimes
24506 intentionally skipped building the executables but the tcl code
24507 had no way of knowing. That (a) was always bogus with respect to
24508 error handling, (b) is no longer true (right now there is no way
24509 to skip C++ tests).
24510
24511 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24512
24513 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24514
24515 * gdb.base/list.exp: Add expect patterns for output from
24516 SunPRO compiled executables.
24517 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24518 types.
24519
24520 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24521
24522 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24523 number (we are already testing that the correct source line text
24524 gets printed).
24525
24526 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24527 that is what is intended, but something needed to be done to get
24528 sunos4 native working again.
24529
24530 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24531
24532 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24533 apparently went with a (very) old xfail.
24534
24535 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24536
24537 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24538 runto_main is a proc in gdb.exp that will do 'step' for target use
24539 stubs.
24540 * gdb.base/exprs.exp: ditto.
24541 * gdb.base/interrupt.exp: ditto.
24542 * gdb.base/opaque.exp: ditto.
24543 * gdb.base/printcmds.exp: ditto.
24544 * gdb.base/ptype.exp: ditto.
24545 * gdb.base/scope.exp: ditto.
24546 * gdb.base/setvar.exp: ditto.
24547 * gdb.base/signals.exp: ditto.
24548 * gdb.base/twice.exp: ditto.
24549 * gdb.c++/classes.exp: ditto.
24550 * gdb.c++/inherit.exp: ditto.
24551 * gdb.c++/templates.exp: ditto.
24552 * gdb.base/break.exp: no run and hit main for stubs. Change line
24553 numbers for breakpoints and info breakpoint.
24554 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24555 breakpoint().
24556 * gdb.base/callfuncs.c: ditto.
24557 * gdb.base/exprs: ditto.
24558 * gdb.base/interrupt.c: ditto.
24559 * gdb.base/opaque0.c: ditto.
24560 * gdb.base/printcmds.c: ditto.
24561 * gdb.base/ptype.c: ditto.
24562 * gdb.base/scope0.c: ditto.
24563 * gdb.base/setvar.c: ditto.
24564 * gdb.base/signals.c: ditto.
24565 * gdb.base/twice.c: ditto.
24566 * gdb.c++/misc.cc: ditto.
24567 * gdb.c++/templates.cc: ditto.
24568
24569 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24570
24571 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24572
24573 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24574 somewhere between `read' and `main.c'. I'm pretty sure the
24575 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24576 and it isn't particularly useful.
24577
24578 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24579
24580 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24581
24582 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24583
24584 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24585
24586 * config/mt-slite: add LIBS and -nostdlib.
24587 * config/slite-gdb.exp: add this new file to support sparclite target.
24588
24589 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24590
24591 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24592
24593 * gdb.base/a2-run.exp: Change argument to istarget from
24594 "*-*-vxworks" to "*-*-vxworks*".
24595 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24596
24597 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24598
24599 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24600 will not runto main but do a 'step' to step out of breakpoint().
24601 * config/mt-slite: add -Dusestubs.
24602
24603 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24604
24605 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24606 instead of just @.
24607
24608 * gdb.base/signals.exp: Add test for "handle all print".
24609 * TODO: Remove "handle all print". Also remove item about
24610 checking copyright date (I don't like the idea of a spurious FAIL
24611 based on when we run the tests).
24612
24613 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24614 for SunOS4 (reason for failure not investigated). Remove
24615 redundant test for $binfile.
24616
24617 * gdb.base/nodebug.c (array_index): Call malloc.
24618
24619 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24620
24621 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24622
24623 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24624 conventions and slightly simplify the matching regexp.
24625
24626 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24627
24628 * gdb.base/break.exp: Update gdb_test invocation to use new
24629 convention.
24630
24631 * lib/gdb.exp: If noargs is not set, set it to 0.
24632
24633 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24634 tests unique.
24635
24636 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24637
24638 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24639
24640 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24641 one argument of type "<non-float parameter>".
24642
24643 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24644
24645 * config/rom68k.exp: New file to support Motorola IDP board.
24646 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24647 * gdb.base/break.c: Change things around so that this program
24648 doesn't depend upon args. This is necessary to make remote
24649 targets work (in general, they can't take args).
24650 * gdb.base/break.exp: Don't try to send args to program. Don't
24651 expect output. Also, replace lots of code with gdb_test.
24652
24653 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24654
24655 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24656 printing of '\'' (which is what the comment says we are testing,
24657 even though we were not), not '''.
24658 (test_integer_literals_rejected): Test that printing ''' is an error.
24659
24660 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24661 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24662 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24663 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24664 Use gdb_test not test_print_accept.
24665 * lib/gdb.exp: Remove test_print_accept.
24666
24667 * gdb.base/signals.exp (signal_tests_1): Make pass message
24668 consistent with fail message.
24669
24670 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24671 unsigned char; the bug (PR 1821) is fixed.
24672
24673 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24674
24675 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24676 successful tests--makes xfailing them work right.
24677
24678 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24679
24680 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24681 only \r\n, not .*. The test can pass .* as the last thing in
24682 $pattern if that is what it wants. In addition to providing this
24683 flexibility, this change should speed up pattern matching in cases
24684 where the pattern already ended with .* (there were a number of
24685 them). This change also helps catch bad patterns--in the old
24686 scheme the typo "char \*" instead of "char \\*" would pass. Now
24687 it is caught.
24688 * Many .exp files: Update callers.
24689
24690 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24691 clearer and does not spuriously match multiple ('s. Likewise for
24692 ) and *.
24693
24694 * gdb.base/nodebug.exp: Test ability to call a function and pass
24695 it a string (even with no debugging info).
24696
24697 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24698 "p '\'", which is the same as "p ''" once tcl gets done with
24699 quoting, to "p '\\'", which I suspect is what is intended (one
24700 backslash gets sent to GDB).
24701
24702 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24703
24704 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24705
24706 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24707 1817) was fixed literally years ago.
24708
24709 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24710
24711 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24712 test, it causes stepping out of call_after_alloca_subr with
24713 optimizing compilers.
24714 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24715 fails.
24716
24717 * gdb.c++/templates.exp: Source templ-info.exp only if
24718 the templates executable exists.
24719
24720 * gdb.c++/misc.cc (class Contains_static_instance,
24721 class Contains_nested_static_instance),
24722 gdb.c++/classes.exp (test_static_members): Test printing of
24723 a class that contains a static instance of the class.
24724
24725 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24726
24727 * gdb.base/langs2.c (cppsub_): Don't prototype.
24728 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24729 only, I believe).
24730
24731 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24732
24733 * lib/gdb.exp (skip_chill_tests): New procedure.
24734
24735 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24736
24737 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24738
24739 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24740 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24741
24742 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24743
24744 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24745
24746 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24747 disassemble 8, not 16, instructions for part 4.
24748
24749 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24750 support the latter anymore.
24751
24752 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24753 -DNO_PROTOTYPES.
24754 * gdb.base/callfuncs.c: Control use of prototypes based on
24755 NO_PROTOTYPES, not __STDC__.
24756 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24757 t_float_values2 tests if prototypes in use.
24758
24759 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24760 t_double_values): When checking differences against DELTA, check
24761 that difference is within the range (-DELTA,DELTA), not just
24762 (-infinity,DELTA).
24763
24764 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24765
24766 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24767 'file' command firts, then 'target', then 'load', this is due to gdb
24768 target set up.
24769 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24770
24771 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24772
24773 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24774 FP load/store variants.
24775 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24776
24777 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24778
24779 * gdb.base/term.exp: Do not give a warning if not native, it is
24780 not an abnormal condition.
24781
24782 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24783
24784 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24785 t_char_array".
24786
24787 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24788
24789 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24790 are getting the version number.
24791
24792 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24793 if not native, it is not an abnormal condition.
24794
24795 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24796
24797 * lib/gdb.exp: Just use "file exists", rather than undocumented
24798 dejagnu procedure "findfile".
24799
24800 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24801
24802 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24803 (LDFLAGS): Set to -Xlinker -Ur.
24804
24805 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24806 Removed, these values are set by lib/gdb.exp.
24807
24808 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24809
24810 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24811
24812 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24813 of replicating gdb startup code.
24814
24815 * config/mt-vxworks (LDFLAGS): Set to -r.
24816 (CFLAGS_FOR_TARGET): Removed.
24817
24818 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24819 (gdb) and gdb for vxworks uses (vxgdb).
24820
24821 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24822 executable is not in the tree and host != target, use sed and
24823 program_transform_name to determine the gdb name used by the
24824 target.
24825
24826 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24827 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24828
24829 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24830
24831 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24832 floats, chars, and shorts where there are ANSI-style function
24833 definitions.
24834
24835 * gdb.base/langs.exp, gdb.base/langs*: New test.
24836 * gdb.base/Makefile.in: Build it.
24837 * TODO: Remove item about checking that C names don't get C++
24838 demangling applied; this test tests it.
24839
24840 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24841
24842 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24843 went with the const70 xfail. The xfail went away a year ago.
24844
24845 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24846
24847 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24848 for hp300.
24849
24850 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24851
24852 * gdb.base/a1-selftest.exp: Don't run on hp300.
24853
24854 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24855
24856 * Makefile.in (site.exp): Set host_alias and target_alias as well
24857 as host_triplet and target_triplet.
24858
24859 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24860
24861 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24862
24863 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24864 places as other ecoff systems).
24865
24866 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24867 ultrix.
24868
24869 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24870
24871 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24872 remove them.
24873 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24874 variable and "variable" in addition to "data variable".
24875 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24876
24877 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24878 2.
24879 * gdb.base/list1.c (long_line): Add additional statement at start
24880 of function.
24881 * gdb.base/list.exp (test_forward_search): Update line number to
24882 reflect new statement.
24883
24884 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24885
24886 * gdb.base/signals.exp: Reinitialize searched source directories
24887 after gdb_start call.
24888
24889 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24890
24891 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24892 * gdb.stabs/Makefile.in: Likewise.
24893
24894 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24895 change. Instead split the tests into smaller pieces.
24896 * gdb.disasm/hppa.s: Corresponding changes.
24897
24898 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24899
24900 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24901 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24902
24903 * gdb.base/funcargs.exp: Modify many tests so that every test
24904 either passes or fails. Make some test names unique.
24905
24906 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24907
24908 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24909 Call stty to set interrupt character.
24910
24911 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24912 for HP assembler versus GNU assembler based on actual behavior of
24913 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24914
24915 * TODO: Suggest a few more stepping tests.
24916
24917 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24918
24919 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24920 restart GDB for h8300 after a continue.
24921 (return): Add pattern to match a29k-udi behavior.
24922 * gdb.base/nodebug.exp: Remove obsolete comment.
24923 * gdb.base/regs.exp: New file, testing of register displays.
24924 * gdb.base/return.exp: Fix typo in reference to $objdir.
24925 * gdb.base/whatis.exp: Always start with a fresh GDB.
24926
24927 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24928
24929 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24930 higher, these tests generate a lot of output.
24931
24932 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24933
24934 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24935 code following the catch silently ignored some errors; without the
24936 catch they should be thrown like any other tcl error. Also, the
24937 catch used "" instead of {} which meant all the callers who wanted
24938 to include one of the characters "[]$ had to quote it an extra time.
24939 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24940 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24941 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24942 Remove extra quoting.
24943
24944 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24945
24946 * gdb.base/commands.exp: Make test names unique; every test either
24947 passes or fails. Update some comments.
24948
24949 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24950
24951 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24952
24953 The following fixes a FAIL caused by the fact that the alpha stabs
24954 configuration didn't use the ".if alpha" code in weird.def.
24955 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24956 bit pointer, so the 32 bit version works even on the alpha.
24957 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24958 Remove the stuff which allowed us to have separate versions for
24959 alpha and everything else.
24960
24961 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24962 regexp which "info func operator\[\](" is supposed to match. Fix
24963 string to send to GDB. Note that GDB still doesn't work right. Add a
24964 new test for "info func .perator\[\](" which GDB does handle correctly.
24965
24966 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24967
24968 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24969
24970 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24971 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24972 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24973 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24974 it makes the tests harder to understand and confuses test-o-matic.
24975 The preferred style is that each test provides a PASS or a FAIL,
24976 and has a unique message (e.g. "continue #54" not just "continue")
24977 which is the same for the pass and the fail.
24978 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24979 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24980 to lib/gdb.exp.
24981 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24982 prt_accept which was basically the same thing. Likewise for
24983 test_print_reject and prt_reject.
24984 * lib/gdb.exp (test_print_reject): Add some more error message
24985 patterns to match from the former printcmds.exp (prt_reject).
24986 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24987 One defect of the passcount stuff is that some of it failed to
24988 report XPASS where appropriate.
24989 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24990 stuff before and after arg in expected pattern.
24991 (test_paddr_operator_functions): Re-do test without print_addr_of;
24992 this is the only test which seems to want extra stuff there.
24993
24994 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24995
24996 * gdb.base/nodebug.exp: Update new tests to reflect improved
24997 wording of gdb output.
24998
24999 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
25000 and "ptype" work on variables in files compiled without -g.
25001 Replaces commented out "maint print msymbol" tests.
25002
25003 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25004
25005 * gdb.base/setvar.c (dummy): Call malloc.
25006
25007 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
25008 losing with the irix4 sed.
25009
25010 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
25011 ALRM" on irix4.
25012
25013 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25014
25015 * TODO: Remove items about corefile.exp testing new exec-file and
25016 backtrace; both are now done. Add items about printing enums.
25017
25018 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25019
25020 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
25021 "get signal $thissig" test fails.
25022
25023 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
25024
25025 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25026
25027 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
25028 compiler warning with dec alpha compiler.
25029
25030 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
25031 extra \n from gdb_test call (this explains why the prompt test
25032 that I removed yesterday was there).
25033 (user_defined_command_test): Remove extra \n and prompt test.
25034
25035 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
25036 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
25037 doesn't exist.
25038 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
25039 Also remove alpha workaround, which turns out to be because
25040 SIGABRT == SIGLOST.
25041
25042 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
25043
25044 * gdb.base/help.exp: Don't test "help show".
25045
25046 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25047
25048 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
25049 "set print address" is on.
25050 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
25051 pass prompt to gdb_test; gdb_test already looks for the prompt.
25052
25053 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
25054
25055 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
25056 was a vestige of the manual TESTSTRATEGY, and the purpose of it
25057 was to make sure that gdb can read a core file. But (a) the "read
25058 the corefile" part didn't make it to a1-selftest.exp, we just
25059 delete the corefile after creating it, and (b) we test reading
25060 corefiles in corefile.exp anyway. Also, this test left around a
25061 xgdb process on Solaris.
25062
25063 * gdb.base/corefile.exp: Also test backtrace.
25064
25065 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
25066
25067 * gdb.base/commands.exp: Test a simple user defined command with
25068 arguments and if/while statements; verify the full user command is
25069 printed by "show user".
25070
25071 * gdb.base/commands.exp: Test if/while commands as part of a
25072 breakpoint command list; verify they appear in breakpoint
25073 information.
25074
25075 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25076
25077 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
25078 than by dividing by zero.
25079
25080 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
25081
25082 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
25083 performing an inferior call with watchpoints enabled.
25084 * gdb.base/watchpoint.c (main): Delete second unnecessary read
25085 call.
25086
25087 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25088
25089 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
25090 of "file" command.
25091
25092 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
25093 Add additional pattern for when "int operator int(void);" appears
25094 in a different order.
25095
25096 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
25097
25098 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
25099
25100 * gdb.base/help.exp: Replace most of docstrings for "info signals"
25101 and "signal" with ".*".
25102
25103 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25104
25105 * TODO: Add note about "handle all nostop".
25106
25107 * gdb.base/{sigall.c, sigall.exp}: New test.
25108 * gdb.base/Makefile.in: Add it.
25109
25110 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
25111
25112 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
25113 when invoking GDB, suppresses any windowing interface.
25114
25115 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
25116
25117 * config/sim-gdb: New file, simulator testing support.
25118
25119 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
25120
25121 * gdb.base/interrupt.exp: Test calling func1 twice.
25122
25123 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
25124
25125 * gdb.base/list.exp (test_forward_search): Set timeout higher
25126 when we'll be getting lots of output from gdb.
25127
25128 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
25129 "init_malloc" to after the expect statement. Run it if that
25130 regexp is taken, but also for two others which happen if source
25131 cannot be found.
25132
25133 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25134
25135 * gdb.base/printcmds.exp: New test, for printing register before
25136 program is running.
25137
25138 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25139
25140 * gdb.base/list.exp: Correct some alternate expect patterns
25141 to reflect changes in list1.c.
25142
25143 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25144
25145 * TODO: Add item regarding large frames.
25146
25147 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
25148
25149 * TODO: Remove item about enabling return.exp; it
25150 is enabled. Suggest a few more "return" tests.
25151
25152 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25153
25154 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
25155 anonymous unions.
25156
25157 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25158
25159 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
25160 and pr-5646.o, so "make" is the same as "make all", not "make
25161 pr-4975.o".
25162
25163 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
25164
25165 * gdb.base/list.exp: Adjust expectations to reflect changes in
25166 list1.c.
25167 (test_forward_search): New test proc.
25168 * gdb.base/list1.c (long_line): New function, has long source line.
25169
25170 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
25171
25172 * gdb.base/a1-selftest.exp: Change initial stepping to know about
25173 additional line of code that was added.
25174
25175 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
25176
25177 * gdb.disasm/hppa.s: Break the large branching tests into smaller
25178 tests so as not to overflow expect's input buffers.
25179 * gdb.disasm/hppa.exp: Corresponding changes.
25180
25181 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25182
25183 Beginnings of template debugging tests.
25184 * gdb.c++/templ-info.cc: New file to test for template
25185 debugging capability of the compiler.
25186 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
25187 templ-info.cc.
25188 * gdb.c++/templates.cc: Add explicit template instantiations
25189 to enable compiling with -fno-implicit-templates. Add destructor
25190 and 'value' method to T5 class for template tests.
25191 * gdb.c++/templates.exp: Add testcases for printing of template
25192 types, setting breakpoints on template methods and calling a
25193 template method.
25194
25195 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
25196
25197 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
25198 branch target since some assemblers (gas-2.5) may emit a
25199 relocation for the branch instead of resolving it in the
25200 assembler.
25201
25202 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25203
25204 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
25205 through signal handler.
25206
25207 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25208
25209 * configure.in (*-*-netware): Use config/mt-netware.
25210
25211 * config/mt-netware: New file.
25212 * config/mt-i386-netware: Removed, separate configs for different
25213 netware architectures are no longer needed now that we have
25214 --with-headers.
25215
25216 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25217
25218 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25219 by the recent changes to use ANSI C arithmetic conversions.
25220
25221 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25222
25223 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25224 bug involving using inferior_pid to figure out whether to select a
25225 frame.
25226
25227 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25228
25229 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25230 match the current disassembler output.
25231
25232 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25233
25234 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25235 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25236 types, expect "int" as type of integer values (for now).
25237
25238 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25239
25240 * gdb.base/commands.exp: New tests for if/while commands.
25241
25242 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25243
25244 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25245 by .*, since hex values have different syntax in Chill mode.
25246
25247 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25248
25249 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25250 linefeed from expect pattern for repeated types with indices > 9.
25251
25252 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25253
25254 First part of Fortran test suite.
25255 * gdb.fortran: New directory.
25256 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25257
25258 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25259
25260 * gdb.base/default.exp: Update expect pattern for load command
25261 without arguments.
25262
25263 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25264
25265 * configure.in: Change i386 to i[345]86.
25266 * gdb.base/configure.in: Likewise.
25267 * gdb.c++/configure.in: Likewise.
25268 * gdb.chill/configure.in: Likewise.
25269
25270 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25271
25272 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25273 patterns, since that is not a valid context for comments.
25274
25275 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25276
25277 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25278 repeated types and repeated types with indices > 9.
25279
25280 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25281
25282 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25283 2417; old bug has been fixed.
25284
25285 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25286
25287 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25288 send the newline ourselves instead of assuming gdb_test will do
25289 so when passed an empty input string.
25290
25291 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25292 stabs testcode.
25293
25294 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25295
25296 * lib/gdb.exp (gdb_test): Don't send anything if the first
25297 argument is an empty string. This makes cases where we want to
25298 match output that is already in expect's buffers (for example,
25299 matching a breakpoint after gdb_run_cmd has been called) work
25300 reliably.
25301
25302 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25303
25304 * config/netware.exp: New file.
25305
25306 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25307
25308 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25309 the -B and -L prefixes so we can find the debugging stub.
25310
25311 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25312 there and we are using the gcc from the tree.
25313
25314 * gdb.base/types.c: Removed.
25315
25316 * gdb.base/configure.in: Look for makefile fragments in ../config.
25317 Recognize i386-*-netware.
25318 * gdb.c++/configure.in: Likewise.
25319
25320 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25321
25322 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25323 the correct TCL syntax.
25324
25325 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25326
25327 * gdb.base/opaque.exp: use runto instead of messing around with
25328 breakpoints. Simplify by using gdb_test.
25329
25330 * gdb.base/bitfields.exp: restart between tests on netware targets
25331 because breakpoints aren't relocated after target death. Run
25332 processes to completion.
25333
25334 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25335
25336 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25337
25338 * Makefile.in: Remove extra tabs that confuse some versions
25339 of "make". Use the newly built gdb to test with by default,
25340 rather than the first one in the tester's search path.
25341
25342 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25343
25344 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25345
25346 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25347 condition help.
25348
25349 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25350
25351 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25352
25353 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25354 running.
25355 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25356 * gdb.base/funcargs.exp: Likewise.
25357
25358 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25359 * gdb.base/funcargs.exp: Likewise.
25360
25361 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25362 message is "".
25363
25364 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25365
25366 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25367 return,signals,twice}.exp: Handle non-existant binaries
25368 consistantly.
25369
25370 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25371 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25372 might testing a cross development system.
25373
25374 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25375
25376 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25377 runtest script is relative to ${srcdir}, not ${rootdir}.
25378
25379 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25380
25381 * gdb.base/signals.exp: Allow for optionality of breakpoint
25382 address.
25383
25384 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25385
25386 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25387
25388 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25389
25390 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25391 for size_t definition.
25392 * gdb.c++/templates.cc: Likewise
25393
25394 * config/mt-i386-netware: New file.
25395
25396 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25397 defined.
25398
25399 * gdb.base/Makefile.in: Added support for systems that name core
25400 files by appending "core" to the program name.
25401 * gdb.base/a1-selftest.exp: Likewise.
25402
25403 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25404
25405 * gdb.base/return.exp: Add comment and message for `return double'
25406 test failure on Sparc Solaris.
25407
25408 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25409
25410 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25411
25412 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25413
25414 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25415 from optimizing them away.
25416 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25417 patterns to include default constructors and assignment operators,
25418 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25419 character in the output of the virtual base pointer.
25420
25421 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25422
25423 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25424 expression match in print_addr_of to avoid unintented matches.
25425 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25426 versions up to 2.5.8.
25427
25428 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25429
25430 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25431 included file to run under newer versions of expect.
25432 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25433 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25434 Remove xfail for the virtual table of BDDHookV.
25435
25436 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25437
25438 * lib/gdb.exp (string_to_regexp): Set a default result.
25439 (default_gdb_start): Fix misleading message.
25440
25441 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25442
25443 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25444 Remove all CC, etc definitions.
25445 * config/mt-hpux: New file.
25446 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25447 (CFLAGS, LDFLAGS): Define.
25448 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25449
25450 * Makefile.in (site.exp): Don't insert host_os, etc.
25451 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25452 (distclean): Check existence of subdir.
25453 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25454 * gdb.base/Makefile.in: General cleanup and simplification.
25455 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25456 to build executables. Use default rule to build .o files.
25457 (EXPECT, RUNTEST, CC): Fix relative pathname.
25458 (site.exp): Don't insert host_os, etc.
25459 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25460 and/or SIGUSR1 defined.
25461 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25462 * gdb.c++/Makefile.in: General cleanup and simplification.
25463 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25464 (CFLAGS): Remove.
25465 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25466
25467 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25468
25469 * gdb.base/recurse.exp: Misc changes to get tests running again
25470 after Kung's changes to the watchpoint code.
25471 * gdb.base/watchpoint.exp: Likewise.
25472
25473 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25474
25475 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25476
25477 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25478
25479 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25480 * lib/gdb.exp (default_gdb_start): Define.
25481 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25482 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25483 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25484 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25485 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25486 Don't call gdb_target_udi in between tests.
25487
25488 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25489
25490 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25491 (which was basically just a local version of the same thing). In
25492 addition to avoiding duplication, gdb_test_exact is faster.
25493 * lib/gdb.exp (gdb_test_exact): Fix typo.
25494
25495 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25496 don't give an error.
25497
25498 * gdb.base/term.exp: Call delete_breakpoints before starting.
25499
25500 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25501 (t10): Add comment.
25502
25503 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25504
25505 Reorganization of the GDB Test Suite.
25506
25507 * gdb.base: New directory, contains all the basic tests.
25508 * gdb.c++: New directory, tests specific to C++.
25509 * gdb.chill: New directory, tests specific to Chill.
25510 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25511 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25512 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25513 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25514 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25515 t30-31 to chill).
25516 * */gdbme.*: Rename to match appropriate expect scripts.
25517 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25518 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25519 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25520 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25521 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25522 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25523 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25524 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25525 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25526 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25527 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25528 gdb.c++/virtfunc.cc: New names of C++ files.
25529 * gdb.chill/chillvars.ch: New name of Chill file.
25530 * gdb.base/configure.in, gdb.c++/configure.in,
25531 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25532 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25533 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25534 * configure.in (configdirs): Update to reflect directory changes.
25535 (target_abbrev): No longer define for any configuration.
25536 * Makefile.in: Cosmetic improvements to header comments.
25537
25538 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25539
25540 Various changes to gdb.t31:
25541
25542 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25543 * gdbme.ch: Make all key-words and predefineds be upper-case.
25544 * chillvars.exp: Expect key-words and predefinds in upper-case.
25545
25546 * chillvars.exp: Use gdb_test_exact many places.
25547 Change expected output for arrays (which now includes index labels).
25548
25549 * pr-5020.exp, gdme.ch (module PR_5020):
25550 New test, for PR-5020.
25551
25552 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25553
25554 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25555 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25556
25557 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25558
25559 * Makefile.in: Fix bit-rot in definitions of CHILL,
25560 CHILL_FOR_TARGET and Chill_LIB.
25561 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25562 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25563 CHILL, and CHILL_LIB.
25564
25565 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25566
25567 * Revert the previous changes. Please see Rob's directory
25568 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25569
25570 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25571
25572 * Makefile.in, configure.in, config/mips-gdb.exp,
25573 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25574 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25575 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
25576 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25577 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25578 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25579 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25580 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25581 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25582 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25583 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25584 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25585 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25586 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25587 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25588 changes from 94Q1.
25589
25590 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25591
25592 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25593 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25594 Rob's new testing fragments.
25595
25596 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25597
25598 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
25599 lib/gdb.exp: Replace error proc calls with perror.
25600
25601 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25602
25603 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25604 version also, match on casted version strings, and match on
25605 gdb startup case where the line numbers might be messed up.
25606
25607 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25608
25609 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
25610 (CFLAGS): Delete it from here.
25611
25612 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25613
25614 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25615
25616 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25617
25618 * Makefile.in (RUNTEST): Default to just "runtest".
25619
25620 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25621
25622 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25623 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25624 the code has been restructured.
25625
25626 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25627
25628 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25629 \n, not just one of each.
25630
25631 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25632 /bin/cc gives a warning if you do.
25633
25634 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25635
25636 * gdb.t24/demangle.exp: change expect pattern of
25637 __t10ListS_link1ZUiRCUiPT0
25638
25639 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25640
25641 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25642 on local variables in recursive functions.
25643
25644 * gdb.t07/Makefile.in: Build the new test.
25645
25646 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25647
25648 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25649 directly. Instead compare the return values from actual calls.
25650
25651 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25652
25653 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25654
25655 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25656
25657 * From Peter Schauer with minor modifications.
25658 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25659 stops in mid-line in the caller. Add xfail for returning a float
25660 value on X86 targets.
25661
25662 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25663
25664 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25665 to avoid expect lossage.
25666 (fmem_LRbug_tests): Likewise.
25667 * gdb.disasm/hppa.s: Corresponding changes.
25668
25669 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25670 conditions to work with latest dejagnu/expect.
25671
25672 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25673 expected to fail on the PA.
25674 (backtrace in call with trampolines): Explicitly require main
25675 to be frame #1 (no trampolines should show up in backtrace).
25676
25677 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25678 "continue -expect".
25679 * gdb.t06/break.exp: Likewise.
25680 * gdb.t07/watchpoint.exp: Likewise.
25681 * gdb.t13/bitfields.exp: Likewise.
25682 * gdb.t15/{funcargs,return}.exp: Likewise.
25683 * gdb.stabs/weird.exp: Likewise.
25684 * config/{mips,udi}-gdb.exp: Likewise.
25685
25686 * hppa.sed: Enclose comments within a sed command to avoid
25687 losing with the old OSF1 sed.
25688
25689 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25690
25691 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25692 sequent dynix.
25693 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25694 * gdb.t15/funcargs.exp: Conditionally step again to really
25695 finish from marker_call_with_trampolines. Handle the case where
25696 the first step from within call_with_trampolines already steps
25697 us back to main.
25698 * gdb.t15/gdbme.c: Add comment to closing brace of
25699 call_with_trampolines for funcargs.exp.
25700
25701 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25702
25703 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25704 Fix typo(s).
25705
25706 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25707
25708 * gdb.t07/gdbme.c: More code for watchpoint testing.
25709
25710 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25711 "Hardware watchpoint" throughout file.
25712 (test_watchpoint_triggered_in_syscall): New test.
25713 (test_complex_watchpoint): New test.
25714
25715 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25716
25717 * gdbme.c (call_with_trampolines): New function to try and step
25718 into. Tests trampoline problems on the PA.
25719
25720 * funcargs.exp (localvars_in_indirect_call): No longer expect
25721 stepping into indirect call to fail on PAs.
25722 (test_stepping_over_trampolines): New test.
25723
25724 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25725
25726 * TODO: Add suggestions for static member function tests, and
25727 completion tests.
25728
25729 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25730
25731 * TODO: Add suggestions for "p/a" tests.
25732
25733 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25734 (default_gdb_exit): Replace all the hair with sending "quit" to
25735 the process with a simple close.
25736
25737 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25738
25739 * TODO: Add suggestions for shared library tests.
25740
25741 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25742
25743 * TODO: Add suggestions for x/s tests.
25744
25745 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25746
25747 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25748 "enable once", and "enable breakpoints once" with ".*".
25749
25750 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25751
25752 * TODO: Add suggestions about structure passing tests.
25753
25754 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25755
25756 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25757 the primary1 test, use work around if __GNUC__ < 2.
25758 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25759 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25760 Test for bad output rather than waiting for timeout. Issue
25761 second continue only if first continue failed.
25762
25763 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25764
25765 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25766 operator[] test with gdb_test because the old code didn't seem to
25767 be getting the quoting right with the new dejagnu.
25768
25769 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25770
25771 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25772 one from the path.
25773 * Makefile.in: Use a fresh expect if there is one, use runtest
25774 from the src tree if there is one.
25775
25776 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25777
25778 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25779 next over recursive call. Revise the tests from that point on
25780 (which had been skipped) to match GDB's actual (correct) output.
25781
25782 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25783 with next over a breakpoint whose condition is false.
25784
25785 * gdb.t00/help.exp: Comment out "help set print" tests just like
25786 (and for same reason as) "help set" test.
25787
25788 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25789
25790 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25791 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25792
25793 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25794
25795 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25796 necessary gdb_target_udi.
25797
25798 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25799
25800 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25801 1838 and 2417; they are fixed.
25802
25803 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25804 gdb.t03/ptype.exp (ptype structure, ptype union):
25805 Remove xfails; the test is looser than when the xfails were added.
25806
25807 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25808 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25809
25810 * gdb.t01/run.exp: Only run shell test if isnative.
25811
25812 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25813 since "run" automatically loads if necessary. Call gdb_target_udi
25814 after the "file" since "file" kills any execution target.
25815
25816 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25817 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25818 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25819 argument for UDI.
25820
25821 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25822
25823 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25824
25825 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25826
25827 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25828
25829 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25830 properly quoting regexps. This makes the second argument to
25831 demangle a fixed string, which matches the callers, instead of a
25832 shell-style pattern which is what the previous implementation
25833 used. Update some of the callers.
25834
25835 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25836
25837 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25838 (comib_nullified_tests): Fix typo.
25839 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25840 strings. No longer expected to fail.
25841
25842 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25843 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25844 strings. No longer expected to fail.
25845
25846 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25847 string. No longer expected to fail.
25848
25849 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25850
25851 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25852 No longer expected to fail.
25853
25854 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25855 string. No longer expected to fail.
25856
25857 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25858
25859 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25860 only in the names (I probably got most of them). I was even
25861 generous with some which differed in underscores in names, and
25862 probably missed a few, and I *still* was able to remove almost a
25863 third of the file with almost no impact on testsuite coverage.
25864
25865 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25866
25867 * gdb.t00/default.exp: Match udi_attach error message as well as
25868 the one from child_attach.
25869
25870 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25871
25872 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25873
25874 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25875 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25876
25877 * Move test with enums and partial symbols back to
25878 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25879 Reverts the change of 26 May 93. Per today's change to
25880 stabs.texinfo, the behavior that weird.exp was expecting was
25881 unreasonable; what is important is that the compiler+gdb get
25882 things right, which happens with a recent gcc. Also fix the test
25883 to deal with native compilers which put out the stab gdb can't
25884 deal with.
25885
25886 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25887
25888 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25889 in the names. The main thing these accomplish is to slow things down.
25890 Many more such duplicates surely remain.
25891
25892 * gdb.t00/help.exp: Comment out "help support" test just like
25893 (and for same reason as) "help set" test.
25894
25895 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25896
25897 * gdb.t06/break.exp: Remove setup_xfails for
25898 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25899 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25900 about known bug in gcc to include up through 2.5.8.
25901 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25902 well as "_vb$".
25903 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25904 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25905 with latest gcc and gdb.
25906 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25907 well as "_vb$".
25908
25909 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25910
25911 * configure.in (hppa*-*-*): Also configure and build stabs-only
25912 tests.
25913
25914 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25915
25916 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25917 * gdb.t10/configure.in (hppa*-*-*): Use it.
25918
25919 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25920
25921 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25922
25923 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25924
25925 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25926 versions prior to 1.13.5.
25927
25928 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25929
25930 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25931 the prompt is at the start of a line.
25932
25933 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25934
25935 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25936 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25937 in the copr tests now.
25938 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25939 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25940 expected to fail.
25941
25942 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25943
25944 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25945 gdb.t31/chillvars.exp, lib/gdb.exp:
25946 Tweak to run under either version of expect.
25947 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25948 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25949 * gdb.t11/list.exp: Remove extraneous whitespace.
25950
25951 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25952
25953 * gdb.t16/printcmds.exp (test_print_strings): Accept
25954 "(unsigned char *) " before the string.
25955
25956 * TODO: Add notes about printing of fancy types and GDB expressions.
25957
25958 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25959
25960 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25961 * gdb.t06/configure.in: Don't try to compile signals test program
25962 if doing mips-idt-ecoff.
25963
25964 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25965
25966 * Most .exp files: Tweak to run under either version of expect.
25967
25968 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25969
25970 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25971 xfails; I'm not sure why they are failing, but not because of PR 1806.
25972
25973 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25974
25975 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25976 defined in lib/gdb.exp.
25977
25978 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25979
25980 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25981 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25982 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25983 have to be typeless.
25984
25985 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25986
25987 * TODO: Add suggestion for copyright year test.
25988
25989 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25990
25991 * configure.in (*-*-lynxos*): Add stabs tests.
25992
25993 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25994
25995 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25996 so insert a tab before any assembler directive in column zero.
25997
25998 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25999 stores.
26000 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
26001 stores.
26002 (fpu_short_memory_tests): Likewise.
26003
26004 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26005
26006 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
26007 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
26008 .stabs directives in comments.
26009
26010 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26011
26012 * TODO: New file, describing tests we could write.
26013 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
26014
26015 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26016
26017 * gdb.t06/signals.exp: Add kludge to force re-sync.
26018
26019 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
26020 to xgdb instead of gdb, get out of gdb.
26021
26022 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
26023
26024 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
26025 for info.
26026
26027 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
26028
26029 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
26030 * gdb.stabs/configure.in (hppa*-*-*): Use it.
26031 * gdb.stabs/hppa.sed: New sed script for the PA.
26032
26033 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26034
26035 * gdb.stabs: Re-write weird.def and configuration to use sed
26036 instead of cpp. sed is portable and POSIX; cpp is neither.
26037
26038 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26039
26040 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
26041
26042 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26043
26044 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
26045
26046 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26047
26048 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
26049 "_vb$".
26050 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
26051 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
26052
26053 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26054
26055 * lib/gdb.exp: Comment out code which depends on non-existent
26056 `transform' procedure.
26057
26058 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
26059
26060 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
26061 * lib/gdb.exp: Transform tool name.
26062 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
26063 1.1's new error handling system.
26064
26065 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26066
26067 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
26068
26069 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26070
26071 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
26072 They made pattern matching so slow that timeouts happened on
26073 heavily loaded systems. Now any output from "show print" which
26074 gets us back to the GDB prompt is a PASS.
26075
26076 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
26077
26078 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
26079
26080 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26081
26082 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
26083
26084 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
26085 It is not from PR 3220.
26086
26087 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26088
26089 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
26090 just started failing because they depended on the order the
26091 subcommands are presented, or exact docstring text. This kind of
26092 test is a pain and has minimal benefit.
26093
26094 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26095
26096 * gdb.t09/corefile.exp: At end of test, use "core" command with
26097 no arguments.
26098
26099 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
26100
26101 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
26102 17}/Makefile.in: Make it possible to run the testsuite with Sun
26103 make and CC = cross gcc by adding explicit build rules for .o
26104 files.
26105
26106 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26107
26108 * gdb.t15/funcargs.exp: Don't put comments on same line as
26109 setup_xfail (@#$*%& tcl braindamage!).
26110
26111 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26112
26113 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
26114
26115 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
26116
26117 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
26118 * gdb.t20/inherit.exp: remove three dumplicate entries.
26119
26120 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26121
26122 * gdb.t06/break.exp: For "next over recursive call", fail on any
26123 incorrect output, not just on "factorial (value=2)".
26124
26125 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26126
26127 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
26128 working now. Add an xfail if accesing a bss variable causes
26129 a memory error if the target is not yet run.
26130
26131 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26132
26133 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
26134 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
26135 name of __st* demangling (2 strings). Did Kung really get the
26136 more than 95 others right without testing them?
26137
26138 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
26139
26140 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
26141
26142 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
26143
26144 * configure.in (configdirs): Add gdb.disasm
26145 * gdb.disasm: New directory for GDB disassembler tests.
26146 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
26147
26148 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26149
26150 * gdb.t00/help.exp: Don't test "help set".
26151
26152 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
26153 from within expect statements. None of these happen anymore and
26154 they cause regressions to be silently unnoticed.
26155
26156 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
26157 messages) about known failures with gcc cygnus-2.4.5-930417.
26158
26159 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
26160 comp-info.exp so it gets built if it doesn't exist.
26161
26162 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
26163 it is no longer used.
26164 * gdb.t13/comp-info.c: Removed.
26165
26166 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26167
26168 * gdb.t06/signals.exp: Add xfail for sun3.
26169
26170 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26171
26172 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
26173 relevant because ^C doesn't get sent but failure can be reproduced
26174 interactively).
26175
26176 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26177
26178 * gdb.stabs/alpha.mt: New configuration file for alpha.
26179 * gdb.stabs/configure.in: Use it.
26180 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
26181 sharing with alpha.mt, redefine long to word via preprocessor.
26182 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
26183 for alpha.
26184 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
26185 native cc.
26186 * gdb.t00/teststrategy.exp: Change expect string so that we
26187 consume the `(xgdb)' from the command echo and from the gdb prompt.
26188 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
26189 gdb currently compares all values as long, so this failure probably
26190 applies to any configuration where LONGEST is bigger than a target int.
26191 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
26192 with gcc.
26193 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
26194 to handle opaque pointers, gcc is.
26195 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
26196 as first argument. Include <sys/types.h> and change all operator
26197 new definitions to use size_t.
26198 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
26199 now that we use size_t.
26200
26201 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26202
26203 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
26204 a long or float array cast all array members to the same type.
26205 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
26206 with 64 bit longs.
26207 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
26208 on alpha.
26209 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
26210
26211 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26212
26213 * gdb.t24 (demangle.exp): Constructors of templates have names like
26214 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26215 section 14.6 of the ARM.
26216
26217 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26218 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26219 accomplish little and slow down the testsuite.
26220
26221 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26222 Accept spaces various places.
26223
26224 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26225
26226 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26227 with watchpoint enabled.
26228
26229 * Makefile.in: Remove definition of CC and remove the second
26230 definition of CXX (the "CXX = gcc" one remains). These definitions
26231 were causing backquotes to be expanded within backquotes, which
26232 doesn't work.
26233
26234 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26235
26236 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26237
26238 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26239
26240 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26241 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
26242 by mips cc and contains no stabs entries.
26243
26244 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26245
26246 * config/vx-gdb.exp: Use fake device to load files rather than
26247 NFS.
26248 * lib/gdb.exp: New proc to do "file" command.
26249 * config/unix-gdb.exp: Use new "file" proc.
26250
26251 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26252
26253 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26254 Rework board rebooting slightly.
26255 (gdb_exit): Don't exit from the remote shell; there isn't one.
26256 * gdb.stabs/weird.exp: If a program is being debugged already,
26257 kill it.
26258 * gdb.t04/setvar.exp: Stop and restart gdb.
26259 * gdb.t05/expr.exp: Likewise.
26260 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26261 restart gdb and reload the program.
26262 * gdb.t08/opaque.exp: Likewise.
26263 * gdb.t12/scope.exp: Likewise.
26264 * gdb.t13/bitfields.exp: Likewise.
26265 * gdb.t15/funcargs.exp: Likewise.
26266 * gdb.t20/classes.exp: Likewise.
26267 * gdb.t03/ptype.exp: Increase timeout.
26268 * gdb.t16/printcmds.exp (test_print_string_constants,
26269 test_print_array_constants): Likewise.
26270 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26271 * gdb.t20/classes.exp (do_tests): Likewise.
26272 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26273
26274 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26275
26276 * gdb.stabs: Renamed *wierd* to *weird*.
26277
26278 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26279
26280 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26281 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26282
26283 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26284
26285 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26286 (do_tests): Remove xfail for whatis on one_var and two_var.
26287
26288 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26289
26290 * Makefile.in: Made cross building work better by adding
26291 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26292
26293 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26294
26295 * gdb.t15/{return.c,return.exp,Makefile.in}:
26296 New test, currently commented out.
26297
26298 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26299
26300 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26301 still running and removes the leftover named socket so GDb can do
26302 clean restarts.
26303
26304 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26305
26306 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26307 console, not GDB.
26308 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26309 cross testing works better with "make check"
26310 * config/unix-gdb: Use default procedures for exit and version.
26311 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26312 with the newest VxWorks.
26313
26314 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26315
26316 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26317 old form.
26318
26319 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26320 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26321
26322 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26323
26324 * config/unix-gdb.exp: Remove this version of gdb_exit
26325 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26326 Rob says he'll look at it when he gets back to testing boards.
26327
26328 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26329
26330 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26331 an expected fail for certain ptype commands.
26332
26333 * gdb.t20/classes.exp: Update expected results of "ptype class
26334 Base1" to account for the constructor that now appears in the type.
26335
26336 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26337
26338 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26339 disappeared from list.
26340 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26341 "alldone" proc with call to cleanup and exit.
26342 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26343 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26344 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26345 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26346 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26347 "alldone" proc with simple returns that suppress remaining
26348 tests. The alldone proc went away many months ago.
26349
26350 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26351
26352 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26353
26354 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26355
26356 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26357
26358 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26359 as vax gdb will display them.
26360
26361 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26362
26363 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26364 optimizers.
26365
26366 * scope.exp: Change "bad value for localval" messages so each one
26367 is unique.
26368
26369 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26370 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26371
26372 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26373
26374 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26375
26376 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26377 doesn't exist (due to optimization).
26378
26379 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26380
26381 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26382 contains \r because the filename is long.
26383
26384 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26385 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26386
26387 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26388
26389 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26390 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26391 Ultrix.
26392 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26393 int tests.
26394 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26395
26396 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26397
26398 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26399
26400 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
26401 to match does not match the passing case but still matches the
26402 failing case.
26403
26404 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26405
26406 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26407
26408 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26409
26410 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26411 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26412 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26413 Remove various versions of gdb_exit.
26414 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26415 gdb_exit.
26416 * config/unix-gdb.exp: gdb_exit remains here, and should override
26417 the generic version, since it's doing a lot of wierd stuff that
26418 the other versions aren't. FIXME, fold it in, or abandon this
26419 version.
26420
26421 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26422
26423 * gdb.t24/demangle.exp: Add tests for PR 3220.
26424
26425 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26426
26427 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26428
26429 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26430
26431 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26432 "i386-*-*". Works for i486 as well.
26433
26434 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26435 bug, and expand domain of xfail to all SVR4 systems, since the
26436 actual problem is likely to be in generic SVR4 /proc support.
26437
26438 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26439
26440 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26441
26442 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26443
26444 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26445 xfails for other systems. Match a missing 'Continuing.' as an
26446 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26447
26448 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26449 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26450 Only issue warning for missing executables if -all option is used.
26451
26452 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26453 file if -all option is used. It's like an unpredictable XFAIL.
26454
26455 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26456
26457 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26458 for dynamically linked binaries.
26459
26460 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26461
26462 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26463
26464 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26465 to state that this is a known bug in old versions of g++.
26466
26467 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26468
26469 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26470 while waiting for `Continuing'.
26471
26472 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26473
26474 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26475 in text, data, and bss.
26476 * gdb.t10/nodebug.c: Add local and global test variables for
26477 initialized and uninitialized data.
26478
26479 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26480
26481 * config/unix-gdb.exp (gdb_exit): Add "wait".
26482
26483 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26484
26485 * gdb.t06/signals.exp: xfail the continue from the handler for all
26486 targets.
26487
26488 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26489 function with watchpoints enabled, the i386 call dummy starts with
26490 a call.
26491
26492 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26493 386 bsd names its corefiles.
26494
26495 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26496
26497 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26498 compilers don't grok it.
26499 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26500 with small octal ints rather than character constants, which
26501 are signed and might not fit if first promoted to int.
26502
26503 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26504
26505 * gdb.t09/Makefile.in (clean): Remove corefile.
26506
26507 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26508
26509 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26510
26511 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26512 and Jim Kingdon (kingdon@cygnus.com)
26513
26514 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26515 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26516 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26517
26518 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26519
26520 * gdb.t17/interrupt.exp: Add xfail for hppa.
26521
26522 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26523
26524 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26525 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26526 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26527 to determine signed-ness of bitfields and use the result to setup
26528 the xfail.
26529 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26530 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26531 call line is reached if necessary.
26532
26533 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26534
26535 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26536
26537 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26538
26539 * gdb.t06/break.exp: Also test `clear' command.
26540
26541 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26542
26543 * gdb.t00/teststrategy.exp: Remove extra quote.
26544
26545 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26546 watchpoint enabled to be for all non-68k machines.
26547
26548 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26549
26550 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26551
26552 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26553 targets use aout.mt instead of ecoff.mt as gas understands
26554 standard aout format.
26555
26556 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26557
26558 * lib/gdb.exp (runto): Don't insist that function we are running to
26559 was compiled with -g.
26560
26561 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26562
26563 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26564 to get back into the read system call.
26565 Accept leading newline in case where we woke it up.
26566
26567 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26568
26569 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26570 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26571 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26572 enable ecoff configuration.
26573
26574 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26575
26576 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26577
26578 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26579
26580 * gdb.t16/printcmds.exp: Add another printf test.
26581
26582 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26583
26584 * configure.in: If configured -with-stabs on any target, add
26585 stabsdirs to configdirs.
26586
26587 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26588
26589 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26590 fun" so pattern does not match the command itself.
26591
26592 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26593
26594 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26595
26596 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26597
26598 * gdb.t17/interrupt.exp: Test for more things.
26599
26600 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26601
26602 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26603 compiler arranges the code and line numbers.
26604
26605 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26606
26607 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26608
26609 * gdb.t00/help.exp: Increase expect input buffer size.
26610
26611 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26612
26613 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26614
26615 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26616
26617 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26618
26619 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26620 [0-9]*, not just [0-9].
26621
26622 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26623
26624 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26625
26626 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26627
26628 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26629
26630 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26631
26632 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26633
26634 * gdb.t06/signals.c: Add xfails for sun3.
26635
26636 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26637
26638 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26639 test_stepping tests.
26640
26641 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26642
26643 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26644
26645 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26646
26647 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26648 rather than actually putting it through cpp twice.
26649
26650 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26651
26652 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26653
26654 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26655 no longer needed.
26656
26657 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26658
26659 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26660
26661 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26662 C++ features prints as "struct", make it a pass, not an xfail.
26663
26664 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26665
26666 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26667 Don't require VA to print as "class" rather than "struct".
26668
26669 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26670
26671 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26672
26673 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26674
26675 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26676
26677 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26678
26679 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26680 order.
26681
26682 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26683
26684 * gdb.t16/printcmds.exp: Add printf tests.
26685
26686 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26687
26688 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26689
26690 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26691
26692 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26693 pass counts, to counteract any existing or future setup_xfails.
26694
26695 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26696
26697 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26698 {BEGIN,END}_COMMON for common block instead of STAB.
26699 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26700
26701 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26702 intp_var should be N_GSYM not N_LSYM.
26703 wierd-aout.S: Use a label for the value of the N_SO.
26704 wierd.def: Remove all backslashes.
26705 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26706
26707 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26708
26709 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26710 get the expected next to inheritance3.
26711
26712 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26713
26714 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26715 now that gcc-2.4 gets it right.
26716
26717 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26718
26719 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26720
26721 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26722 generating comp-info.exp which works for cross-compilation.
26723
26724 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26725
26726 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26727 "*-*-sysv4.*".
26728
26729 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26730
26731 * gdb.t01/run.exp: Start with a fresh gdb.
26732 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26733 SVR4.x.
26734
26735 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26736
26737 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26738 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26739 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26740 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26741 things to remove.
26742
26743 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26744
26745 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26746 test cases from bug reports.
26747
26748 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26749
26750 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26751 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26752 avoid spurious xfails.
26753 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26754 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26755 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26756
26757 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26758
26759 * gdb.t00/teststrategy.exp: Rework to provide more useful
26760 description of each test, fix problem with systems that define
26761 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26762 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26763 results for "next over recursive call" so timeouts aren't taken
26764 by error.
26765
26766 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26767
26768 * gdb.t12/scope.exp: Test printing of variables before run.
26769
26770 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26771 printed in wrong order due to sorting.
26772
26773 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26774
26775 * gdb.t00/teststrategy.exp: Fix expected results for printing
26776 user entered string constant. Is array of char, prints with no
26777 address.
26778
26779 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26780 commands.
26781 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26782 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26783 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26784 of struct of char arrays.
26785 * gdb.t00/radix.exp: New tests for radix commands.
26786
26787 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26788
26789 * gdb.t16/printcmd.exp: Print a variable before running program
26790 (with xfail for AIX).
26791
26792 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26793
26794 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26795
26796 * gdb.t16/printcmd.exp: Don't print variables before running program.
26797
26798 * gdb.t06/break.exp: Don't require envp argument to main.
26799
26800 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26801
26802 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26803 Add xfails for rs6000.
26804
26805 * gdb.t02/whatis.exp: Change other tests not to re-test something
26806 we already tested.
26807
26808 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26809 each type used has a variable of that type.
26810
26811 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26812
26813 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26814
26815 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26816
26817 * configure.in: change srctrigger to be a file, not a directory
26818
26819 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26820
26821 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26822
26823 * gdb.t11/list.exp: Fixed a couple of typos.
26824
26825 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26826
26827 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26828 is fixed and PR is closed.
26829 * gdb.t16 (gdbme.c): Add simple test string variable.
26830 * gdb.t16 (printcmds.exp): Add tests with simple test string
26831 variable, primarily for boundaries on "set print elements".
26832
26833 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26834
26835 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26836 Make leading 0's optional and don't expect a tab in the middle
26837 of the number.
26838
26839 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26840
26841 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26842 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26843 don't end command passed to gdb_test with newline.
26844
26845 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26846 signed keyword away, don't expect signed bitfields to be signed.
26847
26848 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26849 printing with only as many 1's as are in the field as well as printing
26850 with 32 1's (see comment).
26851
26852 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26853
26854 * gdb.t00/default.exp: Start with a fresh gdb.
26855 * configure.in (configdirs): Remove gdb.t31 until the chill
26856 compiler works again. It no longer is able to find chillrt0
26857 since it isn't in libchill.a anymore.
26858 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26859 wierd.o, make more modular.
26860 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26861 spurious newlines that caused problems.
26862
26863 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26864
26865 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26866 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26867 gdb.stabs/wierd.{exp,def}: Many new tests.
26868
26869 * gdb.t00/default.exp: update info line for new message.
26870
26871 * gdb.t02/{whatis.exp,gdbme.c}:
26872 Test that "char *" doesn't print as "caddr_t".
26873
26874 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26875
26876 * gdb.t00/help.exp: Use .* in place of some help messages which
26877 just changed.
26878 gdb.t00/default.exp: Update "info frame" test for new message.
26879 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26880 Remove some xfails
26881
26882 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26883
26884 * gdb.t03/{gdbme.c,ptype.exp}:
26885 Add tests for typedef'd struct and union without tags.
26886 Also check "whatis" on a variable of a typedef'd enum without a tag.
26887
26888 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26889 PRMS 1823; the bug still exists but isn't reproduced by this test
26890 anymore), and remove rs6000 XFAIL (the bug is fixed).
26891
26892 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26893 duplicated from whatis.exp. For those that are left, accept
26894 "long", "long int", or "int" for long variables (whatis.exp already
26895 has an XFAIL for "int", so no need to fail it here).
26896
26897 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26898 Deal with GCC's names for types now that GDB uses the compiler's names.
26899
26900 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26901 setup_xfail's for sunos4. If we #defined the signed keyword away,
26902 don't expect GDB to know that char it is signed.
26903
26904 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26905
26906 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26907
26908 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26909 should work on any system, regardless of debugging format.
26910 * gdb.t21/demangle.exp: Move to gdb.t24.
26911 * gdb.t24/demangle.exp: Move from gdb.t21.
26912 * gdb.t24/{Makefile.in, configure.in}: New files.
26913
26914 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26915
26916 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26917 * gdb.stabs: New directory.
26918
26919 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26920
26921 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26922 not just "Quit anyway?".
26923
26924 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26925
26926 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26927 that all setup_xfails are immediately followed by clear_xfails.
26928
26929 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26930
26931 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26932 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26933 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26934 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26935 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26936 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26937 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26938 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26939 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26940 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26941 gdb.t31/chillvars.exp, lib/gdb.exp:
26942 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26943 bug-gdb@prep.ai.mit.edu.
26944
26945 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26946
26947 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26948 with 0.0, not integer 0.
26949
26950 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26951
26952 * gdb.t06/break.exp: Update for "Kill the program" message change.
26953
26954 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26955
26956 * Makefile.in (GDBFLAGS): Set to -nx.
26957 * Makefile.in (site.exp): Use GDBFLAGS.
26958
26959 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26960
26961 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26962 Makefiles.
26963 (check): depend on just-check.
26964 (just-check): added so that tests can be run without a noop
26965 build pass.
26966
26967 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26968
26969 Switch to using configure's configdirs.
26970 * Makefile.in (Makefile): add configure.in dependency.
26971 (SUBDIRS): removed redundant assignment.
26972 * configure.in: switch subdirs assignment to configdirs.
26973 * gdb.t*/configure.in: new files.
26974
26975 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26976
26977 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26978 works.
26979
26980 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26981
26982 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26983 in explicit rules. Apparently this is not supported by some makes.
26984
26985 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26986
26987 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26988
26989 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26990
26991 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26992 disappeared.
26993
26994 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26995
26996 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26997
26998 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26999
27000 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
27001 watchpoint problem that is now fixed.
27002 * gdb.t30/chexp.exp: Remove setup_xfail for printing
27003 uninitialized convenience variables.
27004 * gdb.t31/chillvars.exp: Fix expected patterns for printing
27005 structures.
27006
27007 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27008
27009 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
27010 which causes expect to get out of sync with gdb on long output
27011 from help set.
27012 * gdb.t09/corefile.exp: Make expected pattern for core file
27013 failing signal and frame output format less sun specific.
27014
27015 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
27016
27017 * gdb.t31/chillvars.exp: Add and remove initial dummy
27018 breakpoint, so that symbol table is forced in.
27019 (Needed at least on Sunos4, though it seems not SVR4.)
27020 * gdb.t31/chillvars.exp: Update for changed output format.
27021
27022 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
27023
27024 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
27025
27026 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
27027
27028 * Makefile.in: Added --srcdir when invoking runtest, removed the
27029 need for a local config file. (optional now)
27030
27031 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
27032
27033 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
27034 failure count used to force early termination. Add some more
27035 expected failures for gnu style demangling.
27036
27037 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27038
27039 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
27040 pmi variable from gdb.t20/gdbme to get optimized away.
27041 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
27042 Check for written corefile upon timeout _and_ eof.
27043
27044 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27045
27046 * config/unix-gdb.exp: Add missing return 0.
27047
27048 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27049
27050 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
27051 test termination.
27052
27053 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
27054
27055 * configure.in (subdirs): Put back gdb.t17 which mysteriously
27056 disappeared.
27057
27058 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
27059
27060 * gdb.t10/crossload.exp: Disable the i860-elf test until such
27061 time as i860 support works.
27062
27063 * gdb.t15/funcargs.exp: Fix expected outputs to include
27064 "backtrace 100\r" rather than just "backtrace\r", to match last
27065 change.
27066
27067 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
27068
27069 * config/udi-gdb.exp (gdb_exit): Remove close command.
27070 (gdb_target_udi): New procedure to set the UDI target.
27071 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
27072 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
27073 Added waits for prompts after several question responses. Added
27074 some more responses used by a29k-amd-udi-gdb.
27075 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
27076 pass different arguments, restart UDI connection after program
27077 completion.
27078 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
27079 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
27080 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
27081 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
27082 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
27083 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
27084 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
27085 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
27086 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
27087 after program completion.
27088 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
27089 compiled with a SELECT_VECS setting.
27090 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
27091 infinite recursion.
27092
27093 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
27094 Added checks for COFF results, and made them expected failures for
27095 all targets. It would be better to make them expected failures
27096 for COFF targets only.
27097
27098 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
27099
27100 * Makefile.in: add null dvi target, don't bother to recurse
27101 through test directories for info and install-info; rename
27102 $(datadir) to be dejagnu instead of deja-gnu
27103
27104 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
27105
27106 * gdb.t31/gdbme.ch: Re-enable code that previously caused
27107 compiler to coredump.
27108 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
27109 code.
27110
27111 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
27112
27113 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
27114 coredump.
27115 * gdb.t31/chillvars.exp: Comment out tests that depend on that
27116 code.
27117
27118 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
27119
27120 * gdb.t03/ptype.exp: tests for return code from gdb_test.
27121 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
27122 which in a shell. Deletes xgdb when done.
27123 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
27124 Tests the return from the "set height" or "set width" commands.
27125 Added a few return codes where needed.
27126
27127 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
27128
27129 * Makefile.in (SUBDIRS): Add gdb.t17.
27130 * configure.in (subdirs): Add gdb.t17.
27131 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
27132 files to test gdb's calling of functions in the inferior with
27133 the correct arguments and gdb's ability to retrieve any
27134 result returned.
27135
27136 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
27137
27138 * config/unix-gdb.exp (gdb_exit): Remove close commands that
27139 may be called after gdb goes away. Previous versions of expect
27140 needed these to avoid file descriptor leaks, but they cause
27141 errors with the current revision of expect.
27142 * gdb.t00/gdbvars.exp: Use -re on expected output after
27143 setting sevenbit-strings.
27144 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
27145 to set sevenbit-strings consistent across tests.
27146 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
27147 set sevenbit-strings consistent across tests.
27148
27149 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
27150
27151 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
27152 expected output to match current "expect" expectations.
27153
27154 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
27155
27156 * gdb.t00/default.exp: Change expected output for default "source"
27157 command, to match new gdb behavior which requires a filename to
27158 source.
27159
27160 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
27161
27162 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
27163 expected fail for i486-*-* that misses the marker2 function.
27164 * gdb.t10/crossload.exp (bfddefault): Allow successful
27165 recognition of a format to pass even if no symbols are found.
27166 Explicitly catch failures where the format is not recognized
27167 or is ambiguous, and add the reason to the fail message.
27168 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
27169 the cause is and invalid target and add reason to failure message.
27170 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
27171 elf32-i386, elf32-sparc, and elf32-i860.
27172 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
27173 Set up expected failure for 'filename'::variable scope resolution,
27174 which is now apparently broken on all targets.
27175 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
27176 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
27177 gdb.t23/templates.exp: Change failure for missing binfile into
27178 just a warning.
27179 gdb.t21/demangle.exp: Change all cfront references to 'arm'
27180 references.
27181
27182 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
27183
27184 * gdb.t00/default.exp: Add expected output for default "source"
27185 command, to match new gdb behavior.
27186 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
27187
27188 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
27189
27190 * config/*-gdb.exp: returns an error, rather than exiting on
27191 internal errors.
27192
27193 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
27194
27195 * gdb.t03/gdbme.c: Add pointer to struct variable.
27196 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
27197 referencing struct members.
27198
27199 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
27200
27201 * configure.in (mips-idt-ecoff): New target.
27202 * config/mips-gdb.exp: New file for remote board using MIPS remote
27203 debugging protocol.
27204
27205 * Redid configuration scheme. Removed gdb.t*/configure.in.
27206 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27207 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27208 distclean targets. Built executables via .o files. Adjusted
27209 tests to account for source files in $(srcdir) rather than
27210 $(objdir).
27211 * lib/gdb.exp (runto): Don't expect () after the function name,
27212 because it may have arguments.
27213
27214 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27215
27216 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27217 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27218 expected failures for mips-idt-* and mips-sgi-*.
27219 * gdb.t00/default.exp (attach): Kill process if requested.
27220 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27221 that does not read core files.
27222 * gdb.t01/run.exp: Removed checks for exit status code.
27223 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27224 it is linked in.
27225 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27226 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27227 appropriate, rather than doing it by hand.
27228 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27229 execution.
27230 * gdb.t10/crossload.exp: Kill existing program if needed.
27231 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27232 appropriate, rather than doing it by hand. Always increase
27233 timeout for this test, not just for VxWorks.
27234
27235 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27236
27237 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27238 of Chill STRUCT types and STRUCT values.
27239 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27240 than "char".
27241 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
27242 struct2): New struct definitions and initializations to test
27243 simple Chill STRUCT types.
27244
27245 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27246
27247 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27248 the null byte at the end of strings.
27249 * gdb.t00/default.exp: Make show version insensitive to copyright
27250 date.
27251 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27252 to avoid dependencies on target char signedness.
27253 * gdb.t16/printcmds.exp: Update expected results for explicitly
27254 unsigned char.
27255 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27256 now work.
27257 * gdb.t21/demangle.exp: Add many more patterns for template
27258 demangling, most of them being expected failures.
27259 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27260 string we are matching for, to match on the whole string.
27261 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27262 and fix a whole bunch that had incorrect expected output but were
27263 passing anyway because of the bug in "proc demangle".
27264 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27265 type.
27266 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27267
27268 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27269
27270 * gdb/testsuite: made modifications to testcases, etc., to allow
27271 them to work properly given the reorganization of deja-gnu and the
27272 relocation of the testcases from deja-gnu to a "tool" subdirectory.
27273
27274 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27275
27276 * gdb/testsuite: Initial creation of gdb/testsuite.
27277 Migrated dejagnu testcases and support files for testing nm to
27278 gdb/testsuite from deja-gnu. These files were moved "as is"
27279 with no modifications. This migration is part of a major overhaul
27280 of dejagnu. The modifications to these testcases, etc., which
27281 will allow them to work with the new version of dejagnu will be
27282 made in a future update.
27283
27284 For additional changes see gdb.mi/ChangeLog-1999-2003.
27285 \f
27286 ;; Local Variables:
27287 ;; mode: change-log
27288 ;; left-margin: 8
27289 ;; fill-column: 74
27290 ;; version-control: never
27291 ;; End:
27292
27293 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
27294 Copying and distribution of this file, with or without modification,
27295 are permitted provided the copyright notice and this notice are preserved.
This page took 0.557727 seconds and 5 git commands to generate.