gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix false FAIL on distros with relro linkage as default.
4 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5 -Wl,-z,norelro first.
6
7 2012-03-06 Joel Brobecker <brobecker@adacore.com>
8
9 * gdb.ada/bp_on_var: New testcase.
10
11 2012-03-06 Joel Brobecker <brobecker@adacore.com>
12
13 * gdb.ada/bp_enum_homonym: New testcase.
14
15 2012-03-06 Yao Qi <yao@codesourcery.com>
16
17 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
18 x86_64-*-* and i?86-*-*.
19 Set up KFAIL for gdb/13808.
20
21 2012-03-05 Tom Tromey <tromey@redhat.com>
22
23 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
24 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
25
26 2012-03-05 Tom Tromey <tromey@redhat.com>
27
28 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
29
30 2012-03-04 Yao Qi <yao@codesourcery.com>
31
32 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
33 messages for KFAIL.
34
35 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
36
37 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
38 (print one_two_three, indexes off, print few_reps, indexes off)
39 (print many_reps, indexes off, print empty, indexes off)
40 (print one_two_three, print few_reps, print many_reps, print empty):
41 Call setup_xfail if $gcc_old.
42
43 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 Implement testsuite workaround for PR breakpoints/13781.
46 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
47 (set breakpoint condition-evaluation host): New conditional command.
48
49 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
50
51 Code cleanup.
52 * gdb.cp/mb-templates.exp: New variables executable. Use it for
53 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
54 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
55 number 1 by $bpnum. Four times.
56
57 2012-03-03 Yao Qi <yao@codesourcery.com>
58
59 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
60
61 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
62
63 Setup KFAIL for PR server/13796.
64 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
65
66 2012-03-02 Joel Brobecker <brobecker@adacore.com>
67
68 * gdb.ada/operator_bp: New testcase.
69
70 2012-03-02 Joel Brobecker <brobecker@adacore.com>
71
72 * gdb.ada/info_locals_renaming: New testcase.
73
74 2012-03-02 Tom Tromey <tromey@redhat.com>
75
76 * gdb.base/nextoverexit.c: New file.
77 * gdb.base/nextoverexit.exp: New file.
78
79 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
80
81 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
82 parameter.
83
84 2012-03-01 Maciej W. Rozycki <macro@mips.com>
85
86 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
87 core registers.
88
89 2012-03-01 Maciej W. Rozycki <macro@mips.com>
90 Maciej W. Rozycki <macro@codesourcery.com>
91 Daniel Jacobowitz <dan@codesourcery.com>
92
93 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
94
95 2012-03-01 Pedro Alves <palves@redhat.com>
96
97 PR gdb/13767
98
99 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
100 (gdb_collect_globals_test): Call it.
101
102 2012-03-01 Keith Seitz <keiths@redhat.com>
103
104 * gdb.cp/method2.exp: Output of overload menu is now
105 alphabetized. Update tests for "break A::method".
106 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
107 of hard-coding them.
108 Overload menu is alphabetized: rewrite to accommodate.
109 Unset variables LINE and TYPES which are used in other tests.
110 Compute the output of "info break".
111 Update the breakpoint table after all breakpoints are deleted.
112 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
113 compute ACTUALS and the method body based on parameters.
114 Update expected output accordingly.
115 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
116 unique comments to allow the use of gdb_get_line_number.
117
118 2012-03-01 Keith Seitz <keiths@redhat.com>
119
120 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
121 some Tcl syntax.
122 * gdb.cp/ovldbreak.exp: Likewise.
123
124 2012-03-01 Keith Seitz <keiths@redhat.com>
125
126 * gdb.base/help.exp (help show user): Update expected result
127 for new doc string changes (add "non-python").
128
129 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
130
131 * gdb.python/py-cmd.exp: Add test to verify that python commands can
132 be put in the user-defined category and that the commands appear in
133 "help user-defined".
134
135 2012-02-29 Joel Brobecker <brobecker@adacore.com>
136
137 * gdb.ada/tagged_not_init: New testcase.
138
139 2012-02-29 Joel Brobecker <brobecker@adacore.com>
140
141 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
142 * gdb.ada/enum_idx_packed: New testcase.
143
144 2012-02-29 Joel Brobecker <brobecker@adacore.com>
145
146 * gdb.ada/aliased_array: New testcase.
147
148 2012-02-29 Joel Brobecker <brobecker@adacore.com>
149
150 * gdb.ada/whatis_array_val: New testcase.
151
152 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 Fix disp-step-syscall.exp: fork: single step over fork.
155 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
156 whitespaces.
157 (single step over $syscall): Remove its check.
158 (single step over $syscall final pc): New check.
159
160 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
161
162 Support processors without SSSE3.
163 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
164 pabsd into ...
165 (ssse3_test): ... a new function.
166 (main): Call ssse3_test.
167 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
168 Update expected values everywhere.
169 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
170 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
171 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
172 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
173 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
174 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
175 Move these tests lower.
176 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
177 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
178 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
179 New tests.
180
181 2012-02-29 Yao Qi <yao@codesourcery.com>
182 Pedro Alves <palves@redhat.com>
183
184 * gdb.trace/trace-mt.c: New.
185 * gdb.trace/trace-mt.exp: New.
186
187 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
188
189 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
190 numbers instead of hardcoding them.
191 * gdb.base/annota1.c: Provide suitable markers.
192 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
193 numbers instead of hardcoding them.
194 * gdb.base/annota3.c: Provide suitable markers.
195
196 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
197 * gdb.base/annota3.c: Likewise.
198 * gdb.base/sigall.c: Likewise.
199 * gdb.base/signals.c: Likewise.
200 * gdb.reverse/sigall-reverse.c: Likewise.
201
202 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
203
204 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
205 failure return path.
206
207 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
208
209 * gdb.base/save-bp.exp: Account for new condition evaluator output.
210
211 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
212
213 * gdb.base/cond-eval-mode.exp: New file.
214
215 2012-02-24 Pedro Alves <palves@redhat.com>
216
217 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
218 (top level): Use with_test_prefix.
219
220 2012-02-24 Pedro Alves <palves@redhat.com>
221
222 * gdb.threads/attach-into-signal.exp (corefunc): Use
223 with_test_prefix.
224
225 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
226
227 Fix false FAILs on old CPUs without SSE.
228 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
229 Return untested for Illegal instruction.
230
231 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 Fix false FAILs with glibc debug infos installed.
234 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
235 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
236
237 2012-02-22 Sterling Augustine <saugustine@google.com>
238
239 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
240 constant with cast.
241
242 2012-02-21 Pedro Alves <palves@redhat.com>
243
244 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
245
246 2012-02-21 Pedro Alves <palves@redhat.com>
247
248 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
249
250 2012-02-21 Pedro Alves <palves@redhat.com>
251
252 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
253 with_test_prefix.
254
255 2012-02-21 Pedro Alves <palves@redhat.com>
256
257 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
258 with_test_prefix here.
259 (top level): Do it here instead. Remove `:' from the
260 with_test_prefix string.
261 * gdb.base/attach-pie-misread.exp: Remove the leading space the
262 the suffix `:' from the with_test_prefix prefix string.
263 * gdb.base/break-interp.exp: Ditto.
264 * gdb.base/catch-load.exp: Ditto.
265 * gdb.base/disp-step-syscall.exp: Ditto.
266 * gdb.base/jit-so.exp: Ditto.
267 * gdb.base/jit.exp: Ditto.
268 * gdb.base/sepdebug.exp: Ditto.
269 * gdb.base/solib-display.exp: Ditto.
270 * gdb.base/solib-overlap.exp: Ditto.
271 * gdb.base/watch-cond-infcall.exp: Ditto.
272 * gdb.base/watchpoint.exp: Ditto.
273 * gdb.dwarf2/dw2-noloc.exp: Ditto.
274 * gdb.mi/mi-watch.exp: Ditto.
275 * gdb.mi/mi2-watch.exp: Ditto.
276 * gdb.threads/non-ldr-exc-1.exp: Ditto.
277 * gdb.threads/non-ldr-exc-2.exp: Ditto.
278 * gdb.threads/non-ldr-exc-3.exp: Ditto.
279 * gdb.threads/non-ldr-exc-4.exp: Ditto.
280 * gdb.threads/watchpoint-fork.exp: Ditto.
281 * gdb.threads/watchthreads-reorder.exp: Ditto.
282 * gdb.trace/change-loc.exp: Ditto.
283 * gdb.trace/pending.exp: Ditto.
284 * gdb.trace/status-stop.exp: Ditto.
285 * gdb.trace/strace.exp: Ditto.
286 * gdb.trace/trace-break.exp: Ditto.
287 * gdb.trace/unavailable.exp: Ditto.
288 * lib/gdb.exp (with_test_prefix): Always prefix with space and
289 suffix with colon. Adjust leading comments.
290
291 2012-02-21 Pedro Alves <palves@redhat.com>
292 Tom Tromey <tromey@redhat.com>
293
294 * lib/gdb.exp: Add description of test prefixes.
295 (with_test_prefix): New procedure.
296 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
297 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
298 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
299 instead of lappend to append to pf_prefix.
300 * gdb.base/catch-load.exp: Use with_test_prefix.
301 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
302 * gdb.base/jit-so.exp: Use with_test_prefix.
303 * gdb.base/jit.exp: Use with_test_prefix.
304 * gdb.base/return-nodebug.exp (do_test): Use append instead of
305 lappend to append to pf_prefix.
306 * gdb.base/sepdebug.exp: Use with_test_prefix.
307 * gdb.base/solib-display.exp: Use with_test_prefix.
308 * gdb.base/solib-overlap.exp: Use with_test_prefix.
309 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
310 * gdb.base/watchpoint.exp: Use with_test_prefix.
311 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
312 * gdb.mi/mi-watch.exp: Use with_test_prefix.
313 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
314 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
315 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
316 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
317 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
318 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
319 append instead of lappend to append to pf_prefix.
320 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
321 * gdb.trace/change-loc.exp: Use with_test_prefix.
322 * gdb.trace/pending.exp: Use with_test_prefix.
323 * gdb.trace/status-stop.exp: Use with_test_prefix.
324 * gdb.trace/strace.exp: Use with_test_prefix.
325 * gdb.trace/trace-break.exp: Use with_test_prefix.
326 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
327 instead of lappend to append to pf_prefix.
328
329 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
330
331 Fix racy FAILs.
332 * gdb.base/inferior-died.c (main): Add return of 0.
333 * gdb.base/inferior-died.exp (continue): Fix expectation of
334 asynchronous events.
335 (p 1): New test.
336
337 2012-02-20 Pedro Alves <palves@redhat.com>
338
339 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
340 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
341 gdb's internal debug output. For the non-threaded case, look for
342 "Program received signal SIGLARM", for the threaded case, peek at
343 the thread's siginfo.
344
345 2012-02-20 Pedro Alves <palves@redhat.com>
346
347 General cleanup, make output test messages unique, and build
348 different executable files for the non-threaded and threaded
349 cases.
350
351 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
352 Delete.
353 (executable_nothr, executable_thr): New globals.
354 (top level): Adjust to delete both executables.
355 (corefunc): New parameter $executable. Set $pf_prefix instead of
356 hand writing a prefix in tests. Issue a clean_restart and enable
357 lin-lwp debug output here.
358 (top level): Adjust. Use build_executable. Don't start gdb here,
359 and don't enable lin-lwp debug output here.
360 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
361
362 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 Fix racy FAILs.
365 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
366 "continue" command.
367
368 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 Fix for gdbserver non-extended mode.
371 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
372 and gdb_run_cmd.
373
374 2012-02-17 Tom Tromey <tromey@redhat.com>
375
376 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
377 * gdb.python/py-events.exp: Check 'dir' output.
378 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
379
380 2012-02-17 Yao Qi <yao@codesourcery.com>
381
382 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
383
384 2012-02-16 Tom Tromey <tromey@redhat.com>
385
386 * gdb.base/inferior-died.c: Don't include stdio.h.
387
388 2012-02-16 Tom Tromey <tromey@redhat.com>
389
390 * gdb.base/inferior-died.c: New file.
391 * gdb.base/inferior-died.exp: New file.
392
393 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
394
395 * gdb.base/break-inline.exp: New file.
396 * gdb.base/break-inline.c: New file.
397
398 2012-02-15 Tom Tromey <tromey@redhat.com>
399
400 * gdb.base/pc-fp.exp: Add "info register" tests.
401
402 2012-02-15 Tom Tromey <tromey@redhat.com>
403
404 * gdb.base/regs.exp: Remove.
405
406 2012-02-15 Pedro Alves <palves@redhat.com>
407
408 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
409 the target doesn't support tracepoints.
410 * gdb.trace/circ.exp: Ditto.
411 * gdb.trace/collection.exp: Ditto.
412 * gdb.trace/packetlen.exp: Ditto.
413 * gdb.trace/passc-dyn.exp: Ditto.
414 * gdb.trace/report.exp: Ditto.
415 * gdb.trace/tfind.exp: Ditto.
416 * gdb.trace/tspeed.exp: Ditto.
417 * gdb.trace/tsv.exp: Ditto.
418 * gdb.trace/unavailable.exp: Ditto.
419 * gdb.trace/while-dyn.exp: Ditto.
420
421 2012-02-15 Pedro Alves <palves@redhat.com>
422
423 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
424 gdb_test_multiple, and call unsupported instead of fail, if the
425 remote side does not support the request.
426
427 2012-02-15 Pedro Alves <palves@redhat.com>
428
429 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
430 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
431 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
432 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
433 * gdb.server/server-run.exp: Make sure gdb is disconnected.
434 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
435 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
436 doesn't start with "extended-" already.
437
438 2012-02-15 Pedro Alves <palves@redhat.com>
439
440 Support extended-remote. Avoid cascading timeouts.
441
442 * gdb.base/attach.exp (do_attach_tests): Add expected output for
443 the extended-remote target. If attaching with no file fails, load
444 the file manually.
445 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
446
447 2012-02-14 Stan Shebs <stan@codesourcery.com>
448
449 * gdb.base/ena-dis-br.exp: Add enable count test.
450
451 2012-02-13 Pedro Alves <palves@redhat.com>
452
453 * config/mips-idt.exp: Delete.
454 * gdb.base/a2-run.exp: Remove mips-idt xfails.
455 * gdb.base/bitfields.exp: Remove mips-idt restarts.
456 * gdb.base/break.exp: Remove mips-idt references.
457 * gdb.base/chng-syms.exp: Ditto.
458 * gdb.base/default.exp: Ditto.
459 * gdb.base/funcargs.exp (funcargs_reload): Delete.
460 (top level): Don't call it.
461 * gdb.base/opaque.exp: Remove mips-idt restarts.
462 * gdb.base/ptype.exp: Remove mips-idt xfails.
463 * gdb.base/scope.exp: Remove mips-idt restarts.
464 * gdb.base/sepdebug.exp: Remove mips-idt references.
465 * gdb.base/watchpoint.exp (maybe_clean_restart)
466 (maybe_reinitialize): Delete.
467 (test_disabling_watchpoints, test_disabling_watchpoints)
468 (test_watchpoint_triggered_in_syscall)
469 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
470 Don't call them.
471
472 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 * gdb.server/server-exec-info.exp: New file.
475
476 2012-02-10 Pedro Alves <palves@redhat.com>
477
478 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
479 always non-empty.
480 (test_attach): Always pass $exec to test_attach_gdb.
481
482 2012-02-08 Tom Tromey <tromey@redhat.com>
483
484 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
485 before inferior is started.
486
487 2012-02-07 Tom Tromey <tromey@redhat.com>
488
489 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
490 Symbol.value.
491 * gdb.python/py-symbol.c (qq): Set default value.
492
493 2012-02-07 Tom Tromey <tromey@redhat.com>
494
495 * gdb.python/py-symbol.c (qq): New global.
496 * gdb.python/py-symbol.exp: Add test for frame-less
497 lookup_symbol.
498 * gdb.python/py-symtab.exp: Fix line number.
499
500 2012-02-03 Joel Brobecker <brobecker@adacore.com>
501
502 * gdb.ada/mi_task_arg: New testcase.
503
504 2012-02-02 Pedro Alves <palves@redhat.com>
505
506 * gdb.reverse/until-precsave.exp: Also put "record save" under the
507 extended timeout.
508
509 2012-02-02 Pedro Alves <palves@redhat.com>
510
511 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
512 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
513
514 2012-02-02 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/term.exp: Rewrite.
517 * gdb.base/term.c: New.
518
519 2012-02-02 Pedro Alves <palves@redhat.com>
520
521 * gdb.base/default.exp (run "r" abbreviation, run): Add
522 extended-remote expected output.
523
524 2012-02-02 Tom Tromey <tromey@redhat.com>
525
526 * gdb.cp/dispcxx.exp: New file.
527 * gdb.cp/dispcxx.cc: New file.
528
529 2012-02-01 Tom Tromey <tromey@redhat.com>
530
531 * gdb.base/jit-simple.exp: New file.
532 * gdb.base/jit-simple.c: New file.
533
534 2012-01-30 Yao Qi <yao@codesourcery.com>
535
536 * gdb.base/skip.exp: Make test result unique.
537
538 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
539
540 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
541 compatibility with valgrind-3.7.0.
542
543 2012-01-27 Pedro Alves <palves@redhat.com>
544
545 * gdb.base/watchpoint.exp (no_hw): New global.
546 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
547 disable hw watchpoints.
548 (test_wide_location_1, test_wide_location_2): If no_hw is set,
549 don't expect hw watchpoints.
550 (no_hw_watchpoints): Always clean restart.
551 (do_tests): New procedure, factored out from the top level.
552 (top level): Run tests twice. Once with hw watchpoints enabled,
553 another time with hw watchpoints disabled.
554
555 2012-01-27 Pedro Alves <palves@redhat.com>
556
557 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
558 out from the top level.
559 (top level): Call it instead.
560
561 2012-01-27 Pedro Alves <palves@redhat.com>
562
563 * gdb.base/watchpoint.exp (top level): Re-enable hardware
564 watchpoints sooner.
565
566 2012-01-27 Pedro Alves <palves@redhat.com>
567
568 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
569
570 2012-01-27 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
573 "You may have requested too many hardware
574 breakpoints/watchpoints".
575
576 2012-01-27 Pedro Alves <palves@redhat.com>
577
578 * gdb.base/watchpoint.exp (maybe_clean_restart)
579 (maybe_reinitialize): New.
580 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
581 expect "hit N times".
582 (test_disabling_watchpoints, test_complex_watchpoint)
583 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
584 Call maybe_clean_restart.
585 (top level): Use clean_restart. Remove "mips-idt-*"
586 reinitialization.
587
588 2012-01-27 Pedro Alves <palves@redhat.com>
589
590 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
591
592 2012-01-27 Pedro Alves <palves@redhat.com>
593
594 * gdb.base/watchpoint.exp: Clean restart after tests that don't
595 require `initialize' anymore. Remove unnecessary `initialize'
596 calls.
597
598 2012-01-27 Pedro Alves <palves@redhat.com>
599
600 * gdb.base/watchpoint.exp (wp_set): Delete.
601 (initialize, test_simple_watchpoint, top level): Remove dead code.
602
603 2012-01-27 Pedro Alves <palves@redhat.com>
604
605 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
606 typo.
607
608 2012-01-27 Pedro Alves <palves@redhat.com>
609
610 * config/extended-gdbserver.exp: New file.
611 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
612 comment.
613 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
614 * boards/native-extended-gdbserver.exp: New file.
615
616 2012-01-26 Pedro Alves <palves@redhat.com>
617
618 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
619 and gdb_test_multiple.
620
621 2012-01-26 Pedro Alves <palves@redhat.com>
622
623 Make test messages unique, and more identifiable.
624 * gdb.multi/watchpoint-multi.exp: Change test messages.
625
626 2012-01-25 Tom Tromey <tromey@redhat.com>
627
628 * gdb.base/solib-disc.exp: Fix regexps.
629
630 2012-01-24 Tom Tromey <tromey@redhat.com>
631
632 * lib/mi-support.exp (mi_expect_stop): Add special case for
633 solib-event.
634 * gdb.base/catch-load-so.c: New file.
635 * gdb.base/catch-load.exp: New file.
636 * gdb.base/catch-load.c: New file.
637 * gdb.base/break-interp.exp (reach_1): Update regexp.
638
639 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
640
641 Fix fuzzy results.
642 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
643 lpsimple and func.
644
645 2012-01-24 Gary Benson <gbenson@redhat.com>
646
647 Delete #if 0'd out code.
648 * gdb.base/default.exp (info catch): Remove.
649 * gdb.base/gdb_history (info catch): Likewise.
650 * gdb.base/help.exp (info catch): Likewise.
651
652 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
653
654 Fix watchpoints to be specific for each inferior.
655 * gdb.multi/watchpoint-multi.c: New file.
656 * gdb.multi/watchpoint-multi.exp: New file.
657
658 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
659
660 Fix watchpoints across inferior fork.
661 * gdb.threads/watchpoint-fork-child.c: New file.
662 * gdb.threads/watchpoint-fork-mt.c: New file.
663 * gdb.threads/watchpoint-fork-parent.c: New file.
664 * gdb.threads/watchpoint-fork-st.c: New file.
665 * gdb.threads/watchpoint-fork.exp: New file.
666 * gdb.threads/watchpoint-fork.h: New file.
667
668 2012-01-23 Pedro Alves <palves@redhat.com>
669
670 * gdb.base/call-signal-resume.exp: Allow output after "return".
671
672 2012-01-20 Pedro Alves <palves@redhat.com>
673
674 * gdb.python/py-finish-breakpoint.py: Fix typo.
675
676 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
677
678 * gdb.base/info-proc.exp: Also run on remote targets. Main
679 "info proc" command is now always present; whether target supports
680 actual info proc operation is detected when attempting to issue
681 the command.
682
683 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
684
685 * .gdbinit: Remove.
686
687 2012-01-19 Pedro Alves <palves@redhat.com>
688
689 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
690 look at the funtions' returns.
691 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
692 (jprint.print(int, int)): Change return type to int. Adjust.
693
694 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
695
696 PR gdb/9538
697 * gdb.base/sepdebug.exp: New test.
698
699 2012-01-18 Pedro Alves <palves@redhat.com>
700
701 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
702 Allow output before ^done.
703
704 2012-01-16 Tom Tromey <tromey@redhat.com>
705
706 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
707 Add tests for relative directory.
708
709 2012-01-16 Tom Tromey <tromey@redhat.com>
710
711 * gdb.base/printcmds.c (enum flag_enum): New.
712 (three): New global.
713 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
714 enum printing.
715 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
716 FlagEnumerationPrinter.
717 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
718 * gdb.python/py-pp-maint.c (enum flag_enum): New.
719 (fval): New global.
720
721 2012-01-16 Pedro Alves <palves@redhat.com>
722
723 * lib/gdb.exp (banned_procedures): New variable.
724 (banned_variables_traced): Rename to ...
725 (banned_traced): ... this.
726 (gdb_init): Also trace banned procedures.
727 (gdb_finish): Also untrace banned procedures.
728
729 2012-01-16 Pedro Alves <palves@redhat.com>
730
731 Remove all calls to strace.
732
733 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
736 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
737
738 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
739
740 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
741 * gdb.base/pie-execl.exp: Likewise.
742
743 2012-01-12 Keith Seitz <keiths@redhat.com>
744
745 PR mi/10586
746 * gdb.mi/var-cmd.c (struct anonymous): New structure.
747 (do_anonymous_type_tests): New function.
748 (main): Call do_anonymous_type_tests.
749 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
750 (verify_everything): New procedure.
751 * gdb.mi/mi-var-cp.cc (class A): New class.
752 (anonymous_structs_and_unions): New function.
753 (main): Call anonymous_structs_and_unions.
754 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
755 (verify_everything): New procedure.
756
757 2012-01-12 Keith Seitz <keiths@redhat.com>
758
759 * lib/mi-support.exp: Expand comments about PATH_EXPR.
760 (varobj_tree::get_path_expr): Assume that all varobjs are
761 compound unless they are known simple types.
762 Adjust path expressions based on parent type, path parent type,
763 and tree language.
764 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
765 the root varobj.
766 (mi_walk_varobj_tree): Add LANGUAGE parameter.
767
768 2012-01-11 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
771 core files on this machine" anymore.
772
773 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
774
775 * gdb.base/watchpoint.c (recurser): Initialize local_x.
776 (main): Repeat recurser call.
777 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
778 equivalent to 'local_x'.
779
780 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
781 Joel Brobecker <brobecker@adacore.com>
782
783 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
784
785 2012-01-05 Pedro Alves <alves.ped@gmail.com>
786
787 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
788 * gdb.python/py-events.c (first): Add bits for new "step N" test.
789 * gdb.python/py-events.exp: Test that "step N" tripping on a
790 breakpoint emits a breakpoint event.
791
792 2012-01-03 Joel Brobecker <brobecker@adacore.com>
793
794 * gdb.base/auxv.exp: Reformat the copyright notice.
795
796 2012-01-03 Yao Qi <yao@codesourcery.com>
797
798 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
799 (strace_trace_on_diff_addr): New.
800 * gdb.trace/strace.c: (main): Add two local variables.
801
802 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
803
804 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
805 * gdb.cell/gcore.exp: Likewise.
806 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
807 to verify the correct instance of main is selected.
808
809 2012-01-02 Joel Brobecker <brobecker@adacore.com>
810
811 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
812 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
813 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
814 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
815 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
816 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
817 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
818 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
819 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
820 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
821 gdb.threads/thread_check.c: Reformat copyright header.
822
823 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
824
825 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
826 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
827 is not enabled.
828
829 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
830
831 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
832 parameter to self_exec, adjust the function.
833 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
834 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
835 (set var do_exit = 0): Remove test.
836 (newline at end of file): Add one.
837
838 2011-12-27 Joel Brobecker <brobecker@adacore.com>
839
840 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
841 New files.
842
843 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 Fix racy FAILs.
846 * gdb.threads/fork-thread-pending.c (barrier): New variable.
847 (thread_function, thread_forker): Call pthread_barrier_wait for it.
848 (main): Call pthread_barrier_init for it.
849
850 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 Fix double send_gdb leading to racy FAILs.
853 * gdb.base/break.exp (set silent break bp_location1): Replace
854 3x send_gdb and gdb_expect by gdb_test.
855 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
856 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
857 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
858 instead of send_gdb. Twice.
859 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
860 3x send_gdb and gdb_expect by gdb_test.
861 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
862
863 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
864
865 * gdb.linespec/linespec.exp: Compile using {c++}.
866
867 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
870 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
871 (verify GCC PR debug/51668): New test.
872
873 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
874
875 Introduce gdb.FinishBreakpoint in Python.
876 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
877 py-finish-breakpoint2
878 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
879 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
880 instead of line number.
881 * gdb.python/py-finish-breakpoint.c: New file.
882 * gdb.python/py-finish-breakpoint.exp: New file.
883 * gdb.python/py-finish-breakpoint.py: New file.
884 * gdb.python/py-finish-breakpoint2.cc: New file.
885 * gdb.python/py-finish-breakpoint2.exp: New file.
886 * gdb.python/py-finish-breakpoint2.py: New file.
887
888 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 Partial fix of compatibility with gcc-4.7.
891 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
892 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
893 Add comment to add a PASS case in the future.
894
895 Fix compatibility with gcc-4.7.
896 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
897
898 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
899
900 PR tdep/12797
901 * gdb.base/callfuncs.exp: Remove KFAIL.
902
903 2011-12-21 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.ada/task_bp: New testcase.
906
907 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
910 -DNO_SECTIONS.
911 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
912
913 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
914
915 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
916 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
917 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
918 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
919 conditional for gcc <= 4.5.
920
921 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
922
923 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
924 by XFAIL.
925 * gdb.cp/static-method.exp (info addr A::func())
926 (list static-method.cc:xxx::(anonymous namespace)::A::func)
927 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
928 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
929 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
930 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
931 (test value of F in k3_m): Likewise.
932 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
933 Likewise.
934
935 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
938 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
939 Remove.
940 * gdb.threads/attachstop-mt.c: Remove.
941 * gdb.threads/attachstop-mt.exp: Remove.
942
943 2011-12-17 Mark Kettenis <kettenis@gnu.org>
944
945 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
946
947 2011-12-16 Doug Evans <dje@google.com>
948
949 * boards/native-stdio-gdbserver.exp: New file.
950 * boards/native-gdbserver.exp: New file.
951
952 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
953 gdbserver output.
954 (gdbserver_default_get_remote_address): New function.
955 (gdbserver_start): Call gdb,get_remote_address to compute argument
956 to "target remote" command.
957
958 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
959
960 * gdb.python/py-function.exp: Change "on" to "full" for
961 python print-stack. Add set/show python print-stack
962 off|full|message tests.
963
964 2011-12-15 Yao Qi <yao@codesourcery.com>
965
966 * gdb.trace/strace.c: New
967 * gdb.trace/strace.exp: New.
968
969 2011-12-14 Tom Tromey <tromey@redhat.com>
970
971 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
972
973 2011-12-14 Doug Evans <dje@google.com>
974
975 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
976
977 2011-12-14 Pedro Alves <pedro@codesourcery.com>
978
979 PR threads/10729
980
981 * gdb.mi/watch-nonstop.c: New file.
982 * gdb.mi/mi-watch-nonstop.exp: New file.
983
984 2011-12-13 Pedro Alves <pedro@codesourcery.com>
985 Doug Evans <dje@google.com>
986
987 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
988 (clean_restart): Remove references to the gdb_stub target board
989 variable.
990 (gdb_step_for_stub): Delete.
991
992 * gdb.base/annota1.exp: Remove all references to [target_info
993 exists gdb_stub], gdb_step_for_stub and usestubs.
994 * gdb.base/annota3.exp: Ditto.
995 * gdb.base/async.exp: Ditto.
996 * gdb.base/break.exp: Ditto.
997 * gdb.base/code-expr.exp: Ditto.
998 * gdb.base/commands.exp: Ditto.
999 * gdb.base/completion.exp: Ditto.
1000 * gdb.base/condbreak.exp: Ditto.
1001 * gdb.base/consecutive.exp: Ditto.
1002 * gdb.base/cvexpr.exp: Ditto.
1003 * gdb.base/define.exp: Ditto.
1004 * gdb.base/display.exp: Ditto.
1005 * gdb.base/ena-dis-br.exp: Ditto.
1006 * gdb.base/environ.exp: Ditto.
1007 * gdb.base/gnu-ifunc.exp: Ditto.
1008 * gdb.base/maint.exp: Ditto.
1009 * gdb.base/pending.exp: Ditto.
1010 * gdb.base/sect-cmd.exp: Ditto.
1011 * gdb.base/sepdebug.exp: Ditto.
1012 * gdb.base/unload.exp: Ditto.
1013 * gdb.base/watchpoint-solib.exp: Ditto.
1014 * gdb.cp/annota2.exp: Ditto.
1015 * gdb.cp/annota3.exp: Ditto.
1016 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1017 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1018 * gdb.mi/mi-pending.exp: Ditto.
1019 * gdb.trace/circ.exp: Ditto.
1020 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1021 * gdb.base/list.exp: Ditto.
1022
1023 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1024 breakpoint function and all references to the usestubs macro.
1025 * gdb.base/exprs.c: Ditto.
1026 * gdb.base/freebpcmd.c: Ditto.
1027 * gdb.base/bitfields.c: Ditto.
1028 * gdb.base/bitfields2.c: Ditto.
1029 * gdb.base/break.c: Ditto.
1030 * gdb.base/call-sc.c: Ditto.
1031 * gdb.base/call-signals.c: Ditto.
1032 * gdb.base/callfuncs.c: Ditto.
1033 * gdb.base/charset.c: Ditto.
1034 * gdb.base/consecutive.c: Ditto.
1035 * gdb.base/constvars.c: Ditto.
1036 * gdb.base/funcargs.c: Ditto.
1037 * gdb.base/int-type.c: Ditto.
1038 * gdb.base/interrupt.c: Ditto.
1039 * gdb.base/langs0.c: Ditto.
1040 * gdb.base/list0.c: Ditto.
1041 * gdb.base/mips_pro.c: Ditto.
1042 * gdb.base/miscexprs.c: Ditto.
1043 * gdb.base/nodebug.c: Ditto.
1044 * gdb.base/opaque0.c: Ditto.
1045 * gdb.base/pointers.c: Ditto.
1046 * gdb.base/printcmds.c: Ditto.
1047 * gdb.base/ptype.c: Ditto.
1048 * gdb.base/recurse.c: Ditto.
1049 * gdb.base/reread1.c: Ditto.
1050 * gdb.base/reread2.c: Ditto.
1051 * gdb.base/restore.c: Ditto.
1052 * gdb.base/return.c: Ditto.
1053 * gdb.base/run.c: Ditto.
1054 * gdb.base/scope0.c: Ditto.
1055 * gdb.base/sepdebug.c: Ditto.
1056 * gdb.base/setshow.c: Ditto.
1057 * gdb.base/setvar.c: Ditto.
1058 * gdb.base/sigall.c: Ditto.
1059 * gdb.base/signals.c: Ditto.
1060 * gdb.base/structs.c: Ditto.
1061 * gdb.base/structs2.c: Ditto.
1062 * gdb.base/testenv.c: Ditto.
1063 * gdb.base/twice.c: Ditto.
1064 * gdb.base/unwindonsignal.c: Ditto.
1065 * gdb.base/watchpoint.c: Ditto.
1066 * gdb.base/watchpoints.c: Ditto.
1067 * gdb.base/whatis.c: Ditto.
1068 * gdb.cp/classes.cc: Ditto.
1069 * gdb.cp/cplusfuncs.cc: Ditto.
1070 * gdb.cp/derivation.cc: Ditto.
1071 * gdb.cp/formatted-ref.cc: Ditto.
1072 * gdb.cp/misc.cc: Ditto.
1073 * gdb.cp/overload.cc: Ditto.
1074 * gdb.cp/ovldbreak.cc: Ditto.
1075 * gdb.cp/ref-params.cc: Ditto.
1076 * gdb.cp/ref-types.cc: Ditto.
1077 * gdb.cp/templates.cc: Ditto.
1078 * gdb.cp/virtfunc.cc: Ditto.
1079 * gdb.hp/gdb.aCC/run.c: Ditto.
1080 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1081 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1082 * gdb.reverse/consecutive-reverse.c: Ditto.
1083 * gdb.reverse/sigall-reverse.c: Ditto.
1084 * gdb.reverse/until-reverse.c: Ditto.
1085 * gdb.reverse/watch-reverse.c: Ditto.
1086 * gdb.trace/actions.c: Ditto.
1087 * gdb.trace/circ.c: Ditto.
1088 * gdb.trace/collection.c: Ditto.
1089
1090 2011-12-13 Pedro Alves <pedro@codesourcery.com>
1091
1092 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1093 (func6, func7): New.
1094 (main): Call func6 and func7.
1095 * gdb.base/watchpoint.exp (test_wide_location_1)
1096 (test_wide_location_2): New.
1097 (top level): Re-enable hardware watchpoints if necessary. Call
1098 test_wide_location_1 and test_wide_location_2.
1099
1100 2011-12-11 Yao Qi <yao@codesourcery.com>
1101
1102 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1103
1104 2011-12-11 Joel Brobecker <brobecker@adacore.com>
1105
1106 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1107 expected output for unsupported case.
1108
1109 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1110
1111 PR testsuite/12649
1112 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1113 Protect gdb_test_multiple by final $gdb_prompt match.
1114
1115 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1116
1117 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1118 New variable, new test.
1119 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1120 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1121 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1122 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1123 them if HAVE_GCC_45682_FIXED is not set.
1124
1125 2011-12-10 Yao Qi <yao@codesourcery.com>
1126
1127 * gdb.trace/status-stop.exp: New.
1128 * gdb.trace/status-stop.c: New.
1129
1130 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1131
1132 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1133 timeout.
1134
1135 2011-12-08 Tom Tromey <tromey@redhat.com>
1136
1137 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1138 condition.
1139
1140 2011-12-07 Stan Shebs <stan@codesourcery.com>
1141
1142 * gdb.trace/tfind.exp: Update for output changes.
1143
1144 2011-12-07 Pedro Alves <pedro@codesourcery.com>
1145
1146 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1147 throws "Cannot insert catchpoints in this configuration".
1148 * gdb.ada/mi_catch_ex.exp: Likewise.
1149
1150 2011-12-06 Pedro Alves <pedro@codesourcery.com>
1151
1152 * gdb.base/break-always.exp: Test changing memory at addresses
1153 with breakpoints inserted.
1154
1155 2011-12-06 Joel Brobecker <brobecker@acacore.com>
1156
1157 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1158 involving a fully qualified function name.
1159
1160 2011-12-06 Tom Tromey <tromey@redhat.com>
1161
1162 * gdb.ada/homonym.exp: Add three breakpoint tests.
1163
1164 2011-12-06 Tom Tromey <tromey@redhat.com>
1165
1166 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1167 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1168 * gdb.objc/objcdecode.exp: Update for output changes.
1169 * gdb.linespec/linespec.exp: New file.
1170 * gdb.linespec/lspec.cc: New file.
1171 * gdb.linespec/lspec.h: New file.
1172 * gdb.linespec/body.h: New file.
1173 * gdb.linespec/base/two/thefile.cc: New file.
1174 * gdb.linespec/base/one/thefile.cc: New file.
1175 * gdb.linespec/Makefile.in: New file.
1176 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1177 output changes.
1178 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1179 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1180 makes one breakpoint.
1181 * gdb.cp/method2.exp (test_break): Update for output changes.
1182 * gdb.cp/mb-templates.exp: Update for output changes.
1183 * gdb.cp/mb-inline.exp: Update for output changes.
1184 * gdb.cp/mb-ctor.exp: Update for output changes.
1185 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1186 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1187 has multiple matches.
1188 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1189 error message change.
1190 * gdb.base/list.exp (test_list_filename_and_number): Update for
1191 error message change.
1192 * gdb.base/break.exp: Disable pending breakpoints. Update for
1193 output changes.
1194 * configure.ac: Add gdb.linespec.
1195 * configure: Rebuild.
1196 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1197
1198 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1199
1200 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1201 last_break register on s390*-*-* targets.
1202
1203 2011-12-06 Joel Brobecker <brobecker@adacore.com>
1204
1205 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1206 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1207 of parameter X in procedure Foo.
1208
1209 2011-12-05 Stan Shebs <stan@codesourcery.com>
1210
1211 * gdb.trace/tfind.exp: Update help string matches.
1212
1213 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1214
1215 * gdb.server/ext-run.exp (get process list): Accept also systemd
1216 as PID 1.
1217
1218 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1219 Pedro Alves <pedro@codesourcery.com>
1220
1221 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1222 starting GDB.
1223 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1224 $use_gdb_stub.
1225 * gdb.base/display.exp: Likewise.
1226 * gdb.base/ending-run.exp: Likewise.
1227 * gdb.base/list.exp (test_listsize): Likewise.
1228 * gdb.base/setshow.exp: Likewise.
1229 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1230 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1231 check by global $use_gdb_stub.
1232 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1233 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1234 (default_gdb_init): Unset global $use_gdb_stub.
1235 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1236 by global $use_gdb_stub.
1237 * lib/gdbserver-support.exp: Extend comments for set_board_info
1238 gdb_protocol and gdb,socketport.
1239 (gdbserver_start_extended): Set global gdbserver_protocol and
1240 gdbserver_gdbport. Clear global use_gdb_stub.
1241 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1242 from target use_gdb_stub.
1243 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1244
1245 2011-12-03 Doug Evans <dje@google.com>
1246
1247 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1248 (gdb_step_for_stub): Add comments.
1249
1250 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1251
1252 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1253 to the caller.
1254 (gdb_test_multiple): Likewise.
1255
1256 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 Fix gdb.mi/mi-solib.exp without system debug info installed.
1259 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1260 expect attribute, return 0 for it. Update comments.
1261
1262 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1263
1264 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1265 (corrupted list): Adjust the expectation.
1266
1267 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1268
1269 PR threads/13448
1270 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1271 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1272 * gdb.threads/tls-var-main.c: New file.
1273 * gdb.threads/tls-var.c: New file.
1274 * gdb.threads/tls-var.exp: New file.
1275
1276 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 PR testsuite/12649
1279 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1280 Protect gdb_test_multiple by final $gdb_prompt match.
1281 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1282 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1283 (test_tracepoints): Likewise.
1284
1285 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1286
1287 PR breakpoints/13346
1288 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1289 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1290 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1291
1292 2011-12-01 Joel Brobecker <brobecker@adacore.com>
1293
1294 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1295 * gdb.ada/homonym/homonym.adb: For use of all types defined
1296 locally inside both Get_Value subprograms.
1297
1298 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 Fix racy FAILs.
1301 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1302 of send_gdb.
1303
1304 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1305
1306 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1307 environment variable after test completed.
1308
1309 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1310
1311 * gdb.base/solib-nodir.exp: Skip if remote target.
1312 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1313 application. Call gdb_load_shlibs.
1314 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1315
1316 2011-11-29 Joel Brobecker <brobecker@adacore.com>
1317
1318 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1319
1320 2011-11-28 Joel Brobecker <brobecker@adacore.com>
1321
1322 * gdb.ada/fullname_bp: New testcase.
1323
1324 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1325
1326 PR testsuite/12649
1327 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1328 Wrap send_gdb into a new gdb_test.
1329
1330 Code cleanup.
1331 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1332 Convert send_gdb and gdb_expect to gdb_test_multiple.
1333
1334 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1335
1336 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1337
1338 2011-11-23 Keith Seitz <keiths@redhat.com>
1339
1340 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1341 (mi_varobj_tree_test_children_callback): New proc.
1342 (mi_walk_varobj_tree): New proc.
1343
1344 2011-11-22 Tom Tromey <tromey@redhat.com>
1345
1346 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1347 Add "use_mi_command" argument.
1348 (mi_run_cmd, mi_run_with_cli): New procs.
1349 * gdb.mi/solib-lib.c: New file.
1350 * gdb.mi/solib-main.c: New file.
1351 * gdb.mi/mi-solib.exp: New file.
1352
1353 2011-11-21 Doug Evans <dje@google.com>
1354
1355 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1356 _Unwind_DebugHook is missing.
1357
1358 2011-11-20 Stan Shebs <stan@codesourcery.com>
1359
1360 * gdb.trace/tstatus.exp: New.
1361 * gdb.trace/actions.c: Include string.h.
1362
1363 2011-11-18 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.trace/pending.exp: New.
1366 * gdb.trace/pending.c: New.
1367 * gdb.trace/pendshr1.c: New.
1368 * gdb.trace/pendshr2.c: New.
1369 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1370 tracepoint location becomes pending.
1371 (tracepoint_change_loc_2): New.
1372
1373 2011-11-16 David S. Miller <davem@davemloft.net>
1374
1375 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1376 target is sparc*-*-linux*
1377
1378 2011-11-15 Paul Koning <paul_koning@dell.com>
1379
1380 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1381 types.
1382
1383 2011-11-14 Doug Evans <dje@google.com>
1384
1385 * gdb.base/shell.exp: New file.
1386
1387 2011-11-14 Stan Shebs <stan@codesourcery.com>
1388
1389 * gdb.trace/ftrace.c: New.
1390 * gdb.trace/ftrace.exp: New.
1391
1392 2011-11-14 Yao Qi <yao@codesourcery.com>
1393
1394 * gdb.trace/change-loc-1.c: New.
1395 * gdb.trace/change-loc-2.c: New.
1396 * gdb.trace/change-loc.c: New.
1397 * gdb.trace/change-loc.exp: New.
1398 * gdb.trace/change-loc.h: New.
1399 * gdb.trace/trace-break.c (marker): Define new symbol.
1400 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1401 New.
1402 (break_trace_same_addr_6): New.
1403
1404 2011-11-12 Matt Rice <ratmice@gmail.com>
1405
1406 * gdb.base/info-macros.exp: Make tests for info definitions
1407 test info macro. Add tests for info macro argument processing.
1408 Rename a few tests.
1409
1410 2011-11-11 Keith Seitz <keiths@redhat.com>
1411
1412 PR gdb/12843
1413 * gdb.base/linespecs.exp: New file.
1414
1415 2011-11-11 Doug Evans <dje@google.com>
1416
1417 * gdb.threads/print-threads.exp: Extend timeout for slower
1418 tests.
1419
1420 2011-11-10 Doug Evans <dje@google.com>
1421
1422 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1423 "record to end of main" test.
1424
1425 * gdb.python/py-type.c (TS): New typedef.
1426 (ts): New global.
1427 * gdb.python/py-type.exp: Test field list of typedef.
1428
1429 2011-11-10 Joel Brobecker <brobecker@adacore.com>
1430
1431 * gdb.ada/small_reg_param: New testcase.
1432
1433 2011-11-09 Tom Tromey <tromey@redhat.com>
1434
1435 * gdb.cp/destrprint.exp: New file.
1436 * gdb.cp/destrprint.cc: New file.
1437
1438 2011-11-08 Meador Inge <meadori@codesourcery.com>
1439
1440 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1441 (switch_stack_to_other): New test function.
1442 * gdb.arch/thumb-prologue.exp: New test cases.
1443
1444 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
1445
1446 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1447
1448 2011-11-08 Yao Qi <yao@codesourcery.com>
1449
1450 * gdb.exp (supports_process_record): New.
1451 (supports_reverse): New.
1452 * gdb.reverse/break-precsave.exp: Call support_process_record
1453 to run test conditionally.
1454 * gdb.reverse/consecutive-precsave.exp: Likewise.
1455 * gdb.reverse/i386-precsave.exp: Likewise.
1456 * gdb.reverse/machinestate-precsave.exp: Likewise.
1457 * gdb.reverse/solib-precsave.exp: Likewise.
1458 * gdb.reverse/step-precsave.exp: Likewise.
1459 * gdb.reverse/until-precsave.exp: Likewise.
1460 * gdb.reverse/watch-precsave.exp: Likewise.
1461 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1462 test conditionally.
1463 * gdb.reverse/consecutive-reverse.exp: Likewise.
1464 * gdb.reverse/finish-precsave.exp: Likewise.
1465 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1466 * gdb.reverse/finish-reverse.exp: Likewise.
1467 * gdb.reverse/i386-reverse.exp: Likewise.
1468 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1469 * gdb.reverse/machinestate.exp: Likewise.
1470 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1471 * gdb.reverse/sigall-precsave.exp: Likewise.
1472 * gdb.reverse/sigall-reverse.exp: Likewise.
1473 * gdb.reverse/solib-reverse.exp: Likewise.
1474 * gdb.reverse/step-reverse.exp: Likewise.
1475 * gdb.reverse/until-reverse.exp: Likewise.
1476 * gdb.reverse/watch-reverse.exp: Likewise.
1477
1478 2011-11-05 Yao Qi <yao@codesourcery.com>
1479
1480 * gdb.trace/trace-break.exp: Add test on setting two
1481 fast tracepoints at the same address.
1482
1483 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1486
1487 2011-11-02 Stan Shebs <stan@codesourcery.com>
1488
1489 * gdb.trace/collection.c: Add code using strings.
1490 * gdb.trace/collection.exp: Add tests of string collection.
1491
1492 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1493
1494 * gdb.base/skip-solib.exp (executable_main): New variable.
1495 (binfile_main): Base it on that.
1496 Use $executable_main in clean_restart calls. Drop gdb_exit and
1497 gdb_start calls.
1498
1499 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1500
1501 Fix racy FAILs.
1502 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1503 breakpoint_re globals import by async. Set string_regex to .* for
1504 async. Remove the optional thread_selected_re and breakpoint_re
1505 globals expectations.
1506
1507 2011-11-01 Joseph Myers <joseph@codesourcery.com>
1508
1509 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1510 well as Cygwin.
1511
1512 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
1513
1514 Add tests for skip command.
1515 * gdb.base/skip-solib-lib.c: New
1516 * gdb.base/skip-solib-main.c: New
1517 * gdb.base/skip-solib.exp: New
1518 * gdb.base/skip.c: New
1519 * gdb.base/skip.exp: New
1520 * gdb.base/skip1.c: New
1521 * gdb.base/Makefile.in: Adding new files.
1522
1523 2011-10-31 Yao Qi <yao@codesourcery.com>
1524 Pedro Alves <pedro@codesourcery.com>
1525
1526 * gdb.trace/trace-break.c: New.
1527 * gdb.trace/trace-break.exp: New.
1528
1529 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1530
1531 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1532 break-here-2.
1533
1534 2011-10-28 Pedro Alves <pedro@codesourcery.com>
1535
1536 * gdb.threads/no-unwaited-for-left.c: New.
1537 * gdb.threads/no-unwaited-for-left.exp: New.
1538 * gdb.threads/non-ldr-exc-1.c: New.
1539 * gdb.threads/non-ldr-exc-1.exp: New.
1540 * gdb.threads/non-ldr-exc-2.c: New.
1541 * gdb.threads/non-ldr-exc-2.exp: New.
1542 * gdb.threads/non-ldr-exc-3.c: New.
1543 * gdb.threads/non-ldr-exc-3.exp: New.
1544 * gdb.threads/non-ldr-exc-4.c: New.
1545 * gdb.threads/non-ldr-exc-4.exp: New.
1546
1547 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1550 * gdb.base/attach-pie-misread.exp: Likewise.
1551 * gdb.base/break-interp.exp: Likewise.
1552 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1553 testcases for use_gdb_stub.
1554 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1555 (continue): New testcase.
1556 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1557 * gdb.threads/attach-into-signal.exp: Likewise.
1558 * gdb.threads/attach-stopped.exp: Likewise.
1559 * gdb.threads/attachstop-mt.exp: Likewise.
1560
1561 2011-10-28 Paul Koning <paul_koning@dell.com>
1562
1563 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1564
1565 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1566
1567 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1568 (mi_gdb_test): Import globals thread_selected_re
1569 and breakpoint_re. Expect them optionally at the regex start.
1570
1571 2011-10-27 Doug Evans <dje@google.com>
1572
1573 * gdb.python/python.exp: Test source -s.
1574
1575 2011-10-26 Paul Koning <paul_koning@dell.com>
1576
1577 * gdb.python/lib-types.cc (struct A): New structure.
1578 * gdb.python/lib-types.exp (deepitems): New tests.
1579
1580 2011-10-25 Paul Koning <paul_koning@dell.com>
1581
1582 PR python/13327
1583
1584 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1585 fetch_lazy method.
1586
1587 2011-10-24 Yao Qi <yao@codesourcery.com>
1588
1589 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1590 target is tic6x-*-*.
1591
1592 2011-10-21 Joel Brobecker <brobecker@adacore.com>
1593
1594 * gdb.ada/mi_task_info/task_switch.adb: New file.
1595 * gdb.ada/mi_task_info.exp: New file.
1596
1597 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1598
1599 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1600 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1601
1602 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1603
1604 PR python/12656
1605
1606 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1607 global_block tests.
1608
1609 2011-10-18 Tom Tromey <tromey@redhat.com>
1610
1611 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1612
1613 2011-10-18 Tom Tromey <tromey@redhat.com>
1614
1615 * gdb.base/source.exp: Don't include full file name in test name.
1616 * gdb.python/python.exp: Don't include full file name in test
1617 name.
1618
1619 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 * gdb.base/attach-pie-noexec.c: New files.
1622 * gdb.base/attach-pie-noexec.exp: New files.
1623
1624 2011-10-17 Joseph Myers <joseph@codesourcery.com>
1625
1626 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1627 prompt for each extra line in command.
1628
1629 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1630
1631 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1632 Revert the part of:
1633 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1634 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1635 Change the expected string.
1636
1637 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 Fix results with system glibc debug info installed.
1640 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1641 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1642 Accept also __libc_ symbol prefix and no prefix.
1643
1644 2011-10-14 Keith Seitz <keiths@redhat.com>
1645
1646 PR c++/13225
1647 * gdb.cp/converts.cc (foo3_1): New function.
1648 (foo3_2): New functions.
1649 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1650 and null pointer conversions of integer constant zero.
1651 Add test to check if all arguments are checked for incompatible
1652 conversion BADNESS.
1653
1654 2011-10-14 Tom Tromey <tromey@redhat.com>
1655
1656 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1657 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1658 linespec.
1659
1660 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1661
1662 Fix internal error regression.
1663 * gdb.dwarf2/implptr-optimized-out.S: New file.
1664 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1665
1666 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1669 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1670 (loclist): New.
1671 (4): New abbrev.
1672 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1673 Use prepare_for_testing, remove clean_restart.
1674 (p arraynoloc, p arraycallnoloc): New tests.
1675
1676 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 * gdb.cp/namespace-enum.exp (executable): New variable.
1679 (binfile): Use ${objdir}/${subdir}/ prefix.
1680 Use ${executable} for clean_restart.
1681
1682 2011-10-11 Sterling Augustine <saugustine@google.com>
1683
1684 * gdb.cp/Makefile.in: Add namespace-enum test.
1685 * gdb.cp/namespace-enum.exp: New file.
1686 * gdb.cp/namespace-enum.c: New file.
1687 * gdb.cp/namespace-enum-main.c: New file.
1688
1689 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1690
1691 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1692 sysroot.
1693
1694 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1695
1696 Reimplement @entry in input expressions.
1697 * gdb.base/exprs.c (v_int_array_init): New variable.
1698 * gdb.base/exprs.exp (print v_int_array_init)
1699 (print *v_int_array_init@1, print *v_int_array_init@2)
1700 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1701 (print v_int_array_init[1]@1): New tests.
1702
1703 2011-10-10 Joseph Myers <joseph@codesourcery.com>
1704
1705 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1706 expected message.
1707
1708 2011-10-09 Doug Evans <dje@google.com>
1709
1710 * gdb.base/alias.exp: Add tests for alias command.
1711
1712 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1713
1714 * gdb.arch/amd64-entry-value.s: New file.
1715 * gdb.mi/mi2-amd64-entry-value.s: New file.
1716
1717 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1718
1719 Display @entry parameter values even for references.
1720 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1721 functions.
1722 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1723 reference and datap_input.
1724 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1725 breakpoints.
1726 (continue to breakpoint: entry_reference: reference)
1727 (entry_reference: bt at entry)
1728 (continue to breakpoint: entry_reference: breakhere_reference)
1729 (entry_reference: bt, entry_reference: ptype regparam)
1730 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1731 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1732 (entry_reference: p regcopy, entry_reference: p nodataparam)
1733 (entry_reference: p nodataparam@entry): New tests.
1734
1735 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1736
1737 Support @entry in input expressions.
1738 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1739 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1740 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1741 (tailcall: p j@entry): New tests.
1742 * gdb.cp/koenig.cc (A::entry): New function.
1743 (main): Call it.
1744 * gdb.cp/koenig.exp (p entry (c)): New test.
1745
1746 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1747
1748 Display @entry parameter values (without references).
1749 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1750 (different, validity, invalid): New functions.
1751 (main): Call them.
1752 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1753 stacktest, breakhere_stacktest, different, breakhere_different,
1754 breakhere_validity and breakhere_invalid.
1755 (entry: bt): Update for @entry.
1756 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1757 (entry_validity: *, entry_invalid: *): Many new tests.
1758 * gdb.base/break.exp
1759 (run until breakpoint set at small function, optimized file): Accept
1760 also the @entry suffix.
1761 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1762 * gdb.mi/mi2-amd64-entry-value.c: New files.
1763 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1764
1765 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1766
1767 Protect entry values against self tail calls.
1768 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1769 (main): Call self.
1770 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1771 (set debug entry-values 1, self: bt debug entry-values): New tests.
1772
1773 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1774
1775 Recognize virtual tail call frames.
1776 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1777 (amb_b, amb_a): New.
1778 (main): Call a and b.
1779 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1780 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1781 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1782 New tests.
1783
1784 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1785
1786 Implement basic support for DW_TAG_GNU_call_site.
1787 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1788 * gdb.arch/amd64-entry-value.cc: New file.
1789 * gdb.arch/amd64-entry-value.exp: New file.
1790
1791 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1792
1793 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1794 * gdb.dwarf2/implptr-64bit.S: New file.
1795 * gdb.dwarf2/implptr-64bit.exp: New file.
1796
1797 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 Fix initial language detection with -readnow.
1800 * gdb.cp/readnow-language.cc: New file.
1801 * gdb.cp/readnow-language.exp: New file.
1802
1803 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 Fix printed anonymous struct name.
1806 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1807
1808 2011-10-09 Joseph Myers <joseph@codesourcery.com>
1809
1810 * gdb.base/solib-symbol.exp: Do not include directories in
1811 filenames in expected messages.
1812
1813 2011-10-07 Doug Evans <dje@google.com>
1814
1815 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1816
1817 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
1818
1819 Allow Python notification of new object-file loadings.
1820 * gdb.python/py-events.exp: Test newobjfile event.
1821 * gdb.python/py-events.py: Register newobjfile callback.
1822 * gdb.python/py-events.c: Add call to shared library
1823 * gdb.python/py-events-shlib.c: New file.
1824
1825 2011-10-06 Joseph Myers <joseph@codesourcery.com>
1826
1827 * gdb.base/fixsection.exp: Do not include directories in filename
1828 in expected message.
1829
1830 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1831
1832 Add tests for passing of environment variables to inferior.
1833 * gdb.base/testenv.c: New test source.
1834 * gdb.base/testenv.exp: New expect test.
1835
1836 2011-10-04 Paul Koning <paul_koning@dell.com>
1837
1838 * gdb.python/py-value.c (main): Break before return.
1839
1840 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
1841
1842 PR python/12691: Add the inferior to Python exited event
1843 * gdb.python/py-events.exp: Test the inferior attribute of exited
1844 event with a fork.
1845 * gdb.python/py-events.py: Print inferior number on exit.
1846 * gdb.python/py-events.c: Fork the inferior.
1847
1848 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1849
1850 * gdb.base/jit.exp: Add testcase name to log message
1851
1852 2011-10-03 Paul Koning <paul_koning@dell.com>
1853 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 * gdb.python/py-value.exp
1856 (python inval = gdb.parse_and_eval('*(int*)0'))
1857 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1858 (set argc=2, python print argc_lazy): New tests.
1859
1860 2011-10-02 Joel Brobecker <brobecker@adacore.com>
1861
1862 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1863
1864 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1865 Pedro Alves <pedro@codesourcery.com>
1866
1867 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1868 can_read_0, test for it.
1869 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1870 (parse_and_eval with memory error): ... here, make it untested if
1871 can_read_0.
1872
1873 2011-09-30 Marek Polacek <mpolacek@redhat.com>
1874
1875 * gdb.python/python.exp (verify pagination beforehand)
1876 (verify pagination afterwards): Fix race by splitting the line.
1877
1878 2011-09-29 Joseph Myers <joseph@codesourcery.com>
1879
1880 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1881 for 64-bit multilibs from i?86-* targets.
1882
1883 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1884
1885 * lib/gdb.exp: Fix a typo in one of the comments.
1886
1887 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1888
1889 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1890 matching pattern.
1891
1892 2011-09-28 Paul Koning <paul_koning@dell.com>
1893
1894 * gdb.python/py-type.c (enum E): New.
1895 * gdb.python/py-type.exp (test_fields): Add tests for Python
1896 mapping access to fields.
1897 (test_enums): New test for field access on enums.
1898
1899 2011-09-27 Stan Shebs <stan@codesourcery.com>
1900
1901 * gdb.trace/collection.exp: Test collection of $_ret.
1902
1903 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
1904
1905 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1906 list of compilation switches for <*-*-freebsd*>.
1907
1908 2011-09-19 Stan Shebs <stan@codesourcery.com>
1909
1910 * gdb.trace/tspeed.exp: New file.
1911 * gdb.trace/tspeed.c: New file.
1912
1913 2011-09-18 Yao Qi <yao@codesourcery.com>
1914
1915 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1916 instructions.
1917 (test_adr_32bit, test_pop_pc): Likewise.
1918 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1919 Thumb instructions.
1920 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1921 in gdb_test_multiple.
1922 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1923
1924 2011-09-17 Yao Qi <yao@codesourcery.com>
1925
1926 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1927 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1928 support single step to signal handler.
1929
1930 2011-09-17 Yao Qi <yao@codesourcery.com>
1931
1932 * gdb.base/disp-step-fork.c: New.
1933 * gdb.base/disp-step-syscall.exp: New.
1934 * gdb.base/disp-step-vfork.c: New.
1935
1936 2011-09-16 Joel Brobecker <brobecker@adacore.com>
1937
1938 * gdb.ada/tasks.exp: Make the expected output for
1939 the `info tasks' tests more resilient to spacing
1940 changes.
1941
1942 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1945 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1946
1947 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
1948
1949 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1950 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1951
1952 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
1953
1954 Handle multiple breakpoint hits in Python interface:
1955 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1956 presence.
1957 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1958 breakpoint hits.
1959
1960 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1961 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 * gdb.python/py-events.exp: Remove pretty printing comment.
1964 * gdb.python/py-evsignal.exp: New file.
1965 * gdb.python/py-evthreads.c: Include signal.h.
1966 (thread3): Remove variable count3. Remove variable bad and use raise
1967 instead.
1968 (thread2): Remove variable count2. Move thread3 pthread_create here,
1969 merge pthread_join to a single line.
1970 (main): Remove variable count1. Merge pthread_join with pthread_create
1971 to a single line.
1972 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1973 KFAIL python/12966 for gdbserver. Test return value of
1974 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1975 gdb_expect by gdb_test and gdb_test_multiple.
1976 (thread 2, thread 3): New tests.
1977
1978 2011-09-12 Matt Rice <ratmice@gmail.com>
1979 Pedro Alves <pedro@codesourcery.com>
1980
1981 PR gdb/13175
1982
1983 * gdb.base/interp.exp: New tests.
1984 * gdb.base/interp.c: New file.
1985
1986 2011-09-12 Doug Evans <dje@google.com>
1987
1988 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1989 * gdb.dwarf2/typeddwarf.exp: Ditto.
1990
1991 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1992
1993 Fix compatibility with x32 arch.
1994 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1995 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1996 is_x86_like_target.
1997 * testsuite/gdb.trace/collection.exp: Likewise.
1998 * testsuite/gdb.trace/report.exp: Likewise.
1999 * testsuite/gdb.trace/unavailable.exp: Likewise.
2000 * testsuite/gdb.trace/while-dyn.exp: Likewise.
2001 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
2002 (is_x86_like_target): Check also is_amd64_regs_target.
2003
2004 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2005
2006 PR breakpoints/12435
2007 * gdb.arch/amd64-prologue-xmm.c: New file.
2008 * gdb.arch/amd64-prologue-xmm.exp: New file.
2009 * gdb.arch/amd64-prologue-xmm.s: New file.
2010
2011 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2012
2013 * gdb.dwarf2/dw2-param-error-main.c: New file.
2014 * gdb.dwarf2/dw2-param-error.S: New file.
2015 * gdb.dwarf2/dw2-param-error.exp: New file.
2016
2017 2011-09-08 Pedro Alves <pedro@codesourcery.com>
2018
2019 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2020 inferior's pid and look for a core dump named core.$pid. Use
2021 `remote_file' commands on the host instead of hand coding shell
2022 commands on the build.
2023 * gdb.base/valgrind-db-attach.exp: Kill the program before
2024 finishing the test.
2025
2026 2011-09-02 Matt Rice <ratmice@gmail.com>
2027
2028 * lib/prompt.exp: New file for testing the first prompt.
2029 * gdb.python/py-prompt.exp: Ditto.
2030 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2031
2032 2011-09-02 Pedro Alves <pedro@codesourcery.com>
2033
2034 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2035 0, before testing gcore.
2036
2037 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2038
2039 * dw2-ifort-parameter-debug.S: Update copyright year.
2040 * dw2-ifort-parameter.c: Update copyright year.
2041 * dw2-ifort-parameter.exp: Update copyright year.
2042
2043 * dw2-ifort-parameter-debug.S: New file.
2044 * dw2-ifort-parameter.c: New file.
2045 * dw2-ifort-parameter.exp: New file.
2046
2047 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2048
2049 * gdb.base/commands.exp (error_clears_commands_left): New function.
2050 (): Call it.
2051
2052 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2055 (C): Initialize `a'.
2056 * gdb.mi/mi-inheritance-syntax-error.exp
2057 (-data-evaluate-expression $path): Expect `a' as 5.
2058
2059 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2060
2061 PR mi/11912
2062 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2063 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2064 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2065 keyword in output of -var-info-path-expression.
2066
2067 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2068
2069 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2070 * gdb.trace/collection.exp: Likewise.
2071 * gdb.trace/report.exp: Likewise.
2072 * gdb.trace/unavailable.exp: Likewise.
2073 * gdb.trace/while-dyn.exp: Likewise.
2074
2075 2011-08-18 Keith Seitz <keiths@redhat.com>
2076
2077 PR c++/12266
2078 * gdb.cp/meth-typedefs.cc: New file.
2079 * gdb.cp/meth-typedefs.exp: New file.
2080
2081 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2082
2083 * gdb.python/python.exp: Add extended-prompt tests.
2084
2085 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2086
2087 * gdb.arch/i386-dr3-watch.exp
2088 (watchpoint on gap1 does not fit debug registers)
2089 (delete all watchpoints): Fix racy expect strings.
2090
2091 2011-08-14 Yao Qi <yao@codesourcery.com>
2092
2093 * gdb.base/maint.exp: set data_section to ".neardata".
2094 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2095 * gdb.base/savedregs.exp: Handle SIGILL.
2096 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2097 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2098
2099 2011-08-12 Doug Evans <dje@google.com>
2100
2101 * gdb.python/py-symbol.exp: Add test for symbol.type.
2102
2103 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2104
2105 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2106 * gdb.mi/mi-pthreads.exp: Likewise.
2107 * gdb.mi/mi2-pthreads.exp: Likewise.
2108 * gdb.mi/gdb669.exp.exp: Likewise.
2109
2110 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2111
2112 * lib/mi-support.exp (detect_async): Rename to...
2113 (mi_detect_async): ... this.
2114 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2115 * gdb.mi/mi-nonstop.exp: Adjust.
2116 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2117 * gdb.mi/mi-nsintrall.exp: Adjust.
2118 * gdb.mi/mi-nsmoribund.exp: Adjust.
2119 * gdb.mi/mi-nsthrexec.exp: Adjust.
2120
2121 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2122
2123 * gdb.base/display.c (do_loops): New `p_i' local.
2124 * gdb.base/display.exp: Test displaying a variable that is
2125 temporarily at a bad address.
2126
2127 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2130 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2131
2132 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2133
2134 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
2135 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2136 (p fuNC_symtab): Permit also ppc64 leading dot.
2137
2138 2011-08-05 Pedro Alves <pedro@codesourcery.com>
2139
2140 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2141 procedure.
2142 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2143
2144 2011-08-05 Yao Qi <yao@codesourcery.com>
2145
2146 * gdb.base/callfuncs.exp: Set language after main.
2147 * gdb.cp/cplusfuncs.exp: Likewise.
2148 * gdb.cp/inherit.exp: Likewise.
2149
2150 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2151
2152 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2153 * gdb.base/watch-vfork.exp: Skip on remote targets.
2154
2155 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2156
2157 * gdb.threads/thread-find.exp: Support remote targets.
2158
2159 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2160
2161 * gdb.base/jit.exp: Download solib_binfile to target.
2162 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2163 and call dlopen without full path name.
2164 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2165 dlopen without full path name.
2166
2167 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2168
2169 * gdb.base/break-always.exp: Complete the test
2170 with duplicated breakpoints and enabling/disabling them.
2171
2172 2011-08-02 Tom Tromey <tromey@redhat.com>
2173
2174 PR gdb/11289:
2175 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2176
2177 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2178
2179 PR gdb/13045
2180 * gdb.base/float.exp: Add new test case for PR gdb/13045
2181 * gdb.base/float.c: New file.
2182
2183 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2184
2185 * gdb.python/py-mi.exp: Test printers returning string hint, and
2186 also not returning a value.
2187 * gdb.python/py-prettyprint.c: Add testcase for above.
2188 * gdb.python/py-prettyprint.py: Add test printer for above.
2189
2190 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2191
2192 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2193 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2194 (.Ldie30) Add as field "data4".
2195 (.Ldie32) Rename field "b" to "shl".
2196 (abbrev4) Change for the "data4" field.
2197 (abbrev5, abbrev6) Remove.
2198 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2199 (p &s.shl): ... here. Add comment.
2200 (p &s.data4): New.
2201
2202 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2203
2204 Fix crash on lval_computed values.
2205 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2206
2207 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 * gdb.base/help.exp (help whatis): Update the expected string.
2210
2211 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2212
2213 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2214 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2215 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2216 Change the expected string.
2217
2218 2011-07-26 Pedro Alves <pedro@codesourcery.com>
2219
2220 * gdb.base/watchpoint.exp
2221 (test_disable_enable_software_watchpoint): New procedure.
2222 (top level): Run it.
2223
2224 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2225
2226 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2227 executable file "${binfile}", C++ version "${binfile}-cxx".
2228 * gdb.python/py-prettyprint.exp: Likewise.
2229 * gdb.python/py-symbol.exp: Likewise.
2230 * gdb.python/py-type.exp: Likewise.
2231 * gdb.python/py-value.exp: Likewise.
2232 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2233 file name instead of just suffix.
2234
2235 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2236
2237 Fix implicit pointer offsets.
2238 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2239 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2240 (continue to breakpoint: continue to baz breakpoint for implptr)
2241 (sanity check element 0, sanity check element 1)
2242 (enter the inlined function, check element 0 for the offset)
2243 (check element 1 for the offset)
2244 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2245 (set foo breakpoint for implptr): Update the breakpoint number.
2246
2247 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2248
2249 * gdb.python/py-mi.exp: Use different file names for different
2250 versions of the executable under test.
2251 * gdb.python/py-prettyprint.exp: Likewise.
2252 * gdb.python/py-symbol.exp: Likewise.
2253 * gdb.python/py-template.exp: Likewise.
2254 * gdb.python/py-type.exp: Likewise.
2255 * gdb.python/py-value.exp: Likewise.
2256
2257 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2258
2259 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2260 flag after restarting GDB if necessary.
2261
2262 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2263
2264 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2265
2266 2011-07-22 Pedro Alves <pedro@codesourcery.com>
2267
2268 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2269 backend doesn't leave used debug registers behind.
2270
2271 2011-07-22 Tom Tromey <tromey@redhat.com>
2272
2273 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2274 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2275 argument.
2276 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2277
2278 2011-07-21 Matt Rice <ratmice@gmail.com>
2279
2280 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2281 in mostlyclean rule. Add files ending in .core.
2282
2283 2011-07-21 Matt Rice <ratmice@gmail.com>
2284
2285 PR macros/12999
2286 * gdb.base/info-macros.c: New test sources.
2287 * gdb.base/info-macros.exp: New tests.
2288
2289 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2290
2291 * gdb.python/python.exp: Add prompt substitution tests.
2292
2293 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2294
2295 Fix crash if referenced CU is aged out.
2296 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2297 New.
2298 * gdb.dwarf2/implptr.exp: Likewise.
2299
2300 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2301
2302 * gdb.dwarf2/implptr.S: Rebuilt.
2303 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2304 (bar): Use them for j, k, l.
2305 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2306 COMPILE.
2307 (print j in implptr:bar): Update for the intp typedef.
2308 (print p[0].x in implptr:foo): Use more exact regex.
2309
2310 2011-07-18 Tom Tromey <tromey@redhat.com>
2311
2312 * gdb.cp/static-method.exp: Add missing single quote.
2313
2314 2011-07-18 Yao Qi <yao@codesourcery.com>
2315
2316 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2317 supported.
2318 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2319 * gdb.mi/mi-nonstop.exp: Likewise.
2320 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2321 * gdb.mi/mi-nsintrall.exp: Likewise.
2322 * gdb.mi/mi-nsmoribund.exp: Likewise.
2323 * gdb.mi/mi-nsthrexec.exp: Likewise.
2324 * gdb.python/py-evthreads.exp: Likewise.
2325
2326 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 Code cleanup.
2329 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2330 it. Substitute it instead of test_compiler_info everywhere.
2331
2332 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2333
2334 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2335 remote targets as well.
2336
2337 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2338
2339 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2340 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2341
2342 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2343
2344 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2345 a remote machine, not the host.
2346 (gdb_compile_shlib): Set soname if target is remote.
2347
2348 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2349
2350 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2351
2352 2011-07-13 Matt Rice <ratmice@gmail.com>
2353
2354 * gdb.python/py-objfile-script-gdb.py: Renamed to
2355 py-objfile-script-gdb.py.in.
2356 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2357 py-objfile-script-gdb.py.
2358 * gdb.python/py-objfile-script.exp: Update reference to
2359 py-objfile-script-gdb.py.
2360
2361 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2362
2363 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2364 reference undefined label.
2365
2366 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2367
2368 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2369 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2370 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2371 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2372
2373 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2374
2375 PR python/12438
2376 * gdb.python/python.exp: Add maint set/show python print-stack
2377 deprecated tests. Add set/show python print-backtrace tests.
2378
2379 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2380
2381 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2382 debug info.
2383
2384 2011-07-06 Matt Rice <ratmice@gmail.com>
2385
2386 * gdb.python/python.exp: Update filename paths.
2387 * gdb.python/py-symtab.exp: Ditto.
2388
2389 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2390
2391 * gdb.python/py-evthreads.exp: Add missing `$'.
2392
2393 2011-07-06 Jie Zhang <jie.zhang@analog.com>
2394
2395 * config/bfin.exp: New file.
2396 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2397 * gdb.asm/bfin.inc: New file.
2398
2399 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2400
2401 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
2402 the whole output.
2403
2404 2011-07-05 Tom Tromey <tromey@redhat.com>
2405
2406 * gdb.java/jprint.java (jprint.hi): New field.
2407 * gdb.java/jprint.exp: Print string.
2408
2409 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2410
2411 * gdb.base/call-sc.c: Fix typos.
2412 * gdb.base/ifelse.exp: Likewise.
2413 * gdb.base/structs.c: Likewise.
2414
2415 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2416
2417 * gdb.base/jit-so.exp: New test.
2418 * gdb.base/jit-dlmain.c: New file.
2419 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2420
2421 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2422
2423 * gdb.cp/m-static.exp: Call get_compiler_info.
2424 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2425 * gdb.cp/pr9167.exp (p b): Likewise.
2426 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2427 (test value of P in inner_m, test type of Z in inner_m): Call
2428 setup_xfail for gcc <= 4.5.
2429
2430 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * gdb.cp/paren-type.cc: New files.
2433 * gdb.cp/paren-type.exp: New files.
2434
2435 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 Stop on first linespec terminator instead of eating what we can.
2438 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2439 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2440 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2441 (break C::f()): ... this one.
2442 (break C::operator()()): New test.
2443 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2444 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2445 test.
2446
2447 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2448
2449 Fall back linespec to minimal symbols.
2450 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2451 error message.
2452 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2453 * gdb.cp/minsym-fallback-main.cc: New file.
2454 * gdb.cp/minsym-fallback.cc: New file.
2455 * gdb.cp/minsym-fallback.exp: New file.
2456 * gdb.cp/minsym-fallback.h: New file.
2457
2458 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2459
2460 * gdb.cp/no-dmgl-verbose.cc: New file.
2461 * gdb.cp/no-dmgl-verbose.exp: New file.
2462
2463 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2464
2465 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2466 __GI_.
2467 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2468 (f): New function.
2469 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2470 (complete p 'func<short>(): ... here.
2471 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2472 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2473 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2474 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2475 Make them KFAIL gcc/49546.
2476
2477 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2478
2479 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2480
2481 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 Test GCC PR debug/49546.
2484 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2485 (test type of F in k3_m, test value of F in k3_m): New.
2486 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2487 (main): New variable k3. Call k3.k3_m.
2488
2489 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2490
2491 * gdb.ada/packed_array.exp: Fix expected outout.
2492
2493 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2494
2495 * gdb.ada/packed_array.exp: fixed expected output.
2496
2497 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2498
2499 * gdb.ada/same_enum: New testcase.
2500
2501 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2502
2503 * gdb.ada/ptr_typedef: New testcase.
2504
2505 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2506
2507 * gdb.ada/arrayptr.exp: Add ptype test.
2508
2509 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2510
2511 * gdb.ada/char_enum: New testcase.
2512
2513 2011-07-01 Yao Qi <yao@codesourcery.com>
2514
2515 * gdb.base/dump.exp (capture_pointer_with_type): New.
2516 Get value from address instead of name.
2517 Start GDB once, and do `dump' and `restore'
2518 tests together.
2519
2520 2011-06-30 Jie Zhang <jie.zhang@analog.com>
2521 Mike Frysinger <vapier@gentoo.org>
2522
2523 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2524 helper functions for getting/setting remotetimeout variable.
2525 * lib/gdb.exp (gdb_load): If the target is remote, set
2526 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2527 with $loadtimeout. Set $load_ok to 0 before doing the load.
2528 Instead of returning, immediately, set $load_ok to 0. Call
2529 set_remotetimeout with $oldremotetimeout, and then return if
2530 $load_ok is 1.
2531
2532 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
2533
2534 * gdb.python/py-template.exp: Don't run this test if the target
2535 does not support c++ tests.
2536
2537 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 Fix non-only rename list for Fortran modules import.
2540 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2541 tests.
2542 * gdb.fortran/module.f90 (module moduse): New.
2543 (program module): use moduse, test var_x, var_y and var_z.
2544
2545 2011-06-29 Tom Tromey <tromey@redhat.com>
2546
2547 PR testsuite/12040:
2548 * gdb.fortran/array-element.exp: Use f90, not f77.
2549 * gdb.fortran/complex.exp: Use f90, not f77.
2550 * gdb.fortran/derived-type.exp: Use f90, not f77.
2551 * gdb.fortran/library-module.exp: Use f90, not f77.
2552 * gdb.fortran/logical.exp: Use f90, not f77.
2553 * gdb.fortran/module.exp: Use f90, not f77.
2554 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2555 * gdb.fortran/subarray.exp: Use f90, not f77.
2556
2557 2011-06-29 Tom Tromey <tromey@redhat.com>
2558
2559 * gdb.fortran/charset.exp: New file.
2560 * gdb.fortran/charset.f90: New file.
2561
2562 2011-06-29 Tom Tromey <tromey@redhat.com>
2563
2564 PR testsuite/12040:
2565 * lib/future.exp: New file, mostly extracted from ada.exp.
2566 Rewrote compatibility code to use rename.
2567 (gdb_find_gfortran): New proc.
2568 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2569 gfortran patch.
2570 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2571 Move to future.exp.
2572 * lib/gdb.exp: Always load future.exp.
2573
2574 2011-06-28 Yao Qi <yao@codesourcery.com>
2575
2576 * gdb.cp/exception.cc: Don't include iostream.
2577 (bar): Remove print statement.
2578 (catcher): New.
2579 (main): Remove print statements. Call function catcher.
2580 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2581 Set breakpoint on catcher, and check the value of parameter.
2582
2583 2011-06-23 Yao Qi <yao@codesourcery.com>
2584
2585 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2586 1.2 is disabled. KFAIL for uclinux.
2587
2588 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2589
2590 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2591 mi_gdb_test.
2592
2593 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2594
2595 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2596
2597 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2598
2599 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2600
2601 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2602
2603 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2604 `test_exec_and_symbol_mi_operatons' return value.
2605 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2606 gdb_test_multiple.
2607 (test_exec_and_symbol_mi_operatons): Likewise.
2608 (test_path_specification): Likewise.
2609
2610 2011-06-23 Yao Qi <yao@codesourcery.com>
2611
2612 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2613 supported.
2614 * lib/gdb.exp (support_displaced_stepping): New.
2615
2616 2011-06-23 Yao Qi <yao@codesourcery.com>
2617
2618 * gdb.threads/execl.exp: Skip on remote target.
2619
2620 2011-06-21 Marek Polacek <mpolacek@redhat.com>
2621
2622 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
2623 mi_gdb_test.
2624
2625 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2626
2627 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2628
2629 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2630
2631 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2632 mi_gdb_test.
2633
2634 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2635
2636 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2637
2638 2011-06-14 Yao Qi <yao@codesourcery.com>
2639
2640 gdb/testsuite/
2641 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2642
2643 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2646
2647 2011-06-10 Tom Tromey <tromey@redhat.com>
2648
2649 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2650 Add tests for pointer-to-member-function.
2651 * gdb.cp/temargs.cc (S::somefunc): New function.
2652 (K2): New class.
2653 (main): Instantiate K2; call method.
2654
2655 2011-06-08 Joel Brobecker <brobecker@adacore.com>
2656
2657 * gdb.python/py-inferior.c (f2): Make str an array rather
2658 than a pointer.
2659 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2660
2661 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2662
2663 * gdb.base/async-shell.c: New file.
2664 * gdb.base/async-shell.exp: New file.
2665
2666 2011-06-06 Pedro Alves <pedro@codesourcery.com>
2667
2668 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2669
2670 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2671
2672 From Stephen Kitt <steve@sk2.org>
2673 * gdb.base/help.exp: Adjust following some spelling corrections
2674 in GDB.
2675
2676 2011-06-01 Yao Qi <yao@codesourcery.com>
2677
2678 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2679
2680 2010-05-31 Keith Seitz <keiths@redhat.com>
2681
2682 PR c++/12750
2683 * gdb.cp/static-method.cc: New file.
2684 * gdb.cp/static-method.exp: New file.
2685
2686 2010-05-31 Keith Seitz <keiths@redhat.com>
2687
2688 PR symtab/12704
2689 * gdb.cp/anon-ns.cc: New file.
2690 * gdb.cp/anon-ns.exp: New file.
2691
2692 2011-05-31 Pedro Alves <pedro@codesourcery.com>
2693
2694 * gdb.arch/i386-dr3-watch.c: New file.
2695 * gdb.arch/i386-dr3-watch.exp: New file.
2696
2697 2011-05-30 Yao Qi <yao@codesourcery.com>
2698
2699 * gdb.base/callfuncs.c (t_structs_fc): New.
2700 (t_structs_dc, t_structs_ldc): New.
2701 (t_double_many_args):
2702 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2703 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2704 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2705 * gdb.base/callfuncs.exp: Call new functions.
2706
2707 2011-05-30 Yao Qi <yao@codesourcery.com>
2708
2709 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2710 Call rerun_and_prepare for each test to isolate effects.
2711
2712 2011-05-30 Yao Qi <yao@codesourcery.com>
2713
2714 * gdb.base/varargs.c (find_max_float_real): New.
2715 (find_max_double_real, find_max_long_double_real): New.
2716 * gdb.base/varargs.exp: Call these new added functions.
2717 * lib/gdb.exp (setup_kfail_for_target): New.
2718
2719 2011-05-30 Yao Qi <yao@codesourcery.com>
2720
2721 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2722 (callcd, callce, callcf, callc1a, callc1b): New.
2723 (callc2a, callc2b): New.
2724 * gdb.base/funcargs.exp (complex_args): New.
2725 (complex_integral_args, complex_float_integral_args): New.
2726 * lib/gdb.exp (support_complex_tests): New. Determine
2727 whether to run test cases on _Complex types.
2728
2729 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2730
2731 * gdb.threads/leader-exit.c: New file.
2732 * gdb.threads/leader-exit.exp: New file.
2733
2734 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2735
2736 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2737
2738 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2739
2740 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2741 remove the `supported' variable.
2742 * gdb.mi/mi-nonstop.exp: Likewise.
2743 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2744 * gdb.mi/mi-nsintrall.exp: Likewise.
2745 * gdb.mi/mi-nsmoribund.exp: Likewise.
2746 * gdb.mi/mi-nsthrexec.exp: Likewise.
2747
2748 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2749
2750 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2751
2752 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2753
2754 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2755
2756 2011-05-24 Keith Seitz <keiths@redhat.com>
2757
2758 PR breakpoint/12803
2759 * gdb.cp/cmpd-minsyms.cc (a): New method.
2760 (b): New method.
2761 (c): New method.
2762 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2763
2764 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2765
2766 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2767 watchpoint's command list didn't execute when the watchpoint went
2768 out of scope.
2769
2770 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2771
2772 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2773 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2774 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2775 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2776 * gdb.arch/i386-permbkpt.exp: Likewise.
2777 * gdb.arch/i386-prologue.exp: Likewise.
2778 * gdb.arch/i386-size-overlap.exp: Likewise.
2779 * gdb.arch/i386-size.exp: Likewise.
2780 * gdb.arch/i386-unwind.exp: Likewise.
2781 * gdb.reverse/i386-precsave.exp: Likewise.
2782 * gdb.reverse/i386-reverse.exp: Likewise.
2783 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2784 * gdb.reverse/i387-env-reverse.exp: Likewise.
2785 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2786
2787 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2788
2789 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2790 file doesn't error, using MI.
2791
2792 2011-05-23 Tom Tromey <tromey@redhat.com>
2793
2794 * gdb.base/charset.exp (string_display): Add tests to assign to
2795 arrays.
2796 * gdb.base/charset.c (short_array, int_array, long_array): New.
2797
2798 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2799
2800 Cope with async mode.
2801
2802 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2803 into gdb_test + mi_expect_stop.
2804
2805 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2806
2807 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2808 (callme): Remove printf call.
2809
2810 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2811
2812 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2813 quote pattern to avoid problems with Cygwin/mingw expect versions.
2814 * gdb.base/default.exp (show convenience): Use double
2815 quote pattern for regular expressions.
2816
2817 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2818
2819 Fix -readnow for -gdwarf-4 unused type units.
2820 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2821 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2822
2823 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2824
2825 * gdb.base/kill-after-signal.c: New file.
2826 * gdb.base/kill-after-signal.exp: New file.
2827
2828 2011-05-16 Pedro Alves <pedro@codesourcery.com>
2829
2830 * gdb.ada/start.exp: Call untested with the correct test filename.
2831 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2832 test filename. Make the test's binary unique.
2833 * gdb.arch/i386-signal.exp: Call untested with the correct test
2834 filename.
2835 * gdb.arch/i386-size-overlap.exp: Ditto.
2836 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2837 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2838 * gdb.cp/call-c.exp: Ditto.
2839 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2840 filename. Make the test's binary unique.
2841 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2842 * gdb.python/py-mi.exp: Ditto.
2843 * gdb.python/Makefile.in (EXECUTABLES): Update.
2844 * gdb.reverse/i386-precsave.exp: Ditto.
2845 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2846 test filename.
2847 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2848 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2849 unique.
2850 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2851 test filename.
2852 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2853 * gdb.trace/tfile.exp: Ditto.
2854
2855 2011-05-14 Yao Qi <yao@codesourcery.com>
2856
2857 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2858 type.
2859
2860 2011-05-13 Doug Evans <dje@google.com>
2861
2862 * gdb.python/py-objfile-script.exp: New file.
2863 * gdb.python/py-objfile-script.c: New file.
2864 * gdb.python/py-objfile-script-gdb.py: New file.
2865 * testsuite/gdb.python/py-section-script.exp: Test
2866 "info auto-load-scripts".
2867
2868 2011-05-13 Tom Tromey <tromey@redhat.com>
2869
2870 * gdb.dwarf2/clztest.exp: New file.
2871 * gdb.dwarf2/clztest.c: New file.
2872 * gdb.dwarf2/clztest.S: New file.
2873
2874 2011-05-13 Doug Evans <dje@google.com>
2875
2876 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2877 String16 tests.
2878
2879 2011-05-13 Tom Tromey <tromey@redhat.com>
2880
2881 * lib/gdb.exp (is_x86_like_target): New proc.
2882 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2883 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2884 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2885 -nostdlib to compiler.
2886 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2887 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2888 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2889 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2890 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2891
2892 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2893
2894 * gdb.python/py-function.exp: Test setting a value from a function
2895 which executes a command.
2896
2897 2011-05-12 Tom Tromey <tromey@redhat.com>
2898
2899 * gdb.dwarf2/typeddwarf.S: New file.
2900 * gdb.dwarf2/typeddwarf.c: New file.
2901 * gdb.dwarf2/typeddwarf.exp: New file.
2902
2903 2011-05-12 Marek Polacek <mpolacek@redhat.com>
2904
2905 * gdb.mi/mi-basics.exp: Fix races. Honour the
2906 `test_exec_and_symbol_mi_operatons' return value.
2907 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2908 gdb_test_multiple.
2909 (test_exec_and_symbol_mi_operatons): Likewise.
2910 (test_path_specification): Likewise.
2911
2912 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2913
2914 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2915 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2916 Replace `file copy' and `file rename' by `file mtime'. Twice.
2917
2918 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 * gdb.base/readline-ask.c: New file.
2921 * gdb.base/readline-ask.exp: New file.
2922 * gdb.base/readline-ask.inputrc: New file.
2923
2924 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2925
2926 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2927 to avoid race condition.
2928 * gdb.cell/coremaker.c: Use small stack size.
2929 * gdb.cell/ea-standalone.exp: Use file name without path as
2930 argument to c_to.
2931 * gdb.cell/fork.exp: Allow other output when continuing to end.
2932
2933 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2934
2935 * gdb.threads/corethreads.c: New file.
2936 * gdb.threads/corethreads.exp: New file.
2937
2938 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2941 Try to compile the test using -Wl,-z,norelro first.
2942 (load_core): New variable libthread_db_seen, initialize it.
2943 (zeroed-threads cannot be listed): Protect it by XFAIL on
2944 !$libthread_db_seen.
2945
2946 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2947
2948 PR 12573
2949 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2950 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2951 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2952
2953 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 * gdb.cp/psymtab-parameter.cc: New file.
2956 * gdb.cp/psymtab-parameter.exp: New file.
2957
2958 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2959
2960 Fix a race.
2961 * gdb.cp/static-print-quit.exp (print c): Split to ...
2962 (print c - <return>, print c - q <return>, print c - to quit):
2963 ... these. Make the testfile untested on gdb-7.1.
2964
2965 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
2966
2967 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2968 gdb_rename_execfile, gdb_touch_execfile): New.
2969 * gdb.base/reread.exp: Use new procs to handle multiple
2970 exec files.
2971
2972 2011-05-05 Yao Qi <yao@codesourcery.com>
2973
2974 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2975 (test_adr_32bit, test_pop_pc): New.
2976 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2977 (test_adr_32bit, test_pop_pc): New.
2978
2979 2011-05-04 Joseph Myers <joseph@codesourcery.com>
2980
2981 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2982 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2983 targets.
2984 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2985 handle targets.
2986
2987 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2988
2989 * gdb.base/completion.exp (complete help info wat): Rename to ...
2990 (complete 'help info wat'): ... here.
2991 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2992 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2993
2994 2011-05-04 Pedro Alves <pedro@codesourcery.com>
2995
2996 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2997 gdb_test and explicit $gdb_prompt/timeout matches.
2998
2999 2011-05-04 Yao Qi <yao@codesourcery.com>
3000
3001 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
3002 and __thumb2__.
3003
3004 2011-05-03 Marek Polacek <mpolacek@redhat.com>
3005
3006 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3007 in place of `gdb_test "delete breakpoints"'. This eliminates two
3008 testcases.
3009
3010 2011-05-02 Pedro Alves <pedro@codesourcery.com>
3011
3012 PR testsuite/12649
3013 Fix races.
3014
3015 * gdb.base/completion.exp: Remove all sleep calls. Remove
3016 unnecessary regexs. Don't explicitly expect anything after the
3017 prompt. Eat the prompt if necessary.
3018
3019 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3020
3021 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3022 accept to show the caller line again as well as the line after.
3023
3024 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3025
3026 PR mi/12531
3027
3028 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3029 compile target.
3030 * gdb.python/py-prettyprint.exp: Add C++ object for
3031 CPLUS_FAKE_CHILD test.
3032
3033 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3034
3035 * gdb.base/signest.exp: New file.
3036 * gdb.base/signest.c: Likewise.
3037
3038 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3039
3040 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3041 thread and breakpoint notifications.
3042
3043 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3044
3045 * gdb.base/fortran-sym-case.c: New file.
3046 * gdb.base/fortran-sym-case.exp: New file.
3047 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3048 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3049 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3050
3051 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3052
3053 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3054 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3055 false #1', `if true else false #2' and `if true else false #3'.
3056
3057 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3058
3059 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3060 while delivering signal.
3061
3062 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3063
3064 MI breakpoint notifications.
3065
3066 * testsuite/gdb.mi/mi-cli.exp: Adust.
3067 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3068 * testsuite/gdb.mi/mi-watch.exp: Adust.
3069 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3070 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3071 notifications.
3072
3073 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3076 * gdb.base/gdbindex-stabs.c: New file.
3077 * gdb.base/gdbindex-stabs.exp: New file.
3078
3079 2011-04-25 Yao Qi <yao@codesourcery.com>
3080
3081 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3082 with /*...*/.
3083 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3084
3085 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3086
3087 * gdb.python/py-value.exp (test_objfiles): Name the first test
3088 `py-value in file.filename'.
3089
3090 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3091
3092 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3093 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3094 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3095 !gdbserver_reconnect_p..
3096 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3097
3098 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3099
3100 * gdb.cp/cpcompletion.exp (complete class methods)
3101 (complete class methods beginning with F): Move them above runto. New
3102 comment about the runto delimiter.
3103
3104 2011-04-20 Pedro Alves <pedro@codesourcery.com>
3105
3106 * gdb.base/maint.exp: Test that "maint print registers" works
3107 without a running program.
3108
3109 2011-04-20 Marek Polacek <mpolacek@redhat.com>
3110
3111 * gdb.base/setshow.exp: Fix racy tests.
3112 ($old_gdb_prompt): New variable.
3113
3114 2011-04-19 Tom Tromey <tromey@redhat.com>
3115
3116 * gdb.mi/mi-nsmoribund.exp:
3117 * gdb.hp/gdb.objdbg/objdbg01.exp:
3118 * gdb.base/structs.exp (test_struct_returns):
3119 * gdb.base/call-sc.exp (test_scalar_returns):
3120 * gdb.base/bigcore.exp: Remove duplicate words.
3121
3122 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3125 * gdb.base/break-interp.exp (test_attach): New comment.
3126
3127 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3128
3129 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3130 (clear __stack_user.next, clear stack_used.next)
3131 (save a zeroed-threads corefile): New test.
3132 Call core_load for $core0file.
3133 (zeroed-threads cannot be listed): New test.
3134
3135 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3136
3137 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3138 filename.
3139 ($srcfile): Preserve the original value.
3140 ($testfile): Match it the .exp filename.
3141 ($corefile): New variable. Substitute it around.
3142 Use clean_restart.
3143 ($prev_timeout): Remove.
3144 (load_core): Move core loading into this proc.
3145 Fix restore of $timeout if load_core fails.
3146
3147 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3148
3149 * gdb.base/eu-strip-infcall.c: New file.
3150 * gdb.base/eu-strip-infcall.exp: New file.
3151
3152 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3153
3154 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3155 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3156
3157 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3158
3159 Fix Python access to inlined frames.
3160 * gdb.python/py-frame-inline.c: New file.
3161 * gdb.python/py-frame-inline.exp: New file.
3162
3163 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3164
3165 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3166 content of 's24' correctly (avoiding "optimized out").
3167 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3168
3169 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3170
3171 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3172
3173 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3174
3175 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3176 expect a colon in watch -location output.
3177
3178 2011-04-13 Marek Polacek <mpolacek@redhat.com>
3179
3180 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
3181 New testcase `expect response to define backtrace'. Also remove
3182 redundant `default' block.
3183
3184 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3185
3186 * gdb.python/py-prettyprint.c (struct hint_error): New.
3187 (main): New variable hint_error.
3188 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3189 "print hint_error".
3190 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3191 (register_pretty_printers): Register it.
3192
3193 2011-04-04 Tom Tromey <tromey@redhat.com>
3194
3195 * gdb.cp/maint.exp (test_help): Update.
3196 (test_namespace): Likewise.
3197
3198 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3199
3200 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3201 * gdb.ada/arrayptr.exp: Add new tests.
3202
3203 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3204
3205 * gdb.ada/mi_catch_ex: New testcase.
3206
3207 2011-04-01 Pedro Alves <pedro@codesourcery.com>
3208
3209 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3210 base::overload(void) method without specifying "const".
3211
3212 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3213
3214 * gdb.arch/thumb-singlestep.S: New file.
3215 * gdb.arch/thumb-singlestep.exp: Likewise.
3216
3217 2011-03-31 Tom Tromey <tromey@redhat.com>
3218
3219 * gdb.python/py-prettyprint.py (exception_flag): New global.
3220 (NoStringContainerPrinter._iterator.next): Check it.
3221 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3222 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3223
3224 2011-03-29 Tom Tromey <tromey@redhat.com>
3225
3226 * gdb.cp/anon-struct.cc: New file.
3227 * gdb.cp/anon-struct.exp: New file.
3228
3229 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3230
3231 Test STT_GNU_IFUNC support.
3232 * gdb.base/gnu-ifunc-lib.c: New file.
3233 * gdb.base/gnu-ifunc.c: New file.
3234 * gdb.base/gnu-ifunc.exp: New file.
3235
3236 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 Support a ring of related breakpoints.
3239 * gdb.base/watchpoint-delete.c: New file.
3240 * gdb.base/watchpoint-delete.exp: New file.
3241
3242 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3243
3244 * gdb.ada/arrayparam.exp (print first after function call): Use
3245 explicit package name. Add a comment
3246 (print lasta after function call): Rename ...
3247 (print last after function call): ... it and use explicit package
3248 name.
3249 (print length after function call): Use explicit package name.
3250 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3251 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3252 (multiple matches for symbol i): Rename ...
3253 (multiple matches for symbol integervar): ... it.
3254 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3255 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3256
3257 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
3258
3259 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3260 environment variable to make grep output more predictable. Move
3261 all the environment setup into gdb_init so it's done once per test
3262 case rather than each time we start gdb.
3263
3264 2011-03-24 Tom Tromey <tromey@redhat.com>
3265
3266 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3267 test.
3268
3269 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3272 * gdb.dwarf2/dw2-entry-value.S: New file.
3273 * gdb.dwarf2/dw2-entry-value.exp: New file.
3274
3275 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3276
3277 PR python/12183
3278
3279 * gdb.python/py-function.exp: Add GdbError tests.
3280
3281 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3282
3283 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3284 (reglocal_test_func, statlocal_test_func): New functions.
3285 (globals_test_func): Call new functions.
3286 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3287 (gdb_collect_locals_test): New procedure.
3288 (gdb_trace_collection_test): Call new procedures.
3289
3290 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3291
3292 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3293 (test_register, test_register_unavailable): New procedures.
3294 (gdb_unavailable_registers_test): New procedure.
3295 (gdb_trace_collection_test): Call it.
3296
3297 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3298
3299 PR python/12149
3300
3301 * gdb.python/python.exp: Add gdb.write tests.
3302
3303 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3304
3305 * gdb.python/Makefile.in: Add py-objfile.
3306 * gdb.python/py-objfile.exp: New file.
3307 * gdb.python/py-objfile.c: New file.
3308 * gdb.python/py-block.exp: Add is_valid tests.
3309 * gdb.python/py-inferior.exp: Ditto.
3310 * gdb.python/py-infthread.exp: Ditto.
3311 * gdb.python/py-symbol.exp: Ditto.
3312 * gdb.python/py-symtab.exp: Ditto.
3313
3314 2011-03-16 Keith Seitz <keiths@redhat.com>
3315
3316 PR c++/12273
3317 * gdb.cp/cmpd-minsyms.exp: New test.
3318 * gdb.cp/cmpd-minsyms.cc: New file.
3319
3320 PR c++/11734
3321 * gdb.cp/ovsrch.exp: New test.
3322 * gdb.cp/ovsrch.h: New file.
3323 * gdb.cp/ovsrch1.cc: New file.
3324 * gdb.cp/ovsrch2.cc: New file.
3325 * gdb.cp/ovsrch3.cc: New file.
3326 * gdb.cp/ovsrch4.cc: New file.
3327
3328 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3329
3330 PR gdb/12528
3331 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3332 * gdb.base/break-on-linker-gcd-function.exp: New test.
3333 * gdb.base/break-on-linker-gcd-function.cc: New file.
3334
3335 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
3336
3337 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3338
3339 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3340
3341 * lib/gdb.exp (gdb_unload): Add another termination case.
3342
3343 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3346 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3347 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3348 Provide a stub byte there.
3349 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3350 DW_AT_entry_pc.
3351 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3352
3353 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3354
3355 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3356 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3357 "generic ABI, auto".
3358 (altivec_abi_tests): Accept vectors returned by reference.
3359
3360 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3361
3362 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3363
3364 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3365
3366 * gdb.python/py-section-script.exp: Skip test if no Python support.
3367
3368 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3369
3370 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3371
3372 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3373
3374 * gdb.python/py-parameter.exp: Update tests to the new Python
3375 parameter API. Add "no documentation" test. Add deprecated API
3376 backward compatibility test.
3377
3378 2011-03-09 Tom Tromey <tromey@redhat.com>
3379
3380 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3381 gdb_continue_to_end.
3382
3383 2011-03-09 Mark Kettenis <kettenis@gnu.org>
3384
3385 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3386 tabs.
3387
3388 2011-03-09 Tom Tromey <tromey@redhat.com>
3389
3390 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3391 parentheses.
3392 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3393 $command.
3394 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3395 argument to gdb_continue_to_end.
3396 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3397 argument to gdb_continue_to_end.
3398 * gdb.cp/annota3.exp: Fix regex.
3399 * gdb.cp/annota2.exp: Fix regex.
3400 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3401 gdb_continue_to_end.
3402 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3403 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3404 gdb_continue_to_end.
3405
3406 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 * gdb.server/ext-run.exp
3409 (load new file without any gdbserver inferior): New test.
3410
3411 2011-03-07 Tom Tromey <tromey@redhat.com>
3412
3413 * Makefile.in (TAGS): Rewrite.
3414
3415 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3418 initial commands echo. New match for `Found trace'. Anchor all the
3419 other matches. Anchor and match for `No trace frame found' the final
3420 match.
3421
3422 2011-03-07 Tom Tromey <tromey@redhat.com>
3423
3424 * Makefile.in (TAGS): New target.
3425
3426 2011-03-07 Tom Tromey <tromey@redhat.com>
3427
3428 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3429 change.
3430 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3431 change.
3432 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3433 exit message change.
3434 (skip_altivec_tests): Update for exit message change.
3435 (skip_vsx_tests): Likewise.
3436 (gdb_continue_to_end): Likewise. Add 'command' argument.
3437 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3438 * gdb.threads/tls.exp: Update for exit message change.
3439 * gdb.threads/thread-unwindonsignal.exp: Use
3440 gdb_continue_to_end.
3441 * gdb.threads/step.exp (step_it): Update for exit message change.
3442 (continue_all): Likewise.
3443 * gdb.threads/print-threads.exp (test_all_threads): Update for
3444 exit message change.
3445 * gdb.threads/interrupted-hand-call.exp: Use
3446 gdb_continue_to_end.
3447 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3448 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3449 gdb_continue_to_end.
3450 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3451 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3452 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3453 * gdb.cp/method.exp: Update for exit message change.
3454 * gdb.cp/mb-templates.exp: Update for exit message change.
3455 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3456 * gdb.cp/annota3.exp: Update for exit message change.
3457 * gdb.cp/annota2.exp: Update for exit message change.
3458 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3459 * gdb.base/term.exp: Update for exit message change.
3460 * gdb.base/step-test.exp (test_i): Update for exit message change.
3461 * gdb.base/sigstep.exp (advance): Update for exit message change.
3462 (advancei): Likewise.
3463 * gdb.base/siginfo.exp: Update for exit message change.
3464 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3465 * gdb.base/reread.exp: Use gdb_continue_to_end.
3466 * gdb.base/langs.exp: Use gdb_continue_to_end.
3467 * gdb.base/interrupt.exp: Update for exit message change.
3468 * gdb.base/gdb1555.exp: Update for exit message change.
3469 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3470 * gdb.base/ending-run.exp: Update for exit message change.
3471 * gdb.base/chng-syms.exp: Update for exit message change.
3472 * gdb.base/checkpoint.exp: Update for exit message change.
3473 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3474 gdb_continue_to_end.
3475 (test_catch_syscall_with_wrong_args): Likewise.
3476 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3477 * gdb.base/break-interp.exp (test_ld): Update for exit message
3478 change.
3479 * gdb.base/bang.exp: Update for exit message change.
3480 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3481 (do_call_attach_tests): Likewise.
3482 * gdb.base/a2-run.exp: Update for exit message change.
3483 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3484 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3485 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3486
3487 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3488
3489 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3490
3491 2011-03-03 Tom Tromey <tromey@redhat.com>
3492
3493 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3494 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3495 * gdb.hp/gdb.aCC/configure.ac: Remove.
3496 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3497 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3498 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3499 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3500 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3501 * gdb.hp/gdb.compat/configure.ac: Remove.
3502 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3503 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3504 * gdb.hp/gdb.defects/configure.ac: Remove.
3505 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3506 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3507 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3508 * gdb.hp/configure.ac: Remove.
3509 * gdb.hp/configure: Remove.
3510 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3511 substitution.
3512 (Makefile): Remove rule.
3513 * gdb.cell/configure.ac: Remove.
3514 * gdb.cell/configure: Remove.
3515 * gdb.stabs/Makefile.in (Makefile): Remove.
3516 (distclean): Don't remove config.status or config.log.
3517 * gdb.stabs/configure (Makefile): Remove.
3518 * gdb.stabs/configure.ac: Remove.
3519 * configure: Rebuild.
3520 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3521 Remove stabs- and cell-specific logic. Test for existence of
3522 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3523 subdirectories, gdb.cell, and and gdb.stabs.
3524 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3525
3526 2011-03-03 Joel Brobecker <brobecker@adacore.com>
3527
3528 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3529 end of buffer.
3530
3531 2011-03-02 Joel Brobecker <brobecker@adacore.com>
3532
3533 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3534 gdb_test when running a test where we expected no output back.
3535
3536 2011-02-28 Michael Snyder <msnyder@vmware.com>
3537
3538 * gdb.cp/overload.cc: Change initializer value to integer.
3539
3540 2011-02-27 Michael Snyder <msnyder@vmware.com>
3541
3542 * gdb.multi/base.exp: Add test for remove-inferiors.
3543
3544 2011-02-26 Joel Brobecker <brobecker@adacore.com>
3545
3546 * gdb.python/py-frame.exp: Simplify the initialization phase
3547 using prepare_for_testing.
3548
3549 2011-02-25 Michael Snyder <msnyder@vmware.com>
3550
3551 * gdb.multi/base.exp: Add tests for info inferiors with args.
3552
3553 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3556 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3557 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3558 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3559 asmfile3. Comment the STABS (#3) file compilation. Compile
3560 everything through assembler. Provide KFAIL for symtab/12497.
3561 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3562 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3563 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3564 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3565
3566 2011-02-24 Michael Snyder <msnyder@vmware.com>
3567
3568 * gdb.base/break.exp: Add tests for delete breakpoints using
3569 convenience variables and value history references.
3570
3571 2011-02-24 Michael Snyder <msnyder@vmware.com>
3572
3573 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3574 left behind in previous check-in.
3575
3576 2011-02-23 Michael Snyder <msnyder@vmware.com>
3577
3578 * gdb.base/break.exp: Add tests for "info break" with arguments.
3579 * gdb.trace/infotrace.exp: Update patterns for error and help.
3580 * gdb.base/completion.exp: Update pattern.
3581 * gdb.base/ena-dis-br.exp: Update pattern.
3582 * gdb.base/help.exp: Update patterns.
3583
3584 2011-02-23 Michael Snyder <msnyder@vmware.com>
3585
3586 * gdb.base/memattr.exp: New test.
3587 * gdb.base/memattr.c: Test load for memattr.exp.
3588
3589 2011-02-22 Doug Evans <dje@google.com>
3590
3591 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3592
3593 2011-02-22 Michael Snyder <msnyder@vmware.com>
3594
3595 * Makefile.in: Make more clean.
3596 * gdb.ada/Makefile.in: Ditto.
3597 * gdb.arch/Makefile.in: Ditto.
3598 * gdb.asm/Makefile.in: Ditto.
3599 * gdb.base/Makefile.in: Ditto.
3600 * gdb.cp/Makefile.in: Ditto.
3601 * gdb.dwarf2/Makefile.in: Ditto.
3602 * gdb.java/Makefile.in: Ditto.
3603 * gdb.mi/Makefile.in: Ditto.
3604 * gdb.modula2/Makefile.in: Ditto.
3605 * gdb.python/Makefile.in: Ditto.
3606 * gdb.server/Makefile.in: Ditto.
3607 * gdb.stabs/Makefile.in: Ditto.
3608 * gdb.threads/Makefile.in: Ditto.
3609 * gdb.trace/Makefile.in: Ditto.
3610
3611 2011-02-22 Michael Snyder <msnyder@vmware.com>
3612
3613 * gdb.threads/thread-find.exp: Add tests for bad input to
3614 info threads.
3615
3616 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3617
3618 * gdb.python/py-breakpoint.exp: Fix the expected output of
3619 one of the "maint info breakpoints" tests to accept the output
3620 generated on platforms that do not have hardware watchpoints.
3621
3622 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3623
3624 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3625 clean_restart. Be a little stricter in the expected output
3626 for one of the tests. Fix a typo in one of the comments.
3627
3628 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3629
3630 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3631 Delete variable binfile, no longer use. Add or modify test
3632 comments to make them unique.
3633
3634 2011-02-21 Michael Snyder <msnyder@vmware.com>
3635
3636 * Makefile.in: Update for make clean.
3637 * gdb.ada/Makefile.in: Ditto.
3638 * gdb.arch/Makefile.in: Ditto.
3639 * gdb.asm/Makefile.in: Ditto.
3640 * gdb.base/Makefile.in: Ditto.
3641 * gdb.cp/Makefile.in: Ditto.
3642 * gdb.dwarf2/Makefile.in: Ditto.
3643 * gdb.java/Makefile.in: Ditto.
3644 * gdb.mi/Makefile.in: Ditto.
3645 * gdb.modula2/Makefile.in: Ditto.
3646 * gdb.python/Makefile.in: Ditto.
3647 * gdb.server/Makefile.in: Ditto.
3648 * gdb.stabs/Makefile.in: Ditto.
3649 * gdb.threads/Makefile.in: Ditto.
3650 * gdb.trace/Makefile.in: Ditto.
3651
3652 2011-02-21 Michael Snyder <msnyder@vmware.com>
3653
3654 * gdb.threads/thread-find.exp: Update patterns for changes in
3655 output of "info threads" command.
3656
3657 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3658 Ulrich Weigand <uweigand@de.ibm.com>
3659
3660 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3661 (skip_hw_watchpoint_tests): Likewise.
3662 (skip_hw_watchpoint_multi_tests): Likewise.
3663
3664 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3665
3666 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3667 (skip_hw_watchpoint_tests): Likewise.
3668 (skip_hw_watchpoint_multi_tests): Likewise.
3669 (skip_hw_watchpoint_access_tests): Likewise.
3670
3671 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3672 * gdb.base/pr11022.exp: Likewise.
3673 * gdb.base/watch-read.exp: Likewise.
3674 * gdb.base/watch_thread_num.exp: Likewise.
3675 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3676 * gdb.base/watchpoint-hw.exp: Likewise.
3677 * gdb.base/watchpoint.exp: Likewise.
3678 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3679 * gdb.threads/watchthreads-reorder.exp: Likewise.
3680 * gdb.threads/watchthreads.exp: Likewise.
3681 * gdb.threads/watchthreads2.exp: Likewise.
3682
3683 2011-02-21 Joel Brobecker <brobecker@adacore.com>
3684
3685 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3686 the debugger is unable to find the array bounds.
3687
3688 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 * gdb.cp/typedef-operator.exp: New file.
3691 * gdb.cp/typedef-operator.cc: New file.
3692
3693 2011-02-17 Michael Snyder <msnyder@vmware.com>
3694
3695 * gdb.threads/thread-find.exp: Fix regular expressions.
3696
3697 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3698
3699 * gdb.ada/packed_array: Expand testcase to test printing of
3700 unconstrained packed array.
3701
3702 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3703
3704 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3705
3706 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3707
3708 * gdb.trace/collection.c (globalarr3): New global.
3709 (main): Initialize it before collecting, and and clear it
3710 afterwards.
3711 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3712 collecting with '{type} addr', where the addr expression is not an
3713 rvalue.
3714
3715 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
3716
3717 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3718 a bool variable. Expect correct OpenCL names for vector types. Use the
3719 uc3 variable name instead of referring to the uchar3 built-in type.
3720 Escape the asterisk at the half pointer test.
3721
3722 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3723
3724 * gdb.trace/collection.c (globalarr2): New global.
3725 (main): Initialize it before collecting, and and clear it
3726 afterwards.
3727 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3728 collecting overlapping memory ranges.
3729
3730 2011-02-15 Michael Snyder <msnyder@vmware.com>
3731
3732 * gdb.base/default.exp: Add tests for thread commands.
3733 * gdb.base/help.exp: Add tests for thread commands.
3734 * gdb.threads/thread-find.exp: New test for thread find command.
3735
3736 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
3737
3738 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3739
3740 2011-02-15 Yao Qi <yao@codesourcery.com>
3741
3742 PR tdep/12352
3743 * gdb.arch/arm-disp-step.S : New test for str instruction.
3744 * gdb.arch/arm-disp-step.exp : Likewise.
3745
3746 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3747
3748 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3749 "vector_register2_vr" test strings. Test the extended floating
3750 point registers (F32~F63).
3751 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3752 IBM XL C compiler. Make the test program use a register provided
3753 by the compiler for the lxvd2x instruction.
3754
3755 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3756
3757 * gdb.trace/unavailable.cc (class Base, class Middle, class
3758 Derived): New types.
3759 (derived_unavail, derived_partial, derived_whole): New globals.
3760 (virtual_partial): New global.
3761 (virtualp): Point at virtual_partial.
3762 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3763 related to unavailable vptr.
3764
3765 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3766
3767 * gdb.trace/unavailable.cc (a, b, c): New globals.
3768 (main): Set and clear them.
3769 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3770 `a' and `c', and check that `b' isn't collected, although `a' and
3771 `c' are.
3772
3773 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3774
3775 * gdb.trace/unavailable.cc (struct Virtual): New.
3776 (virtualp): New global pointer.
3777 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3778 printing a pointer to an object whose type has a vtable, with
3779 print object on.
3780
3781 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3782
3783 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3784 value repeat handles unavailableness.
3785
3786 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3787
3788 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3789 tests for building arrays from unavailable values, subscripting
3790 non-memory rvalue unvailable arrays, and accessing fields or
3791 baseclasses of non-lazy unavailable values,
3792 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3793 struct types.
3794 (g_smallstruct, g_smallstruct_b): New globals.
3795
3796 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3797
3798 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3799
3800 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3803 * gdb.cp/overload-const.exp: New file.
3804 * gdb.cp/overload-const.cc: New file.
3805
3806 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3807
3808 * gdb.opencl/callfuncs.cl: New file.
3809 * gdb.opencl/callfuncs.exp: New test.
3810 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3811
3812 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3813
3814 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3815 when computing result.
3816 * gdb.arch/altivec-abi.exp: Update expected results.
3817
3818 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3819
3820 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3821 * gdb.base/jit.exp: Likewise.
3822 * gdb.base/pie-execl.exp: Likewise.
3823 * gdb.base/solib-nodir.exp: Likewise.
3824 * gdb.base/solib-overlap.exp: Likewise.
3825
3826 2011-02-07 Pedro Alves <pedro@codesourcery.com>
3827
3828 * gdb.trace/collection.c (global_pieces): New.
3829 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3830 New procedure.
3831 (gdb_trace_collection_test): Call it.
3832
3833 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3834
3835 * gdb.python/py-evthreads.c: New file.
3836 * gdb.python/py-evthreads.exp: New file.
3837 * gdb.python/py-events.py: New file.
3838 * gdb.python/py-events.exp: New file.
3839 * gdb.python/py-events.c: New file.
3840
3841 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3842
3843 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3844
3845 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
3846
3847 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3848 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3849 boundary between two compilation units.
3850
3851 2011-02-02 Pedro Alves <pedro@codesourcery.com>
3852
3853 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3854 (Virtual): New structs.
3855 (virtual_o, virtual_middle_b): New globals.
3856 * gdb.cp/virtbase.exp: New tests.
3857
3858 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3859
3860 * gdb.base/jit.exp: New file.
3861 * gdb.base/jit-main.c: New file.
3862 * gdb.base/jit-solib.c: New file.
3863
3864 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3865
3866 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3867 proceed to initial kernel entry point.
3868 * gdb.opencl/datatypes.exp: Likewise.
3869 * gdb.opencl/operators.exp: Likewise.
3870 * gdb.opencl/vec_comps.exp: Likewise.
3871
3872 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3873
3874 * gdb.cp/nsnested.cc: New.
3875 * gdb.cp/nsnested.exp: New.
3876 * gdb.cp/nsnoimports.exp: New.
3877 * gdb.cp/nsnoimports.cc: New.
3878
3879 2011-01-31 Joel Brobecker <brobecker@adacore.com>
3880
3881 * gdb.base/interact.exp: Add extra tests that verify that
3882 the value of the interactive-mode setting does not change
3883 after the script is sourced.
3884
3885 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 * gdb.cp/noparam.exp: New file.
3888 * gdb.cp/noparam.cc: New file.
3889
3890 2011-01-28 Pedro Alves <pedro@codesourcery.com>
3891
3892 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3893 there's no stack or registers.
3894
3895 2011-01-26 Tom Tromey <tromey@redhat.com>
3896
3897 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3898 space before string output. Add test for "set print pretty off"
3899 case.
3900
3901 2011-01-25 Pedro Alves <pedro@codesourcery.com>
3902
3903 * gdb.base/frame-args.exp: Adjust.
3904 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3905 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3906 * gdb.dwarf2/pieces.exp: Adjust.
3907 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3908 * gdb.opt/inline-locals.exp: Adjust.
3909 * gdb.threads/fork-child-threads.exp: Adjust.
3910
3911 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
3912
3913 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3914 OpenCL kernel function. Add a comment as marker. Add address space
3915 qualifiers for the remaining program scope variables.
3916 * gdb.opencl/datatypes.cl: Likewise.
3917 * gdb.opencl/operators.cl: Likewise.
3918 * gdb.opencl/vec_comps.cl: Likewise.
3919 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3920 Add breakpoint at the marker comment.
3921 * gdb.opencl/datatypes.exp: Likewise.
3922 * gdb.opencl/operators.exp: Likewise.
3923 * gdb.opencl/vec_comps.exp: Likewise.
3924
3925 2011-01-24 Pedro Alves <pedro@codesourcery.com>
3926
3927 * gdb.base/printcmds.c (some_struct): New struct and instance.
3928 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3929 procedure.
3930 <global scope>: Call it.
3931
3932 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
3933
3934 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3935 argument to the gdb_compile_opencl_hostapp call.
3936
3937 2011-01-19 Yao Qi <yao@codesourcery.com>
3938
3939 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3940 positve list.
3941
3942 2011-01-19 Yao Qi <yao@codesourcery.com>
3943
3944 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3945 canonical form.
3946 Remove "xscale-*-*"
3947 * gdb.xml/tdesc-regs.exp: Likewise.
3948 * gdb.python/py-section-script.exp: Replace ARM target triplet
3949 with canonical form.
3950 Match arm*-*-symbianelf*.
3951 * gdb.base/dup-sect.exp: Likewise.
3952 * lib/dwarf.exp: New.
3953 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3954 dwarf2_support.
3955 * gdb.dwarf2/dup-psym.exp: Likewise.
3956 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3957 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3958 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3959 * gdb.dwarf2/dw2-basic.exp: Likewise.
3960 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3961 * gdb.dwarf2/dw2-const.exp: Likewise.
3962 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3963 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3964 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3965 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3966 * gdb.dwarf2/dw2-filename.exp: Likewise.
3967 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3968 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3969 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3970 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3971 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3972 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3973 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3974 * gdb.dwarf2/dw2-producer.exp: Likewise.
3975 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3976 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3977 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3978 * gdb.dwarf2/dw2-strp.exp: Likewise.
3979 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3980 * gdb.dwarf2/implptr.exp: Likewise.
3981 * gdb.dwarf2/mac-fileno.exp: Likewise.
3982 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3983 * gdb.dwarf2/pieces.exp: Likewise.
3984 * gdb.dwarf2/pr11465.exp: Likewise.
3985 * gdb.dwarf2/valop.exp: Likewise.
3986 * gdb.dwarf2/watch-notconst.exp: Likewise.
3987 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3988
3989 2011-01-19 Tom Tromey <tromey@redhat.com>
3990
3991 * gdb.python/py-infthread.exp: Add thread tests.
3992
3993 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3994
3995 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3996
3997 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3998
3999 * gdb.ada/widewide: New testcase.
4000
4001 2011-01-13 Joel Brobecker <brobecker@adacore.com>
4002
4003 * gdb.base/interact.exp: New testcase.
4004
4005 2011-01-12 Tom Tromey <tromey@redhat.com>
4006
4007 * gdb.mi/gdb2549.exp: Update for error message changes.
4008 * gdb.mi/mi-cli.exp: Likewise.
4009 * gdb.mi/mi-disassemble.exp: Likewise.
4010 * gdb.mi/mi-pthreads.exp: Likewise.
4011 * gdb.mi/mi-regs.exp: Likewise.
4012 * gdb.mi/mi-stack.exp: Likewise.
4013 * gdb.mi/mi-var-block.exp: Likewise.
4014 * gdb.mi/mi-var-cmd.exp: Likewise.
4015 * gdb.mi/mi2-cli.exp: Likewise.
4016 * gdb.mi/mi2-disassemble.exp: Likewise.
4017 * gdb.mi/mi2-pthreads.exp: Likewise.
4018 * gdb.mi/mi2-regs.exp: Likewise.
4019 * gdb.mi/mi2-stack.exp: Likewise.
4020 * gdb.mi/mi2-var-block.exp: Likewise.
4021 * gdb.mi/mi2-var-cmd.exp: Likewise.
4022
4023 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
4024 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 PR fortran/11104 and DWARF unbound arrays detection.
4027 * gdb.fortran/multi-dim.exp: New file.
4028 * gdb.fortran/multi-dim.f90: New file.
4029
4030 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
4031
4032 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4033 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4034 add new tests for opcode dumping.
4035
4036 2011-01-11 Tom Tromey <tromey@redhat.com>
4037
4038 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4039
4040 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4041
4042 Convert hardware watchpoints to use breakpoint_ops.
4043 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4044 type is not supported.
4045 * gdb.base/foll-fork.exp: Likewise.
4046 * gdb.base/foll-vfork.exp: Likewise.
4047
4048 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4049
4050 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4051 Use load_lib gdb-python.exp.
4052 * gdb.python/python.exp: Ditto.
4053 * gdb.python/py-function.exp: Ditto.
4054
4055 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4056
4057 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4058
4059 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 * configure: Regenerate.
4062
4063 2011-01-06 Tom Tromey <tromey@redhat.com>
4064
4065 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4066
4067 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4068
4069 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4070 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4071 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4072 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4073 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4074 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4075 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4076 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4077 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4078 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4079 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4080 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4081 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4082 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4083 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4084 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4085 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4086 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4087 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4088 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4089 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4090 gdb.ada/uninitialized_vars.exp,
4091 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4092 Simplify by using clean_restart.
4093
4094 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4095
4096 Add marker to be used as anchor for inserting breakpoints.
4097 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4098 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4099 Likewise.
4100
4101 Remove uses of gdb_start_cmd.
4102 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4103 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4104
4105 Do not run testcase if testing with GDBserver.
4106 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4107 if testing with GDBserver.
4108
4109 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4110
4111 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4112 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4113 copyright header.
4114
4115 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4116
4117 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4118 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4119 testsuite/gdb.fortran/complex.f,
4120 testsuite/gdb.fortran/derived-type.f90,
4121 testsuite/gdb.fortran/library-module-lib.f90,
4122 testsuite/gdb.fortran/library-module-main.f90,
4123 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4124 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4125 Copyright year update.
4126
4127 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4128
4129 * gdb.base/langs1.f: Add copyright header.
4130
4131 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4132
4133 * gdb.base/morestack.exp: New file.
4134 * gdb.base/morestack.c: New file.
4135
4136 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4137
4138 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4139
4140 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4141
4142 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4143 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4144
4145 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4146
4147 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4148
4149 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4150
4151 * gdb.threads/tls.exp: Fix typo.
4152
4153 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4154 * gdb.threads/execl.exp: Update.
4155
4156 2010-12-23 Yao Qi <yao@codesourcery.com>
4157
4158 * gdb.arch/arm-disp-step.exp: New.
4159 * gdb.arch/arm-disp-step.S: New.
4160
4161 2010-12-21 Tom Tromey <tromey@redhat.com>
4162
4163 * gdb.threads/execl.exp: Update.
4164 * gdb.threads/linux-dp.exp: Update.
4165 * gdb.threads/manythreads.exp: Update.
4166 * gdb.threads/tls.exp: Update.
4167
4168 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4169
4170 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4171 (NextOverThrowDerivates) <resumebpt>: New.
4172 (resumebpt_test): New.
4173 (main): Call resumebpt_test.
4174 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4175
4176 2010-12-12 Stan Shebs <stan@codesourcery.com>
4177
4178 * gdb.trace/tsv.exp: Test print command on trace state variables.
4179
4180 2010-12-09 Tom Tromey <tromey@redhat.com>
4181
4182 * gdb.base/interp.exp: Add regression test.
4183
4184 2010-12-09 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.java/jnpe.java: New file.
4187 * gdb.java/jnpe.exp: New file.
4188 * gdb.cp/nextoverthrow.exp: New file.
4189 * gdb.cp/nextoverthrow.cc: New file.
4190
4191 2010-12-07 Doug Evans <dje@google.com>
4192
4193 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4194 of data-directory.
4195 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4196 updated.
4197 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4198
4199 2010-11-29 Michael Snyder <msnyder@vmware.com>
4200
4201 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4202 * gdb.base/call-sc.exp: Ditto.
4203 * gdb.base/finish.exp: Ditto.
4204 * gdb.base/return.exp: Ditto.
4205 * gdb.base/return2.exp: Ditto.
4206
4207 2010-11-30 Doug Evans <dje@google.com>
4208
4209 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4210 (gdb_expect_list): Fix spelling errors in comments.
4211 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4212 send_gdb/gdb_expect_list where applicable.
4213 * gdb.base/call-ar-st.exp: Ditto.
4214 * gdb.base/funcargs.exp: Ditto.
4215 * gdb.base/gcore.exp: Ditto.
4216 * gdb.base/page.exp: Ditto.
4217 * gdb.base/sigaltstack.exp: Ditto.
4218 * gdb.base/siginfo.exp: Ditto.
4219 * gdb.base/sigstep.exp: Ditto.
4220 * gdb.base/trace-commands.exp: Ditto.
4221
4222 2010-11-29 Doug Evans <dje@google.com>
4223
4224 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4225 printer-name;subprinter-name.
4226
4227 2010-11-29 Tom Tromey <tromey@redhat.com>
4228
4229 * gdb.dwarf2/implptr.exp: New file.
4230 * gdb.dwarf2/implptr.c: New file.
4231 * gdb.dwarf2/implptr.S: New file.
4232
4233 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4234
4235 PR python/12199
4236
4237 * gdb.python/py-breakpoint.exp: Test the delete method.
4238
4239 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4240
4241 Fix step_resume_breakpoint unsaved during an infcall.
4242 * gdb.base/step-resume-infcall.exp: New file.
4243 * gdb.base/step-resume-infcall.c: New file.
4244
4245 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4246
4247 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4248
4249 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4250
4251 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4252 on ppc64's symbols; "finish" and "return" commands must accept to
4253 show the caller line again as well as the line after.
4254 * gdb.asm/powerpc64.inc: New file.
4255
4256 2010-11-23 Doug Evans <dje@google.com>
4257
4258 * lib/gdb.exp (gdb_test_sequence): New function.
4259 (gdb_expect_list): Add verbose -log call for each pattern.
4260 * gdb.base/signals.exp (test_handle_all_print): Call it.
4261 Reduce timeout increment from 6 minutes to 1 minute.
4262 * gdb.server/ext-run.exp: Call it.
4263
4264 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4265
4266 PR python/12212
4267
4268 * gdb.python/python.exp: Check that selected_thread raises an
4269 error when no inferior is loaded.
4270
4271 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4272
4273 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4274 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4275
4276 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4277
4278 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4279 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4280
4281 2010-11-18 Doug Evans <dje@google.com>
4282
4283 * gdb.server/ext-run.exp: Fix intermittent failures.
4284
4285 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4286
4287 * gdb.stabs/gdb11479.exp: Use runto_main.
4288
4289 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4290
4291 * gdb.base/break-entry.exp: Skip if using a stub.
4292
4293 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4294
4295 * gdb.python/py-inferior.exp: Pack values in target endianness.
4296
4297 2010-11-12 Tom Tromey <tromey@redhat.com>
4298
4299 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4300 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4301 MemoryError.
4302 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4303 type.
4304 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4305 MemoryError.
4306 (test_subscript_regression): Update exception type.
4307
4308 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4309
4310 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4311 breakpoint tests.
4312
4313 2010-11-09 Pedro Alves <pedro@codesourcery.com>
4314
4315 * gdb.base/watchpoint.exp: Test "watch -location" with an
4316 innacessible location.
4317
4318 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
4319 Luis Machado <luisgpm@br.ibm.com>
4320
4321 * gdb.base/maint.exp: Expect "." prefix.
4322 * gdb.base/nodebug.exp: Expect "." Likewise.
4323 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4324 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4325 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4326 POWER server processors.
4327
4328 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
4329 Luis Machado <luisgpm@br.ibm.com>
4330
4331 * gdb.base/break-entry.exp: convert entry point for
4332 ppc64 and expect leading `.' on ppc64's symbols
4333
4334 2010-11-05 Doug Evans <dje@google.com>
4335
4336 * gdb.base/help.exp: Update expected output.
4337 * gdb.python/py-param.exp: Delete, contents moved to ...
4338 * gdb.python/py-parameter.exp: ... here. New file.
4339 Add test for gdb.parameter ("directories").
4340
4341 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
4342
4343 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4344 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4345 * configure: Regenerate.
4346 * gdb.opencl/Makefile.in: New File.
4347 * gdb.opencl/datatypes.exp: Likewise.
4348 * gdb.opencl/datatypes.cl: Likewise.
4349 * gdb.opencl/operators.exp: Likewise.
4350 * gdb.opencl/operators.cl: Likewise.
4351 * gdb.opencl/vec_comps.exp: Likewise.
4352 * gdb.opencl/vec_comps.cl: Likewise.
4353 * gdb.opencl/convs_casts.exp: Likewise.
4354 * gdb.opencl/convs_casts.cl: Likewise.
4355 * lib/opencl.exp: Likewise.
4356 * lib/opencl_hostapp.c: Likewise.
4357 * lib/opencl_kernel.cl: Likewise.
4358 * lib/cl_util.c: Likewise.
4359 * lib/cl_util.c: Likewise.
4360 * gdb.base/default.exp (set language): Add "opencl" to the list of
4361 languages.
4362
4363 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4364
4365 * gdb.cp/overload.exp: Added test for inheritance overload.
4366 * gdb.cp/overload.cc: Ditto.
4367 * gdb.cp/oranking.exp: Removed releveant kfails.
4368
4369 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4370 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4373 check test_compiler_info.
4374
4375 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4376
4377 * gdb.base/gnu_vector.exp: Adjust expect messages.
4378
4379 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4380
4381 * gdb.base/gnu_vector.exp: Add unary operator tests.
4382
4383 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4384
4385 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4386
4387 2010-11-02 Doug Evans <dje@google.com>
4388
4389 * gdb.python/py-pp-maint.c: New file.
4390 * gdb.python/py-pp-maint.exp: New file.
4391 * gdb.python/py-pp-maint.py: New file.
4392
4393 2010-11-02 Tom Tromey <tromey@redhat.com>
4394
4395 * gdb.base/default.exp: Remove "scheme" from language list.
4396
4397 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4398
4399 Revert:
4400 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4401 * gdb.threads/sigstep-threads.exp: New file.
4402 * gdb.threads/sigstep-threads.c: New file.
4403
4404 2010-10-20 Michael Snyder <msnyder@vmware.com>
4405
4406 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4407
4408 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4409
4410 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4411 Skip test completely if gdb,no_hardware_watchpoints.
4412
4413 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4414
4415 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4416 strict, but do not check for any particular function name within libc.
4417
4418 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4419
4420 * gdb.cp/smartp.exp: New test.
4421 * gdb.cp/smartp.cc : New test.
4422
4423 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4424
4425 * gdb.cp/converts.exp: Test pointer to bool conversion.
4426 Test pointer to long conversion.
4427 * gdb.cp/oranking.exp: Removed relevant kfail.
4428
4429 2010-10-18 Tom Tromey <tromey@redhat.com>
4430
4431 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4432 argument to lazy_string.
4433 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4434 (pp_ls.to_string): Use it.
4435 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4436 Add "estring2" local.
4437
4438 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4439
4440 Fix s390x compatibility.
4441 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4442 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4443
4444 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4445
4446 * gdb.threads/sigstep-threads.exp: New file.
4447 * gdb.threads/sigstep-threads.c: New file.
4448
4449 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 * gdb.base/pie-execl.exp: New file.
4452 * gdb.base/pie-execl.c: New file.
4453
4454 2010-10-13 Doug Evans <dje@google.com>
4455 Jan Kratochvil <jan.kratochvil@redhat.com>
4456
4457 PR exp/12117
4458 * gdb.cp/ptype-cv-cp.cc: New file.
4459 * gdb.cp/ptype-cv-cp.exp: New file.
4460
4461 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4462
4463 * gdb.cp/converts.cc: New test program.
4464 * gdb.cp/converts.exp: New test.
4465 * gdb.cp/overload.exp: Added test for void* vs int*.
4466 * gdb.cp/overload.exp: Ditto.
4467 * gdb.cp/oranking.exp: Removed related kfail.
4468
4469 2010-10-13 Doug Evans <dje@google.com>
4470
4471 * lib/gdb-python.exp (gdb_check_python_config): New function.
4472 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4473 * gdb.python/lib-types.cc: New file.
4474 * gdb.python/lib-types.exp: New file.
4475
4476 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4477
4478 * gdb.python/py-error.exp: New file.
4479 * gdb.python/py-error.py: New file.
4480
4481 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4484 gdb_test_multiple.
4485
4486 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4487
4488 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4489 * gdb.base/prelink.exp: Likewise.
4490 * gdb.base/solib-nodir.exp: Likewise.
4491 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4492 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4493 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4494
4495 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4496
4497 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4498 for the "info files" test to avoid timeouts on slow machines.
4499
4500 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4501
4502 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4503 (main): Make openlib dummy call.
4504
4505 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4506
4507 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4508 * break-interp.exp (reach): Move the core body ...
4509 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4510 (test_ld): Provide always real argument, even to the linker. Replace
4511 dl_main by _dl_debug_state.
4512
4513 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4514
4515 Fix results of prelinked PIEs on ppc*.
4516 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4517 Accept also DISPLACEMENT "PRESENT".
4518 (main): Replace "ZERO" displacements by "PRESENT".
4519
4520 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4521
4522 * gdb.cp/oranking.exp: New test.
4523 * gdb.cp/oranking.cc: New test program.
4524
4525 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
4526
4527 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4528 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4529
4530 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4531
4532 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4533 lush, lynx) New constant.
4534 * gdb.base/constvars.exp: Test const array types.
4535 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4536
4537 2010-10-06 Doug Evans <dje@google.com>
4538
4539 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4540 of syscall staging area.
4541
4542 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4543
4544 * gdb.base/gnu_vector.c: Add variable c4.
4545 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4546 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4547
4548 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4549
4550 * gdb.arch/altivec-abi.exp: Fix a typo.
4551
4552 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4553
4554 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4555 to match a thread ID.
4556
4557 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 Fix s390x testcase compatibility.
4560 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4561
4562 2010-10-01 Doug Evans <dje@google.com>
4563
4564 * lib/gdb-python.exp: New file.
4565 * gdb.python/py-block.exp: Use it.
4566 * gdb.python/py-breakpoint.exp: Ditto.
4567 * gdb.python/py-frame.exp: Ditto.
4568 * gdb.python/py-inferior.exp: Ditto.
4569 * gdb.python/py-param.exp: Ditto.
4570 * gdb.python/py-prettyprint.exp: Ditto.
4571 * gdb.python/py-shared.exp: Ditto.
4572 * gdb.python/py-symbol.exp: Ditto.
4573 * gdb.python/py-symtab.exp: Ditto.
4574 * gdb.python/py-type.exp: Ditto.
4575 * gdb.python/py-value.exp: Ditto.
4576 * gdb.python/python.exp: Ditto.
4577
4578 2010-09-30 Tom Tromey <tromey@redhat.com>
4579
4580 * gdb.base/anon.exp: New file.
4581 * gdb.base/anon.c: New file.
4582
4583 2010-09-30 Tom Tromey <tromey@redhat.com>
4584
4585 * gdb.base/completion.exp: Test completion through anonymous
4586 union.
4587 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4588
4589 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4590
4591 Fix printing parameters of inlined functions.
4592 * gdb.dwarf2/dw2-inline-param.exp: New file.
4593 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4594 * gdb.dwarf2/dw2-inline-param.S: New file.
4595
4596 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4597
4598 PR corefiles/12071.
4599 * gdb.base/corefile.exp (quit with a process, no question: load core)
4600 (quit with a core file): New tests.
4601
4602 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4603
4604 Fix GDB crash on inferior calls with self-referencing classes.
4605 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4606 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4607 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4608
4609 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4610
4611 Fix lost siginfo_t for inferior calls.
4612 * gdb.base/siginfo-infcall.exp: New file.
4613 * gdb.base/siginfo-infcall.c: New file.
4614
4615 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4616
4617 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4618
4619 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4620
4621 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4622 New test.
4623 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4624
4625 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4626
4627 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4628 type of our const type.
4629
4630 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4631
4632 * gdb.cp/pr12028.cc: New.
4633 * gdb.cp/pr12028.exp: New.
4634
4635 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4636
4637 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4638
4639 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
4640 Jan Kratochvil <jan.kratochvil@redhat.com>
4641
4642 PR mi/11407
4643 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4644 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4645 * gdb.mi/dw2-ref-missing-frame.S New File.
4646 * gdb.mi/dw2-ref-missing-frame.exp New File.
4647
4648 2010-09-14 Tom Tromey <tromey@redhat.com>
4649
4650 PR symtab/8399:
4651 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4652
4653 2010-09-14 Tom Tromey <tromey@redhat.com>
4654
4655 PR exp/11803:
4656 * gdb.threads/tls.exp: Use C++.
4657 (check_thread_local): Use K::another_thread_local.
4658 * gdb.threads/tls.c (class K): New.
4659 (another_thread_local): Now a member of K.
4660 (spin): Update. No longer K&R C.
4661
4662 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4663
4664 * gdb.cp/koenig.cc: created class for testing member lookup.
4665 * gdb.cp/koenig.exp: Added test for member lookup.
4666
4667 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 Fix false FAILs on sourcetree topdir directory containing "kill".
4670 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4671 source line matching regexp.
4672
4673 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4674
4675 * gdb.python/python.exp (set height 0, collect help from uiout)
4676 (verify help to uiout): New tests.
4677
4678 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4679
4680 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4681 is_lp64_target to check 64bit target.
4682
4683 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4684
4685 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4686 (test_ld) <powerpc64-*>: New.
4687
4688 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4689
4690 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4691
4692 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4693
4694 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4695 (FunctionArg::method): New function.
4696 (empty, arg): New variables.
4697 (main): Call arg.method.
4698 * gdb.cp/templates.exp (test_template_args): New function.
4699 (do_tests): Call it.
4700
4701 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4702
4703 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4704 of "next" to proceed over pthread_exit call.
4705
4706 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4707
4708 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4709 "maint print statistics" output to prevent expect timeouts.
4710
4711 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4712
4713 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4714 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4715 (test_float_rejected): ... here.
4716 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4717 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4718 (test_float_rejected): ... here.
4719 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4720 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4721 (test_float_rejected): ... here.
4722 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4723 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4724 (test_float_rejected): ... here.
4725
4726 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4727
4728 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4729 before disabling hardware watchpoints.
4730 (test_inaccessible_watchpoint): Check that hardware watchpoints
4731 are used. Test for watchpoints on a constant address.
4732
4733 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 * gdb.base/ui-redirect.exp: New file.
4736
4737 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4738 Joel Brobecker <brobecker@adacore.com>
4739
4740 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4741
4742 2010-08-31 Doug Evans <dje@google.com>
4743
4744 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4745
4746 2010-08-30 Tom Tromey <tromey@redhat.com>
4747
4748 PR python/11792:
4749 * gdb.python/py-value.exp (test_subscript_regression): Add
4750 dynamic_type test.
4751
4752 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4753
4754 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4755 instead of running to main. Do not test the main function.
4756 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4757 Add new main.
4758
4759 2010-08-26 Pedro Alves <pedro@codesourcery.com>
4760
4761 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4762 one test.
4763
4764 2010-08-24 Doug Evans <dje@google.com>
4765
4766 PR symtab/11942
4767 * gdb.dwarf2/dw4-sig-types.cc: New file.
4768 * gdb.dwarf2/dw4-sig-types.h: New file.
4769 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4770 * gdb.dwarf2/dw4-sig-types.exp: New file.
4771
4772 2010-08-23 Tom Tromey <tromey@redhat.com>
4773
4774 PR python/11145:
4775 * gdb.python/py-value.c (Base, Derived): New types.
4776 (base): New global.
4777 * gdb.python/py-value.exp (test_subscript_regression): Add
4778 dynamic_cast test.
4779
4780 2010-08-23 Tom Tromey <tromey@redhat.com>
4781
4782 PR python/10676:
4783 * gdb.python/py-type.exp (test_fields): Add tests for type
4784 equality.
4785
4786 2010-08-23 Tom Tromey <tromey@redhat.com>
4787
4788 PR python/11915:
4789 * gdb.python/py-type.exp (test_fields): Add tests for array.
4790
4791 2010-08-23 Keith Seitz <keiths@redhat.com>
4792
4793 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4794 have any children. Create a new abbrev for it.
4795 Add missing terminal sequence to .debug_abbrev.
4796
4797 2010-08-20 Keith Seitz <keiths@redhat.com>
4798
4799 PR symtab/11465:
4800 * gdb.dwarf2/pr11465.exp: New test.
4801 * gdb.dwarf2/pr11465.S: New file.
4802 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4803 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4804
4805 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4806
4807 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4808 registers. Update data sets with the new v2_double element in the
4809 VSX register union. Add vector_register3_vr data set for the AltiVec
4810 registers. Use gdb_test_no_output instead of send_gdb.
4811
4812 2010-08-19 Pedro Alves <pedro@codesourcery.com>
4813
4814 * gdb.python/py-shared.exp: New file, factored out from
4815 python.exp.
4816 * gdb.python/py-shared.c: New file.
4817 * gdb.python/py-shared-sl.c: New file.
4818 * gdb.python/python-1.c: New file.
4819 * gdb.python/python-sl.c: Delete.
4820 * gdb.python/python.c: Mention python-1.c.
4821 * gdb.python/python.exp: Move shared library tests to
4822 py-shared.exp.
4823 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4824 (MISCELLANEOUS): New.
4825 (clean mostlyclean): Also remove $MISCELLANEOUS.
4826
4827 2010-08-19 Doug Evans <dje@google.com>
4828
4829 PR exp/11926
4830 * gdb.base/printcmds.exp (test_float_accepted): New function.
4831 Move existing float tests there. Add tests for floats with suffixes.
4832 (test_float_rejected): New function.
4833 * gdb.java/jv-print.exp (test_float_accepted): New function.
4834 (test_float_rejected): New function.
4835 * gdb.objc/print.exp: New file.
4836 * gdb.pascal/print.exp: New file.
4837 * lib/objc.exp: New file.
4838
4839 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4840
4841 * gdb.base/default.exp (info set): Avoid full buffer error and force
4842 reading up to final gdb prompt.
4843 (show): Likewise.
4844
4845 2010-08-18 Tom Tromey <tromey@redhat.com>
4846
4847 PR symtab/11919:
4848 * gdb.base/completion.exp: Add test.
4849
4850 2010-08-18 Doug Evans <dje@google.com>
4851
4852 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4853 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4854 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4855 Simplify, early exit if runto_main fails.
4856 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4857 (set_lang_fortran): Moved to lib/fortran.exp.
4858 * gdb.fortran/types.exp: load_lib fortran.exp.
4859 (set_lang_fortran): Moved to lib/fortran.exp.
4860 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4861 * gdb.java/jprint.exp (set_lang_java): Ditto.
4862 * gdb.java/jv-exp.exp: load_lib java.exp.
4863 If set_lang_java fails, issue a warning instead of failure to be
4864 consistent with other set_lang_foo uses.
4865 (set_lang_java): Moved to lib/java.exp.
4866 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4867 If set_lang_java fails, issue a warning instead of failure to be
4868 consistent with other set_lang_foo uses.
4869 * gdb.pascal/types.exp: load_lib pascal.exp.
4870 (set_lang_pascal): Moved to lib/pascal.exp.
4871 * lib/fortran.exp: New file.
4872 * lib/java.exp (set_lang_java): New function.
4873 * lib/pascal.exp (set_lang_pascal): New function.
4874
4875 2010-08-18 Yao Qi <yao@codesourcery.com
4876
4877 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4878 func_nofb_start and func_loopfb_start, so that address of functions
4879 is equal to these labels on Thumb.
4880
4881 2010-08-18 Yao Qi <yao@codesourcery.com>
4882
4883 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4884 to reflect latest c source file.
4885
4886 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4887
4888 * gdb.cp/infcall-dlopen.exp: New file.
4889 * gdb.cp/infcall-dlopen.cc: New file.
4890 * gdb.cp/infcall-dlopen-lib.cc: New file.
4891
4892 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4893 Pedro Alves <pedro@codesourcery.com>
4894
4895 PR breakpoints/11371
4896
4897 * gdb.base/watch-cond-infcall.exp: New file.
4898 * gdb.base/watch-cond-infcall.c: New file.
4899
4900 2010-08-16 Tom Tromey <tromey@redhat.com>
4901
4902 * gdb.base/help.exp: Update.
4903 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4904 watchpoint.
4905 (test_watch_location): New proc.
4906 (test_watchpoint_in_big_blob): Delete watchpoint.
4907 * gdb.base/watchpoint.c (func5): New function.
4908 (main): Call it.
4909
4910 2010-08-16 Doug Evans <dje@google.com>
4911
4912 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4913
4914 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4915
4916 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4917 tests.
4918
4919 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
4920
4921 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4922 * gdb.base/gnu_vector.c: New File.
4923 * gdb.base/gnu_vector.exp: Likewise.
4924
4925 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4926
4927 * gdb.python/python.c: New File.
4928 * gdb.python/python-sl.c: New File.
4929 * gdb.python/python.exp: Test solib_address and decode_line
4930 * functions.
4931
4932 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4933
4934 * gdb.python/python.exp (show height, set height 10)
4935 (verify pagination beforehand, verify pagination beforehand: q)
4936 (gdb.execute does not page, verify pagination afterwards)
4937 (verify pagination afterwards: q): New.
4938
4939 2010-08-02 Doug Evans <dje@google.com>
4940
4941 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4942 because of an older gcc, change test2
4943 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4944 to unsupported.
4945
4946 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
4947
4948 * gdb.base/break-always.exp: Do not expect full paths to file
4949 names.
4950 * gdb.base/commands.exp: Likewise.
4951
4952 2010-07-30 Doug Evans <dje@google.com>
4953
4954 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4955 xfail them when run with older gccs.
4956
4957 * lib/gdb.exp (build_executable): Forward "c++" option to
4958 get_compiler_info.
4959
4960 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4961 "python print ttype.template_argument(1)" and
4962 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4963 if using gcc 4.4 or earlier.
4964
4965 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4966 attach-to-debugger handling.
4967
4968 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4969
4970 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4971 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4972 (main): Use copyreloc.
4973 * gdb.base/prelink.exp (split debug of executable)
4974 (.dynbss vs. .bss address shift): New tests.
4975
4976 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4977
4978 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4979 in gdb_test_multiple.
4980
4981 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4982
4983 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4984 environment.
4985
4986 2010-07-28 Tom Tromey <tromey@redhat.com>
4987
4988 PR python/11060:
4989 * gdb.python/py-type.c (Temargs): New template.
4990 (temvar): New variable.
4991 * gdb.python/py-type.exp (test_template): New proc.
4992
4993 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4994
4995 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4996 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4997
4998 2010-07-28 Tom Tromey <tromey@redhat.com>
4999
5000 PR c++/9946:
5001 * gdb.cp/temargs.exp: New file.
5002 * gdb.cp/temargs.cc: New file.
5003
5004 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5005
5006 * gdb.base/help.exp (help disassemble): Update the content.
5007
5008 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.threads/ia64-sigill.exp: New file.
5011 * gdb.threads/ia64-sigill.c: New file.
5012
5013 2010-07-27 Tom Tromey <tromey@redhat.com>
5014
5015 * gdb.opt/inline-cmds.c (ATTR): New define.
5016 (func1): Use it.
5017 (func2): Likewise.
5018 (func3): Likewise.
5019 (outer_inline1): Likewise.
5020 (outer_inline2): Likewise.
5021 * gdb.opt/inline-bt.c (ATTR): New define.
5022 (func1): Use it.
5023 (func2): Likewise.
5024 * gdb.opt/inline-locals.c (ATTR): New define.
5025 (func1): Use it.
5026 (func2): Likewise.
5027
5028 2010-07-27 Tom Tromey <tromey@redhat.com>
5029
5030 * gdb.stabs/gdb11479.c (hack): New function.
5031 (test): Use it.
5032 (test2): Use it.
5033 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5034 (int32_search_buf, int64_search_buf): No longer static.
5035 (x): Remove.
5036 * gdb.base/relocate.c (hack): New function.
5037
5038 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5039
5040 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5041 * gdb.python/py-value.c (func1): New function.
5042 (func2): Likewise.
5043
5044 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
5045
5046 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5047 as not to clash with .data section.
5048
5049 2010-07-26 Jerome Guitton <guitton@adacore.com>
5050
5051 * gdb.base/code_elim.exp: New file.
5052 * gdb.base/code_elim1.c: New file.
5053 * gdb.base/code_elim2.c: New file.
5054
5055 2010-07-21 Pedro Alves <pedro@codesourcery.com>
5056
5057 PR symtab/11827
5058
5059 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5060 (some_volatile_enum): New variable.
5061 * gdb.base/printcmds.exp (test_print_enums): New.
5062 <top level>: Call it.
5063
5064 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5065
5066 * gdb.cp/fpointer.cc: New test.
5067 * gdb.cp/fpointer.exp: New test.
5068
5069 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5070
5071 * gdb.base/solib-nodir.exp: New file.
5072 * lib/gdb.exp (runto): New case for a GDB internal error.
5073
5074 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5075 Ulrich Weigand <uweigand@de.ibm.com>
5076 Tom Tromey <tromey@redhat.com>
5077
5078 * gdb.base/charset-malloc.c: New file.
5079 * gdb.base/charset.c (malloc_stub): New prototype.
5080 (main): Call it instead of malloc itself.
5081 * gdb.base/charset.exp: Use only prepare_for_testing.
5082 (binfile): Remove the variable.
5083
5084 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5085
5086 Make core files the process_stratum.
5087 * gdb.base/corefile.exp (run: load core again)
5088 (run: sanity check we see the core file, run: with core)
5089 (run: core file is cleared, attach: load core again)
5090 (attach: sanity check we see the core file, attach: with core)
5091 (attach: core file is cleared): New tests.
5092 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5093
5094 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
5095
5096 * gdb.arch/altivec-abi.exp: New tests.
5097
5098 2010-07-13 Tom Tromey <tromey@redhat.com>
5099
5100 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5101 (main): Use it.
5102 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5103
5104 2010-07-13 Tom Tromey <tromey@redhat.com>
5105
5106 * gdb.base/label.exp: New file.
5107 * gdb.base/label.c: New file.
5108
5109 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5110 H.J. Lu <hongjiu.lu@intel.com>
5111
5112 * lib/gdb.exp (is_ilp32_target): New.
5113 (is_lp64_target): Likewise.
5114
5115 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5116 target.
5117 * gdb.arch/amd64-disp-step.exp: Likewise.
5118 * gdb.arch/amd64-dword.exp: Likewise.
5119 * gdb.arch/amd64-i386-address.exp: Likewise.
5120 * gdb.arch/amd64-word.exp: Likewise.
5121
5122 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5123 target.
5124 * gdb.arch/i386-bp_permanent.exp: Likewise.
5125 * gdb.arch/i386-byte.exp: Likewise.
5126 * gdb.arch/i386-disp-step.exp: Likewise.
5127 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5128 * gdb.arch/i386-prologue.exp: Likewise.
5129 * gdb.arch/i386-size-overlap.exp: Likewise.
5130 * gdb.arch/i386-size.exp: Likewise.
5131 * gdb.arch/i386-sse.exp: Likewise.
5132 * gdb.arch/i386-unwind.exp: Likewise.
5133 * gdb.arch/i386-word.exp: Likewise.
5134
5135 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5136 test only when building 64-bit executables. Do not hard-code
5137 -m64 option.
5138
5139 2010-07-07 Doug Evans <dje@google.com>
5140
5141 * lib/gdb.exp (gdb_test_list_exact): New function.
5142 * gdb.base/default.exp (show convenience): Call it, add tests for
5143 $_sdata = void, $_thread = 0.
5144
5145 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5146 Joel Brobecker <brobecker@adacore.com>
5147
5148 Fix re-run of PIE executable, PR shlibs/11776.
5149 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5150 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5151 and re-"run" of the inferior.
5152
5153 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 Joel Brobecker <brobecker@adacore.com>
5155
5156 Cope with missing /usr/sbin/prelink.
5157 * lib/prelink-support.exp (prelink_no):
5158 <result == 1 && $output is "no such file or directory">: New.
5159 (prelink_yes): Likewise. Return on failed prelink_no.
5160
5161 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5162 Joel Brobecker <brobecker@adacore.com>
5163
5164 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5165 build_executable by build_executable_own_libs. Replace "prelink -R"
5166 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5167 change.
5168 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5169 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5170 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5171 Replace build_executable by build_executable_own_libs's function
5172 build_executable_own_libs.
5173 (prelinkNO): Create new stub to call prelink_no.
5174 (prelinkYES): Create new stub to call prelink_yes.
5175 (test_attach): Rename calls of copy to file_copy.
5176 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5177 (copy): Move to ...
5178 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5179 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5180 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5181 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5182 special flags by gdb_compile_shlib. Replace second gdb_compile by
5183 build_executable_own_libs. Replace "prelink -R" execution by a call of
5184 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5185 a second call of prelink_yes. Replace restart commands by
5186 clean_restart.
5187 (prelink): Rename to ...
5188 (seen displacement message): ... this test. Extend its expectation
5189 strictness.
5190
5191 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5194 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5195 displacement message exactly once.
5196
5197 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5198 Joel Brobecker <brobecker@adacore.com>
5199
5200 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5201 its restore after the <$relink_args != ""> loop. new comment.
5202
5203 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5204 Joel Brobecker <brobecker@adacore.com>
5205
5206 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5207 code for it. New variable relink_args.
5208 (prelinkYES): Call prelinkNO.
5209 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5210 in such case. Move the core code to ...
5211 (test_attach_gdb): ... a new function. Send GDB command "file".
5212 Extend expected "Attaching to " string.
5213
5214 2010-07-02 Tom Tromey <tromey@redhat.com>
5215
5216 * gdb.base/bitops.exp: Remove extraneous "pass".
5217
5218 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
5219
5220 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5221
5222 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5223
5224 * gdb.base/help.exp: Adjust expected output.
5225
5226 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5227
5228 * gdb.base/help.exp: Adjust expected output.
5229
5230 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5233 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5234 c++/11702.
5235
5236 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5237 Doug Evans <dje@google.com>
5238
5239 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5240 add .dynamic entry'.
5241
5242 2010-06-29 Doug Evans <dje@google.com>
5243
5244 Test PR c++/11702.
5245 * gdb.cp/m-static.exp: Add testcase.
5246 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5247
5248 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
5249 Tom Tromey <tromey@redhat.com>
5250 Thiago Jung Bauermann <bauerman@br.ibm.com>
5251
5252 * gdb.python/py-inferior.c: New File.
5253 * gdb.python/py-infthread.c: New File.
5254 * gdb.python/py-inferior.exp: New File.
5255 * gdb.python/py-infthread.exp: New File.
5256
5257 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5258
5259 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5260 (ptype ::C::OtherFileClass typedefs): New.
5261 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5262 (C::OtherFileClass::cOtherFileClassVar2): New.
5263 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5264 cOtherFileClassVar2.
5265 (C::cOtherFileType2, C::cOtherFileVar2): New.
5266 (C::cOtherFileVar_use): use also cOtherFileVar2.
5267 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5268
5269 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5270
5271 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5272 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5273 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5274 (print ::C::cOtherFileVar)
5275 (whatis C::OtherFileClass::cOtherFileClassType)
5276 (whatis ::C::OtherFileClass::cOtherFileClassType)
5277 (print C::OtherFileClass::cOtherFileClassVar)
5278 (print ::cOtherFileClassVar)
5279 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5280 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5281 trailing content.
5282 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5283 (C::OtherFileClass::cOtherFileClassVar)
5284 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5285 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5286
5287 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5288
5289 Test PR c++/11703 and PR gdb/1448.
5290 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5291 gdb/1448.
5292
5293 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5294
5295 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5296 (main) <rtti_data>: New.
5297 * gdb.cp/virtbase.exp (print rtti_data): New.
5298
5299 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5300 Joel Brobecker <brobecker@adacore.com>
5301
5302 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5303
5304 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5305
5306 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5307
5308 2010-06-28 Doug Evans <dje@google.com>
5309
5310 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5311
5312 2010-06-27 Doug Evans <dje@google.com>
5313
5314 * gdb.cp/m-static.exp: Update expected test output.
5315
5316 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5317
5318 * gdb.gdb/selftest.exp: Adjust expected message for
5319 capturing start-up runtime.
5320
5321 2010-06-25 Tom Tromey <tromey@redhat.com>
5322
5323 PR python/10808:
5324 * gdb.python/python.exp: Add new tests.
5325
5326 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5327
5328 * gdb.cp/operator.cc: Created an import loop.
5329 * gdb.cp/operator.exp: Added testcase for import loop.
5330
5331 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 Test PR python/11407.
5334 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5335 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5336 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5337 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5338 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5339 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5340 binfile. Call gdb_compile with clean_restart twice.
5341 (func_nofb print, func_nofb backtrace, func_loopfb print)
5342 (func_loopfb backtrace): New.
5343
5344 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5345
5346 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5347 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5348 by a hand made one.
5349 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5350 i?86 requirement. Remove variables srcfile and binfile. New variable
5351 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5352
5353 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5354
5355 * gdb.cell/dwarfaddr.exp: New file.
5356 * gdb.cell/dwarfaddr.S: New file.
5357
5358 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5359
5360 Test PR 9436.
5361 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5362
5363 2010-06-24 Hui Zhu <teawater@gmail.com>
5364
5365 * gdb.base/eval.exp: New file.
5366
5367 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5368
5369 * gdb.cell/fork.exp: New file.
5370 * gdb.cell/fork.c: Likewise.
5371 * gdb.cell/fork-spu.c: Likewise.
5372
5373 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5374
5375 * lib/gdb.exp (banned_variables_traced): New global variable.
5376 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5377 (gdb_init): Use `trace add variable' instead of obsolete
5378 `trace variable'.
5379
5380 2010-06-21 Doug Evans <dje@google.com>
5381
5382 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5383
5384 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5385
5386 * gdb.arch/spu-ls.exp: New file.
5387 * gdb.arch/spu-ls.c: Likewise.
5388
5389 2010-06-18 Stan Shebs <stan@codesourcery.com>
5390
5391 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5392
5393 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5394
5395 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5396 * gdb.base/watch-cond.exp: Likewise.
5397 * gdb.python/py-breakpoint.exp: Likewise.
5398
5399 2010-06-18 Pedro Alves <pedro@codesourcery.com>
5400
5401 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5402 clean_restart, make sure every test has a distinct message, and
5403 that messages don't include the executable' full path.
5404
5405 2010-06-17 Doug Evans <dje@google.com>
5406
5407 * gdb.arch/i386-size.exp: Updated expected output for
5408 DISASSEMBLY_OMIT_FNAME.
5409
5410 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 Sergio Durigan Junior <sergiodj@redhat.com>
5412
5413 * gdb.base/watch-notconst.c: New file.
5414 * gdb.base/watch-notconst.S: New file.
5415 * gdb.base/watch-notconst2.c: New file.
5416 * gdb.base/watch-notconst2.S: New file.
5417 * gdb.base/watch-notconst.exp: New file.
5418 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5419 (func4): Add operations on `global_ptr_ptr'.
5420 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5421 routine to test watchpoints created with a constant expression.
5422 (test_inaccessible_watchpoint): Include tests for watchpoints
5423 created with a constant expression.
5424
5425 2010-06-14 Kevin Buettner <kevinb@redhat.com>
5426
5427 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5428 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5429 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5430 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5431 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5432 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5433 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5434 of `_start'.
5435
5436 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5437
5438 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5439 not supported on the target.
5440 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5441 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5442 * gdb.mi/mi-nsintrall.exp: Likewise.
5443 * gdb.mi/mi-nsmoribund.exp: Likewise.
5444 * gdb.mi/mi-nsthrexec.exp: Likewise.
5445
5446 2010-06-11 Stan Shebs <stan@codesourcery.com>
5447
5448 * gdb.base/permissions.exp: New file.
5449
5450 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5451
5452 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5453 does not support ELF executable class.
5454
5455 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5456
5457 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5458
5459 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5460
5461 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5462 (runto): Catch "The target does not support running in non-stop mode.".
5463
5464 2010-06-11 Michael Snyder <msnyder@vmware.com>
5465
5466 * gdb.base/setshow.exp (set language asm): Don't use
5467 gdb_test_no_output, fails on some targets.
5468
5469 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5470
5471 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5472 * gdb.cp/pr9167.exp: Likewise.
5473
5474 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5475
5476 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5477
5478 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5479
5480 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5481
5482 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5483
5484 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5485
5486 2010-06-11 Tom Tromey <tromey@redhat.com>
5487
5488 PR gdb/9977, PR exp/11636::
5489 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5490 (pieces_test_f6): Update expected output.
5491
5492 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5493
5494 * gdb.base/moribund-step.exp: New.
5495
5496 2010-06-08 Michael Snyder <msnyder@vmware.com>
5497
5498 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
5499 * gdb.ada/boolean_expr.exp:
5500 * gdb.ada/frame_args.exp: Ditto.
5501 * gdb.ada/lang_switch.exp: Ditto.
5502 * gdb.ada/ptype_arith_binop.exp: Ditto.
5503 * gdb.ada/ref_param.exp: Ditto.
5504 * gdb.ada/type_coercion.exp:Ditto.
5505
5506 * gdb.asm/asm-source.exp: Ditto.
5507
5508 * gdb.base/attach.exp: Ditto.
5509 * gdb.base/bitfields2.exp: Ditto.
5510 * gdb.base/call-signal-resume.exp: Ditto.
5511 * gdb.base/callfuncs.exp: Ditto.
5512 * gdb.base/commands.exp: Ditto.
5513 * gdb.base/dbx.exp: Ditto.
5514 * gdb.base/default.exp: Ditto.
5515 * gdb.base/dump.exp: Ditto.
5516 * gdb.base/exprs.exp: Ditto.
5517 * gdb.base/freebpcmd.exp: Ditto.
5518 * gdb.base/interrupt.exp: Ditto.
5519 * gdb.base/list.exp: Ditto.
5520 * gdb.base/long_long.exp: Ditto.
5521 * gdb.base/maint.exp: Ditto.
5522 * gdb.base/ptype.exp: Ditto.
5523 * gdb.base/return.exp: Ditto.
5524 * gdb.base/setshow.exp: Ditto.
5525 * gdb.base/sigbpt.exp: Ditto.
5526 * gdb.base/sigrepeat.exp: Ditto.
5527
5528 * gdb.cp/classes.exp: Ditto.
5529
5530 * gdb.dwarf2/dw2-restore.exp: Ditto.
5531
5532 * gdb.gdb/selftest.exp: Ditto.
5533
5534 * gdb.multi/base.exp: Ditto.
5535 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5536
5537 * gdb.python/py-block.exp: Ditto.
5538 * gdb.python/py-prettyprint.exp: Ditto.
5539 * gdb.python/py-template.exp: Ditto.
5540
5541 * gdb.server/ext-attach.exp: Ditto.
5542 * gdb.server/ext-run.exp: Ditto.
5543 * gdb.server/server-mon.exp: Ditto.
5544
5545 * gdb.threads/fork-thread-pending.exp: Ditto.
5546 * gdb.threads/hand-call-in-threads.exp: Ditto.
5547 * gdb.threads/interrupted-hand-call.exp: Ditto.
5548 * gdb.threads/linux-dp.exp: Ditto.
5549 * gdb.threads/manythreads.exp: Ditto.
5550 * gdb.threads/print-threads.exp: Ditto.
5551 * gdb.threads/pthreads.exp: Ditto.
5552 * gdb.threads/schedlock.exp: Ditto.
5553 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5554 * gdb.threads/threadapply.exp: Ditto.
5555
5556 2010-06-08 Michael Snyder <msnyder@vmware.com>
5557
5558 * gdb.ada/exec_changed.exp:
5559 Use ".*" instead of "" as wildcard regexp.
5560
5561 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5562 * gdb.base/call-ar-st.exp: Ditto.
5563 * gdb.base/checkpoint.exp: Ditto.
5564 * gdb.base/default.exp: Ditto.
5565 * gdb.base/dump.exp: Ditto.
5566 * gdb.base/ending-run.exp: Ditto.
5567 * gdb.base/fileio.exp: Ditto.
5568 * gdb.base/miscexprs.exp: Ditto.
5569 * gdb.base/pointers.exp: Ditto.
5570 * gdb.base/readline.exp: Ditto.
5571 * gdb.base/reread.exp: Ditto.
5572 * gdb.base/restore.exp: Ditto.
5573 * gdb.base/shlib-call.exp: Ditto.
5574 * gdb.base/valgrind-db-attach.exp: Ditto.
5575 * gdb.base/volatile.exp: Ditto.
5576 * gdb.base/watchpoints.exp: Ditto.
5577
5578 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5579
5580 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5581 * gdb.python/py-value.exp: Ditto.
5582
5583 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5584 * gdb.trace/circ.exp: Ditto.
5585 * gdb.trace/collection.exp: Ditto.
5586 * gdb.trace/packetlen.exp: Ditto.
5587 * gdb.trace/passc-dyn.exp: Ditto.
5588 * gdb.trace/report.exp: Ditto.
5589 * gdb.trace/tfile.exp: Ditto.
5590 * gdb.trace/tfind.exp: Ditto.
5591 * gdb.trace/while-dyn.exp: Ditto.
5592
5593 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5594
5595 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5596
5597 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5598
5599 Test PR 10640.
5600 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5601
5602 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5603
5604 * gdb.cp/koenig.exp: Test for ADL operators.
5605 * gdb.cp/koenig.cc: Added ADL operators.
5606 * gdb.cp/operator.exp: New test.
5607 * gdb.cp/operator.cc: New test.
5608
5609 2010-06-04 Michael Snyder <msnyder@vmware.com>
5610
5611 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5612 * gdb.base/pending.exp: Ditto.
5613
5614 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5615
5616 2010-06-04 Doug Evans <dje@google.com>
5617
5618 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5619 disabled printers.
5620 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5621 (enable_lookup_function): New function.
5622
5623 2010-06-04 Tom Tromey <tromey@redhat.com>
5624
5625 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5626 of hash and id.
5627
5628 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5629
5630 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5631 newline.
5632 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5633 (empty verbose non-noisy clear, empty verbose noisy clear)
5634 (empty non-verbose noisy clear): Likewise.
5635
5636 2010-06-03 Michael Snyder <msnyder@vmware.com>
5637
5638 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5639 * gdb.base/display.exp: Ditto.
5640 * gdb.base/find.exp: Ditto.
5641 * gdb.base/ifelse.exp: Ditto.
5642 * gdb.base/multi-forks.exp: Ditto.
5643 * gdb.base/recurse.exp: Ditto.
5644 * gdb.base/setshow.exp: Ditto.
5645 * gdb.base/value-double-free.exp: Ditto.
5646 * gdb.base/watch-vfork.exp: Ditto.
5647 * gdb.base/watch_thread_num.exp: Ditto.
5648 * gdb.base/watchpoint-solib.exp: Ditto.
5649 * gdb.base/watchpoint.exp: Ditto.
5650 * gdb.base/watchpoints.exp: Ditto.
5651
5652 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5653 * gdb.cp/overload.exp: Ditto.
5654 * gdb.cp/virtfunc.exp: Ditto.
5655
5656 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5657
5658 * gdb.reverse/watch-precsave.exp:
5659 Replace gdb_test with gdb_test_no_output.
5660
5661 * gdb.threads/attach-into-signal.exp:
5662 Replace gdb_test with gdb_test_no_output.
5663 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5664 * gdb.threads/watchthreads.exp: Ditto.
5665 * gdb.threads/watchthreads2.exp: Ditto.
5666
5667 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5668 * gdb.trace/tfind.exp: Ditto.
5669
5670 2010-06-03 Joel Brobecker <brobecker@adacore.com>
5671
5672 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5673 successful test if message is the empty string.
5674
5675 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5676
5677 * gdb.fortran/module.exp (stopped language detection): New test.
5678
5679 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5680
5681 Support DW_TAG_module as separate namespaces.
5682 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5683 gdb.fortran/library-module-lib.f90: New.
5684 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5685 (print i): Remove.
5686 (continue to breakpoint: i-is-1, print var_i value 1)
5687 (continue to breakpoint: i-is-2, print var_i value 2)
5688 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5689 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5690 (complete `modmany, complete `modmany`, complete `modmany`var)
5691 (show language, setting breakpoint at module): New tests.
5692 * gdb.fortran/module.f90 (module mod): Remove.
5693 (module mod1, module mod2, module modmany, subroutine sub1)
5694 (subroutine sub2, program module): New.
5695
5696 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5697
5698 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5699 (print value of rUC, print value of rI, print value of UI): ... here.
5700 * gdb.cp/anon-union.exp (pass): Rename to ...
5701 (print z 2): ... here.
5702
5703 2010-06-02 Michael Snyder <msnyder@vmware.com>
5704
5705 * gdb.trace/actions.exp: Use gdb_test_no_output.
5706 * gdb.trace/circ.exp: Ditto.
5707 * gdb.trace/packetlen.exp: Ditto.
5708 * gdb.trace/save-trace.exp: Ditto.
5709 * gdb.trace/tracecmd.exp: Ditto.
5710 * gdb.trace/tsv.exp: Ditto.
5711
5712 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5713 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5714 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5715 * gdb.threads/manythreads.exp: Ditto.
5716 * gdb.threads/print-threads.exp: Ditto.
5717 * gdb.threads/pthreads.exp: Ditto.
5718 * gdb.threads/schedlock.exp: Ditto.
5719 * gdb.threads/staticthreads.exp: Ditto.
5720 * gdb.threads/thread-specific.exp: Ditto.
5721 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5722 * gdb.threads/threadapply.exp: Ditto.
5723 * gdb.threads/watchthreads.exp: Ditto.
5724 * gdb.threads/watchthreads2.exp: Ditto.
5725
5726 * gdb.python/py-block.exp: Use gdb_test_no_output.
5727 * gdb.python/py-prettyprint.exp: Ditto.
5728 * gdb.python/py-template.exp: Ditto.
5729 * gdb.python/py-value.exp: Ditto.
5730
5731 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5732 * gdb.reverse/watch-reverse.exp: Ditto.
5733
5734 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5735 * gdb.server/ext-run.exp: Ditto.
5736
5737 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5738 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5739 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5740 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5741 * gdb.dwarf2/dw2-producer.exp: Ditto.
5742 * gdb.dwarf2/mac-fileno.exp: Ditto.
5743
5744 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5745 * gdb.gdb/selftest.exp: Ditto.
5746
5747 * gdb.multi/base.exp: Use gdb_test_no_output.
5748
5749 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5750
5751 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5754
5755 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5756
5757 * gdb.cp/class2.exp: Use gdb_test_no_output.
5758 * gdb.cp/classes.exp: Ditto.
5759 * gdb.cp/extern-c.exp: Ditto.
5760 * gdb.cp/inherit.exp: Ditto.
5761 * gdb.cp/maint.exp: Ditto.
5762 * gdb.cp/mb-inline.exp: Ditto.
5763 * gdb.cp/mb-templates.exp: Ditto.
5764 * gdb.cp/method2.exp: Ditto.
5765 * gdb.cp/misc.exp: Ditto.
5766 * gdb.cp/ovldbreak.exp: Ditto.
5767 * gdb.cp/punctuator.exp: Ditto.
5768 * gdb.cp/templates.exp: Ditto.
5769 * gdb.cp/virtbase.exp: Ditto.
5770
5771 * gdb.threads/attach-stopped.exp:
5772 Replace uses of send_gdb / gdb_expect.
5773 * gdb.threads/attachstop-mt.exp:
5774 Replace uses of send_gdb / gdb_expect.
5775 * gdb.threads/gcore-thread.exp:
5776 Replace uses of send_gdb / gdb_expect.
5777 * gdb.threads/hand-call-in-threads.exp:
5778 Replace uses of send_gdb / gdb_expect.
5779 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5780 * gdb.threads/print-threads.exp:
5781 Replace uses of send_gdb / gdb_expect.
5782 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5783 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5784 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5785
5786 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5787 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5788 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5789 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5790 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5791 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5792 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5793 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5794 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5795 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5796 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5797
5798 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5799
5800 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5801
5802 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5803
5804 * gdb.cp/koenig.exp: Added new test case.
5805 * gdb.cp/koenig.cc: Ditto.
5806
5807 2010-06-01 Michael Snyder <msnyder@vmware.com>
5808
5809 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5810 * gdb.base/arrayidx.exp: Ditto.
5811 * gdb.base/attach.exp: Ditto.
5812 * gdb.base/auxv.exp: Ditto.
5813 * gdb.base/bigcre.exp: Ditto.
5814 * gdb.base/break-always.exp: Ditto.
5815 * gdb.base/break-interp.exp: Ditto.
5816 * gdb.base/break.exp: Ditto.
5817 * gdb.base/breakpoint-shadow.exp: Ditto.
5818 * gdb.base/call-ar-st.exp: Ditto.
5819 * gdb.base/call-sc.exp: Ditto.
5820 * gdb.base/call-signal-resume.exp: Ditto.
5821 * gdb.base/callfuncs.exp: Ditto.
5822 * gdb.base/catch-syscall.exp: Ditto.
5823 * gdb.base/charset.exp: Ditto.
5824 * gdb.base/code-expr.exp: Ditto.
5825 * gdb.base/commands.exp: Ditto.
5826 * gdb.base/cond-expr.exp: Ditto.
5827 * gdb.base/condbreak.exp: Ditto.
5828 * gdb.base/cursal.exp: Ditto.
5829 * gdb.base/cvexpr.exp: Ditto.
5830 * gdb.base/default.exp: Ditto.
5831 * gdb.base/del.exp: Ditto.
5832 * gdb.base/detach.exp: Ditto.
5833 * gdb.base/display.exp: Ditto.
5834 * gdb.base/ena-dis-br.exp: Ditto.
5835 * gdb.base/eval-skip.exp: Ditto.
5836 * gdb.base/foll-fork.exp: Ditto.
5837 * gdb.base/foll-vfork.exp: Ditto.
5838 * gdb.base/frame-args.exp: Ditto.
5839 * gdb.base/funcargs.exp: Ditto.
5840 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5841 * gdb.base/gdbvars.exp: Ditto.
5842 * gdb.base/help.exp: Ditto.
5843 * gdb.base/ifelse.exp: Ditto.
5844 * gdb.base/included.exp: Ditto.
5845 * gdb.base/list.exp: Ditto.
5846 * gdb.base/macscp.exp: Ditto.
5847 * gdb.base/maint.exp: Ditto.
5848 * gdb.base/multi-fork.exp: Ditto.
5849 * gdb.base/overlays.exp: Ditto.
5850 * gdb.base/page.exp: Ditto.
5851 * gdb.base/pending.exp: Ditto.
5852 * gdb.base/pointers.exp: Ditto.
5853 * gdb.base/pr11022.exp: Ditto.
5854 * gdb.base/prelink.exp: Ditto.
5855 * gdb.base/printcmds.exp: Ditto.
5856 * gdb.base/psymtab.exp: Ditto.
5857 * gdb.base/randomize.exp: Ditto.
5858 * gdb.base/relational.exp: Ditto.
5859 * gdb.base/relocate.exp: Ditto.
5860 * gdb.base/remote.exp: Ditto.
5861 * gdb.base/sepdebug.exp: Ditto.
5862 * gdb.base/set-lang-auto.exp: Ditto.
5863 * gdb.base/setshow.exp: Ditto.
5864 * gdb.base/setvar.exp: Ditto.
5865 * gdb.base/signals.exp: Ditto.
5866 * gdb.base/signull.exp: Ditto.
5867 * gdb.base/sigstep.exp: Ditto.
5868 * gdb.base/sizeof.exp: Ditto.
5869 * gdb.base/solib-disc.exp: Ditto.
5870 * gdb.base/store.exp: Ditto.
5871 * gdb.base/structs.exp: Ditto.
5872 * gdb.base/structs2.exp: Ditto.
5873 * gdb.base/subst.exp: Ditto.
5874 * gdb.base/term.exp: Ditto.
5875 * gdb.base/trace-commands.exp: Ditto.
5876 * gdb.base/unwindonsignal.exp: Ditto.
5877 * gdb.base/valgrind-db-attach.exp: Ditto.
5878 * gdb.base/varargs.exp: Ditto.
5879 * gdb.base/watch-cond.exp: Ditto.
5880 * gdb.base/watch_thread_num.exp: Ditto.
5881 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5882 * gdb.base/watchpoint.exp: Ditto.
5883 * gdb.base/whatis-exp.exp: Ditto.
5884
5885 2010-06-01 Michael Snyder <msnyder@vmware.com>
5886
5887 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5888 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5889 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5890 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5891 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5892 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5893 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5894 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5895 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5896 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5897 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5898 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5899 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5900 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5901 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5902
5903 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5904
5905 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5906 trailing newline.
5907 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5908 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5909 (p *args): ... here and remove excessive trailing newline.
5910
5911 2010-05-31 Joel Brobecker <brobecker@adacore.com>
5912
5913 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5914
5915 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5916
5917 Accept the new Linux kernel "t (tracing stop)" string.
5918 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5919 Update comment.
5920 (state_wait) <T (tracing stop)>: New.
5921 (main): Update the state_wait expect string.
5922
5923 2010-05-28 Pedro Alves <pedro@codesourcery.com>
5924
5925 * limits.c, limits.exp: Delete files.
5926 * Makefile.in (clean mostlyclean): Adjust.
5927 * tracecmd.exp: Adjust.
5928
5929 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5930
5931 * gdb.base/tui-layout.exp: New.
5932
5933 2010-05-28 Michael Snyder <msnyder@vmware.com>
5934
5935 * gdb.reverse/break-precsave.exp:
5936 Replace uses of send_gdb / gdb_expect.
5937 * gdb.reverse/break-reverse.exp:
5938 Replace uses of send_gdb / gdb_expect.
5939 * gdb.reverse/consecutive-precsave.exp:
5940 Replace uses of send_gdb / gdb_expect.
5941 * gdb.reverse/consecutive-reverse.exp:
5942 Replace uses of send_gdb / gdb_expect.
5943 * gdb.reverse/finish-precsave.exp:
5944 Replace uses of send_gdb / gdb_expect.
5945 * gdb.reverse/finish-reverse.exp:
5946 Replace uses of send_gdb / gdb_expect.
5947 * gdb.reverse/i386-precsave.exp:
5948 Replace uses of send_gdb / gdb_expect.
5949 * gdb.reverse/i386-reverse.exp:
5950 Replace uses of send_gdb / gdb_expect.
5951 * gdb.reverse/i386-sse-reverse.exp:
5952 Replace uses of send_gdb / gdb_expect.
5953 * gdb.reverse/i387-env-reverse.exp:
5954 Replace uses of send_gdb / gdb_expect.
5955 * gdb.reverse/i387-stack-reverse.exp:
5956 Replace uses of send_gdb / gdb_expect.
5957 * gdb.reverse/machinestate-precsave.exp:
5958 Replace uses of send_gdb / gdb_expect.
5959 * gdb.reverse/machinestate.exp:
5960 Replace uses of send_gdb / gdb_expect.
5961 * gdb.reverse/sigall-precsave.exp:
5962 Replace uses of send_gdb / gdb_expect.
5963 * gdb.reverse/sigall-reverse.exp:
5964 Replace uses of send_gdb / gdb_expect.
5965 * gdb.reverse/solib-precsave.exp:
5966 Replace uses of send_gdb / gdb_expect.
5967 * gdb.reverse/solib-reverse.exp:
5968 Replace uses of send_gdb / gdb_expect.
5969 * gdb.reverse/step-precsave.exp:
5970 Replace uses of send_gdb / gdb_expect.
5971 * gdb.reverse/step-reverse.exp:
5972 Replace uses of send_gdb / gdb_expect.
5973 * gdb.reverse/until-precsave.exp:
5974 Replace uses of send_gdb / gdb_expect.
5975 * gdb.reverse/until-reverse.exp:
5976 Replace uses of send_gdb / gdb_expect.
5977 * gdb.reverse/watch-precsave.exp:
5978 Replace uses of send_gdb / gdb_expect.
5979 * gdb.reverse/watch-reverse.exp:
5980 Replace uses of send_gdb / gdb_expect.
5981
5982 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5983
5984 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5985 excessive newline.
5986
5987 2010-05-27 Michael Snyder <msnyder@vmware.com>
5988
5989 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5990 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5991 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5992 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5993 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5994 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5995 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5996 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5997 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5998 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5999 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
6000 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
6001 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
6002 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
6003 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
6004 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
6005 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6006 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6007 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
6008
6009 2010-05-26 Michael Snyder <msnyder@vmware.com>
6010
6011 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6012 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6013
6014 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6015 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6016 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6017
6018 * gdb.reverse/consecutive-reverse.exp:
6019 Replace uses of send_gdb / gdb_expect.
6020 * gdb.reverse/consecutive-precsave.exp:
6021 Replace uses of send_gdb / gdb_expect.
6022
6023 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6024 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6025 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
6026 * gdb.mi/mi-ns-stale-regcache.exp:
6027 Replace uses of send_gdb / gdb_expect.
6028 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6029 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6030 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6031 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6032 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6033 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6034 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6035 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6036 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
6037
6038 2010-05-26 Michael Snyder <msnyder@vmware.com>
6039
6040 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6041
6042 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6043
6044 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6045 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6046 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6047 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6048 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6049 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6050 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6051 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6052 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6053
6054 2010-05-25 Tom Tromey <tromey@redhat.com>
6055
6056 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6057
6058 2010-05-25 Tom Tromey <tromey@redhat.com>
6059
6060 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6061 argument order.
6062 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6063 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6064 order.
6065 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6066 order.
6067 * gdb.base/call-sc.exp (setup_kfails): Remove.
6068 (setup_compiler_kfails): Remove.
6069 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6070 argument order.
6071 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6072 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6073 (advancei): Fix setup_kfail argument order.
6074 * gdb.base/radix.exp: Fix setup_kfail argument order.
6075 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6076 order.
6077 * gdb.base/structs.exp (setup_kfails): Remove.
6078 (setup_compiler_kfails): Fix setup_kfail argument order.
6079 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6080 order.
6081 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6082 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6083 setup_kfail argument order.
6084 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6085
6086 2010-05-25 Tom Tromey <tromey@redhat.com>
6087
6088 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6089
6090 2010-05-25 Michael Snyder <msnyder@vmware.com>
6091
6092 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6093 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6094 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6095 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6096 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6097 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6098 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6099 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6100 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
6101 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6102 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6103 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6104 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6105 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6106 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6107 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6108 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6109 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6110 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6111 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6112 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6113 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6114 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
6115 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6116 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6117 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6118 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6119 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6120 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6121 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6122 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6123 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6124 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6125 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6126 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6127 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6128 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6129 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6130 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6131 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6132 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6133 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
6134 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6135 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6136 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6137 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6138 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6139 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
6140
6141 2010-05-25 Doug Evans <dje@google.com>
6142
6143 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6144 gdb.string_to_argv.
6145
6146 2010-05-21 Tom Tromey <tromey@redhat.com>
6147
6148 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6149 Call it.
6150 * gdb.dwarf2/pieces.S: Update.
6151 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6152
6153 2010-05-21 Tom Tromey <tromey@redhat.com>
6154
6155 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6156 Call it.
6157 * gdb.dwarf2/pieces.c (struct C): New.
6158 (f6): New function.
6159 * gdb.dwarf2/pieces.S: Replace.
6160
6161 2010-05-21 Tom Tromey <tromey@redhat.com>
6162
6163 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6164 Call it.
6165
6166 2010-05-21 Tom Tromey <tromey@redhat.com>
6167
6168 * gdb.dwarf2.pieces.exp: New file.
6169 * gdb.dwarf2.pieces.S: New file.
6170 * gdb.dwarf2.pieces.c: New file.
6171
6172 2010-05-20 Pedro Alves <pedro@codesourcery.com>
6173 Joel Brobecker <brobecker@adacore.com>
6174
6175 * lib/gdb.exp (gdb_test_no_output): New function.
6176 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6177 when testing commands that should produce no output.
6178
6179 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6180
6181 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6182 parameter that we want to watch being a constant.
6183
6184 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6185
6186 * gdb.ada/cond_lang: New testcase.
6187
6188 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6189
6190 * lib/gdb.exp (banned_variables): New variable/constant.
6191 (gdb_init): Add write trace on variables listed in banned_variables.
6192 (gdb_finish): Remove write traces on variables listed in
6193 banned_variables.
6194
6195 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6196
6197 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6198 * gdb.cp/koenig.exp: Likewise.
6199
6200 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6201
6202 PR python/11482
6203
6204 * gdb.python/py-value.exp (test_value_hash): New function.
6205
6206 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6207
6208 PR exp/11530.
6209 * gdb.base/gdb11530.c: New file.
6210 * gdb.base/gdb11530.exp: New file.
6211
6212 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6215 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6216
6217 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6218
6219 * gdb.cp/koenig.exp: New test.
6220 * gdb.cp/koenig.cc: New test program.
6221
6222 2010-05-05 Joel Brobecker <brobecker@adacore.com>
6223
6224 Remove the use of prms_id and bug_id throughout the testsuite.
6225
6226 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6227
6228 PR exp/11349.
6229 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6230 use a reference local variable.
6231
6232 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6233
6234 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6235 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6236 variable different_dir. Move debugfile into a full directory pathname
6237 under DIFFERENT_DIR.
6238 * lib/gdb.exp (separate_debug_filename): Remove.
6239 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6240 variable debug_dir and mkdir of it. Update function comments.
6241
6242 2010-04-29 Pedro Alves <pedro@codesourcery.com>
6243
6244 PR gdb/11557
6245
6246 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6247 files.
6248
6249 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6250
6251 * gdb.python/py-param.exp: New File.
6252
6253 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6254
6255 * gdb.base/default.exp: Fix "set language" test.
6256
6257 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6258
6259 PR breakpoints/11531.
6260 * gdb.base/gdb11531.c: New file.
6261 * gdb.base/gdb11531.exp: New file.
6262
6263 2010-04-26 Tom Tromey <tromey@redhat.com>
6264
6265 * gdb.base/completion.exp: Add tests for completion and deprecated
6266 commands.
6267
6268 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6269
6270 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6271 (print /x char_array): Escape curly brackets.
6272
6273 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 Fix deadlock on looped list of loaded shared objects.
6276 * gdb.base/solib-corrupted.exp: New.
6277
6278 2010-04-23 Doug Evans <dje@google.com>
6279
6280 * gdb.python/py-section-script.c: New file.
6281 * gdb.python/py-section-script.exp: New file.
6282 * gdb.python/py-section-script.py: New file.
6283
6284 2010-04-20 Chris Moller <cmoller@redhat.com>
6285
6286 PR 10179
6287
6288 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6289 * gdb.base/pr10179-a.c:
6290 * gdb.base/pr10179-b.c:
6291 * gdb.base/pr10179.exp: New files.
6292
6293 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 Fix crashes on dangling display expressions.
6296 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6297 is SEP.
6298 (lib_flags): Remove the "debug" keyword.
6299 (libsepdebug): New variable for iterating new loop.
6300 (save_pf_prefix): New variable wrapping the loop.
6301 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6302 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6303
6304 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6305
6306 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6307
6308 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6309
6310 PR stabs/11479.
6311 * gdb.stabs/gdb11479.exp: New file.
6312 * gdb.stabs/gdb11479.c: New file.
6313
6314 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6315
6316 * gdb.base/charset.c (Strin16, String32): New variables.
6317 * gdb.base/charset.exp (gdb_test): Test correct display
6318 of 16 or 32 bit strings.
6319
6320 2010-04-21 Chris Moller <cmoller@redhat.com>
6321
6322 PR 9167
6323 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6324 * gdb.cp/pr9167.cc: New file.
6325 * gdb.cp/pr9167.exp: New file.
6326
6327
6328 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6329
6330 PR pascal/11492.
6331 * gdb.pascal/gdb11492.pas: New file.
6332 * gdb.pascal/gdb11492.exp: New file.
6333
6334 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6335
6336 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
6337
6338 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6339
6340 * gdb.ada/dyn_loc: New testcase.
6341
6342 2010-04-20 Chris Moller <cmoller@redhat.com>
6343
6344 PR 10867
6345
6346 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6347 * gdb.cp/pr10687.cc: New file.
6348 * gdb.cp/pr10687.exp: New file.
6349
6350
6351 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6352 Sergio Durigan Junior <sergiodj@redhat.com>
6353
6354 * gdb.fortran/logical.exp: New testcase.
6355 * gdb.fortran/logical.f90: New file.
6356
6357 2010-04-19 Doug Evans <dje@google.com>
6358
6359 * gdb.base/help.exp (help source): Update expected output.
6360
6361 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6362
6363 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6364 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6365 gdb_exit and return.
6366 (executable): New variable.
6367 (binfile): Use it.
6368
6369 2010-04-19 Pedro Alves <pedro@codesourcery.com>
6370
6371 PR breakpoints/8554.
6372
6373 * gdb.trace/save-trace.exp: Adjust.
6374
6375 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6376
6377 PR corefiles/11511
6378 * gdb.arch/system-gcore.exp: New.
6379 * gdb.arch/gcore.c: Likewise.
6380
6381 2010-04-15 Doug Evans <dje@google.com>
6382
6383 * gdb.python/py-progspace.c: New file.
6384 * gdb.python/py-progspace.exp: New file.
6385
6386 * gdb.base/source.exp: Add tests for "source -s".
6387
6388 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6389
6390 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6391 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6392 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6393 * gdb.python/py-mi.exp: New test for to_string returning None.
6394
6395 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6396
6397 * gdb.python/py-breakpoint.c: Make result global.
6398
6399 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6400
6401 Fix non-GNU make compatibility.
6402 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6403
6404 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6405
6406 * gdb.python/py-breakpoint.exp: New File.
6407 * gdb.python/py-breakpoint.C: Ditto.
6408
6409 2010-04-08 Stan Shebs <stan@codesourcery.com>
6410
6411 * gdb.trace/actions.exp: Clear default-collect.
6412 * gdb.trace/save-trace.exp: Clear default-collect.
6413
6414 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6415
6416 * gdb.python/py-value: Add null string variable.
6417 (test_lazy_string): Test zero length, NULL address lazy
6418 strings.
6419
6420 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 * gdb.arch/i386-avx.c: New.
6423 * gdb.arch/i386-avx.exp: Likewise.
6424
6425 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6426
6427 2010-04-06 Doug Evans <dje@google.com>
6428
6429 * gdb.base/source-test.gdb: New file.
6430 * gdb.base/source.exp: Test source -v.
6431
6432 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6433
6434 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6435
6436 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6437
6438 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6439 within one line, unless it is followed by a double quote.
6440 * gdb.stabs/hppa.sed: Idem.
6441 * gdb.stabs/weird.def: Add char and String constants
6442 * gdb.stabs/weird.exp: Check for correct parsing of
6443 char and string constants.
6444 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6445 in .stabs to .stabx substitution.
6446
6447 2010-04-05 Stan Shebs <stan@codesourcery.com>
6448
6449 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6450 constant global.
6451 * gdb.trace/tfile.exp: Try to print them.
6452
6453 2010-04-04 Stan Shebs <stan@codesourcery.com>
6454
6455 * gdb.base/completion.exp: Update for new "info watchpoints".
6456 * gdb.base/default.exp: Ditto.
6457 * gdb.base/help.exp: Ditto.
6458 * gdb.base/watchpoint.exp: Ditto.
6459 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
6460
6461 2010-04-04 Stan Shebs <stan@codesourcery.com>
6462
6463 * gdb.trace/tfile.exp: Sharpen tfind test.
6464
6465 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6466
6467 * gdb.base/break-entry.exp: New.
6468
6469 2010-04-02 Hui Zhu <teawater@gmail.com>
6470 Michael Snyder <msnyder@vmware.com>
6471
6472 * gdb.reverse/i386-sse-reverse.exp: New file.
6473 * gdb.reverse/i386-sse-reverse.c: New file.
6474
6475 2010-04-02 Pedro Alves <pedro@codesourcery.com>
6476
6477 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6478
6479 2010-04-01 Stan Shebs <stan@codesourcery.com>
6480
6481 * gdb.trace/actions.exp: Tweak expected output.
6482 * gdb.trace/while-stepping.exp: Tweak expected output.
6483
6484 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6485
6486 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6487
6488 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6489
6490 * gdb.base/commands.exp: Adjust.
6491 * gdb.cp/extern-c.exp: Adjust.
6492
6493 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6494
6495 * gdb.trace/collection.c (local_test_func): Define a local struct,
6496 and instanciate it.
6497
6498 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6499
6500 * gdb.trace/collection.exp (gdb_collect_args_test)
6501 (gdb_collect_argarray_test): XFAIL the tests that assume the
6502 argarray argument's elements are collected.
6503
6504 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6505
6506 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6507 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6508
6509 2010-03-31 Stan Shebs <stan@codesourcery.com>
6510
6511 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6512 and tracepoint conditionals.
6513 (gdb_verify_tracepoints): Delete unused return.
6514
6515 2010-03-26 Keith Seitz <keiths@redhat.com>
6516
6517 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6518 appear in the output before main.
6519 Remove KFAIL for gdb/2215 aka bz 9320.
6520
6521 2010-03-30 Doug Evans <dje@google.com>
6522
6523 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6524 by dejagnu.
6525 * gdb.arch/amd64-dword.exp: Ditto.
6526
6527 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6528 match.
6529 (break printf): Ditto.
6530
6531 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6532
6533 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6534 gcc < 4.4.
6535 * gdb.cp/shadow.exp: Ditto.
6536
6537 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6538
6539 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6540 "tstart" is silent.
6541
6542 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6543
6544 * gdb.trace/collection.exp (executable): New.
6545 (binfile): Use it.
6546 (fpreg, spreg, pcreg): New.
6547 (test_register): Use gdb_test_multiple. Pass /x to print.
6548 (prepare_for_trace_test): New.
6549 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6550 (gdb_collect_args_test, gdb_collect_argstruct_test)
6551 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6552 prepare_for_trace_test.
6553 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6554 fpreg, spreg and pcreg.
6555 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6556 prepare_for_trace_test.
6557 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6558 try to detect tracing support here. Don't set breakpoints at
6559 `begin' or `end' here.
6560 <global scope>: Use clean_restart. Run to main before checking
6561 for tracing support. Check for for tracing support here.
6562
6563 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6564
6565 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6566 " as $displacement" to "seen displacement message".
6567
6568 2010-03-28 Pedro Alves <pedro@codesourcery.com>
6569
6570 * gdb.trace/while-dyn.exp (executable): New variable.
6571 (binfile): Use it.
6572 (test_while_stepping): New function. Move most tests here. Call
6573 it once for each of the while-stepping, stepping and ws aliases.
6574
6575 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6576
6577 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6578 that do not provide the tagless_struct type name at all.
6579 (test_print_anon_union): Do not check value of uninitialized
6580 union member. Do not use cp_test_ptype_class, so we can accept
6581 "long" as well as "long int".
6582
6583 2010-03-26 Pedro Alves <pedro@codesourcery.com>
6584
6585 * gdb.trace/tfile.c (tohex, bin2hex): New.
6586 (write_error_trace_file): Hexify error description.
6587
6588 2010-03-25 Stan Shebs <stan@codesourcery.com>
6589
6590 * gdb.trace/tfile.c: Generate an additional trace file, improve
6591 portability.
6592 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6593 files in a better way.
6594
6595 2010-03-25 Keith Seitz <keiths@redhat.com>
6596
6597 * gdb.java/jprint.exp: XFAIL printing of static class members
6598 because of GCC debuginfo problem.
6599
6600 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6603
6604 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6605
6606 * gdb.base/completion.exp: Allow long instead of long int.
6607 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6608 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6609 variable p.
6610 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6611 * gdb.base/pointers.exp: Allow long instead of long int.
6612 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6613 * gdb.base/step-line.exp: Allow a directory before the source file name.
6614
6615 2010-03-24 Tom Tromey <tromey@redhat.com>
6616
6617 PR breakpoints/9352:
6618 * gdb.base/default.exp: Update.
6619 * gdb.base/commands.exp: Update.
6620 * gdb.cp/extern-c.exp: Test setting commands on multiple
6621 breakpoints at once.
6622
6623 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6624
6625 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6626 if gdb,nosignals.
6627 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6628 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6629 exited".
6630
6631 2010-03-24 Stan Shebs <stan@codesourcery.com>
6632
6633 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6634
6635 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6636
6637 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6638 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6639 argument. Handle "short" and "long".
6640 (Top level): Pass overprototyped output for old_fptr and xptr.
6641
6642 2010-03-23 Pedro Alves <pedro@codesourcery.com>
6643
6644 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6645 format strings and add casts to avoid compiler warnings.
6646
6647 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
6648
6649 * lib/trace-support.exp (gdb_trace_setactions):
6650 Don't expect whitespace after ">" prompt.
6651 * gdb.trace/actions.exp: Adjust for output changes.
6652 * gdb.trace/while-stepping.exp: Likewise.
6653
6654 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6655
6656 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6657 and r157645).
6658
6659 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6660
6661 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6662 New.
6663
6664 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6665
6666 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6667 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6668
6669 2010-03-19 Stan Shebs <stan@codesourcery.com>
6670
6671 * gdb.trace/ax.exp: New file.
6672
6673 2010-03-19 Doug Evans <dje@google.com>
6674
6675 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6676 output from gcc.
6677
6678 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6679 named /usr/sbin/prelink<foo>.
6680
6681 2010-03-18 Stan Shebs <stan@codesourcery.com>
6682
6683 * gdb.trace/circ.exp: Test circular-trace-buffer.
6684 * gdb.trace/tfile.exp: Update tstatus test.
6685
6686 2010-03-18 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6689 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6690
6691 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6692
6693 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6694
6695 2010-03-18 Pedro Alves <pedro@codesourcery.com>
6696
6697 * gdb.base/default.exp: Adjust the expected output of the finish
6698 and until commands when the inferior is not being run.
6699
6700 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6701
6702 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6703 * gdb.cp/nsusing.exp: Ditto.
6704
6705 2010-03-15 Tom Tromey <tromey@redhat.com>
6706
6707 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6708 * gdb.cp/userdef.cc (operator==): New function.
6709 (main): New locals mem1, mem2.
6710
6711 2010-03-15 Jie Zhang <jie@codesourcery.com>
6712
6713 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6714 Declare and use new loadtimeout variable.
6715
6716 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6717
6718 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6719 Use gdb_load later.
6720
6721 2010-03-14 Pedro Alves <pedro@codesourcery.com>
6722
6723 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6724 literal. Add missing endlines to prints to stderr.
6725
6726 2010-03-12 Tom Tromey <tromey@redhat.com>
6727
6728 PR c++/9708:
6729 * gdb.cp/m-static.exp: Add regression test.
6730 * gdb.cp/m-static.cc (method): New method.
6731 (main): Call it.
6732
6733 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6734
6735 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6736 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6737
6738 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6739
6740 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6741
6742 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6743
6744 * lib/gdb.exp (skip_stl_tests): New.
6745 (gdb_compile): Symbian needs -ldl.
6746 (shlib_target_file): New.
6747 (shlib_symbol_file): New.
6748 (gdb_load_shlibs): Use shlib_target_file.
6749 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6750 * gdb.cp/exception.exp: Use skip_stl_tests.
6751 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6752 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6753 * gdb.cp/mb-templates.exp: Ditto.
6754 * gdb.base/commands.exp: Relax regexes.
6755 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6756 shlib_target_file and shlib_symbol_file.
6757 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6758 sections.
6759 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6760 * gdb.base/solib-disc.exp: Use
6761 shlib_target_file and shlib_symbol_file.
6762 * gdb.base/unload.exp: Don't skip on symbian. Use
6763 shlib_target_file and shlib_symbol_file.
6764 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6765
6766 2010-03-12 Pedro Alves <pedro@codesourcery.com>
6767
6768 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6769 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6770 Issue a tfind end before looking for a tracepoint frame.
6771 * gdb.trace/tfind.exp: Adjust tstatus output.
6772 Adjust disassembly output.
6773 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6774
6775 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6776
6777 * gdb.base/break-interp.exp: Create new displacement parameter value
6778 for the test_ld calls.
6779 (reach): New parameter displacement, verify its content. New push of
6780 pf_prefix "reach-$func:". Import global expect_out.
6781 (test_core): New parameter displacement, verify its content. New push
6782 of pf_prefix "core:". New command "set verbose on". Import global
6783 expect_out.
6784 (test_attach): New parameter displacement, verify its content. New
6785 push of pf_prefix "attach:". New command "set verbose on". Import
6786 global expect_out.
6787 (test_ld): New parameter displacement, pass it to the reach, test_core
6788 and test_attach calls and verify its content in the "ld.so exit" test.
6789 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6790 (prelink): Update expected text, use gdb_test.
6791
6792 2010-03-10 Doug Evans <dje@google.com>
6793
6794 * gdb.base/checkpoint.exp: Fix comment.
6795 Lengthen timeout while doing >600 checkpoints test.
6796 Rename duplicate "kill all one" test to keep test names unique.
6797
6798 2010-03-10 Pedro Alves <pedro@codesourcery.com>
6799
6800 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6801
6802 2010-03-08 Keith Seitz <keiths@redhat.com>
6803
6804 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6805 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6806 (dm_type_long): New function.
6807 (dm_type_unsigned_short): New function.
6808 (dm_type_unsigned_long): New function.
6809 (myint): New typedef.
6810 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6811 long, unsigned shor and long, operator char*, and typedef.
6812 (test_lookup_operator_functions): Add operator char* test.
6813 (test_paddr_operator_functions): Likewise.
6814 (test_paddr_overloaded_functions): Use probe values for
6815 short, long, and unsigned short and long.
6816 (test_paddr_hairy_functions): If the demangler probe detected
6817 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6818 demangler.
6819 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6820 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6821 and "print null_pmf".
6822 Add test "ptype a.*pmf".
6823 * gdb.cp/overload.exp: Allow optional "int" to appear with
6824 "short" and "long".
6825 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6826 long expect value for men_overload1arg.
6827 Allow "int" to appear with "short" and "long".
6828 When testing "info break", add argument for main (void).
6829 Also allow "int" to appear with "short" and "long".
6830 Ditto with "unsigned" and "long long".
6831 * gdb.java/jmain.exp: Do not enclose methods names in single
6832 quotes.
6833 * gdb.java/jmisc.exp: Likewise.
6834 * gdb.java/jprint.exp: Likewise.
6835 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6836
6837 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6838 * gdb.cp/exception.exp (backtrace after first throw)
6839 (backtrace after second throw): Allow a namespace before __cxa_throw.
6840 (backtrace after first catch, backtrace after second catch): Allow
6841 a namespace before __cxa_begin_catch.
6842
6843 * gdb.cp/cpexprs.exp: New file.
6844 * gdb.cp/cpexprs.cc: New file.
6845
6846 From Daniel Jacobowitz <dan@codesourcery.com>
6847 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6848 to use string_to_regexp.
6849 (ctor, dtor): New functions. Use them to match constructor
6850 and destructor function types.
6851 (Top level): Use runto_main.
6852
6853 2010-03-05 Tom Tromey <tromey@redhat.com>
6854
6855 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6856 gdb.target_charset.
6857 (pp_ns.to_string): Likewise.
6858
6859 2010-03-04 Keith Seitz <keiths@redhat.com>
6860
6861 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6862 can be quoted. Test that both the filename and function/line
6863 portions can be quoted at the same time.
6864
6865 2010-03-04 Pedro Alves <pedro@codesourcery.com>
6866
6867 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6868
6869 2010-03-03 Doug Evans <dje@google.com>
6870
6871 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6872 libc contains libpthread.
6873
6874 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6875 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6876 of gdb_compile. Add another pattern to match android backtrace.
6877
6878 2010-03-03 Tom Tromey <tromey@redhat.com>
6879
6880 PR gdb/11345:
6881 * gdb.base/printcmds.exp (test_printf): Add test.
6882
6883 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6884
6885 * gdb.arch/amd64-byte.exp: New.
6886 * gdb.arch/amd64-dword.exp: Likewise.
6887 * gdb.arch/amd64-pseudo.c: Likewise.
6888 * gdb.arch/amd64-word.exp: Likewise.
6889 * gdb.arch/i386-byte.exp: Likewise.
6890 * gdb.arch/i386-pseudo.c: Likewise.
6891 * gdb.arch/i386-word.exp: Likewise.
6892
6893 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6894
6895 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6896 types. Add structreg, bitfields, and flags registers.
6897 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6898 registers.
6899
6900 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6903 (load_description): Set architecture if defined.
6904
6905 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6906
6907 * gdb.python/py-frame.exp: Add read_var block tests.
6908 * gdb.python/py-frame.c (block): New function.
6909
6910 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6911 Daniel Jacobowitz <dan@codesourcery.com>
6912
6913 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6914
6915 2010-02-25 David S. Miller <davem@davemloft.net>
6916
6917 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6918 fix logic for setting all_syscalls_numbers.
6919
6920 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6921
6922 * Makefile.in: Add py-block and py-symbol.
6923 * gdb.python/py-symbol.exp: New File.
6924 * gdb.python/py-symtab.exp: New File.
6925 * gdb.python/py-block.exp: New File.
6926 * gdb.python/py-symbol.c: New File.
6927 * gdb.python/py-block.c: New File.
6928
6929 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6930
6931 PR python/11314
6932 * lib/gdb.exp (skip_python_tests): New function.
6933 * gdb.python/py-cmd.exp: Use skip_python_tests.
6934 * gdb.python/py-frame.exp: Likewise.
6935 * gdb.python/py-function.exp: Likewise.
6936 * gdb.python/py-prettyprint.exp: Likewise.
6937 * gdb.python/py-template.exp: Likewise.
6938 * gdb.python/py-type.exp: Likewise.
6939 * gdb.python/py-value.exp: Likewise.
6940
6941 2010-02-22 Pedro Alves <pedro@codesourcery.com>
6942
6943 PR9605
6944
6945 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6946
6947 2010-02-19 Tom Tromey <tromey@redhat.com>
6948
6949 PR c++/8693, PR c++/9496:
6950 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6951 regression tests.
6952
6953 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6954
6955 Fix compatibility with m68k as.
6956 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6957 Use only /* comments */.
6958
6959 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6960
6961 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6962 * configure: Regenerate.
6963
6964 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6965
6966 * gdb.python/py-type.exp: Check for Python support.
6967
6968 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6969
6970 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6971 `regsub' syntax available.
6972
6973 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6974
6975 * gdb.base/shmain.c (main): Remove printf call.
6976 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6977 * gdb.base/unload.c (main): Make format of fprintf a string
6978 literal. Add missing endlines to prints to stderr.
6979 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6980
6981 2010-02-17 Tom Tromey <tromey@redhat.com>
6982
6983 * gdb.java/jprint.java (jprint.props): New field.
6984 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6985
6986 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6987
6988 * gdb.base/charset.exp: Don't assume new `regsub' syntax
6989 available.
6990
6991 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6992
6993 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6994 creation to support remote host testing.
6995
6996 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6997
6998 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6999 Recognize "command not found".
7000
7001 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7002
7003 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
7004 single-stepping.
7005
7006 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7007
7008 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7009 if arguments are not supported.
7010
7011 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7012
7013 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7014 be const or non-const.
7015
7016 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7017
7018 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7019 mi_send_resuming_command to send -exec-continue.
7020
7021 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7022
7023 * gdb.base/list.exp (test_list_filename_and_function): Add test
7024 with single quotes.
7025 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7026 matching.
7027 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7028 Add KFAIL'd tests for PR gdb/11289.
7029
7030 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7031
7032 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7033
7034 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7035
7036 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7037 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7038 a temporary directory.
7039
7040 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7041
7042 * gdb.base/charset.exp: Use a single regular expression to match
7043 show host-charset and show target-charset output.
7044
7045 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7046
7047 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7048 "Illegal process-id" expect string more exact.
7049 (attach to digits-starting nonsense is prohibited): New.
7050
7051 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7052
7053 * gdb.base/prelink.exp (set verbose on): New.
7054
7055 2010-02-12 Tomas Holmberg <th@virtutech.com>
7056
7057 * mi-reverse.exp: New file. Test for reverse option to the
7058 following MI commands: exec-continue, exec-finish, exec-next,
7059 exec-step, exec-next-instruction, exec-step-instruction.
7060
7061 2010-02-09 Joel Brobecker <brobecker@adacore.com>
7062
7063 * gdb.ada/ptype_tagged_param: New testcase.
7064
7065 2010-02-08 Tom Tromey <tromey@redhat.com>
7066
7067 PR c++/8017:
7068 * gdb.cp/overload.exp: Add tests.
7069 * gdb.cp/overload.cc (struct K): New.
7070 (namespace N): New.
7071 (main): Call new functions.
7072 (K::staticoverload): Define.
7073
7074 2010-02-08 Chris Moller <moller@mollerware.com>
7075
7076 PR gdb/10728
7077 * gdb.cp/pr10728-x.h: New file.
7078 * gdb.cp/pr10728-x.cc: New file.
7079 * gdb.cp/pr10728-y.cc: New file.
7080 * gdb.cp/pr10728.exp: New file.
7081 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7082
7083 2010-02-08 Chris Moller <moller@mollerware.com>
7084
7085 PR gdb/9067
7086 * gdb.cp/pr9067.exp: New
7087 * gdb.cp/pr9067.cc: New
7088 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7089
7090 2010-02-08 Joel Brobecker <brobecker@adacore.com>
7091
7092 * lib/gdb.exp (gdb_test_timeout): New global variable.
7093 Set it to timeout if not already set.
7094 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7095
7096 2010-02-05 Doug Evans <dje@google.com>
7097
7098 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7099 user.
7100
7101 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7102
7103 PR c++/7935:
7104 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7105
7106 2010-02-04 Tom Tromey <tromey@redhat.com>
7107
7108 * gdb.cp/virtbase.exp: Make test case names unique.
7109
7110 2010-02-02 Tom Tromey <tromey@redhat.com>
7111
7112 * gdb.cp/virtbase.exp: Add regression tests.
7113 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7114 (main): Instantiate RHC.
7115
7116 2010-02-02 Tom Tromey <tromey@redhat.com>
7117
7118 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7119 type-printing change.
7120
7121 2010-02-02 Tom Tromey <tromey@redhat.com>
7122
7123 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7124 * gdb.cp/virtbase.cc: New file.
7125 * gdb.cp/virtbase.exp: New file.
7126 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7127
7128 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7129
7130 PR libc/11214:
7131 * gdb.threads/current-lwp-dead.c: Include features.h.
7132 (HAS_NOMMU): New.
7133 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7134
7135 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7136
7137 * gdb.base/symbol-without-target_section.exp,
7138 gdb.base/symbol-without-target_section.c: New.
7139
7140 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7141
7142 * gdb.base/bigcore.exp: Reset increased timeout.
7143 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7144
7145 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7146
7147 * gdb.base/gcore.exp (capture_command_output): Use
7148 gdb_test_multiple.
7149
7150 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7151
7152 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7153 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7154 (Top level): Call it.
7155
7156 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7157
7158 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7159
7160 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7161
7162 * gdb.base/call-strs.exp, gdb.base/default.exp,
7163 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7164 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7165 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7166 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7167 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7168 * gdb.base/ending-run.exp: Correct restore of timeout.
7169 * gdb.base/page.exp: Remove unnecessary timeout setting.
7170
7171 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7172
7173 * gdb.ada/rec_return: New testcase.
7174
7175 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7176
7177 * gdb.ada/call_pn: New testcase.
7178
7179 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7180
7181 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7182 (Top level): Use it to resume.
7183 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7184 the Thumb mode displaced stepping error as unsupported.
7185
7186 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7187
7188 * gdb.cp/nsusing.exp: Added more tests.
7189 * gdb.cp/nsrecurs.exp: Ditto.
7190 * gdb.cp/nsusing.cc: Added test functions.
7191 * gdb.cp/nsrecurs.cc: Ditto.
7192
7193 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7196 absolute directory pathnames in gdb.sum file.
7197
7198 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7199
7200 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7201 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7202
7203 2010-01-26 Tom Tromey <tromey@redhat.com>
7204
7205 PR exp/7643:
7206 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7207 setup_kfail.
7208
7209 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7210
7211 * gdb.cp/nsrecurs.exp: New test.
7212 * gdb.cp/nsrecurs.cc: New test program.
7213 * gdb.cp/nsstress.exp: New test.
7214 * gdb.cp/nsstress.cc: New test program.
7215 * gdb.cp/nsdecl.exp: New test.
7216 * gdb.cp/nsdecl.cc: New test program.
7217
7218 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7219
7220 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7221 imported into file scope.
7222 Marked test as xfail.
7223 * gdb.cp/namespace-using.cc (marker5): New function.
7224 * gdb.cp/shadow.exp: New test.
7225 * gdb.cp/shadow.cc: New test program.
7226 * gdb.cp/nsimport.exp: New test.
7227 * gdb.cp/nsimport.cc: New test program.
7228
7229 2010-01-25 Tom Tromey <tromey@redhat.com>
7230
7231 PR gdb/11049:
7232 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7233 with "set print null-stop on".
7234
7235 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7238 Adjust it for DISASSEMBLY_OMIT_FNAME.
7239
7240 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 PR symtab/11199:
7243 * gdb.dwarf2/member-ptr-forwardref.exp,
7244 gdb.dwarf2/member-ptr-forwardref.S: New.
7245
7246 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7249 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7250 thread1_tid_mutex. Remove gdbstop_mutex handling.
7251 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7252 thread2_tid_mutex. Remove gdbstop_mutex handling.
7253 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7254 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7255 pthread_cond_wait conditionalizations by while loops.
7256
7257 2010-01-20 Tom Tromey <tromey@redhat.com>
7258
7259 PR backtrace/10770:
7260 * gdb.dwarf2/pr10770.exp: New file.
7261 * gdb.dwarf2/pr10770.c: New file.
7262 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7263
7264 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7265
7266 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7267 that target was removed, and the test always runs native anyway.
7268
7269 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7270
7271 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7272 gdb.base/watchpoint-cond-gone-stripped.c: New.
7273
7274 2010-01-19 Tom Tromey <tromey@redhat.com>
7275
7276 PR c++/8000:
7277 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7278 existing tests.
7279 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7280 (main): Use AAA::SomeEnum.
7281
7282 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7285 (test_ignore_count): Declare line_callme_body global.
7286 (run to breakpoint with ignore count): Use line_callme_body.
7287 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7288 (set line_main_hello, set line_main_return): Reindent.
7289 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7290 New.
7291 (continue to callee4): Use line_callee4_body.
7292 (check *stopped from CLI command): Use line_callee4_next.
7293 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7294 (set line_main_hello, set line_main_return): Reindent.
7295 (set line_callee4_head, set line_callee4_body): New.
7296 (continue to callee4): Use line_callee4_body.
7297
7298 2010-01-18 Tom Tromey <tromey@redhat.com>
7299
7300 PR c++/9680:
7301 * gdb.cp/casts.cc: Add new classes and variables.
7302 * gdb.cp/casts.exp: Test new operators.
7303
7304 2010-01-18 Tom Tromey <tromey@redhat.com>
7305 Thiago Jung Bauermann <bauerman@br.ibm.com>
7306
7307 * gdb.python/source2.py: New file.
7308 * gdb.python/source1: New file.
7309 * gdb.python/python.exp: Test "source" command.
7310
7311 2010-01-15 Stan Shebs <stan@codesourcery.com>
7312
7313 * gdb.trace/tfile.c: New file.
7314 * gdb.trace/tfile.exp: New file.
7315
7316 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7317
7318 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7319
7320 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7321
7322 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7323
7324 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7325
7326 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7327 (libfunc): New parameter action. Implement also selectable "sleep".
7328 * gdb.base/break-interp-main.c: Include assert.h.
7329 (libfunc): New parameter action.
7330 (main): New parameters argc and argv. Assert argc. Pass argv.
7331 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7332 (test_attach): New proc.
7333 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7334 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7335
7336 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7337
7338 * gdb.base/break-interp.exp (test_core): New proc.
7339 (test_ld): Call it.
7340
7341 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7342
7343 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7344 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7345 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7346 and gdb_compile_shlib. Use new -Wl compiler options.
7347 (dl bt, main bt): New tests.
7348
7349 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7350
7351 Support PIEs with no symfile_objfile.
7352 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7353 (test_ld): New parameter trynosym.
7354 (test_ld <$trynosym>): New block.
7355
7356 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7357
7358 * gdb.base/break-interp.exp: New file.
7359
7360 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7361
7362 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7363 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7364 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7365 test.
7366 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7367 * gdb.python/py-mi.exp: Add lazy string test.
7368
7369 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7370
7371 * lib/mi-support.exp (mi_check_thread_states): Handle
7372 core number in thread listing.
7373
7374 2010-01-12 Joel Brobecker <brobecker@adacore.com>
7375
7376 * gdb.base/maint.exp: Adjust the expected output for the
7377 "maint print type" test. Use gdb_test_multiple instead of
7378 gdb_sent/gdb_expect.
7379
7380 2010-01-11 Doug Evans <dje@google.com>
7381
7382 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7383 from gdbserver_download. All callers updated.
7384
7385 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7386
7387 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 Implement binary numbers parsing.
7390 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7391 (test_integer_literals_rejected): New binary tests.
7392
7393 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7394
7395 * gdb.cell/configure: Regenerate.
7396
7397 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7398
7399 * gdb.base/corefile.exp: Move the core finding block out and call it as
7400 core_find, new variable $corefile, replace corefile by $corefile and
7401 [file tail $corefile] for usage vs. test names resp.
7402 * lib/gdb.exp (core_find): Move it as a new function here. New
7403 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7404 $destcore. Return "" on error.
7405
7406 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7407
7408 Workaround PR binutils/10802.
7409 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7410 (twice).
7411
7412 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7413
7414 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7415
7416 2010-01-08 Joel Brobecker <brobecker@adacore.com>
7417
7418 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7419 call, to avoid interruption.
7420
7421 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7422
7423 * gdb.stabs/weird.def (args93): New.
7424
7425 2010-01-07 Doug Evans <dje@google.com>
7426
7427 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7428
7429 2010-01-07 Tom Tromey <tromey@redhat.com>
7430
7431 * gdb.base/source.exp: Use correct line number.
7432
7433 2010-01-05 Stan Shebs <stan@codesourcery.com>
7434
7435 * gdb.trace/tracecmd.exp: Test ftrace.
7436
7437 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7438
7439 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7440
7441 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7442
7443 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7444 "uint_for_mi_testing".
7445
7446 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7447
7448 Test indented comment in file being sourced.
7449 * gdb.base/commands.exp: Test indented comment in file being sourced.
7450
7451 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7452
7453 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7454 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7455 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7456 notice.
7457
7458 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7459
7460 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7461 notice.
7462
7463 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7464
7465 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7466 missing $after_stopped and comma (,) expectation.
7467
7468 2009-12-31 Stan Shebs <stan@codesourcery.com>
7469
7470 * gdb.trace/actions.exp: Test teval action.
7471
7472 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7473
7474 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7475 (top level): Call test_watchpoint_in_big_blob.
7476 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7477 watchpoints.
7478 (func3): Write to buf.
7479
7480 2009-12-29 Stan Shebs <stan@codesourcery.com>
7481
7482 * gdb.trace/actions.exp: Test default-collect.
7483
7484 2009-12-28 Stan Shebs <stan@codesourcery.com>
7485
7486 * gdb.trace/tsv.exp: New file.
7487 * gdb.base/completion.exp: Update ambiguous info output.
7488
7489 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7490
7491 * gdb.base/find.c (main): Reference search buffers.
7492 * gdb.base/included.c (main): Reference integer.
7493 * gdb.base/ptype.c (charfoo): Declare.
7494 (intfoo): Call charfoo.
7495 * gdb.base/scope0.c (useitp): New function.
7496 (usestatics): Use useitp.
7497 (useit): Add a type for val.
7498 * gdb.base/scope1.c (useit1): Take a pointer argument.
7499 (usestatics1): Update calls to useit1.
7500 * gdb.cp/call-c.cc: Declare foo.
7501 (main): Call foo.
7502 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7503 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7504 (main): Call C::ensureRefs and ensureOtherRefs.
7505 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7506 variables.
7507 (ensureOtherRefs): New function.
7508 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7509 * gdb.cp/templates.cc (main): Call t5i.value.
7510
7511 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7512
7513 Fix compatibility with G++-4.5.
7514 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7515 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7516 (uncaught return): Remove.
7517
7518 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7519 Phil Muldoon <pmuldoon@redhat.com>
7520
7521 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7522 (bp_location13, bp_location14, bp_location17, bp_location18)
7523 (marker3_proto, marker4_proto): New variables.
7524 (breakpoint info): Update output.
7525 (run until breakpoint at marker3, run until breakpoint at marker4): New
7526 tests.
7527
7528 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7529
7530 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7531 Replace the printf call of Y by provided "y-set-1" label. New block
7532 for the second shared library.
7533 * gdb.base/unload.exp: Compile also the second library, call
7534 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7535 (single pending breakpoint info): Rename to ...
7536 (pending breakpoint info before run): ... this extended test.
7537 (libfile2, libname2, libsrcfile2, libsrc2)
7538 (lib_sl2): New variables.
7539 (exec_opts): Set also SHLIB_NAME2.
7540 (pending breakpoint info on first run at shrfunc1)
7541 (pending breakpoint info on second run at shrfunc1)
7542 (pending breakpoint info on second run at shrfunc2)
7543 (print y from libfile, print y from libfile2): New tests.
7544 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7545 * gdb.base/unloadshr2.c: New.
7546
7547 2009-12-22 Hui Zhu <teawater@gmail.com>
7548
7549 * gdb.reverse/sigall-reverse.exp: Adjust.
7550
7551 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7552
7553 PR gdb/10884
7554
7555 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7556 (main): Call do_bitfield_tests.
7557 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
7558
7559 2009-12-20 Joel Brobecker <brobecker@adacore.com>
7560
7561 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7562 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7563 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7564 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7565 gdb.modula2/unbounded1.c: Update copyright header.
7566
7567 2009-12-10 Chris Moller <moller@mollerware.com>
7568
7569 PR gdb/9399
7570 * gdb.cp/virtfunc2.exp: New tests
7571 * gdb.cp/virtfunc2.cc: New tests
7572 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7573
7574 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7575
7576 * gdb.reverse/i387-env-reverse.c: New file.
7577 * gdb.reverse/i387-env-reverse.exp: New file.
7578 * gdb.reverse/i387-stack-reverse.c: New file.
7579 * gdb.reverse/i387-stack-reverse.exp: New file.
7580
7581 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7582
7583 * gdb.python/py-type.exp (test_range): New test.
7584
7585 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7586
7587 PR python/10805
7588
7589 * gdb.python/py-type.exp: New file.
7590 * gdb.python/py-type.c: New file.
7591 * Makefile.in: Add py-type.
7592
7593 2009-12-03 Tom Tromey <tromey@redhat.com>
7594
7595 * gdb.python/py-value.exp (test_parse_and_eval): New
7596 function.
7597
7598 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7599
7600 PR gdb/11022
7601
7602 * gdb.base/pr11022.exp: New test.
7603 * gdb.base/pr11022.c: New test.
7604
7605 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7606
7607 Fix spurious false FAILs.
7608 * gdb.base/structs.c (chartest): New.
7609 (main): Fill-in chartest.
7610 * gdb.base/structs.exp (anychar_re, first): New.
7611 (start_structs_test): Import global anychar_re and first.
7612 New gdb_test call "set print elements 300; ${testfile}"
7613 (start_structs_test <$first>): New block.
7614 (any): Import global anychar_re. New variable ac. Use ${ac}.
7615
7616 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7617
7618 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7619
7620 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7623 Force $srcfile file.
7624 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7625
7626 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7627
7628 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7629 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7630 * gdb.threads/watchthreads-reorder.exp: Likewise.
7631
7632 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7633
7634 PR gdb/8704
7635
7636 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7637 "if", and "thread". Correct matching in the previous test.
7638
7639 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7640
7641 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7642
7643 2009-11-23 Michael Snyder <msnyder@vmware.com>
7644
7645 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7646 * gdb.reverse-watch-precsave.exp: Ditto.
7647
7648 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7649
7650 * gdb.asm/asm-source.exp: Adjust.
7651 * gdb.base/help.exp: Adjust.
7652
7653 2009-11-22 Pedro Alves <pedro@codesourcery.com>
7654
7655 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7656 (do_syscall_tests_without_xml): Set data-directory to
7657 /the/path/to/nowhere.
7658
7659 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7660
7661 * gdb.threads/local-watch-wrong-thread.c,
7662 gdb.threads/local-watch-wrong-thread.exp: New files.
7663
7664 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7665
7666 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7667 assume new `regsub' syntax available.
7668
7669 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 * gdb.base/watchpoint-hw-hit-once.exp,
7672 gdb.base/watchpoint-hw-hit-once.c: New.
7673
7674 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7675
7676 * gdb.threads/watchthreads-reorder.exp,
7677 gdb.threads/watchthreads-reorder.c: New.
7678
7679 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7680
7681 * gdb.xml/tdesc-regs.exp: Use for m68k.
7682
7683 2009-11-15 Pedro Alves <pedro@codesourcery.com>
7684
7685 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7686
7687 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7688
7689 * lib/gdb.exp (current_target_name): New procedure.
7690 (gdb_wrapper_target): New variable.
7691 (gdb_wrapper_init): Set gdb_wrapper_target.
7692 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7693 wrapper.
7694
7695 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7696
7697 * gdb.base/remote.exp: Delete the slowest load test.
7698 Do not load with fixed packet sizes.
7699
7700 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7701
7702 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7703
7704 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7705
7706 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7707 srcfile when setting a breakpoint.
7708
7709 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7710
7711 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7712 macros.
7713
7714 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7715
7716 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7717 to be in memory.
7718 * gdb.base/display.c (force_mem): New.
7719 (do_loops): Use it. Add breakpoint comments.
7720 (do_vars): Add a breakpoint comment.
7721 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7722 line numbers.
7723
7724 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7725
7726 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7727 instead of a bare "run".
7728
7729 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7730
7731 * gdb.python/py-prettyprint.exp: Adjust.
7732
7733 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7734
7735 * lib/cell.exp (skip_cell_tests): Clean up test files before
7736 returning.
7737
7738 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7739
7740 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7741 and the breakpoint menu. Do not call perror if a prompt is seen.
7742 Consume the following GDB prompt.
7743 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7744 * gdb.cp/namespace.exp: Use gdb_test.
7745 * gdb.cp/templates.exp: Use gdb_test.
7746 (test_template_breakpoints): Use gdb_test_multiple.
7747
7748 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7749
7750 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7751 (marker4): Reference values.
7752
7753 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7754
7755 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7756 is missing.
7757
7758 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7759
7760 * gdb.base/break.c (need_malloc): New.
7761 * gdb.base/constvars.c (main): Reference crass and crisp.
7762 * gdb.base/gdb1821.c (main): Reference bar.
7763 * gdb.cp/gdb1355.cc (main): Reference s1.
7764 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7765 (main): Call them.
7766 * gdb.cp/hang2.cc (dummy2): Define.
7767 * gdb.cp/hang3.cc (dummy3): Define.
7768 * gdb.cp/m-data.cc (main): Reference shadow.
7769
7770 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7771 Nathan Froyd <froydnj@codesourcery.com>
7772
7773 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7774 remote host.
7775
7776 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7777
7778 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7779 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7780 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7781 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7782 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7783 * gdb.dwarf2/dw2-producer.exp: Likewise.
7784 * gdb.dwarf2/mac-fileno.exp: Likewise.
7785 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7786 py-prettyprint.py to the remote host.
7787 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7788
7789 2009-11-11 Keith Seitz <keiths@redhat.com>
7790
7791 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7792 use it instead of "Foo".
7793 * gdb.cp/classes.exp (do_tests): Add a test to access
7794 a method through a typedef'd class name.
7795
7796 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7797
7798 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7799 exponents.
7800 * gdb.base/pointers.exp: Likewise.
7801 * gdb.cp/ref-types.exp: Likewise.
7802
7803 2009-11-11 Keith Seitz <keiths@redhat.com>
7804
7805 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7806 new[] and delete[].
7807 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7808 "void".
7809 (probe_demangler): Remove all single-quoting of
7810 method and variable names.
7811 (info_func_regexp): Remove the word "void" from any
7812 occurrence of "(void)".
7813 (print_addr_2): Remove all single-quoting of
7814 method names.
7815 (print_addr_2_kfail): Likewise.
7816 (print_addr): Single-quote C function names before
7817 passing to print_addr_2.
7818 (test_paddr_operator_functions): Remove single-quoting
7819 for method names.
7820 Add tests for operator new[] and operator delete[].
7821
7822 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7823
7824 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7825
7826 2009-11-09 Keith Seitz <keiths@redhat.com>
7827
7828 * gdb.cp/overload.exp: Add tests for resolving overloaded
7829 methods in expression parsing/evaluation.
7830
7831 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7832
7833 * lib/gdb.exp (default_gdb_version): Use --version instead of
7834 --command.
7835
7836 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7837
7838 * lib/gdb.exp (gdb_compile_test): New.
7839 (skip_ada_tests, skip_java_tests): New.
7840 (gdb_compile): Use gdb_compile_test for f77.
7841 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7842 * lib/java.exp (compile_java_from_source): Remove runtests check,
7843 use gdb_compile_test to record result.
7844 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7845 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7846 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7847 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7848 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7849 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7850 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7851 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7852 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7853 adjust gdb_compile invocations.
7854
7855 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7856
7857 * Makefile.in (abs_builddir): New.
7858 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7859 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7860 `$(abs_builddir)/site.exp'.
7861
7862 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7863
7864 * config/m68k-emc.exp, lib/emc-support.exp,
7865 gdb.trace/gdb_c_test.c: Delete.
7866 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7867 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7868 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7869 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7870 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7871 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7872 casing for m68k-*-elf.
7873
7874 2009-11-03 Pedro Alves <pedro@codesourcery.com>
7875
7876 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7877 * gdb.arch/i386-prologue.exp: Likewise.
7878 * gdb.arch/i386-unwind.exp: Likewise.
7879
7880 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7881
7882 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7883
7884 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7885
7886 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7887
7888 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7889
7890 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7891
7892 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7893
7894 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7895
7896 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7897
7898 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7899 * gdb.base/sepdebug2.c: New file.
7900
7901 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7902
7903 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7904 the modified warnings for catch syscall. Verify if GDB was compiled
7905 with support for lib expat, and choose which tests to run depending
7906 on this.
7907
7908 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7909
7910 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7911 that composite commands are parsed OK. And also test
7912 that breakpoint commands do work.
7913
7914 2009-10-23 Michael Snyder <msnyder@vmware.com>
7915
7916 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7917 to allow for new disassembly style.
7918
7919 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7920
7921 * gdb.asm/asm-source.exp: Adjust.
7922
7923 2009-10-22 Michael Snyder <msnyder@vmware.com>
7924
7925 * gdb.reverse/break-precsave.exp: New test.
7926 * gdb.reverse/consecutive-precsave.exp: Ditto.
7927 * gdb.reverse/finish-precsave.exp: Ditto.
7928 * gdb.reverse/i386-precsave.exp: Ditto.
7929 * gdb.reverse/machinestate-precsave.exp: Ditto.
7930 * gdb.reverse/sigall-precsave.exp: Ditto.
7931 * gdb.reverse/solilb-precsave.exp: Ditto.
7932 * gdb.reverse/step-precsave.exp: Ditto.
7933 * gdb.reverse/until-precsave.exp: Ditto.
7934 * gdb.reverse/watch-precsave.exp: Ditto.
7935
7936 2009-10-22 Michael Snyder <msnyder@vmware.com>
7937
7938 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7939 for gdb_expect. Adjust one test's expect strings for the new
7940 format of disassemble.
7941 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7942 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7943 gdb_test_multiple.
7944 * gdb.reverse/step-reverse.exp: Delete 'return'.
7945 * gdb.reverse/until-reverse.exp: Delete blank lines.
7946 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7947
7948 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7949
7950 * gdb.base/consecutive.exp: Adjust.
7951 * gdb.base/display.exp: Likewise.
7952 * gdb.base/pc-fp.exp: Likewise.
7953 * gdb.base/sigbpt.exp: Likewise.
7954
7955 2009-10-19 Michael Snyder <msnyder@vmware.com>
7956
7957 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7958 * gdb.reverse/finish-reverse.c: Ditto.
7959 * gdb.reverse/sigall-reverse.c: Ditto.
7960 * gdb.reverse/solib-reverse.c: Ditto.
7961 * gdb.reverse/step-reverse.c: Ditto.
7962 * gdb.reverse/watch-reverse.c: Ditto.
7963
7964 2009-10-19 Pedro Alves <pedro@codesourcery.com>
7965 Stan Shebs <stan@codesourcery.com>
7966
7967 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7968 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7969 "Executing new program".
7970 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7971 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7972 left listed after having been killed.
7973 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7974 * gdb.base/maint.exp: Adjust test.
7975
7976 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7977 * gdb.multi/Makefile.in: New.
7978 * gdb.multi/base.exp: New.
7979 * gdb.multi/goodbye.c: New.
7980 * gdb.multi/hangout.c: New.
7981 * gdb.multi/hello.c: New.
7982 * gdb.multi/bkpt-multi-exec.c: New.
7983 * gdb.multi/bkpt-multi-exec.exp: New.
7984 * gdb.multi/crashme.c: New.
7985
7986 2009-10-13 Tristan Gingold <gingold@adacore.com>
7987
7988 * gdb.base/sepdebug.exp: Check debug info are found.
7989
7990 2009-10-08 Pedro Alves <pedro@codesourcery.com>
7991
7992 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7993 bits.
7994
7995 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7996
7997 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7998
7999 2009-10-07 Joel Brobecker <brobecker@adacore.com>
8000
8001 * gdb.base/watchpoints.c: Add copyright header. Reformat one
8002 of the comments.
8003
8004 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
8005
8006 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8007 * gdb.base/annota3.exp: Idem.
8008 * gdb.base/maint.exp: Idem.
8009
8010 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8011
8012 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8013 to default.
8014
8015 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8016
8017 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
8018 mingw and cygwin targets.
8019
8020 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8021 Pedro Alves <pedro@codesourcery.com>
8022
8023 * lib/gdb.exp (gdb_compile): Avoid adding
8024 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8025
8026 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8027
8028 * gdb.base/shr1.c: Use %p in format string.
8029 * gdb.base/unload.c: Avoid warning in fprintf.
8030 * gdb.base/watchpoint-solib.c: Idem.
8031
8032 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8033
8034 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8035 long type.
8036 (test_unlink): Correct printf string.
8037 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8038 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8039
8040 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8041
8042 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8043 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8044 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8045
8046 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8047
8048 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8049 * gdb.objc/nondebug.exp: Likewise.
8050
8051 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8052
8053 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8054 target_info setting.
8055
8056 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8057 that detect new threads during "info threads".
8058
8059 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8060
8061 * gdb.threads/manythreads.c (main): Increase thread stack size
8062 to 2*PTHREAD_STACK_MIN.
8063 * gdb.threads/multi-create.c (main): Likewise.
8064 (create_function): Likewise.
8065
8066 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8067
8068 * gdb.base/dump.exp: Pass difference of pointer types instead
8069 of integer types as offset to restore in intarr3.srec case.
8070
8071 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8072
8073 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8074
8075 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8076
8077 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8078
8079 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
8080
8081 New test for two watchpoints, with disabling of
8082 the first inserted.
8083 * testsuite/gdb.base/watchpoints.c: New file.
8084 * testsuite/gdb.base/watchpoints.exp: New file.
8085
8086 2009-09-25 Tom Tromey <tromey@redhat.com>
8087
8088 * gdb.base/charset.exp: Test utf-16 strings with Python.
8089
8090 2009-09-25 Tom Tromey <tromey@redhat.com>
8091
8092 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8093 UCS-4.
8094 * gdb.base/charset.c (utf_32_string): Rename.
8095 (init_utf32): Rename.
8096 (main): Update.
8097
8098 2009-09-22 Tom Tromey <tromey@redhat.com>
8099
8100 * gdb.python/py-function.exp: Add regression tests.
8101
8102 2009-09-21 Keith Seitz <keiths@redhat.com>
8103
8104 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8105 with invalid operator.
8106
8107 2009-09-21 Keith Seitz <keiths@redhat.com>
8108
8109 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8110 and destructor using typedef name of class.
8111 * gdb.cp/classes.cc (class Base1): Add a destructor.
8112 (base1): New typedef.
8113 (use_methods): Instanitate an object of type base1.
8114 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8115 (do_tests): Call test_template_typedef.
8116 * gdb.cp/templates.cc (Baz::~Baz): New method.
8117 (intBazOne): New typedef.
8118 (main): Instantiate intBazOne.
8119
8120 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8121
8122 PR python/10633
8123
8124 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8125 Function.
8126 (run_lang_tests): Add print elements test.
8127
8128 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8129
8130 * gdb.python/py-value.exp (test_subscript_regression): New
8131 function. Test for invalid subscripts.
8132 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8133 (ptr_ref): New function.
8134
8135 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8136
8137 * gdb.base/default.exp: Fix "show convenience".
8138
8139 2009-09-15 Tom Tromey <tromey@redhat.com>
8140
8141 * lib/mi-support.exp (mi_create_varobj): Update.
8142 (mi_create_floating_varobj): Likewise.
8143 (mi_create_dynamic_varobj): New proc.
8144 (mi_varobj_update): Update.
8145 (mi_varobj_update_with_type_change): Likewise.
8146 (mi_varobj_update_kv_helper): New proc.
8147 (mi_varobj_update_dynamic_helper): Rewrite.
8148 (mi_varobj_update_dynamic): New proc.
8149 (mi_list_varobj_children): Update.
8150 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8151 * gdb.python/python-prettyprint.py (pp_outer): New class.
8152 (pp_nullstr): Likewise.
8153 (lookup_function): Register new printers.
8154 * gdb.python/python-prettyprint.c (struct substruct): New type.
8155 (struct outerstruct): Likewise.
8156 (substruct_test): New function.
8157 (struct nullstr): New type.
8158 (string_1, string_2): New globals.
8159 (main): Add new tests.
8160 * gdb.python/python-mi.exp: Added regression tests.
8161 * gdb.mi/mi2-var-display.exp: Update.
8162 * gdb.mi/mi2-var-cmd.exp: Update.
8163 * gdb.mi/mi2-var-child.exp: Update.
8164 * gdb.mi/mi2-var-block.exp: Update.
8165 * gdb.mi/mi-var-invalidate.exp: Update.
8166 * gdb.mi/mi-var-display.exp: Update.
8167 * gdb.mi/mi-var-cmd.exp: Update.
8168 * gdb.mi/mi-var-child.exp: Update.
8169 * gdb.mi/mi-var-block.exp: Update.
8170 * gdb.mi/mi-break.exp: Update.
8171 * gdb.mi/gdb701.exp: Update.
8172
8173 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8174
8175 * Makefile.in: Inclusion of catch-syscall object.
8176 * gdb.base/catch-syscall.c: New file.
8177 * gdb.base/catch-syscall.exp: New file.
8178
8179 2009-09-12 Michael Snyder <msnyder@vmware.com>
8180
8181 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8182 that can support reverse debuggnig.
8183
8184 2009-09-11 Tom Tromey <tromey@redhat.com>
8185
8186 * gdb.dwarf2/valop.S: New file.
8187 * gdb.dwarf2/valop.exp: New file.
8188
8189 2009-09-11 Mark Kettenis <kettenis@gnu.org>
8190
8191 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8192
8193 2009-09-10 Doug Evans <dje@google.com>
8194
8195 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8196 Add $gdb_prompt to second breakpoint regexp.
8197
8198 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8199
8200 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8201 names, add missing ones.
8202 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8203 * gdb.python/py-frame.c: Rename from python-frame.c.
8204 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8205 testfile name.
8206 * gdb.python/py-function.exp: Rename from python-function.exp.
8207 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8208 testfile name.
8209 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8210 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8211 Adjust testfile name.
8212 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8213 * gdb.python/py-template.cc: Rename from python-template.cc.
8214 * gdb.python/py-template.exp: Rename from python-template.exp.
8215 Adjust testfile name.
8216 * gdb.python/py-value.c: Rename from python-value.c.
8217 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8218 testfile name.
8219
8220 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8221
8222 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8223 $bpt2address.
8224 (Second breakpoint address is valid on ia64)
8225 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8226
8227 2009-09-03 Joseph Myers <joseph@codesourcery.com>
8228
8229 * gdb.base/ending-run.exp: Restrict regular expression matching
8230 line number to require closing brace following.
8231
8232 2009-09-03 Doug Evans <dje@google.com>
8233
8234 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8235
8236 2009-09-02 Tom Tromey <tromey@redhat.com>
8237
8238 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8239
8240 2009-09-02 Tom Tromey <tromey@redhat.com>
8241
8242 * gdb.dwarf2/callframecfa.exp: New file.
8243 * gdb.dwarf2/callframecfa.S: New file.
8244
8245 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8246
8247 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8248 gdb.base/solib-overlap-main.c: New.
8249
8250 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8251
8252 PR gdb/10565
8253
8254 * gdb.base/bitfields.c (struct container, container): New.
8255 (main): Initialize it and call break5.
8256 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8257
8258 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8259
8260 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8261 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8262
8263 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8264
8265 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8266
8267 2009-08-26 Michael Snyder <msnyder@vmware.com>
8268
8269 * gdb.base/i386-reverse.c: New file.
8270 * gdb.base/i386-reverse.exp: New file.
8271 * gdb.base/Makefile.in: Add new files to be removed.
8272
8273 2009-08-26 Joseph Myers <joseph@codesourcery.com>
8274
8275 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8276 environment-pwd for remote host.
8277 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8278
8279 2009-08-24 Keith Seitz <keiths@redhat.com>
8280
8281 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8282 Add two new C++ completer tests which limit the output to a
8283 given class.
8284
8285 2009-08-24 Michael Snyder <msnyder@vmware.com>
8286
8287 * gdb.base/del.exp: Fix typo in comment.
8288 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8289
8290 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8291
8292 * configure: Regenerate.
8293 * gdb.hp/configure: Likewise.
8294 * gdb.hp/gdb.aCC/configure: Likewise.
8295 * gdb.hp/gdb.base-hp/configure: Likewise.
8296 * gdb.hp/gdb.compat/configure: Likewise.
8297 * gdb.hp/gdb.defects/configure: Likewise.
8298 * gdb.hp/gdb.objdbg/configure: Likewise.
8299 * gdb.stabs/configure: Likewise.
8300
8301 2009-08-19 Doug Evans <dje@google.com>
8302
8303 * gdb.base/gdbvars.c: New file.
8304 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8305
8306 2009-08-14 Pedro Alves <pedro@codesourcery.com>
8307
8308 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8309 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8310
8311 2009-08-13 Pedro Alves <pedro@codesourcery.com>
8312
8313 * gdb.base/default.exp: Adjust "set language test": it's now an
8314 enum command. Larger help string moved to "help set language".
8315 * gdb.base/help.exp: Adjust "help set language" expected output,
8316 now lists all known languages.
8317
8318 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8319
8320 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8321 all frame arguments.
8322 * gdb.arch/altivec-regs.exp: Likewise.
8323
8324 2009-08-07 Tom Tromey <tromey@redhat.com>
8325
8326 * gdb.base/setshow.exp: Add tests for changes to set language, set
8327 check range, and set check type.
8328
8329 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8330
8331 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8332 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
8333 Call it.
8334
8335 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8336
8337 * configure.ac: Run gdb.cell tests when appropriate.
8338 * configure: Regenerate.
8339 * lib/cell.exp: New file.
8340 * gdb.cell: New directory.
8341 * gdb.cell/configure.ac: New file.
8342 * gdb.cell/configure: New file.
8343 * gdb.cell/Makefile.in: New file.
8344 * gdb.cell/arch.exp: New file.
8345 * gdb.cell/break.c: New file.
8346 * gdb.cell/break.exp: New file.
8347 * gdb.cell/break-spu.c: New file.
8348 * gdb.cell/bt.c: New file.
8349 * gdb.cell/bt2-spu.c: New file.
8350 * gdb.cell/bt-spu.c: New file.
8351 * gdb.cell/bt.exp: New file.
8352 * gdb.cell/coremaker.c: New file.
8353 * gdb.cell/coremaker-spu.c: New file.
8354 * gdb.cell/core.exp: New file.
8355 * gdb.cell/gcore.exp: New file.
8356 * gdb.cell/data.c: New file.
8357 * gdb.cell/data.exp: New file.
8358 * gdb.cell/data-spu.c: New file.
8359 * gdb.cell/ea-cache.exp: New file.
8360 * gdb.cell/ea-cache.c: New file.
8361 * gdb.cell/ea-cache-spu.c: New file.
8362 * gdb.cell/ea-standalone.c: New file.
8363 * gdb.cell/ea-standalone.exp: New file.
8364 * gdb.cell/ea-test.c: New file.
8365 * gdb.cell/ea-test.exp: New file.
8366 * gdb.cell/f-regs.exp: New file.
8367 * gdb.cell/mem-access.c: New file.
8368 * gdb.cell/mem-access.exp: New file.
8369 * gdb.cell/mem-access-spu.c: New file.
8370 * gdb.cell/ptype.exp: New file.
8371 * gdb.cell/registers.exp: New file.
8372 * gdb.cell/size.c: New file.
8373 * gdb.cell/sizeof.exp: New file.
8374 * gdb.cell/size-spu.c: New file.
8375 * gdb.cell/solib.exp: New file.
8376 * gdb.cell/solib-symbol.exp: New file.
8377
8378 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8379
8380 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8381
8382 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8383
8384 * gdb.base/float.exp: Handle VFP registers.
8385
8386 2009-07-14 Michael Snyder <msnyder@vmware.com>
8387
8388 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8389 to bring gdb to the beginning of the calling line.
8390
8391 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8392 confusing the i386 epilogue unwinder.
8393
8394 2009-07-14 Stan Shebs <stan@codesourcery.com>
8395
8396 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8397
8398 2009-07-14 Michael Snyder <msnyder@vmware.com>
8399
8400 * gdb.reverse/step-reverse.exp (stepi into function call):
8401 Call instruction may not be first instruction in the line.
8402 (reverse stepi from a function call): Used wrong line number.
8403
8404 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8405
8406 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8407
8408 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 Fix gdb.base/macscp.exp when using custom inputrc.
8411 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8412 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8413 env(TERM) set.
8414 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8415 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8416
8417 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8418
8419 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8420 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8421 Change the compilation target to match the testcase name.
8422 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8423 testcase name.
8424 * a2-run.exp: Use for setup prepare_for_testing. Change the
8425 compilation target to match the testcase name.
8426 * gdb.base/commands.exp: Likewise.
8427 * gdb.base/finish.exp: Likewise.
8428 * gdb.base/float.exp: Likewise.
8429 * gdb.base/info-target.exp: Likewise.
8430 * gdb.base/relational.exp: Likewise.
8431 * gdb.base/term.exp: Likewise.
8432 * gdb.base/until.exp: Likewise.
8433 * gdb.base/volatile.exp: Likewise.
8434 * gdb.base/whatis-exp.exp: Likewise.
8435
8436 2009-07-11 Hui Zhu <teawater@gmail.com>
8437
8438 * gdb.base/help.exp (disassemble): Update expected help text.
8439
8440 2009-07-09 Tom Tromey <tromey@redhat.com>
8441
8442 * lib/gdb.exp: Handle TRANSCRIPT.
8443 (remote_spawn, remote_close, send_gdb): New procs.
8444
8445 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8446
8447 * gdb.python/python-prettyprint.c: Add counted null string
8448 structure.
8449 * gdb.python/python-prettyprint.exp: Print null string. Test for
8450 embedded nulls.
8451 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8452 * gdb.python/python-value.exp (test_value_in_inferior): Add
8453 variable length string fetch tests.
8454 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8455
8456 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8457
8458 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8459
8460 2009-07-07 Tom Tromey <tromey@redhat.com>
8461
8462 * gdb.base/call-rt-st.exp: Update for change to escape output.
8463 * gdb.base/callfuncs.exp: Likewise.
8464 * gdb.base/charset.exp: Likewise.
8465 * gdb.base/constvars.exp: Likewise.
8466 * gdb.base/long_long.exp: Likewise.
8467 * gdb.base/pointers.exp: Likewise.
8468 * gdb.base/printcmds.exp: Likewise.
8469 * gdb.base/setvar.exp: Likewise.
8470 * gdb.base/store.exp: Likewise.
8471 * gdb.cp/ref-types.exp: Likewise.
8472 * gdb.mi/mi-var-child.exp: Likewise.
8473 * gdb.mi/mi-var-display.exp: Likewise.
8474 * gdb.mi/mi2-var-display.exp: Likewise.
8475 * gdb.base/charset.exp: Test octal escape sequence length.
8476 Update for change to escape output.
8477
8478 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8479
8480 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8481
8482 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8483
8484 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8485
8486 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8487
8488 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8489 gdbserver increasing $portnum if "Can't bind address" has been seen.
8490
8491 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8492
8493 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8494 mingw32ce.
8495
8496 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8497
8498 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8499 VFP format.
8500
8501 2009-07-02 Pedro Alves <pedro@codesourcery.com>
8502
8503 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8504 linux. Adjust to use "inferior", "info inferiors", "detach
8505 inferior" and "kill inferior" instead of "restart", "info fork",
8506 "detach fork" and "delete fork".
8507 * gdb.base/ending-run.exp: Spell out "info".
8508 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8509 the "kill" command.
8510
8511 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8512
8513 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8514 change to prefix TLS offset in hex with 0x.
8515
8516 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8517
8518 * gdb.base/default.exp: Update test case for "x" changes.
8519
8520 2009-07-01 Tristan Gingold <gingold@adacore.com>
8521
8522 * gdb.base/bigcore.exp: Make darwin untested.
8523
8524 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8525
8526 * gdb.base/completion.exp (directory completion): Create the directory.
8527 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8528 escapeuniquesub.
8529 (directory completion 2): Expect now ${escapeuniquesub}.
8530 (Glob remaining of directory test): Remove one excessive newline.
8531 Expect the real output.
8532
8533 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8534
8535 Fix `make check//%' target after `make check' has been ran.
8536 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8537 a mkdir call.
8538 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8539 (%/.dir): Remove.
8540
8541 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8542
8543 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8544 the expected result record.
8545
8546 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 Remove racy FAILs relying just on the timeouts.
8549 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8550 (annotation_level 2): Remove racy FAILs.
8551
8552 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8553
8554 gdb/10275
8555 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8556
8557 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8558
8559 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8560
8561 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8562
8563 * gdb.mi/mi-stack.exp: Testing symbolic options
8564 to -stack-list-locals and -stack-list-arguments.
8565
8566 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8569
8570 2009-06-29 Tom Tromey <tromey@redhat.com>
8571
8572 * dg-extract-results.sh: New file.
8573 * Makefile.in (FORCE_PARALLEL): New variable.
8574 (CHECK_TARGET): New conditional variable.
8575 (check): Use CHECK_TARGET.
8576 (DO_RUNTEST): New variable.
8577 (check-single): New target.
8578 (TEST_DIRS): New variable.
8579 (TEST_TARGETS): Likewise.
8580 (check-parallel): New target.
8581 (check-gdb.%): New pattern.
8582 (BASE1_FILES): New variable.
8583 (BASE2_FILES): Likewise.
8584 (check-gdb.base%): New pattern.
8585 (%/.dir): New pattern.
8586 * configure: Rebuild.
8587 * aclocal.m4 (AM_CONDITIONAL): New defun.
8588 * configure.ac: Check whether user is using GNU make.
8589 (GMAKE): New conditional.
8590
8591 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8592
8593 * gdb.cp/namespace-nested-import.cc: New test.
8594 * gdb.cp/namespace-nested-import.exp: New test.
8595
8596 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8597
8598 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8599 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8600 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8601 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8602 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8603 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8604 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8605 gdb.opt/inline-markers.c: New files.
8606 * lib/gdb.exp (skip_inline_frame_tests): New function.
8607 (skip_inline_var_tests): New function.
8608
8609 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8610
8611 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8612 backtrace.
8613
8614 2009-06-27 Michael Snyder <msnyder@vmware.com>
8615
8616 * gdb.reverse: New directory.
8617 * gdb.reverse/break-reverse.c: New test.
8618 * gdb.reverse/break-reverse.exp: New test.
8619 * gdb.reverse/consecutive-reverse.c: New test.
8620 * gdb.reverse/consecutive-reverse.exp: New test.
8621 * gdb.reverse/finish-reverse.c: New test.
8622 * gdb.reverse/finish-reverse.exp: New test.
8623 * gdb.reverse/machinestate.c: New test.
8624 * gdb.reverse/ms1.c: New test.
8625 * gdb.reverse/machinestate.exp: New test.
8626 * gdb.reverse/Makefile.in: New file.
8627 * gdb.reverse/shr2.c: New test.
8628 * gdb.reverse/solib-reverse.c: New test.
8629 * gdb.reverse/solib-reverse.exp: New test.
8630 * gdb.reverse/step-reverse.c: New test.
8631 * gdb.reverse/step-reverse.exp: New test.
8632 * gdb.reverse/until-reverse.c: New test.
8633 * gdb.reverse/ur1.c: New test.
8634 * gdb.reverse/until-reverse.exp: New test.
8635 * gdb.reverse/watch-reverse.c: New test.
8636 * gdb.reverse/watch-reverse.exp: New test.
8637 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8638 * configure: Regenerate.
8639
8640 2009-06-26 Doug Evans <dje@google.com>
8641
8642 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8643
8644 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8645
8646 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8647 windows problem for 'file delete $binfile'.
8648
8649 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8650
8651 * gdb.cp/namespace-using.exp: New test.
8652 * gdb.cp/namespace-using.cc: New test.
8653
8654 2009-05-20 Joel Brobecker <brobecker@adacore.com>
8655
8656 * gdb.ada/variant_record_packed_array: New testcase.
8657
8658 2009-06-23 Tom Tromey <tromey@redhat.com>
8659
8660 * gdb.base/charset.exp (test_combination): Regression test.
8661 * gdb.base/charset.c (my_wchar_t): New typedef.
8662 (myvar): New global.
8663 (main): Set myvar.
8664
8665 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8666
8667 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8668 target.
8669
8670 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8671
8672 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8673
8674 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8675
8676 * gdb.mi/gdb680.exp: Update test for error message.
8677
8678 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8679
8680 * gdb.base/annota1.exp: Allow multiple occurrences of the
8681 frames-invalid annotation.
8682 * gdb.cp/annota2.exp: Likewise.
8683
8684 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8685
8686 * gdb.cp/gdb2495.cc: New file.
8687 * gdb.cp/gdb2495.exp: New file.
8688
8689 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 Report error on GDB crash during runto.
8692 * lib/gdb.exp (runto <eof>): New.
8693
8694 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8695
8696 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8697 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8698 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8699 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8700 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8701 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8702 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8703 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8704 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8705 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8706 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8707 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8708 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8709 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8710 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8711 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8712 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8713 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8714 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8715 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8716 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8717 gdb.trace/passcount.exp, gdb.trace/report.exp,
8718 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8719 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8720 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8721 executable.
8722
8723 2009-06-07 Pedro Alves <pedro@codesourcery.com>
8724
8725 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8726 defined before referencing it.
8727
8728 2009-06-03 Doug Evans <dje@google.com>
8729
8730 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8731 * gdb.arch/i386-see.c: Ditto.
8732
8733 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8734
8735 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8736 (check_macro): Return 1 if undefined.
8737 If first test fails, check if macro debug information is available,
8738 and report unsupported test if no macro information is found.
8739
8740 2009-05-29 Doug Evans <dje@google.com>
8741
8742 * gdb.threads/hand-call-in-threads.exp: New.
8743 * gdb.threads/hand-call-in-threads.c: New.
8744
8745 2009-05-29 Michael Snyder <msnyder@vmware.com>
8746
8747 * gdb.base/break-always.exp: Change "1" to "on".
8748 Add confirmation check.
8749
8750 2009-05-28 Pedro Alves <pedro@codesourcery.com>
8751
8752 * gdb.threads/threxit-hop-specific.c: New.
8753 * gdb.threads/threxit-hop-specific.exp: New.
8754 * gdb.threads/thread-execl.c: New.
8755 * gdb.threads/thread-execl.exp: New.
8756
8757 2009-05-27 Tom Tromey <tromey@redhat.com>
8758 Thiago Jung Bauermann <bauerman@br.ibm.com>
8759
8760 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8761 (mi_child_regexp): Likewise.
8762 (mi_list_varobj_children_range): Likewise.
8763 (mi_get_features): Likewise.
8764 (mi_list_varobj_children): Rewrite.
8765 * gdb.python/python-mi.exp: New file.
8766
8767 2009-05-27 Tom Tromey <tromey@redhat.com>
8768 Thiago Jung Bauermann <bauerman@br.ibm.com>
8769 Phil Muldoon <pmuldoon@redhat.com>
8770 Paul Pluzhnikov <ppluzhnikov@google.com>
8771
8772 * gdb.python/python-prettyprint.exp: New file.
8773 * gdb.python/python-prettyprint.c: New file.
8774 * gdb.python/python-prettyprint.py: New file.
8775 * gdb.base/display.exp: print/r is now valid.
8776
8777 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8778 Tom Tromey <tromey@redhat.com>
8779 Pedro Alves <pedro@codesourcery.com>
8780 Paul Pluzhnikov <ppluzhnikov@google.com>
8781
8782 * gdb.python/python-template.exp: New file.
8783 * gdb.python/python-template.cc: New file.
8784 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8785 tests.
8786 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8787 Call it.
8788 (test_value_after_death): New proc.
8789 * gdb.python/python-value.c (PTR): New typedef.
8790 (main): New variable 'x'.
8791
8792 2009-05-27 Tom Tromey <tromey@redhat.com>
8793
8794 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8795 tests.
8796 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8797 Call it.
8798
8799 2009-05-27 Pedro Alves <pedro@codesourcery.com>
8800
8801 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8802
8803 2009-05-24 Pedro Alves <pedro@codesourcery.com>
8804
8805 * gdb.threads/fork-thread-pending.c: New.
8806 * gdb.threads/fork-thread-pending.exp: New.
8807
8808 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8809
8810 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8811 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8812
8813 2009-05-18 Jon Beniston <jon@beniston.com>
8814
8815 * gdb.asm/asm-source.exp: Add lm32 target.
8816
8817 2009-05-17 Pedro Alves <pedro@codesourcery.com>
8818
8819 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8820 `gdb_get_line_number'. Call `callee' in both parent and child.
8821 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8822 `gdb_get_line_number' instead of hardcoding line numbers.
8823 (catch_fork_unpatch_child): New procedure to test detaching
8824 breakpoints from child fork.
8825 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8826 hardcoding line numbers.
8827 (do_fork_tests): Run `catch_fork_unpatch_child'.
8828
8829 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8830
8831 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8832 of structure type enters or leaves the scope, it
8833 is reported by -var-update.
8834
8835 2009-05-11 Doug Evans <dje@sebabeach.org>
8836
8837 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8838 * gdb.threads/pending-step.c (main): Fix off-by-one error.
8839 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8840
8841 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8842
8843 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8844
8845 2009-04-30 Doug Evans <dje@google.com>
8846
8847 * gdb.threads/watchthreads2.exp: New testcase.
8848 * gdb.threads/watchthreads2.c: New testcase.
8849
8850 2009-04-29 Doug Evans <dje@google.com>
8851
8852 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8853 * gdb.cp/mb-ctor.cc: Ditto.
8854 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8855 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8856 * gdb.cp/mb-inline1.cc: Call it.
8857 * gdb.cp/mb-inline2.cc: Ditto.
8858 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8859 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8860
8861 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8862
8863 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8864 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8865 Replace all uses of `decimal' by `nonzero'.
8866 (info macro FROM_COMMANDLINE): New test.
8867
8868 2009-04-27 Tom Tromey <tromey@redhat.com>
8869
8870 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8871
8872 2009-04-27 Doug Evans <dje@google.com>
8873
8874 * gdb.threads/watchthreads.c (main): Initialize args before starting
8875 the threads. Plus formatting cleanup.
8876 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8877 biased scheduling of one thread.
8878
8879 2009-04-27 Jerome Guitton <guitton@adacore.com>
8880
8881 * gdb.cp/templates.cc (GetMax): New template.
8882 (main): Declare two instances of GetMax.
8883 * gdb.cp/templates.exp: Add new test.
8884
8885 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8886
8887 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8888
8889 2009-04-22 Joseph Myers <joseph@codesourcery.com>
8890
8891 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8892
8893 2009-04-15 Tom Tromey <tromey@redhat.com>
8894
8895 * gdb.base/charset.exp: Add regression test.
8896
8897 2009-04-14 Joel Brobecker <brobecker@adacore.com>
8898
8899 * gdb.base/exe-lock.exp: New testcase.
8900
8901 2009-04-13 Tom Tromey <tromey@redhat.com>
8902
8903 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8904 operator on Frame.
8905
8906 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8907
8908 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8909 * gdb.server/ext-attach.exp: Likewise.
8910
8911 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8912
8913 Eliminate some sleep usage.
8914
8915 * gdb.mi/basics.c (do_nothing): New.
8916 (main): Use do_nothing instead of printf, so that
8917 not to introduce race condition between output of
8918 inferiour and output of gdb. Do not use sleep as it
8919 is not generally available on embedded targets.
8920
8921 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8922
8923 * gdb.server/ext-attach.exp: Expect an optional process id after
8924 "Detached from remote process".
8925
8926 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8927
8928 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8929 gdb.dwarf2/dw2-unresolved.exp: New.
8930
8931 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8932
8933 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8934 mi_run_to_main.
8935
8936 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8937
8938 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8939 mi_run_to_main. Skip thread exit test on remote targets.
8940 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8941 mi_run_to_main.
8942 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8943 mi_run_to_main.
8944 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8945 when expecting ^connected. Detect when the target doesn't support
8946 non-stop mode.
8947 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8948 supported. Return -1 on error, 0 on success.
8949 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8950 (mi_runto): Return mi_runto_helper's result explicitly.
8951
8952 2009-04-01 Pedro Alves <pedro@codesourcery.com>
8953
8954 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8955
8956 2009-04-01 Tom Tromey <tromey@redhat.com>
8957
8958 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8959 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8960 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8961 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8962
8963 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8964 Jan Kratochvil <jan.kratochvil@redhat.com>
8965
8966 PR gdb/931
8967 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8968 output.
8969 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8970 for gdb/931.
8971 * dw2-strp.S (DW_AT_language): Change to C++.
8972 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8973
8974 2009-03-31 Joel Brobecker <brobecker@adacore.com>
8975
8976 * gdb.ada/tasks: New testcase.
8977
8978 2009-03-30 Stan Shebs <stan@codesourcery.com>
8979
8980 * gdb.trace/actions.exp: Update to match new info trace format.
8981 * gdb.trace/deltrace.exp: Ditto.
8982 * gdb.trace/infotrace.exp: Ditto.
8983 * gdb.trace/passcount.exp: Ditto.
8984 * gdb.trace/save-trace.exp: Ditto.
8985 * gdb.trace/while-stepping.exp: Ditto.
8986 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8987
8988 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8989
8990 * gdb.python/python-frame.c: New file.
8991 * gdb.python/python-frame.exp: New file.
8992
8993 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8994
8995 * gdb.python/python-value.exp: Add tests for the address
8996 attribute.
8997
8998 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8999
9000 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
9001
9002 2009-03-26 Doug Evans <dje@google.com>
9003
9004 * gdb.mi/mi-nonstop-exit.exp: New file.
9005 * gdb.mi/non-stop-exit.c: New file.
9006
9007 2009-03-26 Tom Tromey <tromey@redhat.com>
9008
9009 Update for change to prologue skipping:
9010 * gdb.mi/mi2-simplerun.exp: Update.
9011 * gdb.mi/mi2-break.exp: Update.
9012 * gdb.mi/mi-simplerun.exp: Update.
9013 * gdb.mi/mi-break.exp: Update.
9014 * gdb.base/ending-run.exp: Update.
9015
9016 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9017
9018 * gdb.python/python-value.exp (test_value_in_inferior): Test
9019 gdb.Value.is_optimized_out attribute.
9020
9021 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9022
9023 * gdb.dwarf2/dw2-noloc-main.c: New file.
9024 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9025 (.text): Remove.
9026 (.data): New.
9027 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9028 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9029 (DW_TAG_subprogram func_cu1, noloc): Remove.
9030 (main): New.
9031 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9032 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9033 (file_symbols): New procedure.
9034
9035 2009-03-25 Tom Tromey <tromey@redhat.com>
9036
9037 * gdb.base/charset.exp (valid_target_charset): New proc.
9038 Use it to skip tests on invalid charsets.
9039
9040 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9041
9042 * gdb.base/completion.exp: Add a test for directory completion.
9043
9044 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9045
9046 Fix a racy FAIL.
9047 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9048 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9049
9050 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9051
9052 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9053 * gdb.python/python-function.exp: Add test for function returning
9054 a GDB value.
9055
9056 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9057
9058 * gdb.python/python-function.exp: New file.
9059
9060 2009-03-20 Tom Tromey <tromey@redhat.com>
9061
9062 * gdb.base/store.exp: Update for change to escape output.
9063 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9064 to escape output.
9065 * gdb.base/pointers.exp: Update for change to escape output.
9066 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9067 to escape output.
9068 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9069 escape output.
9070 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9071 to escape output.
9072 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9073 escape output.
9074 * gdb.base/setvar.exp: Update for change to escape output.
9075 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9076 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9077 to escape output.
9078 (test_print_string_constants): Likewise.
9079 * gdb.base/charset.exp (valid_host_charset): Check size of
9080 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9081 cases. Handle "auto"-related output.
9082 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9083 (uvar, Uvar): New globals.
9084
9085 2009-03-19 Jerome Guitton <guitton@adacore.com>
9086
9087 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9088 deltas.
9089 * gdb.ada/fixed_points.exp: Ditto.
9090
9091 2009-03-18 Pedro Alves <pedro@codesourcery.com>
9092
9093 * return-nodebug.c: Don't include stdio.h.
9094 (init): Delete.
9095 (func): Delete definition and provide extern declaration.
9096 (t): New.
9097 (main): Don't call printf. Call func and store its result in t.
9098 * return-nodebug1.c: New.
9099 * return-nodebug.exp: Don't expect stdio output. Instead, print
9100 the global variable t. Drop printf formatters and cast types from
9101 foreach loop. Don't use prepare_for_testing. Compile
9102 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9103 define FORMAT or CAST.
9104
9105 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9106
9107 * gdb.base/solib-display.exp: Disable test for remote targers.
9108
9109 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9110
9111 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9112
9113 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9114
9115 Fix a racy FAIL.
9116 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9117 code from `follow parent, print pids'.
9118 (`follow child, print pids', `follow parent, print pids'): Call it.
9119 Replace `gdb_test "break..."' by gdb_breakpoint.
9120
9121 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9122
9123 * gdb.mi/mi-cli.exp: Adjust for output difference in
9124 sync and async modes.
9125
9126 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9129 that was checked in by mistake. Remove loading of ada.exp, since
9130 this is not necessary in this case.
9131
9132 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9133
9134 * gdb.ada/ptype_arith_binop.exp: New testcase.
9135
9136 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9137
9138 * gdb.ada/mod_from_name: New testcase.
9139
9140 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9141
9142 * gdb.ada/tick_last_segv: New testcase.
9143
9144 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9145
9146 * gdb.mi/mi-cli.exp: Remove debug print.
9147
9148 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9149
9150 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9151 include the token in ^running and frame info in *stopped.
9152
9153 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9154
9155 * solib-display.exp: New file.
9156 * solib-display-main.c: New file.
9157 * solib-display-lib.c: New file.
9158
9159 2009-03-05 Pedro Alves <pedro@codesourcery.com>
9160
9161 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9162
9163 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9164
9165 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9166 (list_and_check_macro): Use more specific test name.
9167 (next to definition): Make the test names unique.
9168
9169 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9170
9171 * gdb.pascal/floats.exp: Accept approximate results everywhere.
9172
9173 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9174
9175 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9176 notifications.
9177 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9178 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9179 * lib/mi-support.exp (library_loaded_re): New.
9180 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9181
9182 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9183
9184 * gdb.gdb/observer.exp: Use test_notification observer, not
9185 normal_stop, everywhere.
9186 (test_normal_stop_notifications): Rename to...
9187 (test_notifications): ...this.
9188 (test_observer_normal_stop): Rename to...
9189 (test_observer): ...this.
9190
9191 2009-02-16 Doug Evans <dje@google.com>
9192
9193 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9194 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9195 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9196 (test_prefixed_syscall,test_int3): New tests.
9197 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9198 (test_prefixed_syscall,test_int3): New tests.
9199
9200 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9201
9202 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9203 (mi_expect_interrupt): Likewise.
9204 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9205 response.
9206
9207 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9208
9209 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9210 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9211 Replace calls to get_valueofx by get_hexadecimal_valueof.
9212
9213 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9214
9215 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9216 (get_integer_valueof): New procedure.
9217 (get_sizeof): Use new get_integer_value_of.
9218 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9219 by get_integer_valueof.
9220
9221 2009-02-13 Tom Tromey <tromey@redhat.com>
9222
9223 * gdb.base/remote.exp (get_sizeof): Remove.
9224 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9225 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9226 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9227 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9228 (get_sizeof): Likewise.
9229
9230 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9231
9232 PR fortran/9806
9233 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9234
9235 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9236
9237 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9238
9239 2009-02-06 Pedro Alves <pedro@codesourcery.com>
9240
9241 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9242
9243 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9244
9245 * gdb.python/python-cmd.exp: New file.
9246
9247 2009-02-06 Tristan Gingold <gingold@adacore.com>
9248
9249 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9250
9251 2009-02-05 Tristan Gingold <gingold@adacore.com>
9252
9253 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9254 pointer is dereferenced and use this signal name in regexp.
9255 * gdb.base/signull.exp: Ditto.
9256 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9257 * gdb.base/signull.c (main): Ditto.
9258
9259 2009-02-04 Tom Tromey <tromey@redhat.com>
9260 Thiago Jung Bauermann <bauerman@br.ibm.com>
9261
9262 * gdb.python/python-value.exp: Use `gdb.history' instead of
9263 `gdb.value_from_history'.
9264 (test_value_numeric_ops): Add test for conversion of enum constant.
9265 * gdb.python/python-value.c (enum e): New type.
9266 (evalue): New global.
9267 (main): Use argv.
9268
9269 2009-02-04 Jerome Guitton <guitton@adacore.com>
9270
9271 * gdb.ada/uninitialized_vars: New test program.
9272 * gdb.ada/uninitialized_vars.exp: New testcase.
9273
9274 2009-02-02 Tom Tromey <tromey@redhat.com>
9275
9276 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9277 * gdb.cp/pr2489.cc: Rename...
9278 * gdb.cp/pr9594.cc: ... to this.
9279
9280 2009-02-02 Tom Tromey <tromey@redhat.com>
9281
9282 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9283 * gdb.cp/pr2489.cc: New file.
9284 * gdb.cp/cpcompletion.exp: New file.
9285
9286 2009-02-02 Tom Tromey <tromey@redhat.com>
9287
9288 PR exp/9059:
9289 * gdb.cp/call-c.exp: Add regression test.
9290 * gdb.cp/call-c.cc (FooHandle): New typedef.
9291 (main): New variable 'handle'.
9292
9293 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9294
9295 * lib/mi-support.exp (et_mi_thread_list)
9296 (check_mi_and_console_threads): Adjust for current thread in
9297 -thread-list-ids output.
9298
9299 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9300
9301 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9302 Call it.
9303
9304 2009-01-28 Doug Evans <dje@google.com>
9305
9306 * gdb.arch/amd64-disp-step.S: New file.
9307 * gdb.arch/amd64-disp-step.exp: New file.
9308 * gdb.arch/i386-disp-step.S: New file.
9309 * gdb.arch/i386-disp-step.exp: New file.
9310
9311 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9312
9313 * gdb.base/find.exp: Set newline variable
9314 using quotes instead of braces to fix cygwin failures.
9315
9316 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9317
9318 * gdb.base/radix.exp: Add tests to ensure that that set
9319 input-radix 0 and set output-radix 0 are really rejected.
9320
9321 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9322
9323 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9324 copyright years.
9325
9326 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9327
9328 PR gdb/9664:
9329 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9330
9331 2009-01-22 Pedro Alves <pedro@codesourcery.com>
9332
9333 PR c++/9631:
9334 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9335
9336 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9337
9338 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9339 binfile definition to fix Windows OS failure.
9340
9341 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 PR gdb/9346
9344 * gdb.base/interrupt.c (sigint_handler): New.
9345 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9346 on error.
9347 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9348 Test "signal SIGINT".
9349
9350 2009-01-19 Doug Evans <dje@google.com>
9351
9352 * gdb.base/break.exp: Update expected gdb output.
9353 * gdb.base/sepdebug.exp: Ditto.
9354 * gdb.mi/mi-syn-frame.exp: Ditto.
9355 * gdb.mi/mi2-syn-frame.exp: Ditto.
9356 * gdb.base/call-signal-resume.exp: New file.
9357 * gdb.base/call-signals.c: New file.
9358 * gdb.base/unwindonsignal.exp: New file.
9359 * gdb.base/unwindonsignal.c: New file.
9360 * gdb.threads/interrupted-hand-call.exp: New file.
9361 * gdb.threads/interrupted-hand-call.c: New file.
9362 * gdb.threads/thread-unwindonsignal.exp: New file.
9363
9364 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9365
9366 * gdb.base/define.exp: Test defining and hooking prefix commands.
9367 * gdb.python/python.exp: Update test for "show user" output.
9368
9369 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9370
9371 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9372 now the output exactly, using less wildcards. Expect also the output
9373 of gfortran-4.3. Update for the f-valprint.c modification from
9374 2008-04-22.
9375 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9376 Remove gdb_test test names where matching the command.
9377
9378 2009-01-01 Pedro Alves <pedro@codesourcery.com>
9379
9380 PR breakpoints/9681:
9381 * gdb.base/watchpoint.exp: Add regression test.
9382
9383 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9384
9385 * gdb.threads/attach-into-signal.exp: Don't use
9386 gdb_suppress_entire_file.
9387 * gdb.threads/attach-stopped.exp: Ditto.
9388 * gdb.threads/attachstop-mt.exp: Ditto.
9389
9390 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9391
9392 PR gdb/8812:
9393 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9394
9395 2008-12-29 Pedro Alves <pedro@codesourcery.com>
9396
9397 PR gdb/7536:
9398 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9399 and unsupported output radices are really rejected.
9400
9401 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9402
9403 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9404
9405 2008-12-22 Tom Tromey <tromey@redhat.com>
9406
9407 * gdb.cp/punctuator.exp: New file.
9408
9409 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9410
9411 * gdb.base/completion.exp (Completing non-existing component): New test.
9412
9413 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9414
9415 Fix for PR gdb/8648.
9416 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9417 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9418 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9419 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9420
9421 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9422
9423 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9424
9425 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
9426
9427 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9428 compiler actually generate code at the expected line number.
9429
9430 2008-12-15 Jie Zhang <jie.zhang@analog.com>
9431
9432 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9433
9434 2008-12-12 Tom Tromey <tromey@redhat.com>
9435
9436 * gdb.base/commands.exp (redefine_hook_test): New proc.
9437 Call it.
9438
9439 2008-12-11 Tom Tromey <tromey@redhat.com>
9440
9441 * gdb.base/macscp.exp: New regression test.
9442
9443 2008-12-11 Tom Tromey <tromey@redhat.com>
9444
9445 * gdb.base/macscp.exp: Print "address.addr".
9446 * gdb.base/macscp1.c (struct outer): New struct.
9447 (address): New global.
9448
9449 2008-12-09 Tom Tromey <tromey@redhat.com>
9450
9451 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9452 Call it.
9453
9454 2008-12-04 Doug Evans <dje@google.com>
9455
9456 * gdb.server/ext-run.exp: Relax regexp for init program.
9457
9458 2008-12-03 Tristan Gingold <gingold@adacore.com>
9459
9460 * gdb.base/macscp.exp: Generate an object file during compilation
9461 to work around Darwin dsymutil limitations.
9462
9463 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 Test resolving external references to TLS variables.
9466 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9467 FILE2_THREAD_LOCAL.
9468 (testfile2, srcfile2): New variables.
9469 * gdb.threads/tls.c (file2_thread_local)
9470 (function_referencing_file2_thread_local): New.
9471 * gdb.threads/tls2.c: New file.
9472
9473 2008-11-28 Joel Brobecker <brobecker@adacore.com>
9474
9475 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
9476 rather than integer, as integer might not be big enough when
9477 on 64bit targets.
9478
9479 2008-11-27 Jerome Guitton <guitton@adacore.com>
9480
9481 * gdb.cp/formatted-ref.exp: Add equality test.
9482 * gdb.ada/formatted_ref.exp: Ditto.
9483
9484 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9485
9486 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9487 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9488
9489 2008-11-20 Andreas Schwab <schwab@suse.de>
9490
9491 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9492 matching syscall entry point.
9493 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9494 (tcatch_vfork_then_child_follow): Likewise. Finish through
9495 vfork even if we stopped at the syscall trampoline.
9496
9497 2008-11-20 Doug Evans <dje@google.com>
9498
9499 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9500
9501 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9502
9503 * gdb.arch/ppc-dfp.exp: New file.
9504 * gdb.arch/ppc-dfp.c: New file.
9505
9506 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9507
9508 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
9509
9510 2008-11-17 Doug Evans <dje@google.com>
9511
9512 * gdb.mi/mi-syn-frame.exp: Update expected output.
9513 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9514
9515 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9516
9517 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
9518 "thread N" results in =thread-selected.
9519 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9520 (mi_send_resuming_command_raw): Be prepared for
9521 =thread-selected.
9522
9523 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9524
9525 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9526 * lib/mi-support.exp: Likewise.
9527
9528 2008-11-16 Joel Brobecker <brobecker@adacore.com>
9529
9530 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9531 commands from the expected output for "help catch".
9532
9533 2008-11-15 Joel Brobecker <brobecker@adacore.com>
9534
9535 * gdb.ada/int_deref.exp: New testcase.
9536
9537 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
9538
9539 * gdb.mi/gdb2549.exp: New file.
9540
9541 2008-11-11 Doug Evans <dje@google.com>
9542
9543 * gdb.base/callexit.exp: New file.
9544 * gdb.base/callexit.c: New file.
9545
9546 2008-11-10 Doug Evans <dje@google.com>
9547
9548 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9549 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9550 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9551 (default_gdb_start,default_gdb_exit): Ditto.
9552 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9553 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9554 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9555 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9556 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9557 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9558
9559 2008-11-03 Andreas Schwab <schwab@suse.de>
9560
9561 * gdb.base/hashline2.exp: Fix typo.
9562 * gdb.base/hashline3.exp: Likewise.
9563
9564 2008-10-30 Tom Tromey <tromey@redhat.com>
9565
9566 * gdb.base/pointers.exp: Add test.
9567 * gdb.base/pointers.c (k, S): New typedefs.
9568 (instance): New global.
9569
9570 2008-10-30 Andreas Schwab <schwab@suse.de>
9571
9572 * gdb.base/args.exp: Add tests for newlines.
9573
9574 2008-10-30 Joel Brobecker <brobecker@adacore.com>
9575
9576 gdb.base/foll-exec.exp: Update the expected output of a couple
9577 of "info breakpoints" tests.
9578
9579 2008-10-28 Tom Tromey <tromey@redhat.com>
9580
9581 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9582
9583 2008-10-24 Pedro Alves <pedro@codesourcery.com>
9584
9585 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9586 gdb_start_cmd.
9587 Use runto_main before any test that requires execution.
9588
9589 2008-10-23 Pedro Alves <pedro@codesourcery.com>
9590
9591 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9592 instead of SIGINT.
9593
9594 2008-10-22 Joel Brobecker <brobecker@adacore.com>
9595
9596 * gdb.base/completion.exp: Update expected output following
9597 the addition of the "info tasks" command.
9598
9599 2008-10-22 Tom Tromey <tromey@redhat.com>
9600
9601 * gdb.base/exprs.exp (test_expr): Add test for string
9602 concatenation.
9603
9604 2008-10-19 Pedro Alves <pedro@codesourcery.com>
9605
9606 * configure.ac: Output gdb.python/Makefile.
9607 * configure: Regenerate.
9608 * gdb.python/Makefile.in: New.
9609
9610 2008-10-16 Joel Brobecker <brobecker@adacore.com>
9611
9612 * gdb.base/foll-fork.exp: Adjust the expected output to match
9613 the new description for fork/vfork catchpoints in the "info
9614 breakpoints" output.
9615
9616 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9617
9618 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9619
9620 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9621
9622 * gdb.python/python-value.c: New file.
9623 * gdb.python/python-value.exp: New file.
9624
9625 2008-10-15 Pedro Alves <pedro@codesourcery.com>
9626
9627 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9628
9629 2008-10-15 Denis Pilat <denis.pilat@st.com>
9630
9631 * gdb.cp/mb-ctor.exp: Fix a typo.
9632
9633 2008-10-09 Tom Tromey <tromey@redhat.com>
9634
9635 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9636 'fprintf' and 'stderr'.
9637
9638 2008-10-07 Joel Brobecker <brobecker@adacore.com>
9639
9640 * gdb.ada/ref_tick_size.exp: New testcase.
9641
9642 2008-10-06 Doug Evans <dje@google.com>
9643
9644 * gdb.dwarf2/dw2-cu-size.exp: New file.
9645 * gdb.dwarf2/dw2-cu-size.S: New file.
9646
9647 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9648 .Ltype_int for clarity.
9649
9650 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9651
9652 PR gdb/2384:
9653 * gdb.cp/gdb2384.exp: Extended to test more cases.
9654 * gdb.cp/gdb2384.cc: Likewise.
9655 * gdb.cp/gdb2384-base.h: Likewise.
9656 * gdb.cp/gdb2384-base.cc: Likewise.
9657
9658 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9659
9660 * gdb.base/maint.exp (maint print type): Remove printing
9661 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9662
9663 2008-09-30 Tom Tromey <tromey@redhat.com>
9664
9665 * gdb.base/macscp.exp: Add completion tests.
9666 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9667 (TWENTY_THREE): Likewise.
9668 (FORTY_EIGHT): Likewise.
9669
9670 2008-09-30 Tom Tromey <tromey@redhat.com>
9671
9672 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9673 everywhere.
9674 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9675
9676 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9677
9678 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9679 testcase is derived from. Fix racy dependency on an expected PID
9680 number. No longer support the testcase on Linux kernel 2.4.x.
9681
9682 2008-09-27 Tom Tromey <tromey@redhat.com>
9683
9684 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9685 and varargs.
9686
9687 2008-09-22 Pedro Alves <pedro@codesourcery.com>
9688
9689 * lib/mi-support.exp (mi_expect_interrupt): New.
9690 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9691 from gdb.mi/mi-nonstop.exp.
9692 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9693 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9694 lib/mi-support.exp.
9695 Use mi_check_thread_states throughout. Avoid ".*" and do not
9696 require an anchor after -exec-run.
9697
9698 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9699
9700 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9701 stop is pending. Avoid ".*" when two stops are pending.
9702 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9703 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9704 newlines in fullnames.
9705 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9706 (mi_expect_stop): Update comments. Only anchor in sync mode.
9707 Do not match newlines.
9708 (mi_send_resuming_command_raw): Always return status.
9709 (mi_get_stop_line): Do not match more than one line by accident.
9710 Only anchor in sync mode.
9711 (mi_run_inline_test): If -exec-next fails, give up.
9712
9713 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9714
9715 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9716 on SPU.
9717
9718 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9719
9720 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9721
9722 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9723
9724 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9725 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9726 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9727 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9728 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9729 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9730 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9731 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9732 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9733 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9734 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9735 Include the "= " sequence in the expected output of print tests.
9736
9737 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9738
9739 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9740 description for boolean types.
9741
9742 2008-09-09 Pedro Alves <pedro@codesourcery.com>
9743
9744 * gdb.base/hook-stop-continue.c: New.
9745 * gdb.base/hook-stop-continue.exp: New.
9746
9747 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9748
9749 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9750
9751 2008-09-08 Jerome Guitton <guitton@adacore.com>
9752
9753 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9754 (stack_check_probe_2, stack_check_probe_loop_1)
9755 (stack_check_probe_loop_2): New functions.
9756 (main): Add call to these new functions.
9757 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9758 functions, check that the breakpoint is inserted at the appropriate
9759 location.
9760 (insert_breakpoint): Slightly refine this procedure so that it can
9761 be called several times in the test.
9762
9763 2008-09-08 Jerome Guitton <guitton@adacore.com>
9764
9765 * gdb.base/stack-checking.c: New file.
9766 * gdb.base/stack-checking.exp: New file.
9767
9768 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9769
9770 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9771 * gdb.arch/altivec-regs.exp: Likewise.
9772 * gdb.arch/vsx-regs.exp: Likewise.
9773
9774 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9775
9776 * gdb.arch/ppc-fp.exp: New file.
9777 * gdb.arch/ppc-fp.c: New file.
9778
9779 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9780
9781 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9782 lest gcc-4.3.1 optimizes the whole thing away.
9783
9784 2008-09-04 Michael Snyder <msnyder@vmware.com>
9785
9786 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9787 as "at" (for non-debug functions such as _start).
9788
9789 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9790
9791 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9792 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9793 software watchpoints.
9794 * gdb.base/watch_thread_num.exp: Likewise.
9795
9796 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9797
9798 * gdb.arch/i386-bp_permanent.exp: New test.
9799
9800 2008-08-24 Tom Tromey <tromey@redhat.com>
9801
9802 * gdb.base/maint.exp: Update "maint print type".
9803
9804 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9805
9806 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9807 support. Adjust the order of "*running" notifications.
9808 * gdb.mi/non-stop.c: Don't cast from int to void* and
9809 back.
9810
9811 2008-08-20 Mark Kettenis <kettenis@gnu.org>
9812
9813 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9814 expect to find it in the "info frame" output.
9815
9816 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9817
9818 * gdb.base/interp.exp: Always consume both prompts.
9819
9820 2008-08-20 Pedro Alves <pedro@codesourcery.com>
9821
9822 * gdb.base/pending.exp: Test pending breakpoints without symbols
9823 loaded.
9824
9825 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9826
9827 * lib/mi-support.exp (mi_expect_stop): Produce
9828 more details on failures.
9829 * gdb.mi/mi-nonstop.exp: New.
9830 * gdb.mi/non-stop.c: New.
9831
9832 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9833
9834 * gdb.mi/mi-async.exp: Use 'set target-async'.
9835 * lib/mi-support.exp: Use 'set/show target-async'.
9836
9837 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9838
9839 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9840
9841 2008-08-17 Tom Tromey <tromey@redhat.com>
9842
9843 * gdb.base/help.exp (help catch): Rewrite.
9844
9845 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9846
9847 * gdb.base/define.exp: Test indented command documentation.
9848 * gdb.python/python.exp: Test indented multi-line command.
9849
9850 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
9851
9852 * testsuite/gdb.arch/vsx-regs.c: New source file.
9853 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9854 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9855
9856 2008-08-14 Tom Tromey <tromey@redhat.com>
9857
9858 * gdb.base/macscp.exp: Add regression test for "macro define" or
9859 "macro undef" with no arguments.
9860
9861 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9862
9863 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9864
9865 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9866
9867 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9868
9869 2008-08-06 Tom Tromey <tromey@redhat.com>
9870
9871 * gdb.python/python.exp: New file.
9872
9873 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 Fix for PR gdb/1543.
9876 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9877 $LOCATION.
9878 (location): New variable.
9879 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9880 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9881 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9882 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9883 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9884 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9885 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9886 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9887 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9888 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9889 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9890 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9891 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9892 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9893 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9894 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9895 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9896 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9897 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9898 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9899 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9900 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9901 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9902 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9903 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9904 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9905 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9906 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9907 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9908 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9909 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9910 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9911 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9912 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9913 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9914 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9915 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9916 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9917 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9918 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9919 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9920 gdb.base/type-opaque.exp, gdb.base/until.exp,
9921 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9922 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9923 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9924 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9925 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9926 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9927 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9928 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9929 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9930 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9931 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9932 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9933 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9934 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9935 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9936 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9937 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9938 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9939 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9940 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9941 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9942 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9943 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9944 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9945 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9946 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9947 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9948 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9949 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9950 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9951 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9952 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9953 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9954 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9955 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9956 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9957 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9958 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9959 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9960 to bug-gdb@prep.ai.mit.edu .
9961
9962 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9963
9964 * lib/mi-support.exp (mi_load_shlibs): New.
9965 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9966
9967 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9968
9969 * lib/mi-support.exp (get_mi_thread_list)
9970 (check_mi_and_console_threads): New, moved from ...
9971 * gdb.mi/mi-pthread.exp: ...here.
9972 * gdb.mi/gdb669.exp (get_mi_thread_list)
9973 (check_mi_and_console_threads): Delete.
9974 * gdb.mi/mi2-pthread.exp: Likewise.
9975
9976 2008-07-28 Tom Tromey <tromey@redhat.com>
9977
9978 * Makefile.in (just-check): Remove. Move body to...
9979 (check): ... here.
9980
9981 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9982
9983 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9984 Add a test for duplicated SIGINTs.
9985
9986 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9987
9988 * gdb.threads/schedlock.exp (get_args): Update to work for any
9989 value of NUM.
9990 (Top level): Report the number of threads that did not resume.
9991
9992 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9993
9994 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9995
9996 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9997
9998 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9999 non-MI prompt.
10000
10001 2008-07-26 Tom Tromey <tromey@redhat.com>
10002
10003 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
10004 (function_struct, function_struct_ptr): New globals.
10005 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10006 function pointer in a struct.
10007
10008 2008-07-26 Tom Tromey <tromey@redhat.com>
10009
10010 * gdb.base/macscp.exp: Add test for macro lexing bug.
10011
10012 2008-07-18 Tom Tromey <tromey@redhat.com>
10013
10014 * gdb.base/macscp.exp: Add macro tests.
10015
10016 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10017
10018 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10019
10020 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10021
10022 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10023
10024 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10025
10026 * gdb.cp/class2.exp: fix for failure on spu-elf
10027
10028 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10029
10030 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
10031
10032 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10033
10034 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10035
10036 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10037
10038 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10039
10040 2008-07-11 Kevin Buettner <kevinb@redhat.com>
10041
10042 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10043 of regexp to account for changes made to GDB in the printing of
10044 byte vectors.
10045
10046 2008-07-11 Tom Tromey <tromey@redhat.com>
10047
10048 * gdb.base/completion.exp: Add 'help' completion test.
10049
10050 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10051
10052 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10053
10054 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10055
10056 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10057
10058 2008-07-09 Pedro Alves <pedro@codesourcery.com>
10059
10060 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10061
10062 2008-07-09 Pedro Alves <pedro@codesourcery.com>
10063
10064 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10065
10066 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10067
10068 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10069
10070 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10071
10072 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10073 previous commit. Add a comment.
10074
10075 2008-06-28 Pedro Alves <pedro@codesourcery.com>
10076
10077 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10078
10079 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10080
10081 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10082
10083 2008-06-27 Pedro Alves <pedro@codesourcery.com>
10084
10085 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10086 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10087 compiling an executable, link in an object that forces unbuffered
10088 output.
10089 * lib/set_unbuffered_mode.c: New file.
10090
10091 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10092
10093 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10094
10095 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10096
10097 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10098 mi_expect_stop.
10099 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10100 Demand that *running is output.
10101 (detect_async): Perform checking every time.
10102 (mi_send_resuming_command): Extract everything into...
10103 (mi_send_resuming_command_raw): ...this.
10104 (mi_expect_stop): Don't accept any output before *stopped.
10105
10106 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10107
10108 Robustify mi-simplerun.
10109 * gdb.mi/basics.c (main): Add a call to sleep.
10110 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10111 * gdb.mi/mi2-cli.exp: Likewise.
10112 * gdb.mi/mi-break.exp: Likewise.
10113
10114 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
10115
10116 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10117
10118 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10119
10120 * gdb.mi/mi-console.exp: Adjust.
10121 * gdb.mi/mi-syn-frame.exp: Adjust.
10122 * gdb.mi/mi2-console.exp: Adjust.
10123 * gdb.mi/mi2-syn-frame.exp: Adjust.
10124 * lib/mi-support.exp (mi_run_cmd): Adjust.
10125 (mi_send_resuming_command): Adjust.
10126
10127 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10128
10129 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
10130 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10131 testing of stopped.
10132 * gdb.mi/mi2-syn-frame.exp: Likewise.
10133 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10134 (async, detect_async): New.
10135 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10136 depending on if we're running in sync or async mode.
10137
10138 2008-06-09 Tom Tromey <tromey@redhat.com>
10139
10140 * gdb.base/completion.exp: New tests for field name completion
10141 with spaces, and field name completion with '->'.
10142
10143 2008-06-06 Tom Tromey <tromey@redhat.com>
10144
10145 * gdb.base/break1.c (struct some_struct): New struct.
10146 (values): New global.
10147 * gdb.base/completion.exp: Add field name completion test.
10148
10149 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10150
10151 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10152 to pointer.
10153 * gdb.cp/call-c.cc: Likewise.
10154
10155 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
10156
10157 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10158 annotation.
10159
10160 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10161 Pedro Alves <pedro@codesourcery.com>
10162
10163 * gdb.threads/execl.c, gdb.threads/execl1.c,
10164 gdb.threads/execl.exp: New tests.
10165
10166 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10167 Daniel Jacobowitz <dan@codesourcery.com>
10168
10169 * gdb.cp/exception.exp: Activate test, make it work with pending
10170 catchpoints.
10171
10172 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10173
10174 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10175
10176 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10177
10178 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10179 now printed.
10180 * gdb.mi/mi2-var-cmd.exp: Likewise.
10181
10182 2008-05-27 Andreas Schwab <schwab@suse.de>
10183
10184 * gdb.base/frame-args.exp: Handle arguments that are optimized
10185 out.
10186
10187 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
10188
10189 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10190 quiet for ppc32 and group options into a single variable.
10191
10192 2008-05-23 Joel Brobecker <brobecker@adacore.com>
10193
10194 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10195 of zero-size elements.
10196 * gdb.ada/null_array.exp: Test printing this new array.
10197
10198 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10199
10200 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10201
10202 2008-05-21 Joel Brobecker <brobecker@adacore.com>
10203
10204 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10205 of the "finish" command.
10206
10207 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
10208
10209 * gdb.base/annota1.exp: Test for new annotation.
10210
10211 2008-05-16 Pedro Alves <pedro@codesourcery.com>
10212
10213 * gdb.base/fixsection.exp: New file.
10214 * gdb.base/fixsection0.c: New file.
10215 * gdb.base/fixsection1.c: New file.
10216
10217 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10218
10219 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10220 * gdb.base/annota3.exp: Likewise.
10221
10222 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10223
10224 * gdb.base/watch_thread_num.exp: Don't run tests that require
10225 watchpoints if the target doesn't support them.
10226
10227 2008-05-12 Doug Evans <dje@google.com>
10228
10229 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10230
10231 2008-05-09 Joel Brobecker <brobecker@adacore.com>
10232
10233 * gdb.ada/assign_1.exp: New testcase.
10234
10235 2008-05-09 Doug Evans <dje@google.com>
10236
10237 * gdb.base/find.exp: New file.
10238 * gdb.base/find.c: New file.
10239
10240 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10241
10242 * gdb.base/commands.exp (watchpoint_command_test): Handle
10243 gdb,no_hardware_watchpoints.
10244 * gdb.base/float.exp: Allow ARM targets without floating point.
10245 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10246
10247 2008-05-06 Jerome Guitton <guitton@adacore.com>
10248 Joel Brobecker <brobecker@adacore.com>
10249
10250 * gdb.ada/lang_switch: New test program.
10251 * gdb.ada/lang_switch.exp: New testcase.
10252
10253 2008-05-05 Doug Evans <dje@google.com>
10254
10255 * gdb.base/help.exp (disassemble): Update expected help text.
10256
10257 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10258
10259 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10260
10261 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10262
10263 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10264 different times.
10265
10266 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10267
10268 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10269 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10270 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10271 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10272
10273 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10274
10275 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10276 notification to appear.
10277
10278 2008-05-04 Daniel Jacobowitz <dan@debian.org>
10279
10280 * gdb.base/fullname.c: New file.
10281 * gdb.base/fullname.exp: New file.
10282 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10283
10284 2008-05-03 Pedro Alves <pedro@codesourcery.com>
10285
10286 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10287 expressions with macros.
10288
10289 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10290
10291 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10292
10293 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10294
10295 * gdb.base/completion.exp: Handle lack of other symbols beginning
10296 with "a".
10297
10298 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10299
10300 2008-05-02 Jim Blandy <jimb@codesourcery.com>
10301
10302 * gdb.asm/asmsrc1.s: Add scratch space.
10303
10304 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10305 Daniel Jacobowitz <dan@codesourcery.com>
10306
10307 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10308 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10309 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10310
10311 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10312
10313 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10314
10315 2008-05-01 Joel Brobecker <brobecker@adacore.com>
10316
10317 * gdb.base/info-target.exp: New testcase.
10318
10319 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10320
10321 * gdb.cp/hang.exp: Use .cc instead of .C.
10322 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10323 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10324
10325 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10326
10327 * gdb.base/gdb1250.exp: Remove perror.
10328 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10329
10330 2008-04-30 Pedro Alves <pedro@codesourcery.com>
10331
10332 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10333 .2byte.
10334
10335 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10336
10337 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10338 (maybe_kfail): New.
10339
10340 2008-04-25 Pedro Alves <pedro@codesourcery.com>
10341
10342 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10343
10344 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10345
10346 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10347 * gdb.mi/mi2-syn-frame.exp: Likewise.
10348 * lib/mi-support.exp: Likewise.
10349
10350 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10351
10352 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10353 to specify regexp for the location to stop at.
10354 * gdb.base/break-always.c: New.
10355 * gdb.base/break-always.exp: New.
10356
10357 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10358
10359 * lib/mi-support.exp (mi_runto_helper): Adjust
10360 for the original-location field.
10361 (mi_create_breakpoint, mi_list_breakpoints): New.
10362 * gdb.mi/mi-break.exp: Adjust.
10363 * gdb.mi/mi2-break.exp: Adjust.
10364 * gdb.mi/mi-pending.exp: Adjust.
10365 * gdb.mi/mi-simplerun.exp: Adjust.
10366 * gdb.mi/mi2-simplerun.exp: Adjust.
10367 * gdb.mi/mi-syn-frame.exp: Adjust.
10368 * gdb.mi/mi2-syn-frame.exp: Adjust.
10369 * gdb.mi/mi-until.exp: Adjust.
10370 * gdb.mi/mi2-until.exp: Adjust.
10371 * gdb.mi/mi-var-display.exp: Adjust.
10372 * gdb.mi/mi2-var-display.exp: Adjust.
10373 * gdb.mi/mi-watch.exp: Adjust.
10374 * gdb.mi/mi2-watch.exp: Adjust.
10375
10376 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
10377
10378 * aclocal.m4: Add override.m4.
10379 * configure: Regenerate.
10380
10381 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10382
10383 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10384 '-var-update --all-values' reports new value even the type
10385 of a variable object has changed.
10386
10387 2008-04-18 Craig Silverstein <csilvers@google.com>
10388
10389 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10390 files.
10391
10392 2008-04-18 Joel Brobecker <brobecker@adacore.com>
10393
10394 * gdb.ada/atomic_enum: New test program.
10395 * gdb.ada/atomic_enum.exp: New testcase.
10396
10397 2008-04-17 Doug Evans <dje@google.com>
10398
10399 * gdb.opt/Makefile.in: Fix whitespace.
10400
10401 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10402
10403 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10404
10405 2008-04-17 Doug Evans <dje@google.com>
10406
10407 * gdb.base/hashline1.exp: New testcase.
10408 * gdb.base/hashline2.exp: New testcase.
10409 * gdb.base/hashline2.exp: New testcase.
10410
10411 2008-04-17 Pedro Alves <pedro@codesourcery.com>
10412
10413 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10414
10415 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10416
10417 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10418 temporary breakpoint to match "Temporary breakpoint".
10419 * gdb.base/break.exp (delete_breakpoints): Likewise.
10420 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10421 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10422 * gdb.base/display.exp: Likewise.
10423 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10424 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10425 * gdb.base/restore.exp (restore_tests): Likewise.
10426 * gdb.base/sepdebug.exp: Likewise.
10427 * gdb.base/watchpoint.exp: Likewise.
10428 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10429 * gdb.mi/mi-pending.exp: Likewise.
10430 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10431 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10432 * gdb.mi/mi-var-cmd.exp: Likewise.
10433 * gdb.mi/mi-var-display.exp: Likewise.
10434 * gdb.mi/mi2-cli.exp: Likewise.
10435 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10436 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10437 * gdb.mi/mi2-var-display.exp: Likewise.
10438 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10439 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10440 new "disp" field.
10441 (mi_expect_stop): Move after_reason argument to be really after
10442 reason. This is to support fix for PR2424.
10443
10444 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10445
10446 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10447
10448 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10449
10450 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
10451 field. Add more floating varobj tests.
10452 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
10453 field.
10454 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10455 (main): Call do_at_tests.
10456 * lib/mi-support.exp (mi_create_floating_varobj)
10457 (mi_varobj_update_with_type_change): New.
10458
10459 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10460
10461 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10462 option of -var-evaluate-expression.
10463 * gdb.mi/mi2-var-display.exp: Likewise.
10464
10465 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10466
10467 Introduce test setup helpers.
10468 * lib/gdb.exp (build_executable, clean_restart)
10469 (prepare_for_testing): New.
10470 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10471 * gdb.base/return.exp: Likewise.
10472 * gdb.base/ending-run.exp: Likewise.
10473
10474 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
10475
10476 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10477 Interface (MI) responses.
10478
10479 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10480
10481 * gdb.cp/breakpoint.cc: New code to test conditions involving
10482 member variables.
10483 * gdb.cp/breakpoint.exp: Test condition involving member
10484 variables.
10485
10486 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10487
10488 * lib/mi-support.exp (mi_expect_stop): New.
10489 (mi_run_cmd): Change the
10490 token. Use mi_send_resuming_command, use
10491 mi_expect_stop.
10492 (mi_execute_to_helper): Rename to mi_execute_to.
10493 (mi_send_resuming_command): Add more error patterns.
10494 (mi_wait_for_stop): Renamed to...
10495 (mi_get_stop_line): ...this.
10496 (mi_run_inline_test): Adjust.
10497
10498 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10499 * gdb.mi/mi-console.exp: Likewise.
10500 * gdb.mi/mi-pending.exp: Likewise.
10501 * gdb.mi/mi-simplerun.exp: Likewise.
10502 * gdb.mi/mi-stack.exp: Likewise.
10503 * gdb.mi/mi-stepi.exp: Likewise.
10504 * gdb.mi/mi-syn-frame.exp: Add comment.
10505 * gdb.mi/mi-until.exp: Likewise.
10506 * gdb.mi/mi-var-display.exp: Likewise.
10507 * gdb.mi/mi-watch.exp: Likewise.
10508 * gdb.mi/mi2-cli.exp: Likewise.
10509 * gdb.mi/mi2-console.exp: Likewise.
10510 * gdb.mi/mi2-simplerun.exp: Likewise.
10511 * gdb.mi/mi2-stack.exp: Likewise.
10512 * gdb.mi/mi2-stepi.exp: Likewise.
10513 * gdb.mi/mi2-until.exp: Likewise.
10514 * gdb.mi/mi2-var-display.exp: Likewise.
10515 * gdb.mi/mi2-watch.exp: Likewise.
10516
10517 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10518
10519 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10520
10521 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10522
10523 2008-04-04 Pedro Alves <pedro@codesourcery.com>
10524
10525 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10526 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10527 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10528 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10529 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10530 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10531 expect an mi error duplicated in stderr.
10532
10533 2008-04-03 Joel Brobecker <brobecker@adacore.com>
10534
10535 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10536 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10537 Add a couple of tests that verify the behavior when the new setting
10538 is set to "cancel" and "all".
10539 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10540 "ask" before we start the testing.
10541
10542 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10543
10544 * gdb.cp/casts.cc: Add class reference variables.
10545 * gdb.cp/casts.exp: New test cases for up/down casting references.
10546
10547 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10548
10549 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10550 instead of beginning to make an extra test pass.
10551 * gdb.mi/mi2-var-display.exp: Likewise.
10552
10553 2008-03-31 Maciej W. Rozycki <macro@mips.com>
10554
10555 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10556
10557 2008-03-31 Markus Deuling <deuling@de.ibm.com>
10558 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10559
10560 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10561 value. Add xfail for older kernels.
10562
10563 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10564
10565 Bring mi-support in line with gdb.exp.
10566 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10567 (mi_gdb_start): New function.
10568
10569 2008-03-28 Maciej W. Rozycki <macro@mips.com>
10570
10571 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10572
10573 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10574
10575 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10576 * gdb.mi/mi2-var-display.exp: Likewise.
10577
10578 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10579
10580 * lib/mi-support.exp (mi_create_varobj_checked): New.
10581 (mi_list_varobj_children): Allow to check for a
10582 value.
10583 (mi_list_array_varobj_children): New.
10584
10585 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10586 and mi_list_varobj_children, as opposed to hardcoding
10587 expected strings.
10588 * gdb.mi/gdb701.exp: Likewise.
10589 * gdb.mi/gdb792.exp: Likewise.
10590 * gdb.mi/mi-var-block.exp: Likewise.
10591 * gdb.mi/mi-var-cmd.exp: Likewise.
10592 * gdb.mi/mi-var-invalidate.exp: Likewise.
10593 * gdb.mi/mi2-var-block.exp: Likewise.
10594 * gdb.mi/mi2-var-child.exp: Likewise.
10595 * gdb.mi/mi2-var-cmd.exp: Likewise.
10596 * gdb.mi/mi2-var-display.exp: Likewise.
10597
10598 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10599
10600 Fix random false FAILs on i386.
10601 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10602
10603 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10604
10605 PR gdb/544
10606 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10607
10608 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10609
10610 PR gdb/544
10611 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10612
10613 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10614
10615 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10616 fixed PR gdb/544.
10617
10618 2008-03-21 Pedro Alves <pedro@codesourcery.com>
10619
10620 * gdb.threads/fork-child-threads.exp: Test next over fork.
10621
10622 2008-03-21 Chris Demetriou <cgd@google.com>
10623
10624 * gdb.base/break.exp (rbreak junk): New test for rbreak
10625 "Junk at end of arguments" issue.
10626
10627 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10628
10629 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10630 *& to work on created array elements.
10631 (Top level): Test print $pc with a file. Test string operations
10632 without a target.
10633 * gdb.base/ptype.exp: Do not expect *& to work on created array
10634 elements.
10635
10636 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10637
10638 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10639 gdb.threads/staticthreads.exp: Update exit query.
10640
10641 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10642
10643 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10644
10645 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10646
10647 * gdb.base/watchpoint.c (global_ptr, func4): New.
10648 (main): Call func4.
10649 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10650 (test_inaccessible_watchpoint): New.
10651
10652 2008-02-29 Maciej W. Rozycki <macro@mips.com>
10653
10654 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10655 select the largest.
10656
10657 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10658
10659 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10660 frames-invalid annotations.
10661
10662 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10663
10664 * gdb.base/assign.exp: avoid same output for different tests.
10665
10666 2008-02-27 Doug Evans <dje@google.com>
10667
10668 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10669 for bug 1738.
10670 (breakpoint_to_handler_entry): Ditto.
10671
10672 2008-02-27 Joel Brobecker <brobecker@adacore.com>
10673
10674 * gdb.base/ending-run.exp: Use the first line of code inside
10675 function body to test breakpoints.
10676 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10677 location where the breakpoint is inserted when using the line
10678 where a function is declared. Fix typo in the description of
10679 one of the tests.
10680 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10681
10682 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10683
10684 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10685 tests.
10686
10687 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10688
10689 * gdb.base/args.exp: avoid same output for tests
10690 with single quotes.
10691
10692 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10693
10694 * gdb.base/annota1.exp: Adjust for 'info break'
10695 format changes.
10696 * gdb.base/annota3.exp: Likewise.
10697 * gdb.base/break.exp: Likewise.
10698 * gdb.base/condbreak.exp: Likewise.
10699 * gdb.base/pending.exp: Likewise.
10700 * gdb.base/sepdebug.exp: Likewise.
10701 * gdb.base/unload.exp: Likewise.
10702 * gdb.cp/ovldbreak.exp: Likewise.
10703 * gdb.mi/mi-pending.exp: Likewise.
10704
10705 2008-02-07 Doug Evans <dje@google.com>
10706
10707 * gdb.cp/mb-inline.exp: New.
10708 * gdb.cp/mb-inline.h: New.
10709 * gdb.cp/mb-inline1.cc: New.
10710 * gdb.cp/mb-inline2.cc: New.
10711
10712 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10713
10714 * gdb.pascal/floats.pas: New test program.
10715 * gdb.pascal/floats.exp: New testcase.
10716
10717 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10718
10719 * gdb.base/callfuncs.c (t_float_many_args): New function.
10720 (t_double_many_args): New function.
10721 * gdb.base/callfuncs.exp: Add tests for exceeding float
10722 and double parameters passed through the stack.
10723
10724 2008-02-05 Joel Brobecker <brobecker@adacore.com>
10725
10726 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10727 gdb.ada/complete/foo.adb: New files.
10728 * gdb.ada/complete.exp: New testcase.
10729
10730 2008-02-03 Doug Evans <dje@google.com>
10731
10732 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10733
10734 * gdb.cp/gdb2384.exp: New file.
10735 * gdb.cp/gdb2384.cc: New file.
10736 * gdb.cp/gdb2384-base.h: New file.
10737 * gdb.cp/gdb2384-base.cc: New file.
10738
10739 2008-02-02 Doug Evans <dje@google.com>
10740
10741 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10742
10743 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10744
10745 * gdb.ada/sym_print_name: New test program.
10746 * gdb.ada/sym_print_name.exp: New testcase.
10747
10748 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10749
10750 * gdb.ada/nested/hello.adb: New file.
10751 * gdb.ada/nested.exp: New testcase.
10752 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10753
10754 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10755
10756 * gdb.mi/basic.c (return_1): New function.
10757 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10758 don't cause future evaluations of function to report
10759 creation of internal breakpoints.
10760
10761 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10762
10763 * gdb.mi/mi-break.exp (test_error): New.
10764 Call it.
10765
10766 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
10767
10768 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10769 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10770
10771 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10772
10773 * gdb.pascal/integers.pas: New test program.
10774 * gdb.pascal/integers.exp: New testcase.
10775
10776 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10777
10778 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10779
10780 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
10781
10782 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10783 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10784
10785 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10786
10787 * gdb.ada/formatted_ref: New test program.
10788 * gdb.ada/formatted_ref.exp: New testcase.
10789
10790 * gdb.cp/formatted-ref.cc: New file.
10791 * gdb.cp/formatted-ref.exp: New testcase.
10792
10793 2008-01-30 Joel Brobecker <brobecker@adacore.com>
10794
10795 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10796
10797 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
10798
10799 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10800 (test_file_list_exec_source_file): Update to new macro-info field.
10801
10802 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10803
10804 * gdb.ada/exprs: New test program.
10805 * gdb.ada/exprs.exp: New testcase.
10806
10807 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10808
10809 * dfp-test.c (DELTA, DELTA_B): New definitions.
10810 (double_val1, double_val2, double_val3, double_val4, double_val5,
10811 double_val6, double_val7, double_val8, double_val9, double_val10,
10812 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10813 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10814 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10815 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10816 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10817 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10818 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10819 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10820 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10821 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10822 dec128_val16): New global variables.
10823 (decimal_dec128_align): New function.
10824 (decimal_mixed): Likewise.
10825 (decimal_many_args_dec32): Likewise.
10826 (decimal_many_args_dec64): Likewise.
10827 (decimal_many_args_dec128): Likewise.
10828 (decimal_many_args_mixed): Likewise.
10829 * dfp-test.exp: Add tests calling new inferior functions.
10830
10831 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10832
10833 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10834 gdb.server/ext-run.exp: New files.
10835 * lib/gdbserver-support.exp (gdbserver_download): New.
10836 (gdbserver_start): New. Update gdbserver expected
10837 output.
10838 (gdbserver_spawn): Use them.
10839 (gdbserver_start_extended): New.
10840
10841 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10842
10843 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10844 Run on GNU/Linux.
10845 (do_exec_tests): Check for systems which do not support catchpoints.
10846 Do not match START.
10847 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10848 Run on GNU/Linux. Enable verbose output.
10849 (check_fork_catchpoints): New.
10850 (explicit_fork_child_follow, catch_fork_child_follow)
10851 (tcatch_fork_parent_follow): Update expected messages.
10852 (do_fork_tests): Use check_fork_catchpoints.
10853 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10854 Run on GNU/Linux. Enable verbose output.
10855 (check_vfork_catchpoints): New.
10856 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10857 expected messages.
10858 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10859
10860 2008-01-29 Jim Blandy <jimb@red-bean.com>
10861
10862 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10863 host' errors.
10864 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10865
10866 2008-01-29 Jim Blandy <jimb@red-bean.com>
10867
10868 * gdb.threads/sigthread.c: Use barriers to ensure that
10869 child_thread and child_thread_two are always initialized before we
10870 start to use them.
10871
10872 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10873
10874 * gdb.base/watchpoint-solib.exp: New.
10875 * gdb.base/watchpoint-solib.c: New.
10876 * gdb.base/watchpoint-solib-shr.c: New.
10877
10878 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10879
10880 * gdb.base/gdb1056.exp: Add unsigned integer test.
10881
10882 2008-01-28 Doug Evans <dje@google.com>
10883
10884 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10885
10886 2008-01-27 Jim Blandy <jimb@codesourcery.com>
10887
10888 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10889
10890 * gdb.base/expand-psymtabs.exp: Doc fix.
10891
10892 2008-01-26 Mark Kettenis <kettenis@gnu.org>
10893
10894 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10895
10896 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
10897
10898 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10899 -var-set-format.
10900
10901 2008-01-23 Chris Demetriou <cgd@google.com>
10902
10903 * gdb.threads/thread_events.c: New testcase source file.
10904 * gdb.threads/thread_events.exp: New testcase expect file.
10905
10906 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
10907
10908 * lib/gdb.exp: Add the variable octal.
10909
10910 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10911 -var-set-format.
10912
10913 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10914 Vladimir Prus <vladimir@codesourcery.com>
10915
10916 * gdb.base/float.exp: Allow missing floating point for m68k and
10917 PowerPC.
10918
10919 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10920
10921 * gdb.mi/basics.c: Setup for testing breakpoints
10922 ignore count.
10923 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10924 * gdb.mi/mi-cli.exp: Adjust.
10925 * gdb.mi/mi2-cli.exp: Adjust.
10926
10927 2008-01-17 Pedro Alves <pedro@codesourcery.com>
10928
10929 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10930 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10931 with dummy_ptr's address.
10932 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10933 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10934 all targets.
10935 * gdb.mi/mi2-var-child.exp: Likewise.
10936
10937 2008-01-09 Joel Brobecker <brobecker@adacore.com>
10938
10939 * gdb.ada/null_array: New test program.
10940 * gdb.ada/null_array.exp: New testcase.
10941
10942 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
10943
10944 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10945 with required float modifiers.
10946
10947 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10948
10949 * gdb.ada/funcall_param: New test program.
10950 * gdb.ada/funcall_param.exp: New testcase.
10951
10952 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10953
10954 * gdb.ada/arrayparam: New test program.
10955 * gdb.ada/arrayparam.exp: New testcase.
10956
10957 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10958
10959 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10960 landed. Should also fix random failures in the test following it.
10961
10962 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10963
10964 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10965 for expressions with decimal float values.
10966 (test_dfp_conversions): New function to test casts to and from
10967 decimal float types.
10968 Call test_dfp_conversions.
10969 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10970 elements.
10971 (main): Initialize ds.float4 and ds.double8 elements.
10972 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10973 string to new error message.
10974 (d64_set_tests): Likewise.
10975 (d128_set_tests): Likewise.
10976 Add tests for expressions with decimal float variables. Add tests for
10977 conversions to and from decimal float types.
10978
10979 2008-01-05 Joel Brobecker <brobecker@adacore.com>
10980
10981 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10982 * gdb.ada/packed_tagged.exp: New testcase.
10983
10984 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10985
10986 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10987 gdb.ada/homonym/homonym_main.adb: New files.
10988 * gdb.ada/homonym.exp: New testcase.
10989
10990 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10991
10992 * gdb.ada/packed_array.exp: Add testing of references to
10993 a packed array.
10994
10995 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10996
10997 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10998 New files.
10999 * gdb.ada/type_coercion.exp: New testcase.
11000
11001 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11002
11003 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
11004 gdb.ada/tagged/foo.adb: New file.
11005 * gdb.ada/tagged.exp: New testcase.
11006
11007 2008-01-04 Joel Brobecker <brobecker@adacore.com>
11008
11009 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11010 gdb.ada/ptype_field/foo.adb: New files.
11011 * gdb.ada/ptype_field.exp: New testcase.
11012
11013 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11014
11015 * gdb.ada/print_pc.exp: New testcase.
11016
11017 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11018
11019 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11020 gdb.ada/taft_type/p.adb: New files.
11021 * gdb.ada/taft_type.exp: New testcase.
11022
11023 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11024
11025 * gdb.ada/array_bounds/bar.adb: New file.
11026 * gdb.ada/array_bounds.exp: New testcase.
11027
11028 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11029
11030 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11031 gdb.ada/arrayptr/foo.adb: New files.
11032 * gdb.ada/arrayptr.exp: New testcase.
11033
11034 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11035
11036 * gdb.base/set-lang-auto.exp: New testcase.
11037
11038 2008-01-03 Joel Brobecker <brobecker@adacore.com>
11039
11040 * gdb.ada/fun_addr/foo.adb: New file.
11041 * gdb.ada/fun_addr.exp: New testcase.
11042
11043 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11044
11045 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11046 New files
11047
11048 2008-01-02 Joel Brobecker <brobecker@adacore.com>
11049
11050 * array_subscript_addr/p.adb: New file.
11051 * array_subscript_addr.exp: New testcase.
11052
11053 2008-01-02 Joel Brobecker <brobecker@adacore.com>
11054
11055 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
11056 New files.
11057 * gdb.ada/str_cmp_ref.exp: New testcase.
11058
11059 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11060
11061 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11062 gdb.ada/fun_in_declare/foo.adb: New files.
11063 * gdb.ada/fun_in_declare.exp: New testcase.
11064
11065 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11066
11067 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11068 gdb.ada/ref_param/pck.ads: New files.
11069 * gdb.ada/ref_param.exp: New testcase.
11070
11071 2008-01-01 Joel Brobecker <brobecker@adacore.com>
11072
11073 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11074 gdb.ada/interface/foo.adb: New files.
11075 * gdb.ada/interface.exp: New testcase.
11076
11077 2007-12-31 Jim Blandy <jimb@codesourcery.com>
11078
11079 * gdb.base/multi-forks.exp: Consume all output from child
11080 processes before proceeding to next test.
11081
11082 2007-12-29 Jim Blandy <jimb@codesourcery.com>
11083
11084 * configure: Regenerated.
11085
11086 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11087
11088 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11089 gdb.ada/fixed_cmp/fixed.adb: New files.
11090 * gdb.ada/fixed_cmp.exp: New testcase.
11091
11092 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11093
11094 * gdb.ada/boolean_expr.exp: New testcase.
11095
11096 2007-12-26 Jim Blandy <jimb@codesourcery.com>
11097
11098 * gdb.base/multi-forks.exp: Doc fix.
11099
11100 2007-12-26 Joel Brobecker <brobecker@adacore.com>
11101
11102 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11103 * gdb.ada/char_param.exp: Do not compile our test program with
11104 -gnata, this is unnecessary.
11105 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11106
11107 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11110 gdb.ada/print_chars/foo.adb: New files.
11111 * gdb.ada/print_chars.exp: New testcase.
11112
11113 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11114
11115 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11116 gdb.ada/char_param/foo.adb: New files.
11117 * gdb.ada/char_param.exp: New testcase.
11118
11119 2007-12-22 Jim Blandy <jimb@codesourcery.com>
11120
11121 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11122 hard-coding source line numbers into the test.
11123 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11124 gdb_get_line_number to find.
11125
11126 2007-12-22 Joel Brobecker <brobecker@adacore.com>
11127
11128 * gdb.base/ptype.c (highest): New struct type.
11129 (the_highest): New variable of that type.
11130 (main): Add dummy assignment to a field of variable the_highest.
11131 * gdb.base/ptype.exp: Test type printing of our new variable.
11132
11133 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11134
11135 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
11136 and record first explicitly generated thread number.
11137 Use that thread number for thread specific watchpoint test.
11138 Add iteration number to repetitive tests.
11139
11140 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11141 Jim Blandy <jimb@codesourcery.com>
11142
11143 * gdb.base/expand-psymtabs.c: New testcase
11144 source file.
11145 * gdb.base/expand-psymtabs.exp: New testcase
11146 expect file.
11147
11148 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
11149
11150 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11151 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11152
11153 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11154
11155 * gdb.ada/frame_args/foo.adb: New file.
11156 * gdb.ada/frame_args/pck.ads: New file.
11157 * gdb.ada/frame_args/pck.adb: New file.
11158 * gdb.ada/frame_args.exp: New testcase.
11159
11160 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11161
11162 * gdb.base/frame-args.c: New file.
11163 * gdb.base/frame-args.exp: New testcase.
11164
11165 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
11166 Joseph Myers <joseph@codesourcery.com>
11167
11168 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11169
11170 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
11171
11172 * gdb.mi/mi-pending.exp: New.
11173 * gdb.mi/mi-pending.c: New.
11174 * gdb.mi/mi-pendshr.c: New.
11175
11176 2007-12-06 Jim Blandy <jimb@codesourcery.com>
11177
11178 * gdb.base/default.exp: Update expected output for 'info catch'.
11179
11180 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11181
11182 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11183 must be set to binary.
11184
11185 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11186
11187 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11188
11189 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11190
11191 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11192 gdb.mi/mi-file-transfer.exp: New.
11193
11194 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11195
11196 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11197
11198 2007-11-22 Maciej W. Rozycki <macro@mips.com>
11199
11200 * gdb.trace/backtrace.exp: Fix a typo.
11201 * gdb.trace/circ.exp: Likewise.
11202 * gdb.trace/collection.exp: Likewise.
11203 * gdb.trace/limits.exp: Likewise.
11204 * gdb.trace/report.exp: Likewise.
11205 * gdb.trace/tfind.exp: Likewise.
11206 * gdb.trace/while-dyn.exp: Likewise.
11207
11208 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
11209
11210 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11211 objects of pointers that can't be dereferenced are now
11212 "noneditable".
11213
11214 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11215
11216 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11217 (target_cpu): Remove.
11218
11219 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11220
11221 * gdb.base/ending-run.exp: Expect the list of cleared
11222 breakpoint to come in natural order, not the reversed one.
11223
11224 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11225
11226 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11227 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
11228
11229 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
11230
11231 * gdb.base/printcmds.exp: New function
11232 test_printf_with_dfp.
11233
11234 2007-11-02 Doug Evans <dje@google.com>
11235
11236 * gdb.disasm/t01_mov.s: Remove carriage returns.
11237 * gdb.disasm/t02_mova.s: Ditto.
11238 * gdb.disasm/t03_add.s: Ditto.
11239 * gdb.disasm/t04_sub.s: Ditto.
11240 * gdb.disasm/t05_cmp.s: Ditto.
11241 * gdb.disasm/t06_ari2.s: Ditto.
11242 * gdb.disasm/t07_ari3.s: Ditto.
11243 * gdb.disasm/t08_or.s: Ditto.
11244 * gdb.disasm/t09_xor.s: Ditto.
11245 * gdb.disasm/t10_and.s: Ditto.
11246 * gdb.disasm/t11_logs.s: Ditto.
11247 * gdb.disasm/t12_bit.s: Ditto.
11248 * gdb.disasm/t13_otr.s: Ditto.
11249
11250 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11251
11252 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11253
11254 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11255
11256 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11257 provide DFP support.
11258
11259 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11260
11261 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11262 Test "set powerpc vector-abi". Skip auto-detection tests for old
11263 toolchains.
11264
11265 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11266
11267 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11268 with [string compare].
11269
11270 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11271
11272 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11273 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11274
11275 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
11276
11277 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11278 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11279 * gdb.opt/Makefile.in: New makefile.
11280 * Makefile.in: Create new directory "gdb.opt".
11281 * configure.ac: Add "gdb.opt" directory.
11282 * configure: Regenerated.
11283
11284 2007-10-25 Doug Evans <dje@google.com>
11285
11286 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11287 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11288
11289 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
11290 Thiago Jung Bauermann <bauerman@br.ibm.com>
11291
11292 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11293 Floating Point expressions.
11294 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11295 Floating Point variables.
11296 * gdb.base/dfp-test.c: new file containing program with Decimal
11297 Floating variables, used by gdb.base/dfp-test.exp.
11298
11299 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11300
11301 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11302
11303 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11304
11305 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11306 compiling test case with GCC.
11307 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11308
11309 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11310
11311 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11312 format changes.
11313
11314 2007-10-18 Michael Snyder <msnyder@specifix.com>
11315
11316 * gdb.base/dbx.exp: Add missing "-re " operator.
11317
11318 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11319
11320 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11321 * configure.ac: Removed trailing spaces after backslash.
11322 * gdb.modula2: New directory.
11323 * gdb.modula2/Makefile.in: New file.
11324 * gdb.modula2/unbounded-array.exp: New file.
11325 * gdb.modula2/unbounded1.c: New file.
11326
11327 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11328
11329 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11330
11331 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
11332
11333 * gdb.base/sigstep.c (main): Add checks for
11334 return values for setitimer call.
11335 Call setitimer again with itimer = ITIMER_REAL
11336 if first call to setitimer fails.
11337
11338 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
11339
11340 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11341 of $timeout.
11342
11343 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11344
11345 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11346
11347 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
11348
11349 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11350 of gdb_expect call, to avoid interruption.
11351
11352 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11353
11354 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11355 (v_unsigned_long_long, v_long_long_array)
11356 (v_signed_long_long_array, v_unsigned_long_long_array)
11357 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11358 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11359 [!NO_LONG_LONG]: New.
11360 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11361 v_long_long_member.
11362
11363 (v_long_long_func, v_signed_long_long_func)
11364 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11365 (main) [!NO_LONG_LONG]: Initialize long long variants.
11366
11367 * gdb.base/whatis.exp: If board file requests no_long_long, build
11368 test with NO_LONG_LONG defined. Test long long, signed long long,
11369 and unsigned long long variants but only if board file doesn't
11370 disable it.
11371
11372 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
11373 Daniel Jacobowitz <dan@codesourcery.com>
11374
11375 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11376 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11377 * configure: Regenerated.
11378 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11379 gdb.pascal/types.exp, lib/pascal.exp: New files.
11380
11381 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11382
11383 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11384 call.
11385 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11386 to return to the call.
11387 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11388 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11389 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11390 * gdb.mi/mi-until.exp (test_until): Likewise.
11391 * gdb.mi/mi2-until.exp (test_until): Likewise.
11392
11393 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11394
11395 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11396 two-char array.
11397 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11398
11399 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11400
11401 * gdb.threads/watchthreads.c (thread_function): Sleep between
11402 iterations.
11403 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11404 at once for S/390. Generate matching fails and passes.
11405
11406 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11407
11408 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11409 the 'struct_declarations' variable to zeros.
11410
11411 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11412
11413 * gdb.cp/mb-ctor.cc: New.
11414 * gdb.cp/mb-ctor.exp: New.
11415 * gdb.cp/mb-templates.cc: New.
11416 * gdb.cp/mb-templates.exp: New.
11417
11418 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11419
11420 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11421
11422 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11423
11424 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11425 targets.
11426 * configure: Regenerate.
11427
11428 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
11429
11430 * gdb.base/annota1.exp: Adjust for 'info break'
11431 format changes.
11432 * gdb.base/annota3.exp: Likewise.
11433 * gdb.base/break.exp: Likewise.
11434 * gdb.base/condbreak.exp: Likewise.
11435 * gdb.base/pending.exp: Likewise.
11436 * gdb.base/sepdebug.exp: Likewise.
11437 * gdb.base/unload.exp: Likewise.
11438 * gdb.base/ovldbreak.exp: Likewise.
11439
11440 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11441
11442 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11443 messages.
11444 * gdb.base/chng-syms.exp: Likewise.
11445 * gdb.base/unload.exp: Likewise.
11446
11447 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11448
11449 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11450
11451 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11452
11453 * schedlock.c (NUM): Change to 1.
11454 (main): Use args[0] for the main thread.
11455 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11456 regardless of the number of threads.
11457
11458 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11459
11460 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11461 type down.
11462 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11463 test.
11464 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11465 watchpoint type down.
11466 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11467 test.
11468
11469 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11470
11471 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11472 Move all the tests here and run them twice, once using software
11473 watchpoints and once using hardware watchpoints.
11474 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11475
11476 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11477
11478 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11479 test.
11480
11481 2007-09-10 Mark Kettenis <kettenis@gnu.org>
11482
11483 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11484 build-id.
11485
11486 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11487 know about $ORIGIN. Calculate output dir from $dest instead of
11488 using ${objdir}/{$subdir}.
11489
11490 2007-09-09 Mark Kettenis <kettenis@gnu.org>
11491
11492 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11493 gcore, before continuing with the test.
11494
11495 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11496
11497 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11498 * gdb.mi/mi-watch.exp: Likewise.
11499
11500 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11501 Jim Blandy <jimb@codesourcery.com>
11502
11503 * gdb.arch/i386-sse.exp: Do not expect character constants.
11504 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11505 * gdb.base/display.exp: Allow print/s.
11506 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11507 and unsigned char array changes.
11508
11509 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11510
11511 * gdb.base/display.exp: Add tests for printf %p.
11512
11513 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11514
11515 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11516 the dll name to unicode.
11517
11518 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11519
11520 * gdb.base/default.exp (show version): Update the version text.
11521 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11522
11523 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11524
11525 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11526 New files.
11527
11528 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11529
11530 * lib/gdb.exp (build_id_debug_filename_get): New function.
11531 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11532 Remove the generate DEBUG file for the future testcase runs.
11533 New testcase for the NT_GNU_BUILD_ID retrieval.
11534 Move the final testing step to ...
11535 (test_different_dir): ... a new function.
11536 New parameter XFAIL to XFAIL all the tests performed.
11537 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11538 New parameter TYPE to PF_PREFIX all the tests performed.
11539
11540 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11541
11542 * gdb.mi/mi-var-cp.cc (path_expression): New
11543 function.
11544 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11545
11546 2007-08-27 Markus Deuling <deuling@de.ibm.com>
11547
11548 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11549 to fit into SPU Local Store memory.
11550
11551 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11552
11553 * gdb.base/default.exp: Adjust the expected output of "info
11554 warranty" after the switch to GPLv3.
11555
11556 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11557
11558 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11559 to 30000 (from 20000).
11560
11561 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11562
11563 Switch the license of all .exp files to GPLv3.
11564 Switch the license of all .f and .f90 files to GPLv3.
11565 Switch the license of all .s and .S files to GPLv3.
11566
11567 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11568
11569 * configure.ac: Switch license to GPLv3.
11570
11571 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11572
11573 Switch the licensing to GPLv3 for all .ads and .adb files.
11574
11575 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11576
11577 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11578 and t_int_double.
11579 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11580
11581 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11582
11583 * gdb.base/step-line.c: Switch license to GPL version 3, and
11584 update copyright year.
11585 * gdb.base/step-line.inp: Likewise.
11586
11587 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11588
11589 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11590 changes inside gdb1555.c.
11591 * gdb.base/pending.exp: Likewise.
11592
11593 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11594
11595 * config/default.exp: New file.
11596
11597 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11598
11599 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11600 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11601
11602 2007-07-30 Maciej W. Rozycki <macro@mips.com>
11603
11604 * gdb.base/dump.exp: Force the correct endianness for binary
11605 formats not carrying this information.
11606
11607 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11608
11609 * gdb.threads/staticthreads.exp: Match .*sem_post.
11610
11611 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11612
11613 * gdb.base/readline.exp (operate_and_get_next): Match the final
11614 prompt.
11615
11616 2007-07-23 Kevin Buettner <kevinb@redhat.com>
11617
11618 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11619 to restarting SID.
11620
11621 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11622
11623 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11624 prior to `gdb_start'.
11625
11626 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11627
11628 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11629 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11630 Remove call to gdb_unload.
11631
11632 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11633 Daniel Jacobowitz <dan@codesourcery.com>
11634
11635 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11636 for __WIN32__.
11637 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11638 * gdb.base/unload.exp: Use shared library test routines.
11639
11640 2007-07-03 Markus Deuling <deuling@de.ibm.com>
11641
11642 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11643 * gdb.base/solib-symbol-lib.c: Likewise.
11644 * gdb.base/solib-symbol-main.c: Likewise.
11645
11646 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11647
11648 * config/gdbserver.exp (gdb_reconnect): New.
11649 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11650 gdb.base/solib-disc.exp: New files.
11651 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11652 remote debugging".
11653 (gdb_compile): Add shlib_load flag.
11654 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11655 port.
11656 (gdbserver_reconnect): New.
11657
11658 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
11659 Daniel Jacobowitz <dan@codesourcery.com>
11660
11661 * gdb.base/annota3.exp: Test for if construct.
11662
11663 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11664
11665 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11666
11667 2007-06-21 Chris Dearman <chris@mips.com>
11668 Maciej W. Rozycki <macro@mips.com>
11669
11670 * gdb.base/display.exp: Allow a newline after display/i.
11671 * gdb.base/pc-fp.exp: Likewise.
11672 * gdb.base/sigbpt.exp: Likewise.
11673
11674 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11675
11676 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11677 required features to be included.
11678
11679 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11680
11681 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11682 in info threads output.
11683
11684 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11685 Markus Deuling <deuling@de.ibm.com>
11686
11687 * gdb.arch/spu-info.exp: New testcase.
11688 * gdb.arch/spu-info.c: New file.
11689
11690 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11691
11692 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11693 tpcs_offset. Restore lr after the call.
11694 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11695
11696 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11697
11698 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11699 (gdbserver_run): Kill any running gdbserver.
11700 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11701
11702 2007-05-17 Maciej W. Rozycki <macro@mips.com>
11703
11704 * gdb.base/sigbpt.exp: Preset segv_addr.
11705
11706 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11707
11708 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11709 (gdb_compile_shlib): Likewise.
11710 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11711 (default_gdb_init): Clear cleanfiles.
11712 (gdb_finish): Delete recorded cleanfiles.
11713 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11714
11715 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11716 Do not use isnative.
11717 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11718 gdb.base/so-impl-ld.exp: Likewise.
11719 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11720 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11721 gdb_compile.
11722
11723 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11724
11725 * config/unknown.exp: Remove.
11726
11727 2007-05-15 Markus Deuling <deuling@de.ibm.com>
11728
11729 * gdb.base/info-proc.exp: Check is_remote.
11730
11731 2007-05-14 Markus Deuling <deuling@de.ibm.com>
11732
11733 * gdb.base/gcore.exp: Initialize variable core_supported.
11734
11735 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11736
11737 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11738
11739 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11740
11741 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11742 * gdb.threads/print-threads.exp (test_all_threads): Allow
11743 negative and hexadecimal thread IDs.
11744
11745 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11746
11747 * gdb.java/jprint.java (public): Avoid invalid call to static
11748 method.
11749
11750 2007-05-14 Denis Pilat <denis.pilat@st.com>
11751
11752 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11753 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11754 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11755 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11756 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11757
11758 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11759
11760 * gdb.base/overlays.exp: Add support for targets with only code
11761 overlay support, not data overlay. Support spu-*-* target in
11762 this mode.
11763 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11764 * gdb.base/spu.ld: New file.
11765
11766 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11767
11768 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11769
11770 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11771
11772 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11773
11774 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11775
11776 * gdb.java/jmain.exp: Handle demangled names with and without method
11777 signatures.
11778
11779 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11780
11781 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11782 (have_a_very_merry_interrupt): Remove calls to puts.
11783 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11784 inferior output.
11785 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11786 test names.
11787
11788 2007-04-29 Markus Deuling <deuling@de.ibm.com>
11789 Daniel Jacobowitz <dan@codesourcery.com>
11790
11791 * gdb.base/auxv.exp (core_works): Also check is_remote.
11792 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11793
11794 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
11795
11796 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11797 message, not the undefined 'module' variable.
11798 * gdb.base/siginfo.exp: Likewise.
11799 * gdb.base/sigstep.exp: Likewise.
11800 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11801 serialport.
11802 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11803
11804 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
11805
11806 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11807 target sim fails. Return 0 otherwise.
11808 (gdb_load): Return prematurely if gdb_target_sim fails.
11809
11810 2007-04-16 Denis Pilat <denis.pilat@st.com>
11811
11812 * gdb.base/setshow.exp: Reset height after having set it to 100.
11813
11814 2007-04-16 Denis Pilat <denis.pilat@st.com>
11815
11816 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11817
11818 2007-04-16 Denis Pilat <denis.pilat@st.com>
11819
11820 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11821
11822 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11823
11824 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11825 tests. Run the frozen varobjs test.
11826 * gdb.mi/var-cmd.c (do_frozen_tests): New.
11827 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11828
11829 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11830
11831 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11832 gdb.base/type-opaque.exp: New files.
11833
11834 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
11835
11836 * gdb.mi/mi-var-child.c
11837 (do_children_tests): User char[2] instead of
11838 char so that automatic printing of pointers to char
11839 don't give unpredicable result.
11840 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11841 local variables.
11842 * gdb.mi/mi-var-child.exp: Step to right line
11843 of do_children_tests.
11844 * gdb.mi/mi2-var-child.exp: Likewise.
11845 * gdb.mi/mi-var-cmd.exp: Step to right line of
11846 do_locals_tests.
11847 (do_children_tests): User char[2] instead of
11848 char so that automatic printing of pointers to char
11849 don't give unpredicable result.
11850 * gdb.mi/mi2-var-cmd.exp: Likewise.
11851 * lib/mi-support.exp (mi_continue_to_line):
11852 Pass test name to mi_wait_for_stop.
11853
11854 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11855
11856 * gdb.asm/asm-source.exp: Remove d10v case.
11857 * lib/gdb.exp (skip_cplus_tests): Likewise.
11858 * gdb.asm/d10v.inc: Deleted.
11859
11860 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11861
11862 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11863
11864 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11865
11866 * config/netware.exp: Delete file.
11867
11868 2007-03-29 Joel Brobecker <brobecker@adacore.com>
11869
11870 * gdb.dwarf2/dw2-noloc.S: New file.
11871 * gdb.dwarf2/dw2-noloc.exp: New file.
11872
11873 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11874
11875 * gdb.cp/method2.cc: New test.
11876 * gdb.cp/method2.exp: New test.
11877 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11878
11879 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11880
11881 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11882
11883 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11884
11885 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11886
11887 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11888
11889 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11890 (gdb_load): Delete, replace with...
11891 (gdb_reload): ...this.
11892 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11893 * gdb.server/server-mon.exp: Likewise.
11894 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11895 (gdb_start_cmd): New.
11896 (gdb_file_cmd): Save the last loaded file.
11897 (gdb_reload): New.
11898 (gdb_gnu_strip_debug): Use transform.
11899 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11900 support here. Use new $last_loaded_file. Check mtime.
11901 (gdb_target_cmd): Handle ObjC failure case.
11902 (infer_host_exec): Delete.
11903 (gdbserver_load): Rename to...
11904 (gdbserver_run): ...this. Simplify.
11905 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11906 (mi_gdb_load): Move most contents to a new function...
11907 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11908 (mi_run_cmd): Use mi_gdb_target_load.
11909 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11910 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11911 Use gdb_run_cmd.
11912 * gdb.base/charsign.exp: Remove incorrect comment.
11913 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11914 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11915 gdb.base/start.exp: Use gdb_start_cmd.
11916
11917 2007-03-23 Nigel Stephens <nigel@mips.com>
11918 Maciej W. Rozycki <macro@mips.com>
11919
11920 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11921 * gdb.base/signull.exp: Similarly.
11922
11923 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11924
11925 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11926 messages available to test cases (like chng-sym.exp).
11927
11928 2007-03-14 Andreas Schwab <schwab@suse.de>
11929
11930 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11931 format changes.
11932
11933 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11934
11935 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11936 (optimized_1): New.
11937 (main): Call optimized_1.
11938 (gdb2029): Correct typos. Call gdb2029_marker.
11939 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11940 for gdb2029.
11941
11942 2007-03-12 Mark Kettenis <kettenis@gnu.org>
11943
11944 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11945 as tabs. Remove redundant test pattern.
11946
11947 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11948
11949 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11950 for /a format output.
11951
11952 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11953
11954 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11955 collect output incrementally.
11956
11957 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11958
11959 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11960 for -var-create lpcharacter test.
11961 * gdb.mi/mi2-var-cmd.exp: Likewise.
11962
11963 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11964
11965 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11966 pass on targets where address zero is readable.
11967
11968 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11969
11970 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11971 just a single architecture.
11972
11973 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11974
11975 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11976 (fetch_all_registers): New function, uses gdb_test_multiple and
11977 exp_continue to fetch inferior output line-by-line.
11978 Replace all uses of do_get_all_registers by fetch_all_registers.
11979
11980 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11981
11982 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11983 in target_info.
11984
11985 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11986
11987 * gdb.threads/manythreads.exp: Use $message string for
11988 consistancy; add a default (timeout) case.
11989
11990 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11991
11992 * gdb.base/watchpoint.exp: Fix truncated comment.
11993
11994 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11995
11996 * Makefile.in: Remove spurious single-quotes from sed command.
11997
11998 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11999
12000 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
12001 func.
12002 * gdb.mi/mi2-var-cmd.exp: Likewise.
12003
12004 2007-02-27 Joel Brobecker <brobecker@adacore.com>
12005
12006 * gdb.dwarf2/dw2-producer.S: New file.
12007 * gdb.dwarf2/dw2-producer.exp: New testcase.
12008
12009 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
12010
12011 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12012 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12013 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12014 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12015 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12016 Revert tests to use mi_gdb_test and include value field in output
12017 of -var-create.
12018
12019 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12020
12021 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12022
12023 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12024
12025 * gdb.base/maint.exp: Remove full paths from test names.
12026 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12027 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12028
12029 2007-02-27 Joel Brobecker <brobecker@adacore.com>
12030
12031 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12032
12033 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12034
12035 * gdb.server/server-mon.exp: New test.
12036
12037 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12038
12039 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12040
12041 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12042
12043 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12044 register capitalization.
12045
12046 2007-02-13 Denis Pilat <denis.pilat@st.com>
12047
12048 * gdb.mi/mi-var-invalidate.exp: New file.
12049
12050 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12051
12052 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12053
12054 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12055
12056 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12057
12058 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12059
12060 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12061 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12062
12063 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
12064
12065 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12066 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12067 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12068 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12069 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12070 * gdb.mi/gdb792.exp, lib/mi-support.exp:
12071 Update tests to include value field in output of -var-create.
12072
12073 2007-02-08 Andreas Schwab <schwab@suse.de>
12074
12075 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12076
12077 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12078
12079 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12080 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12081
12082 2007-02-02 Denis Pilat <denis.pilat@st.com>
12083
12084 * gdb.threads/threadapply.exp: check that frame is not changed by
12085 the thread apply all command.
12086
12087 2007-01-31 Andreas Schwab <schwab@suse.de>
12088
12089 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12090
12091 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12092 in the dwarf sections.
12093 * gdb.dwarf2/mac-fileno.S: Likewise.
12094
12095 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12096 bspstore register on ia64.
12097
12098 2007-01-29 Andreas Schwab <schwab@suse.de>
12099
12100 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12101 "frame-begin" annotation.
12102
12103 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12104 number of "frames-invalid" annotations.
12105
12106 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12107
12108 * gdb.base/commands.exp: Call if_commands_test.
12109 (gdb_test_no_prompt, if_commands_test): New.
12110
12111 2007-01-28 Mark Kettenis <kettenis@gnu.org>
12112
12113 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12114
12115 2007-01-27 Andreas Schwab <schwab@suse.de>
12116
12117 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12118 .short/.int/.quad in the dwarf sections.
12119 * gdb.dwarf2/dw2-intercu.S: Likewise.
12120 * gdb.dwarf2/dw2-intermix.S: Likewise.
12121
12122 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12123
12124 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
12125 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12126 array.
12127 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12128 * gdb.base/setvar.exp: Likewise.
12129
12130 2007-01-26 Andreas Schwab <schwab@suse.de>
12131
12132 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12133 test.
12134
12135 * gdb.base/multi-forks.exp ("restart $i"): Also match
12136 __kernel_syscall_via_break.
12137
12138 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12139
12140 * lib/mi-support.exp (mi_delete_varobj): New.
12141 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12142 testcase.
12143 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12144 (main): Call the above.
12145 (reference_update_test, base_in_reference_test)
12146 (reference_to_pointer): Delete the created varobjs.
12147
12148 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12149
12150 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12151 * configure: Regenerated.
12152 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12153 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12154 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12155 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12156 * lib/gdb.exp (gdb_skip_xml_test): New function.
12157
12158 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12159
12160 * gdb.base/sigrepeat.exp: Correct error message.
12161
12162 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12163 Daniel Jacobowitz <dan@codesourcery.com>
12164
12165 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12166 gdb.arch/i386-gnu-cfi-asm.S: New files.
12167
12168 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12169
12170 * lib/gdb.exp: Abort on missing `site.exp'.
12171
12172 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12173 Daniel Jacobowitz <dan@codesourcery.com>
12174
12175 * gdb.base/included.c, gdb.base/included.exp,
12176 gdb.base/included.h: New files.
12177
12178 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12179
12180 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12181 (maximize_rlimit): Reduce limits on 64-bit systems.
12182
12183 2007-01-19 Mark Kettenis <kettenis@gnu.org>
12184
12185 From Marcus Deuling <deuling@de.ibm.com>:
12186 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12187 every case.
12188
12189 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
12190
12191 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12192 (test_path_specification): Use objdir instead of srcdir to always
12193 get an absolute filename.
12194
12195 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12196
12197 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12198
12199 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12200
12201 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12202 Make sure the variable we're using is in scope.
12203 (reference_to_pointer): Likewise.
12204
12205 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12206
12207 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12208 has no debug information.
12209
12210 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12211
12212 * gdb.base/annota1.exp: Remove extra send_gdb.
12213
12214 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12215
12216 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12217
12218 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12219
12220 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12221
12222 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
12223 Daniel Jacobowitz <dan@codesourcery.com>
12224
12225 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12226 lcharacter or linteger change. Correct duplicated test name.
12227 * gdb.mi/mi2-var-cmd.exp: Likewise.
12228
12229 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12230
12231 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12232
12233 2007-01-05 Joel Brobecker <brobecker@adacore.com>
12234
12235 * gdb.base/nofield.c: New file.
12236 * gdb.base/nofield.exp: New testcase.
12237
12238 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
12239
12240 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12241
12242 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12243 test.
12244
12245 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12246
12247 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12248
12249 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12250
12251 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12252 when continuing.
12253
12254 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12255
12256 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12257 Expect ".exe" extension.
12258
12259 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12260
12261 * gdb.base/charset.exp: Add explicit filename to break.
12262 * gdb.base/dbx.exp: Add explicit filename to breaks.
12263
12264 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12265
12266 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12267 * gdb.mi/mi2-file.exp: Likewise.
12268
12269 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12270
12271 Implement specification of MI tests as comments
12272 in C and C++ sources.
12273 * lib/mi-support.exp (mi_autotest_data): New variable.
12274 (mi_autotest_source): New variable.
12275 (count_newlines, mi_prepare_inline_tests)
12276 (mi_get_inline_test, mi_continue_to_line)
12277 (mi_run_inline_test, mi_tbreak)
12278 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12279 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12280 Run inline tests.
12281 * gdb.mi/mi-var-cp.cc: Define tests here.
12282
12283 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12284
12285 Simplify usage of mi_continue_to.
12286 * lib/mi-support.exp (mi_runto_helper): Renamed
12287 from mi_runto, added new parameter 'run_or_continue'.
12288 (mi_runto): Use mi_runto_helper.
12289 (mi_continue_to): Accept just function name as parameter.
12290 Use mi_runto_helper.
12291 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12292 * gdb.mi/mi2-var-cmd.exp: Likewise.
12293
12294 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12295
12296 Make this testcase a bit more realistic. The current code
12297 is too simplistic, and allows the compiler to optimize out
12298 some of the entities we need for this testcase.
12299 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12300 (Do_Nothing): Add extra parameter.
12301 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12302 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12303 by using a variable of type Void_Star.
12304
12305 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12306
12307 * gdb.ada/catch_ex/foo.adb: New file.
12308 * gdb.ada/catch_ex.exp: New testcase.
12309
12310 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12311
12312 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12313 pass --image-base to linker.
12314
12315 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12316 Daniel Jacobowitz <dan@codesourcery.com>
12317
12318 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12319 secondary prompts.
12320
12321 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12322
12323 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12324 output. Test the types of members and member pointers.
12325 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12326 gdb/2092.
12327 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12328 statement. Enable for GCC. Update expected output for some tests
12329 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12330 layout.
12331 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12332 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12333 (Diamond::vget_base): New.
12334 (main): Add new tests.
12335 * gdb.cp/printmethod.exp: Update expected output for member functions.
12336 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12337 print pEe->D::vg().
12338
12339 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12340
12341 * gdb.threads/tls.exp: Allow stops in sem_post.
12342
12343 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12344
12345 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12346 * gdb.base/annota3.exp: Likewise.
12347 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12348 again (instead of timing out).
12349 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12350 GCC bug 26475.
12351 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12352 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12353 test from jmisc1.exp.
12354 * gdb.java/jmisc1.exp: Delete.
12355 * gdb.java/jprint.exp: Adjust to work with method signatures including
12356 return types.
12357 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12358 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12359 * lib/java.exp (compile_java_from_source): Pass the correct type
12360 to target_compile.
12361
12362 2006-12-31 Joel Brobecker <brobecker@adacore.com>
12363
12364 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12365 (stack_align_edx): New function.
12366 (stack_align_eax): New function.
12367 (main): Add calls to stack_align_edx and stack_align_eax.
12368 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12369 Add testing for the cases where the register used during a stack
12370 realignment is edx. Same for eax.
12371
12372 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12373
12374 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12375 and generic PE targets.
12376
12377 2006-12-29 Joel Brobecker <brobecker@adacore.com>
12378
12379 * gdb.ada/array_return.exp: Update copyright date list.
12380
12381 2006-12-27 Joel Brobecker <brobecker@adacore.com>
12382
12383 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12384 (Create_Small_Float_Vector): New function.
12385 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12386 function body.
12387 * gdb.ada/array_return/p.adb: Use new type and function from
12388 package Pck.
12389 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12390 able to print the value returned by a function returning an
12391 array of float.
12392
12393 2006-12-20 Joel Brobecker <brobecker@adacore.com>
12394
12395 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12396 The associated tests should be PASSing.
12397
12398 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12399
12400 Test for base in references.
12401 * gdb.mi/mi-var-cp.cc: Add test code.
12402 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12403 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12404 * gdb.mi/mi2-watch.exp: Likewise.
12405 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12406 (mi_list_varobj_children): New function.
12407
12408 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12409
12410 * lib/mi-support.exp
12411 (mi_runto): Accept "()" after function name.
12412 (mi_create_varobj): New function.
12413 (mi_varobj_update): New function.
12414 (mi_Check_varobj_value): New function.
12415 * gdb.mi/mi-var-cp.exp: New file.
12416 * gdb.mi/mi-var-cp.cc: New file.
12417
12418 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12419
12420 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12421 gdb.base/weaklib2.c: New files.
12422
12423 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
12424
12425 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12426 info. Adjust test names.
12427
12428 * gdb.base/break.c (main): Move position of malloc.
12429 * gdb.base/break.exp: Revert mistaken checkin.
12430
12431 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12432
12433 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12434 assignement of arrays and function pointers.
12435 * gdb.mi/var-cmd.c: Add declaration necessary for above
12436 tests.
12437
12438 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12439
12440 * gdb.base/break.c (main): Call malloc.
12441
12442 * gdb.threads/linux-dp.exp: Read thread table before and after
12443 creating each philosopher and verify it.
12444
12445 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12446 Paul Brook <paul@codesourcery.com>
12447 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 * gdb.base/ending-run.exp: Flatten expect script stepping out of
12450 main to remove duplication. Add start function of the form
12451 '_*start[1-9]*'. Add RVDS start function.
12452
12453 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12454
12455 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12456
12457 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12458
12459 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12460 * gdb.asm/spu.inc: New file.
12461 * gdb.base/term.exp: Disable if [target_info exists noargs].
12462 * gdb.gdb/complaints.exp: Disable if ![isnative].
12463 * gdb.gdb/selftest.exp: Likewise.
12464 * gdb.gdb/observer.exp: Likewise.
12465 * gdb.gdb/xfullpath.exp: Likewise.
12466 * gdb.base/attach.exp: Disable on SPU target.
12467 * gdb.cp/bs145503.exp: Likewise.
12468 * gdb.cp/exception.exp: Likewise.
12469 * gdb.cp/userdef.exp: Likewise.
12470
12471 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12472
12473 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12474
12475 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12476
12477 * gdb.base/completion.exp: Fix completion tests for
12478 'info' and 'info '.
12479 * gdb.base/help.exp (help_test_raw, test_class_help)
12480 (test_prefix_command_help): Move...
12481 * lib/gdb.exp: Here.
12482 * gdb.base/main.exp: Adjust.
12483 * gdb.cp/maint.exp: Adjust.
12484 * gdb.trace/tracecmd.exp: Use test_help_class.
12485
12486 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12487
12488 * gdb.stabs/weird.exp (print_weird_var): Use
12489 gdb_test_multiple instead of gdb_expect.
12490
12491 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12492
12493 * gdb.base/help.exp (help_test_raw): New.
12494 (test_class_help): New.
12495 (test_prefix_command_help): New.
12496 Adjust testcases.
12497
12498 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
12499
12500 * gdb.base/constvars.c (main): Write to crass and crips, so that
12501 they are allocated by the compiler.
12502
12503 2006-10-27 Andreas Schwab <schwab@suse.de>
12504
12505 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12506 "detach-fork".
12507
12508 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12509
12510 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12511 of patterns.
12512
12513 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12514
12515 * gdb.base/sepdebug.exp: Remove debug format test.
12516 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12517 Handle no-symtab.
12518 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12519
12520 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12521
12522 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12523 int to pointer or pointer to int.
12524 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12525
12526 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12527
12528 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12529
12530 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12531
12532 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12533
12534 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12535
12536 PR c++/2116
12537 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12538
12539 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12540
12541 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12542 the corresponding bug has been fixed in GDB (PR/2018).
12543
12544 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12545
12546 * gdb.base/subst.exp: New testcase.
12547
12548 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12549
12550 * gdb.ada/array_return/pck.ads: Add copyright notice.
12551 * gdb.ada/array_return/pck.adb: Likewise.
12552 * gdb.ada/array_return/p.adb: Likewise.
12553 * gdb.ada/exec_changed/first.adb: Likewise.
12554 * gdb.ada/exec_changed/second.adb: Likewise.
12555
12556 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12557
12558 * gdb.ada/watch_arg/watch.adb: New file.
12559 * gdb.ada/watch_arg.exp: New testcase.
12560
12561 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12562
12563 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
12564 via string_to_regexp.
12565 * gdb.mi/mi2-basics.exp: Likewise.
12566
12567 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
12568
12569 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12570 Remove unused / obsolete files.
12571
12572 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
12573
12574 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12575
12576 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12577
12578 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12579 HIGH_FRAME argument to -stack-list-arguments can be larger than
12580 the number of frames.
12581
12582 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12583
12584 * gdb.base/args.c (main): Add breakpoint marker.
12585 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12586 really test empty arguments.
12587 (args_load): Delete.
12588 (args_test): New.
12589
12590 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
12591
12592 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
12593 check for one file.
12594
12595 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12596
12597 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12598 HIGH_FRAME argument to -stack-list-locals can be larger than
12599 the number of frames.
12600
12601 2006-08-18 Fred Fish <fnf@specifix.com>
12602
12603 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12604 '$' in front of skip_vmx_tests_saved when setting that.
12605
12606 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12607
12608 * gdb.base/trace-commands.exp: New file.
12609
12610 2006-08-10 Joel Brobecker <brobecker@adacore.com>
12611 Daniel Jacobowitz <dan@codesourcery.com>
12612
12613 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12614 expected output of the backtrace commands.
12615
12616 2006-08-09 Joel Brobecker <brobecker@adacore.com>
12617
12618 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12619 untested followed by return combination.
12620 * gdb.arch/altivec-regs.exp: Likewise.
12621 * gdb.arch/e500-abi.exp: Likewise.
12622 * gdb.arch/e500-regs.exp: Likewise.
12623 * gdb.arch/gdb1291.exp: Likewise.
12624 * gdb.arch/gdb1431.exp: Likewise.
12625 * gdb.arch/gdb1558.exp: Likewise.
12626 * gdb.arch/i386-prologue.exp: Likewise.
12627 * gdb.arch/i386-unwind.exp: Likewise.
12628 * gdb.asm/asm-source.exp: Likewise.
12629 * gdb.base/a2-run.exp: Likewise.
12630 * gdb.base/advance.exp: Likewise.
12631 * gdb.base/all-bin.exp: Likewise.
12632 * gdb.base/annota1.exp: Likewise.
12633 * gdb.base/annota3.exp: Likewise.
12634 * gdb.base/args.exp: Likewise.
12635 * gdb.base/arithmet.exp: Likewise.
12636 * gdb.base/assign.exp: Likewise.
12637 * gdb.base/async.exp: Likewise.
12638 * gdb.base/attach.exp: Likewise.
12639 * gdb.base/bang.exp: Likewise.
12640 * gdb.base/bigcore.exp: Likewise.
12641 * gdb.base/bitfields.exp: Likewise.
12642 * gdb.base/bitfields2.exp: Likewise.
12643 * gdb.base/break.exp: Likewise.
12644 * gdb.base/call-sc.exp: Likewise.
12645 * gdb.base/call-strs.exp: Likewise.
12646 * gdb.base/callfuncs.exp: Likewise.
12647 * gdb.base/checkpoint.exp: Likewise.
12648 * gdb.base/chng-syms.exp: Likewise.
12649 * gdb.base/code-expr.exp: Likewise.
12650 * gdb.base/commands.exp: Likewise.
12651 * gdb.base/completion.exp: Likewise.
12652 * gdb.base/cond-expr.exp: Likewise.
12653 * gdb.base/condbreak.exp: Likewise.
12654 * gdb.base/consecutive.exp: Likewise.
12655 * gdb.base/constvars.exp: Likewise.
12656 * gdb.base/corefile.exp: Likewise.
12657 * gdb.base/cvexpr.exp: Likewise.
12658 * gdb.base/dbx.exp: Likewise.
12659 * gdb.base/define.exp: Likewise.
12660 * gdb.base/detach.exp: Likewise.
12661 * gdb.base/display.exp: Likewise.
12662 * gdb.base/dump.exp: Likewise.
12663 * gdb.base/ena-dis-br.exp: Likewise.
12664 * gdb.base/ending-run.exp: Likewise.
12665 * gdb.base/environ.exp: Likewise.
12666 * gdb.base/eval-skip.exp: Likewise.
12667 * gdb.base/exprs.exp: Likewise.
12668 * gdb.base/fileio.exp: Likewise.
12669 * gdb.base/finish.exp: Likewise.
12670 * gdb.base/float.exp: Likewise.
12671 * gdb.base/foll-exec.exp: Likewise.
12672 * gdb.base/foll-fork.exp: Likewise.
12673 * gdb.base/foll-vfork.exp: Likewise.
12674 * gdb.base/freebpcmd.exp: Likewise.
12675 * gdb.base/funcargs.exp: Likewise.
12676 * gdb.base/gcore.exp: Likewise.
12677 * gdb.base/gdb1090.exp: Likewise.
12678 * gdb.base/gdb1250.exp: Likewise.
12679 * gdb.base/huge.exp: Likewise.
12680 * gdb.base/info-proc.exp: Likewise.
12681 * gdb.base/interrupt.exp: Likewise.
12682 * gdb.base/jump.exp: Likewise.
12683 * gdb.base/langs.exp: Likewise.
12684 * gdb.base/lineinc.exp: Likewise.
12685 * gdb.base/list.exp: Likewise.
12686 * gdb.base/logical.exp: Likewise.
12687 * gdb.base/long_long.exp: Likewise.
12688 * gdb.base/macscp.exp: Likewise.
12689 * gdb.base/maint.exp: Likewise.
12690 * gdb.base/mips_pro.exp: Likewise.
12691 * gdb.base/miscexprs.exp: Likewise.
12692 * gdb.base/multi-forks.exp: Likewise.
12693 * gdb.base/opaque.exp: Likewise.
12694 * gdb.base/overlays.exp: Likewise.
12695 * gdb.base/pc-fp.exp: Likewise.
12696 * gdb.base/pointers.exp: Likewise.
12697 * gdb.base/printcmds.exp: Likewise.
12698 * gdb.base/psymtab.exp: Likewise.
12699 * gdb.base/ptype.exp: Likewise.
12700 * gdb.base/recurse.exp: Likewise.
12701 * gdb.base/relational.exp: Likewise.
12702 * gdb.base/relocate.exp: Likewise.
12703 * gdb.base/remote.exp: Likewise.
12704 * gdb.base/reread.exp: Likewise.
12705 * gdb.base/restore.exp: Likewise.
12706 * gdb.base/return.exp: Likewise.
12707 * gdb.base/return2.exp: Likewise.
12708 * gdb.base/scope.exp: Likewise.
12709 * gdb.base/sect-cmd.exp: Likewise.
12710 * gdb.base/sep.exp: Likewise.
12711 * gdb.base/sepdebug.exp: Likewise.
12712 * gdb.base/setshow.exp: Likewise.
12713 * gdb.base/setvar.exp: Likewise.
12714 * gdb.base/sigall.exp: Likewise.
12715 * gdb.base/sigbpt.exp: Likewise.
12716 * gdb.base/signals.exp: Likewise.
12717 * gdb.base/signull.exp: Likewise.
12718 * gdb.base/sizeof.exp: Likewise.
12719 * gdb.base/solib.exp: Likewise.
12720 * gdb.base/step-line.exp: Likewise.
12721 * gdb.base/step-test.exp: Likewise.
12722 * gdb.base/structs.exp: Likewise.
12723 * gdb.base/structs2.exp: Likewise.
12724 * gdb.base/term.exp: Likewise.
12725 * gdb.base/twice.exp: Likewise.
12726 * gdb.base/until.exp: Likewise.
12727 * gdb.base/varargs.exp: Likewise.
12728 * gdb.base/volatile.exp: Likewise.
12729 * gdb.base/watchpoint.exp: Likewise.
12730 * gdb.base/whatis-exp.exp: Likewise.
12731 * gdb.base/whatis.exp: Likewise.
12732 * gdb.cp/ambiguous.exp: Likewise.
12733 * gdb.cp/annota2.exp: Likewise.
12734 * gdb.cp/annota3.exp: Likewise.
12735 * gdb.cp/bool.exp: Likewise.
12736 * gdb.cp/breakpoint.exp: Likewise.
12737 * gdb.cp/casts.exp: Likewise.
12738 * gdb.cp/class2.exp: Likewise.
12739 * gdb.cp/classes.exp: Likewise.
12740 * gdb.cp/cplusfuncs.exp: Likewise.
12741 * gdb.cp/ctti.exp: Likewise.
12742 * gdb.cp/derivation.exp: Likewise.
12743 * gdb.cp/exception.exp: Likewise.
12744 * gdb.cp/gdb1355.exp: Likewise.
12745 * gdb.cp/hang.exp: Likewise.
12746 * gdb.cp/inherit.exp: Likewise.
12747 * gdb.cp/local.exp: Likewise.
12748 * gdb.cp/m-data.exp: Likewise.
12749 * gdb.cp/m-static.exp: Likewise.
12750 * gdb.cp/member-ptr.exp: Likewise.
12751 * gdb.cp/method.exp: Likewise.
12752 * gdb.cp/misc.exp: Likewise.
12753 * gdb.cp/namespace.exp: Likewise.
12754 * gdb.cp/overload.exp: Likewise.
12755 * gdb.cp/ovldbreak.exp: Likewise.
12756 * gdb.cp/pr-1023.exp: Likewise.
12757 * gdb.cp/pr-1210.exp: Likewise.
12758 * gdb.cp/pr-574.exp: Likewise.
12759 * gdb.cp/printmethod.exp: Likewise.
12760 * gdb.cp/psmang.exp: Likewise.
12761 * gdb.cp/ref-params.exp: Likewise.
12762 * gdb.cp/ref-types.exp: Likewise.
12763 * gdb.cp/rtti.exp: Likewise.
12764 * gdb.cp/templates.exp: Likewise.
12765 * gdb.cp/try_catch.exp: Likewise.
12766 * gdb.cp/userdef.exp: Likewise.
12767 * gdb.cp/virtfunc.exp: Likewise.
12768 * gdb.disasm/am33.exp: Likewise.
12769 * gdb.disasm/h8300s.exp: Likewise.
12770 * gdb.disasm/mn10300.exp: Likewise.
12771 * gdb.disasm/sh3.exp: Likewise.
12772 * gdb.disasm/t01_mov.exp: Likewise.
12773 * gdb.disasm/t02_mova.exp: Likewise.
12774 * gdb.disasm/t03_add.exp: Likewise.
12775 * gdb.disasm/t04_sub.exp: Likewise.
12776 * gdb.disasm/t05_cmp.exp: Likewise.
12777 * gdb.disasm/t06_ari2.exp: Likewise.
12778 * gdb.disasm/t07_ari3.exp: Likewise.
12779 * gdb.disasm/t08_or.exp: Likewise.
12780 * gdb.disasm/t09_xor.exp: Likewise.
12781 * gdb.disasm/t10_and.exp: Likewise.
12782 * gdb.disasm/t11_logs.exp: Likewise.
12783 * gdb.disasm/t12_bit.exp: Likewise.
12784 * gdb.disasm/t13_otr.exp: Likewise.
12785 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12786 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12787 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12788 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12789 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12790 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12791 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12792 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12793 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12794 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12795 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12796 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12797 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12798 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12799 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12800 * gdb.mi/gdb701.exp: Likewise.
12801 * gdb.mi/gdb792.exp: Likewise.
12802 * gdb.mi/mi-basics.exp: Likewise.
12803 * gdb.mi/mi-break.exp: Likewise.
12804 * gdb.mi/mi-cli.exp: Likewise.
12805 * gdb.mi/mi-console.exp: Likewise.
12806 * gdb.mi/mi-disassemble.exp: Likewise.
12807 * gdb.mi/mi-eval.exp: Likewise.
12808 * gdb.mi/mi-file.exp: Likewise.
12809 * gdb.mi/mi-read-memory.exp: Likewise.
12810 * gdb.mi/mi-regs.exp: Likewise.
12811 * gdb.mi/mi-return.exp: Likewise.
12812 * gdb.mi/mi-simplerun.exp: Likewise.
12813 * gdb.mi/mi-stack.exp: Likewise.
12814 * gdb.mi/mi-stepi.exp: Likewise.
12815 * gdb.mi/mi-syn-frame.exp: Likewise.
12816 * gdb.mi/mi-until.exp: Likewise.
12817 * gdb.mi/mi-var-block.exp: Likewise.
12818 * gdb.mi/mi-var-child.exp: Likewise.
12819 * gdb.mi/mi-var-cmd.exp: Likewise.
12820 * gdb.mi/mi-var-display.exp: Likewise.
12821 * gdb.mi/mi-watch.exp: Likewise.
12822 * gdb.mi/mi2-basics.exp: Likewise.
12823 * gdb.mi/mi2-break.exp: Likewise.
12824 * gdb.mi/mi2-cli.exp: Likewise.
12825 * gdb.mi/mi2-console.exp: Likewise.
12826 * gdb.mi/mi2-disassemble.exp: Likewise.
12827 * gdb.mi/mi2-eval.exp: Likewise.
12828 * gdb.mi/mi2-file.exp: Likewise.
12829 * gdb.mi/mi2-read-memory.exp: Likewise.
12830 * gdb.mi/mi2-regs.exp: Likewise.
12831 * gdb.mi/mi2-return.exp: Likewise.
12832 * gdb.mi/mi2-simplerun.exp: Likewise.
12833 * gdb.mi/mi2-stack.exp: Likewise.
12834 * gdb.mi/mi2-stepi.exp: Likewise.
12835 * gdb.mi/mi2-syn-frame.exp: Likewise.
12836 * gdb.mi/mi2-until.exp: Likewise.
12837 * gdb.mi/mi2-var-block.exp: Likewise.
12838 * gdb.mi/mi2-var-child.exp: Likewise.
12839 * gdb.mi/mi2-var-cmd.exp: Likewise.
12840 * gdb.mi/mi2-var-display.exp: Likewise.
12841 * gdb.mi/mi2-watch.exp: Likewise.
12842 * gdb.stabs/exclfwd.exp: Likewise.
12843 * gdb.stabs/weird.exp: Likewise.
12844 * gdb.threads/gcore-thread.exp: Likewise.
12845 * gdb.trace/actions.exp: Likewise.
12846 * gdb.trace/backtrace.exp: Likewise.
12847 * gdb.trace/circ.exp: Likewise.
12848 * gdb.trace/collection.exp: Likewise.
12849 * gdb.trace/deltrace.exp: Likewise.
12850 * gdb.trace/infotrace.exp: Likewise.
12851 * gdb.trace/limits.exp: Likewise.
12852 * gdb.trace/packetlen.exp: Likewise.
12853 * gdb.trace/passc-dyn.exp: Likewise.
12854 * gdb.trace/passcount.exp: Likewise.
12855 * gdb.trace/report.exp: Likewise.
12856 * gdb.trace/save-trace.exp: Likewise.
12857 * gdb.trace/tfind.exp: Likewise.
12858 * gdb.trace/tracecmd.exp: Likewise.
12859 * gdb.trace/while-dyn.exp: Likewise.
12860 * gdb.trace/while-stepping.exp: Likewise.
12861
12862 2006-08-08 Joel Brobecker <brobecker@adacore.com>
12863
12864 * gdb.base/step-bt.c: New file.
12865 * gdb.base/step-bt.exp: New testcase.
12866
12867 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12868
12869 * config/monitor.exp (gdb_load): Remove support for obsolete
12870 download-write-size.
12871 * gdb.base/remote.exp: Likewise. Update all callers of
12872 gdb_timed_load.
12873
12874 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12875
12876 * cursal.exp: Pass binfile to gdb_load.
12877
12878 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12879
12880 * gdb.base/cursal.exp: Add "" to gdb_load call.
12881
12882 2006-07-29 Mark Kettenis <kettenis@gnu.org>
12883
12884 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12885 NetBSD/ELF targets.
12886
12887 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12888
12889 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12890 operator*.
12891
12892 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12893
12894 * gdb.base/completion.exp: Update for change in "file" behavior.
12895 * gdb.stabs/weird.exp: Likewise.
12896 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12897 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12898
12899 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12900
12901 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12902 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12903
12904 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12905
12906 * gdb.base/default.exp: Update source command error message.
12907 * gdb.base/help.exp: Update 'help source' message.
12908
12909 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12910
12911 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12912 test.
12913
12914 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12915
12916 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12917
12918 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12919
12920 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12921
12922 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12923
12924 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12925
12926 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12927
12928 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12929 *-*-openbsd* from targets for wich we expect ARM FPA floating
12930 point format.
12931
12932 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
12933
12934 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12935
12936 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12937
12938 * gdb.base/annota3.exp: Expect frame-begin annotation.
12939
12940 2006-07-14 Joel Brobecker <brobecker@adacore.com>
12941
12942 * gdb.base/help.exp: Adjust "help unset" test to accept
12943 any list of unset commands.
12944
12945 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12946 Daniel Jacobowitz <dan@codesourcery.com>
12947
12948 * gdb.cp/ref-params.exp: New test.
12949 * gdb.cp/ref-params.cc: New source file.
12950 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12951
12952 2006-07-08 Mark Kettenis <kettenis@gnu.org>
12953
12954 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12955 spaces/tabs in regular expressions since they might not be there.
12956
12957 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12958
12959 * gdb.base/ifelse.exp: New file.
12960
12961 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12962
12963 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12964 line.
12965 * gdb.base/huge.exp: Loop over compilation to find a size that
12966 is acceptable.
12967 * gdb.base/remote.exp: Correct expected strings.
12968 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12969
12970 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12971
12972 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12973
12974 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12975
12976 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12977 native.
12978
12979 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12980
12981 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12982 enable stabs testing.
12983
12984 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12985
12986 * gdb.base/auxv.exp: Intercept undefined command messages before
12987 gdb_test_multiple does.
12988
12989 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12990
12991 * Makefile.in (host_alias): Remove.
12992 (target_alias): Use @target_noncanonical@.
12993 (site.exp): Don't set host_alias.
12994 * aclocal.m4: Remove contents. Include acx.m4.
12995 * configure: Regenerated.
12996 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12997
12998 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12999
13000 * lib/gdb.exp (gdb_load_cmd): New.
13001
13002 * gdb.base/fileio.c: Add system(NULL) test.
13003 * gdb.base/fileio.exp: Check it.
13004
13005 * gdb.base/break.c: Add 10a breakpoint at }
13006 * gdb.base/break.exp: Add test for breakpoint at }
13007 * gdb.cp/anon-union.cc: Add code at end of function.
13008 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13009 * gdb.mi/var-cmd.c: Add code at end of function.
13010 * gdb.mi/mi-var-display.exp: Adjust end of next.
13011 * gdb.mi/mi2-var-display.exp: Likewise.
13012 * gdb.base/fileio.c: Add stop function and insert calls at
13013 stopping places.
13014 * gdb.base/fileio.exp: Breakpoint stop function and remove
13015 explicit line number references.
13016
13017 2006-05-19 Joel Brobecker <brobecker@adacore.com>
13018
13019 * gdb.base/del.exp (test_delete_alias): New function.
13020 Now check that both "del" and "d" work as aliases for "delete".
13021
13022 2006-05-18 Fred Fish <fnf@specifix.com>
13023
13024 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13025 required. Check for spurious output after program exits normally.
13026
13027 2006-05-17 Fred Fish <fnf@specifix.com>
13028
13029 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13030 gdb_load, so it works in the simulator.
13031
13032 2006-05-11 Fred Fish <fnf@specifix.com>
13033
13034 * gdb.base/bang.exp: Ignore unexpected output between the
13035 "program exited normally" and the gdb prompt, as many other
13036 tests do.
13037
13038 2006-05-07 Mark Kettenis <kettenis@gnu.org>
13039
13040 * gdb.base/help.exp: Make "delete checkpoint" part option for
13041 "help d" and "help delete" tests.
13042
13043 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13044
13045 * gdb.mi/mi-basics.exp: Add missing serial number to
13046 expected output in some mi_gdb_test statements.
13047 * gdb.mi/mi2-basics.exp: Likewise.
13048
13049 2006-05-05 Joel Brobecker <brobecker@adacore.com>
13050
13051 * gdb.base/del.c: New file.
13052 * gdb.base/del.exp: New testcase.
13053
13054 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
13055
13056 * gdb.base/break.exp: Do not assume a breakpoint on
13057 main will actually be in $srcfile when optimizing.
13058 * gdb.base/savedregs.exp: Do not require that the dummy
13059 frame location match up to a symbol and source file location.
13060 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13061 will get printed without a mi_cmd_data_list_register_values prefix.
13062 (*-data-list-register-*): Correct regular expressions to expect the new
13063 pseudo d? floating point registers.
13064 * gdb.mi/mi2-regs.exp: Likewise.
13065
13066 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
13067
13068 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13069 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13070 is allocated by the compiler.
13071 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13072 anons, e, anone to force their allocation by the compiler.
13073
13074 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
13075
13076 * gdb.base/help.exp: Update expected text for help d and
13077 help delete.
13078
13079 2006-05-02 Mark Kettenis <kettenis@gnu.org>
13080
13081 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13082 NetBSD/ELF targets.
13083
13084 2006-04-30 Mark Kettenis <kettenis@gnu.org>
13085
13086 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13087 single-step breakpoint fails; make this a KFAIL on
13088 sparc*-*-openbsd*.
13089 * gdb.base/siginfo.exp: Likewise.
13090 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13091
13092 2006-04-26 Michael Snyder <msnyder@redhat.com>
13093
13094 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13095 which may have to consume output from other forks.
13096 Add tests to make sure that "delete fork" succeeded.
13097
13098 2006-04-20 Michael Snyder <msnyder@redhat.com>
13099
13100 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13101 Add support for the Renesas M32C and M16C.
13102
13103 * gdb.asm/asm-source.exp: Add m32c target.
13104 * gdb.asm/m32c.inc: Support for m32c target.
13105
13106 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13107
13108 * gdb.base/commands.exp (recursive_source_test): New test.
13109
13110 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
13111
13112 * gdb.base/float.exp: Add pattern for sparc targets.
13113
13114 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13115
13116 * gdb.base/commands.exp (stray_arg0_test): New test.
13117
13118 2006-03-30 Paul Brook <paul@codesourcery.com>
13119
13120 * gdb.mi/mi-until.exp: kfail broken until command.
13121 * gdb.mi/mi2-until.exp: Ditto.
13122
13123 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
13124
13125 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13126
13127 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
13128
13129 * gdb.base/prelink.exp: Anchor tested-for regular expression
13130 on gdb prompt.
13131
13132 2006-03-07 Paul Brook <paul@codesourcery.com>
13133
13134 * gdb.base/assign.exp: Correct fail message.
13135
13136 2006-03-07 Paul Brook <paul@codesourcery.com>
13137
13138 * lib/compiler.c: Extract armcc version number.
13139 * lib/compiler.cc: Ditto.
13140
13141 2006-03-07 Paul Brook <paul@codesourcery.com>
13142
13143 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13144 additional_flags=-w.
13145 * gdb.arch/altivec-regs.exp: Ditto.
13146 * gdb.arch/e500-abi.exp: Ditto.
13147 * gdb.arch/e500-regs.exp: Ditto.
13148 * gdb.base/all-bin.exp: Ditto.
13149 * gdb.base/annota1.exp: Ditto.
13150 * gdb.base/annota3.exp: Ditto.
13151 * gdb.base/args.exp: Ditto.
13152 * gdb.base/arithmet.exp: Ditto.
13153 * gdb.base/assign.exp: Ditto.
13154 * gdb.base/async.exp: Ditto.
13155 * gdb.base/bang.exp: Ditto.
13156 * gdb.base/break.exp: Ditto.
13157 * gdb.base/call-rt-st.exp: Ditto.
13158 * gdb.base/completion.exp: Ditto.
13159 * gdb.base/cond-expr.exp: Ditto.
13160 * gdb.base/condbreak.exp: Ditto.
13161 * gdb.base/consecutive.exp: Ditto.
13162 * gdb.base/define.exp: Ditto.
13163 * gdb.base/display.exp: Ditto.
13164 * gdb.base/ena-dis-br.exp: Ditto.
13165 * gdb.base/environ.exp: Ditto.
13166 * gdb.base/eval-skip.exp: Ditto.
13167 * gdb.base/info-proc.exp: Ditto.
13168 * gdb.base/jump.exp: Ditto.
13169 * gdb.base/logical.exp: Ditto.
13170 * gdb.base/long_long.exp: Ditto.
13171 * gdb.base/maint.exp: Ditto.
13172 * gdb.base/miscexprs.exp: Ditto.
13173 * gdb.base/pc-fp.exp: Ditto.
13174 * gdb.base/pointers.exp: Ditto.
13175 * gdb.base/relational.exp: Ditto.
13176 * gdb.base/reread.exp: Ditto.
13177 * gdb.base/sect-cmd.exp: Ditto.
13178 * gdb.base/sep.exp: Ditto.
13179 * gdb.base/sepdebug.exp: Ditto.
13180 * gdb.base/until.exp: Ditto.
13181 * gdb.base/whatis-exp.exp: Ditto.
13182 * gdb.cp/annota2.exp: Ditto.
13183 * gdb.cp/annota3.exp: Ditto.
13184 * gdb.trace/actions.exp: Ditto.
13185 * gdb.trace/backtrace.exp: Ditto.
13186 * gdb.trace/circ.exp: Ditto.
13187 * gdb.trace/collection.exp: Ditto.
13188 * gdb.trace/deltrace.exp: Ditto.
13189 * gdb.trace/infotrace.exp: Ditto.
13190 * gdb.trace/limits.exp: Ditto.
13191 * gdb.trace/packetlen.exp: Ditto.
13192 * gdb.trace/passc-dyn.exp: Ditto.
13193 * gdb.trace/passcount.exp: Ditto.
13194 * gdb.trace/report.exp: Ditto.
13195 * gdb.trace/save-trace.exp: Ditto.
13196 * gdb.trace/tfind.exp: Ditto.
13197 * gdb.trace/tracecmd.exp: Ditto.
13198 * gdb.trace/while-dyn.exp: Ditto.
13199 * gdb.trace/while-stepping.exp: Ditto.
13200 * lib/gdb.exp: Ditto.
13201 (gdb_compile): Handle nowarning option.
13202
13203 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
13204
13205 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13206 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13207 Rename executable to prelinkt. Don't re-prelink if we didn't
13208 get a core file. Test prelink -u exit status to tell whether
13209 prelinking failed. Use gdb_test_multiple.
13210
13211 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13212
13213 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13214 (do_tests): Call it.
13215
13216 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
13217
13218 * gdb.base/prelink.exp: New test.
13219 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13220
13221 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13222
13223 * gdb.fortran/derived-type.f90: New file.
13224 * gdb.fortran/derived-type.exp: New testcase.
13225
13226 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13227
13228 * gdb.base/default.exp: Allow ';' as a directory separator.
13229
13230 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13231
13232 * gdb.base/help.exp (help add-symbol-file): Update.
13233
13234 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13235
13236 * gdb.base/help.exp (help load): Update expected results.
13237
13238 2006-02-19 Fred Fish <fnf@specifix.com>
13239
13240 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13241 specifix hex value as part of results.
13242 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
13243
13244 2006-02-16 Fred Fish <fnf@specifix.com>
13245
13246 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13247 ushort_addr, and slong_addr, so the typedefs are not optimized
13248 away.
13249 * gdb.base/whatis.exp: Add tests using type name for struct type,
13250 union type, enum type, and typedef.
13251
13252 2006-02-13 Mark Kettenis <kettenis@gnu.org>
13253
13254 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13255
13256 2006-02-13 Jim Blandy <jimb@redhat.com>
13257
13258 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13259 case where it takes two "next" commands to skip past the init
13260 call.
13261
13262 2006-02-12 Fred Fish <fnf@specifix.com>
13263
13264 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13265 to handle cases where it takes two "next" commands to skip
13266 past the init call.
13267
13268 2006-02-07 Joel Brobecker <brobecker@adacore.com>
13269
13270 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13271 on hppa32 targets.
13272
13273 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
13274
13275 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13276 field.
13277
13278 2006-01-29 Mark Kettenis <kettenis@gnu.org>
13279
13280 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13281
13282 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13283
13284 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13285 files.
13286
13287 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13288
13289 * gdb.cp/maint.exp: Set complaints to a positive value.
13290
13291 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13292
13293 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13294 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13295 function name.
13296
13297 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13298
13299 * gdb.base/checkpoint.c: Update copyright notice. Include
13300 <stdlib.h>.
13301
13302 2006-01-04 Jim Blandy <jimb@redhat.com>
13303
13304 * gdb.asm/asm-source.exp: Independently provide default values for
13305 asm-flags and debug-flags. Use 'string equal' to do the
13306 comparison, not the implicit expr's '==' operator. Remove
13307 now-unneeded assignments to asm-flags. In h8300 case, place
13308 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13309
13310 2006-01-04 Michael Snyder <msnyder@redhat.com>
13311
13312 * gdb.base/checkpoint.c: New file.
13313 * gdb.base/checkpoint.exp: New file.
13314 * gdb.base/multi-fork.c: New file.
13315 * gdb.base/multi-fork.exp: New file.
13316 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13317
13318 2006-01-04 Fred Fish <fnf@specifix.com>
13319
13320 * gdb.base/ptype.c (foo): Add typedef.
13321 (intfoo): Add function.
13322 * gdb.base/ptype1.c: New file.
13323 * gdb.base/ptype.exp: Handle compilation and linking with two
13324 source files. Test that proper type for "foo" is found based
13325 on source context rather than first match found in symtabs.
13326
13327 2005-12-28 Mark Kettenis <kettenis@gnu.org>
13328
13329 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13330 * gdb.asm/openbsd.inc: Indent commands.
13331
13332 2005-12-26 Mark Kettenis <kettenis@gnu.org>
13333
13334 * gdb.base/freebpcmd.exp: Increase timeout.
13335
13336 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13337
13338 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13339
13340 * gdb.base/default.exp: Update check for "show version".
13341
13342 2005-12-09 Randolph Chung <tausq@debian.org>
13343
13344 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13345 * gdb.asm/pa64.inc: New file.
13346
13347 2005-12-09 Randolph Chung <tausq@debian.org>
13348
13349 * gdb.asm/common.inc: Indent commands.
13350 * gdb.asm/asmsrc1.s: Likewise.
13351 * gdb.asm/asmsrc2.s: Likewise.
13352
13353 2005-12-09 Randolph Chung <tausq@debian.org>
13354
13355 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13356 (get_addr_of_sym): Remove duplicate print.
13357 (gen_core): xfail hppa*-*-hpux*, update expected output.
13358 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13359 * gdb.arch/pa64-nullify.s: New file.
13360
13361 2005-12-09 Randolph Chung <tausq@debian.org>
13362
13363 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13364
13365 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
13366
13367 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13368 code generation for these functions.
13369 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13370 error message.
13371
13372 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13373
13374 * gdb.base/help.exp (help b, help br, help bre, help brea)
13375 (help break): Update the expected message.
13376
13377 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13378
13379 * gdb.asm/m68hc11.inc: Setup the data section.
13380 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13381 script for this test.
13382 (m6812-*-*): Likewise.
13383
13384 2005-11-09 Randolph Chung <tausq@debian.org>
13385
13386 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13387
13388 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13389
13390 * gdb.base/break.exp: Fix a comment typo.
13391
13392 2005-11-03 Jim Blandy <jimb@redhat.com>
13393
13394 Checked in by Elena Zannoni <ezannoni@redhat.com>
13395
13396 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
13397
13398 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
13399
13400 * gdb.arch/gdb1558.c: Include stdio.h.
13401
13402 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13403
13404 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13405
13406 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13407
13408 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13409
13410 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13411
13412 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13413 vscr" tests to better match output.
13414
13415 2005-10-12 Jim Blandy <jimb@redhat.com>
13416
13417 * gdb.base/structs.exp (any): New function.
13418 (test_struct_returns): Don't make any assumptions at all about
13419 what value the function returns when GDB can't set the return
13420 value.
13421
13422 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13423
13424 * gdb.ada/arrayidx/p.adb: New file.
13425 * gdb.ada/arrayidx.exp: New testcase
13426
13427 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13428
13429 * gdb.ada/array_return/pck.ads: New file.
13430 * gdb.ada/array_return/pck.adb: New file.
13431 * gdb.ada/array_return/p.adb: New file.
13432 * gdb.ada/array_return.exp: New testcase.
13433
13434 2005-10-03 Joel Brobecker <brobecker@adacore.com>
13435
13436 * gdb.base/arrayidx.c: New file.
13437 * gdb.base/arrayidx.exp: New testcase.
13438
13439 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
13440
13441 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13442 frames-invalid and breakpoints-invalid are no longer generated
13443 with level 3 so don't expect them in the output.
13444
13445 2005-09-27 Bob Rossi <bob@brasko.net>
13446
13447 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
13448 from test. Escape the | in mi_gdb_test call.
13449 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13450 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13451 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13452 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13453 expected regex's in mi_gdb_test calls.
13454 * lib/mi-support.exp: Remove arbitrary .* from tests.
13455 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13456 Fully anchor GDB/MI expected results in mi_gdb_test.
13457 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13458 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13459
13460 2005-09-26 Paul Brook <paul@codesourcery.com>
13461
13462 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13463
13464 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13465
13466 * bfp-test.c: New file.
13467 * bfp-test.exp: New testcase.
13468
13469 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13470
13471 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13472 of subarray and substring variable.
13473 * gdb.fortran/subarray.f: New source file for the test of subarray
13474 and substring variable evaluation.
13475 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13476 of string constant.
13477
13478 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13479
13480 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13481 copyright dates.
13482
13483 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13484
13485 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13486 powerpc altivec' test with an almost identical 'info vector' test.
13487
13488 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13489
13490 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13491 vscr" tests to match output.
13492
13493 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13494
13495 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13496 output.
13497
13498 2005-09-11 Bob Rossi <bob@brasko.net>
13499
13500 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13501 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13502 commands that return an MI output command and an asyncronous MI output
13503 command.
13504 * gdb.mi/mi-console.exp: Ditto.
13505
13506 2005-09-11 Bob Rossi <bob@brasko.net>
13507
13508 * gdb.mi/mi-var-child.c: Include <string.h>.
13509
13510 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13511
13512 * killed.exp: Correct gdb_expect syntax.
13513
13514 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
13515
13516 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13517
13518 2005-08-02 Bob Rossi <bob@brasko.net>
13519
13520 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13521 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13522 Change tests to inferior-tty-set/show.
13523 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13524 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13525 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13526 inferior. Use mi_gdb_test to get GDB and Inferior output.
13527 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13528 descriptor.
13529 (mi_inferior_tty_name): Add inferior PTY file name.
13530 (mi_gdb_start): Add INFERIOR_PTY parameter.
13531 (mi_gdb_test): Add IPATTERN parameter.
13532
13533 2005-08-02 Bob Rossi <bob@brasko.net>
13534
13535 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13536 parameter to mi_gdb_test.
13537 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13538
13539 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13540
13541 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13542 struct_declarations.
13543 * gdb.mi/mi-var-child.exp: Step over the initialization of
13544 struct_declarations.
13545
13546 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13547
13548 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13549 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13550 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13551 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13552 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13553 file.
13554
13555 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
13556
13557 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13558 (do_children_tests): Assign values to the extra elements.
13559
13560 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13561 them for tests for "-var-update --no-values" and
13562 "-var-update --all-values".
13563 Add test for "-var-list-children --simple-values".
13564
13565 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13566
13567 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13568 "-stack-list-locals --simple-values" Improve doc strings and
13569 comments.
13570
13571 2005-07-18 Mark Kettenis <kettenis@gnu.org>
13572
13573 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13574 *-*-openbsd*.
13575 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13576
13577 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13578 sigaltsatck'.
13579
13580 2005-07-14 Bob Rossi <bob@brasko.net>
13581
13582 * gdb.base/default.exp (tty): Changed output of command.
13583 * gdb.base/help.exp (help tty): Ditto.
13584
13585 2005-07-12 Mark Kettenis <kettenis@gnu.org>
13586
13587 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13588
13589 2005-07-10 Mark Kettenis <kettenis@gnu.org>
13590
13591 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13592 -stack-select-frame without arguments.
13593 (test_stack_frame_listing): Add test for newly implemented command
13594 -stack-info-frame.
13595
13596 2005-07-06 Bob Rossi <bob@brasko.net>
13597
13598 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13599 command.
13600 (Copyright): Update copyright.
13601
13602 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13603
13604 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13605 tests to evaluate exponentiation expression.
13606
13607 2005-06-29 Andreas Schwab <schwab@suse.de>
13608
13609 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13610 main to avoid warnings.
13611
13612 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13613
13614 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
13615
13616 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13617 -stack-select-frame without arguments.
13618 (test_stack_frame_listing): Add test for newly implemented command
13619 -stack-info-frame.
13620
13621 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13622
13623 * gdb.fortran/array-element.f: New file.
13624 * gdb.fortran/array-element.exp: New testcase.
13625
13626 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13627
13628 * gdb.base/bigcore.exp: Correct checks for systems which can
13629 not dump a large core file.
13630
13631 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13632
13633 * gdb.base/relocate.c: Add a copyright notice.
13634 (dummy): Remove.
13635 * gdb.base/relocate.exp: Test printing the values of variables
13636 from a relocatable file.
13637
13638 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13639
13640 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13641 excess MI output after an error.
13642
13643 2005-05-29 Joel Brobecker <brobecker@adacore.com>
13644
13645 * gdb.arch/alpha-step.c: New file.
13646 * gdb.arch/alpha-step.exp: New testcase.
13647
13648 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13649 Dennis Brueni <dennis@slickedit.com>
13650
13651 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13652 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13653 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13654 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13655 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13656 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13657 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13658
13659 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13660 Wu Zhou <woodzltc@cn.ibm.com>
13661
13662 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13663 IBM's xlc compiler.
13664 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13665 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13666
13667 2005-05-13 Jim Blandy <jimb@redhat.com>
13668
13669 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13670 calling gdb_suppress_entire_file.
13671 * gdb.base/charset.exp: Same.
13672 * gdb.base/call-rt-st.exp: Same.
13673
13674 2005-05-05 Bob Rossi <bob_rossi@cox.net>
13675
13676 * lib/gdb.exp (fullname_syntax): Added global regex.
13677 (fullname_syntax_POSIX): Ditto.
13678 (fullname_syntax_UNC): Ditto.
13679 (fullname_syntax_DOS_CASE): Ditto.
13680 (fullname_syntax_DOS): Ditto.
13681 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13682 fullname_syntax variable to scope and use it.
13683 (test_file_list_exec_source_files): Ditto.
13684 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13685
13686 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13687
13688 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13689
13690 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13691
13692 * lib/gdb.exp (skip_altivec_tests): New function, based on
13693 check_vmx_hw_available from the GCC testsuite.
13694 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13695 * lib/gdb.arch/altivec-regs.exp: Likewise.
13696
13697 2005-05-02 Jim Blandy <jimb@redhat.com>
13698
13699 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13700 calling gdb_suppress_entire_file.
13701
13702 2005-04-30 Randolph Chung <tausq@debian.org>
13703
13704 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13705 Slightly relax "sem_post" name checking.
13706
13707 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13708
13709 * gdb.base/unload.exp: Use new shared library infrastructure.
13710
13711 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13712
13713 * gdb.base/so-impl-ld.exp: Use new shared library
13714 infrastructure.
13715
13716 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
13717
13718 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13719 * gdb.asm/h8300.inc: New file.
13720
13721 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13722
13723 * gdb.base/shlib-call.exp: Change to use new shared library
13724 infrastructure.
13725
13726 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13727
13728 * gdb.base/pending.exp: Change to use new shared library
13729 infrastructure.
13730
13731 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13732
13733 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13734 use test_compiler_info instead of gcc_compiled, and update copyright.
13735
13736 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13737
13738 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13739 shared objects being adjusted and update copyright years.
13740
13741 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13742
13743 * ChangeLog: Correct some 2003-01-13 dates.
13744 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13745 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13746 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13747 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13748 gdb.trace/tfind.exp: Update copyright years.
13749
13750 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13751 Daniel Jacobowitz <dan@codesourcery.com>
13752
13753 * lib/gdb.exp (gdb_compile): Handle shlib=.
13754 (gdb_compile_shlib): New function.
13755
13756 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13757
13758 * lib/gdb.exp (test_compiler_info): Give argument a default value.
13759
13760 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13761
13762 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13763 gdb.server.
13764 * configure.ac: Likewise.
13765 * configure: Regenerated.
13766 * gdb.gdbserver/Makefile.in: Moved to...
13767 * gdb.server/Makefile.in: ... here.
13768 * gdb.gdbserver/server.c: Moved to...
13769 * gdb.server/server.c: ... here.
13770 * gdb.gdbserver/server-run.exp: Moved to...
13771 * gdb.server/server-run.exp: ... here.
13772
13773 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13774
13775 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13776 * configure.ac: Create gdb.gdbserver/Makefile.
13777 * configure: Regenerated.
13778 * lib/gdbserver-support.exp: New file, derived from
13779 config/gdbserver.exp.
13780 * config/gdbserver.exp: Use gdbserver-support.exp.
13781 * gdb.gdbserver/Makefile.in: New file.
13782 * gdb.gdbserver/server.c: New file.
13783 * gdb.gdbserver/server-run.exp: New file.
13784
13785 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13786
13787 * lib/gdb.exp (test_compiler_info): Return compiler_info
13788 if no arguments are given.
13789
13790 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13791
13792 * gdb.arch/altivec-abi.exp: Check for compiler and set
13793 use altivec' flag accordingly.
13794 * gdb.arch/altivec-regs.exp: Likewise.
13795
13796 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13797
13798 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13799
13800 2005-03-27 Andreas Schwab <schwab@suse.de>
13801
13802 * gdb.base/bigcore.c (main): Add missing mode argument in open
13803 call.
13804
13805 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13806
13807 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13808 downloads.
13809 * config/gdbserver.exp (gdb_load): Likewise.
13810
13811 2005-03-14 Paul Brook <paul@codesourcery.com>
13812
13813 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13814 targets.
13815
13816 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13817
13818 * gdb.dwarf2/dup-psym.S: New file.
13819 * gdb.dwarf2/dup-psym.exp: New testcase.
13820
13821 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13822
13823 * gdb.ada/exec_changed/first.adb: New file.
13824 * gdb.ada/exec_changed/second.adb: New file.
13825 * gdb.ada/exec_changed.exp: New testcase.
13826
13827 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13828
13829 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13830 (A2): New class.
13831 (main): Test operator+.
13832 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13833 breakpoint test.
13834
13835 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13836 * gdb.base/signull.exp: Disable if gdb,nosignals.
13837 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13838 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13839 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13840 * gdb.mi/mi2-console.exp: Likewise.
13841 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13842 continue output at start.
13843 (gdb_collect_locals_test): Robustify regexp.
13844 * gdb.trace/passc-dyn.exp: Fix comment typo.
13845 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13846
13847 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
13848
13849 * gdb.asm/asm-source.exp: Add iq2000 case.
13850 * gdb.asm/iq2000.inc: New file.
13851
13852 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
13853
13854 * gdb.base/command.exp: Change hardcoded value to regular expression.
13855 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13856
13857 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13858
13859 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13860 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13861 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13862 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13863 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13864
13865 2005-03-05 Mark Kettenis <kettenis@gnu.org>
13866
13867 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13868 changes.
13869
13870 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13871
13872 * lib/compiler.c: Add test for IBM's xlc compiler.
13873 * lib/compiler.cc: Likewise.
13874
13875 2004-02-24 Joel Brobecker <brobecker@adacore.com>
13876
13877 * gdb.ada/fixed_points.exp: Create compilation object directory
13878 before running the test.
13879 * gdb.ada/null_record.exp: Likewise.
13880 * gdb.ada/packed_array.exp: Likewise.
13881 * gdb.ada/start.exp: Likewise.
13882
13883 2005-02-15 Joel Brobecker <brobecker@adacore.com>
13884
13885 * gdb.ada/packed_array/pa.adb: New file.
13886 * gdb.ada/packed_array.exp: New testcase.
13887
13888 2005-02-10 Mark Kettenis <kettenis@gnu.org>
13889
13890 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13891 files.
13892
13893 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13894 on *-*-openbsd*. Correctly match whitespace in regukar
13895 expressions.
13896
13897 2005-02-10 Daniel Jacobowitz <dan@debian.org>
13898
13899 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13900 PR exp/1821
13901 * gdb.base/gdb1821.c: New test file.
13902 * gdb.base/gdb1821.exp: New test file.
13903
13904 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13905
13906 * gdb.base/start.c: New file.
13907 * gdb.base/start.exp: New testcase.
13908
13909 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13910
13911 * gdb.ada/start/dummy.adb: New file.
13912 * gdb.ada/start.exp: New testcase.
13913
13914 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
13915
13916 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13917 for printing symbols and statistics.
13918 Add test for using relative pathnames in "maint print msymbols" test.
13919 Mark "maint info sections DATA" XFAIL on Cygwin.
13920 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13921 tests.
13922
13923 2005-02-09 Andreas Schwab <schwab@suse.de>
13924
13925 Committed by Andrew Cagney <cagney@gnu.org>
13926 * gdb.base/remotetimeout.exp: New file.
13927
13928 2005-02-07 Mark Kettenis <kettenis@gnu.org>
13929
13930 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13931
13932 2005-02-03 Joel Brobecker <brobecker@adacore.com>
13933
13934 * gdb.ada/gnat_ada.gpr: New file.
13935 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13936 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13937 * configure.ac: No longer generate gnat_ada.gpr.
13938 * configure: Regenerate.
13939 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13940 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13941 * gdb.ada/null_record/bar.ads: Likewise.
13942 * gdb.ada/null_record/bar.adb: Likewise.
13943 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13944 * gdb.ada/null_record.exp (testdir): New variable.
13945 (testfile): executable is now in testdir subdirectory.
13946 (srcfile): Use full path to the main compilation unit.
13947 * gdb.ada/fixed_points.exp: Same changes as above.
13948
13949 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
13950
13951 * gdb.base/interp.exp: New test.
13952
13953 2005-01-24 Andrew Cagney <cagney@gnu.org>
13954
13955 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13956
13957 2005-01-19 Andrew Cagney <cagney@gnu.org>
13958
13959 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13960 configure.ac not configure.in.
13961
13962 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13963 of powerpc*-*-*.
13964 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13965 * gdb.base/list.exp (test_list_function)
13966 (test_list_filename_and_function): Ditto.
13967 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13968
13969 2005-01-16 Andrew Cagney <cagney@gnu.org>
13970
13971 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13972
13973 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13974
13975 2005-01-14 Andrew Cagney <cagney@gnu.org>
13976
13977 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13978 * gdb.mi/mi2-var-cmd.exp: Ditto.
13979
13980 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
13981
13982 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13983
13984 2005-01-07 Andrew Cagney <cagney@gnu.org>
13985
13986 * configure.ac: Rename configure.in, require autoconf 2.59.
13987 * configure: Re-generate.
13988 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13989 * gdb.stabs/configure: Re-generate.
13990 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13991 * gdb.hp/configure: Re-generate.
13992 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13993 autoconf 2.59.
13994 * gdb.hp/gdb.objdbg/configure: Re-generate.
13995 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13996 autoconf 2.59.
13997 * gdb.hp/gdb.defects/configure: Re-generate.
13998 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13999 autoconf 2.59.
14000 * gdb.hp/gdb.compat/configure: Re-generate.
14001 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
14002 autoconf 2.59.
14003 * gdb.hp/gdb.base-hp/configure: Re-generate.
14004 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
14005 autoconf 2.59.
14006 * gdb.hp/gdb.aCC/configure: Re-generate.
14007
14008 2004-12-15 Jim Blandy <jimb@redhat.com>
14009
14010 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14011 under NPTL when there is debugging info available for libpthread.
14012
14013 2004-12-13 Jerome Guitton <guitton@gnat.com>
14014
14015 * gdb.ada/fixed_points.c: New file.
14016 * gdb.ada/fixed_points.exp: New file.
14017
14018 2004-12-03 Randolph Chung <tausq@debian.org>
14019
14020 * gdb.arch/pa-nullify.exp: New file.
14021 * gdb.arch/pa-nullify.s: New file.
14022
14023 2004-11-30 Randolph Chung <tausq@debian.org>
14024
14025 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14026 instead of "tbug". Fix regexp to work properly with gdb_test.
14027
14028 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14029
14030 * gdb.base/bitfields2.exp: New test.
14031 * gdb.base/bitfields2.c: New file.
14032
14033 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
14034
14035 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14036
14037 2004-11-16 Randolph Chung <tausq@debian.org>
14038
14039 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14040
14041 2004-11-14 Daniel Jacobowitz <dan@debian.org>
14042
14043 * gdb.threads/threadapply.exp: Correct "macro details" test.
14044
14045 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14046
14047 * gdb.threads/threadapply.exp: New test.
14048 * gdb.threads/threadapply.c: New file.
14049
14050 2004-11-07 Mark Kettenis <kettenis@gnu.org>
14051
14052 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14053 frames.
14054
14055 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
14056
14057 * gdb.base/cursal.exp: New file.
14058 * gdb.base/cursal.c: New file.
14059
14060 2004-11-03 Andrew Cagney <cagney@gnu.org>
14061
14062 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14063
14064 2004-10-30 Mark Kettenis <kettenis@gnu.org>
14065
14066 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14067 NetBSD/ELF targets.
14068
14069 2004-10-29 Joel Brobecker <brobecker@gnat.com>
14070
14071 * gdb.threads/bp_in_thread.c: New file, copied from
14072 pthread_cond_wait.c.
14073 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14074 file, rather than reusing the .c file from another testcase.
14075
14076 2004-10-20 Joel Brobecker <brobecker@gnat.com>
14077
14078 * gdb.ada/null_record.exp: Check where we stopped after
14079 sending the start command, instead of where the associated
14080 temporary breakpoint was inserted.
14081
14082 2004-10-14 Andrew Cagney <cagney@gnu.org>
14083
14084 * gdb.mi/gdb701.c (main): Return 0.
14085
14086 2004-10-13 Daniel Jacobowitz <dan@debian.org>
14087
14088 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
14089
14090 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14091
14092 * gdb.threads/schedlock.c: Add comment markers to use to find
14093 line numbers.
14094 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14095 comments.
14096 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14097 breakpoint lines.
14098
14099 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14100
14101 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14102
14103 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14104
14105 * configure.in: Add gdb.dwarf2.
14106 * configure: Regenerated.
14107 * Makefile.in: Add gdb.dwarf2.
14108 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14109 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14110 gdb.dwarf2/file1.txt: New files.
14111
14112 2004-10-11 Orjan Friberg <orjanf@axis.com>
14113
14114 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
14115 of "run", since the latter doesn't work with remote targets. Adjust
14116 the breakpoint numbering accordingly.
14117 * gdb.threads/pthread_cond_wait.exp: Ditto.
14118
14119 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14120
14121 * gdb.base/overlays.exp: Update copyright years.
14122
14123 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14124
14125 * gdb.base/overlays.exp: Disable if target is Linux.
14126
14127 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
14128
14129 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14130
14131 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14132
14133 * gdb.asm/asm-source.exp: Add m32r-linux target.
14134 * gdb.asm/m32r-linux.inc: New file.
14135
14136 2004-09-24 Andrew Cagney <cagney@redhat.com>
14137 David Anderson <anderson@redhat.com>
14138
14139 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14140 command fails, assume things will work.
14141 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14142 (_GNU_SOURCE): Define.
14143 (print_unsigned, print_hex): Change parameter to "long long".
14144 (print_byte_count): New function, use to print byte counts.
14145 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14146 O_LARGEFILE.
14147 (main): Compute an upper bound on a corefile in max_core_size.
14148 Limit memory chunk size to max_core_size. Limit total memory
14149 allocated to max_core_size.
14150
14151 2004-09-23 Andrew Cagney <cagney@gnu.org>
14152
14153 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14154 from a separate process with code that creates a corefile by
14155 making the inferior dump core.
14156
14157 2004-09-23 Mark Kettenis <kettenis@gnu.org>
14158
14159 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14160 block.
14161
14162 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14163
14164 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14165 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14166 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14167 Likewise.
14168
14169 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14170
14171 * gdb.java/jprint.exp: New test case for java inferior call.
14172 * gdb.java/jprint.java: Ditto.
14173
14174 2004-09-15 Joel Brobecker <brobecker@gnat.com>
14175
14176 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14177
14178 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14179
14180 * gdb.threads/killed.c: Include <stdlib.h>.
14181 * gdb.threads/pthreads.c: Likewise.
14182
14183 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14184
14185 * gdb.threads/killed.c: Add copyright notice.
14186
14187 2004-09-10 Jason Molenda (jmolenda@apple.com)
14188
14189 * gdb.base/define.exp: Two new tests to verify zero space chars
14190 after 'if' and 'while' commands in a user-defined command is correctly
14191 parsed.
14192
14193 2004-09-08 Andrew Cagney <cagney@gnu.org>
14194
14195 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14196 delivery test with duplicate at end of file.
14197
14198 2004-09-06 Mark Kettenis <kettenis@jive.nl>
14199
14200 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14201
14202 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14203
14204 * config/hppro.exp: Removed.
14205
14206 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14207
14208 * config/sparclet.exp: Removed.
14209
14210 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14211
14212 * config/udi.exp: Removed.
14213
14214 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14215
14216 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14217 of "exp_continue".
14218 (advancei): Likewise.
14219
14220 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14221
14222 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14223
14224 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14225
14226 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
14227 to check for nodebug in executable.
14228 * gdb.gdb/observer.exp (setup_test): Likewise.
14229 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14230 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14231
14232 2004-09-01 Andrew Cagney <cagney@gnu.org>
14233
14234 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14235 files.
14236
14237 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14238
14239 * gdb.base/unload.exp: Fix expected warning message to match
14240 latest format.
14241
14242 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
14243
14244 * gdb.base/call-rt-st.exp: Fix typos.
14245
14246 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14247
14248 * gdb.threads/thread_check.exp: New testcase.
14249 * gdb.threads/thread_check.c: New testcase.
14250
14251 2004-08-31 Andrew Cagney <cagney@gnu.org>
14252
14253 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14254 (skip_to_handler_entry): New procedures. Test stepping into a
14255 handler when the breakpoint is at the handler's entry point.
14256
14257 2004-08-30 Andrew Cagney <cagney@gnu.org>
14258
14259 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14260 gdb/1757.
14261
14262 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14263
14264 With code from Manoj Iyer <manjo@austin.ibm.com>:
14265 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14266 return value. Add an arm for "no debugging symbols found".
14267 Change a stray "error" to "perror".
14268 (gdb_run_cmd): Adapt to new return value.
14269 * gdb.base/remote.exp: Adapt to new return value.
14270 * gdb.gdb/complaints.exp: Likewise.
14271 * gdb.gdb/observer.exp: Likewise.
14272 * gdb.gdb/selftest.exp: Likewise.
14273 * gdb.gdb/xfullpath.exp: Likewise.
14274
14275 2004-08-27 Joel Brobecker <brobecker@gnat.com>
14276
14277 * gdb.threads/bp_in_thread.exp: New testcase.
14278
14279 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14280
14281 Fix PR testsuite/1735.
14282 * gdb.threads/schedlock.c (thread_function): Add a cast
14283 to suppress a gcc warning.
14284 * gdb.threads/thread-specific.c (thread_function): Likewise.
14285
14286 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14287
14288 * gdb.base/unload.c: Include <stdlib.h>.
14289
14290 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14291
14292 From Paul Gilliam <pgilliam@us.ibm.com>:
14293 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14294 synchronized after the "return".
14295
14296 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14297
14298 * gdb.mi/basics.c: Include <stdio.h>.
14299 * gdb.mi/pthreads.c: Include <stdlib.h>.
14300 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14301
14302 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14303
14304 * gdb.threads/schedlock.c: Add copyright notice.
14305
14306 2004-08-25 Andrew Cagney <cagney@gnu.org>
14307
14308 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14309 (skip_over_handler, breakpoint_over_hander): New test procedures.
14310 (advance, advancei): Add a proper prefix, do not use
14311 rerun_to_main.
14312 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14313
14314 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14315
14316 * gdb.mi/basics.c: Add copyright notice.
14317 * gdb.mi/var-cmd.c: Add copyright notice.
14318
14319 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14320
14321 * lib/gdb.exp: Remove signed_keyword_not_used.
14322 * lib/compiler.c: Likewise.
14323 * lib/compiler.cc: Likewise.
14324
14325 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14326
14327 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14328 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14329
14330 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14331
14332 * gdb.base/whatis.c: Add copyright notice.
14333
14334 2004-08-20 Mark Kettenis <kettenis@gnu.org>
14335
14336 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14337 it to skip the breakpoints encoded in the inline assembly.
14338
14339 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14340
14341 * Makefile.in: Add gdb.fortran.
14342
14343 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14344
14345 * gdb.base/call-sc.exp (test_scalar_returns):
14346 Fix cut-and-paste glitch in "Make fun return now".
14347
14348 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14349
14350 * configure.in: Add gdb.fortran.
14351 * configure: Regenerate.
14352 * gdb.fortran/Makefile.in: New file.
14353 * lib/gdb.exp (skip_fortran_tests): New procedure.
14354
14355 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14356
14357 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14358 reference to bug-gnu@prep.ai.mit.edu.
14359 * gdb.mi/mi-var-child.exp: Likewise.
14360 * gdb.mi/mi-var-cmd.exp: Likewise.
14361 * gdb.mi/mi-var-display.exp: Likewise.
14362 * gdb.mi/mi2-var-block.exp: Likewise.
14363 * gdb.mi/mi2-var-child.exp: Likewise.
14364 * gdb.mi/mi2-var-cmd.exp: Likewise.
14365 * gdb.mi/mi2-var-display.exp: Likewise.
14366
14367 2004-08-15 Mark Kettenis <kettenis@gnu.org>
14368
14369 * gdb.base/unload.c (main): Make local variable msg const.
14370
14371 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14372
14373 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14374 to bug-gnu@prep.ai.mit.edu.
14375 * gdb.mi/mi-disassemble.exp: Likewise.
14376 * gdb.mi/mi-eval.exp: Likewise.
14377 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14378 default line number.
14379 * gdb.mi/mi-return.exp: Likewise.
14380 * gdb.mi/mi-simplerun.exp: Likewise.
14381 * gdb.mi/mi-stack.exp: Likewise.
14382 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14383 number with explicit range test.
14384 * gdb.mi/mi-watch.exp: Likewise.
14385 * gdb.mi/mi2-break.exp: Likewise.
14386 * gdb.mi/mi2-cli.exp: Likewise.
14387 * gdb.mi/mi2-disassemble.exp: Likewise.
14388 * gdb.mi/mi2-eval.exp: Likewise.
14389 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14390 default line number.
14391 * gdb.mi/mi2-return.exp: Likewise.
14392 * gdb.mi/mi2-simplerun.exp: Likewise.
14393 * gdb.mi/mi2-stack.exp: Likewise.
14394 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14395 number with explicit range test.
14396 * gdb.mi/mi2-watch.exp: Likewise.
14397
14398 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14399
14400 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14401 * gdb.cp/m-static.exp: Likewise.
14402 * gdb.cp/rtti.exp: Likewise.
14403
14404 2004-08-14 Mark Kettenis <kettenis@gnu.org>
14405
14406 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14407
14408 2004-08-14 Eli Zaretskii <eliz@gnu.org>
14409
14410 * ChangeLog: Prefix Local Variables with semi-colons and indent
14411 the reference to older ChangeLog files, to fix fontification in
14412 Emacs.
14413
14414 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14415
14416 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14417 * gdb.mi/mi2-break.exp: Likewise.
14418
14419 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14420
14421 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14422
14423 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14424
14425 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14426
14427 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14428
14429 * gdb.cp/classes.exp: Remove unused declarations. Just let
14430 test names default instead of providing special names. Remove
14431 extraneous demangler test.
14432
14433 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14434
14435 * gdb.base/unload.exp: New test for breakpoints in dynamically
14436 loaded libraries.
14437 * gdb.base/unload.c: Ditto.
14438 * gdb.base/unloadshr.c: Ditto.
14439
14440 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14441
14442 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14443 cp_test_ptype_class.
14444 (test_enums): Likewise.
14445
14446 2004-08-10 Andrew Cagney <cagney@gnu.org>
14447
14448 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14449 files.
14450
14451 2004-08-10 Andrew Cagney <cagney@gnu.org>
14452
14453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14454 init_malloc call.
14455
14456 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14457
14458 * ChangeLog: Add copyright notice. The notice is copied
14459 from emacs 21.3 top level ChangeLog.
14460
14461 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14462
14463 * lib/cp-support.exp: New file.
14464 * lib/cp-support.exp (cp_test_type_class): New function.
14465 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14466 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14467 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14468 cp_test_ptype_class.
14469
14470 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14471
14472 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14473 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14474 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14475 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14476 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14477 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14478 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14479 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14480 gdb.mi/mi2-watch.exp: Update copyright years.
14481
14482 2004-08-09 Mark Kettenis <kettenis@gnu.org>
14483
14484 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14485
14486 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14487
14488 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14489 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14490 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14491 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14492 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14493 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14494 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14495 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14496 gdb.mi/mi-watch.exp: Update copyright years.
14497
14498 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14499
14500 PR gdb/1738
14501 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14502 from a breakpoint with a pending signal.
14503
14504 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14505
14506 PR gdb/1736
14507 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14508 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14509 the prompt.
14510 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14511
14512 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14513
14514 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14515
14516 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14517
14518 PR gdb/1736
14519 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14520 for i?86-*-linux*.
14521
14522 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14523
14524 * gdb.arch/i386-prologue.exp: Compile without debug information.
14525
14526 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14527
14528 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14529 rather than asking gdb to search.
14530
14531 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14532
14533 * gdb.base/gcore.c: Include <string.h>.
14534
14535 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14536
14537 * gdb.base/gcore.c: Add copyright notice.
14538
14539 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14540
14541 * gdb.base/freebpcmd.c: Include <stdio.h>.
14542 * gdb.base/long_long.c: Include <string.h>.
14543 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14544 * gdb.base/siginfo.c: Include <string.h>.
14545 * gdb.base/sigstep.c: Include <string.h>.
14546
14547 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14548
14549 * gdb.base/complex.c: Include <stdlib.h>.
14550
14551 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14552
14553 * gdb.base/complex.c: Add copyright notice.
14554
14555 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14556
14557 * gdb.base/charset.c: Include <stdlib.h>.
14558
14559 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14560
14561 * gdb.base/auxv.c: Include <stdlib.h>.
14562
14563 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14564
14565 * gdb.base/auxv.c: Add copyright notice.
14566
14567 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14568
14569 * gdb.base/coremaker.c: Add copyright notice.
14570 * gdb.base/coremaker2.c: Add copyright notice.
14571
14572 2004-08-04 Andrew Cagney <cagney@gnu.org>
14573
14574 * gdb.base/store.exp: Update copyright.
14575 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14576 names, do not import gdb_prompt.
14577
14578 2004-08-01 Andrew Cagney <cagney@gnu.org>
14579
14580 Fix PR testsuite/1729.
14581 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14582 not use capture_value with value 4.
14583 (capture_value): Add optional test name parameter.
14584 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14585 the prefix, pass to capture_value.
14586
14587 2004-08-01 Mark Kettenis <kettenis@gnu.org>
14588
14589 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14590 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14591 (main): Call new function.
14592
14593 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14594
14595 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14596
14597 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14598
14599 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14600
14601 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14602
14603 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
14604 Accept more values of vtbl pointer. Remove some messages
14605 about "obsolete gcc or gdb".
14606
14607 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14608
14609 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14610
14611 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14612
14613 * gdb.base/asm-source.exp: Properly convert target board
14614 debug flags from gcc format to binutils format.
14615
14616 2004-07-28 Mark Kettenis <kettenis@gnu.org>
14617
14618 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14619 gdb1718". PR backtrace/1718 partially fixed.
14620
14621 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14622
14623 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14624
14625 2004-07-26 Nick Clifton <nickc@redhat.com>
14626
14627 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14628 good default value for a specific architecture is available then
14629 set it to that value. Otherwise default to the -gstabs switch.
14630 Remove the -g... switches from the asm-flags variable. Allow the
14631 target board info to override the value if it wants to. Pass the
14632 switch on the assembler command line.
14633
14634 2004-07-23 Mark Kettenis <kettenis@gnu.org>
14635
14636 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14637 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14638 (main): Call new function.
14639
14640 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14641
14642 Test for PR exp/1715.
14643 * gdb.base/radix.exp: Refactor common procedures. Make all
14644 test names unique. Change XFAIL to KFAIL.
14645
14646 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14647
14648 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14649 * gdb.ada/gnat_ada.gin: ... to here.
14650 * configure.in: Use gnat_ada.gin.
14651 * configure: Regenerate.
14652
14653 2004-07-20 Andrew Cagney <cagney@gnu.org>
14654
14655 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14656 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14657 XFAILs. Clean up test messages and comments. Check backtraces.
14658 Delete re-sync code.
14659
14660 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14661
14662 Fix PR cli/740.
14663 * gdb.base/annota1.exp: Honor gdb,nosignals.
14664 * gdb.base/annota3.exp: Likewise.
14665
14666 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14667
14668 * lib/java.exp: Update copyright notice.
14669
14670 2004-07-19 Andrew Cagney <cagney@gnu.org>
14671
14672 * gdb.base/selftest.exp: Copy file from here ...
14673 * gdb.gdb/selftest.exp: ... to here.
14674
14675 2004-07-16 Andrew Cagney <cagney@redhat.com>
14676
14677 * lib/insight-support.exp: Delete file.
14678 * lib/java.exp (java_init): Fix copyright.
14679
14680 2004-07-16 Andrew Cagney <cagney@gnu.org>
14681
14682 * gdb.base/restore.c: Append "prologue" to comments marking the a
14683 function's prologue.
14684 * gdb.base/restore.exp: Update copyright, re-indent.
14685 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14686 callerN" prefix where needed. Update patterns that match a
14687 function's prologue.
14688
14689 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14690
14691 * gdb.base/restore.c: Add copyright notice.
14692
14693 2004-07-16 Andrew Cagney <cagney@gnu.org>
14694
14695 * gdb.base/logical.exp: Update copyright.
14696 (evaluate): New procedure. Use to re-implement tests using
14697 several tables.
14698
14699 2004-07-14 Martin Hunt <hunt@redhat.com>
14700
14701 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14702 which fixes some problems where init.tcl was not found.
14703
14704 2004-07-13 Andrew Cagney <cagney@gnu.org>
14705
14706 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14707 (check_sizeof, check_valueof): Do not include the output in the
14708 test name. Use gdb_test.
14709 (get_valueof): Use gdb_test_multiple.
14710
14711 * gdb.base/step-test.exp: Update copyright. Use
14712 gdb_test_multiple. Ensure that test names do not include
14713 architecture dependent output.
14714
14715 * gdb.gdb/observer.exp: Update copyright.
14716 (setup_test): Use gdb_test_multiple.
14717 (attach_first_observer, attach_second_observer)
14718 (attach_third_observer, detach_first_observer)
14719 (detach_second_observer, detach_third_observer)
14720 (reset_counters, check_counters): Make $message a prefix.
14721 (test_normal_stop_notifications): Add "args" parameter - a list of
14722 init functions to be called. Make $message a prefix,
14723 (test_observer_normal_stop): Change the message prefixes so that
14724 they are unique, pass the attach / detach procedures to
14725 test_normal_stop_notifications.
14726
14727 * gdb.base/signull.exp (test_segv): Prefix all tests with
14728 "${name}". Clean up test messages.
14729
14730 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14731
14732 * gdb.base/ena-dis-br.exp: Update copyright.
14733 (break_at): New function. Replace send_gdb with gdb_test,
14734 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14735 ignore count, not stopped at bpt", with KFAIL.
14736
14737 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
14738
14739 * gdb.base/attach.exp: Remove cleanupfile handling.
14740
14741 2004-07-12 Andrew Cagney <cagney@gnu.org>
14742
14743 * gdb.base/annota1.exp: Cleanup corefile test name.
14744 * gdb.base/annota3.exp: Ditto.
14745
14746 2004-07-12 Andrew Cagney <cagney@gnu.org>
14747
14748 * gdb.base/signals.exp: Clean up copyright, re-indent.
14749
14750 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14751 gdb_test and gdb_test_multiple.
14752
14753 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14754
14755 * gdb.java/jmain.exp: Fix expected line number for main to
14756 break at. Set XFAIL for break at main test since gcj does not
14757 provide line number info for first statement in main.
14758
14759 2004-07-08 Andrew Cagney <cagney@gnu.org>
14760
14761 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14762
14763 * gdb.base/sigbpt.exp: Make the common part of each test name a
14764 prefix instead of suffix.
14765
14766 2004-07-07 Bob Rossi <bob_rossi@cox.net>
14767
14768 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14769 test from test_tbreak_creation_and_listing to
14770 test_file_list_exec_source_file
14771 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14772 Changed name of test from test_tbreak_creation_and_listing to
14773 test_file_list_exec_source_file
14774
14775 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14776
14777 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14778 the jmisc() constructor instead of <init>.
14779 * gdb.java/jmisc1.exp: Ditto.
14780
14781 2004-07-07 Andrew Cagney <cagney@gnu.org>
14782
14783 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14784 corrupting the PC.
14785
14786 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14787
14788 * gdb.cp/templates.exp: Accept whitespace change in demangler
14789 output.
14790
14791 2004-07-06 Andrew Cagney <cagney@gnu.org>
14792
14793 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14794
14795 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14796
14797 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14798 * lib/compiler.cc: Likewise.
14799
14800 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14801
14802 * lib/compiler.cc: Work around string preprocessing problem
14803 with old hp c++ compiler.
14804 * lib/compiler.c: Likewise.
14805
14806 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14807
14808 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14809 directives to conditionalize symbol prefixing.
14810 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14811 additional_flags handling. Add underscore prefix for Cygwin.
14812 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14813 conditionalize symbol prefixing.
14814 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14815 additional_flags handling. Add underscore prefix for Cygwin.
14816
14817 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14818
14819 * gdb.base/bigcore.exp: Skip test on Cygwin.
14820
14821 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14822
14823 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14824 formats for "info register". Use gdb_test_multiple. Fix
14825 the "invalid register" test.
14826
14827 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
14828
14829 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14830 PID for Cygwin. Add Cygwin specific strings to check for in some
14831 tests.
14832 (do_attach_tests): Add a test for user interaction when attaching
14833 to a process with no matching symbol table already loaded.
14834
14835 2004-06-26 Andrew Cagney <cagney@gnu.org>
14836
14837 Test PR java/1567 and PR java/1565.
14838 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14839 * gdb.java/jmisc2.exp: Delete file.
14840
14841 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14842
14843 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14844
14845 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
14846
14847 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14848 attach process.
14849
14850 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14851
14852 * gdb.cp/pr-1553.exp: Remove.
14853
14854 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14855
14856 * gdb.cp/pr-1553.cc: Remove.
14857 * gdb.cp/pr-1553.exp: Disable this test.
14858
14859 2004-06-20 Jim Blandy <jimb@redhat.com>
14860
14861 Fix PR testsuite/1680.
14862 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14863 regular expressions.
14864
14865 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14866
14867 Fix PR testsuite/1679.
14868 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14869 Issue an UNSUPPORTED result instead.
14870
14871 2004-06-18 Jim Blandy <jimb@redhat.com>
14872
14873 * gdb.base/charset.exp: Only send a control-C if we see a new
14874 prompt and incomplete command.
14875
14876 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14877
14878 * gdb.cp/pr-574.cc: Add copyright notice.
14879
14880 2004-06-17 Jim Blandy <jimb@redhat.com>
14881
14882 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14883 cases where the regexp has no groups; this grabs random text from
14884 the previous test suite, whatever that was.
14885
14886 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14887
14888 * gdb.cp/printmethod.cc: Add copyright notice.
14889
14890 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14891
14892 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14893
14894 2004-06-16 Andrew Cagney <cagney@gnu.org>
14895
14896 * gdb.base/signull.c: Update copyright. Include <string.h>.
14897 (bowler): Replace data_pointer with data_read
14898 and data_write cases. Add code_descriptor case.
14899 (zero, desc): New array and pointer.
14900 (data, code): Change to simple pointers.
14901 * gdb.base/signull.exp: Fix probe pattern matching a function
14902 descriptor SIGSEGV. Replace data_pointer with data_read and
14903 data_write tests.
14904
14905 2004-06-16 Andrew Cagney <cagney@gnu.org>
14906
14907 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14908
14909 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14910
14911 * gdb.base/long_long.c: Add copyright notice.
14912
14913 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14914
14915 * gdb.base/long_long.exp: Remove reference to
14916 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14917 to gdb_breakpoint and gdb_continue_to_breakpoint.
14918
14919 2004-06-14 Jim Blandy <jimb@redhat.com>
14920
14921 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14922 endian case.
14923
14924 2004-06-14 Andrew Cagney <cagney@gnu.org>
14925
14926 * gdb.base/gcore.exp (capture_command_output): Delete the always
14927 passing tests containing inferior values.
14928 * gdb.base/ending-run.exp: Do not include the breakpoint address
14929 in the test message. Update copyright.
14930 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14931 size in the test name, use gdb_test_multiple. Update copyright.
14932
14933 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14934
14935 * gdb.cp/ref-types.cc: Add copyright notice.
14936
14937 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14938
14939 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14940 hp_aCC_compiler.
14941 * lib/compiler.cc: Likewise.
14942 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14943 'set' commands. Log diagnostics for other lines. Set
14944 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14945
14946 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14947
14948 * gdb.cp/try_catch.cc: Add copyright notice.
14949
14950 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14951
14952 * gdb.cp/userdef.cc: Add copyright notice.
14953
14954 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14955
14956 * gdb.cp/virtfunc.cc: Add copyright notice.
14957
14958 2004-06-11 Randolph Chung <tausq@debian.org>
14959
14960 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14961 problem.
14962
14963 2004-06-10 Andrew Cagney <cagney@gnu.org>
14964
14965 * lib/compiler.cc, lib/compiler.c: Append either
14966 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14967 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14968 instead of gcc-3-3.
14969
14970 2004-06-09 Andrew Cagney <cagney@gnu.org>
14971
14972 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14973 gdb/1455, bug is specific to "long long" and "double".
14974
14975 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14976 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14977 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14978 fixed.
14979
14980 2004-06-09 Andrew Cagney <cagney@gnu.org>
14981
14982 * gdb.base/structs.exp (test_struct_returns): Replace
14983 "return_value_unknown" and "finish_value_unknown" by
14984 "return_value_known" and "finish_value_known". Instead of
14985 "return_value_unknown" iff "finish_value_unknown", check
14986 "return_value_known" implies "finish_value_known".
14987
14988 2004-06-08 Martin Hunt <hunt@redhat.com>
14989
14990 * gdb.base/float.exp: Add pattern for mips targets.
14991
14992 2004-06-08 Randolph Chung <tausq@debian.org>
14993
14994 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14995 message for unknown architectures more clear.
14996
14997 2004-06-08 Joel Brobecker <brobecker@gnat.com>
14998
14999 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
15000 start the execution of the program.
15001
15002 2004-06-07 Jim Blandy <jimb@redhat.com>
15003
15004 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
15005 * gdb.arch/i386-cpuid.h: New helper file.
15006
15007 2004-06-07 Randolph Chung <tausq@debian.org>
15008
15009 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15010 has started.
15011
15012 2004-06-04 Roland McGrath <roland@redhat.com>
15013
15014 Fix PR gdb/1647.
15015 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15016 differently to be robust to output buffering differences.
15017
15018 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15019
15020 * gdb.threads/pthreads.exp: Update copyright years.
15021 (check_control_c): Change asynchronous 'after' to synchronous.
15022
15023 2004-06-04 Roland McGrath <roland@redhat.com>
15024
15025 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15026 next gdb prompt.
15027
15028 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15029
15030 Fix PR gdb/1636.
15031 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15032 calls to synchronous.
15033
15034 2004-05-26 Jim Blandy <jimb@redhat.com>
15035
15036 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15037
15038 2004-05-24 Randolph Chung <tausq@debian.org>
15039
15040 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15041 * gdb.asm/pa.inc: New file.
15042
15043 2004-05-22 Mark Kettenis <kettenis@gnu.org>
15044
15045 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15046
15047 2004-05-21 Joel Brobecker <brobecker@gnat.com>
15048 Daniel Jacobowitz <drow@mvista.com>
15049
15050 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15051 GDB prompt.
15052
15053 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15054
15055 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
15056 setjmp/longjmp. Use sigaction instead of signal.
15057
15058 2004-05-19 J. Brobecker <brobecker@gnat.com>
15059 Michael Snyder <msnyder@redhat.com>
15060
15061 * gdb.threads/pthread_cond_wait.c: New file.
15062 * gdb.threads/pthread_cond_wait.exp: New testcase.
15063
15064 2004-05-13 Andrew Cagney <cagney@redhat.com>
15065
15066 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15067 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15068
15069 2004-05-11 Andrew Cagney <cagney@redhat.com>
15070
15071 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15072 fixed but revealed gdb/1639.
15073
15074 2004-05-10 Andrew Cagney <cagney@redhat.com>
15075
15076 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15077 func1" and "next to 2nd alarm", kernel bug avoided.
15078
15079 2004-05-10 Daniel Jacobowitz <dan@debian.org>
15080
15081 PR external/1568
15082 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15083 XFAIL if it is smaller than bytes_allocated.
15084 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15085 (main): Make chunks_allocated unsigned. Correct comment.
15086
15087 2004-05-07 Joel Brobecker <brobecker@gnat.com>
15088
15089 * gdb.arch/powerpc-aix-prologue.c: New file.
15090 * gdb.arch/powerpc-aix-prologue.exp: New file.
15091
15092 2004-05-07 Jim Blandy <jimb@redhat.com>
15093
15094 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15095 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15096
15097 2004-05-06 Joel Brobecker <brobecker@gnat.com>
15098
15099 * gdb.base/sep.exp: No longer setup_kfail when the program was
15100 built with dwarf2.
15101
15102 2004-05-05 Jim Ingham <jingham@apple.com>
15103
15104 * gdb.base/pending.exp: Make sure pending breakpoints
15105 preserve the ignore count.
15106
15107 2004-04-27 Jerome Guitton <guitton@gnat.com>
15108
15109 * i386-prologue.exp: Add testcase for jump instruction as first
15110 instruction of the real code.
15111 * i386-prologue.c (jump_at_beginning): New function.
15112
15113 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15114
15115 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15116 x86_64-*-*.
15117
15118 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15119
15120 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15121 i*86-*-*.
15122
15123 2004-04-25 Mark Kettenis <kettenis@gnu.org>
15124
15125 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15126 expression that checks the return type.
15127
15128 2004-04-23 Andrew Cagney <cagney@redhat.com>
15129
15130 * gdb.base/call-sc.exp: New test of scalar call/return values.
15131 * gdb.base/call-sc.c: Ditto.
15132
15133 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15134
15135 * gdb.threads/manythreads.c: Reduce thread stack size.
15136
15137 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15138
15139 * gdb.threads/manythreads.c: Add copyright notice.
15140
15141 2004-04-23 Andrew Cagney <cagney@redhat.com>
15142
15143 * gdb.base/siginfo.exp: Better handle step out of signal.
15144 * gdb.base/sigstep.exp: Ditto.
15145
15146 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
15147 Daniel Jacobowitz <drow@mvista.com>
15148
15149 * gdb.threads/manythreads.c: New testcase.
15150 * gdb.threads/manythreads.exp: Ditto.
15151
15152 2004-04-22 Jim Blandy <jimb@redhat.com>
15153
15154 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15155 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15156
15157 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15158
15159 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15160
15161 2004-04-21 Andrew Cagney <cagney@redhat.com>
15162
15163 * gdb.base/sigstep.c: New file.
15164 * gdb.base/sigstep.exp: New file.
15165
15166 2004-04-16 Joel Brobecker <brobecker@gnat.com>
15167
15168 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15169 call to observer_notify_normal_stop.
15170
15171 2004-04-15 Andrew Cagney <cagney@redhat.com>
15172
15173 * gdb.base/siginfo.c: New file.
15174 * gdb.base/siginfo.exp: New file.
15175
15176 2004-04-12 J. Brobecker <brobecker@gnat.com>
15177
15178 * gdb.base/sep.exp: Fix typo in comment.
15179
15180 2004-04-12 J. Brobecker <brobecker@gnat.com>
15181
15182 * gdb.base/sep.c: New file.
15183 * gdb.base/sep-proc.c: New file.
15184 * gdb.base/sep.exp: New testcase.
15185
15186 2004-04-09 Mark Kettenis <kettenis@gnu.org>
15187
15188 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15189 support.
15190
15191 2004-04-05 Andrew Cagney <cagney@redhat.com>
15192
15193 * gdb.base/sigaltstack.c: New file.
15194 * gdb.base/sigaltstack.exp: New file.
15195
15196 2004-04-04 Joel Brobecker <brobecker@gnat.com>
15197
15198 * gdb.base/foll-fork.exp: Update the expected output for
15199 "help set follow-fork-mode", to match a change that was made
15200 to the help of this variable on 2004-01-13.
15201
15202 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15203
15204 * lib/ada.exp: Add copyright notice.
15205 * bar.ads: Likewise.
15206 * bar.adb: Likewise.
15207 * null_record.adb: Likewise.
15208 * null_record.exp: Likewise.
15209 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15210
15211 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15212
15213 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15214 * configure: Regenerate.
15215
15216 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15217
15218 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15219 to build the application. Remove the message printed when in
15220 verbose mode, redundant with the UNSUPPORTED message above.
15221
15222 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15223
15224 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15225 * gdb.ada (null_record.exp): New testcase.
15226
15227 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15228
15229 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15230
15231 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15232
15233 * gdb.ada: New subdirectory.
15234 * gdb.ada/Makefile.in: New file.
15235 * gdb.ada/gnat_ada.gpr.in: New file.
15236
15237 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15238
15239 * lib/ada.exp: New file.
15240
15241 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
15242
15243 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15244 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15245
15246 2004-03-22 Andrew Cagney <cagney@redhat.com>
15247
15248 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15249 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15250 Problem identified by Ulrich Weigand.
15251
15252 2004-03-17 David Carlton <carlton@kealia.com>
15253
15254 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15255 PR c++/826.
15256
15257 2004-03-16 Roland McGrath <roland@redhat.com>
15258
15259 * gdb.base/auxv.exp: New file.
15260 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15261
15262 2004-03-12 David Carlton <carlton@kealia.com>
15263
15264 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15265 * gdb.cp/pr-1553.cc: Ditto.
15266 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15267 pass branch.
15268
15269 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15270
15271 * gdb.cp/templates.exp: Accept more template types.
15272
15273 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15274
15275 From Corinna Vinschen with modifications.
15276 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15277 local variable obj_with_enum.
15278 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15279 results with obj_with_enum.
15280
15281 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15282
15283 * gdb.cp/classes.cc: New file, copied from misc.cc.
15284 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15285
15286 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15287
15288 * gdb.cp/misc.cc: Add copyright notice.
15289
15290 2004-03-05 David Carlton <carlton@kealia.com>
15291
15292 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15293 * gdb.cp/rtti.h: Update copyright.
15294 (namespace n2::n3): New.
15295 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15296 (n2::n3::func3): New.
15297 (main): Call n2::n3::func3.
15298 * gdb.cp/rtti2.cc: Update copyright.
15299 (n2::create3): New.
15300
15301 2004-03-04 Mark Kettenis <kettenis@gnu.org>
15302
15303 * gdb.asm/openbsd.inc: Fix typo.
15304
15305 2004-03-03 Fred Fish <fnf@redhat.com>
15306
15307 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15308 "val" instead of unused "size". Update copyright year.
15309
15310 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15311
15312 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15313 to use unsigned char.
15314 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15315 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15316
15317 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15318
15319 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15320 line of output.
15321
15322 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15323
15324 * gdb.base/relocate.c (dummy): Initialize.
15325
15326 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15327
15328 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15329 a breakpoint at exit.
15330
15331 2004-02-27 Fred Fish <fnf@redhat.com>
15332
15333 * gdb.base/chng-syms.exp: Add expect condition to match failing
15334 case that isn't a timeout.
15335
15336 2004-02-27 Andrew Cagney <cagney@redhat.com>
15337
15338 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15339 support.
15340
15341 2004-02-26 Fred Fish <fnf@redhat.com>
15342
15343 * gdb.arch/gdb1431.c: Remove.
15344 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15345 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15346 of "until" incorrectly.
15347
15348 2004-02-26 J. Brobecker <brobecker@gnat.com>
15349
15350 * gdb.cp/class2.cc (empty): New class.
15351 (refer): New function.
15352 (main): Declare an object of type empty and use it.
15353 * gdb.cp/class2.exp: Print the value of an object of type empty.
15354
15355 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15356
15357 * gdb.base/langs.exp: Update query string to match the
15358 new nquery format used for pending breakpoints.
15359
15360 2004-02-26 Andrew Cagney <cagney@redhat.com>
15361
15362 Fix PR i18n/1570.
15363 * gdb.base/charset.c: Update copyright notice.
15364 (main, init_string): Remove the escape character '\e' tests.
15365 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15366 * gdb.base/charset.exp (valid_host_charset): Ditto.
15367 * gdb.base/setvar.exp: Ditto.
15368
15369 2004-02-24 Andrew Cagney <cagney@redhat.com>
15370
15371 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15372 mmapped data in core file" PASS and FAIL messages consistent.
15373
15374 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15375 setting a breakpoint. Work around PR java/1565.
15376
15377 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15378
15379 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15380 new nquery format.
15381 * gdb.base/pending.exp: Ditto.
15382
15383 2004-02-22 Mark Kettenis <kettenis@gnu.org>
15384
15385 * configure.in: Run stabs tests on *BSD.
15386 * configure: Regenerated.
15387
15388 2004-02-21 Mark Kettenis <kettenis@gnu.org>
15389
15390 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15391
15392 2004-02-20 Fred Fish <fnf@redhat.com>
15393
15394 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15395 blank in test for "returns short", for consistency with other
15396 "returns xxx" tests. Update copyright year.
15397
15398 2004-02-19 Fred Fish <fnf@redhat.com>
15399
15400 New testcase for PR breakpoint/1558.
15401 * gdb.arch/gdb1558.exp: New file.
15402 * gdb.arch/gdb1558.c: New file.
15403
15404 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
15405
15406 * gdb.base/nodebug.exp: Fix typo.
15407
15408 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15409
15410 Committed by Jim Blandy <jimb@redhat.com>.
15411
15412 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15413
15414 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15415
15416 * gdb.base/float.exp: Support s390*-*-* targets.
15417
15418 2004-02-17 Adam Fedor <fedor@gnu.org>
15419
15420 * gdb.base/gdb1555.exp: New file.
15421 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15422
15423 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
15424
15425 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15426
15427 2004-02-16 Fred Fish <fnf@redhat.com>
15428
15429 * gdb.arch/gdb1291.c: Remove
15430 * gdb.arch/gdb1291.s: New test input file.
15431 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15432 fail. Test for correct result, known incorrect result, other
15433 failures and timeouts.
15434
15435 2004-02-16 Andrew Cagney <cagney@redhat.com>
15436
15437 * gdb.base/bigcore.exp: New file.
15438 * gdb.base/bigcore.c: New file.
15439
15440 2004-02-13 Andrew Cagney <cagney@redhat.com>
15441
15442 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15443 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15444 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15445 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15446 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15447 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15448 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15449 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15450 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15451 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15452
15453 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15454
15455 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15456 executed is an alloc instruction.
15457
15458 2004-02-11 David Carlton <carlton@kealia.com>
15459
15460 * gdb.cp/breakpoint.exp: New.
15461 * gdb.cp/breakpoint.cc: New.
15462
15463 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15464
15465 Partial fix for PR gdb/1543.
15466 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15467 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15468 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15469 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15470 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15471 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15472 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15473 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15474 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15475 to bug-gdb@prep.ai.mit.edu .
15476 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15477 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15478 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15479 Likewise.
15480
15481 2004-02-10 Andrew Cagney <cagney@redhat.com>
15482
15483 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15484 using gdb_internal_error_resync.
15485
15486 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
15487
15488 * gdb.threads/thread-specific.exp: Stop early if no threads are
15489 found.
15490
15491 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15492
15493 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15494
15495 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
15496
15497 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15498 breakpoints.
15499
15500 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
15501
15502 * config/sim.exp (gdb_load): Handle $arg == "".
15503 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15504 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15505
15506 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
15507
15508 * gdb.base/maint.exp: Update test to reflect
15509 obstack changes.
15510
15511 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15512
15513 * gdb.base/pendshr.c (pendfunc): New function that calls
15514 pendfunc1.
15515 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15516
15517 2004-02-04 Fred Fish <fnf@redhat.com>
15518
15519 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15520 function symbols and update copyright years.
15521 * gdb.arch/gdb1291.c: Ditto.
15522
15523 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15524
15525 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15526
15527 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15528
15529 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15530
15531 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15532
15533 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15534
15535 2004-02-02 Fred Fish <fnf@redhat.com>
15536
15537 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15538 remote targets. Update copyright years.
15539
15540 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15541
15542 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15543 support.
15544 * gdb.base/langs.exp: Fix test which attempts to create
15545 breakpoint on non-existent function to handle new pending
15546 support.
15547 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15548 a breakpoint.
15549 * gdb.base/pending.exp: New test.
15550 * gdb.base/pending.c: New file.
15551 * gdb.base/pendshr.c: Ditto.
15552
15553 2004-02-02 David Carlton <carlton@kealia.com>
15554
15555 * gdb.cp/overload.exp: Add overloadNamespace tests.
15556 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15557 (overloadNamespace, XXX): New.
15558 (main): Call XXX::marker2.
15559
15560 2004-02-01 Fred Fish <fnf@redhat.com>
15561
15562 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15563 * gdb.base/finish.exp: Ditto.
15564 * gdb.base/gcore.exp: Ditto.
15565 * gdb.base/huge.exp: Ditto.
15566 * gdb.base/info-proc.exp: Ditto.
15567 * gdb.base/return2.exp: Ditto.
15568 * gdb.threads/gcore-thread.exp: Ditto.
15569
15570 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15571
15572 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15573
15574 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15575
15576 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15577 that opening the file succeeds on OpenBSD.
15578
15579 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15580
15581 * gdb.threads/thread-specific.c: New file.
15582 * gdb.threads/threads-specific.exp: New test script.
15583 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15584 to expect_out.
15585
15586 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15587
15588 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15589 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15590 only on the "print_small_structs from print_long_arg_list" test.
15591
15592 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15593
15594 * gdb.base/completion.exp: Kill a stray backslash.
15595
15596 From Jim Ingham <jingham@apple.com>:
15597 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15598 agrees with the result from sending a tab.
15599
15600 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
15601
15602 * gdb.base/chng-syms.exp: Remove stray newline.
15603
15604 2004-01-31 Mark Kettenis <kettenis@gnu.org>
15605
15606 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15607 *-*-openbsd*.
15608 * gdb.asm/openbsd.inc: New file.
15609
15610 2004-01-30 Mark Kettenis <kettenis@gnu.org>
15611
15612 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15613 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15614 *-*solaris2*. Remove commented out default settings for
15615 asm-flags. Replace gdb_compile with target_link.
15616
15617 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15618
15619 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15620 for all tests. Remove old hp-ux and cygnus xfail cases.
15621
15622 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15623
15624 * gdb.base/chng-syms.exp: New file.
15625 * gdb.base/chng-syms.c: New file.
15626
15627 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15628
15629 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15630 Provide arms for current output in all my configurations.
15631
15632 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15633
15634 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15635 * lib/compiler.cc: Likewise.
15636 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15637 get the right preprocessor. Eval the output directly. Remove
15638 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15639 hp_f77_compiler and hp_f90_compiler completely.
15640 (gdb_preprocess): Delete.
15641 (get_compiler): Delete.
15642
15643 2004-01-24 Mark Kettenis <kettenis@gnu.org>
15644
15645 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15646 <string.h>.
15647
15648 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
15649
15650 * gdb.mi/mi-stack.exp: Update copyright.
15651
15652 2004-01-23 David Carlton <carlton@kealia.com>
15653
15654 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15655 test for cp_lookup_transparent_type.
15656 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15657 call them.
15658
15659 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
15660
15661 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15662 after -var-update.
15663
15664 2004-01-23 David Carlton <carlton@kealia.com>
15665
15666 * gdb.cp/namespace.cc (C::ensureRefs): New.
15667 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15668
15669 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
15670
15671 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15672 case "-stack-list-locals 2".
15673 * gdb.mi/mi-var-child.exp: Test for case
15674 "-var-list-children --all-values NAME".
15675
15676 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15677
15678 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15679
15680 2004-01-18 Mark Kettenis <kettenis@gnu.org>
15681
15682 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15683 used with gdb_test_multiple.
15684
15685 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15686 read at address 0. This fixes PR testsuite/1504.
15687
15688 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
15689
15690 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15691 Remove downloading, guessing the host executable, the calls to
15692 gdb_file_cmd and gdb_target_cmd, and "load" support.
15693 (infer_host_exec): New function broken out from gdb_load.
15694 (gdb_load): New wrapper for gdbserver_gdb_load.
15695 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15696 gdb_target_cmd. Use -target-select.
15697 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15698 Download binaries to the host. Clear last_mi_remote_file when
15699 we load a new binary.
15700 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15701 call gdbserver_gdb_load and mi_gdb_target_cmd.
15702
15703 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15704
15705 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15706 type patterns.
15707
15708 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15709
15710 * gdb.cp/templates.exp: Fix typo in test name of
15711 "print Foo<volatile char*>::foo".
15712
15713 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15714
15715 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15716
15717 2004-01-16 Ben Elliston <bje@wasabisystems.com>
15718
15719 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15720 (clean mostlyclean): Remove empty rm.
15721
15722 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15723
15724 * gdb.base/setvar.exp: Add copyright years.
15725
15726 2004-01-14 David Carlton <carlton@bactrian.org>
15727
15728 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15729 PR c++/1511 and update coment.
15730 * gdb.cp/templates.exp: Update patterns to match current output.
15731 If changes involve something other than whitespace, KFAIL
15732 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15733
15734 2004-01-14 David Carlton <carlton@kealia.com>
15735
15736 * gdb.cp/namespace.exp: Add tests involving classes defined within
15737 namespaces.
15738 * gdb.cp/namespace.cc (C::CClass): New.
15739 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15740
15741 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
15742
15743 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15744 what debug info we have. Print a better message if something goes
15745 wrong while producing the separate debug info file.
15746
15747 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15748
15749 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15750
15751 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15752
15753 * gdb.base/callfuncs.c: Add copyright notice.
15754
15755 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15756
15757 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15758 inheritance. PR gdb/1498, PR gcc/13539.
15759
15760 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
15761
15762 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15763 test specific name.
15764 * gdb.mi/gdb669.exp: Ditto.
15765 * gdb.mi/mi-pthreads.exp: Ditto.
15766 * gdb.mi/mi1-pthreads.exp: Ditto.
15767 * gdb.mi/mi2-pthreads.exp: Ditto.
15768
15769 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15770
15771 * gdb.cp/member-ptr.cc: Add copyright notice.
15772
15773 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15774
15775 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15776 some patterns for recent versions of gcc and hpacc. Delete
15777 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15778 Delete tests that access a NULL pointer-to-member-data. This
15779 script is still disabled for gcc.
15780
15781 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15782
15783 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15784 escaped correctly.
15785
15786 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15787
15788 * gdb.base/sepdebug.exp: New file.
15789 * gdb.base/sepdebug.c: New file.
15790 * lib/gdb.exp (separate_debug_filename): New procedure.
15791 (gdb_gnu_strip_debug): New procedure.
15792
15793 2004-01-12 Andrew Cagney <cagney@redhat.com>
15794
15795 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15796 * gdb.mi/ChangeLog-1999-2003: New file.
15797
15798 2004-01-12 Andrew Cagney <cagney@redhat.com>
15799
15800 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15801 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15802 or EEXIST", treat EBUSY as an XFAIL.
15803
15804 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15805
15806 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15807 hp_cc_compiler.
15808
15809 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15810
15811 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15812 decorations.
15813
15814 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15815
15816 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15817 and "(aCC)" decorations. Remove obsolete doco about old
15818 test results.
15819
15820 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15821
15822 * gdb.cp/exception.exp: Fix typo in doco.
15823
15824 2004-01-09 Mark Kettenis <kettenis@gnu.org>
15825
15826 * gdb.base/gdb1476.exp: Fix typo.
15827
15828 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15829
15830 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15831 file.
15832
15833 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15834
15835 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15836 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15837 Use gdb_compile. Remove restriction on gcc. Add some patterns
15838 for recent version of gdb. Delete second half, which was a copy
15839 of the first half with different build flags. This test is
15840 still disabled because it is still not ready for production.
15841
15842 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15843
15844 * gdb.cp/exception.cc: Add copyright notice.
15845 * gdb.cp/exception.exp: Add a notice that this file is broken
15846 because of line number changes caused by addition of copyright
15847 notice.
15848
15849 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15850
15851 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15852 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15853
15854 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15855
15856 * gdb.cp/classes.exp: Accept gnu abi 2.
15857 * gdb.cp/derivation.exp: Likewise.
15858 * gdb.cp/overload.exp: Likewise.
15859 * gdb.cp/virtfunc.exp: Likewise.
15860
15861 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15862
15863 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15864 semicolon after end of function.
15865
15866 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15867
15868 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15869 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15870 boilerplate code for compiling and running the program under
15871 test. Add some string method tests.
15872
15873 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15874
15875 * gdb.cp/bs15503.cc: Add copyright notice.
15876 * gdb.cp/bs15503.exp: Adjust line number.
15877
15878 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15879
15880 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15881 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15882
15883 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15884
15885 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15886 hp_cc_compiler.
15887
15888 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15889
15890 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15891 * gdb.cp/ctti.exp: Use the marker instead of "next".
15892 With gcc, run further before bailing.
15893
15894 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15895
15896 * gdb.cp/cttiadd.cc: Add copyright notice.
15897 * gdb.cp/cttiadd1.cc: Likewise.
15898 * gdb.cp/cttiadd2.cc: Likewise.
15899 * gdb.cp/cttiadd3.cc: Likewise.
15900
15901 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15902
15903 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15904 Use gdb_test, gdb_test_multiple. Use floating-point values that
15905 have exact representations in IEEE-ish formats.
15906
15907 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15908
15909 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15910 compilers. Delete duplicate call to get_compiler_info.
15911 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15912 * gdb.base/volatile.exp: Likewise.
15913
15914 2004-01-07 Mark Kettenis <kettenis@gnu.org>
15915
15916 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15917 memory at address 0.
15918
15919 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15920
15921 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15922 to test for hp-ux assembler. Fix copyright years.
15923
15924 2004-01-07 Andrew Cagney <cagney@redhat.com>
15925
15926 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15927
15928 2004-01-07 Andrew Cagney <cagney@redhat.com>
15929
15930 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15931 when creating the read-only file. From analysis by Roland McGrath
15932 and Elena Zannoni.
15933
15934 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15935
15936 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15937
15938 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15939
15940 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15941 data pointers.
15942
15943 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15944
15945 * gdb.cp/m-static.exp: Compile one source file at a time.
15946 Delete unused call to get_compiler_info.
15947
15948 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15949
15950 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15951 * gdb.base/call-rt-st.exp: Likewise.
15952 * gdb.base/nodebug.exp: Likewise.
15953 * gdb.base/volatile.exp: Likewise.
15954 * gdb.cp/ref-types.exp: Likewise.
15955 * gdb.cp/templates.exp: Likewise.
15956
15957 2004-01-05 Mark Kettenis <kettenis@gnu.org>
15958
15959 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15960
15961 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15962
15963 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15964 hppa*-hp-hpux*.
15965
15966 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15967
15968 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15969 x86_64-*-*.
15970
15971 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15972 sparc64-*-* and sparc*-solaris2*.
15973
15974 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15975
15976 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15977 return ${tests}" test. The ${tests} already mentions the
15978 filename.
15979
15980 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15981
15982 * gdb.cp/local.exp: Accept gcc abi 2.
15983
15984 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15985
15986 * gdb.cp/templates.exp: Accept gcc abi 2.
15987
15988 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15989
15990 * lib/compiler.cc: Remove supports_template_debugging.
15991 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15992
15993 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15994
15995 * gdb.cp/namespace.exp: Accept gcc abi 2.
15996
15997 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15998
15999 * gdb.cp/method.exp: Accept gcc abi 2.
16000
16001 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16002
16003 * gdb.cp/classes.exp: Generate identical results as old version.
16004 * gdb.cp/derivation.exp: Likewise.
16005 * gdb.cp/overload.exp: Likewise.
16006 * gdb.cp/virtfunc.exp: Likewise.
16007
16008 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16009
16010 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16011 mysterious bug with sourceware version of expect.
16012
16013 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16014
16015 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16016 current versions of gcc, including gcc abi 2. Remove gratuitous
16017 restart of test program. Use gdb_test_multiple and gdb_test for
16018 all tests. Add patterns to xfail missing "const" in "const char *"
16019 and kfail PR gdb/1155.
16020
16021 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16022
16023 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16024 current versions of gcc, including gcc abi 2. Remove gratuitous
16025 restart of test program. Use gdb_test_multiple and gdb_test for
16026 all tests. Add patterns to kfail PR gdb/1498.
16027
16028 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16029
16030 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16031 current versions of gcc, including gcc abi 2. Use "breakpoint"
16032 and "continue" instead of restarting the target program. Use
16033 gdb_test_multiple and gdb_test for all tests.
16034
16035 2004-01-01 Mark Kettenis <kettenis@gnu.org>
16036
16037 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16038 for *-*-solaris2*.
16039
16040 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16041
16042 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16043 current versions of gcc, including gcc abi 2. Use "breakpoint"
16044 and "continue" instead of restarting the target program several
16045 times. Use gdb_test_multiple and gdb_test for all tests.
16046
16047 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16048
16049 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16050 source files.
16051
16052 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16053
16054 * gdb.base/environ.exp: Handle compiling test case from multiple
16055 source files.
16056
16057 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16058
16059 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16060
16061 2003-12-17 Jim Blandy <jimb@redhat.com>
16062
16063 * gdb.base/freebpcmd.c: Add copyright notice.
16064
16065 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16066
16067 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16068
16069 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16070
16071 2003-12-13 Jim Blandy <jimb@redhat.com>
16072
16073 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16074
16075 2003-12-12 Kevin Buettner <kevinb@redhat.com>
16076
16077 * gdb.asm/frv.inc: New file.
16078 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16079
16080 2003-12-09 Fred Fish <fnf@redhat.com>
16081
16082 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16083 functions to break1.c and leave prototypes behind. Add more
16084 "set breakpoint NN here" comments.
16085 * gdb.base/break1.c: New file.
16086
16087 * gdb.base/break.exp: Handle compiling test case from multiple
16088 source files and change source file references as needed.
16089 * gdb.base/completion.exp: Ditto.
16090 * gdb.base/condbreak.exp: Ditto.
16091 * gdb.base/define.exp: Ditto.
16092 * gdb.base/ena-dis-br.exp: Ditto.
16093 * gdb.base/info-proc.exp: Ditto.
16094 * gdb.base/maint.exp: Ditto.
16095 * gdb.base/until.exp: Ditto.
16096
16097 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16098 hardcoded line numbers.
16099 * gdb.base/define.exp: Ditto.
16100 * gdb.base/ena-dis-br.exp: Ditto.
16101 * gdb.base/maint.exp: Ditto.
16102 * gdb.base/until.exp: Ditto.
16103
16104 * gdb.base/completion.exp: Use "break1" for completion tests since
16105 "break" is no longer a unique prefix.
16106
16107 2003-12-06 Andrew Cagney <cagney@redhat.com>
16108
16109 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16110 "return_value_unimplemented". When an unimplemented struct return
16111 architecture, report incorrect values as a KFAIL
16112
16113 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16114
16115 * gdb.cp/rtti.exp: Accept new wording of warning from
16116 cp_lookup_rtti_type.
16117
16118 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16119
16120 Partial fix for PR testsuite/1456.
16121 * gdb.base/scope.exp (test_at_main): Replace references to
16122 gcc_compiled with calls to test_compiler_info.
16123 (test_at_foo): Likewise.
16124 (test_at_bar): Likewise.
16125
16126 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16127
16128 Partial fix for PR testsuite/1456.
16129 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16130 to test_compiler_info.
16131
16132 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16133
16134 * gdb.base/so-impl-ld.exp: Update copyright notice.
16135
16136 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16137
16138 Partial fix for PR testsuite/1456.
16139 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16140 to test_compiler_info.
16141
16142 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16143
16144 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16145 from current versions of gdb. Clean up regular expressions.
16146 Delete redundant timeout case.
16147
16148 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16149
16150 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16151 from current versions of gdb. Clean up regular expressions.
16152 Delete redundant timeout case.
16153
16154 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16155
16156 Partial fix for PR testsuite/1456.
16157 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16158 gcc_compiled with call to test_compiler_info.
16159
16160 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16161
16162 Partial fix for PR testsuite/1456.
16163 * gdb.base/list.exp (test_list_function): Delete unused declaration
16164 of gcc_compiled.
16165
16166 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16167
16168 Partial fix for PR testsuite/1456.
16169 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16170 call to test_compiler_info.
16171
16172 2003-11-29 Mark Kettenis <kettenis@gnu.org>
16173
16174 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16175 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16176 it to create the appropriate note.inc.
16177 * gdb.asm/asmsrc1.s: Include "note.inc".
16178 * gdb.asm/netbsd.inc: New file.
16179 * gdb.asm/empty.inc: New file.
16180
16181 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16182
16183 Partial fix for PR testsuite/1456.
16184 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16185 calls to test_compiler_info.
16186
16187 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16188
16189 Partial fix for PR testsuite/1456.
16190 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16191 calls to test_compiler_info.
16192
16193 2003-11-27 Mark Kettenis <kettenis@gnu.org>
16194
16195 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16196 pattern for the KFAILs.
16197
16198 2003-11-25 Adam Fedor <fedor@gnu.org>
16199
16200 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16201 * gdb.objc/objcdecode.m: New file.
16202
16203 2003-11-25 Adam Fedor <fedor@gnu.org>
16204
16205 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16206 * gdb.objc/nondebug.m: New file.
16207
16208 2003-11-26 Ben Elliston <bje@wasabisystems.com>
16209
16210 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16211 NetBSD as it does on FreeBSD. Modelled on a similar change by
16212 Mark Kettenis on 2003-05-30.
16213 (link-flags): Set to "--entry _start" regardless of target.
16214 Special linker flags are to be appended to $link-flags.
16215 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16216
16217 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16218
16219 * gdb.cp/method.exp: Accept output of new demangler.
16220
16221 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16222
16223 * gdb/class2.exp: New file.
16224 * gdb/class2.cc: New file.
16225
16226 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16227
16228 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16229 of new demangler.
16230
16231 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16232
16233 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16234 of gdb_test "run".
16235
16236 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16237
16238 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16239 "continue" into "run".
16240
16241 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16242
16243 Partial fix for PR testsuite/1456.
16244 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16245 call to test_compiler_info.
16246 * gdb.cp/ctti.exp: Likewise.
16247 * gdb.cp/derivation.exp: Likewise.
16248 * gdb.cp/member-ptr.exp: Likewise.
16249 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16250 reference to gcc_compiled.
16251
16252 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16253
16254 Fix PR testsuite/1463.
16255 * gdb.base/structs.exp (start_structs_test): Call
16256 get_debug_format before using the debug format.
16257
16258 2003-11-22 Andrew Cagney <cagney@redhat.com>
16259
16260 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16261 * gdb.base/structs.exp: Use gdb_test_multiple.
16262
16263 2003-11-20 Andrew Cagney <cagney@redhat.com>
16264
16265 * gdb.base/structs.exp: Handle and recover from internal errors.
16266 Replace "foo${n}" with "foo<n>" in test messages.
16267
16268 * gdb.base/structs.exp: Update copyright. Rewrite.
16269 * gdb.base/structs.c: Update copyright. Rewrite.
16270
16271 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16272 resync count exceeded.
16273
16274 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16275 from the internal error.
16276 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16277 Original from Jim Blandy.
16278 (gdb_test_multiple): Use gdb_internal_error_resync.
16279
16280 2003-11-19 Andrew Cagney <cagney@redhat.com>
16281
16282 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16283 KFAIL.
16284
16285 2003-11-17 Mark Kettenis <kettenis@gnu.org>
16286
16287 New testcase for PR backtrace/1435.
16288 * gdb.arch/i386-unwind.exp: New file.
16289 * gdb.arch/i386-unwind.c: New file.
16290
16291 2003-11-17 Andrew Cagney <cagney@redhat.com>
16292
16293 * lib/gdb.exp (compiler_info): New global.
16294 (test_compiler_info): New function.
16295 (get_compiler_info): Set compiler_info.
16296 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16297 "compiler_info" to gcc-<major>-<minor>.
16298
16299 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16300
16301 * gdb.trace/configure: Remove.
16302
16303 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
16304
16305 * gdb.base/break.c: Add comments to aid finding line numbers for
16306 breakpoints.
16307 * gdb.base/break.exp: Remove all references to explicit line
16308 numbers.
16309
16310 2003-11-11 Nick Clifton <nickc@redhat.com>
16311
16312 * gdb.base/shreloc.exp: Do not run for targets which do not
16313 support shared objects.
16314
16315 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
16316
16317 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16318 Don't run tests if nofileio flag is given.
16319
16320 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
16321
16322 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
16323 as well as 'Watchpoint'.
16324
16325 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16326
16327 Reported by Jim Ingham <jingham@apple.com>:
16328 * gdb.base/annota1.exp: Match at least one occurrence of the
16329 signal handler annotation.
16330
16331 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16332
16333 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16334 as well as 'Watchpoint'.
16335
16336 2003-11-05 Michael Chastain <mec@shout.net>
16337
16338 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16339
16340 2003-11-03 Kris Warkentin <kewarken@qnx.com>
16341
16342 * gdb.arch/gdb1291.c: New test file.
16343 * gdb.arch/gdb1291.exp: New test script.
16344 * gdb.arch/gdb1431.c: New test file.
16345 * gdb.arch/gdb1431.exp: New test script.
16346
16347 2003-10-22 Michael Chastain <mec@shout.net>
16348
16349 * gdb.mi/pthreads.c: Add copyright notice.
16350
16351 2003-10-22 Michael Chastain <mec@shout.net>
16352
16353 * gdb.threads/pthreads.c: Add copyright notice.
16354
16355 2003-10-20 Michael Chastain <mec@shout.net>
16356
16357 * gdb.base/gdb1056.exp: New test script.
16358
16359 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16360
16361 * gdb.threads/killed.exp: Use gdb_run_cmd.
16362
16363 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16364
16365 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16366 create a core file.
16367 * gdb.threads/gcore-thread.exp: Likewise.
16368
16369 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
16370
16371 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16372 type, based on char type.
16373 (struct bit_flags_short_t): New bitfield type, based on short type.
16374 (init_bit_flags_char): New fuction.
16375 (init_bit_flags_short): Ditto.
16376 (print_bit_flags_char): Ditto.
16377 (print_bit_flags_short): Ditto.
16378 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16379
16380 2003-10-11 Michael Chastain <mec@shout.net>
16381
16382 * gdb.base/call-rt-st.exp: Update copyright year.
16383
16384 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16385
16386 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16387 * gdb.disasm/sh3.s: Ditto.
16388
16389 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
16390
16391 * gdb.threads/switch-threads.exp: New test.
16392 * gdb.threads/switch-threads.c: New source file.
16393
16394 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
16395
16396 * gdb.base/ending-run.exp: Add sh specific case.
16397
16398 2003-10-06 Andrew Cagney <cagney@redhat.com>
16399
16400 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16401 * gdb.disasm/mn10200.exp: Delete obsolete file.
16402
16403 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
16404
16405 * ChangeLog: Correct an entry command.exp -> commands.exp.
16406 * gdb.base/commands.exp (bp_deleted_in_command_test)
16407 (temporary_breakpoint_commands): Check noargs.
16408
16409 2003-09-25 David Carlton <carlton@kealia.com>
16410
16411 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16412 of some print tests, where appropriate. Add tests for C::D::cd,
16413 E::ce, F::cXfX, G::XgX.
16414 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16415
16416 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
16417
16418 * lib/java.exp (java_init): Import target_alias before using it.
16419
16420 2003-09-25 David Carlton <carlton@kealia.com>
16421
16422 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16423
16424 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
16425
16426 * gdb.base/selftest.exp: Accomodate more instruction reordering
16427 weirdness.
16428
16429 2003-09-17 Michael Chastain <mec@shout.net>
16430
16431 * gdb.cp/gdb1355.exp: New file.
16432 * gdb.cp/gdb1355.c: New file.
16433
16434 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
16435
16436 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16437 * gdb.asm/sh.inc: New file.
16438
16439 2003-09-11 David Carlton <carlton@kealia.com>
16440
16441 * gdb.cp/namespace.exp: Add tests for namespace types.
16442 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
16443 (test_namespace): New.
16444
16445 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
16446
16447 * gdb.base/relocate.exp: Handle new gdb output at startup.
16448 * gdb.stabs/weird.exp: Ditto.
16449
16450 2003-09-08 Michael Chastain <mec@shout.net>
16451
16452 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16453
16454 2003-09-07 Michael Chastain <mec@shout.net>
16455
16456 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16457 'parse error'.
16458
16459 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16460
16461 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16462
16463 2003-08-30 Michael Chastain <mec@shout.net>
16464
16465 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16466 * gdb.gdb/observer.exp: Ditto.
16467 * gdb.gdb/xfullpath.exp: Ditto.
16468
16469 2003-08-29 Mark Kettenis <kettenis@gnu.org>
16470
16471 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16472 *-*-*bsd*.
16473
16474 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16475
16476 * gdb.base/dump.exp: Skip for ia64.
16477
16478 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16479
16480 * gdb.asm/asm-source.exp: Add ia64 support.
16481 * gdb.asm/ia64.inc: New file.
16482
16483 2003-08-22 Michael Chastain <mec@shout.net>
16484
16485 * gdb.cp: New directory.
16486 * gdb.cp/*: Copy from gdb.c++/*.
16487 * gdb.c++/*: Remove.
16488 * Makefile.in: Change gdb.c++ to gdb.cp.
16489 * configure.in: Ditto.
16490 * configure: Regnerate.
16491
16492 2003-08-18 Mark Kettenis <kettenis@gnu.org>
16493
16494 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16495 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16496
16497 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16498
16499 * mi-var-display.exp (-var-list-children weird): Accept function
16500 pointers with argument types.
16501 * mi1-var-display.exp (-var-list-children weird): Likewise.
16502 * mi2-var-display.exp (-var-list-children weird): Likewise.
16503
16504 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16505
16506 * gdb.base/annota3.exp: Add missing newline.
16507
16508 2003-08-06 Michael Chastain <mec@shout.net>
16509
16510 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16511
16512 2003-08-12 Michael Snyder <msnyder@redhat.com>
16513
16514 * gdb.base/float.exp: Add test for SH.
16515
16516 2003-08-10 Mark Kettenis <kettenis@gnu.org>
16517
16518 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16519
16520 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16521
16522 * gdb.base/completion.exp: Remove reduntant completion test
16523 on filename.
16524
16525 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16526
16527 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16528 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16529 gdb.trace/save-trace.exp: Make sure that full pathnames are
16530 escaped correctly.
16531
16532 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16533
16534 * configure.in: Don't generate config.h from config.hin.
16535 * configure: Regenerate.
16536 * config.hin: Remove file.
16537 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16538 * gdb.threads/pthreads.c: Ditto.
16539
16540 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
16541
16542 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16543 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16544 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16545 Replace ld24 with seth/add3.
16546
16547 2003-08-02 Andrew Cagney <cagney@redhat.com>
16548
16549 * gdb.base/annota3.exp: New file.
16550 * gdb.base/annota3.c: New file.
16551 * gdb.c++/annota3.exp: New file.
16552 * gdb.c++/annota3.cc: New file.
16553
16554 2003-07-29 Michael Chastain <mec@shout.net>
16555
16556 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16557 actually failed.
16558 (do_pass): Likewise.
16559 * gdb.threads/tls.exp: Always initialize no_of_threads.
16560
16561 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
16562
16563 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16564 pattern.
16565 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16566 * gdb.threads/tls.exp: Recognize one case of the host library not
16567 supporting TLS.
16568
16569 2003-07-27 Andrew Cagney <cagney@redhat.com>
16570
16571 * gdb.base/fileio.exp: Use SH when running commands using
16572 remote_exec.
16573
16574 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
16575
16576 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16577 * gdb.base/relocate.c (dummy): New padding array.
16578
16579 2003-07-22 Michael Snyder <msnyder@redhat.com>
16580
16581 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
16582
16583 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16584 patterns to be more general, accepting old and new output.
16585 Some output chars (such as '+') also must be quoted.
16586 Some addresses are displayed numerically instead of
16587 symbolically.
16588
16589 2003-07-23 Michael Snyder <msnyder@redhat.com>
16590
16591 * gdb.base/return2.exp: Don't test long-long return.
16592
16593 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16594 * gdb.disasm/t01_mov.exp: Ditto.
16595 * gdb.disasm/t02_mova.s: Ditto.
16596 * gdb.disasm/t02_mova.exp: Ditto.
16597 * gdb.disasm/t03_add.s: Ditto.
16598 * gdb.disasm/t03_add.exp: Ditto.
16599 * gdb.disasm/t04_sub.s: Ditto.
16600 * gdb.disasm/t04_sub.exp: Ditto.
16601 * gdb.disasm/t05_cmp.s: Ditto.
16602 * gdb.disasm/t05_cmp.exp: Ditto.
16603 * gdb.disasm/t06_ari2.s: Ditto.
16604 * gdb.disasm/t06_ari2.exp: Ditto.
16605 * gdb.disasm/t07_ari3.s: Ditto.
16606 * gdb.disasm/t07_ari3.exp: Ditto.
16607 * gdb.disasm/t08_or.s: Ditto.
16608 * gdb.disasm/t08_or.exp: Ditto.
16609 * gdb.disasm/t09_xor.s: Ditto.
16610 * gdb.disasm/t09_xor.exp: Ditto.
16611 * gdb.disasm/t10_and.s: Ditto.
16612 * gdb.disasm/t10_and.exp: Ditto.
16613 * gdb.disasm/t11_logs.s: Ditto.
16614 * gdb.disasm/t11_logs.exp: Ditto.
16615 * gdb.disasm/t12_bit.s: Ditto.
16616 * gdb.disasm/t12_bit.exp: Ditto.
16617 * gdb.disasm/t13_otr.s: Ditto.
16618 * gdb.disasm/t13_otr.exp: Ditto.
16619
16620 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16621
16622 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16623
16624 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16625
16626 * gdb.threads/tls.c : New file.
16627 * gdb.threads/tls.exp : New file.
16628 * gdb.threads/tls-main.c : New file.
16629 * gdb.threads/tls-shared.c : New file.
16630 * gdb.threads/tls-shared.exp : New file.
16631
16632 2003-07-22 Andreas Schwab <schwab@suse.de>
16633
16634 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16635
16636 2003-07-20 Andreas Schwab <schwab@suse.de>
16637
16638 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16639 due to insn reordering.
16640
16641 2003-07-15 Andrew Cagney <cagney@redhat.com>
16642
16643 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16644
16645 2003-07-15 Michael Chastain <mec@shout.net>
16646
16647 * gdb.base/gdb1250.exp: New file.
16648 * gdb.base/gdb1250.c: New file.
16649
16650 2003-07-09 Michal Ludvig <mludvig@suse.cz>
16651
16652 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16653 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16654
16655 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16656
16657 * gdb.threads/tls.c: New file.
16658 * gdb.threads/tls.exp: New file.
16659 * gdb.threads/tls-main.c: New file.
16660 * gdb.threads/tls-shared.c: New file.
16661 * gdb.threads/tls-shared.exp: New file.
16662
16663 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16664
16665 * gdb.base/annota1.exp: Make sure that we properly escape the
16666 full path of the source file. Xfail more permissive patterns,
16667 due to a compiler debug info problem.
16668
16669 2003-07-07 Andreas Schwab <schwab@suse.de>
16670
16671 * gdb.asm/m68k.inc: New file.
16672 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16673
16674 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16675 arguments"): Also match negative number.
16676
16677 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16678
16679 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
16680
16681 * gdb.base/store.c (charest): New typedef.
16682 (add_char): Rename to add_charest, update.
16683 (wack_char): Rename to wack_charest, update types. Return l + r
16684 to keep r live across the call.
16685 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16686 (wack_double, wack_doublest): Return l + r to keep r live across
16687 the call.
16688 * gdb.base/store.exp: Accomodate store.c changes.
16689
16690 2003-06-30 David Carlton <carlton@kealia.com>
16691
16692 * gdb.c++/maint.exp (test_invalid_name): New.
16693 (test_first_component): Add tests for invalid names.
16694
16695 2003-06-29 Michael Chastain <mec@shout.net>
16696
16697 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16698 output of '<VTT for class>' for virtual base classes.
16699
16700 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16701
16702 * gdb.base/completion.exp: Tab-complete "complet" instead of
16703 "compl".
16704 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16705
16706 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16707
16708 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16709 * gdb.base/volatile.exp: Likewise.
16710
16711 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16712
16713 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16714 gdb/1265.
16715
16716 2003-06-28 Michael Chastain <mec@shout.net>
16717 Daniel Jacobowitz <drow@mvista.com>
16718
16719 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16720 initial line count of 'captured_main' from 26 to 32.
16721 (test_with_self): Allow xmalloc call to be interleaved with the
16722 preceding two lines.
16723
16724 2003-06-24 Joel Brobecker <brobecker@gnat.com>
16725
16726 * gdb.base/bang.exp: New testcase.
16727
16728 2003-06-23 Joel Brobecker <brobecker@gnat.com>
16729
16730 * gdb.base/langs.exp: Add some tests for the "minimal" language
16731 support.
16732
16733 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
16734
16735 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16736 the testcase.
16737
16738 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16739
16740 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16741 offset.
16742
16743 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16744
16745 * gdb.c++/pr-1210.cc: New file.
16746 * gdb.c++/pr-1210.exp: New file.
16747
16748 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
16749
16750 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16751 000-exec-continue.
16752
16753 2003-06-15 Mark Kettenis <kettenis@gnu.org>
16754
16755 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16756 on *-*-*bsd* instead of *-*-freebsd*.
16757
16758 2003-06-14 Andrew Cagney <cagney@redhat.com>
16759
16760 * gdb.base/store.exp: Test longest and doublest. Test all
16761 parameters. Weaken return statement match.
16762 * gdb.base/store.c: Add longest and doublest - aka long long and
16763 long double functions. Put all parameters into local register
16764 variables. Use negative values.
16765
16766 2003-06-14 Andrew Cagney <cagney@redhat.com>
16767
16768 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16769 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16770 exit status.
16771 * gdb.base/fileio.exp: Disable target when nointerrupts and
16772 noinferiorio, instead of limiting it to remote. Use remote_exec
16773 instead of system.
16774
16775 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16776
16777 * gdb.base/float.exp: Add ia64 support.
16778
16779 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
16780
16781 * gdb.base/fileio.exp: Run only on remote targets.
16782
16783 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
16784
16785 * gdb.base/fileio.c: New file, testing File-I/O.
16786 * gdb.base/fileio.exp: Ditto.
16787
16788 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16789
16790 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16791 shared objects after relocation at load time (gdb PR/1132).
16792 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16793 as above, part of the shared object relocation test.
16794
16795 2003-06-08 Mark Kettenis <kettenis@gnu.org>
16796
16797 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16798 fully filled history list.
16799 * gdb.base/gdb_history: New file.
16800
16801 * gdb.base/signals.exp: XFAIL "continue to func1" on
16802 i*86-*-freebsd*.
16803
16804 * gdb.base/attach.exp: When trying to attach to a nonexistent
16805 process, make it possible to specify the PID based on the target,
16806 and do so for *-*-freebsd*.
16807
16808 2003-06-02 Richard Henderson <rth@redhat.com>
16809
16810 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16811
16812 2003-06-02 Richard Henderson <rth@redhat.com>
16813
16814 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16815
16816 2003-06-02 Richard Henderson <rth@redhat.com>
16817
16818 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16819
16820 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
16821
16822 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16823 of globalvar.
16824
16825 2003-06-01 Mark Kettenis <kettenis@gnu.org>
16826
16827 * gdb.asm/asm-source.exp: Check for memory read errors in
16828 disassembler test on *BSD too.
16829
16830 2003-06-01 Richard Henderson <rth@redhat.com>
16831
16832 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16833 for .frame.
16834 (gdbasm_call): Lose ldgp.
16835 (gdbasm_startup): Add frame information.
16836 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16837
16838 2003-05-31 Mark Kettenis <kettenis@gnu.org>
16839
16840 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16841 i?86-*-*.
16842
16843 2003-05-30 Mark Kettenis <kettenis@gnu.org>
16844
16845 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16846 FreeBSD.
16847
16848 2003-05-29 Richard Henderson <rth@redhat.com>
16849
16850 * gdb.asm/alpha.inc: New file.
16851 * gdb.asm/asm-source.exp: Use it.
16852
16853 2003-05-29 Jim Blandy <jimb@redhat.com>
16854
16855 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16856 'core.PID'.
16857
16858 2003-05-22 Jim Blandy <jimb@redhat.com>
16859
16860 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16861 backtrace.
16862
16863 2003-05-20 David Carlton <carlton@math.stanford.edu>
16864
16865 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16866 this time.
16867
16868 2003-05-19 David Carlton <carlton@bactrian.org>
16869
16870 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16871 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16872
16873 2003-05-19 David Carlton <carlton@bactrian.org>
16874
16875 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16876 namespace tests.
16877 Bump copyright date.
16878 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16879 (main): Call C::D::marker2.
16880 * gdb.c++/namespace1.cc: New file.
16881
16882 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16883
16884 Roland McGrath <roland@redhat.com>
16885 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16886 there is no manager thread.
16887
16888 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16889
16890 * gdb.threads/schedlock.exp: Remove assumption that all threads
16891 will run in a particular small time slice. Also ensure we break
16892 in one of the child threads rather than the main thread.
16893
16894 2003-05-07 Jim Blandy <jimb@redhat.com>
16895
16896 Add support for assembly source testing on the s390x.
16897 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16898 architecture.
16899 * gdb.asm/s390x.inc: New file.
16900
16901 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16902 succession of 'if' statements.
16903
16904 2003-05-05 Andrew Cagney <cagney@redhat.com>
16905
16906 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16907
16908 2003-05-05 Andrew Cagney <cagney@redhat.com>
16909
16910 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16911 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16912
16913 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
16914
16915 * gdb.base/charset.exp: Update based on new behavior of set/show
16916 charset commands.
16917
16918 2003-05-01 Andrew Cagney <cagney@redhat.com>
16919
16920 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16921 variable do not give memory errors.
16922
16923 2003-04-30 Adam Fedor <fedor@gnu.org>
16924
16925 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16926 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16927 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16928 gdb.objc/basicclass.m: : New files
16929
16930 * lib/gdb.exp (gdb_compile_objc): New procedure.
16931
16932 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
16933
16934 * gdb.base/signals.exp: Make backtrace tests more specific.
16935
16936 2003-04-23 David Carlton <carlton@bactrian.org>
16937
16938 * gdb.c++/maint.exp (test_first_component): Add tests for
16939 'operator' in more locations.
16940
16941 2003-04-16 Kevin Buettner <kevinb@redhat.com>
16942
16943 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16944
16945 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
16946
16947 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16948 func marke' instead. Update test name.
16949
16950 2003-04-15 David Carlton <carlton@math.stanford.edu>
16951
16952 * gdb.c++/maint.exp: New file.
16953
16954 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16955
16956 * gdb.threads/schedlock.c: Change type of thread function argument
16957 to long, to avoid warnings on 64-bit platforms.
16958
16959 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16960
16961 * gdb.base/attach.exp: Add new message from ptrace in case of
16962 attaching to nonexistent process.
16963
16964 2003-04-11 Jim Blandy <jimb@redhat.com>
16965
16966 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16967 gdb.c++/userdef.cc: Place comments on the lines to which the
16968 marker function might return.
16969 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16970 gdb.c++/userdef.exp: Look for those comments to check that we've
16971 returned to the right place, instead of checking line numbers.
16972
16973 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
16974
16975 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16976 match on sourcefile name, instead of directory name.
16977
16978 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
16979
16980 * gdb.base/completion.exp: Use string_to_regexp to match the
16981 working directory name.
16982
16983 2003-04-09 Jim Blandy <jimb@redhat.com>
16984
16985 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16986 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16987 after an inferior function call, report the failure, but allow the
16988 test to continue.
16989
16990 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16991
16992 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16993 with -DPROTOTYPES.
16994
16995 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16996
16997 * gdb.base/break.exp: Revert last patch.
16998
16999 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
17000
17001 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
17002 with -DPROTOTYPES.
17003
17004 2003-04-02 Andrew Cagney <cagney@redhat.com>
17005
17006 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17007 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17008 matching directories by the name breakpoint.
17009 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17010 Make "continue to marker1" consistent.
17011 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17012 message consistent.
17013 * lib/gdb.exp: Put "the program is no longer running", and "the
17014 program exited" in parenthesis.
17015 * lib/mi-support.exp: Ditto.
17016
17017 2003-04-02 Bob Rossi <bob_rossi@cox.net>
17018
17019 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17020
17021 2003-03-29 Andrew Cagney <cagney@redhat.com>
17022
17023 * gdb.base/sizeof.c (main): Print the value of '\377'.
17024 * gdb.base/sizeof.exp: Check the sign of '\377'.
17025
17026 2003-03-27 Michael Chastain <mec@shout.net>
17027
17028 * gdb.base/gdb1090.exp: New file.
17029 * gdb.base/gdb1090.cc: New file.
17030
17031 2003-03-27 J. Brobecker <brobecker@gnat.com>
17032
17033 * gdb.gdb/observer.exp: New regression test.
17034
17035 2003-03-27 Michael Chastain <mec@shout.net>
17036
17037 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17038 * gdb.base/ptype.exp: Likewise.
17039
17040 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
17041
17042 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17043
17044 2003-03-26 Michael Chastain <mec@shout.net>
17045
17046 * gdb.base/ptype.exp: Actually use some typedef'd types.
17047
17048 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17049
17050 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17051 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17052
17053 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17054
17055 * gdb.base/default.exp: Fix regular expression.
17056
17057 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17058
17059 * gdb.base/args.exp: Fix regular expression.
17060
17061 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17062
17063 * gdb.base/help.exp: Allow Win32 child process.
17064
17065 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17066
17067 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17068 when stepping out of main().
17069
17070 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17071
17072 * gdb.base/default.exp: Check for win32 specific message when calling
17073 "run" without executable.
17074
17075 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17076
17077 * gdb.base/args.exp: Expect .exe in output.
17078
17079 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17080
17081 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17082 Cygwin native.
17083
17084 2003-03-17 Andrew Cagney <cagney@redhat.com>
17085
17086 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17087 vector registes.
17088 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17089 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17090
17091 2003-03-17 David Carlton <carlton@math.stanford.edu>
17092
17093 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17094 test, for PR breakpoints/38.
17095 Call test_watchpoint_and_breakpoint.
17096 * gdb.base/watchpoint.c (func3): New function.
17097 (main): Call func3.
17098
17099 2003-03-04 David Carlton <carlton@math.stanford.edu>
17100
17101 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17102 Garply<Garply<char> >:: garply".
17103 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17104 with respect to PR c++/1111; note also PR c++/1113.
17105 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17106 respect to PR c++/1062.
17107 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17108
17109 2003-03-03 David Carlton <carlton@math.stanford.edu>
17110
17111 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17112 with respect to PR c++/57.
17113 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17114 c++/826.
17115 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17116 respect to PR c++/57.
17117
17118 2003-03-03 David Carlton <carlton@math.stanford.edu>
17119
17120 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17121 respect to PR c++/33 into FAILs.
17122
17123 2003-03-03 Michael Chastain <mec@shout.net>
17124
17125 * configure.in: Update copyright years.
17126
17127 2003-03-03 Michael Chastain <mec@shout.net>
17128
17129 * Makefile.in: Update copyright years.
17130
17131 2003-02-28 David Carlton <carlton@math.stanford.edu>
17132
17133 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17134 print class instead of struct and/or superfluous protection
17135 specifiers, as long as the resulting output is equivalent to the
17136 source code.
17137 Delete FIXME from end of messages on tests that don't need
17138 fixing.
17139
17140 2003-02-28 David Carlton <carlton@math.stanford.edu>
17141
17142 * gdb.c++/templates.exp (do_tests): Allow const in the two
17143 Foo<volatile char *>::foo tests.
17144
17145 2003-02-27 Michael Snyder <msnyder@redhat.com>
17146
17147 * gdb.base/restore.c (main): Return zero, so exit code
17148 will be consistant.
17149
17150 2003-02-26 David Carlton <carlton@math.stanford.edu>
17151
17152 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17153 char *>::foo" test with respect to PR c++/33. Create a new test
17154 which is identical to that one except that it doesn't put the
17155 space between the "char" and the "*"; KFAIL it, too.
17156
17157 2003-02-26 David Carlton <carlton@math.stanford.edu>
17158
17159 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17160 template types into either PASSes or KFAILs (corresponding to PR
17161 c++/57). Tweak indentation. Update copyright.
17162
17163 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17164
17165 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17166
17167 2003-02-13 Michael Chastain <mec@shout.net>
17168
17169 * gdb.base/exprs.exp: Remove i960 remnants.
17170 * gdb.base/funcargs.exp: Likewise.
17171 * gdb.base/list.exp: Likewise.
17172 * gdb.base/ptype.exp: Likewise.
17173
17174 2003-02-14 David Carlton <carlton@math.stanford.edu>
17175
17176 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17177 pEe->D::vg()" from XFAIL to KFAIL.
17178
17179 2003-02-13 Jason Molenda (jmolenda@apple.com)
17180
17181 * gdb.base/maint.exp: Update maint print statistics regexp to include
17182 new entries.
17183
17184 2003-02-13 Michael Chastain <mec@shout.net>
17185
17186 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17187
17188 2003-02-12 Michael Chastain <mec@shout.net>
17189
17190 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17191 * gdb.c++/inherit.exp: Likewise.
17192 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17193 * gdb.c++/templates.exp: Likewise.
17194 * gdb.c++/virtfunc.exp: Likewise.
17195
17196 2003-02-06 Jason Molenda (jason-cl@molenda.com)
17197
17198 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17199 why the code is written that way.
17200
17201 2003-02-05 Michael Chastain <mec@shout.net>
17202
17203 * gdb.base/dump.exp: Add missing copyright line.
17204
17205 2003-02-05 Jason Molenda (jason-cl@molenda.com)
17206
17207 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
17208 at the beginning so the breakpoint doesn't get set on the loop.
17209
17210 2003-02-05 Michael Chastain <mec@shout.net>
17211
17212 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17213 output for configurations with gcc 2.95.3.
17214
17215 2003-02-05 Keith Seitz <keiths@redhat.com>
17216 Andrew Cagney <ac131313@redhat.com>
17217
17218 * gdb.mi/mi-cli.exp: New file.
17219
17220 2003-02-04 Michael Chastain <mec@shout.net>
17221
17222 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17223 Call perror and then continue.
17224
17225 2003-02-03 Michael Chastain <mec@shout.net>
17226
17227 * gdb.c++/pr-1023.cc: New file.
17228 * gdb.c++/pr-1023.exp: New file.
17229
17230 2003-02-05 Jim Blandy <jimb@redhat.com>
17231
17232 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17233 it's local to foobar. Check for it there, and check that it's not
17234 present in main.
17235 * gdb.c++/local.cc (marker2): New function.
17236 (foobar): Call marker1.
17237 (main): Call marker2 instead of marker1.
17238
17239 2003-02-04 Andrew Cagney <ac131313@redhat.com>
17240
17241 * gdb.disasm/mn10200.exp: Obsolete file.
17242 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17243 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17244 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17245
17246 2003-02-04 David Carlton <carlton@math.stanford.edu>
17247
17248 * gdb.c++/overload.exp: Test intToChar(1).
17249 * gdb.c++/overload.cc (intToChar): New.
17250 (main): Call intToChar.
17251
17252 2003-02-03 David Carlton <carlton@math.stanford.edu>
17253
17254 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17255 'might_kfail' arg.
17256 KFAIL some of the continue_to_bp_overloaded calls, according to
17257 PR c++/1025.
17258
17259 2003-02-01 Michael Chastain <mec@shout.net>
17260
17261 * gdb.base/advance.c (marker1): New marker function.
17262 * gdb.base/advance.exp: When the 'advance' command lands on the
17263 return breakpoint, it can legitimately stop on either the
17264 current line or the next line. Accommodate both outcomes.
17265 * gdb.base/until.exp: Likewise.
17266
17267 2003-02-02 Andrew Cagney <ac131313@redhat.com>
17268
17269 2002-11-10 Jason Molenda (jason-cl@molenda.com):
17270 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17271 now a list, not a tuple.
17272 * gdb.mi/mi-var-display.exp: Ditto.
17273 * gdb.mi/gdb792.exp: Ditto.
17274
17275 2003-02-01 Andrew Cagney <ac131313@redhat.com>
17276
17277 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
17278 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17279 stack backtraces.
17280 * gdb.mi/mi-syn-frame.c: Part of same.
17281
17282 2003-02-01 Mark Kettenis <kettenis@gnu.org>
17283
17284 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17285 gdb.mi/mi1-pthreads.exp: Return instead of calling
17286 gdb_suppress_entire_file.
17287
17288 2003-02-01 Mark Salter <msalter@redhat.com>
17289
17290 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17291
17292 2003-01-31 Mark Salter <msalter@redhat.com>
17293
17294 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17295 Support empty arg.
17296
17297 2003-01-30 Michael Chastain <mec@shout.net>
17298
17299 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17300 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17301 has been fixed in gdb/readline on 2003-01-09.
17302
17303 2003-01-29 Michael Snyder <msnyder@redhat.com>
17304
17305 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17306 * gdb.base/display.exp: Allow for leading underscore in symbol.
17307 * gdb.base/args.exp: Skip if target does not support args passing.
17308
17309 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
17310
17311 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
17312 gdb_test. Accept a list of expect arguments as the third
17313 parameter.
17314 (gdb_test): Use it.
17315
17316 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
17317
17318 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17319 allow for different test tree configurations. Update some
17320 tescases accordingly.
17321 * gdb.arch/altivec-regs.exp: Ditto.
17322 * gdb.asm/asm-source.exp: Ditto.
17323 * gdb.base/advance.exp: Ditto.
17324 * gdb.base/display.exp: Ditto.
17325 * gdb.base/long_long.exp: Ditto.
17326 * gdb.base/mips_pro.exp: Ditto.
17327 * gdb.base/overlays.exp: Ditto.
17328 * gdb.base/relocate.exp: Ditto.
17329 * gdb.base/setshow.exp: Ditto.
17330 * gdb.base/step-line.exp: Ditto.
17331 * gdb.base/step-test.exp: Ditto.
17332 * gdb.base/until.exp: Ditto.
17333 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17334
17335 2003-01-17 David Carlton <carlton@math.stanford.edu>
17336
17337 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17338 corresponding to PR c++/945.
17339 Update copyright.
17340
17341 2003-01-17 David Carlton <carlton@math.stanford.edu>
17342
17343 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17344 corresponding to PR c++/68.
17345
17346 2003-01-17 David Carlton <carlton@math.stanford.edu>
17347
17348 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17349 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17350 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17351
17352 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17353
17354 * gdb.base/break.exp: Fix change of default location, because of
17355 removal of until tests.
17356 * gdb.base/help.exp: Update test for new 'until' help message.
17357 Add test for help on 'advance'.
17358 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
17359
17360 2003-01-15 Mark Kettenis <kettenis@gnu.org>
17361
17362 * gdb.base/default.exp: Adapt "info float" test for recent changes
17363 to that command. Add test for "info vector".
17364 * gdb.base/float.exp: New file. Add test for "info float" that
17365 resembles the old test in gdb.base/default.exp.
17366
17367 2003-01-15 David Carlton <carlton@math.stanford.edu>
17368
17369 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17370
17371 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17372
17373 * gdb.base/break.exp: Move the tests of until command from here...
17374 * gdb.base/until.exp: ... to here. New file. Add other tests.
17375 * gdb.base/advance.c: New file.
17376 * gdb.base/advance.exp: New file.
17377
17378 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
17379
17380 * gdb.base/args.c: New file.
17381 * gdb.base/args.exp: New file.
17382
17383 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17384
17385 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17386
17387 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17388
17389 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17390
17391 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17392
17393 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17394 dates.
17395
17396 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17397
17398 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17399
17400 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17401
17402 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17403 (ptype &*"foo").
17404 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17405
17406 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17407
17408 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17409 * gdb.mi/mi1-console.exp: Likewise.
17410
17411 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17412
17413 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17414 * gdb.mi/mi1-console.exp: Likewise.
17415
17416 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17417
17418 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17419
17420 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17421
17422 * gdb.base/detach.exp: New test.
17423
17424 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17425
17426 * Makefile.in (ALL_SUBDIRS): New variable.
17427 (subdirs, clean, distclean): Use it.
17428 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17429 regenerating Makefile, since it is generated from the top level.
17430 * gdb.asm/Makefile.in: Likewise.
17431 * gdb.base/Makefile.in: Likewise.
17432 * gdb.c++/Makefile.in: Likewise.
17433 * gdb.disasm/Makefile.in: Likewise.
17434 * gdb.java/Makefile.in: Likewise.
17435 * gdb.mi/Makefile.in: Likewise.
17436 * gdb.threads/Makefile.in: Likewise.
17437 * gdb.trace/Makefile.in: Likewise.
17438
17439 2003-01-09 David Carlton <carlton@math.stanford.edu>
17440
17441 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17442 Add copyright year 2003.
17443
17444 2003-01-06 Michael Chastain <mec@shout.net>
17445
17446 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17447 When selecting a thread, 'line' and 'file' are optional.
17448 * gdb.mi/mi1-pthreads.exp: Likewise.
17449
17450 2003-01-06 Andreas Schwab <schwab@suse.de>
17451
17452 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17453 failures.
17454
17455 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17456
17457 Fix PR gdb/844
17458 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17459 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17460
17461 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17462 instead of calling gdb_suppress_entire_file.
17463 * gdb.threads/print-threads.exp: Likewise.
17464 * gdb.threads/schedlock.exp: Likewise.
17465
17466 * gdb.threads/killed.exp: Return instead of calling
17467 gdb_suppress_entire_file.
17468 * gdb.threads/linux-dp.exp: Likewise.
17469 * gdb.threads/pthreads.exp: Likewise.
17470
17471 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17472
17473 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17474 stabs.
17475 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17476 * gdb.base/whatis.exp: Always allow (void) after function names.
17477
17478 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17479
17480 * gdb.c++/casts.exp: Correct regexp.
17481
17482 2003-01-04 Mark Kettenis <kettenis@gnu.org>
17483
17484 * configure.in: Call AC_CONFIG_HEADER. Don't call
17485 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17486 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17487 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17488 aforementioned directories in the AC_OUPUT call.
17489 * config.hin: New file.
17490 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17491 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17492 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17493 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17494 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17495 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17496 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17497 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17498 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17499 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17500 gdb.threads/configure.in, gdb.threads/configure,
17501 gdb.threads/config.in, gdb.trace/configure.in,
17502 gdb.trace/configure: Removed.
17503
17504 2003-01-03 Michael Chastain <mec@shout.net>
17505
17506 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17507 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17508
17509 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
17510
17511 * gdb.base/store.exp: Fix regular expressions.
17512
17513 2002-12-28 Mark Kettenis <kettenis@gnu.org>
17514
17515 * configure.in: Rewrite.
17516 * configure: Regenerated.
17517
17518 2003-01-03 David Carlton <carlton@math.stanford.edu>
17519
17520 * gdb.base/psymtab.exp: New file.
17521 * gdb.base/psymtab1.c: Ditto.
17522 * gdb.base/psymtab2.c: Ditto.
17523
17524 2002-12-23 Adam Fedor <fedor@gnu.org>
17525
17526 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17527
17528 2002-12-23 David Carlton <carlton@math.stanford.edu>
17529
17530 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17531 and current_directory initialization.
17532
17533 2002-12-22 Jim Blandy <jimb@redhat.com>
17534
17535 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17536 rather than as part of the output file name.
17537
17538 * gdb.base/attach.exp: There's no need to copy the test program to
17539 /tmp; that was only ever necessary on HP/UX, and this test is
17540 entirely disabled there anyway.
17541
17542 2002-12-21 Jim Blandy <jimb@redhat.com>
17543
17544 * gdb.c++/psmang.exp: Doc fix.
17545
17546 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17547 test.
17548
17549 2002-12-20 David Carlton <carlton@math.stanford.edu>
17550
17551 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17552
17553 2002-12-18 Michael Chastain <mec@shout.net>
17554
17555 * gdb.c++/annota2.exp: Add copyright year 2002.
17556
17557 2002-12-17 David Carlton <carlton@math.stanford.edu>
17558
17559 * gdb.c++/try_catch.cc: Add marker comments.
17560 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17561 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17562 * gdb.c++/m-static.cc: Ditto.
17563 * gdb.c++/m-static1.cc: Ditto.
17564 * gdb.c++/try_catch.cc: Ditto.
17565
17566 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17567
17568 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17569 to see whether we are using the new -environment-directory
17570 command which resets via -r or the old version of the command
17571 which may prompt the user. Part of fix for gdb/741.
17572
17573 2002-12-13 Andrew Cagney <ac131313@redhat.com>
17574
17575 * gdb.fortran/types.exp: Update obsolete comment.
17576 * gdb.fortran/exprs.exp: Ditto.
17577 * lib/gdb.exp: Delete obsolete code.
17578 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17579 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17580 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17581 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17582 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17583 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17584 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17585 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17586 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17587 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17588 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17589 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17590 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17591 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17592 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17593 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17594 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17595 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17596 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17597 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17598 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17599 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17600 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17601 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17602 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17603 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17604 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17605 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17606 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17607 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17608 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17609 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17610 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17611 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17612 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17613 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17614 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17615
17616 2002-12-11 David Carlton <carlton@math.stanford.edu>
17617
17618 * gdb.c++/m-data.exp: Add test for members that shadow global
17619 variables: see PR gdb/804.
17620 * gdb.c++/m-data.cc: Ditto.
17621
17622 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
17623
17624 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17625
17626 2002-12-06 David Carlton <carlton@math.stanford.edu>
17627
17628 * gdb.base/store.c: Don't declare functions static.
17629
17630 2002-12-04 Andrew Cagney <ac131313@redhat.com>
17631
17632 * gdb.base/store.exp, gdb.base/store.c: New files.
17633
17634 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17635
17636 * gdb.base/selftest.exp: Update for current gdb.
17637
17638 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17639
17640 * gdb.base/maint.exp: Only dump symbols from one source file
17641 or objfile.
17642
17643 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17644
17645 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17646 function call.
17647
17648 2002-11-25 Jim Blandy <jimb@redhat.com>
17649
17650 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17651 function appearing in error message.
17652
17653 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
17654
17655 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17656
17657 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17658
17659 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17660 for mi1 and current mi is in correct format. New mi startup message
17661 should be in mi console format. This is part of fix for PR gdb/604.
17662
17663 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17664
17665 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17666 which explicitly prints the zero offset as "+0".
17667
17668 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
17669
17670 * gdb.threads/schedlock.c (args): Make unsigned.
17671
17672 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
17673
17674 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17675 numbers. Allow "foo2|selected stack frame".
17676 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17677 * gdb.asm/asmsrc2.s: Likewise.
17678 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17679 comments.
17680 * gdb.asm/mips.inc: New file.
17681
17682 2002-10-18 Adam Fedor <fedor@gnu.org>
17683
17684 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17685 * gdb.base/help.exp: Likewise.
17686
17687 2002-10-17 Kevin Buettner <kevinb@redhat.com>
17688
17689 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17690 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17691
17692 2002-10-02 Jim Blandy <jimb@redhat.com>
17693
17694 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17695
17696 2002-10-01 Andrew Cagney <ac131313@redhat.com>
17697
17698 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17699 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17700 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17701 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17702 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17703 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17704 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17705
17706 2002-09-29 Andrew Cagney <ac131313@redhat.com>
17707
17708 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17709 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17710 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17711 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17712 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17713 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17714 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17715
17716 2002-09-27 Kevin Buettner <kevinb@redhat.com>
17717
17718 * gdb.base/annota1.exp (info break): Make directory components of
17719 path optional since not all compilers emit this debug information.
17720
17721 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17722 step ends up stepping out of the function instead of stopping on
17723 the epilogue.
17724
17725 2002-09-26 Keith Seitz <keiths@redhat.com>
17726
17727 * lib/insight-support.exp (gdbtk_start): Figure out where
17728 the insight executable is based on where gdb is. Use this
17729 executable to start insight instead of gdb.
17730
17731 2002-09-25 Andrew Cagney <cagney@redhat.com>
17732
17733 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17734
17735 2002-09-24 Andrew Cagney <ac131313@redhat.com>
17736
17737 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17738 test_isolated_complaints.
17739 (test_empty_complaint): New function.
17740 (test_empty_complaints): New function. Check no output when no
17741 complaints.
17742
17743 2002-09-19 Jim Blandy <jimb@redhat.com>
17744
17745 * gdb.base/charset.exp, gdb.base/charset.c: New files.
17746
17747 2002-09-19 Andrew Cagney <ac131313@redhat.com>
17748
17749 * gdb.gdb/complaints.exp: New file.
17750
17751 2002-09-18 Andrew Cagney <ac131313@redhat.com>
17752
17753 * gdb.base/maint.exp: Check `help maint internal-warning'.
17754
17755 2002-09-18 David Carlton <carlton@math.stanford.edu>
17756
17757 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17758 numbers, and replace them by a single breakpoint after the
17759 constructors are all finished.
17760 Add test 4.
17761 * gdb.c++/m-static.cc: Add test 4.
17762 * gdb.c++/m-static.h: New file.
17763 * gdb.c++/m-static1.cc: New file.
17764
17765 * gdb.c++/printmethod.exp: New file.
17766 * gdb.c++/printmethod.cc: New file.
17767
17768 * gdb.c++/pr-574.exp: New file.
17769 * gdb.c++/pr-574.cc: New file.
17770
17771 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17772
17773 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17774 embedded targets which never actually exit.
17775
17776 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17777
17778 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17779 "don't step after run" as unresolved or unsupported, instead of xfail.
17780
17781 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17782
17783 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17784 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17785 Add newline to expected string in "step out of main (status wrapper)"
17786 case.
17787
17788 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17789
17790 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17791 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17792
17793 2002-09-17 Tom Tromey <tromey@redhat.com>
17794
17795 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17796 \000, not \0, in double-quoted string.
17797
17798 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
17799
17800 * gdb.base/commands.exp: Don't expect a "Program exited normally"
17801 string after running the commands execution on breakpoint tests.
17802
17803 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
17804
17805 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17806
17807 2002-09-12 Joel Brobecker <brobecker@gnat.com>
17808
17809 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17810
17811 2002-09-10 Keith Seitz <keiths@redhat.com>
17812
17813 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17814 runto proc.
17815 (mi_run_to_main): Use mi_runto.
17816 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17817
17818 2002-09-10 Keith Seitz <keiths@redhat.com>
17819
17820 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17821 regexp for stopping at main. Could have multiple event notifications.
17822 Don't assume that main was declared with no parameters.
17823 (mi_next): Use mi_step_to.
17824 (mi_step): Use mi_next_to.
17825
17826 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
17827
17828 * gdb.base/default.exp: Fix expected string in `info float' test.
17829
17830 2002-09-09 Ben Elliston <bje@redhat.com>
17831
17832 * config/mips.exp: Update comments.
17833 * config/mips-idt.exp: Likewise.
17834 * config/nind.exp: Likewise.
17835 * config/slite.exp: Likewise.
17836 * config/sparclet.exp: Likewise.
17837 * config/udi.exp: Likewise.
17838 * config/vx.exp: Likewise.
17839 * config/vxworks29k.exp: Likewise.
17840
17841 2002-09-05 Jim Blandy <jimb@redhat.com>
17842
17843 * gdb.threads/killed.exp: Fix test failure message.
17844
17845 2002-09-04 Keith Seitz <keiths@redhat.com>
17846
17847 * lib/mi-support.exp: Update copyright.
17848 (mi_gdb_test): Increase the priority of the expected pattern
17849 so that it matches gdb_test.
17850
17851 2002-09-03 Keith Seitz <keiths@redhat.com>
17852
17853 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17854 Use integer comparison instead of string comparison for testing
17855 whether binary was built.
17856
17857 2002-09-03 Jim Blandy <jimb@redhat.com>
17858
17859 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17860
17861 2002-08-29 Jim Blandy <jimb@redhat.com>
17862
17863 * gdb.threads/pthreads.exp: Move the portable thread compilation
17864 code into a function in lib/gdb.exp, and call that from here.
17865 * lib/gdb.exp (gdb_compile_pthreads): New function.
17866
17867 2002-08-29 Keith Seitz <keiths@redhat.com>
17868
17869 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17870 expect_out so that callers can get at it.
17871
17872 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
17873
17874 * gdb.threads/print-threads.c: New file.
17875 * gdb.threads/print-threads.exp: New file.
17876 * gdb.threads/schedlock.c: New file.
17877 * gdb.threads/schedlock.exp: New file.
17878
17879 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
17880
17881 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17882 not altivec.c.
17883
17884 2002-08-17 Mark Kettenis <kettenis@gnu.org>
17885
17886 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17887 targets. The problem should be fixed now.
17888
17889 2002-08-15 Mark Kettenis <kettenis@gnu.org>
17890
17891 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17892 2002-07-24 change that removes final dots from error messages.
17893
17894 2002-08-13 Tom Tromey <tromey@redhat.com>
17895
17896 * gdb.base/readline.exp: New file.
17897
17898 2002-08-01 Andrew Cagney <ac131313@redhat.com>
17899
17900 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17901 supress message.
17902
17903 2002-08-01 Andrew Cagney <cagney@redhat.com>
17904
17905 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17906 CHILL_FOR_TARGET and CHILL_LIB.
17907 * configure.in (configdirs): Remove gdb.chill.
17908 * configure: Regenerate.
17909 * lib/gdb.exp: Obsolete references to chill.
17910 * gdb.fortran/types.exp: Ditto.
17911 * gdb.fortran/exprs.exp: Ditto.
17912
17913 2002-07-30 Kevin Buettner <kevinb@redhat.com>
17914
17915 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17916 set Irix-specific compile and link flags.
17917
17918 2002-07-29 Kevin Buettner <kevinb@redhat.com>
17919
17920 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17921 source files. The ``-o'' option doesn't work with the ``-E'' option
17922 when using the Irix compiler.
17923
17924 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
17925
17926 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17927 Improve support for reusing an exec file. Copy exec file
17928 to target, and run gdbserver on the target instead of on the host.
17929
17930 2002-07-18 Jim Blandy <jimb@redhat.com>
17931
17932 * gdb.base/ending-run.exp: Don't expect to see the program end in
17933 some orderly fashion when we're running on a real stand-alone
17934 board.
17935
17936 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17937 targets that don't support interrupts.
17938
17939 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17940
17941 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17942 systems.
17943 Move comments in expect statements to inside the actions, so that they
17944 don't get matched against.
17945
17946 2002-07-10 Mark Kettenis <kettenis@gnu.org>
17947
17948 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17949 function when asleep" test.
17950
17951 2002-07-10 Andrew Cagney <ac131313@redhat.com>
17952
17953 * gdb.base/page.exp: Rewrite to handle problems with very long
17954 `info set' output. Update copyright.
17955
17956 2002-06-26 Andrew Cagney <ac131313@redhat.com>
17957
17958 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17959 gdb.threads-hp.
17960 * gdb.hp/configure: Regenerate.
17961 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17962 * gdb.hp/gdb.threads-hp/configure: Delete file.
17963 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17964
17965 2002-06-22 Andrew Cagney <ac131313@redhat.com>
17966
17967 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17968 setlocale, bindtextdomain and textdomain.
17969
17970 2002-06-11 Jim Blandy <jimb@redhat.com>
17971
17972 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17973 preprocessor macro information is present.
17974
17975 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17976 tests.
17977
17978 2002-06-06 Michael Snyder <msnyder@redhat.com>
17979
17980 * gdb.base/overlays.exp: Record addresses of overlay
17981 functions in TCL variables rather than in GDB variables,
17982 to avoid having GDB convert them to pointers (with loss
17983 of information).
17984
17985 * gdb.base/d10v.ld: Merge in several years worth of
17986 default linker script changes.
17987 * gdb.base/long_long.exp: Add check for sizeof (long double).
17988
17989 2002-06-06 Michal Ludvig <mludvig@suse.cz>
17990
17991 * gdb.asm/asm-source.exp: Add x86-64 target.
17992 * gdb.asm/x86_64.inc: New.
17993
17994 2002-05-30 Michael Chastain <mec@shout.net>
17995
17996 From Benjamin Kosnik <bkoz@redhat.com>:
17997 * gdb.c++/m-static.cc: New file.
17998 * gdb.c++/m-static.exp: New file.
17999
18000 2002-05-28 Michael Snyder <msnyder@redhat.com>
18001
18002 * gdb.base/call-ar-st.exp: Allow for reduced floating point
18003 precision.
18004
18005 2002-05-27 Michael Chastain <mec@shout.net>
18006
18007 From Benjamin Kosnik <bkoz@redhat.com>:
18008 * gdb.c++/m-data.cc: New file.
18009 * gdb.c++/m-data.exp: New file.
18010
18011 2002-05-27 Michael Chastain <mec@shout.net>
18012
18013 From Benjamin Kosnik <bkoz@redhat.com>:
18014 * gdb.c++/try_catch.cc: New file.
18015 * gdb.c++/try_catch.exp: New file.
18016
18017 2002-05-27 Michael Chastain <mec@shout.net>
18018
18019 * gdb.c++/local.exp: Accept more nested types in output.
18020
18021 2002-05-26 Michael Chastain <mec@shout.net>
18022
18023 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18024
18025 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18026
18027 * lib/gdb.exp (gdb_wrapper_init): Just because
18028 gdb_wrapper_file exists, this does not mean that the file
18029 should not be rebuilt. That is what gdb_wrapper_initialized
18030 is for.
18031 (default_gdb_init): Reset gdb_wrapper_initialized.
18032
18033 2002-05-23 Michael Snyder <msnyder@redhat.com>
18034
18035 * gdb.base/all-bin.exp: Revise previous patch by just reducing
18036 the precision of the floating point test results.
18037 * gdb.base/call-rt-st.exp: Ditto.
18038
18039 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18040 * gdb.base/call-rt-st.exp: Ditto.
18041
18042 2002-05-19 Michael Chastain <mec@shout.net>
18043
18044 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18045
18046 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
18047
18048 * configure.in (configdirs): Add gdb.arch.
18049 * configure: Regenerate.
18050
18051 2002-05-17 Jim Blandy <jimb@redhat.com>
18052
18053 * gdb.base/completion.exp: Recognize the more detailed error
18054 messages produced by the macro expander's lexical analyzer.
18055
18056 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
18057
18058 * gdb.arch/altivec-abi.c: New file.
18059 * gdb.arch/altivec-abi.exp: New file.
18060 * gdb.arch/altivec-regs.c: New file.
18061 * gdb.arch/altivec-regs.exp: New file.
18062
18063 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
18064
18065 * gdb.base/maint.exp (maint print type): Update for new type
18066 structure.
18067
18068 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
18069
18070 * gdb.arch: New directory.
18071 * gdb.arch/configure.in: New file.
18072 * gdb.arch/configure: New file.
18073 * gdb.arch/Makefile.in: New file.
18074
18075 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
18076
18077 * gdb.asm/asm-source.exp: Add v850 as supported target.
18078 * gdb.asm/v850.inc: New file.
18079
18080 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
18081
18082 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18083
18084 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
18085
18086 * gdb.base/break.exp: Check 'break "marker2"'.
18087
18088 2002-05-10 Michael Snyder <msnyder@redhat.com>
18089
18090 * gdb.base/long_long.exp: Fix typo.
18091
18092 2002-05-10 Jim Blandy <jimb@redhat.com>
18093
18094 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18095 a bug.
18096
18097 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18098 Recognize more detailed error message produced by the macro
18099 expander's lexical analyzer.
18100 * lib/gdb.exp (test_print_reject): Same.
18101
18102 2002-05-09 Mark Kettenis <kettenis@gnu.org>
18103
18104 * gdb.c++/method.exp: Fix typo.
18105
18106 2002-05-08 Michael Snyder <msnyder@redhat.com>
18107
18108 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18109 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
18110 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
18111 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18112 Add iftarget clause for strongarm.
18113
18114 2002-05-06 Michael Snyder <msnyder@redhat.com>
18115
18116 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18117 (gdb_continue_to_end): Accept output from status wrapper.
18118 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18119 Clean up fail messages to match pass messages.
18120
18121 Enable the "needs_status_wrapper" testsuite feature.
18122 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18123 (gdb_compile): Conditionally call gdb_wrapper_init.
18124 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18125 * gdb.c++/method.exp: Recognize output from status wrapper.
18126
18127 2002-05-06 Ben Elliston <bje@redhat.com>
18128 From Graydon Hoare <graydon@redhat.com>
18129
18130 * config/sid.exp: Include support for "rawsid" protocol.
18131
18132 2002-05-03 Jim Blandy <jimb@redhat.com>
18133
18134 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18135 * gdb.c++/hang3.C: New file.
18136
18137 2002-05-04 Andrew Cagney <ac131313@redhat.com>
18138
18139 * gdb.base/default.exp: Remove obsolete code.
18140 * gdb.c++/misc.exp: Ditto. Update copyright.
18141 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18142 * gdb.base/whatis.exp: Ditto. Update copyright.
18143 * gdb.base/scope.exp: Ditto. Update copyright.
18144 * gdb.base/ptype.exp: Ditto. Update copyright.
18145 * gdb.base/printcmds.exp: Ditto. Update copyright.
18146 * gdb.base/opaque.exp: Ditto. Update copyright.
18147 * gdb.base/list.exp: Ditto.
18148 * gdb.base/funcargs.exp: Ditto. Update copyright.
18149 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18150 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18151 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18152 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18153 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18154 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18155
18156 2002-05-02 Michael Snyder <msnyder@redhat.com>
18157
18158 * gdb.base/watchpoint.exp: Add xscale target.
18159 * gdb.base/long_long.exp: Add xscale target.
18160 * gdb.base/default.exp: Add xscale target.
18161
18162 2002-05-01 Jim Blandy <jimb@redhat.com>
18163
18164 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18165 gdb.c++/hang.exp: New test.
18166
18167 2002-05-01 Fred Fish <fnf@redhat.com>
18168
18169 * gdb.base/completion.exp: Handle completions of "./Make" for
18170 more than one completion possibility, as is the case when we
18171 build and test in the source tree.
18172
18173 2002-04-29 Anthony Green <green@redhat.com>
18174
18175 * gdb.java/jmisc1.exp: New file.
18176 * gdb.java/jmisc2.exp: New file.
18177
18178 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
18179
18180 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18181
18182 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
18183
18184 * gdb.base/help.exp: Change 'help status' to allow for target
18185 dependent output differences.
18186
18187 2002-04-22 Michael Chastain <mec@shout.net>
18188
18189 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18190
18191 2002-04-22 Michael Chastain <mec@shout.net>
18192
18193 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18194
18195 2002-04-17 David S. Miller <davem@redhat.com>
18196
18197 * gdb.asm/sparc64.inc: New file.
18198 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18199
18200 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
18201
18202 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18203 instruction file directly into the build tree. Clean up at end of
18204 test.
18205
18206 2002-04-18 David S. Miller <davem@redhat.com>
18207
18208 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18209 handle 64-bit platforms correctly.
18210 * gdb.base/maint.exp: Likewise.
18211
18212 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18213
18214 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18215 ``-fpic'' when compiling files comprising a shared library, but
18216 it does need additional linker flags in order to find shared
18217 libraries at run time.
18218
18219 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18220
18221 * gdb.base/cvexpr.c (use): New function.
18222 (main): Invoke use() on all global variables to prevent
18223 some linkers from deleting these otherwise unused symbols.
18224
18225 2002-04-17 Michael Chastain <mec@shout.net>
18226 From David S. Miller <davem@redhat.com>
18227
18228 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18229 handle 64-bit platforms correctly.
18230
18231 2002-04-12 Michael Snyder <msnyder@redhat.com>
18232 From Jim Blandy <jimb@redhat.com>
18233 * gdb.base/foo.c (foox): Remove section attribute; the linker
18234 script can handle this instead.
18235 * gdb.base/bar.c (barx): Same.
18236 * gdb.base/baz.c (bazx): Same.
18237 * gdb.base/grbx.c (grbxx): Same.
18238
18239 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18240 manager doesn't automatically unmap overlays unnecessarily.
18241
18242 2002-04-10 Martin M. Hunt <hunt@redhat.com>
18243
18244 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18245 stepping out of main.
18246
18247 2002-04-09 Michael Chastain <mec@shout.net>
18248
18249 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18250 scope so that the nested scope tests will make sense.
18251 * gdb.c++/local.exp: Write patterns that actually work with gcc
18252 (the HP patterns "were never known to work with gcc").
18253 Keep the old aCC patterns too.
18254
18255 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
18256
18257 * gdb.base/attach.exp: Correct target board test.
18258
18259 2002-04-08 Michael Chastain <mec@shout.net>
18260
18261 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18262 in a const method. Add some xfail and fail cases for configurations
18263 that do not emit the "const ...".
18264
18265 2002-04-07 Michael Chastain <mec@shout.net>
18266
18267 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18268 Accept "A * const" and "const A * const" as type of "this".
18269 Fix spelling of getFunky throughout. Make messages uniform.
18270
18271 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18272
18273 Work around for PR gdb/285:
18274 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18275
18276 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18277
18278 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18279 instructions file at run time instead of configure time.
18280 Sometimes we run the test in a directory that is not the one we
18281 configured in.
18282 * gdb.asm/configure.in: Delete creation of symlink.
18283 * gdb.asm/configure: Regenerate.
18284
18285 2002-04-05 J. Brobecker <brobecker@gnat.com>
18286
18287 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18288 xfullpath () function.
18289
18290 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18291
18292 * gdb.asm/Makefile.in: Correct dependencies.
18293
18294 * gdb.asm/powerpc.inc: New file.
18295 * gdb.asm/asm-source.exp: Add PowerPC.
18296 * gdb.asm/configure.in: Likewise.
18297 * gdb.asm/configure: Regenerated.
18298
18299 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18300
18301 * gdb.base/relocate.exp: New file.
18302 * gdb.base/relocate.c: New file.
18303
18304 2002-04-04 Fred Fish <fnf@redhat.com>
18305
18306 * gdb.base/step-test.exp: Update comment regarding stopping in
18307 memcpy/bcopy calls inserted as part of the compiler runtime.
18308
18309 2002-04-04 Michael Snyder <msnyder@redhat.com>
18310
18311 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18312
18313 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
18314
18315 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18316 (gdb_expect): Remove $notransfer hack.
18317
18318 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
18319
18320 * gdb.c++/classes.exp ("calling method for small class"): Match
18321 updated register output.
18322
18323 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18324
18325 Fix PR gdb/452
18326 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18327 when finished. Make gdb_file_cmd send "exec-file" when
18328 appropriate.
18329
18330 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18331
18332 * gdb.base/attach.exp: Remove extra setup_xfail.
18333
18334 2002-03-26 Michael Snyder <msnyder@redhat.com>
18335
18336 * gdb.base/default.exp: Add tests for dump, append, and restore.
18337 * gdb.base/help.exp: Add tests for dump, append, and restore.
18338 * gdb.base/dump.exp: New file, test dump, append and restore.
18339 * gdb.base/dump.c: New file.
18340
18341 2002-03-27 Michael Snyder <msnyder@redhat.com>
18342
18343 * gdb.base/help.exp: Modify expect strings to reflect
18344 clean-ups in help messages.
18345
18346 2002-03-26 Fred Fish <fnf@redhat.com>
18347
18348 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18349 have debugging info for those functions and the compiler uses them
18350 internally to copy structs around.
18351
18352 2002-03-26 Fred Fish <fnf@redhat.com>
18353
18354 * gdb.base/list.exp: Revert the change made yesterday and add note
18355 about why we don't list the default lines for remote targets.
18356
18357 2002-03-25 Michael Snyder <msnyder@redhat.com>
18358
18359 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18360
18361 2002-03-25 Fred Fish <fnf@redhat.com>
18362
18363 * gdb.base/list.exp: This test works on remote targets so remove
18364 the short circuit for remote targets. Update copyright.
18365
18366 2002-03-25 Fred Fish <fnf@redhat.com>
18367
18368 * gdb.base/attach.exp: Fix logic error that was suppressing this
18369 test for all non hppa*-*-hpux* targets, instead of the hp target.
18370 Move comments closer to the suppression point. Also now need to
18371 check that we are running natively.
18372
18373 2002-03-22 Michael Snyder <msnyder@redhat.com>
18374
18375 * gdb.base/default.exp: Add test for gcore. Update copyright.
18376 * gdb.base/help.exp: Add test for gcore. Update copyright.
18377
18378 2002-03-06 Fred Fish <fnf@redhat.com>
18379
18380 * gdb.base/funcargs.c: Remove extraneous ';' character.
18381 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18382
18383 2002-03-04 Michael Chastain <mec@shout.net>
18384
18385 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18386 accommodate gcc v3 function signature.
18387 * gdb.mi/mi0-var-cmd-exp: Ditto.
18388
18389 2002-02-24 Andrew Cagney <ac131313@redhat.com>
18390
18391 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18392 ``GNU/Linux'' or ``Linux kernel''
18393 * testsuite/gdb.threads/pthreads.c: Ditto.
18394
18395 2002-02-24 Michael Chastain <mec@shout.net>
18396
18397 * gdb.threads/pthreads.c (thread1): Add a return statement.
18398 (thread2): Likewise.
18399 (foo): Likewise.
18400
18401 2002-02-23 Michael Chastain <mec@shout.net>
18402
18403 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18404 to placate gcc.
18405
18406 2002-02-23 Michael Chastain <mec@shout.net>
18407
18408 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18409 test "ptype bint". The test passes on all my stabs configurations.
18410
18411 2002-02-21 Jim Blandy <jimb@redhat.com>
18412
18413 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18414 filename at a time, and watch for the ones we want to see.
18415
18416 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18417 types of pointers to prototyped functions.
18418
18419 2002-02-20 Andrew Cagney <ac131313@redhat.com>
18420
18421 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18422 signed, unsigned and straight char.
18423 (padding_char, padding_short, padding_int, padding_long,
18424 padding_long_long, padding_float, padding_double,
18425 padding_long_double): New global variables.
18426 (fill, fill_structs): New functions.
18427
18428 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18429 for correctly sized writes. Update copyright.
18430 (get_valueof): New procedure.
18431 (get_sizeof): Call get_valueof.
18432 (check_valueof): New procedure.
18433 (check_padding): New procedure.
18434
18435 2002-02-20 Michael Chastain <mec@shout.net>
18436
18437 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18438 to setup_xfail. Document some of the remaining calls.
18439
18440 2002-02-18 Michael Chastain <mec@shout.net>
18441
18442 * gdb.c++/userdef.exp: Update copyright year.
18443
18444 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
18445
18446 * gdb.c++/userdef.exp: Test overloaded operators properly.
18447 Remove xfails.
18448
18449 2002-02-14 Michael Snyder <msnyder@redhat.com>
18450
18451 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18452
18453 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
18454
18455 * gdb.base/a2-run.exp: Check for a remote target properly.
18456 * gdb.base/annota1.exp: Likewise.
18457 * gdb.base/list.exp: Likewise.
18458 * gdb.base/reread.exp: Likewise.
18459 * gdb.base/scope.exp: Likewise.
18460 * gdb.base/shlib-call.exp: Likewise.
18461 * gdb.base/term.exp: Likewise.
18462 * gdb.c++/annota2.exp: Likewise.
18463
18464 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
18465
18466 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18467
18468 2002-02-10 Michael Chastain <mec@shout.net>
18469
18470 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18471 (call_after_alloca): Ditto.
18472
18473 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
18474
18475 * gdb.base/ending-run.exp: Guard "cont" test with
18476 gdb_skip_stdio_test.
18477
18478 2002-02-06 Jim Blandy <jimb@redhat.com>
18479
18480 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18481 from here...
18482 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18483 To here. Disable this test on non-HP platforms. Add big comment.
18484
18485 2002-02-04 Michael Snyder <msnyder@redhat.com>
18486
18487 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18488 other than d10v and m32r.
18489
18490 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
18491
18492 * gdb.base/default.exp: Rewrite test patterns to reduce time
18493 taken to match them.
18494
18495 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18496
18497 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18498 Allow a start function above main.
18499 * gdb.threads/linux-dp.exp: Fix copyright date.
18500
18501 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18502
18503 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18504 (check_philosopher_stack): Check for manager thread before checking
18505 for a just-starting thread.
18506
18507 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18508
18509 From Neil Booth <neil@daikokuya.demon.co.uk>:
18510 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18511 warnings.
18512
18513 2002-01-21 Fred Fish <fnf@redhat.com>
18514
18515 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18516 not caller.
18517
18518 2002-01-21 Jim Blandy <jimb@redhat.com>
18519
18520 * gdb.base/reread.exp: Check that GDB properly re-reads the
18521 executable file when it changes while no inferior is running.
18522
18523 2002-01-21 Fred Fish <fnf@redhat.com>
18524
18525 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18526 optionally accept the "shlib events" variation.
18527
18528 2002-01-21 Jim Blandy <jimb@redhat.com>
18529
18530 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18531 call `fflush' after every `printf', so that the output is produced
18532 at predictable points, regardless of whatever buffering does (or
18533 doesn't) take place.
18534 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18535 at different points.
18536
18537 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18538
18539 * gdb.c++/inherit.exp: Update copyright years.
18540 * gdb.c++/method.exp: Likewise.
18541
18542 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18543
18544 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18545 artificial methods/arguments.
18546 * gdb.c++/derivation.exp: Likewise.
18547 * gdb.c++/inherit.exp: Likewise.
18548 * gdb.c++/method.exp: Likewise.
18549 * gdb.c++/virtfunc.exp: Likewise.
18550
18551 2002-01-18 Andrew Cagney <ac131313@redhat.com>
18552
18553 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18554 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18555 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18556 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18557 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18558 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18559
18560 2002-01-17 Jim Blandy <jimb@redhat.com>
18561
18562 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18563 anchoring the pattern matching the entry point symbol's name.
18564
18565 2002-01-17 Andrew Cagney <ac131313@redhat.com>
18566
18567 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18568 continue/quit query. Update copyright.
18569
18570 2002-01-14 Michael Snyder <msnyder@redhat.com>
18571
18572 * gdb.base/gcore.exp: Remove extra debugging output.
18573
18574 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18575
18576 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18577 for slightly dubious v2 mangled string.
18578
18579 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18580
18581 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18582
18583 2002-01-10 Jason Merrill <jason@redhat.com>
18584
18585 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
18586
18587 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18588 constructors.
18589 * gdb.c++/derivation.exp: Likewise.
18590 * gdb.c++/templates.exp: Likewise.
18591 * gdb.c++/virtfunc.exp: Likewise.
18592
18593 2002-01-10 Michael Snyder <msnyder@redhat.com>
18594
18595 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
18596
18597 2002-01-08 Michael Snyder <msnyder@redhat.com>
18598
18599 * gdb.base/gcore.exp: New test for generate-core-file command.
18600 * gdb.base/gcore.c: Testcase for above.
18601 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18602
18603 2002-01-08 Jason Merrill <jason@redhat.com>
18604
18605 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18606
18607 2002-01-07 Fred Fish <fnf@redhat.com>
18608
18609 * gdb.c++/overload.exp: Remove unconditional xfails for:
18610 print foo_instance1.overloadargs(1)
18611 print foo_instance1.overloadargs(1, 2)
18612 print foo_instance1.overloadargs(1, 2, 3)
18613 print foo_instance1.overloadargs(1, 2, 3, 4)
18614 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18615 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18616 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18617 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18618 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18619 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18620 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18621 print foo_instance1.overload1arg()
18622 print foo_instance1.overload1arg((char)arg2)
18623 print foo_instance1.overload1arg((signed char)arg3)
18624 print foo_instance1.overload1arg((unsigned char)arg4)
18625 print foo_instance1.overload1arg((int)arg7)
18626 print foo_instance1.overload1arg((unsigned int)arg8)
18627 print foo_instance1.overload1arg((float)arg11)
18628 print foo_instance1.overload1arg((double)arg12)
18629
18630 2002-01-07 Michael Snyder <msnyder@redhat.com>
18631
18632 * gdb.base/huge.exp: New test. Print a very large target data object.
18633 (skip_huge_test): New test variable. Define if you want to skip this
18634 test. The test reads an 8 megabyte data object from the target, so it
18635 might be very time consuming on remote targets with a slow connection.
18636 * gdb.base/huge.c: New file. Test case for above.
18637
18638 2002-01-07 Fred Fish <fnf@redhat.com>
18639
18640 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18641 g_instance.bfoo, and g_instance.cfoo.
18642
18643 2002-01-07 Jeffrey A Law <law@redhat.com>
18644
18645 * gdb.base/break.c (multi_line_if_conditional): New function.
18646 (multi_ilne_while_conditional): Likewise.
18647 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18648 IF or WHILE condition puts the breakpoint at the start of
18649 the condition.
18650
18651 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18652 hppa*-*-hpux* expected failure.
18653 * gdb.base/structs.exp (do_function_calls): Similarly.
18654
18655 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18656 watchpoints.
18657
18658 2002-01-06 Andrew Cagney <ac131313@redhat.com>
18659
18660 Fix PR gdb/66.
18661 * gdb.base/structs.exp: Replace skip for a29k with skip for
18662 gdb,cannot_call_functions.
18663 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18664 * gdb.base/callfuncs.exp: Ditto.
18665 * gdb.base/call-rt-st.exp: Ditto.
18666 * gdb.base/call-strs.exp: Ditto.
18667 * gdb.base/callfwmall.exp: Ditto.
18668 * gdb.base/scope.exp: Obsolete xfail a29k.
18669 * gdb.c++/misc.exp: Ditto.
18670 * gdb.c++/cplusfuncs.exp: Ditto.
18671 * gdb.base/ptype.exp: Ditto.
18672 * gdb.base/printcmds.exp: Ditto.
18673 * gdb.base/opaque.exp: Ditto.
18674 * gdb.base/list.exp: Ditto.
18675 * gdb.base/funcargs.exp: Ditto.
18676 * gdb.base/default.exp: Ditto.
18677
18678 2002-01-04 Michael Snyder <msnyder@redhat.com>
18679
18680 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18681 * gdb.base/maint.exp: Add tests for maint info sections options.
18682
18683 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18684
18685 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18686
18687 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
18688
18689 * gdb.asm/arm.inc: New file.
18690 * gdb.asm/asm-source.exp: Add arm targets.
18691 * gdb.asm/configure.in: Ditto.
18692 * gdb.asm/configure: Recreated from configure.in.
18693
18694 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18695
18696 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18697 with HP's compiler.
18698 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18699 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18700 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18701 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18702
18703 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18704 either HP's compilers or GCC.
18705
18706 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18707 a SIGBUS or SIGSEGV.
18708
18709 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18710
18711 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18712 can be compiled with either HP's compiler or GCC.
18713
18714 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18715 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18716 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18717
18718 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18719 to match current gdb output. Update due to using auto-solib-limit
18720 for limiting instead of overloading auto-solib-add.
18721 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18722 test program.
18723
18724 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18725 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18726 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18727 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18728 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18729 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18730 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18731 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18732 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18733 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18734 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18735 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18736 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18737
18738 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18739 a SIGTRAP to the inferior.
18740
18741 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
18742
18743 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18744 Substitute call to target_link by call to gdb_compile.
18745
18746 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18747
18748 * gdb.base/break.exp: Fix HP specific search string when testing
18749 backtracing in a called function.
18750
18751 * gdb.base/constvars.exp: Only set lang to C++ if we're
18752 compiling the test with HP's compilers.
18753 * gdb.base/volatile.exp: Similarly.
18754
18755 2001-12-19 Jim Blandy <jimb@redhat.com>
18756
18757 * gdb.base/printcmds.exp: Expect the null character to be printed
18758 as '\0', and the '\013' to be printed as '\v'.
18759 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18760 * gdb.base/setvar.exp: Same.
18761
18762 2001-12-17 Jim Blandy <jimb@redhat.com>
18763
18764 * gdb.base/completion.exp: Rather than completing very long
18765 filenames, which can make the readline library produce output we
18766 don't recognize, cd to the directory first, and then complete
18767 using nice, short relative paths.
18768
18769 * gdb.base/completion.exp: On some systems, there is, in fact, a
18770 variable named `b' in scope, since GDB treats all static
18771 variables as being in scope. So use `no_var_named_this'
18772 instead of `b'.
18773
18774 * gdb.base/corefile.exp: Recognize the message saying that GDB
18775 can't find the core file's registers as a failure.
18776
18777 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18778
18779 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18780 test expect string more specific.
18781
18782 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
18783
18784 * gdb.asm/asm-source.exp: Add support for xstormy16.
18785 * gdb.asm/configure.in: Ditto.
18786 * gdb.asm/configure: Rebuild.
18787 * gdb.asm/xstormy16.inc: New file.
18788
18789 2001-12-10 Fred Fish <fnf@redhat.com>
18790
18791 * gdb.base/maint.exp: Update to match changes in type dumping code.
18792
18793 2001-12-10 Jim Blandy <jimb@redhat.com>
18794
18795 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18796 matching the entry point symbol's name at the beginning of the
18797 line.
18798
18799 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18800
18801 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18802 gdb.c++/inherit.exp, gdb.c++/method.exp,
18803 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18804 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18805 and class layout support.
18806
18807 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18808
18809 * gdb.c++/classes.exp: Add test for static member function.
18810 * gdb.c++/misc.cc: Add class with static member function.
18811
18812 2001-12-07 Jim Blandy <jimb@redhat.com>
18813
18814 If GDB says it can't find the struct the function returned, report
18815 those tests as `unsupported'.
18816 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18817 Rewrite subsequent tests to use it.
18818
18819 If GDB says it can't find the struct the function returned, report
18820 those tests as `unsupported'.
18821 * gdb.base/structs.exp (call_struct_func): New function.
18822 (do_function_calls): Use call_struct_func to call the functions
18823 returning structs.
18824
18825 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18826 whether functions are prototyped or not, so we can't possibly pass
18827 arguments to t_float_values2 properly.
18828
18829 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18830 value of `timeout' for targets other than the mips*tx39-*.
18831
18832 2001-12-06 Michael Snyder <msnyder@redhat.com>
18833
18834 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18835 and detect whether the start symbol has a leading underscore.
18836
18837 2001-12-04 Jim Blandy <jimb@redhat.com>
18838
18839 * gdb.base/completion.exp: Clarify indentation.
18840
18841 2001-12-03 Jim Blandy <jimb@redhat.com>
18842
18843 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18844 variables on the S/390, not `.word'.
18845
18846 2001-11-30 Jim Blandy <jimb@redhat.com>
18847
18848 Add assembly-source tests for s390-ibm-linux.
18849 * gdb.asm/s390.inc: New file.
18850 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18851 the S/390 architecture.
18852 * gdb.asm/configure: Regenerated.
18853
18854 2001-11-30 Michael Snyder <msnyder@redhat.com>
18855
18856 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18857 next, info source, info sources, info line, global and static
18858 variables, and static functions.
18859 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18860 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18861 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18862 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18863 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18864 (gdbasm_leave): Restore frame pointer.
18865 (gdbasm_startup): Copy stack set-up from crt0.S.
18866
18867 2001-11-26 Fernando Nasser <fnasser@redhat.com>
18868
18869 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18870 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18871 to a local (non-static) variable. Copy tstruct.a to a static buffer
18872 and return a pointer to that buffer.
18873 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18874
18875 2001-11-24 Mark Kettenis <kettenis@gnu.org>
18876
18877 * gdb.asm/configure.in: Fix recognition of ix86 target.
18878 * gdb.asm/configure: Regenerate.
18879
18880 2001-11-21 Michael Snyder <msnyder@redhat.com>
18881
18882 * gdb.asm/sparc.inc: New file.
18883 * gdb.asm/asm-source.exp: Recognize sparc target.
18884 * gdb.asm/configure.in: Recognize sparc target.
18885 * gdb.asm/configure: Regenerate.
18886
18887 2001-11-21 Michael Snyder <msnyder@redhat.com>
18888
18889 * gdb.asm/m32r.inc: New file.
18890 * gdb.asm/asm-source.exp: Recognize m32r target.
18891 * gdb.asm/configure.in: Recognize m32r target.
18892 * gdb.asm/configure: Regenerate.
18893
18894 2001-11-20 Michael Snyder <msnyder@redhat.com>
18895
18896 * gdb.asm/i386.inc: New file.
18897 * gdb.asm/asm-source.exp: Recognize ix86 target.
18898 * gdb.asm/configure.in: Recognize ix86 target.
18899 * gdb.asm/configure: Regenerate.
18900
18901 * gdb.c++/namespace.exp: Fix quotes in output messages.
18902
18903 2001-11-14 Michael Snyder <msnyder@redhat.com>
18904
18905 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
18906 qualifier in a type cast expression, to designate an address
18907 in the instruction space (Harvard architecture).
18908
18909 2001-11-13 Michael Snyder <msnyder@redhat.com>
18910
18911 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18912 Tests for expressions using 'const' and 'volatile'.
18913
18914 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
18915
18916 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18917
18918 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
18919
18920 * lib/mi-support.exp (mi_run_to_helper): Move comments
18921 outside of gdb_expect.
18922
18923 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
18924
18925 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18926 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18927 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18928 mi0_run_to): New functions.
18929 * gdb.mi/mi-simplerun.exp: Use them.
18930 * gdb.mi/mi0-simplerun.exp: Likewise.
18931 * gdb.mi/mi-var-cmd.exp: Likewise.
18932 * gdb.mi/mi0-var-cmd.exp: Likewise.
18933
18934 2001-11-10 Andrew Cagney <ac131313@redhat.com>
18935
18936 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18937 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18938
18939 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18940
18941 * gdb.base/restore.exp: Include $expected value in restored test
18942 message.
18943
18944 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18945
18946 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18947 implemented.
18948
18949 2001-11-08 Michael Snyder <msnyder@redhat.com>
18950
18951 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18952 Add pass/fail message for stop at breakpoint in call dummy function.
18953
18954 2001-11-07 Michael Snyder <msnyder@redhat.com>
18955
18956 * gdb.c++/templates.exp (test_template_breakpoints):
18957 If we get an overload menu, but it does not match what
18958 we expect, we still need to issue the "cancel" command.
18959 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18960 making the whitespace optional. Argument for "new" may be
18961 "unsigned" as well as "unsigned int/long".
18962 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18963 making the whitespace optional. Also replace "(void) with
18964 "((void|)), making the keyword "void" optional.
18965 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18966 making the whitespace optional. Also replace "(void) with
18967 "((void|)), making the keyword "void" optional.
18968 * gdb.base/callfuncs.c (t_float_values): This function must
18969 _not_ be prototyped, and the following function (t_float_values2)
18970 must be prototyped (if the compiler supports it), so that GDB
18971 can be tested against both cases. Usually one case involves
18972 promotion of float to double, while the other does not.
18973 * gdb.base/callfwmall.c: Ditto.
18974 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18975 includes a stack frame for "start".
18976
18977 2001-11-05 Jim Blandy <jimb@redhat.com>
18978
18979 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18980 pointers are 32 bits long, and that offsets of relocs are always
18981 stored in the data (REL-style), and not in the reloc entry itself
18982 (RELA-style).
18983 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18984 stabs.
18985
18986 2001-11-01 Michael Snyder <msnyder@redhat.com>
18987
18988 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18989 and regular expression operators by using quoting.
18990
18991 2001-10-31 Michael Snyder <msnyder@redhat.com>
18992
18993 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18994 depending on what the symbol table contains.
18995 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18996 the output of the ptype command. Similarly, accept both "const &"
18997 and "const&".
18998
18999 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
19000
19001 * gdb.base/miscexprs.c (main): Add usage of preprocessor
19002 symbol `STORAGE' to allow to choose the storage class of
19003 the local datastructures.
19004 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
19005 compiler directive.
19006
19007 2001-10-30 Michael Snyder <msnyder@redhat.com>
19008
19009 * gdb.base/jump.exp: Allow it to run for all targets.
19010
19011 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
19012
19013 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19014 with new double_array size.
19015 (main): Change storage class of all local variables to static.
19016 Reduce size of double_array to 9.
19017 * gdb.base/call-ar-st.exp: Increase timeout value.
19018 Change expected output for double array to match new size in
19019 call-ar-st.c.
19020
19021 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
19022
19023 * gdb.base/ending-run.exp: Create identical output when passing
19024 `step to end of run' case. Add regular expression branch satisfying
19025 Stormy16 target.
19026
19027 2001-10-28 Mark Kettenis <kettenis@gnu.org>
19028
19029 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19030 that we catch the expected failure under Linux/x86.
19031
19032 2001-10-29 Orjan Friberg <orjanf@axis.com>
19033
19034 * gdb.base/setvar.exp: Escape curly braces.
19035 * gdb.stabs/weird.exp: Ditto.
19036
19037 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
19038
19039 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19040 * gdm.mi/mi0-hack-cli.exp: Likewise.
19041
19042 2001-10-25 Andrew Cagney <ac131313@redhat.com>
19043
19044 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19045 messages.
19046
19047 2001-10-21 Andrew Cagney <ac131313@redhat.com>
19048
19049 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19050 checking MI enabled.
19051
19052 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
19053
19054 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19055
19056 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
19057
19058 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19059 if gdb child process crashes, just signal an error.
19060
19061 2001-10-02 Jim Blandy <jimb@redhat.com>
19062
19063 * lib/gdb.exp (test_xfail_format): Simplify.
19064
19065 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19066 front of the variable name `format'. Simplify `if'.
19067
19068 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
19069
19070 * gdb.threads/pthreads.exp: Wait for output and delay
19071 before sending ^C.
19072
19073 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
19074
19075 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19076 some incorrect output instead of timing out.
19077 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19078
19079 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
19080
19081 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19082 check to allow additional `int'.
19083
19084 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
19085
19086 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19087 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19088
19089 2001-09-27 Michael Snyder <msnyder@redhat.com>
19090
19091 * lib/gdb.exp (test_debug_format): New proc.
19092 (setup_xfail_format): Use new proc test_debug_format.
19093 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19094 proc; use new service proc test_debug_format.
19095 Replace all other "gcc_compiled" tests with this test.
19096 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19097 proc; use new service proc test_debug_format.
19098 Replace all other "gcc_compiled" tests with this test.
19099
19100 2001-09-27 Michael Snyder <msnyder@redhat.com>
19101
19102 * gdb.base/cvexpr.exp: New file.
19103 * gdb.base/cvexpr.c: New file
19104 Test for expressions using const and volatile keywords.
19105
19106 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
19107
19108 * gdb.base/constvars.exp: Check for different orders of keywords
19109 and additional "int" strings in output.
19110
19111 2001-09-22 Andrew Cagney <ac131313@redhat.com>
19112
19113 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19114 responses from "help maint".
19115
19116 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
19117
19118 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19119 to localhost:NNN instead of :NNN, in case Xvfb is listening
19120 only on TCP.
19121
19122 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
19123
19124 * gdb.base/recurse.exp: When checking leaving the watchpoint
19125 scope, recognize when gdb is in function's epilogue and pass.
19126
19127 2001-09-18 Keith Seitz <keiths@redhat.com>
19128
19129 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19130 support for running tests against sid targets.
19131 (gdbtk_done): Ditto.
19132
19133 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
19134
19135 * gdb.base/ending-run.c (main): Set stdout buffersize
19136 to the same reasonable value for any target.
19137 * gdb.base/ending-run.exp: Add a regular expression
19138 to make testsuite happy on Sanyo Stormy16 target.
19139
19140 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
19141
19142 * gdb.base/display.c (do_loops): Add float variable `f'.
19143 Increment f in loop.
19144 * gdb.base/display.exp: Increment timeout by 60 seconds.
19145 Change float display test to use variable `f'.
19146
19147 2001-09-17 Jim Blandy <jimb@redhat.com>
19148
19149 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19150 overflowing the limited breakpoint tables on some ROM monitors
19151 (like the ROM68K).
19152
19153 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
19154
19155 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19156 the "-ac" (disable access control) flag.
19157
19158 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
19159
19160 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19161 ints.
19162
19163 2001-08-30 Keith Seitz <keiths@redhat.com>
19164
19165 * lib/gdb.exp: Move all insight-related functionality into
19166 separate file.
19167 * lib/insight-support.exp: New file.
19168
19169 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
19170
19171 * config/sid.exp (sid_start): Never set sid verbosity; disable
19172 expect_background {} that consumed its stdout; tolerate </dev/null.
19173 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19174
19175 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19176
19177 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19178 CLI jump command to start it.
19179 (mi_run_to_main): Fail immediatly when unexpected output.
19180
19181 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19182
19183 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19184 beginning of function. Fix PR gdb/191.
19185
19186 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
19187
19188 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19189 what to force sid endianness to.
19190
19191 2001-08-15 Keith Seitz <keiths@redhat.com>
19192
19193 * lib/gdb.exp (gdbtk_start): Don't set environment
19194 variables for TCL_LIBRARY and friends. Insight will
19195 now figure these out for itself.
19196
19197 2001-08-02 Michael Snyder <msnyder@redhat.com>
19198
19199 * gdb.base/completion.exp: Remove the symbol "a64l" from
19200 the expect string; this is target-specific, and not related
19201 to what is being tested.
19202
19203 2001-08-02 Dave Brolley <brolley@redhat.com>
19204
19205 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19206
19207 2001-07-25 Michael Snyder <msnyder@redhat.com>
19208
19209 * gdb.base/consecutive.exp: New file. Test stepping over
19210 breakpoints on consecutive instructions.
19211 * gdb.base/consecutive.c: New file.
19212
19213 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19214 curly braces in regular expressions.
19215
19216 2001-07-25 Michael Snyder <msnyder@redhat.com>
19217
19218 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19219 legitimate output from stepping out of main.
19220
19221 2001-07-22 Keith Seitz <keiths@redhat.com>
19222
19223 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19224 the empty string, do not run the tests.
19225
19226 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19227
19228 * gdb.base/long_long.exp: Detect size of pointer. Take into
19229 account 2-byte pointers when testing for p/a results.
19230
19231 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19232
19233 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
19234 and defined to 1K for m68hc11.
19235 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19236 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19237 (sizeof_random_data): New variable to tell the size of the data table;
19238 don't test past this size; always run to main.
19239
19240 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19241
19242 * gdb.base/return2.exp: return of long long and double fails for
19243 68HC11; don't execute these tests on that platform.
19244 * gdb.base/return.exp: Return of a double fails for 68hc11.
19245
19246 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19247
19248 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19249 tests that print a float.
19250 * call-rt-st.exp: Likewise.
19251
19252 2001-07-12 Mark Kettenis <kettenis@gnu.org>
19253
19254 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19255 running this test on Linux.
19256
19257 2001-06-24 Michael Chastain <chastain@redhat.com>
19258
19259 * gdb.base/arithmet.exp: Remove some tests to make all test names
19260 unique.
19261
19262 2001-07-03 Michael Snyder <msnyder@redhat.com>
19263
19264 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19265 the output of the ptype command.
19266
19267 2001-07-02 Michael Snyder <msnyder@redhat.com>
19268
19269 * gdb.base/completion.exp: Don't assume that break.c is the only
19270 source file that may contain functions named "marker".
19271 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19272
19273 2001-06-28 Andrew Cagney <ac131313@redhat.com>
19274
19275 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19276 of files to delete.
19277
19278 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19279 * gdb.disasm/h8300s.exp: New file.
19280 gdb.disasm/h8300s.s: Likewise.
19281
19282 2001-06-27 Andrew Cagney <ac131313@redhat.com>
19283
19284 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19285 empty breakpoint tables.
19286
19287 2001-06-25 Andrew Cagney <ac131313@redhat.com>
19288
19289 * lib/mi-support.exp: Update args=... part of stop-reason
19290 patterns. Accept either a list or a tuple.
19291
19292 2001-06-23 Andrew Cagney <ac131313@redhat.com>
19293
19294 * lib/mi-support.exp: Remove local emacs variable defining
19295 change-log-default-name.
19296
19297 2001-06-22 Michael Chastain <chastain@redhat.com>
19298
19299 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19300 This is operationally compatible with the previous version.
19301
19302 2001-06-13 Jim Blandy <jimb@redhat.com>
19303
19304 * lib/gdb.exp (gdb_test): Doc fix.
19305
19306 2001-06-10 Michael Chastain <chastain@redhat.com>
19307
19308 * gdb.base/exprs.exp: Remove a duplicate test.
19309
19310 2001-06-06 Jim Blandy <jimb@redhat.com>
19311
19312 * gdb.base/return2.exp (main): Use values to test float and double
19313 returns that are not NaN's, to avoid being confused by IEEE
19314 comparison rules.
19315
19316 2001-06-04 Michael Snyder <msnyder@redhat.com>
19317
19318 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
19319 non-zero if control_c fails. Terminate the test on failure,
19320 rather than wait for 12 more tests to time out.
19321
19322 2001-06-06 Jim Blandy <jimb@redhat.com>
19323
19324 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
19325 Don't forget to match the GDB prompt.
19326
19327 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19328
19329 2001-06-04 Jim Blandy <jimb@redhat.com>
19330
19331 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19332 command.
19333
19334 2001-05-31 Kevin Buettner <kevinb@redhat.com>
19335
19336 * gdb.base/annota1.exp (info break): Match four or more spaces
19337 after "Address".
19338
19339 2001-05-31 Michael Chastain <chastain@redhat.com>
19340
19341 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19342 (dm_type_int_star): Likewise.
19343 (dm_type_long_star): Likewise.
19344 (dm_type_void_star): Likewise.
19345
19346 2001-05-29 Kevin Buettner <kevinb@redhat.com>
19347
19348 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19349 to a known value in order to get consistent results regardless
19350 of the setting of INPUTRC or the presence or contents of .inputrc.
19351
19352 2001-05-24 Michael Snyder <msnyder@redhat.com>
19353
19354 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19355 Don't require that the main thread and the manager thread are the
19356 first in the list.
19357
19358 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19359 debugging. If test fails, issue an "unsupported" not a "fail".
19360
19361 2001-05-24 Jim Blandy <jimb@redhat.com>
19362
19363 Don't assume that short is shorter than int.
19364 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19365 assume that shorts are smaller than ints. On a 16-bit machine,
19366 this isn't true.
19367 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19368 an int, is not equal to ~0 stored in an unsigned char. This tests
19369 the same thing that the previous test meant to, but works on
19370 16-bit machines, too.
19371 ("print unsigned char != (~0)"): Same test, complemented.
19372
19373 2001-05-24 Michael Snyder <msnyder@redhat.com>
19374
19375 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
19376 test for (full_coverage == 0). This makes the test run faster,
19377 and prevents dejagnu getting out of step.
19378
19379 2001-05-23 Kevin Buettner <kevinb@redhat.com>
19380
19381 * gdb.base/finish.exp (finish_void): Revise pattern for
19382 stopping on the call statement to not permit stopping at
19383 the start of the instructions comprising the call sequence.
19384
19385 2001-05-19 Michael Chastain <chastain@redhat.com>
19386
19387 * gdb.base/callfuncs.exp: Make all test names unique.
19388 * gdb.base/commands.exp: Make all test names unique.
19389 * gdb.base/condbreak.exp: Make all test names unique.
19390 * gdb.base/dbx.exp: Make all test names unique.
19391 * gdb.base/default.exp: Make all test names unique.
19392 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19393 and TIMEOUT messages to their corresponding PASS message.
19394 * gdb.base/ending-run.exp: Make all test names unique.
19395 * gdb.base/long_long.exp: Remove duplicate test.
19396
19397 2001-05-21 Kevin Buettner <kevinb@redhat.com>
19398
19399 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19400 stop on the call statement as well as the statement after the
19401 call.
19402
19403 2001-05-21 Michael Snyder <msnyder@redhat.com>
19404
19405 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19406
19407 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19408
19409 * gdb.base/completion.exp: Revamp test. Make it execute on all
19410 platforms.
19411
19412 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19413
19414 * config/gdbserver.exp (gdb_load): Handle the case
19415 in which the arguments to gdbserver are given in the
19416 baseboard configuration file.
19417 Also handle the case in which the server needs to do a
19418 load.
19419
19420 2001-05-07 Keith Seitz <keiths@cygnus.com>
19421
19422 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19423 set up the display for testing.
19424 (gdbtk_start): Convert all paths to paths that tcl will like.
19425 Export target information to environment.
19426 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19427 necessary.
19428 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19429 (to_tcl_path): New proc to convert a given pathname into
19430 a path acceptible as an argument to a tcl command.
19431 (_gdbtk_export_target_info): New proc to export target info
19432 into the environment for gdbtk testing.
19433 (gdbtk_done): New proc to signal end-of-test.
19434
19435 2001-05-06 Jim Blandy <jimb@redhat.com>
19436
19437 * restore.c: Make the code of caller0 correspond to its comment.
19438
19439 2001-05-03 Michael Snyder <msnyder@redhat.com>
19440
19441 * config/sid.exp (gdb_target_sid): Check for error messages.
19442 On error or timeout, don't make expect exit (which will terminate
19443 all subsequent tests); instead just make gdb exit.
19444 (gdb_load): Check for error messages. On error or timeout,
19445 return a negative value.
19446
19447 2001-04-24 Jim Blandy <jimb@redhat.com>
19448
19449 * gdb.c++/templates.exp: If we see the prompt for the overload
19450 list, but we haven't recognized any of the longer patterns,
19451 arrange for this test to fail, not hang.
19452
19453 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19454 variations.
19455
19456 2001-04-22 Michael Chastain <chastain@redhat.com>
19457
19458 * gdb.c++/local.exp: Use the 'runto' library function.
19459 * gdb.c++/namespace.exp: Likewise.
19460 * gdb.c++/overload.exp: Likewise.
19461
19462 2001-03-26 Kevin Buettner <kevinb@redhat.com>
19463
19464 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19465 * gdb.base/step-line.exp: New file. Test step/next in presence of
19466 #line directives.
19467 * gdb.base/step-line.c: New file. Test program for the above.
19468 * gdb.base/step-line.inp: New file. We pretend that this file has
19469 been transformed by some other tool into step-line.c.
19470
19471 2001-03-21 Jim Blandy <jimb@redhat.com>
19472
19473 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19474 unmangled operator names.
19475
19476 2001-03-20 Jim Blandy <jimb@redhat.com>
19477
19478 * gdb.threads/linux-dp.exp: Recognize an additional message
19479 generated by GDB when it doesn't understand how to debug threads
19480 on the target system.
19481
19482 2001-03-19 Andrew Cagney <ac131313@redhat.com>
19483
19484 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19485
19486 2001-03-12 Michael Chastain <chastain@redhat.com>
19487
19488 * gdb.c++/derivation.exp: Use the 'runto' library function.
19489
19490 2001-03-12 Michael Chastain <chastain@redhat.com>
19491
19492 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19493
19494 2001-02-24 Michael Chastain <chastain@redhat.com>
19495
19496 * gdb.c++/ref-types.exp: Change handwritten code to library
19497 function 'runto'.
19498
19499 2001-03-16 Orjan Friberg <orjanf@axis.com>
19500
19501 * gdb.base/signals.exp: Set count to 0 explicitly.
19502
19503 2001-03-15 Mark Salter <msalter@redhat.com>
19504
19505 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19506 (gdb_target_monitor): Add check of gdb_target_cmd return value.
19507 (gdb_load): Add support for additional target_info: gdb_download_size
19508 and gdb_load_timeout.
19509
19510 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19511
19512 * gdb.base/annota1.exp: Move test of isnative to earlier in the
19513 file -- to prevent failing when the compile fails but we have no
19514 intention of running the tests anyway.
19515
19516 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19517 tests if set.
19518
19519 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
19520 integers.
19521
19522 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19523 * gdb.c++/namespace.exp: Ditto.
19524
19525 2001-03-07 Orjan Friberg <orjanf@axis.com>
19526
19527 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19528 * gdb.base/pointers.exp: Relax pattern match of decimals.
19529
19530 2001-03-06 Kevin Buettner <kevinb@redhat.com>
19531
19532 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19533 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19534 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19535 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19536 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19537 config/sh.exp, config/sid.exp, config/slite.exp,
19538 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19539 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19540 config/vxworks.exp, config/vxworks29k.exp,
19541 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19542 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19543 gdb.base/arithmet.exp, gdb.base/assign.exp,
19544 gdb.base/async.exp, gdb.base/attach.exp,
19545 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19546 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19547 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19548 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19549 gdb.base/commands.exp, gdb.base/completion.exp,
19550 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19551 gdb.base/constvars.exp, gdb.base/corefile.exp,
19552 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19553 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19554 gdb.base/ending-run.exp, gdb.base/environ.exp,
19555 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19556 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19557 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19558 gdb.base/funcargs.exp, gdb.base/help.exp,
19559 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19560 gdb.base/logical.exp, gdb.base/long_long.exp,
19561 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19562 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19563 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19564 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19565 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19566 gdb.base/regs.exp, gdb.base/relational.exp,
19567 gdb.base/remote.exp, gdb.base/reread.exp,
19568 gdb.base/restore.exp, gdb.base/return2.exp,
19569 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19570 gdb.base/selftest.exp, gdb.base/setshow.exp,
19571 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19572 gdb.base/sigall.exp, gdb.base/signals.exp,
19573 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19574 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19575 gdb.base/step-test.exp, gdb.base/structs.c,
19576 gdb.base/structs.exp, gdb.base/structs2.exp,
19577 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19578 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19579 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19580 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19581 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19582 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19583 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19584 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19585 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19586 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19587 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19588 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19589 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19590 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19591 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19592 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19593 gdb.trace/circ.exp, gdb.trace/collection.exp,
19594 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19595 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19596 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19597 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19598 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19599 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19600 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19601 notices.
19602
19603 2001-02-27 Michael Snyder <msnyder@cygnus.com>
19604
19605 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19606 first arg is int not float.
19607
19608 2001-02-22 Michael Snyder <msnyder@cygnus.com>
19609
19610 * gdb.base/reread.exp: Unsupported for non-native targets;
19611 doesn't work for remote debugging.
19612
19613 2001-02-19 Fernando Nasser <fnasser@redhat.com>
19614
19615 From Drew Moseley <dmoseley@redhat.com>
19616 * gdb.base/ending-run.exp: Properly handle the BSP state when
19617 stepping past the end of main.
19618
19619 2001-02-19 John Moore <jmoore@redhat.com>
19620
19621 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19622 Converted HPUX fix for non-expected items following multiple
19623 step commands into general solution for all platforms.
19624
19625 2001-02-18 Michael Chastain <chastain@redhat.com>
19626
19627 * gdb.c++/classes.exp (do_tests): Change runto statements
19628 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19629 statements demangler agnostic.
19630 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19631 (gdb_virtfunc_restart): Likewise.
19632
19633 2001-02-14 Michael Chastain <chastain@redhat.com>
19634
19635 * gdb.c++/inherit.exp (do_tests): Change runto statements
19636 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19637 statements demangler agnostic.
19638
19639 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19640
19641 * gdb.threads/pthreads.exp: Unify pass/fail messages for
19642 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19643 before calling common_routine 15 times'' tests.
19644
19645 2001-02-11 Michael Chastain <chastain@redhat.com>
19646
19647 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19648 Helps the test script figure out which demangler is in use.
19649 (dm_type_foo_ref): Ditto.
19650 (dm_type_int_star): Ditto.
19651 (dm_type_long_star): Ditto.
19652 (dm_type_unsigned_int): Ditto.
19653 (dm_type_void): Ditto.
19654 (dm_type_void_star): Ditto.
19655 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19656 Probe the gdb demangler and set variables to accommodate
19657 formatting differences.
19658 (info_func_regexp): New function. Same as info_func, but
19659 matches against a regexp.
19660 (info_func): Match against a literal string.
19661 (print_addr_2): New function. Match against a literal string,
19662 which can be different from the input to gdb.
19663 (print_addr): Simply call print_addr_2 with the same argument twice.
19664 (test_lookup_operator_functions): Use demangler formatting variables.
19665 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19666 the tests in the same order as the C++ class declaration.
19667 (test_paddr_operator_functions): Ditto.
19668 (test_paddr_overloaded_functions): Ditto.
19669 (test_paddr_hairy_functions): Use demangler formatting variables.
19670 Add reference to gdb/19 for related tests.
19671 (do_tests): Call probe_demangler.
19672
19673 2001-01-30 Kevin Buettner <kevinb@redhat.com>
19674
19675 * gdb.c++/templates.cc (printf): Remove unused function definition.
19676
19677 2001-01-26 Felix Lee <flee@redhat.com>
19678
19679 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19680
19681 2001-01-25 matthew green <mrg@redhat.com>
19682
19683 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19684 up sid.
19685 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19686
19687 2001-01-25 matthew green <mrg@redhat.com>
19688
19689 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19690 Deprecate $sid_spawn_id.
19691 (sid_exit): Remove code necessary only for `spawn.'
19692
19693 2001-01-25 matthew green <mrg@redhat.com>
19694
19695 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19696
19697 2001-01-28 Michael Chastain <chastain@redhat.com>
19698
19699 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19700 to call when tests fail. It takes gdb out of the overloaded
19701 function choice menu back to the main prompt, so that the test
19702 program stays synchronized.
19703 (set_bp_overloaded): New proc to collect all the common
19704 code for setting a breakpoint on an overloaded name. Calls
19705 take_gdb_out_of_choice_menu when needed.
19706 (menu_overload1arg): New variable to collect the repeated
19707 instances of the expected menu for an overloaded name. Change
19708 the regular expression to handle changes in g++ type encoding:
19709 "void" can be either "void" or "", and "unsigned int" can be
19710 either "unsigned int" or "unsigned".
19711 (continue_to_bp_overloaded): Change regular expressions to handle
19712 changes in g++ type encoding.
19713 (no proc): Call take_gdb_out_of_choice_menu when needed.
19714 Remove redundant calls to "info break". Accept either "canceled"
19715 or "cancelled". Change regular expressions in "info break"
19716 calls to handle changes in g++ type encoding. Give all tests
19717 unique strings.
19718
19719 2001-01-17 Ben Elliston <bje@redhat.com>
19720
19721 * config/sid.exp: New file.
19722
19723 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19724
19725 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19726
19727 2000-12-21 Michael Snyder <msnyder@cygnus.com>
19728
19729 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19730 Add a RE to accept a non-ascii char if one is ever presented.
19731
19732 2000-12-20 Fernando Nasser <fnasser@redhat.com>
19733
19734 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19735
19736 2000-12-18 Michael Snyder <msnyder@cygnus.com>
19737
19738 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19739 in regexp. One '\' does not suffice on Linux.
19740
19741 2000-12-09 Michael Chastain <chastain@redhat.com>
19742
19743 * gdb.base/break.exp (test_clear_command): Use a marker function
19744 rather than 'main' for the test function. Also move this
19745 test to an execution point where the marker function names are
19746 guaranteed to be bound to functions. (Executing tests after a
19747 'finish' from main runs into name conflicts with local names
19748 in __libc_start_main).
19749
19750 2000-12-07 Michael Snyder <msnyder@cygnus.com>
19751
19752 * gdb.base/finish.exp: New test for gdb's "finish" command.
19753 * gdb.base/return2.exp: New test for gdb's "return" command.
19754 * gdb.base/return2.c: New source file for above.
19755
19756 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19757
19758 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19759 * gdb.base/miscexprs.exp: Ditto.
19760 * gdb.base/pointers.exp: Ditto.
19761 * gdb.c++/derivation.exp: Ditto.
19762 * gdb.c++/local.exp: Ditto.
19763 * gdb.c++/namespace.exp: Ditto.
19764 * gdb.c++/overload.exp: Ditto.
19765 * gdb.c++/ref-types.exp: Ditto.
19766
19767 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19768
19769 * gdb.base/constvars.exp: Test result of "up" command.
19770 * gdb.base/miscexprs.exp: Ditto.
19771 * gdb.base/pointers.exp: Ditto.
19772 * gdb.base/scope.exp: Ditto.
19773 * gdb.c++/derivation.exp: Ditto.
19774 * gdb.c++/local.exp: Ditto.
19775 * gdb.c++/namespace.exp: Ditto.
19776 * gdb.c++/overload.exp: Ditto.
19777 * gdb.c++/ref-types.exp: Ditto.
19778
19779 2000-11-22 Michael Chastain <chastain@redhat.com>
19780
19781 * mips_pro.exp: Accept either "middle -> top -> main" or
19782 "middle -> main" in the backtrace, because gcc can optimize
19783 tail calls to jumps. Remove setup_xfail for the hppa case.
19784 Add a comment with the original warning messages from PR 3016,
19785 which was filed in 1993, to preserve them for posterity.
19786
19787 2000-11-17 Nick Duffek <nsd@redhat.com>
19788
19789 * lib/gdb.exp (gdb_test): Override timeout with board info.
19790
19791 2000-11-17 Nick Duffek <nsd@redhat.com>
19792
19793 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19794 the second kill and detach messages.
19795
19796 2000-11-17 Nick Duffek <nsd@redhat.com>
19797
19798 * configure.in: Add AC_EXEEXT.
19799 * configure: Regenerate.
19800 * Makefile.in (just-check): Export EXEEXT.
19801 * lib/gdb.exp ($EXEEXT): Import from environment.
19802 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19803 expect "maint dump-me" on Cygwin.
19804 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19805 $EXEEXT.
19806
19807 2000-11-17 Nick Duffek <nsd@redhat.com>
19808
19809 * gdb.base/break.exp: Test backtrace and finish from called
19810 function on all platforms, not just HP-UX.
19811
19812 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19813
19814 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19815 code from gdb_target_monitor, so it can be used independantly
19816 for gdbserver. Also comment out an unnecessary PUTS.
19817
19818 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19819
19820 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19821 * gdb.base/corefile.exp: Expect the message "Program is being
19822 debugged already" when we send the "corefile" command, since
19823 the preceeding gdb_load may have connected gdb to a remote target.
19824 * gdb.base/display.exp: Disable hardware watchpoints if new
19825 board info variable "no_hardware_watchpoints" is true.
19826 Replace single-letter commands with more readable ones.
19827 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19828 if new board info variable "no_hardware_watchpoints" is true.
19829 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19830 to see if stdio (printf) testing is possible.
19831 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19832 board info variable "no_hardware_watchpoints" is true. Use new
19833 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19834
19835 2000-11-13 Fernando Nasser <fnasser@redhat.com>
19836
19837 From Orjan Friberg <orjanf@axis.com>:
19838 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19839 in array print pattern match.
19840
19841 2000-11-09 Fernando Nasser <fnasser@redhat.com>
19842
19843 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19844 spelling "cancelled" to U.S. spelling "canceled" to match changes
19845 made to gdb.
19846 * gdb.c++/ovldbreak.exp: Ditto.
19847
19848 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19849
19850 * gdb.base/callfuncs.c (main): Moved to end of file, call
19851 t_double_values to initialize the FPU before inferior calls are made.
19852 * gdb.base/callfuncs.exp: Test for register preservation after calling
19853 inferior functions. Add tests for continuining, finishing and
19854 returning from a stop in a call dummy.
19855
19856 2000-10-24 Michael Snyder <msnyder@cygnus.com>
19857
19858 * gdb.base/commands.exp: Break up long lines, and re-indent.
19859
19860 2000-10-19 Michael Snyder <msnyder@cygnus.com>
19861
19862 * config/gdbserver.exp: Rewritten from the ground up, to make it
19863 compatible with the current dejagnu tree, and to make it work with
19864 the new "gdbserver" in libremote.
19865
19866 2000-10-16 Michael Snyder <msnyder@cygnus.com>
19867
19868 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19869 * gdb.base/varargs.exp: Skip entire test if no printf support.
19870 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19871 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19872
19873 2000-10-13 Michael Snyder <msnyder@cygnus.com>
19874
19875 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19876 no floating point support.
19877 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19878 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19879 * gdb.base/call-rt-st.exp: Ditto.
19880 * gdb.base/call-strs.exp: Ditto.
19881
19882 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19883
19884 * gdb.base/sizeof.c: include <stdio.h>.
19885
19886 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19887 'finish', otherwise uncaptured gdb_prompt would potentially
19888 throw remaining test points out of sync.
19889
19890 2000-07-26 Scott Bambrough <scottb@netwinder.org>
19891
19892 * gdb.base/recurse.exp: Run tests for all targets.
19893 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19894 gnu-oldld case on ARM.
19895 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19896 for ARM targets.
19897
19898 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19899
19900 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19901 * gdb.java/configure: Rebuild.
19902
19903 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19904
19905 * gdb.java/jv-exp.exp: New file.
19906
19907 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19908
19909 * configure: Rebuilt.
19910 * configure.in (configdirs): Add gdb.java.
19911 * gdb.java/jmisc.java: New file.
19912 * gdb.java/jmisc.exp: New file.
19913 * gdb.java/Makefile.in: New file.
19914 * gdb.java/configure: Rebuilt.
19915 * gdb.java/configure.in: New file.
19916 * lib/java.exp: New file.
19917
19918 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19919
19920 * gdb.base/exprs.exp: Test casts to a pointer including over and
19921 underflow.
19922
19923 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19924
19925 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
19926 and the compilers sizes.
19927
19928 2000-07-09 Nick Duffek <nsd@redhat.com>
19929
19930 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19931 (use_methods): New function.
19932 (main): Call use_methods().
19933 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19934 (do_tests): Call test_method_param_class.
19935
19936 2000-07-09 Nick Duffek <nsd@redhat.com>
19937
19938 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19939 spelling.
19940 (test_enums): New procedure. Move enum tests from end of script
19941 to here. Set breakpoint on function name instead of line number.
19942 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19943 (enums2): New marker function.
19944 (enums1): New function.
19945 (main): Call enums1(). Move enum tests to enums1().
19946
19947 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19948
19949 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19950 compile/link program. Update line numbers.
19951 * gdb.asm/d10v.inc: Define ``startup''.
19952 * gdb.asm/asmsrc1.s: Add definition of _start.
19953
19954 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19955
19956 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19957
19958 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19959
19960 * gdb.base/maint.exp: Add 'maint print architecture' item to output
19961 of 'help maint print' command.
19962
19963 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19964
19965 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19966 they use gdb_expect_list.
19967
19968 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19969
19970 * gdb.base/commands.exp: Use ``set remote
19971 memory-read-packet-size'' instead of ``set endian big'' to test
19972 long commands.
19973
19974 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
19975
19976 * gdb.c++/templates.exp (do_tests): Make all of these work under
19977 g++, and stop skipping them.
19978
19979 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19980 work under g++.
19981
19982 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19983 initialization.
19984
19985 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19986
19987 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19988 the regular expression: accept an (almost) arbitrary sequence of
19989 "frames-invalid" and "breakpoints-invalid" messages both before
19990 and after the "starting" message.
19991
19992 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19993
19994 * gdb.c++/local.exp: This test has never been known to work with g++.
19995
19996 2000-05-18 Michael Snyder <msnyder@cygnus.com>
19997
19998 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19999 Relax the regular expression a little, make it pass on Solaris 8.
20000
20001 2000-05-12 Kevin Buettner <kevinb@redhat.com>
20002
20003 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
20004 a call, do not require that gdb stop on the line after the call.
20005 Instead, it is permissible for gdb to stop on the line of the
20006 call itself.
20007
20008 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
20009
20010 * gdb.base/break.exp (bp on small function, optimized file):
20011 Add a second pass pattern. The behavior differs here between stabs
20012 and dwarf for one-line functions. Stabs preserves two line symbols
20013 (one before the prologue and one after) with the same line number,
20014 but dwarf regards these as duplicates and discards one of them.
20015 Therefore the address after the prologue (where the breakpoint is)
20016 has no exactly matching line symbol, and GDB reports the breakpoint
20017 as if it were in the middle of a line rather than at the beginning.
20018
20019 2000-05-08 Michael Snyder <msnyder@cygnus.com>
20020
20021 * gdb.base/interrupt.exp: Make "pass" message say "send"
20022 rather than "send_gdb" (for consistancy).
20023
20024 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20025
20026 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20027 * gdb.c++/templates.cc: Properly check for GCC version number.
20028 * lib/compiler.cc: Likewise
20029
20030 2000-04-28 Michael Snyder <msnyder@cygnus.com>
20031
20032 * gdb.base/break.exp: When compiled with -O2 optimization,
20033 gdb may not stop at the first line of main, due to code motion.
20034
20035 2000-04-26 Michael Snyder <msnyder@cygnus.com>
20036
20037 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20038 This test depends on parsing the printf output from the target.
20039 Since the sparclet stub doesn't do stdio, this will never work.
20040 * gdb.base/call-rt-st.exp: ditto.
20041 * gdb.base/call-strs: ditto.
20042
20043 2000-04-24 Michael Snyder <msnyder@cygnus.com>
20044
20045 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20046
20047 * gdb.base/ending-run.exp: After connecting to a remote target,
20048 but before running, the target will appear to be in a random
20049 location. Specify both a file and a line for breakpoints.
20050 Also, the function that calls main may be called 'init'
20051 rather than 'start'.
20052
20053 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20054
20055 * gdb.base/help.exp: Update output for add-symbol-file command.
20056
20057 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
20058
20059 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20060 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20061
20062 2000-04-07 J.T. Conklin <jtc@redback.com>
20063
20064 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20065
20066 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20067
20068 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20069
20070 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
20071 values that can be represented exactly.
20072 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20073 above change, and to not check against the directory part of the source
20074 file name.
20075 (step into print_long_arg_list): Likewise.
20076 (print print_small_structs from print_long_arg_list): Likewise.
20077 (print print_long_arg_list): Likewise.
20078
20079 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20080
20081 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
20082
20083 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20084
20085 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20086
20087 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
20088
20089 * gdb.base/commands.exp (deprecated_command_test): Add test for
20090 deprecate with no arguments.
20091
20092 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20093
20094 * gdb.base/break.exp: Add new test for setting breakpoints on
20095 optimized code so we can test breakpoints work even when function
20096 prologues may be optimized away
20097
20098 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20099
20100 From David Whedon <dwhedon@gordian.com>
20101 * gdb.base/commands.exp : Added command deprecator tests.
20102
20103 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
20104
20105 * gdb.base/help.exp: Added test for new apropos command.
20106
20107 2000-03-21 Kevin Buettner <kevinb@redhat.com>
20108
20109 * gdb.base/pointers.c (usevar): New function.
20110 (main): Make sure that global variables v_int_pointer2, rptr,
20111 and y are all referenced someplace in the program by calling
20112 usevar() on them. [Some linkers delete symbols which are
20113 never referenced. The space remains, but there's no way to
20114 get a (symbolic) handle on the variable from the debugger.]
20115
20116 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20117
20118 * gdb.base/printcmds.c: Add typedeffed arrays.
20119
20120 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
20121 procedure to test arrays that are typedef'd.
20122
20123 2000-03-13 James Ingham <jingham@leda.cygnus.com>
20124
20125 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
20126 the library directories.
20127
20128 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20129
20130 * configure.in (configdirs): Add sub directory gdb.mi.
20131 * configure: Re-generate.
20132
20133 * gdb.mi: New directory.
20134
20135 2000-02-25 Scott Bambrough <scottb@netwinder.org>
20136
20137 * gdb.base/long_long.exp: Correct test suite failure when printing
20138 a long long value as a double on ARM platforms.
20139
20140 2000-02-16 Jim Blandy <jimb@redhat.com>
20141
20142 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20143 default source file is set properly before running this test.
20144
20145 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20146
20147 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
20148 gdbtk/library directory, not in gdbtcl2.
20149
20150 2000-02-04 Jim Blandy <jimb@redhat.com>
20151
20152 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20153 backslash from regexp pattern.
20154
20155 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20156 procedure. Use it to run all the "continue to bp overloaded"
20157 tests. Note that this changes the names of the tests slightly.
20158 If the breakpoint hit message includes a hex PC value, because
20159 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20160 from the real source code, still consider that a pass.
20161
20162 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20163 XFAIL here if the breakpoint message contains a hex address. Note
20164 similar change on 1999-11-02.
20165
20166 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20167
20168 * gdb.base/ptype.exp: Establish a default source file before
20169 calling get_debug_format.
20170
20171 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20172
20173 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20174
20175 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20176
20177 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20178 of successive stepi commands -- while in the prologue we should see
20179 the function entry bracket.
20180
20181 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20182
20183 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20184 reach __change_mode() when stepping through the end of main().
20185
20186 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20187
20188 * gdb.base/default.exp: Fix expected pattern.
20189 * gdb.base/help.exp: Same.
20190
20191 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20192
20193 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
20194 Don't use xfail's because that affects only the following test.
20195
20196 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
20197 solaris or linux.
20198
20199 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20200
20201 2000-01-07 Michael Snyder <msnyder@cygnus.com>
20202
20203 * gdb.base/display.exp: Some yacc parsers like to say
20204 "A syntax error" rather than "A parse error". Accept both.
20205
20206 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20207
20208 * gdb.base/default.exp: Remove OS dependent string from "target
20209 remote" test.
20210 * gdb.base/help.exp: Same for "help target remote" test.
20211
20212 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20213
20214 From Jim Kingdon <kingdon@redhat.com>:
20215
20216 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
20217 prompt (cleanup rather than necessity, but still might keep output
20218 from spilling to next test).
20219
20220 2000-01-02 Fred Fish <fnf@cygnus.com>
20221
20222 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20223 AIX, which defines them in <sys/types.h>.
20224
20225 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
20226
20227 * gdb.base/default.exp: Match arm* etc instead of arm in "info
20228 float" test.
20229
20230 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
20231
20232 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
20233
20234 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20235 outermost frame disallowed".
20236
20237 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20238
20239 * gdb.base/setvar.exp: New tests for setting the value of a struct
20240 with a constant list.
20241
20242 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20243
20244 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20245 require the user to type a cast before setting the value of a struct.
20246
20247 1999-12-06 Jim Blandy <jimb@cygnus.com>
20248
20249 * gdb.base/default.exp: Expect the new 'info float' command on
20250 all i386 platforms.
20251
20252 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20253 LinuxThreads libraries that don't support debugging.
20254
20255 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20256
20257 * gdb.base/remote.c: Fill the buffer with truely random data.
20258 Change the buffer type to ``unsigned char'' to simplify size
20259 arithmetic.
20260
20261 * gdb.base/remote.exp: Reduce download numbers by one. Typical
20262 stub only handles 400-1 byte packets. Verify that the download
20263 worked.
20264
20265 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20266
20267 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20268 tests, using UNRESOLVED for the untested cases. Also, does not wait
20269 for a timeout if the prompt was received before a recognizable pattern.
20270
20271 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20272
20273 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20274
20275 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20276
20277 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
20278 watchpoints.
20279
20280 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
20281
20282 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20283
20284 * gdb.c++/local.exp: Be more flexible in recognizing local class
20285 name mangling. Don't allow horribly truncated method names.
20286 * gdb.c++/derivation.exp: Expect protected inheritance.
20287 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20288 * gdb.c++/virtfunc.exp: Likewise.
20289 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20290 when printing a nested enum.
20291
20292 1999-11-22 Jim Blandy <jimb@cygnus.com>
20293
20294 * gdb.base/step-test.exp: Properly await GDB's response to setting
20295 a breakpoint on the call to large_struct_by_value.
20296
20297 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20298 just because we have debug info for the `start' function.
20299
20300 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20301
20302 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20303 "Unknown signal" messages, which indicate (on LinuxThreads) that
20304 GDB doesn't know how to debug threads on this system. This is
20305 better than hanging while philosopher 0 dumps chatter into gdb.log.
20306
20307 1999-11-18 Tom Tromey <tromey@cygnus.com>
20308
20309 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20310
20311 1999-11-18 Fred Fish <fnf@cygnus.com>
20312
20313 * gdb.base/coremaker2.c: Add sample program for generating
20314 cores that is more self contained than coremaker.c. Eventually
20315 I'll add more code to this and tie it into the testsuite.
20316
20317 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20318
20319 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20320
20321 1999-11-10 Jimmy Guo <guo@cup.hp.com>
20322
20323 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
20324 from $srcdir/lib/.
20325 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
20326 and gdb.c++/.
20327
20328 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20329
20330 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
20331 'continue with watch' test point.
20332
20333 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20334
20335 Merged from p2linux-990323-branch:
20336
20337 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20338
20339 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20340
20341 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
20342 {limit,fixed}''. Test ``set download-write-size''.
20343
20344 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20345
20346 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
20347 gdb_expect_list.
20348
20349 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20350
20351 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20352
20353 1999-11-03 Mark Salter <msalter@cygnus.com>
20354
20355 * gdb.base/break.exp: Fix "stub continue" pattern.
20356
20357 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20358
20359 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20360
20361 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20362
20363 * gdb.base/display.exp ("finish"): Add timeout clause.
20364
20365 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20366 plain prompt clause, so this doesn't have to time out in order to
20367 fail.
20368
20369 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
20370 breakpoint hit messages include an address.
20371
20372 * gdb.base/display.exp: Don't forget to escape parens in regular
20373 expressions. Unix regexp notatation sucks.
20374
20375 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20376
20377 * gdb.base/annota1.exp: Test for annotate-signalled: change output
20378 order for 'signalled' message.
20379
20380 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20381
20382 From Jimmy Guo <guo@cup.hp.com>:
20383 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20384 * gdb.base/annota1.c: Add code for tests to work with.
20385
20386 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20387
20388 * gdb.base/remote.exp: New test for remote downloading settings.
20389 * gdb.base/remote.c: New file with large .data.
20390
20391 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20392
20393 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20394 for LinuxThreads support, merged from the Code Fusion branch.
20395
20396 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20397
20398 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
20399 containing exp_continue into a while within an expect. Don't
20400 attempt a start more than three times. Check return value from
20401 gdb_load.
20402
20403 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20404
20405 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
20406 a pass case.
20407
20408 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
20409
20410 * gdb.base/break.c (main): Added a statement that we can step
20411 off of.
20412 * gdb.base/break.exp: Added tests for setting a breakpoint
20413 at an offset and stepping onto a breakpoint.
20414
20415 1999-10-01 Fred Fish <fnf@cygnus.com>
20416
20417 * gdb.base/help.exp (help add-symbol-file): Update to match current
20418 gdb output.
20419
20420 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20421
20422 * gdb.base/break.exp: Code locations are in hex, don't forget!
20423 (For HP-UX.)
20424
20425 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20426
20427 * condbreak.exp: Use break.c as test program.
20428 * condbreak.c: Remove, redundant with break.c.
20429
20430 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20431
20432 * config/monitor.exp (gdb_target_monitor): Disable X- and
20433 Z-packets if the target needs it.
20434
20435 1999-09-13 James Ingham <jingham@leda.cygnus.com>
20436
20437 * gdb.c++/overload.exp: Added tests for listing overloaded
20438 functions with function pointers in the arg, explicitly calling
20439 out the version you want.
20440
20441 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20442
20443 * long_long.exp: Add variations of test cases that work for
20444 targets with 16-bit ints and 32-bit doubles.
20445
20446 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20447
20448 * break.c (main): Compare a possibly-uninitialized argc with an
20449 unlikely value that fits in 16 bits.
20450
20451 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20452
20453 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20454 0xfeeb, don't want negative numbers if ints are 16 bits.
20455
20456 * lib/gdb.exp (skip_cplus_tests): New proc.
20457 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
20458 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20459 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20460 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20461 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20462 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20463 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20464 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
20465
20466 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20467
20468 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20469
20470 * gdb.base/corefile.exp (up): Allow a parameter to appear
20471 in the frame that we're going up to.
20472
20473 From Jim Blandy <jimb@cygnus.com>:
20474
20475 * gdb.base/default.exp (info float): Expect some output now.
20476
20477 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20478 returning floating-point values to fail on the x86.
20479 * gdb.base/callfwmall.exp (do_function_calls): Same.
20480
20481 * gdb.base/list.exp (test_listsize): Correct expectations for
20482 listing line 1 with listsize 2. Also, listing a single line
20483 works now, as does listing three lines. [Kevin's note: There
20484 were a number of other cases fixed too where the expectations
20485 differed...]
20486
20487 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20488
20489 * gdb.base/selftest.exp: Add case for when version prints as
20490 constant string instead of char pointer.
20491
20492 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20493
20494 * gdb.base/ending-run.exp: Add Solaris case for what happens when
20495 stepping out of main.
20496
20497 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20498 G++ used.
20499
20500 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
20501 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
20502
20503 * gdb.c++/ovldbreak.exp: Update match string in test that
20504 includes a warning of multiple breakpoints.
20505
20506 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20507
20508 * gdb.base/display.exp: Improve precision of step-after-finish
20509 added yesterday.
20510
20511 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
20512 test.
20513
20514 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20515 configs when using G++, not just hppa*.
20516
20517 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20518
20519 * gdb.base/async.c: New file.
20520 * gdb.base/async.exp: New file.
20521
20522 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20523
20524 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20525 PA64.
20526
20527 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20528
20529 * gdb.base/display.exp: "finish" can leave us mid-line on many
20530 targets, deal with it. Add a small constant to main, instead of
20531 1000 since main+1000 may not be a valid address in the target.
20532
20533 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20534 on hpux11.
20535
20536 * gdb.base/attach.exp: Handle another hpux11 error message variant
20537 when attaching to a process that does not exist.
20538
20539 1999-08-19 J.T. Conklin <jtc@redback.com>
20540
20541 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
20542 characters in 'continue to 1241' test.
20543
20544 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20545
20546 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20547 stop in print_long_arg_list, define and use a whitespace
20548 variable in print_small_structs test, add an XFAIL for Solaris.
20549 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20550 interested enough to fix.
20551
20552 1999-08-13 Keith Seitz <keiths@cygnus.com>
20553
20554 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20555 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20556 proc knows about targets other than the natives.
20557 (test_assign): Use "gdb_run_cmd" to "run" the target.
20558 Check that we've actually hit the breakpoint at main.
20559 When we attempt to assign a value to a local variable, check
20560 that the variable is in the current scope, i.e., don't use
20561 a test with an empty result.
20562
20563 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20564
20565 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
20566 command.
20567
20568 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20569
20570 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20571 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20572 gdb.compat, gdb.threads-hp.
20573 gdb.hp/configure, gdb.hp/configure.in: New files.
20574 gdb.hp/Makefile.in: Recurse into new subdirs.
20575 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20576 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20577 in object files.
20578 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20579
20580 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20581
20582 * gdb.base/display.exp: Help expect by putting a newline in the
20583 funky printf, remove a bogus p/a test.
20584
20585 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20586
20587 * gdb.base/display.exp: Make sure that when we say 'run', we are
20588 connected to the target. This is necessary when running not
20589 natively.
20590
20591 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20592
20593 * gdb.base/step-test.exp: Removed some extraneous messages.
20594
20595 * gdb.base/long_long.exp: Don't run memory examination tests
20596 on little-endian targets (they will need a different set of
20597 results to match).
20598
20599 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20600
20601 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20602 until somebody decides to fix GDB.
20603
20604 * gdb.base/long_long.c: Stop compiler complaint by specifying long
20605 constant as "ULL".
20606 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20607 matches for a couple x/2 commands.
20608
20609 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20610
20611 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20612 by merging in ref-types2 tests.
20613 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20614
20615 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20616 * gdb.c++/Makefile.in: Add standard actions.
20617 (EXECUTABLES): Rename from PROGS, update list.
20618 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20619 from gdb.hp.
20620 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20621 foo and bar locals.
20622 * gdb.c++/anon-union.exp: Fix tests to match.
20623 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20624 expect matches to handle output variations.
20625 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20626 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
20627 output, add HP alternatives for new and delete prints.
20628 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20629 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20630 * gdb.c++/demangle.exp: Use $style when reporting failure.
20631 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20632 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20633 match alternatives.
20634 * gdb.c++/local.exp: Add match alternatives or xfails for HP
20635 compilers.
20636 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20637 * gdb.c++/method.exp: Add match alternatives.
20638 * gdb.c++/misc.cc: Add bool types.
20639 * gdb.c++/misc.exp: Add tests for bool types.
20640 * gdb.c++/overload.exp: Add xfails.
20641 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20642 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20643 add some more template parameter tests (only for HP currently).
20644 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20645 * gdb.c++/virtfunc.cc: Add return type and value for main.
20646 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20647 match alternatives.
20648
20649 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20650
20651 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20652
20653 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20654
20655 * gdb.base/signals.exp: Don't expect getting a backtrace from
20656 within a signal handler to fail on Linux.
20657
20658 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20659
20660 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20661 * lib/gdb.exp: Remove some gratuitious semicolons.
20662 (delete_breakpoints): Increase timeout.
20663 (gdb_expect): Add -notransfer option.
20664 (gdb_test): Use -notransfer option.
20665 (get_compiler_info): Add f77 case.
20666 (get_compiler): New proc, split out from gdb_preprocess, add f77
20667 case.
20668 (gdb_preprocess): Call get_compiler.
20669
20670 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20671 * gdb.base/attach.exp, gdb.base/display.exp,
20672 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20673 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20674 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20675 third arg to gdb_test.
20676 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20677 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20678 HP-UX xfails, add others.
20679 * gdb.base/completion.exp: Reflect name change of self-test.
20680 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20681 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20682 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20683 HP failure number.
20684 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20685 useless HP-UX 10.30 references.
20686 * gdb.base/maint.exp: Loosen matches.
20687 * gdb.base/pointers.c (main): Declare more_code.
20688 * gdb.base/pointers.exp: Match on output of a `next'.
20689 * gdb.base/structs.c: Add prototypes.
20690 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20691 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20692
20693 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20694
20695 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20696 command.
20697
20698 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20699
20700 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20701 Fix run to main failures. Watchpoint can be hardware watchpoint.
20702
20703 * gdb.base/annota1.exp: Clean up some more, in case printf has
20704 debug info. Deal with lack of signal hanlder info in stack.
20705
20706 From Jim Kingdon <kingdon@redhat.com>:
20707 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20708
20709 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20710
20711 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20712 gdb.base/foll-vfork.exp: Don't run for crosses.
20713
20714 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20715
20716 * gdb.base/configure.in: Check for gdbvars.exp instead of
20717 a1-selftest.exp.
20718 * gdb.base/configure: Re-generate.
20719
20720 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20721
20722 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20723 in trying to run first and name is too long.
20724
20725 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20726 pointers2.c and pointers2.exp, respectively.
20727 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20728 doschk happier.
20729
20730 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20731
20732 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20733 callfuncs2.c and callfuncs2.exp.
20734
20735 * gdb.base/list.exp: Remove mistaken xfails.
20736 * gdb.base/list0.h: Add optional prototypes.
20737
20738 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20739
20740 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20741 calling malloc.
20742 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20743 * ptype.exp: Move test for get_debug_format to before its first
20744 use.
20745
20746 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20747
20748 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20749 * gdb.base/annota2.cc, annota2.exp: Move from here.
20750 * gdb.c++/annota2.cc, annota2.exp: To here.
20751 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20752
20753 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20754
20755 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20756 a consistent format.
20757
20758 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20759
20760 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20761 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20762 HP compilers, also set the globals $true and $false.
20763
20764 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20765 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20766 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20767 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20768 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20769 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20770 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20771 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20772 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20773 whatis.c} Add C++ compatible function definitions and return
20774 types, add includes for library functions.
20775 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20776 * gdb.base/step-test.c (myglob): Rename from glob.
20777 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20778 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20779 files, move here from gdb.hp.
20780 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20781 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20782 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20783 Adjust line numbers in regexps.
20784
20785 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20786 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20787 instead of 0/1.
20788
20789 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20790 foll-vfork.exp: New files, move here from gdb.hp.
20791 * gdb.base/page.exp: New file, test of pagination command.
20792
20793 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20794 recursion test.
20795 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20796
20797 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20798 gdb.base/solib.exp: Fix compiler invocation process.
20799
20800 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20801 HP-UX 11, turn off overload resolution explicitly.
20802 * gdb.base/commands.exp: Set argument list explicitly, add
20803 watchpoint test.
20804 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20805 them work.
20806 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20807 expressions properly.
20808 * gdb.base/corefile.exp: Loosen the match slightly.
20809 * gdb.base/default.exp: Allow "Error accessing memory" message
20810 also.
20811 * gdb.base/display.exp: Skip over x/0 j if PA64.
20812 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20813 * gdb.base/interrupt.exp: Ditto.
20814 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20815 in use.
20816 * gdb.base/list.exp: Add xfails for HP-UX.
20817 * gdb.base/long_long.exp: Refine some of the numeric matches.
20818 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20819 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20820 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20821 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20822 * gdb.base/ptype.exp: Succeed on more varieties of output.
20823 * gdb.base/scope.exp: Add xfails for HP-UX.
20824 * gdb.base/sect-cmd.exp: Add more cases.
20825 * gdb.base/setvar.exp: Add xfails for HP-UX.
20826 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20827 * gdb.base/signals.exp: Match on void symbolically.
20828 * gdb.base/step-test.exp: Add case for PA64.
20829 * gdb.base/term.exp: Add exit and restart.
20830 * gdb.base/twice.exp: Clean up after self.
20831 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20832 * gdb.base/whatis.exp: Allow more ways to pass tests.
20833
20834 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20835 no longer useful.
20836
20837 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20838
20839 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
20840 list of patterns.
20841 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20842 print_double_array(double_array)", "continuing to breakpoint
20843 1018", "print print_double_array(array_d)" and "continuing to
20844 1034" tests.
20845
20846 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20847
20848 * Makefile.in: Add empty html and install-html targets.
20849
20850 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20851
20852 * config/mt-*: Remove, these haven't been used since 1996.
20853
20854 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20855
20856 * gdb.base/call-strs.c, gdb.base/ending-run.c,
20857 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20858 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20859
20860 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20861
20862 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20863 simpler match case for the ptype of the big class.
20864
20865 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20866
20867 * gdb.exp: Fix test for gdb_prompt existence.
20868
20869 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20870
20871 * gdb.exp (gdb_test): Add fail after calls to perror.
20872
20873 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20874
20875 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20876
20877 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20878
20879 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20880
20881 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20882
20883 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
20884 malloc() is linked in.
20885
20886 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20887
20888 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20889 step at end.
20890
20891 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20892
20893 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20894
20895 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20896
20897 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20898
20899 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20900 * gdb.base/mips_pro.exp: Likewise.
20901
20902 1999-06-02 Keith Seitz <keiths@cygnus.com>
20903
20904 * gdb.c++/templates.cc: Change all "new" operators to throw
20905 an exception.
20906 * gdb.c++/cplusfuncs.cc: Likewise.
20907
20908 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20909
20910 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20911
20912 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20913 * gdb.base/ending-run.exp: When stepping out of main, accept a
20914 step into an arbitrary assembler file.
20915
20916 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20917
20918 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20919 "breakpoint-invalid" to be printed.
20920 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20921 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20922 * gdb.base/annota2.cc: Initialize a.x to 0.
20923
20924 1999-05-17 Keith Seitz <keiths@cygnus.com>
20925
20926 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20927 when "skip_float_tests" set.
20928 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20929 "print print_ten_doubles", and "step into print_long_arg_list".
20930 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20931 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20932 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20933 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20934 "skip_float_tests" is set.
20935 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20936 when "skip_float_tests" set.
20937
20938 1999-05-06 Keith Seitz <keiths@cygnus.com>
20939
20940 * gdb.base/annota2.cc: Include stdio.h.
20941
20942 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20943
20944 * gdb.base/crossload.exp: Remove, this has been disabled ever
20945 since BFD stopped including all targets, and cross-GDB gets
20946 plenty of testing anyway.
20947 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20948 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20949 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20950 * gdb.base/README: Remove, was doc for this.
20951 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20952 needed.
20953
20954 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20955
20956 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20957 output.
20958
20959 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20960 * gdb.base/annota2.exp: New file. More annotation tests.
20961 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20962 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20963
20964 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
20965
20966 * config/cfdbug.exp: New file.
20967
20968 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20969
20970 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20971 Marcus Daniel's and Dale Hawkins's demangler crashes.
20972
20973 * gdb.c++/demangle.exp (test_gnu_style_demangling,
20974 test_lucid_style_demangling, test_arm_style_demangling,
20975 test_hp_style_demangling): Try Tom Tromey's core-dumping
20976 identifier under each demangling style.
20977
20978 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20979
20980 * gdb.c++/demangle.exp: Include the current demangling style
20981 in all test names.
20982 (current_demangling_style): New global variable.
20983 (set_demangling_style, test_demangling_core, test_demangling,
20984 test_demangling_exact): New functions.
20985 (test_gnu_style_demangling, test_lucid_style_demangling,
20986 test_arm_style_demangling, test_hp_style_demangling): Use those,
20987 instead of calling gdb_test and gdb_test_exact directly.
20988 (catch_demangling_errors): New function, which reports errors
20989 signalled by the demangling test functions in an orderly way.
20990 (do_tests): Use catch_demangling_errors.
20991
20992 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20993
20994 * gdb.base/signals.exp (test_handle_all_print): Use () for
20995 grouping in expressions, not {}.
20996
20997 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
20998 initialized yet.
20999
21000 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
21001
21002 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
21003 are listed.
21004
21005 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21006
21007 * gdb.stabs/weird.exp: Test for CC being defined before
21008 looking at its value.
21009
21010 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21011
21012 * gdb.base/call-ar-st.exp: Remove stray '#'.
21013 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21014 "short int" and "long int".
21015 * gdb.c++/overload.cc: Cast the string added in the previous
21016 change, to mollify finicky HP compiler.
21017 * gdb.hp/reg-test.exp (testfile): Fix file name.
21018 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
21019
21020 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21021 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21022 alternate form of enum ptype.
21023
21024 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21025
21026 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21027 * gdb.hp/*.exp: Change all to run compiler probe only after
21028 passing skip_hp_tests, so as not to waste time on guaranteed
21029 failure.
21030
21031 * gdb.c++/overload.cc: Pass string instead of char addr, always
21032 init ccpfoo.
21033 * gdb.c++/templates.cc: Fix syntax error.
21034
21035 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21036
21037 * gdb.base/commands.exp: Add test for correct position of '>'
21038 when issuing the 'commands' command after a 'while' or 'if'
21039 command.
21040
21041 1999-03-18 James Ingham <jingham@cygnus.com>
21042
21043 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21044
21045 * gdb.c++/method.exp: It was testing an uninitialized int on the
21046 stack and assuming it was positive.
21047
21048 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21049
21050 * gdb.base/step-test.exp: Catch a case where finish is broken and
21051 keep it from killing the rest of the tests.
21052 Use gdb_continue_to_end.
21053
21054 * gdb.base/sigall.exp: use gdb_continue_to_end.
21055
21056 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21057
21058 * gdb.base/display.exp: use runto_main, not run.
21059
21060 * gdb.base/default.exp: Check for the current error message in the
21061 r abbreviation test.
21062 Add strongarm to the targets that know info float.
21063
21064 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
21065 run which doesn't work with monitors.
21066
21067 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21068
21069 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21070
21071 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
21072 program. Traps the case (in Cygmon) when the program never really
21073 exits. Same as Mark's continue_to_exit, but I had put it in a lot
21074 more places, so I used my name. Sorry Mark...
21075
21076 * config/monitor.exp (gdb_target_monitor): added another
21077 target_info parameter: remotebinarydownload. This will set the
21078 remotebinarydownload flag if this is causing some boards trouble.
21079
21080 1999-03-18 Mark Salter <msalter@cygnus.com>
21081
21082 * lib/gdb.exp (continue_to_exit): New function.
21083
21084 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21085 * gdb.base/ending-run.exp: Ditto.
21086 * gdb.base/step-test.exp: Ditto.
21087
21088 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21089
21090 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21091 (suggested by Art Haas <ahaas@neosoft.com>).
21092
21093 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21094
21095 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
21096
21097 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21098
21099 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
21100 descriptions of types (short unsigned int vs unsigned short, etc).
21101
21102 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21103
21104 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21105 a call to strlen; sometimes we do have sources.
21106
21107 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21108
21109 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
21110 character, so GDB won't print garbage after its end.
21111
21112 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21113 breakpoint there instead. Sometimes GCC emits memcpy to handle
21114 the large structures being passed by value, so we step into that
21115 instead of sum_array_print, which obscures what we're really testing.
21116 * gdb.base/step-test.exp: However, we do want a test that notices
21117 the bizarre steps into memcpy, so do that here. Add check for
21118 stepping into function calls that pass large structures by value.
21119 ("Is that a noun clause, or are you just happy to see me?")
21120 Remove all references to specific line numbers.
21121 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21122 New type and function.
21123 (main): Call large_struct_by_value, passing it a large struct by value.
21124 * lib/gdb.exp (gdb_get_line_number): New function.
21125
21126 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21127 more portable.
21128
21129 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21130
21131 * lib/gdb.exp: Doc fixes.
21132
21133 1999-03-05 Nick Clifton <nickc@cygnus.com>
21134
21135 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
21136
21137 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21138
21139 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
21140 commands. They're not germane to this test, and they don't work
21141 that way on remote targets.
21142
21143 1999-03-01 James Ingham <jingham@cygnus.com>
21144
21145 * Changelog entries merged over from gdb development branch.
21146
21147 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21148
21149 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21150 for outputting results of test run.
21151
21152 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
21153
21154 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
21155
21156 1999-02-25 Felix Lee <flee@cygnus.com>
21157
21158 * lib/gdb.exp (debug_format): initialize
21159
21160 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21161
21162 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21163 * gdb.base/call-rt-st.c: Ditto.
21164
21165 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21166
21167 * gdb.threads/pthreads.exp (horiz): New variable.
21168 (test_startup): Fix regexps that capture thread numbers.
21169
21170 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21171
21172 * gdb.base/smoke.exp: Disambiguate two test case names (both
21173 called ``print'').
21174
21175 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21176
21177 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
21178 compilation.
21179
21180 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21181
21182 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21183 actual output formatting.
21184 * gdb.base/smoke.exp: GDB removes leading 0's.
21185 * gdb.base/volatile.exp: Don't check type of remuneration;
21186 that variable is no longer defined in constvars.c.
21187 * gdb.base/step-test.c (main): Exit with explicit exit code.
21188 * gdb.base/step-test.exp: Remove two nexti checks--they are
21189 not portable.
21190
21191 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21192
21193 * gdb.base/help.exp ("help delete display"): Fix test to match
21194 gdb's output.
21195
21196 * gdb.base/long_long.c (known_types): Initialize values to zero.
21197 * gdb.base/long_long.exp: Step one more line
21198 so 'dec' is initialized in "get to known place". GDB removes
21199 leading zeros. Explicitly ask for hex formatting. Use
21200 unique test case names.
21201
21202 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21203
21204 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
21205
21206 * gdb.c++/method.exp: Add missing close brace.
21207
21208 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21209
21210 * gdb.base/maint.exp: Use 'set height 0' to disable page
21211 prompting, not 'set height 400'.
21212
21213 Fix a bunch of timeouts.
21214 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21215 four separate tests, so expect doesn't take forever to match a ton
21216 of text against a regexp with lots of .* forms.
21217 ("maint print psymbols", "maint print symbols"): Make some of
21218 these greps more selective, so that expect doesn't try to wade
21219 through huge piles of output and time out.
21220
21221 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21222
21223 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
21224 tests: one which doesn't expect shlib events to be reported, and
21225 another which does, but is XFAIL for all platforms other than
21226 HP/UX.
21227
21228 * gdb.base/break.exp: Teach the test suite that the `catch
21229 fork', `catch vfork', and `catch exec' commands produce error
21230 messages on platforms that don't provide these features.
21231
21232 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21233
21234 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
21235 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21236 (shortening names from solib_threshold.exp etc), won't run on
21237 anything but HP-UX for the foreseeable future.
21238 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
21239 reflect move.
21240
21241 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21242
21243 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21244 gdb.trace/Makefile.in (clean): Remove all test executables.
21245
21246 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21247
21248 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21249 successfully re-sets breakpoints in shared libraries.
21250 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21251
21252 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21253
21254 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21255 and compiled w/o GCC.
21256
21257 * gdb.hp/watch-cmd.exp: ditto.
21258
21259 * gdb.hp/watch-hp.exp: ditto.
21260
21261 * gdb.hp/xdb1.exp: ditto.
21262
21263 * gdb.hp/xdb2.exp: ditto.
21264
21265 * gdb.hp/dbx.exp: ditto.
21266
21267 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21268
21269 * constvars.c: Remove C++-isms.
21270 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
21271 with GCC.
21272
21273 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21274
21275 The following changes are part of the HP merge.
21276
21277 * gdb.base/break.exp: new tests to verify that catchpoints for
21278 fork, vfork, and exec don't trigger inappropriately.
21279
21280 * gdb.base/opaque.exp: compile one file at a time, then link.
21281
21282 * gdb.base/signals.exp: be more restrictive about which hppa
21283 systems receive a setup_xfail. new tests.
21284
21285 * gdb.base/solib_threshold.build: new file.
21286 * gdb.base/solib_threshold.exp: new file.
21287 * gdb.base/solib_threshold.link_opts: new file.
21288 * gdb.base/solib_threshold.mk: new file.
21289 * gdb.base/gen_solib_threshold.c: new file.
21290
21291 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21292 tests. New tests for enums inside classes.
21293
21294 * gdb.c++/compiler.cc: indicate support of template debugging.
21295
21296 * gdb.c++/demangle.exp: run hp style demangling tests.
21297
21298 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21299 tests.
21300
21301 * gdb.c++/misc.cc: changes to support new tests.
21302
21303 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21304 to support new tests.
21305
21306 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21307 gcc, then skip these tests.
21308
21309 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21310
21311 The following files are part of the HP merge; some had longer
21312 names at HP, but have been renamed to be no more than 14
21313 characters in length.
21314
21315 * gdb.hp/ambiguous.cc: new file.
21316 * gdb.hp/ambiguous.exp: new file.
21317 * gdb.hp/attach.exp: new file.
21318 * gdb.hp/attach2.exp: new file.
21319 * gdb.hp/classes-hp.exp: new file.
21320 * gdb.hp/ctti.exp: new file.
21321 * gdb.hp/ctti-add.cc: new file.
21322 * gdb.hp/ctti-add1.cc: new file.
21323 * gdb.hp/ctti-add2.cc: new file.
21324 * gdb.hp/ctti-add3.cc: new file.
21325 * gdb.hp/dbx.exp: new file.
21326 * gdb.hp/exception.cc: new file.
21327 * gdb.hp/exception.exp: new file.
21328 * gdb.hp/foll-exec.c: new file.
21329 * gdb.hp/foll-exec.exp: new file.
21330 * gdb.hp/foll-fork.c: new file.
21331 * gdb.hp/foll-fork.exp: new file.
21332 * gdb.hp/foll-vfork.c: new file.
21333 * gdb.hp/foll-vfork.exp: new file.
21334 * gdb.hp/inherit-hp.exp: new file.
21335 * gdb.hp/more-steps.exp: new file.
21336 * gdb.hp/namespace.cc: new file.
21337 * gdb.hp/namespace.exp: new file.
21338 * gdb.hp/optimize.exp: new file.
21339 * gdb.hp/pxdb.c: new file.
21340 * gdb.hp/pxdb.exp: new file.
21341 * gdb.hp/quicksort.exp: new file.
21342 * gdb.hp/reg-test.exp: new file.
21343 * gdb.hp/reg-test.s: new file.
21344 * gdb.hp/sized-enum.c: new file.
21345 * gdb.hp/sized-enum.exp: new file.
21346 * gdb.hp/start-stop.exp: new file.
21347 * gdb.hp/templ-hp.cc: new file.
21348 * gdb.hp/templ-hp.exp: new file.
21349 * gdb.hp/thr-lib.c: new file.
21350 * gdb.hp/thr-lib.exp: new file.
21351 * gdb.hp/thr-lib.h: new file.
21352 * gdb.hp/thr-liblib.c: new file.
21353 * gdb.hp/virtfun-hp.c: new file.
21354 * gdb.hp/virtfun-hp.exp: new file.
21355 * gdb.hp/watch-cmd.exp: new file.
21356 * gdb.hp/watch-hp.exp: new file.
21357 * gdb.hp/xdb1.exp: new file.
21358 * gdb.hp/xdb2.exp: new file.
21359 * gdb.hp/xdb3.exp: new file.
21360
21361 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21362
21363 The following files are part of the HP merge; some had longer
21364 names at HP, but have been renamed to be no more than 14
21365 characters in length.
21366
21367 * gdb.base/ss.h: new file.
21368 * gdb.base/call-ar-st.c: new file.
21369 * gdb.base/call-ar-st.exp: new file.
21370 * gdb.base/call-rt-st.c: new file.
21371 * gdb.base/call-rt-st-exp: new file.
21372 * gdb.base/call-strs.exp: new file.
21373 * gdb.base/ena-dis-br.exp: new file.
21374 * gdb.base/environ.exp: new file.
21375 * gdb.base/long_long.exp: new file.
21376 * gdb.base/sect-cmd.exp: new file.
21377 * gdb.base/shlib-cl2.exp: new file.
21378 * gdb.base/smoke.exp: new file.
21379 * gdb.base/so-impl-ld.c: new file.
21380 * gdb.base/so-impl-ld.exp: new file.
21381 * gdb.base/so-indr-cl.c: new file.
21382 * gdb.base/so-indr-cl.exp: new file.
21383 * gdb.base/varargs.exp: new file.
21384 * gdb.base/volatile.exp: new file.
21385 * gdb.base/whatis-exp.exp: new file.
21386 * gdb.base/display.exp: new file.
21387 * gdb.c++/derivation.exp: new file.
21388 * gdb.c++/local.exp: new file.
21389 * gdb.c++/member-ptr.exp: new file.
21390 * gdb.c++/overload.exp: new file.
21391 * gdb.c++/ovldbreak.exp: new file.
21392 * gdb.c++/ref-types.exp: new file.
21393 * gdb.c++/ref-types2.exp: new file.
21394 * gdb.c++/userdef.exp: new file.
21395
21396 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21397
21398 * gdb.base/default.exp: Reflect wording change in remote.c.
21399
21400 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
21401
21402 * gdb.base/help.exp: Update to reflect current text.
21403
21404 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21405
21406 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21407 they're stack variables and contain garbage.
21408 * gdb.c++/anon-union.exp: new file.
21409
21410 The following changes were made by David Taylor
21411 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21412 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21413 in changes by HP.
21414
21415 * gdb.base/bitops.exp: new file.
21416 * gdb.base/default.exp: change expected messages for catch and
21417 info catch tests to reflect HP merge changes.
21418 * gdb.base/enable-disable-break.exp
21419 * gdb.base/ending-run.c: new file.
21420 * gdb.base/long_long.c: new file.
21421 * gdb.base/maint.exp: new file.
21422 * gdb.base/pointers2.exp: new file.
21423 * gdb.base/shlib-call2.exp: new file.
21424 * gdb.base/solib.exp: new file.
21425 * gdb.base/step-test.c: new file.
21426 * gdb.c++/anon-union.cc: new file.
21427 * gdb.c++/local.cc: new file.
21428 * gdb.c++/member-pointer.cc: new file.
21429 * gdb.c++/method.cc: new file.
21430 * gdb.c++/ref-types.cc: new file.
21431 * gdb.c++/ref-types2.cc: new file.
21432 * gdb.c++/userdef.cc: new file.
21433
21434 * gdb.base/scope.exp: compile one file at a time, then link.
21435 * gdb.base/langs.exp: ditto.
21436 * gdb.base/list.exp: ditto.
21437
21438 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21439
21440 The following changes were made by David Taylor
21441 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21442 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21443 in changes by HP.
21444
21445 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21446 skip tests. When compiling pass c++ flag to gdb_compile.
21447 * gdb.c++/
21448
21449 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21450 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21451 (skip_hp_tests): new function.
21452 (gdb_preprocess): new function.
21453
21454 * configure.in (hpdir): decide whether to configure gdb.hp.
21455 * configure: regenerated.
21456
21457 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21458 to delete on clean.
21459 (EXECUTABLES): update to reflect new additions.
21460 * gdb.base/commands.exp: update message expected.
21461 * gdb.base/default.exp: add copyright notice.
21462 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21463 * gdb.base/help.exp: update messages to reflect current text.
21464 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21465 targets for recurse tests.
21466 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21467 skip this file.
21468
21469 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21470 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21471 compilation.
21472 * gdb.c++/misc.exp: ditto.
21473 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21474 run the tests. tell gdb_compile that it's a c++ compilation.
21475
21476 * gdb.threads/pthreads.exp: fix typo in message.
21477
21478 * gdb.base/all-bin.exp: new file.
21479 * gdb.base/arithmet.exp: new file.
21480 * gdb.base/assign.exp: new file.
21481 * gdb.base/completion.exp: new file.
21482 * gdb.base/cond-expr.exp: new file.
21483 * gdb.base/condbreak.exp: new file.
21484 * gdb.base/define.exp: new file.
21485 * gdb.base/dollar.exp: new file.
21486 * gdb.base/environment.exp: new file.
21487 * gdb.base/eval-skip.exp: new file.
21488 * gdb.base/jump.exp: new file.
21489 * gdb.base/logical.exp: new file.
21490 * gdb.base/pointers.exp: new file.
21491 * gdb.base/relational.exp: new file.
21492 * gdb.base/section_command.exp: new file.
21493 * gdb.base/whatis-expr.exp: new file.
21494
21495 * gdb.base/all-types.c: new file.
21496 * gdb.base/call-array-struct.c: new file.
21497 * gdb.base/call-return-struct.c: new file.
21498 * gdb.base/call-strings.c: new file.
21499 * gdb.base/callfuncs2.c: new file.
21500 * gdb.base/condbreak.c: new file.
21501 * gdb.base/constvars.c: new file.
21502 * gdb.base/display.c: new file.
21503 * gdb.base/int-type.c: new file.
21504 * gdb.base/jump.c: new file.
21505 * gdb.base/miscexprs.c: new file.
21506 * gdb.base/pointers.c: new file.
21507 * gdb.base/pointers2.c: new file.
21508 * gdb.base/shmain.c: new file.
21509 * gdb.base/shr1.c: new file.
21510 * gdb.base/shr2.c: new file.
21511 * gdb.base/solib.c: new file.
21512 * gdb.base/solib1.c: new file.
21513 * gdb.base/solib2.c: new file.
21514 * gdb.base/varargs.c: new file.
21515 * gdb.c++/derivation.cc: new file.
21516 * gdb.c++/overload.cc: new file.
21517 * gdb.c++/ovldbreak.cc: new file.
21518 * gdb.hp/attach.c: new file.
21519 * gdb.hp/attach2.c: new file.
21520 * gdb.hp/average.c: new file.
21521 * gdb.hp/compiler.c: new file.
21522 * gdb.hp/compiler.cc: new file.
21523 * gdb.hp/execd-program.c: new file.
21524 * gdb.hp/follow-exec.c: new file.
21525 * gdb.hp/follow-fork.c: new file.
21526 * gdb.hp/follow-vfork-and-exec.c: new file.
21527 * gdb.hp/misc-hp.cc: new file.
21528 * gdb.hp/more-steps.c: new file.
21529 * gdb.hp/optimize.c: new file.
21530 * gdb.hp/quicksort.c: new file.
21531 * gdb.hp/run-hp.c: new file.
21532 * gdb.hp/start-stop.c: new file.
21533 * gdb.hp/sum.c: new file.
21534 * gdb.hp/templates-hp.cc: new file.
21535 * gdb.hp/thread-local-in-lib.c: new file.
21536 * gdb.hp/thread-local-in-lib.h: new file.
21537 * gdb.hp/thread-local-in-lib.lib.c: new file.
21538 * gdb.hp/vforked-program.c: new file.
21539 * gdb.hp/virtfunc-hp.cc: new file.
21540 * gdb.hp/watchpoint-hp.c: new file.
21541 * gdb.hp/xdb.c: new file.
21542 * gdb.hp/xdb0.c: new file.
21543 * gdb.hp/xdb0.h: new file.
21544 * gdb.hp/xdb1.c: new file.
21545
21546 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21547
21548 The following change was made by Edith Epstein
21549 <eepstein@cygnus.com> as part of a project to merge in changes
21550 originally made by HP; HP did not create ChangeLog entries.
21551
21552 * gdb.c++/demangle.exp: changed the expected output for some
21553 ARM-style mangling -- removed second reference to datatype.
21554 For example, maint demangle __dt__11T1__pt__2_cFv
21555 T1<char>::~T1<char>(void)
21556 becomes,
21557 maint demangle __dt__11T1__pt__2_cFv
21558 T1<char>::~T1(void)
21559
21560 (test_hp_style_demangling): new hp specific demangling test cases.
21561
21562 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21563
21564 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21565 * gdb.trace/backtrace.exp: Likewise.
21566 * gdb.trace/circ.exp: Likewise.
21567 * gdb.trace/collection.exp: Likewise.
21568 * gdb.trace/deltrace.exp: Likewise.
21569 * gdb.trace/infotrace.exp: Likewise.
21570 * gdb.trace/limits.exp: Likewise.
21571 * gdb.trace/packetlen.exp: Likewise.
21572 * gdb.trace/passc-dyn.exp: Likewise.
21573 * gdb.trace/passcount.exp: Likewise.
21574 * gdb.trace/report.exp: Likewise.
21575 * gdb.trace/save-trace.exp: Likewise.
21576 * gdb.trace/tfind.exp: Likewise.
21577 * gdb.trace/tracecmd.exp: Likewise.
21578 * gdb.trace/while-dyn.exp: Likewise.
21579 * gdb.trace/while-stepping.exp: Likewise.
21580
21581 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21582
21583 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21584
21585 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21586
21587 From Brendan Kehoe:
21588 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21589 int return types.
21590
21591 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21592
21593 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
21594 remote dos host testing right.
21595
21596 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21597
21598 * gdb.base/corefile.exp: remove some xfails.
21599
21600 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21601
21602 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
21603 have different timestamps.
21604
21605 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21606
21607 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
21608 gdb.base/default.exp: Replace "exec" with "executable".
21609
21610 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21611
21612 * gdb.base/default.exp: Change else if to elseif from previous
21613 delta.
21614
21615 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21616
21617 * gdb.base/default.exp: Add brace missing from previous delta.
21618
21619 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21620
21621 * gdb.base/default.exp: Support test for info float for all
21622 varieties of arm toolchain.
21623
21624 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
21625
21626 * gdb.trace/*.exp: remove "remote_download" command.
21627
21628 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
21629
21630 * gdb.trace/*.exp: remove -gdwarf from compile.
21631
21632 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21633
21634 * gdb.trace/configure.in(AC_INIT): typo
21635 * gdb.trace/configure: regenerated
21636
21637 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
21638
21639 * config/m68k-emc.exp: New file.
21640 * lib/<emc-support.exp trace-support.exp}: New files.
21641 * configure.in: add new test directory gdb.trace.
21642 * gdb.trace/{configure configure.in Makefile.in}: New files.
21643 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21644 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21645 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21646 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21647 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21648 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21649 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21650
21651 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
21652
21653 * gdb.c++/classes.exp: Change all regular expressions to match
21654 arbitrary combinations of newline/carriage-return, so that they
21655 will work equally well on Unix and Windows.
21656 * gdb.c++/inherit.exp: ditto.
21657 * gdb.c++/virtfunc.exp: ditto.
21658
21659 1998-08-11 Dawn Perchik <dawn@cygnus.com>
21660
21661 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21662
21663 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21664
21665 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21666 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21667 to use a0-a3/d0-d3 as needed.
21668
21669 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21670
21671 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21672 * gdb.disasm/am33.exp: Corresponding changes.
21673
21674 1998-07-11 Felix Lee <flee@cygnus.com>
21675
21676 * gdb.base/callfuncs.exp: add cmp10 test.
21677 * gdb.base/callfuncs.c (cmp10): new function.
21678
21679 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21680
21681 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21682 into two parts to get around a synchronization problem in expect.
21683
21684 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21685
21686 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21687
21688 * configure.in: Add options for gdbtk testsuite.
21689
21690 * configure: Regenerate.
21691
21692 * gdb.gdbtk: New directory to hold gdbtk tests.
21693
21694 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21695
21696 * gdb.fortran/types.exp: Escape brackets in expect patterns
21697 for test_float_literal_types_accepted tests.
21698 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21699 before run test.
21700
21701 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21702
21703 * am33.exp: Just compile, do not link the testcase.
21704 * am33.s: Add ".am33" pseudoop to force am33 mode.
21705
21706 1998-06-25 Felix Lee <flee@cygnus.com>
21707
21708 * gdb.base/setshow.exp: make sure $pc is sane.
21709
21710 * gdb.stabs/weird.exp: split expect patterns properly.
21711
21712 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21713
21714 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21715 * gdb.disasm/am33.exp: Run it.
21716
21717 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
21718
21719 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21720 match processing (and eliminate spurious timeouts when running).
21721
21722 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
21723
21724 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21725 exception test, but conditionalize it on target [mach | gnu].
21726
21727 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
21728
21729 * gdb.base/overlays.exp: fixup compile line for linker script.
21730
21731 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21732
21733 * gdb.fortran/types.exp: don't guess at float size.
21734
21735 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21736
21737 * gdb.base/exprs.exp: delete test that depends on int size.
21738
21739 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21740
21741 * config/sim.exp: Removed checks for target triplets.
21742 (gdb_target_sim): Use gdb,target_sim_options.
21743
21744 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21745
21746 * gdb.base/reread.exp: New file.
21747 * gdb.base/reread1.c: New file.
21748 * gdb.base/reread2.c: New file.
21749
21750 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21751
21752 * config/sim.exp: Use 'target sim -sparclite' when running
21753 SPARClite programs.
21754
21755 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21756
21757 * gdb.base/structs2.exp: New file.
21758 * gdb.base/structs2.c: New file.
21759
21760 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21761
21762 * gdb.asm/common.inc: New file.
21763 * gdb.asm/d10v.inc: New file.
21764 * asm-source.exp: Pass -I's to gas to find .inc files.
21765 Update line numbers in expected output.
21766 * asmsrc1.s: Rewrite.
21767 * asmsrc2.s: Rewrite.
21768 * configure.in: Create arch.inc symlink.
21769 * configure: Regenerate.
21770 * Makefile.in (distclean): Delete arch.inc.
21771
21772 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21773
21774 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
21775 (t_enum_value2): ditto
21776 (t_enum_value3): ditto
21777 (main): ditto
21778 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21779
21780 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21781 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21782 change.
21783 Use gdb_test instead of send_gdb/gdb_expect sequences.
21784
21785 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21786
21787 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21788 not void.
21789
21790 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21791
21792 * gdb.base/branches.c: Code with lots of loops and
21793 subroutines. Used to test gdbs ability to single step through PC
21794 changes, especially to test mips-tdep.c:mips_next_pc
21795
21796 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21797
21798 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21799 more rigorous EGCS C++ error checking.
21800
21801 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21802
21803 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21804 tests.
21805 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21806 function when asleep.
21807 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21808 for i*86 Linux and SVR4 signal handling problems.
21809 Remove linux xfail for `next to handler in signals_tests_1', fixed
21810 by recent infrun.c change.
21811 Limit backtrace to 10 frames to avoid timeout problems with infinite
21812 stack backtraces.
21813 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21814 target.[ch] change.
21815
21816 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21817
21818 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21819 for a newline from gdb before continuing.
21820 (default_gdb_exit): Just look for y or n.
21821 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21822 it does, fail the rests of the tests in the file.
21823
21824 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21825
21826 * config/cygmon.exp: New file.
21827
21828 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21829
21830 * gdb.base/list.exp: Fix problem with "list default lines around
21831 main" test on remote targets.
21832
21833 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21834 run test on remote targets.
21835
21836 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21837
21838 * gdb.asm: New directory.
21839 * configure.in: Configure it.
21840 * configure: Regenerate.
21841 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21842 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21843
21844 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21845
21846 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21847
21848 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
21849
21850 * gdb.base/overlays (several files): Merge the two overlay
21851 managers into one. Change variables (foox, barx, bazx, grbxx)
21852 back into ints but force them to load in their proper sections.
21853
21854 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21855
21856 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21857 on-chip insn memory and IMAP1 to upper 128k.
21858 (D10VCopy): Handle memory regions crossing 16k boundaries.
21859 (D10VCopy): Transfer data in 32 bit chunks.
21860
21861 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21862
21863 * gdb.base/overlays.c (main): Exit normally when result is
21864 correct.
21865
21866 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21867 map. Include space for printf in .text segment.
21868
21869 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21870 updated d10v memory VMA/LMA map.
21871 (D10VCopy): Call D10VTranslate.
21872
21873 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21874
21875 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21876
21877 * gdb.base/bar.c (barx, bar): Change variable to small array so
21878 that it won't be put into the .sdata - small data -
21879 section. Update reference.
21880 * gdb.base/baz.c (bazx, baz): Ditto.
21881 * gdb.base/foo.c (foox, foo): Ditto.
21882 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21883
21884 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21885 to be arrays.
21886
21887 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
21888
21889 * gdb.base/overlays.exp: fix up and get working again.
21890 Add tests for backtraces from an overlay function.
21891
21892 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21893
21894 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21895 "calling function with watchpoint enabled".
21896
21897 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21898
21899 * gdb.base/break.exp (test_next_with_recursion): Remove
21900 gdb_suppress_tests for d10v-*-*.
21901 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21902 pending review of whether it is useful or not.
21903
21904 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21905
21906 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21907
21908 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21909
21910 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21911 * config/dve.exp: New file to support Densan boards.
21912
21913 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21914
21915 * gdb.base/interrupt.exp: Document problem of simulators, signals,
21916 reads and BSD.
21917
21918 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21919
21920 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21921 response.
21922
21923 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21924
21925 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21926
21927 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21928 test.
21929
21930 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21931 target_sizeof_long and target_bigendian_p.
21932 (structs_by_value, structs_by_reference): Check values according
21933 to targets word size and endianess.
21934
21935 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21936
21937 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21938 output.
21939
21940 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21941
21942 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21943 Update test of set args help to match source change.
21944
21945 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21946
21947 * gdb.base/default.exp: Expect help system output to be in
21948 alphabetical order.
21949 * gdb.base/help.exp: Ditto.
21950
21951 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21952
21953 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21954 "i*86-pc-linux-gnu*".
21955 * gdb.base/interrupt.exp: Ditto.
21956 * gdb.base/corefile.exp: Ditto.
21957
21958 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21959 define vxworks when building the testcase.
21960
21961 * gdb.base/ptype.exp: Fix testnames to be unique.
21962 * gdb.base/radix.exp: Ditto.
21963 * gdb.base/term.exp: Ditto.
21964 * gdb.base/whatis.exp: Ditto.
21965 * gdb.c++/classes.exp: Ditto.
21966
21967 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21968
21969 * gdb.base/callfuncs.exp: Fix indentation.
21970
21971 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21972 suppress_flag has been set.
21973 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21974 target feature.
21975
21976 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21977
21978 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21979 the testcase.
21980
21981 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21982 set_debug_traps() and breakpoint().
21983 * gdb.c++/misc.cc (main): Ditto.
21984 * gdb.c++/templates.cc (main): Ditto.
21985 * gdb.c++/virtfunc.cc (main): Ditto.
21986
21987 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21988
21989 * lib/gdb.exp(gdb_step_for_stub): New function.
21990 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21991 exists, reload the executable and do a "continue" instead of
21992 doing a jump.
21993 (runto_main): Use gdb_step_for_stub.
21994
21995 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21996 tests to have unique names.
21997 * gdb.base/callfuncs.exp: Ditto.
21998 * gdb.base/commands.exp: Ditto.
21999 * gdb.base/default.exp: Ditto.
22000 * gdb.base/help.exp: Ditto.
22001 * gdb.base/list.exp: Ditto.
22002 * gdb.base/opaque.exp: Ditto.
22003 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
22004 similar tests.
22005
22006 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22007 * gdb.c++/cplusfuncs.cc: Ditto.
22008 * gdb.c++/virtfunc.cc: Ditto.
22009
22010 * config/monitor.exp: Keep track of the last file we saw, rather
22011 than trying to get the info from gdb.
22012
22013 * gdb.fortran/types.exp: Move comment to previous line.
22014
22015 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22016
22017 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
22018 target mode.
22019
22020 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22021
22022 From Bob Manson:
22023 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
22024 string from GDB when it connects.
22025
22026 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22027
22028 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22029
22030 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
22031 if we can't get a debug format from GDB (we may be testing an
22032 older GDB). Use a 10 second timeout when checking for the format.
22033
22034 * gdb.stabs/weird.exp: Fix quoting.
22035
22036 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22037
22038 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22039
22040 * config/arm-ice.exp: New file.
22041
22042 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22043
22044 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
22045 until it has been modified to work with the new testsuite.
22046
22047 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
22048 testcase won't compile, cause all of the testcases in the file to
22049 fail instead.
22050
22051 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22052 (gdb_clear_suppressed): New procedure.
22053 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22054 it contains a positive value.
22055
22056 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22057
22058 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22059
22060 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22061
22062 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22063
22064 * lib/gdb.exp (setup_xfail_format): New function.
22065 (get_debug_format): New function to get debug format.
22066 (debug_format): New global variable to hold last value set
22067 by get_debug_format.
22068 * gdb.base/list.exp: Call get_debug_format and expect some
22069 tests to fail for DWARF 1 and COFF formats.
22070 * gdb.c++/ptype.exp: Ditto.
22071 * gdb.c++/classes.exp: Ditto.
22072 * gdb.c++/cplusfuncs.exp: Ditto.
22073 * gdb.c++/inherit.exp: Ditto.
22074 * gdb.c++/templates.exp: Ditto.
22075 * gdb.c++/virtfunc.exp: Ditto.
22076
22077 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22078
22079 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22080 host doesn't have a currently-open connection.
22081
22082 * config/sparclet.exp: Cleanups and fixes to make it generic for
22083 any gdb stub target. Handle cases where gdb doesn't respond when
22084 interrupted in a sane fashion.
22085
22086 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
22087 same thing in a totally different way.
22088
22089 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
22090 setting "timeout".
22091 (gdb_start): We set the global gdb_prompt variable in
22092 default_gdb_init now.
22093
22094 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22095
22096 * gdb.base/printcmds.exp: Fix "check for floating addition"
22097 regexp to accept results within approx +/- .01 of exact value.
22098 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22099
22100 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22101
22102 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
22103 properly.
22104 (gdb_expect): Add optional timeout parameter, and add timeout
22105 value to various calls.
22106 (gdb_suppress_tests): Only give one warning message per group.
22107
22108 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22109
22110 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
22111 global variables. Handle getting a value for $timeout more
22112 gracefully.
22113
22114 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22115
22116 * lib/gdb.exp: Close connection to remote host if gdb doesn't
22117 initialize.
22118 (default_gdb_init): New procedure; allow gdb_init to be overridden
22119 by a target configuration file.
22120 (gdb_expect): Pass the timeout to remote_expect.
22121
22122 * config/monitor.exp(gdb_load): Fix typo in regexp.
22123
22124 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22125
22126 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22127
22128 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22129
22130 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
22131 here. Call gdb_target_exec before rebooting the target, to make
22132 sure the connection to the target is closed.
22133 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22134 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22135 Also detect "Timeout reading from remote" error.
22136
22137 * config/gdbserver.exp: Pass the executable being loaded to
22138 gdb_target_monitor. Don't call gdb_file_cmd here; let
22139 gdb_target_monitor do it.
22140
22141 * gdb.disasm/hppa.exp: Don't use exec_output.
22142
22143 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22144
22145 * gdb.base/list.exp: If we're debugging a non-native target,
22146 try to set the pc register to point to the start of the
22147 program before doing the first list command.
22148
22149 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
22150 test_calls after restarting.
22151
22152 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
22153 reloading.
22154
22155 * gdb.base/watchpoint.exp: Fix typo.
22156
22157 * gdb.base/setshow.exp: Check for use_gdb_stub.
22158
22159 * gdb.base/break.exp: Fix continue until exit test for the gdb
22160 stub case.
22161 * gdb.base/langs.exp: Ditto.
22162
22163 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
22164 gdb_load_offset. If we weren't given a file to load, figure out
22165 what the current file is and use it.
22166
22167 * config/i386-bozo.exp: New file.
22168
22169 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22170
22171 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22172 feature.
22173
22174 * config/proelf.exp: New entry.
22175
22176 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22177
22178 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22179 of regexps.
22180
22181 * gdb.base/watchpoint.exp: Don't run the test_stepping
22182 tests if gdb can't call functions on the target.
22183
22184 * gdb.base/setshow.exp: Don't run the set prompt tests if
22185 the board has gdb_prompt set.
22186
22187 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22188
22189 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22190 * gdb.base/commands.exp: Likewise.
22191 * gdb.base/setshow.exp: Likewise.
22192
22193 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22194
22195 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22196 feature.
22197
22198 * config/i960.exp: New file.
22199
22200 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22201
22202 * gdb.base/funcargs.exp: Check for gdb,short_int target
22203 feature instead of looking for explicit target triplets.
22204
22205 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
22206
22207 * gdb.base/printcmds.exp: add a couple more tests a la
22208 "p 123DEADBEEF", to check parse_number.
22209 * top.c: change "to enable to enable" to "to enable" in a couple
22210 of help strings.
22211
22212 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22213
22214 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22215 on the mn10300.
22216
22217 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22218
22219 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22220 where the test executable is run with explicit args.
22221 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22222
22223 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22224
22225 * gdb.base/run.c: Use FAKEARGV to build test executable that
22226 does not require a command line arg, since most simulators
22227 don't currently support passing such an arg into the simulated
22228 program.
22229 * gdb.base/commands.exp: Change tests to insert the proper
22230 value as the arg to the first recursive factorial call. Change
22231 compilation line to define FAKEARGV at compile time.
22232
22233 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22234
22235 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22236 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22237 function with watchpoint enabled" test.
22238
22239 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22240
22241 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
22242 Don't call gdb_test when the command doesn't return to a gdb prompt.
22243
22244 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
22245 "Tests restarted" messages.
22246
22247 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22248
22249 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22250
22251 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
22252
22253 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22254 for INFO SYMBOL; add help tests for OVERLAY commands.
22255 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22256 add tests for OVERLAY commands
22257 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22258 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22259 * gdb.base/sigall.c: add usestubs code frag
22260 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
22261
22262 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22263
22264 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22265 failures.
22266 (gdb_stop_suppressing_tests): Note that tests have restarted.
22267
22268 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22269
22270 * config/h8300.exp: New file.
22271
22272 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22273
22274 * gdb.base/setshow.exp: Check for the existence of a
22275 feature, not its value.
22276
22277 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22278
22279 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22280
22281 * gdb.base/scope.exp: It's now init0(), not init().
22282
22283 * gdb.base/scope0.c: For now, change init() to be init0().
22284
22285 * config/monitor.exp: Use gdb_serial in preference to serial
22286 or netport.
22287
22288 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
22289 and it's not already set.
22290
22291 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22292
22293 * gdb.base/setshow.exp: Only test the run command if the target
22294 isn't using a stub and if it supports argument passing.
22295
22296 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22297
22298 * config/udi.exp(gdb_start): Make sure UDICONF is set
22299 properly before starting gdb.
22300
22301 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22302
22303 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22304 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22305 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22306
22307 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22308
22309 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
22310 specialized code to reboot the board, use remote_reboot instead.
22311
22312 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22313
22314 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22315
22316 * config/monitor.exp: Make sure we disconnect from the target.
22317 Also, try a reboot/reload cycle instead of failing if the
22318 load fails.
22319
22320 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22321
22322 * gdb.base/default.exp: Don't set match_max.
22323 * gdb.base/help.exp: Ditto.
22324 * gdb.base/list.exp: Ditto.
22325 * gdb.base/signals.exp: Ditto.
22326
22327 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22328 set, use remote_ld to download the testcase instead of
22329 the GDB loader.
22330
22331 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22332
22333 * config/vr5000.exp: New file.
22334
22335 * config/monitor.exp(gdb_target_monitor): Add pattern for
22336 "Ending remote" to detect errors in connecting.
22337
22338 * gdb.base/setshow.exp: Add .* within auto language test.
22339
22340 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22341 target feature.
22342
22343 * config/monitor.exp(gdb_load): Check for a failure when loading,
22344 and reboot the board if necessary.
22345
22346 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22347 a set of tests. Remove print.* from the patterns being checked.
22348
22349 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22350
22351 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22352 refer to gdb_spawn_id.
22353
22354 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22355 longer used.
22356 * config/sparclet.exp: Ditto.
22357 * config/sparclet-old.exp: Ditto.
22358 * config/slite.exp: Ditto.
22359 * config/sim.exp: Ditto.
22360 * gdb.base/funcargs.exp: Ditto.
22361
22362 * lib/gdb.exp:Remove references to gdb_spawn_id.
22363 (gdb_expect): Move to remote.exp.
22364
22365 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22366
22367 * config/monitor.exp: Detect the "Couldn't establish connection"
22368 message from GDB.
22369
22370 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22371
22372 * gdb.base/bitfields.exp: Use runto instead of explicit
22373 gdb_run_cmd/gdb_expect sequences.
22374
22375 * gdb.base/break.exp(text_next_with_recursion): Add match for
22376 gdb_expect call.
22377
22378 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22379 We also need to handle the "A program is being debugged already"
22380 prompt from gdb. Use gdb_test to set the baud rate.
22381
22382 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22383 to 20000. Really. I mean it.
22384
22385 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22386
22387 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
22388 fails. If suppress_flag is set, skip perror message about not
22389 being able to send to GDB.
22390 (send_gdb): If suppress_flag is set, don't try to send commands to
22391 GDB.
22392 (gdb_expect): If suppress_flag is set, always fail immediately.
22393 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22394 (gdb_init): Call gdb_stop_suppressing_tests.
22395 (default_gdb_exit): Ditto.
22396 (default_gdb_start): Ditto.
22397
22398 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
22399 gdb_stop_suppressing_tests as appropriate.
22400 * gdb.base/break.exp: Ditto.
22401 * gdb.base/callfuncs.exp: Ditto.
22402 * gdb.base/commands.exp: Ditto.
22403 * gdb.base/exprs.exp: Ditto.
22404 * gdb.base/funcargs.exp: Ditto.
22405 * gdb.base/list.exp: Ditto.
22406 * gdb.base/recurse.exp: Ditto.
22407 * gdb.base/scope.exp: Ditto.
22408 * gdb.base/structs.exp: Ditto.
22409 * gdb.c++/inherit.exp: Ditto.
22410
22411 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22412
22413 * config/vr4300.exp: New file.
22414
22415 * gdb.*/*.exp: Call gdb_expect instead of expect.
22416
22417 * lib/gdb.exp(gdb_expect): New function.
22418
22419 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22420
22421 * lib/gdb.exp(gdb_init): New function.
22422
22423 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
22424 for each individual variable set.
22425
22426 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22427 name.
22428
22429 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22430
22431 * gdb.base/scope.exp: Use gdb_test.
22432
22433 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22434 aborting; the testsuite driver will do that for us (see
22435 gdb_finish). Also, use gdb_test in a few more places.
22436
22437 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22438
22439 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22440
22441 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22442
22443 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22444 and "add_tests" are not at the same address.
22445
22446 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22447
22448 * gdb.base/ptype.exp: Use gdb_test.
22449
22450 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22451
22452 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22453 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22454 left in. No longer expect them to fail.
22455
22456 * gdb.stabs/*.mt; Deleted, no longer used.
22457 * gdb.stabs/configure.in: Remove references to target makefile
22458 frags.
22459 * gdb.stabs/configure: Rebuilt.
22460
22461 * gdb.disasm/*.mt: Deleted, no longer used.
22462 * gdb.disasm/configure.in: Remove references to target makefile
22463 frags. Use "sh3.s" as the unique filename for this directory.
22464 * gdb.disasm/configure: Rebuilt.
22465
22466 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22467 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22468 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22469
22470 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22471
22472 * config/udi.exp: Use mondfe,name instead of remote_host.
22473
22474 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22475
22476 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22477 a function with a watchpoint enabled on the mn10200.
22478
22479 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22480 before trying to create it!
22481
22482 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22483
22484 * config/vx.exp: Use hostname instead of netport.
22485
22486 * config/vxworks.exp: New file.
22487
22488 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22489
22490 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
22491 gdb before assuming everything worked. Send a ^C if a timeout
22492 occurs.
22493
22494 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22495 $gdb_spawn_id directly.
22496 (gdb_run_cmd): Try _start as well as start. Use the target feature
22497 gdb,start_symbol as the symbol to start from when jumping.
22498
22499 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22500
22501 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22502 redundant) test.
22503
22504 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22505 it doesn't lose for 16bit integer systems.
22506
22507 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22508
22509 * gdb.fortran/types.exp: If the target doesn't support "double"
22510 data types, then expect "real" types to only be 4 bytes.
22511
22512 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22513 call tests if the target doesn't support inferior function calls.
22514
22515 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22516 in printf tests.
22517
22518 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22519
22520 * gdb.base/help.exp: Disable "help set", "help show", and
22521 "help support". Simplify regexp for "help stack".
22522
22523 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22524 to 60 seconds. Temporarily set match_max to 15000 around the
22525 "info copying" test.
22526
22527 * gdb.base/nodebug.exp: Don't try to do an inferior function
22528 call if the target doesn't support them.
22529 * gdb.base/printcmds.exp: Likewise.
22530 * gdb.base/setvar.exp: Likewise.
22531 * gdb.base/structs.exp: Likewise.
22532 * gdb.c++/templates.exp: Likewise.
22533 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22534
22535 * gdb.base/recurse.exp: Enable for the mn10200.
22536
22537 * configure.in: Do configure gdb.stabs directory for *-*-elf
22538 targets.
22539 * configure: Rebuilt.
22540
22541 * gdb.base/break.exp: Check for gdb,noresults before testing
22542 exit status and/or results from the target.
22543 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22544 * lib/gdb.exp: Remove old (now bogus) initialization of
22545 noinferior, noargs, noresults and nosignals.
22546
22547 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22548
22549 * config/sh.exp: New file.
22550
22551 * config/slite.exp: Try to connect multiple times to the board
22552 before rebooting. Only send a "monitor run" if need_monitor_run
22553 is set.
22554
22555 * gdb.base/break.exp: Don't do the "stub continue" test if
22556 the target has gdb_stub set.
22557
22558 * gdb.base/callfuncs.exp: Increase the timeout.
22559
22560 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22561 if the target has gdb,noinferiorio set.
22562
22563 * gdb.base/list.exp: Increase match_max to 10000 characters.
22564
22565 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22566
22567 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22568 target.
22569
22570 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22571
22572 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22573
22574 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
22575 trying to delete the copy of gdb. Catch the file delete so we
22576 don't die if the delete fails; also, the file should be copied to
22577 the host, not to the build.
22578
22579 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22580
22581 * lib/gdb.exp(gdb_test): Surround the result pattern with
22582 parenthesis in case it contains multiple regexps separated
22583 with |.
22584
22585 * gdb.base/watchpoint.exp: Use gdb_test.
22586 * gdb.base/default.exp: Ditto.
22587
22588 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22589
22590 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
22591
22592 * gdb.base/scope.exp: Use gdb_test.
22593 * gdb.c++/classes.exp: Ditto.
22594 * gdb.c++/inherit.exp: Ditto.
22595
22596 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22597
22598 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22599 remote_exec instead.
22600 * gdb.base/corefile.exp: Don't be ridiculous.
22601 * gdb.base/*.c: Add missing stub invocations.
22602
22603 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22604
22605 * config/slite.exp: Miscellaneous fixes.
22606
22607 * lib/gdb.exp: Fix runto.
22608
22609 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22610 the target.
22611
22612 * gdb.base/watchpoint.exp: Fix regexp.
22613
22614 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22615 close and wait commands, as the descriptor may now be
22616 invalid. Always call "remote_close host".
22617
22618 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22619
22620 Major rewrite for testsuite revision.
22621
22622 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22623 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22624 instead of relying on spawn_id to always contain a valid
22625 spawn id.
22626 (get_compiler_info): New procedure to build the ${binfile}.ci
22627 file, instead of replicating this in N different places.
22628 (gdb_compile): New procedure.
22629
22630 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22631 appropriate arguments) instead of compile. Use gdb_test in a lot
22632 more places. Use send_gdb instead of send. Always run gdb_start
22633 at the start of a testcase, as this is no longer done magically.
22634
22635 config/*-gdb.exp: Rename without the -gdb suffix.
22636
22637 config/mips.exp: Use remote_close instead of exit_remote_shell.
22638 config/monitor.exp: Use target_info instead of looking at
22639 baud, timeout, etc.
22640 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22641
22642 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22643
22644 * gdb.c++/templates.exp (test_ptype_of_templates),
22645 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22646 Update expect patterns for destructors and assignment operators
22647 to match corresponding c-typeprint.c changes.
22648 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22649 to destructor breakpoint test, GDB should be able to set the
22650 destructor breakpoint without specifying arguments.
22651
22652 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22653
22654 * gdb.threads/pthreads.exp: Change result for failure to compile due
22655 to lack of pthreads runtime support from an error to simply an
22656 unsupported test, per dejagnu standards.
22657
22658 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22659
22660 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22661 where GDB exits to reduce pattern match time.
22662 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22663
22664 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22665
22666 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
22667
22668 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22669 * gdb.base/default.exp: ditto.
22670 * gdb.base/nodebug.exp: ditto.
22671 * gdb.base/printcmds.exp: ditto.
22672 * gdb.base/ptype.exp: ditto.
22673 * gdb.base/setvar.exp: ditto.
22674 * gdb.base/structs.exp: ditto.
22675 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22676
22677 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22678
22679 * configure, */configure: Rebuild with autoconf 2.12.
22680
22681 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22682
22683 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22684 use new i*86-pc-linux*-gnu quads.
22685 * gdb.base/corefile.exp: Ditto.
22686 * gdb.base/signals.exp: Ditto.
22687 * gdb.base/sigall.exp: Ditto.
22688 * gdb.base/interrupt.exp: Ditto.
22689
22690 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22691 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22692 RedHat 4.0.
22693
22694 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22695 linux. This allows the test case to at least compile on latest
22696 linux, but still not run due to missing the threads runtime library.
22697
22698 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22699
22700 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22701 directory to search gdb directory. Accept and step over conditional
22702 stack alignment code. Consume $prompt in failure cases.
22703 Reset timeout to $oldtimeout instead of some arbitrary value.
22704 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22705 timeout problems with infinite stack backtraces.
22706 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22707 Accept function parameters for linkfunc member.
22708
22709 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22710
22711 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22712 (CXXFLAGS): Remove, unreferenced.
22713 (B_OPTIONS): Add for -B options and add code to initialize with
22714 previous -B options and also add -B option to pick up cross compiled
22715 runtime.
22716 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22717 doing cross compiles.
22718 (target_alias): Declare global.
22719 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22720 to verify that gcc exists in build tree, and if so set CC to that
22721 gcc and to use B_OPTIONS and TARGET_INCLUDES.
22722
22723 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22724
22725 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22726 ptype test for anonymous union. Fixup testcase to match
22727 current gcc debug output.
22728
22729 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22730
22731 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22732 force argument to an unsigned long type.
22733
22734 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22735
22736 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22737 tests and anonymous union print/ptype tests.
22738 * gdb.base/list.exp (test_forward-search): Increase timeout by
22739 5 minutes for the "search extremely long line" case.
22740 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22741 completely optional and that the pass/fail messages use the command as
22742 the message if that third arg is a null string.
22743 (gdb_test_exact): Arrange that a null string pattern means match a
22744 null string output rather than any output, which might include random
22745 errors.
22746 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22747 backtrace test.
22748 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22749 always failing and failure is now exposed by gdb.exp changes.
22750
22751 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22752
22753 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22754 weren't being noted.
22755
22756 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22757
22758 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22759 * gdb.stabs/weird.exp: Remove v_comb xfails.
22760
22761 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
22762
22763 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22764 list.exp scope.exp watchpoint.exp]
22765 Make all timeout error msgs explicitly say "(timeout)".
22766
22767 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
22768
22769 * config/monitor.exp: Increase download timeout to 1000 seconds.
22770
22771 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
22772
22773 * config/m32r.exp: Increase timeout to 120 seconds.
22774
22775 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22776
22777 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22778 and accept older ordering as obsolescent gcc or gdb.
22779 * gdb.c++/templates.exp: Ditto.
22780 * gdb.c++/virtfunc.exp: Ditto.
22781
22782 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22783
22784 * gdb.base/coremaker.c: Add code to mmap some data so we
22785 can check that it ends up in the core file.
22786 * gdb.base/corefile.exp: Add test to read mmapped data
22787 from core file.
22788
22789 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
22790
22791 * config/m32r.exp: New file.
22792
22793 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22794
22795 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22796 that cflags can contains -gstabs, and work correctly for other tests.
22797
22798 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
22799
22800 * gdb.base/setshow.exp: New file, tests show and set.
22801 * gdb.base/setshow.c: New file, tests show and set.
22802 * gdb.base/help.exp: Add test for help set|show annotate.
22803 * gdb.base/default.exp: Add test for set|show annotate.
22804
22805 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22806
22807 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22808 errors unique.
22809 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22810 explicitly.
22811
22812 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22813
22814 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22815 and width commands. This is done elsewhere.
22816 * (gdb_start): Don't call gdb_start_sim here. That's already
22817 done in gdb_load. This fixes lots of failures in default.exp.
22818
22819 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22820
22821 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22822 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22823 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22824 in the same we we treat other failures (since it may be an expected
22825 condition), rather than as an error.
22826 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22827 old test format.
22828
22829 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22830
22831 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22832 (distclean maintainer-clean realclean): No need to remove files
22833 twice. Nuke the duplicates.
22834 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22835 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22836 Remove config.h along with other config files.
22837
22838 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22839
22840 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22841 "p func1 ()" and note that rests of tests are skipped.
22842 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22843 setup_xfails for "print func2::coremaker_local".
22844 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22845 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22846 affected by the previous run test.
22847 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22848 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22849 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22850 "pass int powerset tuple" and "pass modeless int powerset tuple".
22851 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22852 "real write 4" and "real write 8".
22853 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22854 setup_xfails for "print vs1 after tuple assign 2",
22855 "print \$i after tuple assign 2", and
22856 "print vs2 after tuple assign 2".
22857 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22858 meaningful error message and return -1 so the caller can
22859 suppress further tests and avoid a cascade of errors.
22860
22861 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22862
22863 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22864 format for printing version.
22865 * gdb.base/default.exp: Ditto.
22866 * gdb.base/interrupt.exp: Fix problem with cascade of
22867 errors if child process dies while calling a function.
22868
22869 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22870
22871 * Makefile.in (VPATH): Add
22872 * Makefile.in (Makefile, config.status): Fix rules so things get
22873 remade when necessary.
22874
22875 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22876
22877 * Makefile.in (just-check): Add path to sibling expect dir
22878 to environment variable specified by RPATH_ENVVAR.
22879
22880 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22881
22882 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22883 (just-check): Add shared library paths for libstdc++, tk,
22884 tcl, bfd, and opcodes to the environment variable specified
22885 in RPATH_ENVVAR.
22886 * configure.in: Add support to recognize --enable-shared flag
22887 and generate correct value for RPATH_ENVVAR.
22888 * configure: Regenerated with autoconf.
22889
22890 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22891
22892 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22893 include all osf versions.
22894 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22895 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22896 when target is linux. When failing to build pthreads test
22897 executable, give more meaningful message.
22898 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22899 arg for pthread_create.
22900
22901 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22902
22903 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22904 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22905 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22906 and -lpthreads (everybody else).
22907 (test_startup): Fail gracefully if threads are not supported.
22908 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22909 "p/c array_index("abcdef",2)" when not gcc compiled.
22910 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22911 "print func2::coremaker_local" when not gcc compiled.
22912 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22913 "ptype on opaque struct tagname (statically)",
22914 "ptype on opaque struct tagname (dynamically) 1", and
22915 "ptype on opaque struct tagname (dynamically) 2"
22916 for not compiled with gcc.
22917 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22918 backtrace when compiled with gcc.
22919 * lib/gdb.exp (runto_main): Return result of "runto main" rather
22920 than always return success.
22921
22922 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22923
22924 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22925
22926 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22927
22928 * gdb.base/structs.exp: Undo last change.
22929
22930 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22931
22932 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22933 encapsulate all the steps/nexts done during self test, starting
22934 at main, and makes them less sensitive to optimization issues.
22935 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22936 signal handler" test.
22937 * gdb.threads/pthreads.exp: Only run this for native configs.
22938 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22939 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22940 tests.
22941 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22942 for "runto test_calls(void)" test.
22943
22944 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22945
22946 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22947 and don't expect address info in breakpoint confirmations.
22948
22949 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22950
22951 * gdb.base/list.exp (test_forward_search): Increase timeout
22952 temporarily by 60 seconds for searching extremely long line,
22953 and then reset to old value when done. Increase expect input
22954 buffer to 10000.
22955
22956 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22957
22958 * gdb.base/list.exp (test_forward_search): Fix to handle very
22959 long source line without overflowing expect's input buffer.
22960
22961 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22962
22963 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22964 "buffer_full".
22965
22966 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22967 "buffer_full".
22968
22969 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22970 "buffer_full".
22971
22972 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22973 "buffer_full".
22974
22975 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22976
22977 * configure.in (configdirs): Add gdb.threads.
22978 * configure: Regenerated with autoconf.
22979 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22980 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22981 * gdb.threads/configure: New, generated with autoconf.
22982
22983 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22984
22985 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22986
22987 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22988
22989 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22990 each signal's status in the output of "handle all print".
22991 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22992 the \r\n sequence that immediately precedes the gdb prompt.
22993 * gdb.base/a1-selftest.exp: Save original timeout and restore
22994 after test.
22995
22996 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22997
22998 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22999 symbol.
23000
23001 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
23002
23003 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
23004
23005 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23006
23007 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23008 timeout by 60 seconds.
23009
23010 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23011
23012 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23013 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23014 error return.
23015
23016 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23017
23018 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23019 gdb initialization, also report how long dejagnu waited. Restore
23020 old timeout before doing error return. Temporarily increase timeout
23021 by 3 minutes to allow for slow startups over heavy NFS use.
23022
23023 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23024
23025 * lib/gdb.exp: Report timeout value for verbosity level 2.
23026 * config/gdbserver.exp: Ditto.
23027 * config/hppro.exp: Ditto.
23028 * config/mips-gdb.exp: Ditto.
23029 * config/monitor.exp: Ditto.
23030 * config/netware.exp: Ditto.
23031 * config/sim-gdb.exp: Ditto.
23032 * config/slite-gdb.exp: Ditto.
23033 * config/udi-gdb.exp: Ditto.
23034 * config/unix-gdb.exp: Ditto.
23035 * config/vx-gdb.exp: Ditto.
23036 * gdb.base/a1-selftest.exp: Ditto.
23037 * gdb.base/a2-run.exp: Ditto.
23038 * gdb.base/break.exp: Ditto.
23039 * gdb.base/corefile.exp: Ditto.
23040 * gdb.base/list.exp: Ditto.
23041 * gdb.base/recurse.exp: Ditto.
23042 * gdb.base/scope.exp: Ditto.
23043 * gdb.base/signals.exp: Ditto.
23044
23045 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23046
23047 * gdb.threads/Makefile.in (docdir): Removed.
23048
23049 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23050
23051 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
23052 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
23053 @srcdir@.
23054 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
23055 autoconf 2.5 or higher.
23056 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23057
23058 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23059
23060 * configure: Regenerated.
23061 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23062 avoid name clashes with SunOS headers.
23063
23064 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23065
23066 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23067
23068 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23069
23070 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23071 prototype information ends up in the compiler info file.
23072
23073 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23074
23075 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23076 attempting to regenerate it. Eliminate use of a temporary file
23077 and just generate the info file directly. Source it immediately,
23078 for consistency of use.
23079 * gdb.base/corefile.exp: Ditto
23080 * gdb.base/exprs.exp: Ditto.
23081 * gdb.base/funcargs.exp: Ditto.
23082 * gdb.base/langs.exp: Ditto.
23083 * gdb.base/list.exp: Ditto.
23084 * gdb.base/mips_pro.exp: Ditto.
23085 * gdb.base/nodebug.exp: Ditto.
23086 * gdb.base/opaque.exp: Ditto.
23087 * gdb.base/ptype.exp: Ditto.
23088 * gdb.base/scope.exp: Ditto.
23089 * gdb.base/setvar.exp: Ditto.
23090 * gdb.base/signals.exp: Ditto.
23091 * gdb.base/whatis.exp: Ditto.
23092 * gdb.c++/templates.exp: Ditto.
23093 * gdb.c++/virtfunc.exp: Ditto.
23094 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
23095 whether or not to add -lstdc++ to the compile command line args.
23096
23097 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23098
23099 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23100 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23101 Increase timeout, a lot of single stepping might be needed if the
23102 target has no hardware watchpoints.
23103
23104 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23105
23106 * gdb.base/break.exp: Ignore compiler warnings when compiling
23107 break.c.
23108 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23109 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23110 from remote-sim.
23111 * gdb.base/exprs.exp: Add h8300 xfails.
23112 * gdb.base/funcargs.exp: Likewise.
23113 * gdb.base/nodebug.exp: Likewise.
23114 * gdb.base/printcmds.exp: Likewise.
23115 * gdb.base/ptype.exp: Likewise.
23116 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23117 h8300 xfails.
23118 * gdb.base/return.exp: Handle float/double precision problems
23119 on the h8300.
23120 * gdb.base/funcargs.c: Explicitly make last constant argument to
23121 call_after_alloca_subr an unsigned long type.
23122 * gdb.base/return.c: Include stdio.h.
23123
23124 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23125
23126 * config/abug.exp: New file for the older Motorola Bug monitor
23127 that runs on the mvme13x series VME boards.
23128 * config/monitor.exp: Use the new config array for target settings
23129 if they exist.
23130
23131 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23132
23133 * sim-gdb.exp: Make the SH simulator allocate less space when
23134 it is targeted.
23135
23136 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23137
23138 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23139 test.
23140
23141 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23142
23143 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23144 "rs6000-*-*" for "list function in include file" when gcc compiled.
23145 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23146 for "p ctable1[120]".
23147 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23148 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23149 Remove setup_xfail for "rs6000-*-*" for
23150 "print 'scope0.c'::filelocal before run".
23151 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23152 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23153 since some compilers don't allow both options to be given
23154 on the same command line. Create object file and move it.
23155
23156 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23157
23158 * gdb.base/corefile.exp: Always regenerate the core file, since
23159 we always regenerate the coremaker program. Detect special case
23160 where registers cannot be read from core file.
23161
23162 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23163
23164 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23165 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23166 * gdb.c++/templates.exp: Only match on basename of file since
23167 some formats like xcoff don't encode directory information.
23168 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23169 and rs6000 AIX xcoff targets.
23170 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23171 * configure: Regenerate.
23172 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23173 here, rather than in distclean.
23174
23175 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23176
23177 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23178 defined, and use it to compile the test case with -O2. The
23179 native compilation still uses no optimization.
23180 * gdb.base/mips_pro.c: Remove inline assembly code since
23181 it is compiled PIC by default, which results in assembler
23182 warnings that make the testsuite think the compilation
23183 was unsuccessful.
23184
23185 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23186
23187 * gdb.c++/misc.exp: Add note to message for
23188 "print s.a for foo struct" that this is a known gcc 2.7.2
23189 and earlier bug.
23190
23191 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23192
23193 * gdb.base/break.exp: Fix pattern for matching "Delete all
23194 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23195 setup_xfail for deleting all breakpoints test. Fix various
23196 timeout messages to include "(timeout)".
23197 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23198 for "p t_float_values2(3.14159,float_val2)".
23199 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23200 for "continue to call2g" when gcc compiled.
23201 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23202 "up to foo in langs.exp", "show language at foo in langs.exp",
23203 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23204 and "show language at fsub in langs.exp".
23205 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23206 "list line 1 in include file", "list message for lines past EOF",
23207 "list function in include file", "list list0.h:foo", and
23208 "list filename:function; nonexistant function".
23209 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23210 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23211 and "ptype t_char_array" to be for native cc only.
23212
23213 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23214
23215 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
23216 setup_xfail for "print coremaker_bss", "print coremaker_ro",
23217 "print func2::coremaker_local", and "backtrace in corefile.exp".
23218
23219 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23220
23221 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23222 "bt in signals.exp". This problem only appears when running
23223 the testsuite, and then only intermittently.
23224
23225 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23226
23227 * gdb.base/return.exp (return_tests): Differentiate between
23228 two tests of continuing.
23229
23230 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23231
23232 * */Makefile.in (maintainer-clean): Remove config.log.
23233 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23234 * gdb.c++/Makefile.in (PROGS): Add inherit.
23235 (clean): Remove *.ci.
23236
23237 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23238
23239 * gdb.c++/misc.cc: Add test code from Mike Stump.
23240 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23241
23242 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23243
23244 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23245 to "alpha-*-osf2*" and add comment.
23246 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23247 setup_xfail for "step over execarg initialization" and
23248 "step over corearg initialization".
23249 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23250 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23251 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
23252 gcc compiled for "print coremaker_bss", "print coremaker_ro",
23253 "print func2::coremaker_local", and "backtrace in corefile.exp".
23254 * gdb.base/signals.exp: Build and source signals.ci.
23255 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23256 to be for gcc only.
23257 * lib/gdb.exp: Move verbose statements outside conditionals.
23258
23259 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23260
23261 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23262 Feb 3 procfs.c change.
23263
23264 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23265
23266 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23267
23268 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23269
23270 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23271 from dejagnu's apparent default of 10 seconds, which gives random
23272 results when running the tests over NFS on moderately loaded systems.
23273 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23274
23275 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23276
23277 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23278 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
23279 result reports.
23280
23281 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23282
23283 * configure.in (CY_AC_PATH_TCLH): Remove.
23284 * configure: Regenerate.
23285
23286 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23287
23288 * gdb.c++/Makefile.in (clean): Add missing '{'.
23289
23290 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23291
23292 * lib/gdb.exp: Provide a default value for noinferior.
23293
23294 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23295 Load libgloss.exp.
23296
23297 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23298
23299 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23300 the executable, not the .o to run the tests from.
23301
23302 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23303
23304 * gdb.base/break.exp: Don't test for program exit or exit status
23305 if $noresults if nonzero.
23306 * gdb.base/langs.exp: Likewise.
23307 * gdb.base/watchpoint.exp: Likewise.
23308
23309 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23310 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23311 trying to compile the testcase.
23312
23313 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23314
23315 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23316 * gdb.base/signals.exp (continue to handler): Likewise.
23317
23318 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23319
23320 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23321
23322 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23323
23324 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23325
23326 * gdb.base/corefile.exp: Recognize "not found" as failure
23327 when trying to determine if a core file was generated.
23328 If no core file was generate the first time, try again without
23329 the ulimit -c to work around braindamaged shells.
23330
23331 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23332
23333 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23334 [] tests with "test" and enclose string in quotes.
23335 * gdb.stabs/configure: Rebuild
23336
23337 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23338
23339 Changes in sync with expect:
23340 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23341 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23342 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23343 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23344 argument to AC_REQUIRE.
23345 * configure: Regenerated.
23346
23347 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23348
23349 * gdb.base/corefile.exp: When generating a core, discard any
23350 error messages about ulimit not found and the "core dumped"
23351 message from the shell that runs the coredumper.
23352
23353 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23354
23355 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23356
23357 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23358 which sed script to run. Expect failure for v_comb test
23359 on PA targets too.
23360
23361 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23362
23363 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23364 "print func2::coremaker_local" and for "backtrace in corefile.exp"
23365
23366 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23367
23368 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23369 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
23370 "sparc-sun-solaris*" xfails for "p v_comb".
23371 * lib/gdb.exp (default_gdb_start): Fix typo.
23372 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23373 messages to not include the full program name that caused
23374 the core dump since some systems (such as solaris) apparently
23375 truncate this path to about 80 characters.
23376 When generating a core file first try increasing the core file
23377 size limit to unlimited since some systems may default it to
23378 zero, and it is harmless to try it. Move the test for failing
23379 to generate a core file to where it will actually get executed.
23380 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23381 new gdb result from g++ debug info improvements and make old
23382 pattern obsolescent. Also account for size_t differences
23383 (may be int or long).
23384 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23385 initialization before function call is placed in the delay slot
23386 and thus appears to be skipped over by commands such as "next".
23387
23388 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23389
23390 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23391
23392 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23393
23394 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23395 input source file; fix code to compile test to deal with this
23396 convention.
23397 * gdb.c++/*.exp: Likewise.
23398
23399 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23400
23401 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23402 "bt in signals.exp".
23403
23404 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23405
23406 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23407 "step over execarg initialization" and
23408 "step over corearg initialization".
23409
23410 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23411
23412 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23413 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23414
23415 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23416
23417 From Rob Savoye (rob@poseidon.cygnus.com)
23418 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23419 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
23420 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23421 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23422 configure.in}: Major reworking for autoconfig.
23423 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23424 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
23425 New files.
23426 * config/unix-gdb.exp: Make GDB global.
23427 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
23428 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23429 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23430 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23431 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23432 term.exp, twice.exp, watchpoint.exp, whatis.exp},
23433 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
23434 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23435 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23436 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23437 pr-8136.exp, result.exp, string.exp, tuples.exp},
23438 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
23439 to returns as necessary, arrange for test to compile own testcase
23440 executable.
23441 * lib/gdb.exp: Changes for testsuite to compile own test cases.
23442
23443 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23444
23445 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
23446 clear_xfail at end of test which might not call either pass or fail.
23447 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23448 "backtrace through signal handler".
23449
23450 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23451
23452 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23453 continuing from a job control stop signal.
23454 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23455
23456 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23457
23458 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23459 * gdb.base/corefile.exp: Likewise.
23460 * gdb.base/funcargs.exp: Likewise.
23461
23462 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23463
23464 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23465 * config/monitor.exp: Add support for setting baud rate.
23466
23467 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23468
23469 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23470 i*86-*-linux* xfails for "backtrace through signal handler".
23471 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23472 "print func2::coremaker_local".
23473 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
23474 alpha-dec-osf2* xfail for
23475 "delete all breakpoints when none".
23476
23477 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23478
23479 * gdb.base/break.exp: Change test that deletes all breakpoints
23480 when no user breakpoints are installed. A post 4.15 change
23481 causes gdb to no longer prompt in this case.
23482
23483 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23484
23485 * gdb.base/return.exp (return_tests): Change xfail for test
23486 "correct value returned double test" to stop xfailing at
23487 Solaris 2.5. Apparently the bug has been fixed.
23488
23489 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23490
23491 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23492 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23493
23494 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23495
23496 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23497 * gdb.disasm/hppa.s: Corresponding changes.
23498
23499 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23500
23501 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23502 makefile fragment.
23503 * config/mt-hpux: Deleted.
23504
23505 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23506
23507 * Many files: When warning about suppressed tests due to a
23508 nonexistant test binary, avoid incrementing the warning count.
23509
23510 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23511
23512 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
23513
23514 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23515
23516 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23517 "sparc-*-solaris2*".
23518
23519 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23520
23521 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23522 Add global and local variables and initialize them.
23523 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23524 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23525 extracts the file name and terminating signal from the core file.
23526 * TODO: Remove note about tests for correct mapping of corefile.
23527 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23528 from optimizing it away.
23529 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23530 handles common blocks.
23531
23532 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23533
23534 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23535 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23536
23537 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23538
23539 * Makefile.in (maintainer-clean): New target, synonym for
23540 realclean.
23541 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23542 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23543 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23544 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23545 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23546 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23547
23548 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23549
23550 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23551 xfails when not gcc compiled for "print foo::funclocal".
23552 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23553 "print foo::funclocal at foo",
23554 "print 'scope1.c'::foo::funclocal at foo",
23555 "print foo::funclocal_bss at foo",
23556 "print 'scope1.c'::foo::funclocal_bss at foo",
23557 "print foo::funclocal_ro at foo",
23558 "print 'scope1.c'::foo::funclocal_ro at foo",
23559 "print bar::funclocal at foo" and
23560 "print 'scope1.c'::bar::funclocal at foo".
23561 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23562 gcc compiled for "print foo::funclocal at bar".
23563 Expand all messages to ensure that they identify that
23564 the test is at bar().
23565 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23566 gcc compiled for:
23567 "ptype on opaque struct pointer (statically)",
23568 "ptype on opaque struct tagname (statically)",
23569 "ptype on opaque struct pointer (dynamically) 1",
23570 "ptype on opaque struct tagname (dynamically) 1",
23571 "ptype on opaque struct pointer (dynamically) 2" and
23572 "ptype on opaque struct tagname (dynamically) 2
23573 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23574 gcc compiled for:
23575 "p datalocal"
23576 "whatis datalocal",
23577 "ptype datalocal",
23578 "p bsslocal",
23579 "whatis bsslocal", and
23580 "ptype bsslocal".
23581 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23582 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23583 when not gcc compiled.
23584 * gdb.base/funcargs.exp (float_and_integral_args): Add
23585 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23586 compiled.
23587 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23588 "backtrace from call6a" when not gcc compiled.
23589 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23590 "backtrace from call7a" when not gcc compiled.
23591 * gdb.base/callfuncs.exp (do_function_calls):
23592 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23593 "p t_char_array_values(char_array_val2,char_array_val1)",
23594 "p t_char_array_values(char_array_val1,char_array_val2)",
23595 "p t_char_array_values("carray 1","carray 2")",
23596 "p t_char_array_values("carray 1",char_array_val2)",
23597 "p t_char_array_values(char_array_val1,"carray 2")",
23598 "p sum_args(1,{2})",
23599 "p sum_args(2,{2,3})",
23600 "p sum_args(3,{2,3,4})",
23601 "p sum_args(4,{2,3,4,5})"
23602 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23603 "backtrace in corefile.exp" when not gcc compiled.
23604
23605 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23606
23607 * gdb.base/signals.exp: Rewrite `handle all print' test as
23608 a procedure. Accept blanks or TABs as whitespace, increase
23609 timeout and expect input buffer size for the large output
23610 from the command. Remove "i*86-*-bsdi2.0" xfail.
23611
23612 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23613
23614 * gdb.base/setvar.exp: Add new testcases for truncation when
23615 assigning invalid values to bitfields.
23616
23617 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23618
23619 * gdb.base/callfuncs.exp (do_function_calls): Remove
23620 mips-sgi-irix* xfail for
23621 "call inferior func with struct - returns char *"
23622 and fix test so that an optional (unsigned char *) cast is
23623 accepted in the result.
23624
23625 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23626
23627 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23628 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23629 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23630 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23631 that accidentally got checked in.
23632
23633 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23634
23635 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
23636 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23637 compiled test.
23638 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23639 Add mips-sgi-irix5* xfail for not gcc compiled.
23640 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23641 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23642 "p top", "whatis top", "p middle", and "whatis middle".
23643 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23644 "whatis signed char" for not gcc compiled.
23645 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23646 "set variable signed char=-1 (-1)" and
23647 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23648 * gdb.base/funcargs.exp (float_and_integral_args):
23649 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23650 Add mips-sgi-irix* xfail when not gcc compiled for
23651 "continue to call2b".
23652 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23653 "continue to call2g".
23654 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23655 "backtrace from call6a"
23656 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23657 "backtrace from call7k".
23658 Add mips-sgi-irix5* xfail when not gcc compiled for
23659 "backtrace from call7a".
23660 (localvars_after_alloca): Fix gdb_test cmds for
23661 "print * after runto ...".
23662 Remove rs6000-*-* xfails for
23663 "print i after runto localvars_after_alloca" and
23664 "print l after runto localvars_after_alloca"
23665 for all compilers.
23666 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23667 when not compiled with gcc, for:
23668 "print signed char == (minus)",
23669 "print signed char != (minus)",
23670 "print signed char < (minus)",
23671 "print signed char > (minus)".
23672 * gdb.base/callfuncs.exp (do_function_calls):
23673 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23674 "call inferior func with struct - returns char *".
23675 * gdb.base/return.exp (return_tests): Change xfail for
23676 "correct value returned double test" to include Solaris 2.4.
23677 * gdb.base/funcargs.exp (float_and_integral_args):
23678 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23679
23680 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23681
23682 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23683 enumeration bitfields if compiling with GNU C.
23684 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23685 to empty' prompt.
23686
23687 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23688
23689 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23690 test for PRO targets.
23691
23692 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23693 breakpoints in the inferior at any given time by making
23694 two groups of breakpoints for call2*, call6* and call7*
23695 tests.
23696
23697 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23698
23699 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23700 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23701 from optimizing it away.
23702 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23703 "call inferior func with struct".
23704
23705 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23706
23707 * configure.in: Only configure gdb.chill for particular targets.
23708
23709 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23710
23711 * gdb.base/Makefile.in: Add action to .c.o transformation
23712 rule that generates a .ci file for each .o file and remove
23713 explicit .c.o rules except for callfuncs.o.
23714 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23715 generates a .ci file for each .o file and remove explicit
23716 .cc.o rules.
23717 (clean): Remove *.tmp *.ci files.
23718 (EXECUTABLES): Remove templ-info.exp.
23719 * gdb.base/compiler.c: New file.
23720 * gdb.c++/compiler.cc: New file
23721 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23722 Change rs6000-*-* xfail for
23723 "print 'scope0.c'::filelocal_ro" and
23724 "print 'scope1.c'::filelocal" and
23725 "print 'scope1.c'::filelocal_bss" and
23726 "print 'scope1.c'::filelocal_ro" and
23727 "print 'scope1.c'::foo::funclocal" and
23728 "print 'scope1.c'::foo::funclocal_ro" and
23729 "print 'scope1.c'::bar::funclocal" and
23730 "print 'scope0.c'::filelocal_ro" and
23731 "print 'scope1.c'::filelocal at foo" and
23732 "print 'scope1.c'::filelocal_bss at foo" and
23733 "print 'scope1.c'::filelocal_ro at foo" and
23734 "print 'scope1.c'::foo::funclocal at foo" and
23735 "print 'scope1.c'::foo::funclocal_bss at foo" and
23736 "print 'scope1.c'::foo::funclocal_ro at foo" and
23737 "print 'scope1.c'::bar::funclocal at foo" and
23738 "print 'scope0.c'::filelocal_ro" and
23739 "print 'scope1.c'::filelocal" and
23740 "print 'scope1.c'::filelocal_bss" and
23741 "print 'scope1.c'::filelocal_ro" and
23742 "print 'scope1.c'::foo::funclocal" and
23743 "print 'scope1.c'::foo::funclocal_bss" and
23744 "print 'scope1.c'::foo::funclocal_ro" and
23745 "print 'scope1.c'::bar::funclocal" and
23746 "print 'scope1.c'::bar::funclocal_bss"
23747 to only be xfail'd when not compiled with gcc.
23748 Add rs6000-*-* xfail for
23749 "print 'scope0.c'::filelocal_bss before run"
23750 when compiled with gcc.
23751 (test_at_main): Add rs6000-*-* xfail for
23752 "print filelocal_ro in test_at_main"
23753 when compiled with gcc.
23754 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23755 Add rs6000-*-aix* xfail for
23756 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23757 "ptype t_char_array", not compiled with gcc.
23758 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23759 xfail for "list foo (in include file)" when gcc compiled.
23760 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23761 (integral_args): Add rs6000-*-* xfail for
23762 "run to call0a" if not compiled with gcc.
23763 (unsigned_integral_args): Add rs6000-*-* xfail for
23764 "run to call1a" if not compiled with gcc.
23765 (float_and_integral_args): Add rs6000-*-* xfail for
23766 "run to call2a" if not compiled with gcc and for
23767 "continue to call2b" for any compiler.
23768 Add rs6000-*-* xfail to
23769 "print f1 after run to call2a" for gcc compiled.
23770 (discard_and_shuffle): Add rs6000-*-* xfail for
23771 "run to call6a".
23772 (shuffle_round_robin): Add rs6000-*-* xfail for
23773 "backtrace from call7a" if not compiled with gcc.
23774 Add rs6000-*-* xfail for
23775 "backtrace from call7b" if compiled with gcc.
23776 (call_after_alloca): Add rs6000-*-* xfail for
23777 "print c in call_after_alloca" and
23778 "print s in call_after_alloca" and
23779 "backtrace from call_after_alloca_subr"
23780 if not compiled with gcc.
23781 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23782 "print c in localvars_in_indirect_call" and
23783 "print c in localvars_in_indirect_call" and
23784 "backtrace in indirectly called function" and
23785 "stepping into indirectly called function"
23786 if not compiled with gcc.
23787 (localvars_after_alloca): Add rs6000-*-* xfail for
23788 "print c after runto localvars_after_alloca" and
23789 "print s after runto localvars_after_alloca" and
23790 "print i after runto localvars_after_alloca" and
23791 "print l after runto localvars_after_alloca"
23792 for all compilers.
23793 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23794 than whatis-info.exp.
23795 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23796 than opaque-info.exp.
23797 Setup rs6000-*-* xfail for
23798 "ptype on opaque struct pointer (statically)" and
23799 "ptype on opaque struct pointer (dynamically)" when
23800 not compiled with gcc.
23801 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23802 rather than callf-info.exp.
23803 (do_function_calls): Add clear_xfail for rs6000-*-* for
23804 "p t_float_values2(3.14159,float_val2)". Seems to work
23805 fine there, both with xlc and gcc. Need to find out what
23806 it is doing right and fix other platforms.
23807 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23808 "call inferior func with struct - returns int",
23809 "call inferior func with struct - returns long",
23810 "call inferior func with struct - returns float",
23811 "call inferior func with struct - returns double",
23812 "call inferior func with struct - returns char *",
23813 but only if not gcc compiled (presumes xlc compiled).
23814 Change rs6000-*-* xfails for
23815 "call inferior func with struct - returns char" and
23816 " call inferior func with struct - returns short" to only
23817 xfail if not using gcc.
23818 (clean mostlyclean): Remove *.ci and *.tmp files.
23819 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23820 than templ-info.exp.
23821 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23822 Add rs6000-*-* xfail for "up to foo in langs.exp"
23823 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23824 when not gcc compiled.
23825
23826 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23827
23828 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23829 * gdb.base/corefile.exp: Likewise.
23830 * gdb.base/list.exp: Likewise.
23831 * gdb.base/scope.exp: Likewise.
23832 * gdb.base/siganls.exp: Likewise.
23833
23834 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23835 compiler output.
23836 * gdb.base/whatis.exp: Likewise.
23837
23838 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23839
23840 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23841 failure (opcode table has been fixed to match reality).
23842
23843 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23844
23845 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23846 "call inferior func with struct - returns char",
23847 "call inferior func with struct - returns short"
23848
23849 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23850 "print 'scope0.c'::filelocal at main",
23851 "print 'scope0.c'::filelocal_bss in test_at_main",
23852 "print 'scope0.c'::filelocal at foo",
23853 "print 'scope0.c'::filelocal_bss in test_at_foo",
23854 "print 'scope0.c'::filelocal at bar",
23855 "print 'scope0.c'::filelocal_bss in test_at_bar"
23856
23857 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23858 in source file 1". This bug seems to have been fixed with both
23859 gcc and native cc (was native assembler bug?).
23860
23861 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23862
23863 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23864 "backtrace through signal handler" to "i*86-*-sysv4*".
23865 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23866 continue" case. Add "known SVR4 bug" to fail message.
23867 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23868 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23869 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23870 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23871 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23872 "up to foo in langs.exp", "show language at foo in
23873 langs.exp", "up to cppsub_ in langs.exp", "show
23874 language at cppsub_ in langs.exp", "up to fsub in
23875 langs.exp", and "show language at fsub in langs.exp".
23876 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23877 "bactrace in corefile.exp".
23878 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23879 "call inferior function with struct - returns float" and
23880 "call inferior function with struct - returns double".
23881
23882 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23883
23884 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23885 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23886 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23887 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23888
23889 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23890
23891 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23892 (or overriden) "CHILL" macro rather then bare "gcc".
23893 Also look for ../../gcc/xgcc since that is what we will
23894 actually need, not "Makefile". Remove following assignment
23895 of CHILL to CHILL_FOR_TARGET because that results in
23896 recursive definition.
23897
23898 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23899
23900 * gdb.base/corefile.exp: Change xfail for backtrace in
23901 corefile.exp from linuxaout to all linux.
23902 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23903 cases where we miss the breakpoint at the signal handler
23904 for some reason. Setup xfail for linuxoldld/linuxaout and
23905 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23906 hitting SIGURG breakpoint.
23907 * gdb.base/signals.exp: Setup xfail for "next" acting like
23908 continue to add linuxoldld. Setup xfail for all linux for
23909 "next to handler in signals_tests_1", "backtrace in
23910 signals_tests_1", "continue to func1", "pass SIGUSR1",
23911 and continue to handler".
23912
23913 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23914
23915 * Update all FSF addresses except those in COPYING* files.
23916
23917 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23918
23919 * gdb.base/a2-run.exp: Change messages to be more explicit about
23920 the status of args, and quote binfile in results.
23921
23922 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23923
23924 * gdb.base/callfuncs.exp: Add tests for passing structs to
23925 inferior functions and return various types.
23926 * gdb.base/callfuncs.c: Add functions to receive a struct
23927 and return a member of the struct, in various types.
23928
23929 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23930
23931 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23932
23933 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23934
23935 * config/vxworks29k.exp: New file, sources vxworks.exp.
23936
23937 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23938
23939 * config/gdbremote.exp: New file. Testing framework using
23940 gdbserver.
23941
23942 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23943
23944 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23945 "call function when asleep" and "send end of file".
23946 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23947 for "backtrace in corefile.exp".
23948 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23949 for "backtrace through signal handler".
23950 * gdb.base/corefile.exp: Make sure we actually generate a core file
23951 before trying the core tests. Some systems allow the user to suppress
23952 generation of core files and default to that (linux for example).
23953 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23954 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23955
23956 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23957
23958 * gdb.threads: New directory with some crude multi-threaded
23959 gdb tests (step.exp and step2.exp).
23960 * config/mt-lynx (STEP_EXECUTABLE): Define.
23961 (THREADFLAGS): Define.
23962
23963 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23964
23965 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23966
23967 * gdb.base/signals.exp: Disable whole file for lynx until
23968 further notice.
23969
23970 * gdb.base/signals.exp: xfail test where "next" acts like
23971 "continue" for lynx.
23972
23973 * gdb.base/interrupt.exp: xfail test for calling function while
23974 inferior is asleep for lynx.
23975
23976 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23977 than one cr-lf after each command.
23978
23979 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23980
23981 * configure.in: Reinstate setting of stabsdirs variable, fix
23982 typo in setting up configdirs for native builds.
23983
23984 * gdb.base/return.exp: Fix typo in return double test.
23985 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23986 compiler from optimizing them away.
23987
23988 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23989
23990 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23991 sequences to be echo'd by gdb when using gdb_test.
23992 * gdb.chill/chexp.exp: Likewise.
23993 * gdb.fortran/exprs.exp: Likewise
23994
23995 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23996
23997 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23998 after the inferior gdb has started.
23999
24000 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
24001 after each command.
24002 * gdb.base/funcargs.exp: Likewise.
24003 * gdb.base/gdbvars.exp: Likewise.
24004 * gdb.base/interrupt.exp: Likewise.
24005 * gdb.base/list.exp: Likewise.
24006 * gdb.base/watchpoint.exp: Likewise.
24007 * gdb.c++/demangle.exp: Likewise.
24008 * gdb.c++/inherit.exp: Likewise.
24009 * gdb.chill/chexp.exp: Likewise.
24010 * gdb.fortran/exprs.exp: Likewise.
24011
24012 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24013 test if we can't handle IO to/from the inferior.
24014
24015 * gdb.c++/misc.exp: Always check for a program already being
24016 started after sending a "run" command to gdb.
24017
24018 * gdb.base/twice.exp: Start with a fresh gdb.
24019
24020 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24021 only depend on gdb's expression code, not the chill runtime.
24022
24023 * gdb.base/return.c: Put return values into variables so we
24024 can have gdb print them rather than depending on the program
24025 to print them.
24026 * gdb.base/return.exp: Corresponding changes.
24027
24028 * lib/gdb.exp: Provide default value for noinferiorio.
24029 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24030 the inferior.
24031
24032 * gdb.base/break.exp: Always check for a program already being
24033 started after sending a "run" command to gdb.
24034 (text_next_with_recursion): Don't check the output from the
24035 program's printf statement. Instead just make sure the program
24036 exited.
24037
24038 * gdb.base/commands.exp: Protect tests which need arguments with
24039 $noargs conditionals.
24040
24041 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24042
24043 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24044 of structure member arrays to match gdb/valops.c:value_addr change.
24045
24046 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24047
24048 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24049 cases.
24050
24051 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24052
24053 * configure.in (configdirs): Remove gdb.chill from default list
24054 of subdirs and then add it back in only if doing a native build.
24055 The current chill compiler does not yet work in any cross build.
24056 * Revert all signal changes from Jul 6.
24057 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24058 for sh-hms targets, allowing these tests to link, with no other
24059 changes. Testing is suppressed by setting "nosignals" in site.exp.
24060
24061 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24062
24063 * configure.in (signaldirs): Define and add to configdirs for all
24064 targets except some specific ones that are known to not support signals.
24065 Also clean up formatting.
24066 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24067 (signals, sigall): Remove rules to build.
24068 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24069 Moved to new gdb.signals directory.
24070 * gdb.signals: New test directory.
24071 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24072 signals.c signals.exp}: New or moved files.
24073
24074 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24075
24076 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24077
24078 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24079
24080 * gdb.base/return.exp: Xfail `return double' test failure
24081 on at least Solaris 2.3 and handle future/past versions on
24082 a case by case basis as appropriate. Also update message
24083 to include i*86 failures.
24084
24085 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24086
24087 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24088
24089 * lib/gdb.exp: Fix comment which erroneously identified
24090 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24091 gdb_file_cmd not gdb_load).
24092 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24093
24094 * gdb.base/setvar.exp: Make test names consistent between pass and
24095 fail cases. Use gdb_test more.
24096
24097 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24098
24099 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24100
24101 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24102
24103 * gdb.base/help.exp: Fix expected help string for `show commands'.
24104
24105 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24106
24107 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24108
24109 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24110 of a text section.
24111
24112 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24113
24114 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24115 that loop eventually terminates. Fix Connection refused logic so
24116 that testsuite will expire nicely.
24117
24118 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24119
24120 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24121 config/rom68k.exp: New tcl glue for the appropriate monitors.
24122 These all just end up calling monitor.exp.
24123 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24124 refused' by retrying. Cleanup some timeout issues.
24125 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24126 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24127 callers don't have to set/restore global timeout variable.
24128
24129 * The following set of changes centralizes management of the global
24130 timeout variable. This way, it can be set in one target dependent
24131 place instead of dozens of places scattered throughout the test suite.
24132 If you need to lengthen a timeout, then you should either set timeout
24133 in one of the config/{target}.exp files, or multiply it by a factor.
24134 Setting it to an absolute value is always going to lose for some
24135 targets.
24136 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24137 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24138 * gdb.base/funcargs.exp: Don't set timeout.
24139 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24140 * gdb.base/printcmds.exp (test_print_string_constants
24141 test_print_array_constants): Don't set timeout.
24142 * gdb.base/ptype.exp: Don't set timeout.
24143 * gdb.base/recurse.exp: Don't set timeout.
24144 * gdb.base/return.exp: Don't set timeout.
24145 * gdb.base/watchpoint.exp: Don't set timeout.
24146 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24147 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24148
24149 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24150
24151 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24152
24153 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24154
24155 * lib/gdb.exp: Disable chill tests for irix5.
24156
24157 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24158
24159 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24160 each test pass or fail.
24161
24162 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24163
24164 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24165 xlc not gcc.
24166
24167 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24168
24169 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24170
24171 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24172
24173 * config/est.exp: Fix copyright and comments. Remove dead code.
24174 Use targetname, serialport and baud variables instead of fixed
24175 constants.
24176 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24177 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24178
24179 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24180
24181 * gdb.base/watchpoint.exp: Don't run
24182 test_watchpoint_triggered_in_syscall for sunos.
24183
24184 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24185
24186 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24187 they don't seem to exist. Do include stdio.h.
24188
24189 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24190
24191 * gdb.base/a1-selftest.exp: Add alpha xfail.
24192
24193 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24194
24195 * gdb.base/watchpoint.c (main): Prompt before calling read().
24196 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24197 Revise accordingly. Remove cruft about sending "123" several
24198 times, until it gets noticed. Clean up the "print buf[0]" stuff
24199 so that it passes or fails, and waits for prompts in the usual way.
24200
24201 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24202
24203 * gdb.base/recurse.exp: Fix comment.
24204
24205 * TODO: Remove item about printing variables in nodebug.exp. Add
24206 item about enabling tests which are only run on some targets.
24207
24208 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24209 fail, make test names unique, use new gdb_test convention
24210 regarding pattern, use gdb_test more, etc.).
24211
24212 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24213 fail, make test names unique, etc.).
24214
24215 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24216
24217 * gdb.base/nodebug.c: Change return type of top and middle to
24218 short.
24219 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24220 are fixed by the recent mdebugread.c changes. Allow `short ()'
24221 as type for top and middle.
24222
24223 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24224
24225 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24226 nearly as I can tell, the whole thing was an accident in Stu's
24227 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24228 to replace a send/expect pair with gdb_test, but ended up only
24229 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24230 of 30 Mar 1995 took care of it, but left this vestigial comment
24231 which I am now nuking.
24232
24233 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24234
24235 * gdb.base/break.exp: Look for different line number for
24236 breakpoint at main depending on usestubs.
24237
24238 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24239
24240 * gdb.base/list.exp: Adjust some alternate expect patterns to
24241 match recent list0.c change. Add alternate expect pattern for
24242 output from `list default lines around main' for optimizing
24243 compilers.
24244
24245 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24246
24247 * lib/gdb.exp: If nosignals is not set, set it to 0.
24248
24249 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24250
24251 * config/slite-gdb.exp: Responds to load symbol table prompt.
24252 * gdb.base/break.exp: Adjust line number, fix rerun.
24253 * gdb.base/langs0.c: Add #ifdef usestubs.
24254
24255 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24256
24257 * gdb.base/list.exp: Adjust line contents after adding new lines in
24258 list0.c. Also fix a syntax error.
24259
24260 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24261 * gdb.base/break.exp: ditto.
24262 * gdb.base/list.exp: ditto.
24263 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24264 * gdb.base/run.c: ditto.
24265 * gdb.base/list0.c: ditto.
24266 * gdb.base/funcargs.c: ditto.
24267
24268 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24269
24270 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24271 $targetname, $serialport and $baud instead of hardwired variables.
24272 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24273 target doesn't support signals.
24274
24275 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24276
24277 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24278
24279 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24280
24281 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24282 Don't rely on the value of an auto variable before it has been
24283 initialized. Use gdb_test more.
24284
24285 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24286
24287 * lib/gdb.exp (default_gdb_version): A version number must start
24288 with a digit, but other than that contains all characters up to
24289 the first whitespace character.
24290
24291 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24292
24293 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24294
24295 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24296
24297 * gdb.c++/*.exp: Warn if executable does not exist. The original
24298 reason for skipping the warning was that configure.in sometimes
24299 intentionally skipped building the executables but the tcl code
24300 had no way of knowing. That (a) was always bogus with respect to
24301 error handling, (b) is no longer true (right now there is no way
24302 to skip C++ tests).
24303
24304 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24305
24306 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24307
24308 * gdb.base/list.exp: Add expect patterns for output from
24309 SunPRO compiled executables.
24310 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24311 types.
24312
24313 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24314
24315 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24316 number (we are already testing that the correct source line text
24317 gets printed).
24318
24319 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24320 that is what is intended, but something needed to be done to get
24321 sunos4 native working again.
24322
24323 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24324
24325 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24326 apparently went with a (very) old xfail.
24327
24328 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24329
24330 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24331 runto_main is a proc in gdb.exp that will do 'step' for target use
24332 stubs.
24333 * gdb.base/exprs.exp: ditto.
24334 * gdb.base/interrupt.exp: ditto.
24335 * gdb.base/opaque.exp: ditto.
24336 * gdb.base/printcmds.exp: ditto.
24337 * gdb.base/ptype.exp: ditto.
24338 * gdb.base/scope.exp: ditto.
24339 * gdb.base/setvar.exp: ditto.
24340 * gdb.base/signals.exp: ditto.
24341 * gdb.base/twice.exp: ditto.
24342 * gdb.c++/classes.exp: ditto.
24343 * gdb.c++/inherit.exp: ditto.
24344 * gdb.c++/templates.exp: ditto.
24345 * gdb.base/break.exp: no run and hit main for stubs. Change line
24346 numbers for breakpoints and info breakpoint.
24347 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24348 breakpoint().
24349 * gdb.base/callfuncs.c: ditto.
24350 * gdb.base/exprs: ditto.
24351 * gdb.base/interrupt.c: ditto.
24352 * gdb.base/opaque0.c: ditto.
24353 * gdb.base/printcmds.c: ditto.
24354 * gdb.base/ptype.c: ditto.
24355 * gdb.base/scope0.c: ditto.
24356 * gdb.base/setvar.c: ditto.
24357 * gdb.base/signals.c: ditto.
24358 * gdb.base/twice.c: ditto.
24359 * gdb.c++/misc.cc: ditto.
24360 * gdb.c++/templates.cc: ditto.
24361
24362 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24363
24364 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24365
24366 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24367 somewhere between `read' and `main.c'. I'm pretty sure the
24368 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24369 and it isn't particularly useful.
24370
24371 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24372
24373 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24374
24375 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24376
24377 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24378
24379 * config/mt-slite: add LIBS and -nostdlib.
24380 * config/slite-gdb.exp: add this new file to support sparclite target.
24381
24382 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24383
24384 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24385
24386 * gdb.base/a2-run.exp: Change argument to istarget from
24387 "*-*-vxworks" to "*-*-vxworks*".
24388 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24389
24390 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24391
24392 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24393 will not runto main but do a 'step' to step out of breakpoint().
24394 * config/mt-slite: add -Dusestubs.
24395
24396 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24397
24398 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24399 instead of just @.
24400
24401 * gdb.base/signals.exp: Add test for "handle all print".
24402 * TODO: Remove "handle all print". Also remove item about
24403 checking copyright date (I don't like the idea of a spurious FAIL
24404 based on when we run the tests).
24405
24406 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24407 for SunOS4 (reason for failure not investigated). Remove
24408 redundant test for $binfile.
24409
24410 * gdb.base/nodebug.c (array_index): Call malloc.
24411
24412 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24413
24414 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24415
24416 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24417 conventions and slightly simplify the matching regexp.
24418
24419 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24420
24421 * gdb.base/break.exp: Update gdb_test invocation to use new
24422 convention.
24423
24424 * lib/gdb.exp: If noargs is not set, set it to 0.
24425
24426 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24427 tests unique.
24428
24429 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24430
24431 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24432
24433 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24434 one argument of type "<non-float parameter>".
24435
24436 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24437
24438 * config/rom68k.exp: New file to support Motorola IDP board.
24439 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24440 * gdb.base/break.c: Change things around so that this program
24441 doesn't depend upon args. This is necessary to make remote
24442 targets work (in general, they can't take args).
24443 * gdb.base/break.exp: Don't try to send args to program. Don't
24444 expect output. Also, replace lots of code with gdb_test.
24445
24446 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24447
24448 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24449 printing of '\'' (which is what the comment says we are testing,
24450 even though we were not), not '''.
24451 (test_integer_literals_rejected): Test that printing ''' is an error.
24452
24453 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24454 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24455 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24456 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24457 Use gdb_test not test_print_accept.
24458 * lib/gdb.exp: Remove test_print_accept.
24459
24460 * gdb.base/signals.exp (signal_tests_1): Make pass message
24461 consistent with fail message.
24462
24463 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24464 unsigned char; the bug (PR 1821) is fixed.
24465
24466 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24467
24468 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24469 successful tests--makes xfailing them work right.
24470
24471 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24472
24473 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24474 only \r\n, not .*. The test can pass .* as the last thing in
24475 $pattern if that is what it wants. In addition to providing this
24476 flexibility, this change should speed up pattern matching in cases
24477 where the pattern already ended with .* (there were a number of
24478 them). This change also helps catch bad patterns--in the old
24479 scheme the typo "char \*" instead of "char \\*" would pass. Now
24480 it is caught.
24481 * Many .exp files: Update callers.
24482
24483 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24484 clearer and does not spuriously match multiple ('s. Likewise for
24485 ) and *.
24486
24487 * gdb.base/nodebug.exp: Test ability to call a function and pass
24488 it a string (even with no debugging info).
24489
24490 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24491 "p '\'", which is the same as "p ''" once tcl gets done with
24492 quoting, to "p '\\'", which I suspect is what is intended (one
24493 backslash gets sent to GDB).
24494
24495 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24496
24497 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24498
24499 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24500 1817) was fixed literally years ago.
24501
24502 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24503
24504 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24505 test, it causes stepping out of call_after_alloca_subr with
24506 optimizing compilers.
24507 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24508 fails.
24509
24510 * gdb.c++/templates.exp: Source templ-info.exp only if
24511 the templates executable exists.
24512
24513 * gdb.c++/misc.cc (class Contains_static_instance,
24514 class Contains_nested_static_instance),
24515 gdb.c++/classes.exp (test_static_members): Test printing of
24516 a class that contains a static instance of the class.
24517
24518 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24519
24520 * gdb.base/langs2.c (cppsub_): Don't prototype.
24521 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24522 only, I believe).
24523
24524 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24525
24526 * lib/gdb.exp (skip_chill_tests): New procedure.
24527
24528 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24529
24530 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24531
24532 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24533 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24534
24535 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24536
24537 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24538
24539 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24540 disassemble 8, not 16, instructions for part 4.
24541
24542 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24543 support the latter anymore.
24544
24545 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24546 -DNO_PROTOTYPES.
24547 * gdb.base/callfuncs.c: Control use of prototypes based on
24548 NO_PROTOTYPES, not __STDC__.
24549 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24550 t_float_values2 tests if prototypes in use.
24551
24552 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24553 t_double_values): When checking differences against DELTA, check
24554 that difference is within the range (-DELTA,DELTA), not just
24555 (-infinity,DELTA).
24556
24557 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24558
24559 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24560 'file' command firts, then 'target', then 'load', this is due to gdb
24561 target set up.
24562 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24563
24564 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24565
24566 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24567 FP load/store variants.
24568 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24569
24570 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24571
24572 * gdb.base/term.exp: Do not give a warning if not native, it is
24573 not an abnormal condition.
24574
24575 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24576
24577 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24578 t_char_array".
24579
24580 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24581
24582 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24583 are getting the version number.
24584
24585 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24586 if not native, it is not an abnormal condition.
24587
24588 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24589
24590 * lib/gdb.exp: Just use "file exists", rather than undocumented
24591 dejagnu procedure "findfile".
24592
24593 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24594
24595 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24596 (LDFLAGS): Set to -Xlinker -Ur.
24597
24598 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24599 Removed, these values are set by lib/gdb.exp.
24600
24601 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24602
24603 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24604
24605 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24606 of replicating gdb startup code.
24607
24608 * config/mt-vxworks (LDFLAGS): Set to -r.
24609 (CFLAGS_FOR_TARGET): Removed.
24610
24611 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24612 (gdb) and gdb for vxworks uses (vxgdb).
24613
24614 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24615 executable is not in the tree and host != target, use sed and
24616 program_transform_name to determine the gdb name used by the
24617 target.
24618
24619 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24620 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24621
24622 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24623
24624 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24625 floats, chars, and shorts where there are ANSI-style function
24626 definitions.
24627
24628 * gdb.base/langs.exp, gdb.base/langs*: New test.
24629 * gdb.base/Makefile.in: Build it.
24630 * TODO: Remove item about checking that C names don't get C++
24631 demangling applied; this test tests it.
24632
24633 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24634
24635 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24636 went with the const70 xfail. The xfail went away a year ago.
24637
24638 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24639
24640 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24641 for hp300.
24642
24643 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24644
24645 * gdb.base/a1-selftest.exp: Don't run on hp300.
24646
24647 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24648
24649 * Makefile.in (site.exp): Set host_alias and target_alias as well
24650 as host_triplet and target_triplet.
24651
24652 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24653
24654 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24655
24656 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24657 places as other ecoff systems).
24658
24659 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24660 ultrix.
24661
24662 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24663
24664 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24665 remove them.
24666 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24667 variable and "variable" in addition to "data variable".
24668 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24669
24670 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24671 2.
24672 * gdb.base/list1.c (long_line): Add additional statement at start
24673 of function.
24674 * gdb.base/list.exp (test_forward_search): Update line number to
24675 reflect new statement.
24676
24677 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24678
24679 * gdb.base/signals.exp: Reinitialize searched source directories
24680 after gdb_start call.
24681
24682 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24683
24684 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24685 * gdb.stabs/Makefile.in: Likewise.
24686
24687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24688 change. Instead split the tests into smaller pieces.
24689 * gdb.disasm/hppa.s: Corresponding changes.
24690
24691 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24692
24693 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24694 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24695
24696 * gdb.base/funcargs.exp: Modify many tests so that every test
24697 either passes or fails. Make some test names unique.
24698
24699 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24700
24701 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24702 Call stty to set interrupt character.
24703
24704 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24705 for HP assembler versus GNU assembler based on actual behavior of
24706 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24707
24708 * TODO: Suggest a few more stepping tests.
24709
24710 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24711
24712 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24713 restart GDB for h8300 after a continue.
24714 (return): Add pattern to match a29k-udi behavior.
24715 * gdb.base/nodebug.exp: Remove obsolete comment.
24716 * gdb.base/regs.exp: New file, testing of register displays.
24717 * gdb.base/return.exp: Fix typo in reference to $objdir.
24718 * gdb.base/whatis.exp: Always start with a fresh GDB.
24719
24720 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24721
24722 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24723 higher, these tests generate a lot of output.
24724
24725 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24726
24727 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24728 code following the catch silently ignored some errors; without the
24729 catch they should be thrown like any other tcl error. Also, the
24730 catch used "" instead of {} which meant all the callers who wanted
24731 to include one of the characters "[]$ had to quote it an extra time.
24732 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24733 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24734 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24735 Remove extra quoting.
24736
24737 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24738
24739 * gdb.base/commands.exp: Make test names unique; every test either
24740 passes or fails. Update some comments.
24741
24742 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24743
24744 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24745
24746 The following fixes a FAIL caused by the fact that the alpha stabs
24747 configuration didn't use the ".if alpha" code in weird.def.
24748 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24749 bit pointer, so the 32 bit version works even on the alpha.
24750 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24751 Remove the stuff which allowed us to have separate versions for
24752 alpha and everything else.
24753
24754 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24755 regexp which "info func operator\[\](" is supposed to match. Fix
24756 string to send to GDB. Note that GDB still doesn't work right. Add a
24757 new test for "info func .perator\[\](" which GDB does handle correctly.
24758
24759 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24760
24761 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24762
24763 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24764 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24765 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24766 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24767 it makes the tests harder to understand and confuses test-o-matic.
24768 The preferred style is that each test provides a PASS or a FAIL,
24769 and has a unique message (e.g. "continue #54" not just "continue")
24770 which is the same for the pass and the fail.
24771 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24772 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24773 to lib/gdb.exp.
24774 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24775 prt_accept which was basically the same thing. Likewise for
24776 test_print_reject and prt_reject.
24777 * lib/gdb.exp (test_print_reject): Add some more error message
24778 patterns to match from the former printcmds.exp (prt_reject).
24779 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24780 One defect of the passcount stuff is that some of it failed to
24781 report XPASS where appropriate.
24782 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24783 stuff before and after arg in expected pattern.
24784 (test_paddr_operator_functions): Re-do test without print_addr_of;
24785 this is the only test which seems to want extra stuff there.
24786
24787 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24788
24789 * gdb.base/nodebug.exp: Update new tests to reflect improved
24790 wording of gdb output.
24791
24792 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24793 and "ptype" work on variables in files compiled without -g.
24794 Replaces commented out "maint print msymbol" tests.
24795
24796 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24797
24798 * gdb.base/setvar.c (dummy): Call malloc.
24799
24800 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24801 losing with the irix4 sed.
24802
24803 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24804 ALRM" on irix4.
24805
24806 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24807
24808 * TODO: Remove items about corefile.exp testing new exec-file and
24809 backtrace; both are now done. Add items about printing enums.
24810
24811 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24812
24813 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24814 "get signal $thissig" test fails.
24815
24816 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24817
24818 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24819
24820 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24821 compiler warning with dec alpha compiler.
24822
24823 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24824 extra \n from gdb_test call (this explains why the prompt test
24825 that I removed yesterday was there).
24826 (user_defined_command_test): Remove extra \n and prompt test.
24827
24828 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24829 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24830 doesn't exist.
24831 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24832 Also remove alpha workaround, which turns out to be because
24833 SIGABRT == SIGLOST.
24834
24835 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24836
24837 * gdb.base/help.exp: Don't test "help show".
24838
24839 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24840
24841 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24842 "set print address" is on.
24843 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24844 pass prompt to gdb_test; gdb_test already looks for the prompt.
24845
24846 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24847
24848 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24849 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24850 was to make sure that gdb can read a core file. But (a) the "read
24851 the corefile" part didn't make it to a1-selftest.exp, we just
24852 delete the corefile after creating it, and (b) we test reading
24853 corefiles in corefile.exp anyway. Also, this test left around a
24854 xgdb process on Solaris.
24855
24856 * gdb.base/corefile.exp: Also test backtrace.
24857
24858 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24859
24860 * gdb.base/commands.exp: Test a simple user defined command with
24861 arguments and if/while statements; verify the full user command is
24862 printed by "show user".
24863
24864 * gdb.base/commands.exp: Test if/while commands as part of a
24865 breakpoint command list; verify they appear in breakpoint
24866 information.
24867
24868 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24869
24870 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24871 than by dividing by zero.
24872
24873 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24874
24875 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24876 performing an inferior call with watchpoints enabled.
24877 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24878 call.
24879
24880 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24881
24882 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24883 of "file" command.
24884
24885 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24886 Add additional pattern for when "int operator int(void);" appears
24887 in a different order.
24888
24889 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24890
24891 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24892
24893 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24894 and "signal" with ".*".
24895
24896 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24897
24898 * TODO: Add note about "handle all nostop".
24899
24900 * gdb.base/{sigall.c, sigall.exp}: New test.
24901 * gdb.base/Makefile.in: Add it.
24902
24903 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24904
24905 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24906 when invoking GDB, suppresses any windowing interface.
24907
24908 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24909
24910 * config/sim-gdb: New file, simulator testing support.
24911
24912 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24913
24914 * gdb.base/interrupt.exp: Test calling func1 twice.
24915
24916 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24917
24918 * gdb.base/list.exp (test_forward_search): Set timeout higher
24919 when we'll be getting lots of output from gdb.
24920
24921 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24922 "init_malloc" to after the expect statement. Run it if that
24923 regexp is taken, but also for two others which happen if source
24924 cannot be found.
24925
24926 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24927
24928 * gdb.base/printcmds.exp: New test, for printing register before
24929 program is running.
24930
24931 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24932
24933 * gdb.base/list.exp: Correct some alternate expect patterns
24934 to reflect changes in list1.c.
24935
24936 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24937
24938 * TODO: Add item regarding large frames.
24939
24940 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24941
24942 * TODO: Remove item about enabling return.exp; it
24943 is enabled. Suggest a few more "return" tests.
24944
24945 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24946
24947 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24948 anonymous unions.
24949
24950 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24951
24952 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24953 and pr-5646.o, so "make" is the same as "make all", not "make
24954 pr-4975.o".
24955
24956 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24957
24958 * gdb.base/list.exp: Adjust expectations to reflect changes in
24959 list1.c.
24960 (test_forward_search): New test proc.
24961 * gdb.base/list1.c (long_line): New function, has long source line.
24962
24963 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24964
24965 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24966 additional line of code that was added.
24967
24968 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24969
24970 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24971 tests so as not to overflow expect's input buffers.
24972 * gdb.disasm/hppa.exp: Corresponding changes.
24973
24974 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24975
24976 Beginnings of template debugging tests.
24977 * gdb.c++/templ-info.cc: New file to test for template
24978 debugging capability of the compiler.
24979 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24980 templ-info.cc.
24981 * gdb.c++/templates.cc: Add explicit template instantiations
24982 to enable compiling with -fno-implicit-templates. Add destructor
24983 and 'value' method to T5 class for template tests.
24984 * gdb.c++/templates.exp: Add testcases for printing of template
24985 types, setting breakpoints on template methods and calling a
24986 template method.
24987
24988 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24989
24990 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24991 branch target since some assemblers (gas-2.5) may emit a
24992 relocation for the branch instead of resolving it in the
24993 assembler.
24994
24995 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24996
24997 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24998 through signal handler.
24999
25000 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25001
25002 * configure.in (*-*-netware): Use config/mt-netware.
25003
25004 * config/mt-netware: New file.
25005 * config/mt-i386-netware: Removed, separate configs for different
25006 netware architectures are no longer needed now that we have
25007 --with-headers.
25008
25009 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25010
25011 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25012 by the recent changes to use ANSI C arithmetic conversions.
25013
25014 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25015
25016 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25017 bug involving using inferior_pid to figure out whether to select a
25018 frame.
25019
25020 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25021
25022 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25023 match the current disassembler output.
25024
25025 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25026
25027 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25028 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25029 types, expect "int" as type of integer values (for now).
25030
25031 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25032
25033 * gdb.base/commands.exp: New tests for if/while commands.
25034
25035 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25036
25037 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25038 by .*, since hex values have different syntax in Chill mode.
25039
25040 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25041
25042 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25043 linefeed from expect pattern for repeated types with indices > 9.
25044
25045 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25046
25047 First part of Fortran test suite.
25048 * gdb.fortran: New directory.
25049 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25050
25051 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25052
25053 * gdb.base/default.exp: Update expect pattern for load command
25054 without arguments.
25055
25056 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25057
25058 * configure.in: Change i386 to i[345]86.
25059 * gdb.base/configure.in: Likewise.
25060 * gdb.c++/configure.in: Likewise.
25061 * gdb.chill/configure.in: Likewise.
25062
25063 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25064
25065 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25066 patterns, since that is not a valid context for comments.
25067
25068 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25069
25070 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25071 repeated types and repeated types with indices > 9.
25072
25073 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25074
25075 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25076 2417; old bug has been fixed.
25077
25078 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25079
25080 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25081 send the newline ourselves instead of assuming gdb_test will do
25082 so when passed an empty input string.
25083
25084 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25085 stabs testcode.
25086
25087 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25088
25089 * lib/gdb.exp (gdb_test): Don't send anything if the first
25090 argument is an empty string. This makes cases where we want to
25091 match output that is already in expect's buffers (for example,
25092 matching a breakpoint after gdb_run_cmd has been called) work
25093 reliably.
25094
25095 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25096
25097 * config/netware.exp: New file.
25098
25099 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25100
25101 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25102 the -B and -L prefixes so we can find the debugging stub.
25103
25104 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25105 there and we are using the gcc from the tree.
25106
25107 * gdb.base/types.c: Removed.
25108
25109 * gdb.base/configure.in: Look for makefile fragments in ../config.
25110 Recognize i386-*-netware.
25111 * gdb.c++/configure.in: Likewise.
25112
25113 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25114
25115 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25116 the correct TCL syntax.
25117
25118 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25119
25120 * gdb.base/opaque.exp: use runto instead of messing around with
25121 breakpoints. Simplify by using gdb_test.
25122
25123 * gdb.base/bitfields.exp: restart between tests on netware targets
25124 because breakpoints aren't relocated after target death. Run
25125 processes to completion.
25126
25127 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25128
25129 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25130
25131 * Makefile.in: Remove extra tabs that confuse some versions
25132 of "make". Use the newly built gdb to test with by default,
25133 rather than the first one in the tester's search path.
25134
25135 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25136
25137 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25138
25139 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25140 condition help.
25141
25142 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25143
25144 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25145
25146 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25147 running.
25148 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25149 * gdb.base/funcargs.exp: Likewise.
25150
25151 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25152 * gdb.base/funcargs.exp: Likewise.
25153
25154 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25155 message is "".
25156
25157 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25158
25159 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25160 return,signals,twice}.exp: Handle non-existant binaries
25161 consistantly.
25162
25163 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25164 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25165 might testing a cross development system.
25166
25167 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25168
25169 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25170 runtest script is relative to ${srcdir}, not ${rootdir}.
25171
25172 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25173
25174 * gdb.base/signals.exp: Allow for optionality of breakpoint
25175 address.
25176
25177 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25178
25179 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25180
25181 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25182
25183 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25184 for size_t definition.
25185 * gdb.c++/templates.cc: Likewise
25186
25187 * config/mt-i386-netware: New file.
25188
25189 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25190 defined.
25191
25192 * gdb.base/Makefile.in: Added support for systems that name core
25193 files by appending "core" to the program name.
25194 * gdb.base/a1-selftest.exp: Likewise.
25195
25196 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25197
25198 * gdb.base/return.exp: Add comment and message for `return double'
25199 test failure on Sparc Solaris.
25200
25201 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25202
25203 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25204
25205 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25206
25207 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25208 from optimizing them away.
25209 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25210 patterns to include default constructors and assignment operators,
25211 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25212 character in the output of the virtual base pointer.
25213
25214 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25215
25216 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25217 expression match in print_addr_of to avoid unintented matches.
25218 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25219 versions up to 2.5.8.
25220
25221 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25222
25223 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25224 included file to run under newer versions of expect.
25225 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25226 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25227 Remove xfail for the virtual table of BDDHookV.
25228
25229 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25230
25231 * lib/gdb.exp (string_to_regexp): Set a default result.
25232 (default_gdb_start): Fix misleading message.
25233
25234 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25235
25236 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25237 Remove all CC, etc definitions.
25238 * config/mt-hpux: New file.
25239 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25240 (CFLAGS, LDFLAGS): Define.
25241 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25242
25243 * Makefile.in (site.exp): Don't insert host_os, etc.
25244 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25245 (distclean): Check existence of subdir.
25246 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25247 * gdb.base/Makefile.in: General cleanup and simplification.
25248 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25249 to build executables. Use default rule to build .o files.
25250 (EXPECT, RUNTEST, CC): Fix relative pathname.
25251 (site.exp): Don't insert host_os, etc.
25252 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25253 and/or SIGUSR1 defined.
25254 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25255 * gdb.c++/Makefile.in: General cleanup and simplification.
25256 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25257 (CFLAGS): Remove.
25258 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25259
25260 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25261
25262 * gdb.base/recurse.exp: Misc changes to get tests running again
25263 after Kung's changes to the watchpoint code.
25264 * gdb.base/watchpoint.exp: Likewise.
25265
25266 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25267
25268 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25269
25270 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25271
25272 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25273 * lib/gdb.exp (default_gdb_start): Define.
25274 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25275 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25276 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25277 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25278 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25279 Don't call gdb_target_udi in between tests.
25280
25281 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25282
25283 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25284 (which was basically just a local version of the same thing). In
25285 addition to avoiding duplication, gdb_test_exact is faster.
25286 * lib/gdb.exp (gdb_test_exact): Fix typo.
25287
25288 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25289 don't give an error.
25290
25291 * gdb.base/term.exp: Call delete_breakpoints before starting.
25292
25293 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25294 (t10): Add comment.
25295
25296 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25297
25298 Reorganization of the GDB Test Suite.
25299
25300 * gdb.base: New directory, contains all the basic tests.
25301 * gdb.c++: New directory, tests specific to C++.
25302 * gdb.chill: New directory, tests specific to Chill.
25303 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25304 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25305 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25306 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25307 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25308 t30-31 to chill).
25309 * */gdbme.*: Rename to match appropriate expect scripts.
25310 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25311 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25312 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25313 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25314 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25315 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25316 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25317 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25318 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25319 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25320 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25321 gdb.c++/virtfunc.cc: New names of C++ files.
25322 * gdb.chill/chillvars.ch: New name of Chill file.
25323 * gdb.base/configure.in, gdb.c++/configure.in,
25324 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25325 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25326 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25327 * configure.in (configdirs): Update to reflect directory changes.
25328 (target_abbrev): No longer define for any configuration.
25329 * Makefile.in: Cosmetic improvements to header comments.
25330
25331 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25332
25333 Various changes to gdb.t31:
25334
25335 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25336 * gdbme.ch: Make all key-words and predefineds be upper-case.
25337 * chillvars.exp: Expect key-words and predefinds in upper-case.
25338
25339 * chillvars.exp: Use gdb_test_exact many places.
25340 Change expected output for arrays (which now includes index labels).
25341
25342 * pr-5020.exp, gdme.ch (module PR_5020):
25343 New test, for PR-5020.
25344
25345 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25346
25347 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25348 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25349
25350 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25351
25352 * Makefile.in: Fix bit-rot in definitions of CHILL,
25353 CHILL_FOR_TARGET and Chill_LIB.
25354 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25355 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25356 CHILL, and CHILL_LIB.
25357
25358 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25359
25360 * Revert the previous changes. Please see Rob's directory
25361 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25362
25363 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25364
25365 * Makefile.in, configure.in, config/mips-gdb.exp,
25366 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25367 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25368 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
25369 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25370 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25371 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25372 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25373 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25374 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25375 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25376 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25377 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25378 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25379 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25380 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25381 changes from 94Q1.
25382
25383 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25384
25385 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25386 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25387 Rob's new testing fragments.
25388
25389 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25390
25391 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
25392 lib/gdb.exp: Replace error proc calls with perror.
25393
25394 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25395
25396 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25397 version also, match on casted version strings, and match on
25398 gdb startup case where the line numbers might be messed up.
25399
25400 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25401
25402 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
25403 (CFLAGS): Delete it from here.
25404
25405 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25406
25407 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25408
25409 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25410
25411 * Makefile.in (RUNTEST): Default to just "runtest".
25412
25413 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25414
25415 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25416 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25417 the code has been restructured.
25418
25419 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25420
25421 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25422 \n, not just one of each.
25423
25424 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25425 /bin/cc gives a warning if you do.
25426
25427 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25428
25429 * gdb.t24/demangle.exp: change expect pattern of
25430 __t10ListS_link1ZUiRCUiPT0
25431
25432 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25433
25434 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25435 on local variables in recursive functions.
25436
25437 * gdb.t07/Makefile.in: Build the new test.
25438
25439 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25440
25441 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25442 directly. Instead compare the return values from actual calls.
25443
25444 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25445
25446 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25447
25448 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25449
25450 * From Peter Schauer with minor modifications.
25451 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25452 stops in mid-line in the caller. Add xfail for returning a float
25453 value on X86 targets.
25454
25455 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25456
25457 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25458 to avoid expect lossage.
25459 (fmem_LRbug_tests): Likewise.
25460 * gdb.disasm/hppa.s: Corresponding changes.
25461
25462 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25463 conditions to work with latest dejagnu/expect.
25464
25465 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25466 expected to fail on the PA.
25467 (backtrace in call with trampolines): Explicitly require main
25468 to be frame #1 (no trampolines should show up in backtrace).
25469
25470 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25471 "continue -expect".
25472 * gdb.t06/break.exp: Likewise.
25473 * gdb.t07/watchpoint.exp: Likewise.
25474 * gdb.t13/bitfields.exp: Likewise.
25475 * gdb.t15/{funcargs,return}.exp: Likewise.
25476 * gdb.stabs/weird.exp: Likewise.
25477 * config/{mips,udi}-gdb.exp: Likewise.
25478
25479 * hppa.sed: Enclose comments within a sed command to avoid
25480 losing with the old OSF1 sed.
25481
25482 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25483
25484 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25485 sequent dynix.
25486 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25487 * gdb.t15/funcargs.exp: Conditionally step again to really
25488 finish from marker_call_with_trampolines. Handle the case where
25489 the first step from within call_with_trampolines already steps
25490 us back to main.
25491 * gdb.t15/gdbme.c: Add comment to closing brace of
25492 call_with_trampolines for funcargs.exp.
25493
25494 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25495
25496 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25497 Fix typo(s).
25498
25499 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25500
25501 * gdb.t07/gdbme.c: More code for watchpoint testing.
25502
25503 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25504 "Hardware watchpoint" throughout file.
25505 (test_watchpoint_triggered_in_syscall): New test.
25506 (test_complex_watchpoint): New test.
25507
25508 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25509
25510 * gdbme.c (call_with_trampolines): New function to try and step
25511 into. Tests trampoline problems on the PA.
25512
25513 * funcargs.exp (localvars_in_indirect_call): No longer expect
25514 stepping into indirect call to fail on PAs.
25515 (test_stepping_over_trampolines): New test.
25516
25517 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25518
25519 * TODO: Add suggestions for static member function tests, and
25520 completion tests.
25521
25522 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25523
25524 * TODO: Add suggestions for "p/a" tests.
25525
25526 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25527 (default_gdb_exit): Replace all the hair with sending "quit" to
25528 the process with a simple close.
25529
25530 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25531
25532 * TODO: Add suggestions for shared library tests.
25533
25534 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25535
25536 * TODO: Add suggestions for x/s tests.
25537
25538 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25539
25540 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25541 "enable once", and "enable breakpoints once" with ".*".
25542
25543 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25544
25545 * TODO: Add suggestions about structure passing tests.
25546
25547 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25548
25549 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25550 the primary1 test, use work around if __GNUC__ < 2.
25551 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25552 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25553 Test for bad output rather than waiting for timeout. Issue
25554 second continue only if first continue failed.
25555
25556 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25557
25558 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25559 operator[] test with gdb_test because the old code didn't seem to
25560 be getting the quoting right with the new dejagnu.
25561
25562 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25563
25564 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25565 one from the path.
25566 * Makefile.in: Use a fresh expect if there is one, use runtest
25567 from the src tree if there is one.
25568
25569 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25570
25571 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25572 next over recursive call. Revise the tests from that point on
25573 (which had been skipped) to match GDB's actual (correct) output.
25574
25575 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25576 with next over a breakpoint whose condition is false.
25577
25578 * gdb.t00/help.exp: Comment out "help set print" tests just like
25579 (and for same reason as) "help set" test.
25580
25581 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25582
25583 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25584 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25585
25586 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25587
25588 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25589 necessary gdb_target_udi.
25590
25591 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25592
25593 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25594 1838 and 2417; they are fixed.
25595
25596 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25597 gdb.t03/ptype.exp (ptype structure, ptype union):
25598 Remove xfails; the test is looser than when the xfails were added.
25599
25600 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25601 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25602
25603 * gdb.t01/run.exp: Only run shell test if isnative.
25604
25605 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25606 since "run" automatically loads if necessary. Call gdb_target_udi
25607 after the "file" since "file" kills any execution target.
25608
25609 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25610 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25611 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25612 argument for UDI.
25613
25614 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25615
25616 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25617
25618 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25619
25620 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25621
25622 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25623 properly quoting regexps. This makes the second argument to
25624 demangle a fixed string, which matches the callers, instead of a
25625 shell-style pattern which is what the previous implementation
25626 used. Update some of the callers.
25627
25628 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25629
25630 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25631 (comib_nullified_tests): Fix typo.
25632 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25633 strings. No longer expected to fail.
25634
25635 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25636 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25637 strings. No longer expected to fail.
25638
25639 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25640 string. No longer expected to fail.
25641
25642 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25643
25644 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25645 No longer expected to fail.
25646
25647 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25648 string. No longer expected to fail.
25649
25650 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25651
25652 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25653 only in the names (I probably got most of them). I was even
25654 generous with some which differed in underscores in names, and
25655 probably missed a few, and I *still* was able to remove almost a
25656 third of the file with almost no impact on testsuite coverage.
25657
25658 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25659
25660 * gdb.t00/default.exp: Match udi_attach error message as well as
25661 the one from child_attach.
25662
25663 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25664
25665 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25666
25667 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25668 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25669
25670 * Move test with enums and partial symbols back to
25671 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25672 Reverts the change of 26 May 93. Per today's change to
25673 stabs.texinfo, the behavior that weird.exp was expecting was
25674 unreasonable; what is important is that the compiler+gdb get
25675 things right, which happens with a recent gcc. Also fix the test
25676 to deal with native compilers which put out the stab gdb can't
25677 deal with.
25678
25679 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25680
25681 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25682 in the names. The main thing these accomplish is to slow things down.
25683 Many more such duplicates surely remain.
25684
25685 * gdb.t00/help.exp: Comment out "help support" test just like
25686 (and for same reason as) "help set" test.
25687
25688 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25689
25690 * gdb.t06/break.exp: Remove setup_xfails for
25691 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25692 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25693 about known bug in gcc to include up through 2.5.8.
25694 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25695 well as "_vb$".
25696 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25697 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25698 with latest gcc and gdb.
25699 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25700 well as "_vb$".
25701
25702 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25703
25704 * configure.in (hppa*-*-*): Also configure and build stabs-only
25705 tests.
25706
25707 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25708
25709 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25710 * gdb.t10/configure.in (hppa*-*-*): Use it.
25711
25712 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25713
25714 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25715
25716 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25717
25718 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25719 versions prior to 1.13.5.
25720
25721 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25722
25723 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25724 the prompt is at the start of a line.
25725
25726 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25727
25728 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25729 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25730 in the copr tests now.
25731 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25732 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25733 expected to fail.
25734
25735 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25736
25737 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25738 gdb.t31/chillvars.exp, lib/gdb.exp:
25739 Tweak to run under either version of expect.
25740 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25741 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25742 * gdb.t11/list.exp: Remove extraneous whitespace.
25743
25744 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25745
25746 * gdb.t16/printcmds.exp (test_print_strings): Accept
25747 "(unsigned char *) " before the string.
25748
25749 * TODO: Add notes about printing of fancy types and GDB expressions.
25750
25751 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25752
25753 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25754 * gdb.t06/configure.in: Don't try to compile signals test program
25755 if doing mips-idt-ecoff.
25756
25757 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25758
25759 * Most .exp files: Tweak to run under either version of expect.
25760
25761 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25762
25763 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25764 xfails; I'm not sure why they are failing, but not because of PR 1806.
25765
25766 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25767
25768 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25769 defined in lib/gdb.exp.
25770
25771 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25772
25773 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25774 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25775 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25776 have to be typeless.
25777
25778 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25779
25780 * TODO: Add suggestion for copyright year test.
25781
25782 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25783
25784 * configure.in (*-*-lynxos*): Add stabs tests.
25785
25786 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25787
25788 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25789 so insert a tab before any assembler directive in column zero.
25790
25791 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25792 stores.
25793 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25794 stores.
25795 (fpu_short_memory_tests): Likewise.
25796
25797 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25798
25799 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25800 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25801 .stabs directives in comments.
25802
25803 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25804
25805 * TODO: New file, describing tests we could write.
25806 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25807
25808 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25809
25810 * gdb.t06/signals.exp: Add kludge to force re-sync.
25811
25812 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25813 to xgdb instead of gdb, get out of gdb.
25814
25815 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25816
25817 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25818 for info.
25819
25820 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25821
25822 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25823 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25824 * gdb.stabs/hppa.sed: New sed script for the PA.
25825
25826 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25827
25828 * gdb.stabs: Re-write weird.def and configuration to use sed
25829 instead of cpp. sed is portable and POSIX; cpp is neither.
25830
25831 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25832
25833 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25834
25835 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25836
25837 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25838
25839 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25840
25841 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25842 "_vb$".
25843 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25844 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25845
25846 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25847
25848 * lib/gdb.exp: Comment out code which depends on non-existent
25849 `transform' procedure.
25850
25851 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25852
25853 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25854 * lib/gdb.exp: Transform tool name.
25855 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25856 1.1's new error handling system.
25857
25858 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25859
25860 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25861
25862 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25863
25864 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25865 They made pattern matching so slow that timeouts happened on
25866 heavily loaded systems. Now any output from "show print" which
25867 gets us back to the GDB prompt is a PASS.
25868
25869 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25870
25871 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25872
25873 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25874
25875 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25876
25877 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25878 It is not from PR 3220.
25879
25880 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25881
25882 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25883 just started failing because they depended on the order the
25884 subcommands are presented, or exact docstring text. This kind of
25885 test is a pain and has minimal benefit.
25886
25887 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25888
25889 * gdb.t09/corefile.exp: At end of test, use "core" command with
25890 no arguments.
25891
25892 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25893
25894 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25895 17}/Makefile.in: Make it possible to run the testsuite with Sun
25896 make and CC = cross gcc by adding explicit build rules for .o
25897 files.
25898
25899 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25900
25901 * gdb.t15/funcargs.exp: Don't put comments on same line as
25902 setup_xfail (@#$*%& tcl braindamage!).
25903
25904 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25905
25906 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25907
25908 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25909
25910 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25911 * gdb.t20/inherit.exp: remove three dumplicate entries.
25912
25913 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25914
25915 * gdb.t06/break.exp: For "next over recursive call", fail on any
25916 incorrect output, not just on "factorial (value=2)".
25917
25918 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25919
25920 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25921 working now. Add an xfail if accesing a bss variable causes
25922 a memory error if the target is not yet run.
25923
25924 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25925
25926 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25927 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25928 name of __st* demangling (2 strings). Did Kung really get the
25929 more than 95 others right without testing them?
25930
25931 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25932
25933 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25934
25935 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25936
25937 * configure.in (configdirs): Add gdb.disasm
25938 * gdb.disasm: New directory for GDB disassembler tests.
25939 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25940
25941 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25942
25943 * gdb.t00/help.exp: Don't test "help set".
25944
25945 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25946 from within expect statements. None of these happen anymore and
25947 they cause regressions to be silently unnoticed.
25948
25949 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25950 messages) about known failures with gcc cygnus-2.4.5-930417.
25951
25952 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25953 comp-info.exp so it gets built if it doesn't exist.
25954
25955 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25956 it is no longer used.
25957 * gdb.t13/comp-info.c: Removed.
25958
25959 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25960
25961 * gdb.t06/signals.exp: Add xfail for sun3.
25962
25963 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25964
25965 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25966 relevant because ^C doesn't get sent but failure can be reproduced
25967 interactively).
25968
25969 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25970
25971 * gdb.stabs/alpha.mt: New configuration file for alpha.
25972 * gdb.stabs/configure.in: Use it.
25973 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25974 sharing with alpha.mt, redefine long to word via preprocessor.
25975 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25976 for alpha.
25977 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25978 native cc.
25979 * gdb.t00/teststrategy.exp: Change expect string so that we
25980 consume the `(xgdb)' from the command echo and from the gdb prompt.
25981 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25982 gdb currently compares all values as long, so this failure probably
25983 applies to any configuration where LONGEST is bigger than a target int.
25984 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25985 with gcc.
25986 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25987 to handle opaque pointers, gcc is.
25988 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25989 as first argument. Include <sys/types.h> and change all operator
25990 new definitions to use size_t.
25991 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25992 now that we use size_t.
25993
25994 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25995
25996 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
25997 a long or float array cast all array members to the same type.
25998 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
25999 with 64 bit longs.
26000 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
26001 on alpha.
26002 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
26003
26004 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26005
26006 * gdb.t24 (demangle.exp): Constructors of templates have names like
26007 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26008 section 14.6 of the ARM.
26009
26010 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26011 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26012 accomplish little and slow down the testsuite.
26013
26014 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26015 Accept spaces various places.
26016
26017 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26018
26019 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26020 with watchpoint enabled.
26021
26022 * Makefile.in: Remove definition of CC and remove the second
26023 definition of CXX (the "CXX = gcc" one remains). These definitions
26024 were causing backquotes to be expanded within backquotes, which
26025 doesn't work.
26026
26027 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26028
26029 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26030
26031 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26032
26033 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26034 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
26035 by mips cc and contains no stabs entries.
26036
26037 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26038
26039 * config/vx-gdb.exp: Use fake device to load files rather than
26040 NFS.
26041 * lib/gdb.exp: New proc to do "file" command.
26042 * config/unix-gdb.exp: Use new "file" proc.
26043
26044 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26045
26046 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26047 Rework board rebooting slightly.
26048 (gdb_exit): Don't exit from the remote shell; there isn't one.
26049 * gdb.stabs/weird.exp: If a program is being debugged already,
26050 kill it.
26051 * gdb.t04/setvar.exp: Stop and restart gdb.
26052 * gdb.t05/expr.exp: Likewise.
26053 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26054 restart gdb and reload the program.
26055 * gdb.t08/opaque.exp: Likewise.
26056 * gdb.t12/scope.exp: Likewise.
26057 * gdb.t13/bitfields.exp: Likewise.
26058 * gdb.t15/funcargs.exp: Likewise.
26059 * gdb.t20/classes.exp: Likewise.
26060 * gdb.t03/ptype.exp: Increase timeout.
26061 * gdb.t16/printcmds.exp (test_print_string_constants,
26062 test_print_array_constants): Likewise.
26063 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26064 * gdb.t20/classes.exp (do_tests): Likewise.
26065 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26066
26067 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26068
26069 * gdb.stabs: Renamed *wierd* to *weird*.
26070
26071 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26072
26073 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26074 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26075
26076 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26077
26078 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26079 (do_tests): Remove xfail for whatis on one_var and two_var.
26080
26081 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26082
26083 * Makefile.in: Made cross building work better by adding
26084 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26085
26086 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26087
26088 * gdb.t15/{return.c,return.exp,Makefile.in}:
26089 New test, currently commented out.
26090
26091 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26092
26093 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26094 still running and removes the leftover named socket so GDb can do
26095 clean restarts.
26096
26097 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26098
26099 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26100 console, not GDB.
26101 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26102 cross testing works better with "make check"
26103 * config/unix-gdb: Use default procedures for exit and version.
26104 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26105 with the newest VxWorks.
26106
26107 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26108
26109 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26110 old form.
26111
26112 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26113 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26114
26115 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26116
26117 * config/unix-gdb.exp: Remove this version of gdb_exit
26118 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26119 Rob says he'll look at it when he gets back to testing boards.
26120
26121 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26122
26123 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26124 an expected fail for certain ptype commands.
26125
26126 * gdb.t20/classes.exp: Update expected results of "ptype class
26127 Base1" to account for the constructor that now appears in the type.
26128
26129 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26130
26131 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26132 disappeared from list.
26133 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26134 "alldone" proc with call to cleanup and exit.
26135 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26136 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26137 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26138 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26139 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26140 "alldone" proc with simple returns that suppress remaining
26141 tests. The alldone proc went away many months ago.
26142
26143 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26144
26145 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26146
26147 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26148
26149 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26150
26151 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26152 as vax gdb will display them.
26153
26154 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26155
26156 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26157 optimizers.
26158
26159 * scope.exp: Change "bad value for localval" messages so each one
26160 is unique.
26161
26162 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26163 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26164
26165 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26166
26167 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26168
26169 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26170 doesn't exist (due to optimization).
26171
26172 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26173
26174 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26175 contains \r because the filename is long.
26176
26177 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26178 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26179
26180 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26181
26182 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26183 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26184 Ultrix.
26185 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26186 int tests.
26187 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26188
26189 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26190
26191 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26192
26193 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
26194 to match does not match the passing case but still matches the
26195 failing case.
26196
26197 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26198
26199 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26200
26201 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26202
26203 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26204 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26205 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26206 Remove various versions of gdb_exit.
26207 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26208 gdb_exit.
26209 * config/unix-gdb.exp: gdb_exit remains here, and should override
26210 the generic version, since it's doing a lot of wierd stuff that
26211 the other versions aren't. FIXME, fold it in, or abandon this
26212 version.
26213
26214 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26215
26216 * gdb.t24/demangle.exp: Add tests for PR 3220.
26217
26218 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26219
26220 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26221
26222 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26223
26224 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26225 "i386-*-*". Works for i486 as well.
26226
26227 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26228 bug, and expand domain of xfail to all SVR4 systems, since the
26229 actual problem is likely to be in generic SVR4 /proc support.
26230
26231 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26232
26233 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26234
26235 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26236
26237 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26238 xfails for other systems. Match a missing 'Continuing.' as an
26239 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26240
26241 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26242 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26243 Only issue warning for missing executables if -all option is used.
26244
26245 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26246 file if -all option is used. It's like an unpredictable XFAIL.
26247
26248 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26249
26250 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26251 for dynamically linked binaries.
26252
26253 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26254
26255 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26256
26257 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26258 to state that this is a known bug in old versions of g++.
26259
26260 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26261
26262 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26263 while waiting for `Continuing'.
26264
26265 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26266
26267 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26268 in text, data, and bss.
26269 * gdb.t10/nodebug.c: Add local and global test variables for
26270 initialized and uninitialized data.
26271
26272 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26273
26274 * config/unix-gdb.exp (gdb_exit): Add "wait".
26275
26276 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26277
26278 * gdb.t06/signals.exp: xfail the continue from the handler for all
26279 targets.
26280
26281 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26282 function with watchpoints enabled, the i386 call dummy starts with
26283 a call.
26284
26285 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26286 386 bsd names its corefiles.
26287
26288 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26289
26290 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26291 compilers don't grok it.
26292 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26293 with small octal ints rather than character constants, which
26294 are signed and might not fit if first promoted to int.
26295
26296 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26297
26298 * gdb.t09/Makefile.in (clean): Remove corefile.
26299
26300 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26301
26302 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26303
26304 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26305 and Jim Kingdon (kingdon@cygnus.com)
26306
26307 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26308 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26309 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26310
26311 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26312
26313 * gdb.t17/interrupt.exp: Add xfail for hppa.
26314
26315 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26316
26317 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26318 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26319 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26320 to determine signed-ness of bitfields and use the result to setup
26321 the xfail.
26322 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26323 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26324 call line is reached if necessary.
26325
26326 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26327
26328 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26329
26330 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26331
26332 * gdb.t06/break.exp: Also test `clear' command.
26333
26334 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26335
26336 * gdb.t00/teststrategy.exp: Remove extra quote.
26337
26338 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26339 watchpoint enabled to be for all non-68k machines.
26340
26341 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26342
26343 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26344
26345 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26346 targets use aout.mt instead of ecoff.mt as gas understands
26347 standard aout format.
26348
26349 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26350
26351 * lib/gdb.exp (runto): Don't insist that function we are running to
26352 was compiled with -g.
26353
26354 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26355
26356 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26357 to get back into the read system call.
26358 Accept leading newline in case where we woke it up.
26359
26360 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26361
26362 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26363 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26364 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26365 enable ecoff configuration.
26366
26367 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26368
26369 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26370
26371 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26372
26373 * gdb.t16/printcmds.exp: Add another printf test.
26374
26375 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26376
26377 * configure.in: If configured -with-stabs on any target, add
26378 stabsdirs to configdirs.
26379
26380 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26381
26382 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26383 fun" so pattern does not match the command itself.
26384
26385 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26386
26387 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26388
26389 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26390
26391 * gdb.t17/interrupt.exp: Test for more things.
26392
26393 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26394
26395 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26396 compiler arranges the code and line numbers.
26397
26398 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26399
26400 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26401
26402 * gdb.t00/help.exp: Increase expect input buffer size.
26403
26404 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26405
26406 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26407
26408 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26409
26410 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26411
26412 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26413 [0-9]*, not just [0-9].
26414
26415 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26416
26417 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26418
26419 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26420
26421 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26422
26423 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26424
26425 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26426
26427 * gdb.t06/signals.c: Add xfails for sun3.
26428
26429 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26430
26431 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26432 test_stepping tests.
26433
26434 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26435
26436 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26437
26438 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26439
26440 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26441 rather than actually putting it through cpp twice.
26442
26443 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26444
26445 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26446
26447 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26448 no longer needed.
26449
26450 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26451
26452 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26453
26454 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26455 C++ features prints as "struct", make it a pass, not an xfail.
26456
26457 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26458
26459 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26460 Don't require VA to print as "class" rather than "struct".
26461
26462 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26463
26464 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26465
26466 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26467
26468 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26469
26470 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26471
26472 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26473 order.
26474
26475 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26476
26477 * gdb.t16/printcmds.exp: Add printf tests.
26478
26479 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26480
26481 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26482
26483 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26484
26485 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26486 pass counts, to counteract any existing or future setup_xfails.
26487
26488 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26489
26490 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26491 {BEGIN,END}_COMMON for common block instead of STAB.
26492 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26493
26494 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26495 intp_var should be N_GSYM not N_LSYM.
26496 wierd-aout.S: Use a label for the value of the N_SO.
26497 wierd.def: Remove all backslashes.
26498 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26499
26500 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26501
26502 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26503 get the expected next to inheritance3.
26504
26505 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26506
26507 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26508 now that gcc-2.4 gets it right.
26509
26510 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26511
26512 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26513
26514 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26515 generating comp-info.exp which works for cross-compilation.
26516
26517 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26518
26519 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26520 "*-*-sysv4.*".
26521
26522 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26523
26524 * gdb.t01/run.exp: Start with a fresh gdb.
26525 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26526 SVR4.x.
26527
26528 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26529
26530 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26531 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26532 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26533 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26534 things to remove.
26535
26536 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26537
26538 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26539 test cases from bug reports.
26540
26541 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26542
26543 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26544 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26545 avoid spurious xfails.
26546 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26547 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26548 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26549
26550 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26551
26552 * gdb.t00/teststrategy.exp: Rework to provide more useful
26553 description of each test, fix problem with systems that define
26554 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26555 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26556 results for "next over recursive call" so timeouts aren't taken
26557 by error.
26558
26559 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26560
26561 * gdb.t12/scope.exp: Test printing of variables before run.
26562
26563 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26564 printed in wrong order due to sorting.
26565
26566 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26567
26568 * gdb.t00/teststrategy.exp: Fix expected results for printing
26569 user entered string constant. Is array of char, prints with no
26570 address.
26571
26572 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26573 commands.
26574 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26575 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26576 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26577 of struct of char arrays.
26578 * gdb.t00/radix.exp: New tests for radix commands.
26579
26580 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26581
26582 * gdb.t16/printcmd.exp: Print a variable before running program
26583 (with xfail for AIX).
26584
26585 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26586
26587 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26588
26589 * gdb.t16/printcmd.exp: Don't print variables before running program.
26590
26591 * gdb.t06/break.exp: Don't require envp argument to main.
26592
26593 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26594
26595 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26596 Add xfails for rs6000.
26597
26598 * gdb.t02/whatis.exp: Change other tests not to re-test something
26599 we already tested.
26600
26601 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26602 each type used has a variable of that type.
26603
26604 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26605
26606 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26607
26608 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26609
26610 * configure.in: change srctrigger to be a file, not a directory
26611
26612 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26613
26614 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26615
26616 * gdb.t11/list.exp: Fixed a couple of typos.
26617
26618 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26619
26620 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26621 is fixed and PR is closed.
26622 * gdb.t16 (gdbme.c): Add simple test string variable.
26623 * gdb.t16 (printcmds.exp): Add tests with simple test string
26624 variable, primarily for boundaries on "set print elements".
26625
26626 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26627
26628 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26629 Make leading 0's optional and don't expect a tab in the middle
26630 of the number.
26631
26632 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26633
26634 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26635 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26636 don't end command passed to gdb_test with newline.
26637
26638 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26639 signed keyword away, don't expect signed bitfields to be signed.
26640
26641 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26642 printing with only as many 1's as are in the field as well as printing
26643 with 32 1's (see comment).
26644
26645 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26646
26647 * gdb.t00/default.exp: Start with a fresh gdb.
26648 * configure.in (configdirs): Remove gdb.t31 until the chill
26649 compiler works again. It no longer is able to find chillrt0
26650 since it isn't in libchill.a anymore.
26651 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26652 wierd.o, make more modular.
26653 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26654 spurious newlines that caused problems.
26655
26656 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26657
26658 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26659 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26660 gdb.stabs/wierd.{exp,def}: Many new tests.
26661
26662 * gdb.t00/default.exp: update info line for new message.
26663
26664 * gdb.t02/{whatis.exp,gdbme.c}:
26665 Test that "char *" doesn't print as "caddr_t".
26666
26667 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26668
26669 * gdb.t00/help.exp: Use .* in place of some help messages which
26670 just changed.
26671 gdb.t00/default.exp: Update "info frame" test for new message.
26672 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26673 Remove some xfails
26674
26675 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26676
26677 * gdb.t03/{gdbme.c,ptype.exp}:
26678 Add tests for typedef'd struct and union without tags.
26679 Also check "whatis" on a variable of a typedef'd enum without a tag.
26680
26681 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26682 PRMS 1823; the bug still exists but isn't reproduced by this test
26683 anymore), and remove rs6000 XFAIL (the bug is fixed).
26684
26685 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26686 duplicated from whatis.exp. For those that are left, accept
26687 "long", "long int", or "int" for long variables (whatis.exp already
26688 has an XFAIL for "int", so no need to fail it here).
26689
26690 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26691 Deal with GCC's names for types now that GDB uses the compiler's names.
26692
26693 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26694 setup_xfail's for sunos4. If we #defined the signed keyword away,
26695 don't expect GDB to know that char it is signed.
26696
26697 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26698
26699 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26700
26701 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26702 should work on any system, regardless of debugging format.
26703 * gdb.t21/demangle.exp: Move to gdb.t24.
26704 * gdb.t24/demangle.exp: Move from gdb.t21.
26705 * gdb.t24/{Makefile.in, configure.in}: New files.
26706
26707 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26708
26709 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26710 * gdb.stabs: New directory.
26711
26712 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26713
26714 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26715 not just "Quit anyway?".
26716
26717 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26718
26719 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26720 that all setup_xfails are immediately followed by clear_xfails.
26721
26722 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26723
26724 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26725 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26726 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26727 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26728 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26729 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26730 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26731 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26732 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26733 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26734 gdb.t31/chillvars.exp, lib/gdb.exp:
26735 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26736 bug-gdb@prep.ai.mit.edu.
26737
26738 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26739
26740 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26741 with 0.0, not integer 0.
26742
26743 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26744
26745 * gdb.t06/break.exp: Update for "Kill the program" message change.
26746
26747 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26748
26749 * Makefile.in (GDBFLAGS): Set to -nx.
26750 * Makefile.in (site.exp): Use GDBFLAGS.
26751
26752 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26753
26754 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26755 Makefiles.
26756 (check): depend on just-check.
26757 (just-check): added so that tests can be run without a noop
26758 build pass.
26759
26760 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26761
26762 Switch to using configure's configdirs.
26763 * Makefile.in (Makefile): add configure.in dependency.
26764 (SUBDIRS): removed redundant assignment.
26765 * configure.in: switch subdirs assignment to configdirs.
26766 * gdb.t*/configure.in: new files.
26767
26768 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26769
26770 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26771 works.
26772
26773 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26774
26775 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26776 in explicit rules. Apparently this is not supported by some makes.
26777
26778 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26779
26780 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26781
26782 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26783
26784 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26785 disappeared.
26786
26787 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26788
26789 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26790
26791 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26792
26793 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26794 watchpoint problem that is now fixed.
26795 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26796 uninitialized convenience variables.
26797 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26798 structures.
26799
26800 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26801
26802 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26803 which causes expect to get out of sync with gdb on long output
26804 from help set.
26805 * gdb.t09/corefile.exp: Make expected pattern for core file
26806 failing signal and frame output format less sun specific.
26807
26808 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26809
26810 * gdb.t31/chillvars.exp: Add and remove initial dummy
26811 breakpoint, so that symbol table is forced in.
26812 (Needed at least on Sunos4, though it seems not SVR4.)
26813 * gdb.t31/chillvars.exp: Update for changed output format.
26814
26815 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26816
26817 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26818
26819 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26820
26821 * Makefile.in: Added --srcdir when invoking runtest, removed the
26822 need for a local config file. (optional now)
26823
26824 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26825
26826 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26827 failure count used to force early termination. Add some more
26828 expected failures for gnu style demangling.
26829
26830 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26831
26832 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26833 pmi variable from gdb.t20/gdbme to get optimized away.
26834 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26835 Check for written corefile upon timeout _and_ eof.
26836
26837 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26838
26839 * config/unix-gdb.exp: Add missing return 0.
26840
26841 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26842
26843 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26844 test termination.
26845
26846 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26847
26848 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26849 disappeared.
26850
26851 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26852
26853 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26854 time as i860 support works.
26855
26856 * gdb.t15/funcargs.exp: Fix expected outputs to include
26857 "backtrace 100\r" rather than just "backtrace\r", to match last
26858 change.
26859
26860 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26861
26862 * config/udi-gdb.exp (gdb_exit): Remove close command.
26863 (gdb_target_udi): New procedure to set the UDI target.
26864 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26865 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26866 Added waits for prompts after several question responses. Added
26867 some more responses used by a29k-amd-udi-gdb.
26868 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26869 pass different arguments, restart UDI connection after program
26870 completion.
26871 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26872 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26873 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26874 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26875 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26876 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26877 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26878 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26879 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26880 after program completion.
26881 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26882 compiled with a SELECT_VECS setting.
26883 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26884 infinite recursion.
26885
26886 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26887 Added checks for COFF results, and made them expected failures for
26888 all targets. It would be better to make them expected failures
26889 for COFF targets only.
26890
26891 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26892
26893 * Makefile.in: add null dvi target, don't bother to recurse
26894 through test directories for info and install-info; rename
26895 $(datadir) to be dejagnu instead of deja-gnu
26896
26897 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26898
26899 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26900 compiler to coredump.
26901 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26902 code.
26903
26904 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26905
26906 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26907 coredump.
26908 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26909 code.
26910
26911 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26912
26913 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26914 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26915 which in a shell. Deletes xgdb when done.
26916 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26917 Tests the return from the "set height" or "set width" commands.
26918 Added a few return codes where needed.
26919
26920 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26921
26922 * Makefile.in (SUBDIRS): Add gdb.t17.
26923 * configure.in (subdirs): Add gdb.t17.
26924 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26925 files to test gdb's calling of functions in the inferior with
26926 the correct arguments and gdb's ability to retrieve any
26927 result returned.
26928
26929 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26930
26931 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26932 may be called after gdb goes away. Previous versions of expect
26933 needed these to avoid file descriptor leaks, but they cause
26934 errors with the current revision of expect.
26935 * gdb.t00/gdbvars.exp: Use -re on expected output after
26936 setting sevenbit-strings.
26937 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26938 to set sevenbit-strings consistent across tests.
26939 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26940 set sevenbit-strings consistent across tests.
26941
26942 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26943
26944 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26945 expected output to match current "expect" expectations.
26946
26947 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26948
26949 * gdb.t00/default.exp: Change expected output for default "source"
26950 command, to match new gdb behavior which requires a filename to
26951 source.
26952
26953 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26954
26955 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26956 expected fail for i486-*-* that misses the marker2 function.
26957 * gdb.t10/crossload.exp (bfddefault): Allow successful
26958 recognition of a format to pass even if no symbols are found.
26959 Explicitly catch failures where the format is not recognized
26960 or is ambiguous, and add the reason to the fail message.
26961 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26962 the cause is and invalid target and add reason to failure message.
26963 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26964 elf32-i386, elf32-sparc, and elf32-i860.
26965 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26966 Set up expected failure for 'filename'::variable scope resolution,
26967 which is now apparently broken on all targets.
26968 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26969 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26970 gdb.t23/templates.exp: Change failure for missing binfile into
26971 just a warning.
26972 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26973 references.
26974
26975 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26976
26977 * gdb.t00/default.exp: Add expected output for default "source"
26978 command, to match new gdb behavior.
26979 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26980
26981 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26982
26983 * config/*-gdb.exp: returns an error, rather than exiting on
26984 internal errors.
26985
26986 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26987
26988 * gdb.t03/gdbme.c: Add pointer to struct variable.
26989 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26990 referencing struct members.
26991
26992 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26993
26994 * configure.in (mips-idt-ecoff): New target.
26995 * config/mips-gdb.exp: New file for remote board using MIPS remote
26996 debugging protocol.
26997
26998 * Redid configuration scheme. Removed gdb.t*/configure.in.
26999 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
27000 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
27001 distclean targets. Built executables via .o files. Adjusted
27002 tests to account for source files in $(srcdir) rather than
27003 $(objdir).
27004 * lib/gdb.exp (runto): Don't expect () after the function name,
27005 because it may have arguments.
27006
27007 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27008
27009 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27010 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27011 expected failures for mips-idt-* and mips-sgi-*.
27012 * gdb.t00/default.exp (attach): Kill process if requested.
27013 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27014 that does not read core files.
27015 * gdb.t01/run.exp: Removed checks for exit status code.
27016 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27017 it is linked in.
27018 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27019 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27020 appropriate, rather than doing it by hand.
27021 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27022 execution.
27023 * gdb.t10/crossload.exp: Kill existing program if needed.
27024 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27025 appropriate, rather than doing it by hand. Always increase
27026 timeout for this test, not just for VxWorks.
27027
27028 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27029
27030 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27031 of Chill STRUCT types and STRUCT values.
27032 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27033 than "char".
27034 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
27035 struct2): New struct definitions and initializations to test
27036 simple Chill STRUCT types.
27037
27038 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27039
27040 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27041 the null byte at the end of strings.
27042 * gdb.t00/default.exp: Make show version insensitive to copyright
27043 date.
27044 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27045 to avoid dependencies on target char signedness.
27046 * gdb.t16/printcmds.exp: Update expected results for explicitly
27047 unsigned char.
27048 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27049 now work.
27050 * gdb.t21/demangle.exp: Add many more patterns for template
27051 demangling, most of them being expected failures.
27052 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27053 string we are matching for, to match on the whole string.
27054 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27055 and fix a whole bunch that had incorrect expected output but were
27056 passing anyway because of the bug in "proc demangle".
27057 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27058 type.
27059 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27060
27061 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27062
27063 * gdb/testsuite: made modifications to testcases, etc., to allow
27064 them to work properly given the reorganization of deja-gnu and the
27065 relocation of the testcases from deja-gnu to a "tool" subdirectory.
27066
27067 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27068
27069 * gdb/testsuite: Initial creation of gdb/testsuite.
27070 Migrated dejagnu testcases and support files for testing nm to
27071 gdb/testsuite from deja-gnu. These files were moved "as is"
27072 with no modifications. This migration is part of a major overhaul
27073 of dejagnu. The modifications to these testcases, etc., which
27074 will allow them to work with the new version of dejagnu will be
27075 made in a future update.
27076
27077 For additional changes see gdb.mi/ChangeLog-1999-2003.
27078 \f
27079 ;; Local Variables:
27080 ;; mode: change-log
27081 ;; left-margin: 8
27082 ;; fill-column: 74
27083 ;; version-control: never
27084 ;; End:
27085
27086 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
27087 Copying and distribution of this file, with or without modification,
27088 are permitted provided the copyright notice and this notice are preserved.
This page took 0.569667 seconds and 5 git commands to generate.