gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2
3 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4 parameter.
5
6 2012-03-01 Maciej W. Rozycki <macro@mips.com>
7
8 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
9 core registers.
10
11 2012-03-01 Maciej W. Rozycki <macro@mips.com>
12 Maciej W. Rozycki <macro@codesourcery.com>
13 Daniel Jacobowitz <dan@codesourcery.com>
14
15 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
16
17 2012-03-01 Pedro Alves <palves@redhat.com>
18
19 PR gdb/13767
20
21 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
22 (gdb_collect_globals_test): Call it.
23
24 2012-03-01 Keith Seitz <keiths@redhat.com>
25
26 * gdb.cp/method2.exp: Output of overload menu is now
27 alphabetized. Update tests for "break A::method".
28 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
29 of hard-coding them.
30 Overload menu is alphabetized: rewrite to accommodate.
31 Unset variables LINE and TYPES which are used in other tests.
32 Compute the output of "info break".
33 Update the breakpoint table after all breakpoints are deleted.
34 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
35 compute ACTUALS and the method body based on parameters.
36 Update expected output accordingly.
37 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
38 unique comments to allow the use of gdb_get_line_number.
39
40 2012-03-01 Keith Seitz <keiths@redhat.com>
41
42 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
43 some Tcl syntax.
44 * gdb.cp/ovldbreak.exp: Likewise.
45
46 2012-03-01 Keith Seitz <keiths@redhat.com>
47
48 * gdb.base/help.exp (help show user): Update expected result
49 for new doc string changes (add "non-python").
50
51 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
52
53 * gdb.python/py-cmd.exp: Add test to verify that python commands can
54 be put in the user-defined category and that the commands appear in
55 "help user-defined".
56
57 2012-02-29 Joel Brobecker <brobecker@adacore.com>
58
59 * gdb.ada/tagged_not_init: New testcase.
60
61 2012-02-29 Joel Brobecker <brobecker@adacore.com>
62
63 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
64 * gdb.ada/enum_idx_packed: New testcase.
65
66 2012-02-29 Joel Brobecker <brobecker@adacore.com>
67
68 * gdb.ada/aliased_array: New testcase.
69
70 2012-02-29 Joel Brobecker <brobecker@adacore.com>
71
72 * gdb.ada/whatis_array_val: New testcase.
73
74 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 Fix disp-step-syscall.exp: fork: single step over fork.
77 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
78 whitespaces.
79 (single step over $syscall): Remove its check.
80 (single step over $syscall final pc): New check.
81
82 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 Support processors without SSSE3.
85 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
86 pabsd into ...
87 (ssse3_test): ... a new function.
88 (main): Call ssse3_test.
89 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
90 Update expected values everywhere.
91 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
92 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
93 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
94 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
95 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
96 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
97 Move these tests lower.
98 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
99 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
100 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
101 New tests.
102
103 2012-02-29 Yao Qi <yao@codesourcery.com>
104 Pedro Alves <palves@redhat.com>
105
106 * gdb.trace/trace-mt.c: New.
107 * gdb.trace/trace-mt.exp: New.
108
109 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
110
111 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
112 numbers instead of hardcoding them.
113 * gdb.base/annota1.c: Provide suitable markers.
114 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
115 numbers instead of hardcoding them.
116 * gdb.base/annota3.c: Provide suitable markers.
117
118 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
119 * gdb.base/annota3.c: Likewise.
120 * gdb.base/sigall.c: Likewise.
121 * gdb.base/signals.c: Likewise.
122 * gdb.reverse/sigall-reverse.c: Likewise.
123
124 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
125
126 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
127 failure return path.
128
129 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
130
131 * gdb.base/save-bp.exp: Account for new condition evaluator output.
132
133 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
134
135 * gdb.base/cond-eval-mode.exp: New file.
136
137 2012-02-24 Pedro Alves <palves@redhat.com>
138
139 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
140 (top level): Use with_test_prefix.
141
142 2012-02-24 Pedro Alves <palves@redhat.com>
143
144 * gdb.threads/attach-into-signal.exp (corefunc): Use
145 with_test_prefix.
146
147 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 Fix false FAILs on old CPUs without SSE.
150 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
151 Return untested for Illegal instruction.
152
153 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 Fix false FAILs with glibc debug infos installed.
156 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
157 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
158
159 2012-02-22 Sterling Augustine <saugustine@google.com>
160
161 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
162 constant with cast.
163
164 2012-02-21 Pedro Alves <palves@redhat.com>
165
166 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
167
168 2012-02-21 Pedro Alves <palves@redhat.com>
169
170 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
171
172 2012-02-21 Pedro Alves <palves@redhat.com>
173
174 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
175 with_test_prefix.
176
177 2012-02-21 Pedro Alves <palves@redhat.com>
178
179 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
180 with_test_prefix here.
181 (top level): Do it here instead. Remove `:' from the
182 with_test_prefix string.
183 * gdb.base/attach-pie-misread.exp: Remove the leading space the
184 the suffix `:' from the with_test_prefix prefix string.
185 * gdb.base/break-interp.exp: Ditto.
186 * gdb.base/catch-load.exp: Ditto.
187 * gdb.base/disp-step-syscall.exp: Ditto.
188 * gdb.base/jit-so.exp: Ditto.
189 * gdb.base/jit.exp: Ditto.
190 * gdb.base/sepdebug.exp: Ditto.
191 * gdb.base/solib-display.exp: Ditto.
192 * gdb.base/solib-overlap.exp: Ditto.
193 * gdb.base/watch-cond-infcall.exp: Ditto.
194 * gdb.base/watchpoint.exp: Ditto.
195 * gdb.dwarf2/dw2-noloc.exp: Ditto.
196 * gdb.mi/mi-watch.exp: Ditto.
197 * gdb.mi/mi2-watch.exp: Ditto.
198 * gdb.threads/non-ldr-exc-1.exp: Ditto.
199 * gdb.threads/non-ldr-exc-2.exp: Ditto.
200 * gdb.threads/non-ldr-exc-3.exp: Ditto.
201 * gdb.threads/non-ldr-exc-4.exp: Ditto.
202 * gdb.threads/watchpoint-fork.exp: Ditto.
203 * gdb.threads/watchthreads-reorder.exp: Ditto.
204 * gdb.trace/change-loc.exp: Ditto.
205 * gdb.trace/pending.exp: Ditto.
206 * gdb.trace/status-stop.exp: Ditto.
207 * gdb.trace/strace.exp: Ditto.
208 * gdb.trace/trace-break.exp: Ditto.
209 * gdb.trace/unavailable.exp: Ditto.
210 * lib/gdb.exp (with_test_prefix): Always prefix with space and
211 suffix with colon. Adjust leading comments.
212
213 2012-02-21 Pedro Alves <palves@redhat.com>
214 Tom Tromey <tromey@redhat.com>
215
216 * lib/gdb.exp: Add description of test prefixes.
217 (with_test_prefix): New procedure.
218 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
219 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
220 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
221 instead of lappend to append to pf_prefix.
222 * gdb.base/catch-load.exp: Use with_test_prefix.
223 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
224 * gdb.base/jit-so.exp: Use with_test_prefix.
225 * gdb.base/jit.exp: Use with_test_prefix.
226 * gdb.base/return-nodebug.exp (do_test): Use append instead of
227 lappend to append to pf_prefix.
228 * gdb.base/sepdebug.exp: Use with_test_prefix.
229 * gdb.base/solib-display.exp: Use with_test_prefix.
230 * gdb.base/solib-overlap.exp: Use with_test_prefix.
231 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
232 * gdb.base/watchpoint.exp: Use with_test_prefix.
233 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
234 * gdb.mi/mi-watch.exp: Use with_test_prefix.
235 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
236 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
237 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
238 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
239 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
240 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
241 append instead of lappend to append to pf_prefix.
242 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
243 * gdb.trace/change-loc.exp: Use with_test_prefix.
244 * gdb.trace/pending.exp: Use with_test_prefix.
245 * gdb.trace/status-stop.exp: Use with_test_prefix.
246 * gdb.trace/strace.exp: Use with_test_prefix.
247 * gdb.trace/trace-break.exp: Use with_test_prefix.
248 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
249 instead of lappend to append to pf_prefix.
250
251 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
252
253 Fix racy FAILs.
254 * gdb.base/inferior-died.c (main): Add return of 0.
255 * gdb.base/inferior-died.exp (continue): Fix expectation of
256 asynchronous events.
257 (p 1): New test.
258
259 2012-02-20 Pedro Alves <palves@redhat.com>
260
261 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
262 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
263 gdb's internal debug output. For the non-threaded case, look for
264 "Program received signal SIGLARM", for the threaded case, peek at
265 the thread's siginfo.
266
267 2012-02-20 Pedro Alves <palves@redhat.com>
268
269 General cleanup, make output test messages unique, and build
270 different executable files for the non-threaded and threaded
271 cases.
272
273 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
274 Delete.
275 (executable_nothr, executable_thr): New globals.
276 (top level): Adjust to delete both executables.
277 (corefunc): New parameter $executable. Set $pf_prefix instead of
278 hand writing a prefix in tests. Issue a clean_restart and enable
279 lin-lwp debug output here.
280 (top level): Adjust. Use build_executable. Don't start gdb here,
281 and don't enable lin-lwp debug output here.
282 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
283
284 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 Fix racy FAILs.
287 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
288 "continue" command.
289
290 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
291
292 Fix for gdbserver non-extended mode.
293 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
294 and gdb_run_cmd.
295
296 2012-02-17 Tom Tromey <tromey@redhat.com>
297
298 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
299 * gdb.python/py-events.exp: Check 'dir' output.
300 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
301
302 2012-02-17 Yao Qi <yao@codesourcery.com>
303
304 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
305
306 2012-02-16 Tom Tromey <tromey@redhat.com>
307
308 * gdb.base/inferior-died.c: Don't include stdio.h.
309
310 2012-02-16 Tom Tromey <tromey@redhat.com>
311
312 * gdb.base/inferior-died.c: New file.
313 * gdb.base/inferior-died.exp: New file.
314
315 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
316
317 * gdb.base/break-inline.exp: New file.
318 * gdb.base/break-inline.c: New file.
319
320 2012-02-15 Tom Tromey <tromey@redhat.com>
321
322 * gdb.base/pc-fp.exp: Add "info register" tests.
323
324 2012-02-15 Tom Tromey <tromey@redhat.com>
325
326 * gdb.base/regs.exp: Remove.
327
328 2012-02-15 Pedro Alves <palves@redhat.com>
329
330 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
331 the target doesn't support tracepoints.
332 * gdb.trace/circ.exp: Ditto.
333 * gdb.trace/collection.exp: Ditto.
334 * gdb.trace/packetlen.exp: Ditto.
335 * gdb.trace/passc-dyn.exp: Ditto.
336 * gdb.trace/report.exp: Ditto.
337 * gdb.trace/tfind.exp: Ditto.
338 * gdb.trace/tspeed.exp: Ditto.
339 * gdb.trace/tsv.exp: Ditto.
340 * gdb.trace/unavailable.exp: Ditto.
341 * gdb.trace/while-dyn.exp: Ditto.
342
343 2012-02-15 Pedro Alves <palves@redhat.com>
344
345 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
346 gdb_test_multiple, and call unsupported instead of fail, if the
347 remote side does not support the request.
348
349 2012-02-15 Pedro Alves <palves@redhat.com>
350
351 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
352 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
353 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
354 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
355 * gdb.server/server-run.exp: Make sure gdb is disconnected.
356 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
357 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
358 doesn't start with "extended-" already.
359
360 2012-02-15 Pedro Alves <palves@redhat.com>
361
362 Support extended-remote. Avoid cascading timeouts.
363
364 * gdb.base/attach.exp (do_attach_tests): Add expected output for
365 the extended-remote target. If attaching with no file fails, load
366 the file manually.
367 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
368
369 2012-02-14 Stan Shebs <stan@codesourcery.com>
370
371 * gdb.base/ena-dis-br.exp: Add enable count test.
372
373 2012-02-13 Pedro Alves <palves@redhat.com>
374
375 * config/mips-idt.exp: Delete.
376 * gdb.base/a2-run.exp: Remove mips-idt xfails.
377 * gdb.base/bitfields.exp: Remove mips-idt restarts.
378 * gdb.base/break.exp: Remove mips-idt references.
379 * gdb.base/chng-syms.exp: Ditto.
380 * gdb.base/default.exp: Ditto.
381 * gdb.base/funcargs.exp (funcargs_reload): Delete.
382 (top level): Don't call it.
383 * gdb.base/opaque.exp: Remove mips-idt restarts.
384 * gdb.base/ptype.exp: Remove mips-idt xfails.
385 * gdb.base/scope.exp: Remove mips-idt restarts.
386 * gdb.base/sepdebug.exp: Remove mips-idt references.
387 * gdb.base/watchpoint.exp (maybe_clean_restart)
388 (maybe_reinitialize): Delete.
389 (test_disabling_watchpoints, test_disabling_watchpoints)
390 (test_watchpoint_triggered_in_syscall)
391 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
392 Don't call them.
393
394 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
395
396 * gdb.server/server-exec-info.exp: New file.
397
398 2012-02-10 Pedro Alves <palves@redhat.com>
399
400 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
401 always non-empty.
402 (test_attach): Always pass $exec to test_attach_gdb.
403
404 2012-02-08 Tom Tromey <tromey@redhat.com>
405
406 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
407 before inferior is started.
408
409 2012-02-07 Tom Tromey <tromey@redhat.com>
410
411 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
412 Symbol.value.
413 * gdb.python/py-symbol.c (qq): Set default value.
414
415 2012-02-07 Tom Tromey <tromey@redhat.com>
416
417 * gdb.python/py-symbol.c (qq): New global.
418 * gdb.python/py-symbol.exp: Add test for frame-less
419 lookup_symbol.
420 * gdb.python/py-symtab.exp: Fix line number.
421
422 2012-02-03 Joel Brobecker <brobecker@adacore.com>
423
424 * gdb.ada/mi_task_arg: New testcase.
425
426 2012-02-02 Pedro Alves <palves@redhat.com>
427
428 * gdb.reverse/until-precsave.exp: Also put "record save" under the
429 extended timeout.
430
431 2012-02-02 Pedro Alves <palves@redhat.com>
432
433 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
434 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
435
436 2012-02-02 Pedro Alves <palves@redhat.com>
437
438 * gdb.base/term.exp: Rewrite.
439 * gdb.base/term.c: New.
440
441 2012-02-02 Pedro Alves <palves@redhat.com>
442
443 * gdb.base/default.exp (run "r" abbreviation, run): Add
444 extended-remote expected output.
445
446 2012-02-02 Tom Tromey <tromey@redhat.com>
447
448 * gdb.cp/dispcxx.exp: New file.
449 * gdb.cp/dispcxx.cc: New file.
450
451 2012-02-01 Tom Tromey <tromey@redhat.com>
452
453 * gdb.base/jit-simple.exp: New file.
454 * gdb.base/jit-simple.c: New file.
455
456 2012-01-30 Yao Qi <yao@codesourcery.com>
457
458 * gdb.base/skip.exp: Make test result unique.
459
460 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
463 compatibility with valgrind-3.7.0.
464
465 2012-01-27 Pedro Alves <palves@redhat.com>
466
467 * gdb.base/watchpoint.exp (no_hw): New global.
468 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
469 disable hw watchpoints.
470 (test_wide_location_1, test_wide_location_2): If no_hw is set,
471 don't expect hw watchpoints.
472 (no_hw_watchpoints): Always clean restart.
473 (do_tests): New procedure, factored out from the top level.
474 (top level): Run tests twice. Once with hw watchpoints enabled,
475 another time with hw watchpoints disabled.
476
477 2012-01-27 Pedro Alves <palves@redhat.com>
478
479 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
480 out from the top level.
481 (top level): Call it instead.
482
483 2012-01-27 Pedro Alves <palves@redhat.com>
484
485 * gdb.base/watchpoint.exp (top level): Re-enable hardware
486 watchpoints sooner.
487
488 2012-01-27 Pedro Alves <palves@redhat.com>
489
490 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
491
492 2012-01-27 Pedro Alves <palves@redhat.com>
493
494 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
495 "You may have requested too many hardware
496 breakpoints/watchpoints".
497
498 2012-01-27 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/watchpoint.exp (maybe_clean_restart)
501 (maybe_reinitialize): New.
502 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
503 expect "hit N times".
504 (test_disabling_watchpoints, test_complex_watchpoint)
505 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
506 Call maybe_clean_restart.
507 (top level): Use clean_restart. Remove "mips-idt-*"
508 reinitialization.
509
510 2012-01-27 Pedro Alves <palves@redhat.com>
511
512 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
513
514 2012-01-27 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/watchpoint.exp: Clean restart after tests that don't
517 require `initialize' anymore. Remove unnecessary `initialize'
518 calls.
519
520 2012-01-27 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/watchpoint.exp (wp_set): Delete.
523 (initialize, test_simple_watchpoint, top level): Remove dead code.
524
525 2012-01-27 Pedro Alves <palves@redhat.com>
526
527 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
528 typo.
529
530 2012-01-27 Pedro Alves <palves@redhat.com>
531
532 * config/extended-gdbserver.exp: New file.
533 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
534 comment.
535 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
536 * boards/native-extended-gdbserver.exp: New file.
537
538 2012-01-26 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
541 and gdb_test_multiple.
542
543 2012-01-26 Pedro Alves <palves@redhat.com>
544
545 Make test messages unique, and more identifiable.
546 * gdb.multi/watchpoint-multi.exp: Change test messages.
547
548 2012-01-25 Tom Tromey <tromey@redhat.com>
549
550 * gdb.base/solib-disc.exp: Fix regexps.
551
552 2012-01-24 Tom Tromey <tromey@redhat.com>
553
554 * lib/mi-support.exp (mi_expect_stop): Add special case for
555 solib-event.
556 * gdb.base/catch-load-so.c: New file.
557 * gdb.base/catch-load.exp: New file.
558 * gdb.base/catch-load.c: New file.
559 * gdb.base/break-interp.exp (reach_1): Update regexp.
560
561 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
562
563 Fix fuzzy results.
564 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
565 lpsimple and func.
566
567 2012-01-24 Gary Benson <gbenson@redhat.com>
568
569 Delete #if 0'd out code.
570 * gdb.base/default.exp (info catch): Remove.
571 * gdb.base/gdb_history (info catch): Likewise.
572 * gdb.base/help.exp (info catch): Likewise.
573
574 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
575
576 Fix watchpoints to be specific for each inferior.
577 * gdb.multi/watchpoint-multi.c: New file.
578 * gdb.multi/watchpoint-multi.exp: New file.
579
580 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 Fix watchpoints across inferior fork.
583 * gdb.threads/watchpoint-fork-child.c: New file.
584 * gdb.threads/watchpoint-fork-mt.c: New file.
585 * gdb.threads/watchpoint-fork-parent.c: New file.
586 * gdb.threads/watchpoint-fork-st.c: New file.
587 * gdb.threads/watchpoint-fork.exp: New file.
588 * gdb.threads/watchpoint-fork.h: New file.
589
590 2012-01-23 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/call-signal-resume.exp: Allow output after "return".
593
594 2012-01-20 Pedro Alves <palves@redhat.com>
595
596 * gdb.python/py-finish-breakpoint.py: Fix typo.
597
598 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
599
600 * gdb.base/info-proc.exp: Also run on remote targets. Main
601 "info proc" command is now always present; whether target supports
602 actual info proc operation is detected when attempting to issue
603 the command.
604
605 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
606
607 * .gdbinit: Remove.
608
609 2012-01-19 Pedro Alves <palves@redhat.com>
610
611 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
612 look at the funtions' returns.
613 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
614 (jprint.print(int, int)): Change return type to int. Adjust.
615
616 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
617
618 PR gdb/9538
619 * gdb.base/sepdebug.exp: New test.
620
621 2012-01-18 Pedro Alves <palves@redhat.com>
622
623 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
624 Allow output before ^done.
625
626 2012-01-16 Tom Tromey <tromey@redhat.com>
627
628 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
629 Add tests for relative directory.
630
631 2012-01-16 Tom Tromey <tromey@redhat.com>
632
633 * gdb.base/printcmds.c (enum flag_enum): New.
634 (three): New global.
635 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
636 enum printing.
637 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
638 FlagEnumerationPrinter.
639 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
640 * gdb.python/py-pp-maint.c (enum flag_enum): New.
641 (fval): New global.
642
643 2012-01-16 Pedro Alves <palves@redhat.com>
644
645 * lib/gdb.exp (banned_procedures): New variable.
646 (banned_variables_traced): Rename to ...
647 (banned_traced): ... this.
648 (gdb_init): Also trace banned procedures.
649 (gdb_finish): Also untrace banned procedures.
650
651 2012-01-16 Pedro Alves <palves@redhat.com>
652
653 Remove all calls to strace.
654
655 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
656
657 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
658 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
659
660 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
661
662 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
663 * gdb.base/pie-execl.exp: Likewise.
664
665 2012-01-12 Keith Seitz <keiths@redhat.com>
666
667 PR mi/10586
668 * gdb.mi/var-cmd.c (struct anonymous): New structure.
669 (do_anonymous_type_tests): New function.
670 (main): Call do_anonymous_type_tests.
671 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
672 (verify_everything): New procedure.
673 * gdb.mi/mi-var-cp.cc (class A): New class.
674 (anonymous_structs_and_unions): New function.
675 (main): Call anonymous_structs_and_unions.
676 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
677 (verify_everything): New procedure.
678
679 2012-01-12 Keith Seitz <keiths@redhat.com>
680
681 * lib/mi-support.exp: Expand comments about PATH_EXPR.
682 (varobj_tree::get_path_expr): Assume that all varobjs are
683 compound unless they are known simple types.
684 Adjust path expressions based on parent type, path parent type,
685 and tree language.
686 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
687 the root varobj.
688 (mi_walk_varobj_tree): Add LANGUAGE parameter.
689
690 2012-01-11 Pedro Alves <palves@redhat.com>
691
692 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
693 core files on this machine" anymore.
694
695 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
696
697 * gdb.base/watchpoint.c (recurser): Initialize local_x.
698 (main): Repeat recurser call.
699 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
700 equivalent to 'local_x'.
701
702 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
703 Joel Brobecker <brobecker@adacore.com>
704
705 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
706
707 2012-01-05 Pedro Alves <alves.ped@gmail.com>
708
709 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
710 * gdb.python/py-events.c (first): Add bits for new "step N" test.
711 * gdb.python/py-events.exp: Test that "step N" tripping on a
712 breakpoint emits a breakpoint event.
713
714 2012-01-03 Joel Brobecker <brobecker@adacore.com>
715
716 * gdb.base/auxv.exp: Reformat the copyright notice.
717
718 2012-01-03 Yao Qi <yao@codesourcery.com>
719
720 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
721 (strace_trace_on_diff_addr): New.
722 * gdb.trace/strace.c: (main): Add two local variables.
723
724 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
725
726 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
727 * gdb.cell/gcore.exp: Likewise.
728 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
729 to verify the correct instance of main is selected.
730
731 2012-01-02 Joel Brobecker <brobecker@adacore.com>
732
733 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
734 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
735 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
736 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
737 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
738 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
739 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
740 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
741 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
742 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
743 gdb.threads/thread_check.c: Reformat copyright header.
744
745 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
746
747 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
748 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
749 is not enabled.
750
751 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
752
753 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
754 parameter to self_exec, adjust the function.
755 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
756 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
757 (set var do_exit = 0): Remove test.
758 (newline at end of file): Add one.
759
760 2011-12-27 Joel Brobecker <brobecker@adacore.com>
761
762 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
763 New files.
764
765 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
766
767 Fix racy FAILs.
768 * gdb.threads/fork-thread-pending.c (barrier): New variable.
769 (thread_function, thread_forker): Call pthread_barrier_wait for it.
770 (main): Call pthread_barrier_init for it.
771
772 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 Fix double send_gdb leading to racy FAILs.
775 * gdb.base/break.exp (set silent break bp_location1): Replace
776 3x send_gdb and gdb_expect by gdb_test.
777 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
778 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
779 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
780 instead of send_gdb. Twice.
781 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
782 3x send_gdb and gdb_expect by gdb_test.
783 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
784
785 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
786
787 * gdb.linespec/linespec.exp: Compile using {c++}.
788
789 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
790
791 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
792 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
793 (verify GCC PR debug/51668): New test.
794
795 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
796
797 Introduce gdb.FinishBreakpoint in Python.
798 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
799 py-finish-breakpoint2
800 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
801 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
802 instead of line number.
803 * gdb.python/py-finish-breakpoint.c: New file.
804 * gdb.python/py-finish-breakpoint.exp: New file.
805 * gdb.python/py-finish-breakpoint.py: New file.
806 * gdb.python/py-finish-breakpoint2.cc: New file.
807 * gdb.python/py-finish-breakpoint2.exp: New file.
808 * gdb.python/py-finish-breakpoint2.py: New file.
809
810 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
811
812 Partial fix of compatibility with gcc-4.7.
813 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
814 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
815 Add comment to add a PASS case in the future.
816
817 Fix compatibility with gcc-4.7.
818 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
819
820 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
821
822 PR tdep/12797
823 * gdb.base/callfuncs.exp: Remove KFAIL.
824
825 2011-12-21 Joel Brobecker <brobecker@adacore.com>
826
827 * gdb.ada/task_bp: New testcase.
828
829 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
830
831 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
832 -DNO_SECTIONS.
833 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
834
835 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
836
837 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
838 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
839 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
840 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
841 conditional for gcc <= 4.5.
842
843 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
846 by XFAIL.
847 * gdb.cp/static-method.exp (info addr A::func())
848 (list static-method.cc:xxx::(anonymous namespace)::A::func)
849 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
850 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
851 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
852 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
853 (test value of F in k3_m): Likewise.
854 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
855 Likewise.
856
857 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
860 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
861 Remove.
862 * gdb.threads/attachstop-mt.c: Remove.
863 * gdb.threads/attachstop-mt.exp: Remove.
864
865 2011-12-17 Mark Kettenis <kettenis@gnu.org>
866
867 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
868
869 2011-12-16 Doug Evans <dje@google.com>
870
871 * boards/native-stdio-gdbserver.exp: New file.
872 * boards/native-gdbserver.exp: New file.
873
874 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
875 gdbserver output.
876 (gdbserver_default_get_remote_address): New function.
877 (gdbserver_start): Call gdb,get_remote_address to compute argument
878 to "target remote" command.
879
880 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
881
882 * gdb.python/py-function.exp: Change "on" to "full" for
883 python print-stack. Add set/show python print-stack
884 off|full|message tests.
885
886 2011-12-15 Yao Qi <yao@codesourcery.com>
887
888 * gdb.trace/strace.c: New
889 * gdb.trace/strace.exp: New.
890
891 2011-12-14 Tom Tromey <tromey@redhat.com>
892
893 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
894
895 2011-12-14 Doug Evans <dje@google.com>
896
897 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
898
899 2011-12-14 Pedro Alves <pedro@codesourcery.com>
900
901 PR threads/10729
902
903 * gdb.mi/watch-nonstop.c: New file.
904 * gdb.mi/mi-watch-nonstop.exp: New file.
905
906 2011-12-13 Pedro Alves <pedro@codesourcery.com>
907 Doug Evans <dje@google.com>
908
909 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
910 (clean_restart): Remove references to the gdb_stub target board
911 variable.
912 (gdb_step_for_stub): Delete.
913
914 * gdb.base/annota1.exp: Remove all references to [target_info
915 exists gdb_stub], gdb_step_for_stub and usestubs.
916 * gdb.base/annota3.exp: Ditto.
917 * gdb.base/async.exp: Ditto.
918 * gdb.base/break.exp: Ditto.
919 * gdb.base/code-expr.exp: Ditto.
920 * gdb.base/commands.exp: Ditto.
921 * gdb.base/completion.exp: Ditto.
922 * gdb.base/condbreak.exp: Ditto.
923 * gdb.base/consecutive.exp: Ditto.
924 * gdb.base/cvexpr.exp: Ditto.
925 * gdb.base/define.exp: Ditto.
926 * gdb.base/display.exp: Ditto.
927 * gdb.base/ena-dis-br.exp: Ditto.
928 * gdb.base/environ.exp: Ditto.
929 * gdb.base/gnu-ifunc.exp: Ditto.
930 * gdb.base/maint.exp: Ditto.
931 * gdb.base/pending.exp: Ditto.
932 * gdb.base/sect-cmd.exp: Ditto.
933 * gdb.base/sepdebug.exp: Ditto.
934 * gdb.base/unload.exp: Ditto.
935 * gdb.base/watchpoint-solib.exp: Ditto.
936 * gdb.cp/annota2.exp: Ditto.
937 * gdb.cp/annota3.exp: Ditto.
938 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
939 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
940 * gdb.mi/mi-pending.exp: Ditto.
941 * gdb.trace/circ.exp: Ditto.
942 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
943 * gdb.base/list.exp: Ditto.
944
945 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
946 breakpoint function and all references to the usestubs macro.
947 * gdb.base/exprs.c: Ditto.
948 * gdb.base/freebpcmd.c: Ditto.
949 * gdb.base/bitfields.c: Ditto.
950 * gdb.base/bitfields2.c: Ditto.
951 * gdb.base/break.c: Ditto.
952 * gdb.base/call-sc.c: Ditto.
953 * gdb.base/call-signals.c: Ditto.
954 * gdb.base/callfuncs.c: Ditto.
955 * gdb.base/charset.c: Ditto.
956 * gdb.base/consecutive.c: Ditto.
957 * gdb.base/constvars.c: Ditto.
958 * gdb.base/funcargs.c: Ditto.
959 * gdb.base/int-type.c: Ditto.
960 * gdb.base/interrupt.c: Ditto.
961 * gdb.base/langs0.c: Ditto.
962 * gdb.base/list0.c: Ditto.
963 * gdb.base/mips_pro.c: Ditto.
964 * gdb.base/miscexprs.c: Ditto.
965 * gdb.base/nodebug.c: Ditto.
966 * gdb.base/opaque0.c: Ditto.
967 * gdb.base/pointers.c: Ditto.
968 * gdb.base/printcmds.c: Ditto.
969 * gdb.base/ptype.c: Ditto.
970 * gdb.base/recurse.c: Ditto.
971 * gdb.base/reread1.c: Ditto.
972 * gdb.base/reread2.c: Ditto.
973 * gdb.base/restore.c: Ditto.
974 * gdb.base/return.c: Ditto.
975 * gdb.base/run.c: Ditto.
976 * gdb.base/scope0.c: Ditto.
977 * gdb.base/sepdebug.c: Ditto.
978 * gdb.base/setshow.c: Ditto.
979 * gdb.base/setvar.c: Ditto.
980 * gdb.base/sigall.c: Ditto.
981 * gdb.base/signals.c: Ditto.
982 * gdb.base/structs.c: Ditto.
983 * gdb.base/structs2.c: Ditto.
984 * gdb.base/testenv.c: Ditto.
985 * gdb.base/twice.c: Ditto.
986 * gdb.base/unwindonsignal.c: Ditto.
987 * gdb.base/watchpoint.c: Ditto.
988 * gdb.base/watchpoints.c: Ditto.
989 * gdb.base/whatis.c: Ditto.
990 * gdb.cp/classes.cc: Ditto.
991 * gdb.cp/cplusfuncs.cc: Ditto.
992 * gdb.cp/derivation.cc: Ditto.
993 * gdb.cp/formatted-ref.cc: Ditto.
994 * gdb.cp/misc.cc: Ditto.
995 * gdb.cp/overload.cc: Ditto.
996 * gdb.cp/ovldbreak.cc: Ditto.
997 * gdb.cp/ref-params.cc: Ditto.
998 * gdb.cp/ref-types.cc: Ditto.
999 * gdb.cp/templates.cc: Ditto.
1000 * gdb.cp/virtfunc.cc: Ditto.
1001 * gdb.hp/gdb.aCC/run.c: Ditto.
1002 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1003 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1004 * gdb.reverse/consecutive-reverse.c: Ditto.
1005 * gdb.reverse/sigall-reverse.c: Ditto.
1006 * gdb.reverse/until-reverse.c: Ditto.
1007 * gdb.reverse/watch-reverse.c: Ditto.
1008 * gdb.trace/actions.c: Ditto.
1009 * gdb.trace/circ.c: Ditto.
1010 * gdb.trace/collection.c: Ditto.
1011
1012 2011-12-13 Pedro Alves <pedro@codesourcery.com>
1013
1014 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1015 (func6, func7): New.
1016 (main): Call func6 and func7.
1017 * gdb.base/watchpoint.exp (test_wide_location_1)
1018 (test_wide_location_2): New.
1019 (top level): Re-enable hardware watchpoints if necessary. Call
1020 test_wide_location_1 and test_wide_location_2.
1021
1022 2011-12-11 Yao Qi <yao@codesourcery.com>
1023
1024 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1025
1026 2011-12-11 Joel Brobecker <brobecker@adacore.com>
1027
1028 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1029 expected output for unsupported case.
1030
1031 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 PR testsuite/12649
1034 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1035 Protect gdb_test_multiple by final $gdb_prompt match.
1036
1037 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1040 New variable, new test.
1041 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1042 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1043 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1044 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1045 them if HAVE_GCC_45682_FIXED is not set.
1046
1047 2011-12-10 Yao Qi <yao@codesourcery.com>
1048
1049 * gdb.trace/status-stop.exp: New.
1050 * gdb.trace/status-stop.c: New.
1051
1052 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1053
1054 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1055 timeout.
1056
1057 2011-12-08 Tom Tromey <tromey@redhat.com>
1058
1059 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1060 condition.
1061
1062 2011-12-07 Stan Shebs <stan@codesourcery.com>
1063
1064 * gdb.trace/tfind.exp: Update for output changes.
1065
1066 2011-12-07 Pedro Alves <pedro@codesourcery.com>
1067
1068 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1069 throws "Cannot insert catchpoints in this configuration".
1070 * gdb.ada/mi_catch_ex.exp: Likewise.
1071
1072 2011-12-06 Pedro Alves <pedro@codesourcery.com>
1073
1074 * gdb.base/break-always.exp: Test changing memory at addresses
1075 with breakpoints inserted.
1076
1077 2011-12-06 Joel Brobecker <brobecker@acacore.com>
1078
1079 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1080 involving a fully qualified function name.
1081
1082 2011-12-06 Tom Tromey <tromey@redhat.com>
1083
1084 * gdb.ada/homonym.exp: Add three breakpoint tests.
1085
1086 2011-12-06 Tom Tromey <tromey@redhat.com>
1087
1088 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1089 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1090 * gdb.objc/objcdecode.exp: Update for output changes.
1091 * gdb.linespec/linespec.exp: New file.
1092 * gdb.linespec/lspec.cc: New file.
1093 * gdb.linespec/lspec.h: New file.
1094 * gdb.linespec/body.h: New file.
1095 * gdb.linespec/base/two/thefile.cc: New file.
1096 * gdb.linespec/base/one/thefile.cc: New file.
1097 * gdb.linespec/Makefile.in: New file.
1098 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1099 output changes.
1100 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1101 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1102 makes one breakpoint.
1103 * gdb.cp/method2.exp (test_break): Update for output changes.
1104 * gdb.cp/mb-templates.exp: Update for output changes.
1105 * gdb.cp/mb-inline.exp: Update for output changes.
1106 * gdb.cp/mb-ctor.exp: Update for output changes.
1107 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1108 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1109 has multiple matches.
1110 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1111 error message change.
1112 * gdb.base/list.exp (test_list_filename_and_number): Update for
1113 error message change.
1114 * gdb.base/break.exp: Disable pending breakpoints. Update for
1115 output changes.
1116 * configure.ac: Add gdb.linespec.
1117 * configure: Rebuild.
1118 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1119
1120 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1121
1122 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1123 last_break register on s390*-*-* targets.
1124
1125 2011-12-06 Joel Brobecker <brobecker@adacore.com>
1126
1127 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1128 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1129 of parameter X in procedure Foo.
1130
1131 2011-12-05 Stan Shebs <stan@codesourcery.com>
1132
1133 * gdb.trace/tfind.exp: Update help string matches.
1134
1135 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1136
1137 * gdb.server/ext-run.exp (get process list): Accept also systemd
1138 as PID 1.
1139
1140 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1141 Pedro Alves <pedro@codesourcery.com>
1142
1143 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1144 starting GDB.
1145 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1146 $use_gdb_stub.
1147 * gdb.base/display.exp: Likewise.
1148 * gdb.base/ending-run.exp: Likewise.
1149 * gdb.base/list.exp (test_listsize): Likewise.
1150 * gdb.base/setshow.exp: Likewise.
1151 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1152 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1153 check by global $use_gdb_stub.
1154 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1155 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1156 (default_gdb_init): Unset global $use_gdb_stub.
1157 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1158 by global $use_gdb_stub.
1159 * lib/gdbserver-support.exp: Extend comments for set_board_info
1160 gdb_protocol and gdb,socketport.
1161 (gdbserver_start_extended): Set global gdbserver_protocol and
1162 gdbserver_gdbport. Clear global use_gdb_stub.
1163 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1164 from target use_gdb_stub.
1165 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1166
1167 2011-12-03 Doug Evans <dje@google.com>
1168
1169 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1170 (gdb_step_for_stub): Add comments.
1171
1172 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1173
1174 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1175 to the caller.
1176 (gdb_test_multiple): Likewise.
1177
1178 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1179
1180 Fix gdb.mi/mi-solib.exp without system debug info installed.
1181 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1182 expect attribute, return 0 for it. Update comments.
1183
1184 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1185
1186 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1187 (corrupted list): Adjust the expectation.
1188
1189 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1190
1191 PR threads/13448
1192 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1193 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1194 * gdb.threads/tls-var-main.c: New file.
1195 * gdb.threads/tls-var.c: New file.
1196 * gdb.threads/tls-var.exp: New file.
1197
1198 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1199
1200 PR testsuite/12649
1201 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1202 Protect gdb_test_multiple by final $gdb_prompt match.
1203 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1204 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1205 (test_tracepoints): Likewise.
1206
1207 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1208
1209 PR breakpoints/13346
1210 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1211 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1212 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1213
1214 2011-12-01 Joel Brobecker <brobecker@adacore.com>
1215
1216 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1217 * gdb.ada/homonym/homonym.adb: For use of all types defined
1218 locally inside both Get_Value subprograms.
1219
1220 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 Fix racy FAILs.
1223 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1224 of send_gdb.
1225
1226 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1227
1228 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1229 environment variable after test completed.
1230
1231 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1232
1233 * gdb.base/solib-nodir.exp: Skip if remote target.
1234 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1235 application. Call gdb_load_shlibs.
1236 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1237
1238 2011-11-29 Joel Brobecker <brobecker@adacore.com>
1239
1240 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1241
1242 2011-11-28 Joel Brobecker <brobecker@adacore.com>
1243
1244 * gdb.ada/fullname_bp: New testcase.
1245
1246 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1247
1248 PR testsuite/12649
1249 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1250 Wrap send_gdb into a new gdb_test.
1251
1252 Code cleanup.
1253 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1254 Convert send_gdb and gdb_expect to gdb_test_multiple.
1255
1256 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1259
1260 2011-11-23 Keith Seitz <keiths@redhat.com>
1261
1262 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1263 (mi_varobj_tree_test_children_callback): New proc.
1264 (mi_walk_varobj_tree): New proc.
1265
1266 2011-11-22 Tom Tromey <tromey@redhat.com>
1267
1268 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1269 Add "use_mi_command" argument.
1270 (mi_run_cmd, mi_run_with_cli): New procs.
1271 * gdb.mi/solib-lib.c: New file.
1272 * gdb.mi/solib-main.c: New file.
1273 * gdb.mi/mi-solib.exp: New file.
1274
1275 2011-11-21 Doug Evans <dje@google.com>
1276
1277 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1278 _Unwind_DebugHook is missing.
1279
1280 2011-11-20 Stan Shebs <stan@codesourcery.com>
1281
1282 * gdb.trace/tstatus.exp: New.
1283 * gdb.trace/actions.c: Include string.h.
1284
1285 2011-11-18 Yao Qi <yao@codesourcery.com>
1286
1287 * gdb.trace/pending.exp: New.
1288 * gdb.trace/pending.c: New.
1289 * gdb.trace/pendshr1.c: New.
1290 * gdb.trace/pendshr2.c: New.
1291 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1292 tracepoint location becomes pending.
1293 (tracepoint_change_loc_2): New.
1294
1295 2011-11-16 David S. Miller <davem@davemloft.net>
1296
1297 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1298 target is sparc*-*-linux*
1299
1300 2011-11-15 Paul Koning <paul_koning@dell.com>
1301
1302 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1303 types.
1304
1305 2011-11-14 Doug Evans <dje@google.com>
1306
1307 * gdb.base/shell.exp: New file.
1308
1309 2011-11-14 Stan Shebs <stan@codesourcery.com>
1310
1311 * gdb.trace/ftrace.c: New.
1312 * gdb.trace/ftrace.exp: New.
1313
1314 2011-11-14 Yao Qi <yao@codesourcery.com>
1315
1316 * gdb.trace/change-loc-1.c: New.
1317 * gdb.trace/change-loc-2.c: New.
1318 * gdb.trace/change-loc.c: New.
1319 * gdb.trace/change-loc.exp: New.
1320 * gdb.trace/change-loc.h: New.
1321 * gdb.trace/trace-break.c (marker): Define new symbol.
1322 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1323 New.
1324 (break_trace_same_addr_6): New.
1325
1326 2011-11-12 Matt Rice <ratmice@gmail.com>
1327
1328 * gdb.base/info-macros.exp: Make tests for info definitions
1329 test info macro. Add tests for info macro argument processing.
1330 Rename a few tests.
1331
1332 2011-11-11 Keith Seitz <keiths@redhat.com>
1333
1334 PR gdb/12843
1335 * gdb.base/linespecs.exp: New file.
1336
1337 2011-11-11 Doug Evans <dje@google.com>
1338
1339 * gdb.threads/print-threads.exp: Extend timeout for slower
1340 tests.
1341
1342 2011-11-10 Doug Evans <dje@google.com>
1343
1344 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1345 "record to end of main" test.
1346
1347 * gdb.python/py-type.c (TS): New typedef.
1348 (ts): New global.
1349 * gdb.python/py-type.exp: Test field list of typedef.
1350
1351 2011-11-10 Joel Brobecker <brobecker@adacore.com>
1352
1353 * gdb.ada/small_reg_param: New testcase.
1354
1355 2011-11-09 Tom Tromey <tromey@redhat.com>
1356
1357 * gdb.cp/destrprint.exp: New file.
1358 * gdb.cp/destrprint.cc: New file.
1359
1360 2011-11-08 Meador Inge <meadori@codesourcery.com>
1361
1362 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1363 (switch_stack_to_other): New test function.
1364 * gdb.arch/thumb-prologue.exp: New test cases.
1365
1366 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
1367
1368 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1369
1370 2011-11-08 Yao Qi <yao@codesourcery.com>
1371
1372 * gdb.exp (supports_process_record): New.
1373 (supports_reverse): New.
1374 * gdb.reverse/break-precsave.exp: Call support_process_record
1375 to run test conditionally.
1376 * gdb.reverse/consecutive-precsave.exp: Likewise.
1377 * gdb.reverse/i386-precsave.exp: Likewise.
1378 * gdb.reverse/machinestate-precsave.exp: Likewise.
1379 * gdb.reverse/solib-precsave.exp: Likewise.
1380 * gdb.reverse/step-precsave.exp: Likewise.
1381 * gdb.reverse/until-precsave.exp: Likewise.
1382 * gdb.reverse/watch-precsave.exp: Likewise.
1383 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1384 test conditionally.
1385 * gdb.reverse/consecutive-reverse.exp: Likewise.
1386 * gdb.reverse/finish-precsave.exp: Likewise.
1387 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1388 * gdb.reverse/finish-reverse.exp: Likewise.
1389 * gdb.reverse/i386-reverse.exp: Likewise.
1390 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1391 * gdb.reverse/machinestate.exp: Likewise.
1392 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1393 * gdb.reverse/sigall-precsave.exp: Likewise.
1394 * gdb.reverse/sigall-reverse.exp: Likewise.
1395 * gdb.reverse/solib-reverse.exp: Likewise.
1396 * gdb.reverse/step-reverse.exp: Likewise.
1397 * gdb.reverse/until-reverse.exp: Likewise.
1398 * gdb.reverse/watch-reverse.exp: Likewise.
1399
1400 2011-11-05 Yao Qi <yao@codesourcery.com>
1401
1402 * gdb.trace/trace-break.exp: Add test on setting two
1403 fast tracepoints at the same address.
1404
1405 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1406
1407 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1408
1409 2011-11-02 Stan Shebs <stan@codesourcery.com>
1410
1411 * gdb.trace/collection.c: Add code using strings.
1412 * gdb.trace/collection.exp: Add tests of string collection.
1413
1414 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1415
1416 * gdb.base/skip-solib.exp (executable_main): New variable.
1417 (binfile_main): Base it on that.
1418 Use $executable_main in clean_restart calls. Drop gdb_exit and
1419 gdb_start calls.
1420
1421 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1422
1423 Fix racy FAILs.
1424 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1425 breakpoint_re globals import by async. Set string_regex to .* for
1426 async. Remove the optional thread_selected_re and breakpoint_re
1427 globals expectations.
1428
1429 2011-11-01 Joseph Myers <joseph@codesourcery.com>
1430
1431 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1432 well as Cygwin.
1433
1434 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
1435
1436 Add tests for skip command.
1437 * gdb.base/skip-solib-lib.c: New
1438 * gdb.base/skip-solib-main.c: New
1439 * gdb.base/skip-solib.exp: New
1440 * gdb.base/skip.c: New
1441 * gdb.base/skip.exp: New
1442 * gdb.base/skip1.c: New
1443 * gdb.base/Makefile.in: Adding new files.
1444
1445 2011-10-31 Yao Qi <yao@codesourcery.com>
1446 Pedro Alves <pedro@codesourcery.com>
1447
1448 * gdb.trace/trace-break.c: New.
1449 * gdb.trace/trace-break.exp: New.
1450
1451 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1452
1453 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1454 break-here-2.
1455
1456 2011-10-28 Pedro Alves <pedro@codesourcery.com>
1457
1458 * gdb.threads/no-unwaited-for-left.c: New.
1459 * gdb.threads/no-unwaited-for-left.exp: New.
1460 * gdb.threads/non-ldr-exc-1.c: New.
1461 * gdb.threads/non-ldr-exc-1.exp: New.
1462 * gdb.threads/non-ldr-exc-2.c: New.
1463 * gdb.threads/non-ldr-exc-2.exp: New.
1464 * gdb.threads/non-ldr-exc-3.c: New.
1465 * gdb.threads/non-ldr-exc-3.exp: New.
1466 * gdb.threads/non-ldr-exc-4.c: New.
1467 * gdb.threads/non-ldr-exc-4.exp: New.
1468
1469 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1470
1471 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1472 * gdb.base/attach-pie-misread.exp: Likewise.
1473 * gdb.base/break-interp.exp: Likewise.
1474 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1475 testcases for use_gdb_stub.
1476 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1477 (continue): New testcase.
1478 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1479 * gdb.threads/attach-into-signal.exp: Likewise.
1480 * gdb.threads/attach-stopped.exp: Likewise.
1481 * gdb.threads/attachstop-mt.exp: Likewise.
1482
1483 2011-10-28 Paul Koning <paul_koning@dell.com>
1484
1485 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1486
1487 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1490 (mi_gdb_test): Import globals thread_selected_re
1491 and breakpoint_re. Expect them optionally at the regex start.
1492
1493 2011-10-27 Doug Evans <dje@google.com>
1494
1495 * gdb.python/python.exp: Test source -s.
1496
1497 2011-10-26 Paul Koning <paul_koning@dell.com>
1498
1499 * gdb.python/lib-types.cc (struct A): New structure.
1500 * gdb.python/lib-types.exp (deepitems): New tests.
1501
1502 2011-10-25 Paul Koning <paul_koning@dell.com>
1503
1504 PR python/13327
1505
1506 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1507 fetch_lazy method.
1508
1509 2011-10-24 Yao Qi <yao@codesourcery.com>
1510
1511 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1512 target is tic6x-*-*.
1513
1514 2011-10-21 Joel Brobecker <brobecker@adacore.com>
1515
1516 * gdb.ada/mi_task_info/task_switch.adb: New file.
1517 * gdb.ada/mi_task_info.exp: New file.
1518
1519 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1522 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1523
1524 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1525
1526 PR python/12656
1527
1528 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1529 global_block tests.
1530
1531 2011-10-18 Tom Tromey <tromey@redhat.com>
1532
1533 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1534
1535 2011-10-18 Tom Tromey <tromey@redhat.com>
1536
1537 * gdb.base/source.exp: Don't include full file name in test name.
1538 * gdb.python/python.exp: Don't include full file name in test
1539 name.
1540
1541 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1542
1543 * gdb.base/attach-pie-noexec.c: New files.
1544 * gdb.base/attach-pie-noexec.exp: New files.
1545
1546 2011-10-17 Joseph Myers <joseph@codesourcery.com>
1547
1548 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1549 prompt for each extra line in command.
1550
1551 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1552
1553 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1554 Revert the part of:
1555 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1556 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1557 Change the expected string.
1558
1559 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 Fix results with system glibc debug info installed.
1562 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1563 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1564 Accept also __libc_ symbol prefix and no prefix.
1565
1566 2011-10-14 Keith Seitz <keiths@redhat.com>
1567
1568 PR c++/13225
1569 * gdb.cp/converts.cc (foo3_1): New function.
1570 (foo3_2): New functions.
1571 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1572 and null pointer conversions of integer constant zero.
1573 Add test to check if all arguments are checked for incompatible
1574 conversion BADNESS.
1575
1576 2011-10-14 Tom Tromey <tromey@redhat.com>
1577
1578 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1579 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1580 linespec.
1581
1582 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1583
1584 Fix internal error regression.
1585 * gdb.dwarf2/implptr-optimized-out.S: New file.
1586 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1587
1588 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1589
1590 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1591 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1592 (loclist): New.
1593 (4): New abbrev.
1594 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1595 Use prepare_for_testing, remove clean_restart.
1596 (p arraynoloc, p arraycallnoloc): New tests.
1597
1598 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1599
1600 * gdb.cp/namespace-enum.exp (executable): New variable.
1601 (binfile): Use ${objdir}/${subdir}/ prefix.
1602 Use ${executable} for clean_restart.
1603
1604 2011-10-11 Sterling Augustine <saugustine@google.com>
1605
1606 * gdb.cp/Makefile.in: Add namespace-enum test.
1607 * gdb.cp/namespace-enum.exp: New file.
1608 * gdb.cp/namespace-enum.c: New file.
1609 * gdb.cp/namespace-enum-main.c: New file.
1610
1611 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1612
1613 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1614 sysroot.
1615
1616 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1617
1618 Reimplement @entry in input expressions.
1619 * gdb.base/exprs.c (v_int_array_init): New variable.
1620 * gdb.base/exprs.exp (print v_int_array_init)
1621 (print *v_int_array_init@1, print *v_int_array_init@2)
1622 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1623 (print v_int_array_init[1]@1): New tests.
1624
1625 2011-10-10 Joseph Myers <joseph@codesourcery.com>
1626
1627 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1628 expected message.
1629
1630 2011-10-09 Doug Evans <dje@google.com>
1631
1632 * gdb.base/alias.exp: Add tests for alias command.
1633
1634 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 * gdb.arch/amd64-entry-value.s: New file.
1637 * gdb.mi/mi2-amd64-entry-value.s: New file.
1638
1639 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1640
1641 Display @entry parameter values even for references.
1642 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1643 functions.
1644 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1645 reference and datap_input.
1646 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1647 breakpoints.
1648 (continue to breakpoint: entry_reference: reference)
1649 (entry_reference: bt at entry)
1650 (continue to breakpoint: entry_reference: breakhere_reference)
1651 (entry_reference: bt, entry_reference: ptype regparam)
1652 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1653 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1654 (entry_reference: p regcopy, entry_reference: p nodataparam)
1655 (entry_reference: p nodataparam@entry): New tests.
1656
1657 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1658
1659 Support @entry in input expressions.
1660 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1661 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1662 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1663 (tailcall: p j@entry): New tests.
1664 * gdb.cp/koenig.cc (A::entry): New function.
1665 (main): Call it.
1666 * gdb.cp/koenig.exp (p entry (c)): New test.
1667
1668 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 Display @entry parameter values (without references).
1671 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1672 (different, validity, invalid): New functions.
1673 (main): Call them.
1674 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1675 stacktest, breakhere_stacktest, different, breakhere_different,
1676 breakhere_validity and breakhere_invalid.
1677 (entry: bt): Update for @entry.
1678 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1679 (entry_validity: *, entry_invalid: *): Many new tests.
1680 * gdb.base/break.exp
1681 (run until breakpoint set at small function, optimized file): Accept
1682 also the @entry suffix.
1683 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1684 * gdb.mi/mi2-amd64-entry-value.c: New files.
1685 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1686
1687 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1688
1689 Protect entry values against self tail calls.
1690 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1691 (main): Call self.
1692 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1693 (set debug entry-values 1, self: bt debug entry-values): New tests.
1694
1695 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1696
1697 Recognize virtual tail call frames.
1698 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1699 (amb_b, amb_a): New.
1700 (main): Call a and b.
1701 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1702 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1703 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1704 New tests.
1705
1706 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 Implement basic support for DW_TAG_GNU_call_site.
1709 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1710 * gdb.arch/amd64-entry-value.cc: New file.
1711 * gdb.arch/amd64-entry-value.exp: New file.
1712
1713 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1714
1715 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1716 * gdb.dwarf2/implptr-64bit.S: New file.
1717 * gdb.dwarf2/implptr-64bit.exp: New file.
1718
1719 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1720
1721 Fix initial language detection with -readnow.
1722 * gdb.cp/readnow-language.cc: New file.
1723 * gdb.cp/readnow-language.exp: New file.
1724
1725 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1726
1727 Fix printed anonymous struct name.
1728 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1729
1730 2011-10-09 Joseph Myers <joseph@codesourcery.com>
1731
1732 * gdb.base/solib-symbol.exp: Do not include directories in
1733 filenames in expected messages.
1734
1735 2011-10-07 Doug Evans <dje@google.com>
1736
1737 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1738
1739 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
1740
1741 Allow Python notification of new object-file loadings.
1742 * gdb.python/py-events.exp: Test newobjfile event.
1743 * gdb.python/py-events.py: Register newobjfile callback.
1744 * gdb.python/py-events.c: Add call to shared library
1745 * gdb.python/py-events-shlib.c: New file.
1746
1747 2011-10-06 Joseph Myers <joseph@codesourcery.com>
1748
1749 * gdb.base/fixsection.exp: Do not include directories in filename
1750 in expected message.
1751
1752 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1753
1754 Add tests for passing of environment variables to inferior.
1755 * gdb.base/testenv.c: New test source.
1756 * gdb.base/testenv.exp: New expect test.
1757
1758 2011-10-04 Paul Koning <paul_koning@dell.com>
1759
1760 * gdb.python/py-value.c (main): Break before return.
1761
1762 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
1763
1764 PR python/12691: Add the inferior to Python exited event
1765 * gdb.python/py-events.exp: Test the inferior attribute of exited
1766 event with a fork.
1767 * gdb.python/py-events.py: Print inferior number on exit.
1768 * gdb.python/py-events.c: Fork the inferior.
1769
1770 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1771
1772 * gdb.base/jit.exp: Add testcase name to log message
1773
1774 2011-10-03 Paul Koning <paul_koning@dell.com>
1775 Jan Kratochvil <jan.kratochvil@redhat.com>
1776
1777 * gdb.python/py-value.exp
1778 (python inval = gdb.parse_and_eval('*(int*)0'))
1779 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1780 (set argc=2, python print argc_lazy): New tests.
1781
1782 2011-10-02 Joel Brobecker <brobecker@adacore.com>
1783
1784 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1785
1786 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 Pedro Alves <pedro@codesourcery.com>
1788
1789 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1790 can_read_0, test for it.
1791 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1792 (parse_and_eval with memory error): ... here, make it untested if
1793 can_read_0.
1794
1795 2011-09-30 Marek Polacek <mpolacek@redhat.com>
1796
1797 * gdb.python/python.exp (verify pagination beforehand)
1798 (verify pagination afterwards): Fix race by splitting the line.
1799
1800 2011-09-29 Joseph Myers <joseph@codesourcery.com>
1801
1802 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1803 for 64-bit multilibs from i?86-* targets.
1804
1805 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1806
1807 * lib/gdb.exp: Fix a typo in one of the comments.
1808
1809 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1810
1811 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1812 matching pattern.
1813
1814 2011-09-28 Paul Koning <paul_koning@dell.com>
1815
1816 * gdb.python/py-type.c (enum E): New.
1817 * gdb.python/py-type.exp (test_fields): Add tests for Python
1818 mapping access to fields.
1819 (test_enums): New test for field access on enums.
1820
1821 2011-09-27 Stan Shebs <stan@codesourcery.com>
1822
1823 * gdb.trace/collection.exp: Test collection of $_ret.
1824
1825 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
1826
1827 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1828 list of compilation switches for <*-*-freebsd*>.
1829
1830 2011-09-19 Stan Shebs <stan@codesourcery.com>
1831
1832 * gdb.trace/tspeed.exp: New file.
1833 * gdb.trace/tspeed.c: New file.
1834
1835 2011-09-18 Yao Qi <yao@codesourcery.com>
1836
1837 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1838 instructions.
1839 (test_adr_32bit, test_pop_pc): Likewise.
1840 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1841 Thumb instructions.
1842 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1843 in gdb_test_multiple.
1844 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1845
1846 2011-09-17 Yao Qi <yao@codesourcery.com>
1847
1848 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1849 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1850 support single step to signal handler.
1851
1852 2011-09-17 Yao Qi <yao@codesourcery.com>
1853
1854 * gdb.base/disp-step-fork.c: New.
1855 * gdb.base/disp-step-syscall.exp: New.
1856 * gdb.base/disp-step-vfork.c: New.
1857
1858 2011-09-16 Joel Brobecker <brobecker@adacore.com>
1859
1860 * gdb.ada/tasks.exp: Make the expected output for
1861 the `info tasks' tests more resilient to spacing
1862 changes.
1863
1864 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1867 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1868
1869 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
1870
1871 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1872 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1873
1874 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
1875
1876 Handle multiple breakpoint hits in Python interface:
1877 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1878 presence.
1879 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1880 breakpoint hits.
1881
1882 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1883 Jan Kratochvil <jan.kratochvil@redhat.com>
1884
1885 * gdb.python/py-events.exp: Remove pretty printing comment.
1886 * gdb.python/py-evsignal.exp: New file.
1887 * gdb.python/py-evthreads.c: Include signal.h.
1888 (thread3): Remove variable count3. Remove variable bad and use raise
1889 instead.
1890 (thread2): Remove variable count2. Move thread3 pthread_create here,
1891 merge pthread_join to a single line.
1892 (main): Remove variable count1. Merge pthread_join with pthread_create
1893 to a single line.
1894 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1895 KFAIL python/12966 for gdbserver. Test return value of
1896 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1897 gdb_expect by gdb_test and gdb_test_multiple.
1898 (thread 2, thread 3): New tests.
1899
1900 2011-09-12 Matt Rice <ratmice@gmail.com>
1901 Pedro Alves <pedro@codesourcery.com>
1902
1903 PR gdb/13175
1904
1905 * gdb.base/interp.exp: New tests.
1906 * gdb.base/interp.c: New file.
1907
1908 2011-09-12 Doug Evans <dje@google.com>
1909
1910 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1911 * gdb.dwarf2/typeddwarf.exp: Ditto.
1912
1913 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1914
1915 Fix compatibility with x32 arch.
1916 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1917 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1918 is_x86_like_target.
1919 * testsuite/gdb.trace/collection.exp: Likewise.
1920 * testsuite/gdb.trace/report.exp: Likewise.
1921 * testsuite/gdb.trace/unavailable.exp: Likewise.
1922 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1923 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1924 (is_x86_like_target): Check also is_amd64_regs_target.
1925
1926 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1927
1928 PR breakpoints/12435
1929 * gdb.arch/amd64-prologue-xmm.c: New file.
1930 * gdb.arch/amd64-prologue-xmm.exp: New file.
1931 * gdb.arch/amd64-prologue-xmm.s: New file.
1932
1933 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1934
1935 * gdb.dwarf2/dw2-param-error-main.c: New file.
1936 * gdb.dwarf2/dw2-param-error.S: New file.
1937 * gdb.dwarf2/dw2-param-error.exp: New file.
1938
1939 2011-09-08 Pedro Alves <pedro@codesourcery.com>
1940
1941 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1942 inferior's pid and look for a core dump named core.$pid. Use
1943 `remote_file' commands on the host instead of hand coding shell
1944 commands on the build.
1945 * gdb.base/valgrind-db-attach.exp: Kill the program before
1946 finishing the test.
1947
1948 2011-09-02 Matt Rice <ratmice@gmail.com>
1949
1950 * lib/prompt.exp: New file for testing the first prompt.
1951 * gdb.python/py-prompt.exp: Ditto.
1952 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1953
1954 2011-09-02 Pedro Alves <pedro@codesourcery.com>
1955
1956 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1957 0, before testing gcore.
1958
1959 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1960
1961 * dw2-ifort-parameter-debug.S: Update copyright year.
1962 * dw2-ifort-parameter.c: Update copyright year.
1963 * dw2-ifort-parameter.exp: Update copyright year.
1964
1965 * dw2-ifort-parameter-debug.S: New file.
1966 * dw2-ifort-parameter.c: New file.
1967 * dw2-ifort-parameter.exp: New file.
1968
1969 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 * gdb.base/commands.exp (error_clears_commands_left): New function.
1972 (): Call it.
1973
1974 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1975
1976 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1977 (C): Initialize `a'.
1978 * gdb.mi/mi-inheritance-syntax-error.exp
1979 (-data-evaluate-expression $path): Expect `a' as 5.
1980
1981 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1982
1983 PR mi/11912
1984 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1985 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1986 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1987 keyword in output of -var-info-path-expression.
1988
1989 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1990
1991 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1992 * gdb.trace/collection.exp: Likewise.
1993 * gdb.trace/report.exp: Likewise.
1994 * gdb.trace/unavailable.exp: Likewise.
1995 * gdb.trace/while-dyn.exp: Likewise.
1996
1997 2011-08-18 Keith Seitz <keiths@redhat.com>
1998
1999 PR c++/12266
2000 * gdb.cp/meth-typedefs.cc: New file.
2001 * gdb.cp/meth-typedefs.exp: New file.
2002
2003 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2004
2005 * gdb.python/python.exp: Add extended-prompt tests.
2006
2007 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 * gdb.arch/i386-dr3-watch.exp
2010 (watchpoint on gap1 does not fit debug registers)
2011 (delete all watchpoints): Fix racy expect strings.
2012
2013 2011-08-14 Yao Qi <yao@codesourcery.com>
2014
2015 * gdb.base/maint.exp: set data_section to ".neardata".
2016 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2017 * gdb.base/savedregs.exp: Handle SIGILL.
2018 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2019 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2020
2021 2011-08-12 Doug Evans <dje@google.com>
2022
2023 * gdb.python/py-symbol.exp: Add test for symbol.type.
2024
2025 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2026
2027 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2028 * gdb.mi/mi-pthreads.exp: Likewise.
2029 * gdb.mi/mi2-pthreads.exp: Likewise.
2030 * gdb.mi/gdb669.exp.exp: Likewise.
2031
2032 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2033
2034 * lib/mi-support.exp (detect_async): Rename to...
2035 (mi_detect_async): ... this.
2036 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2037 * gdb.mi/mi-nonstop.exp: Adjust.
2038 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2039 * gdb.mi/mi-nsintrall.exp: Adjust.
2040 * gdb.mi/mi-nsmoribund.exp: Adjust.
2041 * gdb.mi/mi-nsthrexec.exp: Adjust.
2042
2043 2011-08-09 Pedro Alves <pedro@codesourcery.com>
2044
2045 * gdb.base/display.c (do_loops): New `p_i' local.
2046 * gdb.base/display.exp: Test displaying a variable that is
2047 temporarily at a bad address.
2048
2049 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2052 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2053
2054 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
2057 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2058 (p fuNC_symtab): Permit also ppc64 leading dot.
2059
2060 2011-08-05 Pedro Alves <pedro@codesourcery.com>
2061
2062 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2063 procedure.
2064 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2065
2066 2011-08-05 Yao Qi <yao@codesourcery.com>
2067
2068 * gdb.base/callfuncs.exp: Set language after main.
2069 * gdb.cp/cplusfuncs.exp: Likewise.
2070 * gdb.cp/inherit.exp: Likewise.
2071
2072 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2073
2074 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2075 * gdb.base/watch-vfork.exp: Skip on remote targets.
2076
2077 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2078
2079 * gdb.threads/thread-find.exp: Support remote targets.
2080
2081 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2082
2083 * gdb.base/jit.exp: Download solib_binfile to target.
2084 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2085 and call dlopen without full path name.
2086 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2087 dlopen without full path name.
2088
2089 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2090
2091 * gdb.base/break-always.exp: Complete the test
2092 with duplicated breakpoints and enabling/disabling them.
2093
2094 2011-08-02 Tom Tromey <tromey@redhat.com>
2095
2096 PR gdb/11289:
2097 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2098
2099 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2100
2101 PR gdb/13045
2102 * gdb.base/float.exp: Add new test case for PR gdb/13045
2103 * gdb.base/float.c: New file.
2104
2105 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2106
2107 * gdb.python/py-mi.exp: Test printers returning string hint, and
2108 also not returning a value.
2109 * gdb.python/py-prettyprint.c: Add testcase for above.
2110 * gdb.python/py-prettyprint.py: Add test printer for above.
2111
2112 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2113
2114 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2115 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2116 (.Ldie30) Add as field "data4".
2117 (.Ldie32) Rename field "b" to "shl".
2118 (abbrev4) Change for the "data4" field.
2119 (abbrev5, abbrev6) Remove.
2120 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2121 (p &s.shl): ... here. Add comment.
2122 (p &s.data4): New.
2123
2124 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2125
2126 Fix crash on lval_computed values.
2127 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2128
2129 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2130
2131 * gdb.base/help.exp (help whatis): Update the expected string.
2132
2133 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2134
2135 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2136 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2137 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2138 Change the expected string.
2139
2140 2011-07-26 Pedro Alves <pedro@codesourcery.com>
2141
2142 * gdb.base/watchpoint.exp
2143 (test_disable_enable_software_watchpoint): New procedure.
2144 (top level): Run it.
2145
2146 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2147
2148 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2149 executable file "${binfile}", C++ version "${binfile}-cxx".
2150 * gdb.python/py-prettyprint.exp: Likewise.
2151 * gdb.python/py-symbol.exp: Likewise.
2152 * gdb.python/py-type.exp: Likewise.
2153 * gdb.python/py-value.exp: Likewise.
2154 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2155 file name instead of just suffix.
2156
2157 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2158
2159 Fix implicit pointer offsets.
2160 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2161 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2162 (continue to breakpoint: continue to baz breakpoint for implptr)
2163 (sanity check element 0, sanity check element 1)
2164 (enter the inlined function, check element 0 for the offset)
2165 (check element 1 for the offset)
2166 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2167 (set foo breakpoint for implptr): Update the breakpoint number.
2168
2169 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2170
2171 * gdb.python/py-mi.exp: Use different file names for different
2172 versions of the executable under test.
2173 * gdb.python/py-prettyprint.exp: Likewise.
2174 * gdb.python/py-symbol.exp: Likewise.
2175 * gdb.python/py-template.exp: Likewise.
2176 * gdb.python/py-type.exp: Likewise.
2177 * gdb.python/py-value.exp: Likewise.
2178
2179 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2180
2181 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2182 flag after restarting GDB if necessary.
2183
2184 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2185
2186 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2187
2188 2011-07-22 Pedro Alves <pedro@codesourcery.com>
2189
2190 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2191 backend doesn't leave used debug registers behind.
2192
2193 2011-07-22 Tom Tromey <tromey@redhat.com>
2194
2195 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2196 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2197 argument.
2198 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2199
2200 2011-07-21 Matt Rice <ratmice@gmail.com>
2201
2202 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2203 in mostlyclean rule. Add files ending in .core.
2204
2205 2011-07-21 Matt Rice <ratmice@gmail.com>
2206
2207 PR macros/12999
2208 * gdb.base/info-macros.c: New test sources.
2209 * gdb.base/info-macros.exp: New tests.
2210
2211 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2212
2213 * gdb.python/python.exp: Add prompt substitution tests.
2214
2215 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2216
2217 Fix crash if referenced CU is aged out.
2218 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2219 New.
2220 * gdb.dwarf2/implptr.exp: Likewise.
2221
2222 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2223
2224 * gdb.dwarf2/implptr.S: Rebuilt.
2225 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2226 (bar): Use them for j, k, l.
2227 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2228 COMPILE.
2229 (print j in implptr:bar): Update for the intp typedef.
2230 (print p[0].x in implptr:foo): Use more exact regex.
2231
2232 2011-07-18 Tom Tromey <tromey@redhat.com>
2233
2234 * gdb.cp/static-method.exp: Add missing single quote.
2235
2236 2011-07-18 Yao Qi <yao@codesourcery.com>
2237
2238 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2239 supported.
2240 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2241 * gdb.mi/mi-nonstop.exp: Likewise.
2242 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2243 * gdb.mi/mi-nsintrall.exp: Likewise.
2244 * gdb.mi/mi-nsmoribund.exp: Likewise.
2245 * gdb.mi/mi-nsthrexec.exp: Likewise.
2246 * gdb.python/py-evthreads.exp: Likewise.
2247
2248 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2249
2250 Code cleanup.
2251 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2252 it. Substitute it instead of test_compiler_info everywhere.
2253
2254 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2255
2256 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2257 remote targets as well.
2258
2259 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2260
2261 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2262 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2263
2264 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2265
2266 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2267 a remote machine, not the host.
2268 (gdb_compile_shlib): Set soname if target is remote.
2269
2270 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2271
2272 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2273
2274 2011-07-13 Matt Rice <ratmice@gmail.com>
2275
2276 * gdb.python/py-objfile-script-gdb.py: Renamed to
2277 py-objfile-script-gdb.py.in.
2278 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2279 py-objfile-script-gdb.py.
2280 * gdb.python/py-objfile-script.exp: Update reference to
2281 py-objfile-script-gdb.py.
2282
2283 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2284
2285 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2286 reference undefined label.
2287
2288 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2289
2290 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2291 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2292 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2293 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2294
2295 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2296
2297 PR python/12438
2298 * gdb.python/python.exp: Add maint set/show python print-stack
2299 deprecated tests. Add set/show python print-backtrace tests.
2300
2301 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2304 debug info.
2305
2306 2011-07-06 Matt Rice <ratmice@gmail.com>
2307
2308 * gdb.python/python.exp: Update filename paths.
2309 * gdb.python/py-symtab.exp: Ditto.
2310
2311 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2312
2313 * gdb.python/py-evthreads.exp: Add missing `$'.
2314
2315 2011-07-06 Jie Zhang <jie.zhang@analog.com>
2316
2317 * config/bfin.exp: New file.
2318 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2319 * gdb.asm/bfin.inc: New file.
2320
2321 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2322
2323 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
2324 the whole output.
2325
2326 2011-07-05 Tom Tromey <tromey@redhat.com>
2327
2328 * gdb.java/jprint.java (jprint.hi): New field.
2329 * gdb.java/jprint.exp: Print string.
2330
2331 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2332
2333 * gdb.base/call-sc.c: Fix typos.
2334 * gdb.base/ifelse.exp: Likewise.
2335 * gdb.base/structs.c: Likewise.
2336
2337 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2338
2339 * gdb.base/jit-so.exp: New test.
2340 * gdb.base/jit-dlmain.c: New file.
2341 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2342
2343 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2344
2345 * gdb.cp/m-static.exp: Call get_compiler_info.
2346 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2347 * gdb.cp/pr9167.exp (p b): Likewise.
2348 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2349 (test value of P in inner_m, test type of Z in inner_m): Call
2350 setup_xfail for gcc <= 4.5.
2351
2352 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2353
2354 * gdb.cp/paren-type.cc: New files.
2355 * gdb.cp/paren-type.exp: New files.
2356
2357 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 Stop on first linespec terminator instead of eating what we can.
2360 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2361 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2362 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2363 (break C::f()): ... this one.
2364 (break C::operator()()): New test.
2365 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2366 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2367 test.
2368
2369 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2370
2371 Fall back linespec to minimal symbols.
2372 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2373 error message.
2374 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2375 * gdb.cp/minsym-fallback-main.cc: New file.
2376 * gdb.cp/minsym-fallback.cc: New file.
2377 * gdb.cp/minsym-fallback.exp: New file.
2378 * gdb.cp/minsym-fallback.h: New file.
2379
2380 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2381
2382 * gdb.cp/no-dmgl-verbose.cc: New file.
2383 * gdb.cp/no-dmgl-verbose.exp: New file.
2384
2385 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2386
2387 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2388 __GI_.
2389 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2390 (f): New function.
2391 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2392 (complete p 'func<short>(): ... here.
2393 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2394 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2395 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2396 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2397 Make them KFAIL gcc/49546.
2398
2399 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2400
2401 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2402
2403 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2404
2405 Test GCC PR debug/49546.
2406 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2407 (test type of F in k3_m, test value of F in k3_m): New.
2408 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2409 (main): New variable k3. Call k3.k3_m.
2410
2411 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2412
2413 * gdb.ada/packed_array.exp: Fix expected outout.
2414
2415 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2416
2417 * gdb.ada/packed_array.exp: fixed expected output.
2418
2419 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2420
2421 * gdb.ada/same_enum: New testcase.
2422
2423 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2424
2425 * gdb.ada/ptr_typedef: New testcase.
2426
2427 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2428
2429 * gdb.ada/arrayptr.exp: Add ptype test.
2430
2431 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2432
2433 * gdb.ada/char_enum: New testcase.
2434
2435 2011-07-01 Yao Qi <yao@codesourcery.com>
2436
2437 * gdb.base/dump.exp (capture_pointer_with_type): New.
2438 Get value from address instead of name.
2439 Start GDB once, and do `dump' and `restore'
2440 tests together.
2441
2442 2011-06-30 Jie Zhang <jie.zhang@analog.com>
2443 Mike Frysinger <vapier@gentoo.org>
2444
2445 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2446 helper functions for getting/setting remotetimeout variable.
2447 * lib/gdb.exp (gdb_load): If the target is remote, set
2448 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2449 with $loadtimeout. Set $load_ok to 0 before doing the load.
2450 Instead of returning, immediately, set $load_ok to 0. Call
2451 set_remotetimeout with $oldremotetimeout, and then return if
2452 $load_ok is 1.
2453
2454 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
2455
2456 * gdb.python/py-template.exp: Don't run this test if the target
2457 does not support c++ tests.
2458
2459 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2460
2461 Fix non-only rename list for Fortran modules import.
2462 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2463 tests.
2464 * gdb.fortran/module.f90 (module moduse): New.
2465 (program module): use moduse, test var_x, var_y and var_z.
2466
2467 2011-06-29 Tom Tromey <tromey@redhat.com>
2468
2469 PR testsuite/12040:
2470 * gdb.fortran/array-element.exp: Use f90, not f77.
2471 * gdb.fortran/complex.exp: Use f90, not f77.
2472 * gdb.fortran/derived-type.exp: Use f90, not f77.
2473 * gdb.fortran/library-module.exp: Use f90, not f77.
2474 * gdb.fortran/logical.exp: Use f90, not f77.
2475 * gdb.fortran/module.exp: Use f90, not f77.
2476 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2477 * gdb.fortran/subarray.exp: Use f90, not f77.
2478
2479 2011-06-29 Tom Tromey <tromey@redhat.com>
2480
2481 * gdb.fortran/charset.exp: New file.
2482 * gdb.fortran/charset.f90: New file.
2483
2484 2011-06-29 Tom Tromey <tromey@redhat.com>
2485
2486 PR testsuite/12040:
2487 * lib/future.exp: New file, mostly extracted from ada.exp.
2488 Rewrote compatibility code to use rename.
2489 (gdb_find_gfortran): New proc.
2490 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2491 gfortran patch.
2492 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2493 Move to future.exp.
2494 * lib/gdb.exp: Always load future.exp.
2495
2496 2011-06-28 Yao Qi <yao@codesourcery.com>
2497
2498 * gdb.cp/exception.cc: Don't include iostream.
2499 (bar): Remove print statement.
2500 (catcher): New.
2501 (main): Remove print statements. Call function catcher.
2502 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2503 Set breakpoint on catcher, and check the value of parameter.
2504
2505 2011-06-23 Yao Qi <yao@codesourcery.com>
2506
2507 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2508 1.2 is disabled. KFAIL for uclinux.
2509
2510 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2511
2512 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2513 mi_gdb_test.
2514
2515 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2516
2517 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2518
2519 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2520
2521 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2522
2523 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2524
2525 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2526 `test_exec_and_symbol_mi_operatons' return value.
2527 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2528 gdb_test_multiple.
2529 (test_exec_and_symbol_mi_operatons): Likewise.
2530 (test_path_specification): Likewise.
2531
2532 2011-06-23 Yao Qi <yao@codesourcery.com>
2533
2534 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2535 supported.
2536 * lib/gdb.exp (support_displaced_stepping): New.
2537
2538 2011-06-23 Yao Qi <yao@codesourcery.com>
2539
2540 * gdb.threads/execl.exp: Skip on remote target.
2541
2542 2011-06-21 Marek Polacek <mpolacek@redhat.com>
2543
2544 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
2545 mi_gdb_test.
2546
2547 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2548
2549 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2550
2551 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2552
2553 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2554 mi_gdb_test.
2555
2556 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2557
2558 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2559
2560 2011-06-14 Yao Qi <yao@codesourcery.com>
2561
2562 gdb/testsuite/
2563 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2564
2565 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2568
2569 2011-06-10 Tom Tromey <tromey@redhat.com>
2570
2571 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2572 Add tests for pointer-to-member-function.
2573 * gdb.cp/temargs.cc (S::somefunc): New function.
2574 (K2): New class.
2575 (main): Instantiate K2; call method.
2576
2577 2011-06-08 Joel Brobecker <brobecker@adacore.com>
2578
2579 * gdb.python/py-inferior.c (f2): Make str an array rather
2580 than a pointer.
2581 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2582
2583 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 * gdb.base/async-shell.c: New file.
2586 * gdb.base/async-shell.exp: New file.
2587
2588 2011-06-06 Pedro Alves <pedro@codesourcery.com>
2589
2590 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2591
2592 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2593
2594 From Stephen Kitt <steve@sk2.org>
2595 * gdb.base/help.exp: Adjust following some spelling corrections
2596 in GDB.
2597
2598 2011-06-01 Yao Qi <yao@codesourcery.com>
2599
2600 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2601
2602 2010-05-31 Keith Seitz <keiths@redhat.com>
2603
2604 PR c++/12750
2605 * gdb.cp/static-method.cc: New file.
2606 * gdb.cp/static-method.exp: New file.
2607
2608 2010-05-31 Keith Seitz <keiths@redhat.com>
2609
2610 PR symtab/12704
2611 * gdb.cp/anon-ns.cc: New file.
2612 * gdb.cp/anon-ns.exp: New file.
2613
2614 2011-05-31 Pedro Alves <pedro@codesourcery.com>
2615
2616 * gdb.arch/i386-dr3-watch.c: New file.
2617 * gdb.arch/i386-dr3-watch.exp: New file.
2618
2619 2011-05-30 Yao Qi <yao@codesourcery.com>
2620
2621 * gdb.base/callfuncs.c (t_structs_fc): New.
2622 (t_structs_dc, t_structs_ldc): New.
2623 (t_double_many_args):
2624 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2625 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2626 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2627 * gdb.base/callfuncs.exp: Call new functions.
2628
2629 2011-05-30 Yao Qi <yao@codesourcery.com>
2630
2631 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2632 Call rerun_and_prepare for each test to isolate effects.
2633
2634 2011-05-30 Yao Qi <yao@codesourcery.com>
2635
2636 * gdb.base/varargs.c (find_max_float_real): New.
2637 (find_max_double_real, find_max_long_double_real): New.
2638 * gdb.base/varargs.exp: Call these new added functions.
2639 * lib/gdb.exp (setup_kfail_for_target): New.
2640
2641 2011-05-30 Yao Qi <yao@codesourcery.com>
2642
2643 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2644 (callcd, callce, callcf, callc1a, callc1b): New.
2645 (callc2a, callc2b): New.
2646 * gdb.base/funcargs.exp (complex_args): New.
2647 (complex_integral_args, complex_float_integral_args): New.
2648 * lib/gdb.exp (support_complex_tests): New. Determine
2649 whether to run test cases on _Complex types.
2650
2651 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2652
2653 * gdb.threads/leader-exit.c: New file.
2654 * gdb.threads/leader-exit.exp: New file.
2655
2656 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2657
2658 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2659
2660 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2661
2662 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2663 remove the `supported' variable.
2664 * gdb.mi/mi-nonstop.exp: Likewise.
2665 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2666 * gdb.mi/mi-nsintrall.exp: Likewise.
2667 * gdb.mi/mi-nsmoribund.exp: Likewise.
2668 * gdb.mi/mi-nsthrexec.exp: Likewise.
2669
2670 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2671
2672 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2673
2674 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2675
2676 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2677
2678 2011-05-24 Keith Seitz <keiths@redhat.com>
2679
2680 PR breakpoint/12803
2681 * gdb.cp/cmpd-minsyms.cc (a): New method.
2682 (b): New method.
2683 (c): New method.
2684 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2685
2686 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2687
2688 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2689 watchpoint's command list didn't execute when the watchpoint went
2690 out of scope.
2691
2692 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2693
2694 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2695 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2696 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2697 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2698 * gdb.arch/i386-permbkpt.exp: Likewise.
2699 * gdb.arch/i386-prologue.exp: Likewise.
2700 * gdb.arch/i386-size-overlap.exp: Likewise.
2701 * gdb.arch/i386-size.exp: Likewise.
2702 * gdb.arch/i386-unwind.exp: Likewise.
2703 * gdb.reverse/i386-precsave.exp: Likewise.
2704 * gdb.reverse/i386-reverse.exp: Likewise.
2705 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2706 * gdb.reverse/i387-env-reverse.exp: Likewise.
2707 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2708
2709 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2710
2711 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2712 file doesn't error, using MI.
2713
2714 2011-05-23 Tom Tromey <tromey@redhat.com>
2715
2716 * gdb.base/charset.exp (string_display): Add tests to assign to
2717 arrays.
2718 * gdb.base/charset.c (short_array, int_array, long_array): New.
2719
2720 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2721
2722 Cope with async mode.
2723
2724 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2725 into gdb_test + mi_expect_stop.
2726
2727 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2728
2729 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2730 (callme): Remove printf call.
2731
2732 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2733
2734 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2735 quote pattern to avoid problems with Cygwin/mingw expect versions.
2736 * gdb.base/default.exp (show convenience): Use double
2737 quote pattern for regular expressions.
2738
2739 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2740
2741 Fix -readnow for -gdwarf-4 unused type units.
2742 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2743 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2744
2745 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2746
2747 * gdb.base/kill-after-signal.c: New file.
2748 * gdb.base/kill-after-signal.exp: New file.
2749
2750 2011-05-16 Pedro Alves <pedro@codesourcery.com>
2751
2752 * gdb.ada/start.exp: Call untested with the correct test filename.
2753 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2754 test filename. Make the test's binary unique.
2755 * gdb.arch/i386-signal.exp: Call untested with the correct test
2756 filename.
2757 * gdb.arch/i386-size-overlap.exp: Ditto.
2758 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2759 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2760 * gdb.cp/call-c.exp: Ditto.
2761 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2762 filename. Make the test's binary unique.
2763 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2764 * gdb.python/py-mi.exp: Ditto.
2765 * gdb.python/Makefile.in (EXECUTABLES): Update.
2766 * gdb.reverse/i386-precsave.exp: Ditto.
2767 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2768 test filename.
2769 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2770 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2771 unique.
2772 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2773 test filename.
2774 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2775 * gdb.trace/tfile.exp: Ditto.
2776
2777 2011-05-14 Yao Qi <yao@codesourcery.com>
2778
2779 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2780 type.
2781
2782 2011-05-13 Doug Evans <dje@google.com>
2783
2784 * gdb.python/py-objfile-script.exp: New file.
2785 * gdb.python/py-objfile-script.c: New file.
2786 * gdb.python/py-objfile-script-gdb.py: New file.
2787 * testsuite/gdb.python/py-section-script.exp: Test
2788 "info auto-load-scripts".
2789
2790 2011-05-13 Tom Tromey <tromey@redhat.com>
2791
2792 * gdb.dwarf2/clztest.exp: New file.
2793 * gdb.dwarf2/clztest.c: New file.
2794 * gdb.dwarf2/clztest.S: New file.
2795
2796 2011-05-13 Doug Evans <dje@google.com>
2797
2798 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2799 String16 tests.
2800
2801 2011-05-13 Tom Tromey <tromey@redhat.com>
2802
2803 * lib/gdb.exp (is_x86_like_target): New proc.
2804 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2805 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2806 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2807 -nostdlib to compiler.
2808 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2809 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2810 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2811 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2812 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2813
2814 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2815
2816 * gdb.python/py-function.exp: Test setting a value from a function
2817 which executes a command.
2818
2819 2011-05-12 Tom Tromey <tromey@redhat.com>
2820
2821 * gdb.dwarf2/typeddwarf.S: New file.
2822 * gdb.dwarf2/typeddwarf.c: New file.
2823 * gdb.dwarf2/typeddwarf.exp: New file.
2824
2825 2011-05-12 Marek Polacek <mpolacek@redhat.com>
2826
2827 * gdb.mi/mi-basics.exp: Fix races. Honour the
2828 `test_exec_and_symbol_mi_operatons' return value.
2829 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2830 gdb_test_multiple.
2831 (test_exec_and_symbol_mi_operatons): Likewise.
2832 (test_path_specification): Likewise.
2833
2834 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2835
2836 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2837 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2838 Replace `file copy' and `file rename' by `file mtime'. Twice.
2839
2840 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 * gdb.base/readline-ask.c: New file.
2843 * gdb.base/readline-ask.exp: New file.
2844 * gdb.base/readline-ask.inputrc: New file.
2845
2846 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2847
2848 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2849 to avoid race condition.
2850 * gdb.cell/coremaker.c: Use small stack size.
2851 * gdb.cell/ea-standalone.exp: Use file name without path as
2852 argument to c_to.
2853 * gdb.cell/fork.exp: Allow other output when continuing to end.
2854
2855 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2856
2857 * gdb.threads/corethreads.c: New file.
2858 * gdb.threads/corethreads.exp: New file.
2859
2860 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2861
2862 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2863 Try to compile the test using -Wl,-z,norelro first.
2864 (load_core): New variable libthread_db_seen, initialize it.
2865 (zeroed-threads cannot be listed): Protect it by XFAIL on
2866 !$libthread_db_seen.
2867
2868 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 PR 12573
2871 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2872 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2873 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2874
2875 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2876
2877 * gdb.cp/psymtab-parameter.cc: New file.
2878 * gdb.cp/psymtab-parameter.exp: New file.
2879
2880 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2881
2882 Fix a race.
2883 * gdb.cp/static-print-quit.exp (print c): Split to ...
2884 (print c - <return>, print c - q <return>, print c - to quit):
2885 ... these. Make the testfile untested on gdb-7.1.
2886
2887 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
2888
2889 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2890 gdb_rename_execfile, gdb_touch_execfile): New.
2891 * gdb.base/reread.exp: Use new procs to handle multiple
2892 exec files.
2893
2894 2011-05-05 Yao Qi <yao@codesourcery.com>
2895
2896 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2897 (test_adr_32bit, test_pop_pc): New.
2898 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2899 (test_adr_32bit, test_pop_pc): New.
2900
2901 2011-05-04 Joseph Myers <joseph@codesourcery.com>
2902
2903 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2904 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2905 targets.
2906 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2907 handle targets.
2908
2909 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 * gdb.base/completion.exp (complete help info wat): Rename to ...
2912 (complete 'help info wat'): ... here.
2913 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2914 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2915
2916 2011-05-04 Pedro Alves <pedro@codesourcery.com>
2917
2918 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2919 gdb_test and explicit $gdb_prompt/timeout matches.
2920
2921 2011-05-04 Yao Qi <yao@codesourcery.com>
2922
2923 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2924 and __thumb2__.
2925
2926 2011-05-03 Marek Polacek <mpolacek@redhat.com>
2927
2928 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2929 in place of `gdb_test "delete breakpoints"'. This eliminates two
2930 testcases.
2931
2932 2011-05-02 Pedro Alves <pedro@codesourcery.com>
2933
2934 PR testsuite/12649
2935 Fix races.
2936
2937 * gdb.base/completion.exp: Remove all sleep calls. Remove
2938 unnecessary regexs. Don't explicitly expect anything after the
2939 prompt. Eat the prompt if necessary.
2940
2941 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2942
2943 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2944 accept to show the caller line again as well as the line after.
2945
2946 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2947
2948 PR mi/12531
2949
2950 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2951 compile target.
2952 * gdb.python/py-prettyprint.exp: Add C++ object for
2953 CPLUS_FAKE_CHILD test.
2954
2955 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2956
2957 * gdb.base/signest.exp: New file.
2958 * gdb.base/signest.c: Likewise.
2959
2960 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2961
2962 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2963 thread and breakpoint notifications.
2964
2965 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2966
2967 * gdb.base/fortran-sym-case.c: New file.
2968 * gdb.base/fortran-sym-case.exp: New file.
2969 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2970 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2971 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2972
2973 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2974
2975 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2976 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2977 false #1', `if true else false #2' and `if true else false #3'.
2978
2979 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2980
2981 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2982 while delivering signal.
2983
2984 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2985
2986 MI breakpoint notifications.
2987
2988 * testsuite/gdb.mi/mi-cli.exp: Adust.
2989 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2990 * testsuite/gdb.mi/mi-watch.exp: Adust.
2991 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2992 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2993 notifications.
2994
2995 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2996
2997 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2998 * gdb.base/gdbindex-stabs.c: New file.
2999 * gdb.base/gdbindex-stabs.exp: New file.
3000
3001 2011-04-25 Yao Qi <yao@codesourcery.com>
3002
3003 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3004 with /*...*/.
3005 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3006
3007 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3008
3009 * gdb.python/py-value.exp (test_objfiles): Name the first test
3010 `py-value in file.filename'.
3011
3012 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3015 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3016 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3017 !gdbserver_reconnect_p..
3018 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3019
3020 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3021
3022 * gdb.cp/cpcompletion.exp (complete class methods)
3023 (complete class methods beginning with F): Move them above runto. New
3024 comment about the runto delimiter.
3025
3026 2011-04-20 Pedro Alves <pedro@codesourcery.com>
3027
3028 * gdb.base/maint.exp: Test that "maint print registers" works
3029 without a running program.
3030
3031 2011-04-20 Marek Polacek <mpolacek@redhat.com>
3032
3033 * gdb.base/setshow.exp: Fix racy tests.
3034 ($old_gdb_prompt): New variable.
3035
3036 2011-04-19 Tom Tromey <tromey@redhat.com>
3037
3038 * gdb.mi/mi-nsmoribund.exp:
3039 * gdb.hp/gdb.objdbg/objdbg01.exp:
3040 * gdb.base/structs.exp (test_struct_returns):
3041 * gdb.base/call-sc.exp (test_scalar_returns):
3042 * gdb.base/bigcore.exp: Remove duplicate words.
3043
3044 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3045
3046 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3047 * gdb.base/break-interp.exp (test_attach): New comment.
3048
3049 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3050
3051 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3052 (clear __stack_user.next, clear stack_used.next)
3053 (save a zeroed-threads corefile): New test.
3054 Call core_load for $core0file.
3055 (zeroed-threads cannot be listed): New test.
3056
3057 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3060 filename.
3061 ($srcfile): Preserve the original value.
3062 ($testfile): Match it the .exp filename.
3063 ($corefile): New variable. Substitute it around.
3064 Use clean_restart.
3065 ($prev_timeout): Remove.
3066 (load_core): Move core loading into this proc.
3067 Fix restore of $timeout if load_core fails.
3068
3069 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3070
3071 * gdb.base/eu-strip-infcall.c: New file.
3072 * gdb.base/eu-strip-infcall.exp: New file.
3073
3074 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3075
3076 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3077 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3078
3079 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3080
3081 Fix Python access to inlined frames.
3082 * gdb.python/py-frame-inline.c: New file.
3083 * gdb.python/py-frame-inline.exp: New file.
3084
3085 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3086
3087 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3088 content of 's24' correctly (avoiding "optimized out").
3089 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3090
3091 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3092
3093 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3094
3095 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3096
3097 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3098 expect a colon in watch -location output.
3099
3100 2011-04-13 Marek Polacek <mpolacek@redhat.com>
3101
3102 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
3103 New testcase `expect response to define backtrace'. Also remove
3104 redundant `default' block.
3105
3106 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3107
3108 * gdb.python/py-prettyprint.c (struct hint_error): New.
3109 (main): New variable hint_error.
3110 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3111 "print hint_error".
3112 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3113 (register_pretty_printers): Register it.
3114
3115 2011-04-04 Tom Tromey <tromey@redhat.com>
3116
3117 * gdb.cp/maint.exp (test_help): Update.
3118 (test_namespace): Likewise.
3119
3120 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3121
3122 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3123 * gdb.ada/arrayptr.exp: Add new tests.
3124
3125 2011-04-01 Joel Brobecker <brobecker@adacore.com>
3126
3127 * gdb.ada/mi_catch_ex: New testcase.
3128
3129 2011-04-01 Pedro Alves <pedro@codesourcery.com>
3130
3131 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3132 base::overload(void) method without specifying "const".
3133
3134 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3135
3136 * gdb.arch/thumb-singlestep.S: New file.
3137 * gdb.arch/thumb-singlestep.exp: Likewise.
3138
3139 2011-03-31 Tom Tromey <tromey@redhat.com>
3140
3141 * gdb.python/py-prettyprint.py (exception_flag): New global.
3142 (NoStringContainerPrinter._iterator.next): Check it.
3143 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3144 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3145
3146 2011-03-29 Tom Tromey <tromey@redhat.com>
3147
3148 * gdb.cp/anon-struct.cc: New file.
3149 * gdb.cp/anon-struct.exp: New file.
3150
3151 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3152
3153 Test STT_GNU_IFUNC support.
3154 * gdb.base/gnu-ifunc-lib.c: New file.
3155 * gdb.base/gnu-ifunc.c: New file.
3156 * gdb.base/gnu-ifunc.exp: New file.
3157
3158 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3159
3160 Support a ring of related breakpoints.
3161 * gdb.base/watchpoint-delete.c: New file.
3162 * gdb.base/watchpoint-delete.exp: New file.
3163
3164 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3165
3166 * gdb.ada/arrayparam.exp (print first after function call): Use
3167 explicit package name. Add a comment
3168 (print lasta after function call): Rename ...
3169 (print last after function call): ... it and use explicit package
3170 name.
3171 (print length after function call): Use explicit package name.
3172 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3173 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3174 (multiple matches for symbol i): Rename ...
3175 (multiple matches for symbol integervar): ... it.
3176 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3177 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3178
3179 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
3180
3181 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3182 environment variable to make grep output more predictable. Move
3183 all the environment setup into gdb_init so it's done once per test
3184 case rather than each time we start gdb.
3185
3186 2011-03-24 Tom Tromey <tromey@redhat.com>
3187
3188 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3189 test.
3190
3191 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3192
3193 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3194 * gdb.dwarf2/dw2-entry-value.S: New file.
3195 * gdb.dwarf2/dw2-entry-value.exp: New file.
3196
3197 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3198
3199 PR python/12183
3200
3201 * gdb.python/py-function.exp: Add GdbError tests.
3202
3203 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3204
3205 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3206 (reglocal_test_func, statlocal_test_func): New functions.
3207 (globals_test_func): Call new functions.
3208 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3209 (gdb_collect_locals_test): New procedure.
3210 (gdb_trace_collection_test): Call new procedures.
3211
3212 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3213
3214 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3215 (test_register, test_register_unavailable): New procedures.
3216 (gdb_unavailable_registers_test): New procedure.
3217 (gdb_trace_collection_test): Call it.
3218
3219 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3220
3221 PR python/12149
3222
3223 * gdb.python/python.exp: Add gdb.write tests.
3224
3225 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3226
3227 * gdb.python/Makefile.in: Add py-objfile.
3228 * gdb.python/py-objfile.exp: New file.
3229 * gdb.python/py-objfile.c: New file.
3230 * gdb.python/py-block.exp: Add is_valid tests.
3231 * gdb.python/py-inferior.exp: Ditto.
3232 * gdb.python/py-infthread.exp: Ditto.
3233 * gdb.python/py-symbol.exp: Ditto.
3234 * gdb.python/py-symtab.exp: Ditto.
3235
3236 2011-03-16 Keith Seitz <keiths@redhat.com>
3237
3238 PR c++/12273
3239 * gdb.cp/cmpd-minsyms.exp: New test.
3240 * gdb.cp/cmpd-minsyms.cc: New file.
3241
3242 PR c++/11734
3243 * gdb.cp/ovsrch.exp: New test.
3244 * gdb.cp/ovsrch.h: New file.
3245 * gdb.cp/ovsrch1.cc: New file.
3246 * gdb.cp/ovsrch2.cc: New file.
3247 * gdb.cp/ovsrch3.cc: New file.
3248 * gdb.cp/ovsrch4.cc: New file.
3249
3250 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3251
3252 PR gdb/12528
3253 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3254 * gdb.base/break-on-linker-gcd-function.exp: New test.
3255 * gdb.base/break-on-linker-gcd-function.cc: New file.
3256
3257 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
3258
3259 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3260
3261 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3262
3263 * lib/gdb.exp (gdb_unload): Add another termination case.
3264
3265 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3266
3267 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3268 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3269 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3270 Provide a stub byte there.
3271 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3272 DW_AT_entry_pc.
3273 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3274
3275 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3276
3277 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3278 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3279 "generic ABI, auto".
3280 (altivec_abi_tests): Accept vectors returned by reference.
3281
3282 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3283
3284 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3285
3286 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3287
3288 * gdb.python/py-section-script.exp: Skip test if no Python support.
3289
3290 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3291
3292 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3293
3294 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3295
3296 * gdb.python/py-parameter.exp: Update tests to the new Python
3297 parameter API. Add "no documentation" test. Add deprecated API
3298 backward compatibility test.
3299
3300 2011-03-09 Tom Tromey <tromey@redhat.com>
3301
3302 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3303 gdb_continue_to_end.
3304
3305 2011-03-09 Mark Kettenis <kettenis@gnu.org>
3306
3307 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3308 tabs.
3309
3310 2011-03-09 Tom Tromey <tromey@redhat.com>
3311
3312 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3313 parentheses.
3314 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3315 $command.
3316 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3317 argument to gdb_continue_to_end.
3318 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3319 argument to gdb_continue_to_end.
3320 * gdb.cp/annota3.exp: Fix regex.
3321 * gdb.cp/annota2.exp: Fix regex.
3322 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3323 gdb_continue_to_end.
3324 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3325 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3326 gdb_continue_to_end.
3327
3328 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 * gdb.server/ext-run.exp
3331 (load new file without any gdbserver inferior): New test.
3332
3333 2011-03-07 Tom Tromey <tromey@redhat.com>
3334
3335 * Makefile.in (TAGS): Rewrite.
3336
3337 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3338
3339 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3340 initial commands echo. New match for `Found trace'. Anchor all the
3341 other matches. Anchor and match for `No trace frame found' the final
3342 match.
3343
3344 2011-03-07 Tom Tromey <tromey@redhat.com>
3345
3346 * Makefile.in (TAGS): New target.
3347
3348 2011-03-07 Tom Tromey <tromey@redhat.com>
3349
3350 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3351 change.
3352 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3353 change.
3354 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3355 exit message change.
3356 (skip_altivec_tests): Update for exit message change.
3357 (skip_vsx_tests): Likewise.
3358 (gdb_continue_to_end): Likewise. Add 'command' argument.
3359 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3360 * gdb.threads/tls.exp: Update for exit message change.
3361 * gdb.threads/thread-unwindonsignal.exp: Use
3362 gdb_continue_to_end.
3363 * gdb.threads/step.exp (step_it): Update for exit message change.
3364 (continue_all): Likewise.
3365 * gdb.threads/print-threads.exp (test_all_threads): Update for
3366 exit message change.
3367 * gdb.threads/interrupted-hand-call.exp: Use
3368 gdb_continue_to_end.
3369 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3370 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3371 gdb_continue_to_end.
3372 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3373 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3374 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3375 * gdb.cp/method.exp: Update for exit message change.
3376 * gdb.cp/mb-templates.exp: Update for exit message change.
3377 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3378 * gdb.cp/annota3.exp: Update for exit message change.
3379 * gdb.cp/annota2.exp: Update for exit message change.
3380 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3381 * gdb.base/term.exp: Update for exit message change.
3382 * gdb.base/step-test.exp (test_i): Update for exit message change.
3383 * gdb.base/sigstep.exp (advance): Update for exit message change.
3384 (advancei): Likewise.
3385 * gdb.base/siginfo.exp: Update for exit message change.
3386 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3387 * gdb.base/reread.exp: Use gdb_continue_to_end.
3388 * gdb.base/langs.exp: Use gdb_continue_to_end.
3389 * gdb.base/interrupt.exp: Update for exit message change.
3390 * gdb.base/gdb1555.exp: Update for exit message change.
3391 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3392 * gdb.base/ending-run.exp: Update for exit message change.
3393 * gdb.base/chng-syms.exp: Update for exit message change.
3394 * gdb.base/checkpoint.exp: Update for exit message change.
3395 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3396 gdb_continue_to_end.
3397 (test_catch_syscall_with_wrong_args): Likewise.
3398 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3399 * gdb.base/break-interp.exp (test_ld): Update for exit message
3400 change.
3401 * gdb.base/bang.exp: Update for exit message change.
3402 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3403 (do_call_attach_tests): Likewise.
3404 * gdb.base/a2-run.exp: Update for exit message change.
3405 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3406 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3407 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3408
3409 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3410
3411 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3412
3413 2011-03-03 Tom Tromey <tromey@redhat.com>
3414
3415 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3416 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3417 * gdb.hp/gdb.aCC/configure.ac: Remove.
3418 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3419 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3420 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3421 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3422 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3423 * gdb.hp/gdb.compat/configure.ac: Remove.
3424 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3425 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3426 * gdb.hp/gdb.defects/configure.ac: Remove.
3427 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3428 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3429 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3430 * gdb.hp/configure.ac: Remove.
3431 * gdb.hp/configure: Remove.
3432 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3433 substitution.
3434 (Makefile): Remove rule.
3435 * gdb.cell/configure.ac: Remove.
3436 * gdb.cell/configure: Remove.
3437 * gdb.stabs/Makefile.in (Makefile): Remove.
3438 (distclean): Don't remove config.status or config.log.
3439 * gdb.stabs/configure (Makefile): Remove.
3440 * gdb.stabs/configure.ac: Remove.
3441 * configure: Rebuild.
3442 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3443 Remove stabs- and cell-specific logic. Test for existence of
3444 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3445 subdirectories, gdb.cell, and and gdb.stabs.
3446 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3447
3448 2011-03-03 Joel Brobecker <brobecker@adacore.com>
3449
3450 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3451 end of buffer.
3452
3453 2011-03-02 Joel Brobecker <brobecker@adacore.com>
3454
3455 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3456 gdb_test when running a test where we expected no output back.
3457
3458 2011-02-28 Michael Snyder <msnyder@vmware.com>
3459
3460 * gdb.cp/overload.cc: Change initializer value to integer.
3461
3462 2011-02-27 Michael Snyder <msnyder@vmware.com>
3463
3464 * gdb.multi/base.exp: Add test for remove-inferiors.
3465
3466 2011-02-26 Joel Brobecker <brobecker@adacore.com>
3467
3468 * gdb.python/py-frame.exp: Simplify the initialization phase
3469 using prepare_for_testing.
3470
3471 2011-02-25 Michael Snyder <msnyder@vmware.com>
3472
3473 * gdb.multi/base.exp: Add tests for info inferiors with args.
3474
3475 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3476
3477 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3478 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3479 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3480 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3481 asmfile3. Comment the STABS (#3) file compilation. Compile
3482 everything through assembler. Provide KFAIL for symtab/12497.
3483 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3484 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3485 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3486 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3487
3488 2011-02-24 Michael Snyder <msnyder@vmware.com>
3489
3490 * gdb.base/break.exp: Add tests for delete breakpoints using
3491 convenience variables and value history references.
3492
3493 2011-02-24 Michael Snyder <msnyder@vmware.com>
3494
3495 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3496 left behind in previous check-in.
3497
3498 2011-02-23 Michael Snyder <msnyder@vmware.com>
3499
3500 * gdb.base/break.exp: Add tests for "info break" with arguments.
3501 * gdb.trace/infotrace.exp: Update patterns for error and help.
3502 * gdb.base/completion.exp: Update pattern.
3503 * gdb.base/ena-dis-br.exp: Update pattern.
3504 * gdb.base/help.exp: Update patterns.
3505
3506 2011-02-23 Michael Snyder <msnyder@vmware.com>
3507
3508 * gdb.base/memattr.exp: New test.
3509 * gdb.base/memattr.c: Test load for memattr.exp.
3510
3511 2011-02-22 Doug Evans <dje@google.com>
3512
3513 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3514
3515 2011-02-22 Michael Snyder <msnyder@vmware.com>
3516
3517 * Makefile.in: Make more clean.
3518 * gdb.ada/Makefile.in: Ditto.
3519 * gdb.arch/Makefile.in: Ditto.
3520 * gdb.asm/Makefile.in: Ditto.
3521 * gdb.base/Makefile.in: Ditto.
3522 * gdb.cp/Makefile.in: Ditto.
3523 * gdb.dwarf2/Makefile.in: Ditto.
3524 * gdb.java/Makefile.in: Ditto.
3525 * gdb.mi/Makefile.in: Ditto.
3526 * gdb.modula2/Makefile.in: Ditto.
3527 * gdb.python/Makefile.in: Ditto.
3528 * gdb.server/Makefile.in: Ditto.
3529 * gdb.stabs/Makefile.in: Ditto.
3530 * gdb.threads/Makefile.in: Ditto.
3531 * gdb.trace/Makefile.in: Ditto.
3532
3533 2011-02-22 Michael Snyder <msnyder@vmware.com>
3534
3535 * gdb.threads/thread-find.exp: Add tests for bad input to
3536 info threads.
3537
3538 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3539
3540 * gdb.python/py-breakpoint.exp: Fix the expected output of
3541 one of the "maint info breakpoints" tests to accept the output
3542 generated on platforms that do not have hardware watchpoints.
3543
3544 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3545
3546 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3547 clean_restart. Be a little stricter in the expected output
3548 for one of the tests. Fix a typo in one of the comments.
3549
3550 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3551
3552 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3553 Delete variable binfile, no longer use. Add or modify test
3554 comments to make them unique.
3555
3556 2011-02-21 Michael Snyder <msnyder@vmware.com>
3557
3558 * Makefile.in: Update for make clean.
3559 * gdb.ada/Makefile.in: Ditto.
3560 * gdb.arch/Makefile.in: Ditto.
3561 * gdb.asm/Makefile.in: Ditto.
3562 * gdb.base/Makefile.in: Ditto.
3563 * gdb.cp/Makefile.in: Ditto.
3564 * gdb.dwarf2/Makefile.in: Ditto.
3565 * gdb.java/Makefile.in: Ditto.
3566 * gdb.mi/Makefile.in: Ditto.
3567 * gdb.modula2/Makefile.in: Ditto.
3568 * gdb.python/Makefile.in: Ditto.
3569 * gdb.server/Makefile.in: Ditto.
3570 * gdb.stabs/Makefile.in: Ditto.
3571 * gdb.threads/Makefile.in: Ditto.
3572 * gdb.trace/Makefile.in: Ditto.
3573
3574 2011-02-21 Michael Snyder <msnyder@vmware.com>
3575
3576 * gdb.threads/thread-find.exp: Update patterns for changes in
3577 output of "info threads" command.
3578
3579 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3580 Ulrich Weigand <uweigand@de.ibm.com>
3581
3582 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3583 (skip_hw_watchpoint_tests): Likewise.
3584 (skip_hw_watchpoint_multi_tests): Likewise.
3585
3586 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3587
3588 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3589 (skip_hw_watchpoint_tests): Likewise.
3590 (skip_hw_watchpoint_multi_tests): Likewise.
3591 (skip_hw_watchpoint_access_tests): Likewise.
3592
3593 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3594 * gdb.base/pr11022.exp: Likewise.
3595 * gdb.base/watch-read.exp: Likewise.
3596 * gdb.base/watch_thread_num.exp: Likewise.
3597 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3598 * gdb.base/watchpoint-hw.exp: Likewise.
3599 * gdb.base/watchpoint.exp: Likewise.
3600 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3601 * gdb.threads/watchthreads-reorder.exp: Likewise.
3602 * gdb.threads/watchthreads.exp: Likewise.
3603 * gdb.threads/watchthreads2.exp: Likewise.
3604
3605 2011-02-21 Joel Brobecker <brobecker@adacore.com>
3606
3607 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3608 the debugger is unable to find the array bounds.
3609
3610 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3611
3612 * gdb.cp/typedef-operator.exp: New file.
3613 * gdb.cp/typedef-operator.cc: New file.
3614
3615 2011-02-17 Michael Snyder <msnyder@vmware.com>
3616
3617 * gdb.threads/thread-find.exp: Fix regular expressions.
3618
3619 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3620
3621 * gdb.ada/packed_array: Expand testcase to test printing of
3622 unconstrained packed array.
3623
3624 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3625
3626 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3627
3628 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3629
3630 * gdb.trace/collection.c (globalarr3): New global.
3631 (main): Initialize it before collecting, and and clear it
3632 afterwards.
3633 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3634 collecting with '{type} addr', where the addr expression is not an
3635 rvalue.
3636
3637 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
3638
3639 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3640 a bool variable. Expect correct OpenCL names for vector types. Use the
3641 uc3 variable name instead of referring to the uchar3 built-in type.
3642 Escape the asterisk at the half pointer test.
3643
3644 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3645
3646 * gdb.trace/collection.c (globalarr2): New global.
3647 (main): Initialize it before collecting, and and clear it
3648 afterwards.
3649 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3650 collecting overlapping memory ranges.
3651
3652 2011-02-15 Michael Snyder <msnyder@vmware.com>
3653
3654 * gdb.base/default.exp: Add tests for thread commands.
3655 * gdb.base/help.exp: Add tests for thread commands.
3656 * gdb.threads/thread-find.exp: New test for thread find command.
3657
3658 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
3659
3660 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3661
3662 2011-02-15 Yao Qi <yao@codesourcery.com>
3663
3664 PR tdep/12352
3665 * gdb.arch/arm-disp-step.S : New test for str instruction.
3666 * gdb.arch/arm-disp-step.exp : Likewise.
3667
3668 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3669
3670 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3671 "vector_register2_vr" test strings. Test the extended floating
3672 point registers (F32~F63).
3673 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3674 IBM XL C compiler. Make the test program use a register provided
3675 by the compiler for the lxvd2x instruction.
3676
3677 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3678
3679 * gdb.trace/unavailable.cc (class Base, class Middle, class
3680 Derived): New types.
3681 (derived_unavail, derived_partial, derived_whole): New globals.
3682 (virtual_partial): New global.
3683 (virtualp): Point at virtual_partial.
3684 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3685 related to unavailable vptr.
3686
3687 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3688
3689 * gdb.trace/unavailable.cc (a, b, c): New globals.
3690 (main): Set and clear them.
3691 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3692 `a' and `c', and check that `b' isn't collected, although `a' and
3693 `c' are.
3694
3695 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3696
3697 * gdb.trace/unavailable.cc (struct Virtual): New.
3698 (virtualp): New global pointer.
3699 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3700 printing a pointer to an object whose type has a vtable, with
3701 print object on.
3702
3703 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3704
3705 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3706 value repeat handles unavailableness.
3707
3708 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3709
3710 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3711 tests for building arrays from unavailable values, subscripting
3712 non-memory rvalue unvailable arrays, and accessing fields or
3713 baseclasses of non-lazy unavailable values,
3714 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3715 struct types.
3716 (g_smallstruct, g_smallstruct_b): New globals.
3717
3718 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3719
3720 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3721
3722 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3723
3724 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3725 * gdb.cp/overload-const.exp: New file.
3726 * gdb.cp/overload-const.cc: New file.
3727
3728 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3729
3730 * gdb.opencl/callfuncs.cl: New file.
3731 * gdb.opencl/callfuncs.exp: New test.
3732 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3733
3734 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3735
3736 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3737 when computing result.
3738 * gdb.arch/altivec-abi.exp: Update expected results.
3739
3740 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3741
3742 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3743 * gdb.base/jit.exp: Likewise.
3744 * gdb.base/pie-execl.exp: Likewise.
3745 * gdb.base/solib-nodir.exp: Likewise.
3746 * gdb.base/solib-overlap.exp: Likewise.
3747
3748 2011-02-07 Pedro Alves <pedro@codesourcery.com>
3749
3750 * gdb.trace/collection.c (global_pieces): New.
3751 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3752 New procedure.
3753 (gdb_trace_collection_test): Call it.
3754
3755 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3756
3757 * gdb.python/py-evthreads.c: New file.
3758 * gdb.python/py-evthreads.exp: New file.
3759 * gdb.python/py-events.py: New file.
3760 * gdb.python/py-events.exp: New file.
3761 * gdb.python/py-events.c: New file.
3762
3763 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3764
3765 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3766
3767 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
3768
3769 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3770 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3771 boundary between two compilation units.
3772
3773 2011-02-02 Pedro Alves <pedro@codesourcery.com>
3774
3775 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3776 (Virtual): New structs.
3777 (virtual_o, virtual_middle_b): New globals.
3778 * gdb.cp/virtbase.exp: New tests.
3779
3780 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3781
3782 * gdb.base/jit.exp: New file.
3783 * gdb.base/jit-main.c: New file.
3784 * gdb.base/jit-solib.c: New file.
3785
3786 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3787
3788 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3789 proceed to initial kernel entry point.
3790 * gdb.opencl/datatypes.exp: Likewise.
3791 * gdb.opencl/operators.exp: Likewise.
3792 * gdb.opencl/vec_comps.exp: Likewise.
3793
3794 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3795
3796 * gdb.cp/nsnested.cc: New.
3797 * gdb.cp/nsnested.exp: New.
3798 * gdb.cp/nsnoimports.exp: New.
3799 * gdb.cp/nsnoimports.cc: New.
3800
3801 2011-01-31 Joel Brobecker <brobecker@adacore.com>
3802
3803 * gdb.base/interact.exp: Add extra tests that verify that
3804 the value of the interactive-mode setting does not change
3805 after the script is sourced.
3806
3807 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 * gdb.cp/noparam.exp: New file.
3810 * gdb.cp/noparam.cc: New file.
3811
3812 2011-01-28 Pedro Alves <pedro@codesourcery.com>
3813
3814 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3815 there's no stack or registers.
3816
3817 2011-01-26 Tom Tromey <tromey@redhat.com>
3818
3819 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3820 space before string output. Add test for "set print pretty off"
3821 case.
3822
3823 2011-01-25 Pedro Alves <pedro@codesourcery.com>
3824
3825 * gdb.base/frame-args.exp: Adjust.
3826 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3827 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3828 * gdb.dwarf2/pieces.exp: Adjust.
3829 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3830 * gdb.opt/inline-locals.exp: Adjust.
3831 * gdb.threads/fork-child-threads.exp: Adjust.
3832
3833 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
3834
3835 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3836 OpenCL kernel function. Add a comment as marker. Add address space
3837 qualifiers for the remaining program scope variables.
3838 * gdb.opencl/datatypes.cl: Likewise.
3839 * gdb.opencl/operators.cl: Likewise.
3840 * gdb.opencl/vec_comps.cl: Likewise.
3841 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3842 Add breakpoint at the marker comment.
3843 * gdb.opencl/datatypes.exp: Likewise.
3844 * gdb.opencl/operators.exp: Likewise.
3845 * gdb.opencl/vec_comps.exp: Likewise.
3846
3847 2011-01-24 Pedro Alves <pedro@codesourcery.com>
3848
3849 * gdb.base/printcmds.c (some_struct): New struct and instance.
3850 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3851 procedure.
3852 <global scope>: Call it.
3853
3854 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
3855
3856 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3857 argument to the gdb_compile_opencl_hostapp call.
3858
3859 2011-01-19 Yao Qi <yao@codesourcery.com>
3860
3861 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3862 positve list.
3863
3864 2011-01-19 Yao Qi <yao@codesourcery.com>
3865
3866 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3867 canonical form.
3868 Remove "xscale-*-*"
3869 * gdb.xml/tdesc-regs.exp: Likewise.
3870 * gdb.python/py-section-script.exp: Replace ARM target triplet
3871 with canonical form.
3872 Match arm*-*-symbianelf*.
3873 * gdb.base/dup-sect.exp: Likewise.
3874 * lib/dwarf.exp: New.
3875 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3876 dwarf2_support.
3877 * gdb.dwarf2/dup-psym.exp: Likewise.
3878 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3879 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3880 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3881 * gdb.dwarf2/dw2-basic.exp: Likewise.
3882 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3883 * gdb.dwarf2/dw2-const.exp: Likewise.
3884 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3885 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3886 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3887 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3888 * gdb.dwarf2/dw2-filename.exp: Likewise.
3889 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3890 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3891 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3892 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3893 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3894 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3895 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3896 * gdb.dwarf2/dw2-producer.exp: Likewise.
3897 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3898 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3899 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3900 * gdb.dwarf2/dw2-strp.exp: Likewise.
3901 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3902 * gdb.dwarf2/implptr.exp: Likewise.
3903 * gdb.dwarf2/mac-fileno.exp: Likewise.
3904 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3905 * gdb.dwarf2/pieces.exp: Likewise.
3906 * gdb.dwarf2/pr11465.exp: Likewise.
3907 * gdb.dwarf2/valop.exp: Likewise.
3908 * gdb.dwarf2/watch-notconst.exp: Likewise.
3909 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3910
3911 2011-01-19 Tom Tromey <tromey@redhat.com>
3912
3913 * gdb.python/py-infthread.exp: Add thread tests.
3914
3915 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3916
3917 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3918
3919 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3920
3921 * gdb.ada/widewide: New testcase.
3922
3923 2011-01-13 Joel Brobecker <brobecker@adacore.com>
3924
3925 * gdb.base/interact.exp: New testcase.
3926
3927 2011-01-12 Tom Tromey <tromey@redhat.com>
3928
3929 * gdb.mi/gdb2549.exp: Update for error message changes.
3930 * gdb.mi/mi-cli.exp: Likewise.
3931 * gdb.mi/mi-disassemble.exp: Likewise.
3932 * gdb.mi/mi-pthreads.exp: Likewise.
3933 * gdb.mi/mi-regs.exp: Likewise.
3934 * gdb.mi/mi-stack.exp: Likewise.
3935 * gdb.mi/mi-var-block.exp: Likewise.
3936 * gdb.mi/mi-var-cmd.exp: Likewise.
3937 * gdb.mi/mi2-cli.exp: Likewise.
3938 * gdb.mi/mi2-disassemble.exp: Likewise.
3939 * gdb.mi/mi2-pthreads.exp: Likewise.
3940 * gdb.mi/mi2-regs.exp: Likewise.
3941 * gdb.mi/mi2-stack.exp: Likewise.
3942 * gdb.mi/mi2-var-block.exp: Likewise.
3943 * gdb.mi/mi2-var-cmd.exp: Likewise.
3944
3945 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3946 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 PR fortran/11104 and DWARF unbound arrays detection.
3949 * gdb.fortran/multi-dim.exp: New file.
3950 * gdb.fortran/multi-dim.f90: New file.
3951
3952 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3953
3954 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3955 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3956 add new tests for opcode dumping.
3957
3958 2011-01-11 Tom Tromey <tromey@redhat.com>
3959
3960 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3961
3962 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3963
3964 Convert hardware watchpoints to use breakpoint_ops.
3965 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3966 type is not supported.
3967 * gdb.base/foll-fork.exp: Likewise.
3968 * gdb.base/foll-vfork.exp: Likewise.
3969
3970 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3971
3972 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3973 Use load_lib gdb-python.exp.
3974 * gdb.python/python.exp: Ditto.
3975 * gdb.python/py-function.exp: Ditto.
3976
3977 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3978
3979 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3980
3981 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3982
3983 * configure: Regenerate.
3984
3985 2011-01-06 Tom Tromey <tromey@redhat.com>
3986
3987 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3988
3989 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3990
3991 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3992 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3993 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3994 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3995 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3996 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3997 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3998 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3999 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4000 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4001 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4002 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4003 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4004 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4005 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4006 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4007 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4008 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4009 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4010 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4011 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4012 gdb.ada/uninitialized_vars.exp,
4013 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4014 Simplify by using clean_restart.
4015
4016 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4017
4018 Add marker to be used as anchor for inserting breakpoints.
4019 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4020 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4021 Likewise.
4022
4023 Remove uses of gdb_start_cmd.
4024 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4025 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4026
4027 Do not run testcase if testing with GDBserver.
4028 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4029 if testing with GDBserver.
4030
4031 2011-01-06 Joel Brobecker <brobecker@adacore.com>
4032
4033 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4034 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4035 copyright header.
4036
4037 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4038
4039 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4040 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4041 testsuite/gdb.fortran/complex.f,
4042 testsuite/gdb.fortran/derived-type.f90,
4043 testsuite/gdb.fortran/library-module-lib.f90,
4044 testsuite/gdb.fortran/library-module-main.f90,
4045 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4046 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4047 Copyright year update.
4048
4049 2011-01-05 Joel Brobecker <brobecker@adacore.com>
4050
4051 * gdb.base/langs1.f: Add copyright header.
4052
4053 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4054
4055 * gdb.base/morestack.exp: New file.
4056 * gdb.base/morestack.c: New file.
4057
4058 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4059
4060 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4061
4062 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4063
4064 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4065 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4066
4067 2010-12-29 Joel Brobecker <brobecker@adacore.com>
4068
4069 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4070
4071 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4072
4073 * gdb.threads/tls.exp: Fix typo.
4074
4075 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4076 * gdb.threads/execl.exp: Update.
4077
4078 2010-12-23 Yao Qi <yao@codesourcery.com>
4079
4080 * gdb.arch/arm-disp-step.exp: New.
4081 * gdb.arch/arm-disp-step.S: New.
4082
4083 2010-12-21 Tom Tromey <tromey@redhat.com>
4084
4085 * gdb.threads/execl.exp: Update.
4086 * gdb.threads/linux-dp.exp: Update.
4087 * gdb.threads/manythreads.exp: Update.
4088 * gdb.threads/tls.exp: Update.
4089
4090 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4091
4092 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4093 (NextOverThrowDerivates) <resumebpt>: New.
4094 (resumebpt_test): New.
4095 (main): Call resumebpt_test.
4096 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4097
4098 2010-12-12 Stan Shebs <stan@codesourcery.com>
4099
4100 * gdb.trace/tsv.exp: Test print command on trace state variables.
4101
4102 2010-12-09 Tom Tromey <tromey@redhat.com>
4103
4104 * gdb.base/interp.exp: Add regression test.
4105
4106 2010-12-09 Tom Tromey <tromey@redhat.com>
4107
4108 * gdb.java/jnpe.java: New file.
4109 * gdb.java/jnpe.exp: New file.
4110 * gdb.cp/nextoverthrow.exp: New file.
4111 * gdb.cp/nextoverthrow.cc: New file.
4112
4113 2010-12-07 Doug Evans <dje@google.com>
4114
4115 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4116 of data-directory.
4117 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4118 updated.
4119 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4120
4121 2010-11-29 Michael Snyder <msnyder@vmware.com>
4122
4123 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4124 * gdb.base/call-sc.exp: Ditto.
4125 * gdb.base/finish.exp: Ditto.
4126 * gdb.base/return.exp: Ditto.
4127 * gdb.base/return2.exp: Ditto.
4128
4129 2010-11-30 Doug Evans <dje@google.com>
4130
4131 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4132 (gdb_expect_list): Fix spelling errors in comments.
4133 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4134 send_gdb/gdb_expect_list where applicable.
4135 * gdb.base/call-ar-st.exp: Ditto.
4136 * gdb.base/funcargs.exp: Ditto.
4137 * gdb.base/gcore.exp: Ditto.
4138 * gdb.base/page.exp: Ditto.
4139 * gdb.base/sigaltstack.exp: Ditto.
4140 * gdb.base/siginfo.exp: Ditto.
4141 * gdb.base/sigstep.exp: Ditto.
4142 * gdb.base/trace-commands.exp: Ditto.
4143
4144 2010-11-29 Doug Evans <dje@google.com>
4145
4146 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4147 printer-name;subprinter-name.
4148
4149 2010-11-29 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.dwarf2/implptr.exp: New file.
4152 * gdb.dwarf2/implptr.c: New file.
4153 * gdb.dwarf2/implptr.S: New file.
4154
4155 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4156
4157 PR python/12199
4158
4159 * gdb.python/py-breakpoint.exp: Test the delete method.
4160
4161 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 Fix step_resume_breakpoint unsaved during an infcall.
4164 * gdb.base/step-resume-infcall.exp: New file.
4165 * gdb.base/step-resume-infcall.c: New file.
4166
4167 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4168
4169 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4170
4171 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4172
4173 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4174 on ppc64's symbols; "finish" and "return" commands must accept to
4175 show the caller line again as well as the line after.
4176 * gdb.asm/powerpc64.inc: New file.
4177
4178 2010-11-23 Doug Evans <dje@google.com>
4179
4180 * lib/gdb.exp (gdb_test_sequence): New function.
4181 (gdb_expect_list): Add verbose -log call for each pattern.
4182 * gdb.base/signals.exp (test_handle_all_print): Call it.
4183 Reduce timeout increment from 6 minutes to 1 minute.
4184 * gdb.server/ext-run.exp: Call it.
4185
4186 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4187
4188 PR python/12212
4189
4190 * gdb.python/python.exp: Check that selected_thread raises an
4191 error when no inferior is loaded.
4192
4193 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4194
4195 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4196 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4197
4198 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4199
4200 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4201 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4202
4203 2010-11-18 Doug Evans <dje@google.com>
4204
4205 * gdb.server/ext-run.exp: Fix intermittent failures.
4206
4207 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4208
4209 * gdb.stabs/gdb11479.exp: Use runto_main.
4210
4211 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4212
4213 * gdb.base/break-entry.exp: Skip if using a stub.
4214
4215 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4216
4217 * gdb.python/py-inferior.exp: Pack values in target endianness.
4218
4219 2010-11-12 Tom Tromey <tromey@redhat.com>
4220
4221 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4222 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4223 MemoryError.
4224 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4225 type.
4226 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4227 MemoryError.
4228 (test_subscript_regression): Update exception type.
4229
4230 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4231
4232 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4233 breakpoint tests.
4234
4235 2010-11-09 Pedro Alves <pedro@codesourcery.com>
4236
4237 * gdb.base/watchpoint.exp: Test "watch -location" with an
4238 innacessible location.
4239
4240 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
4241 Luis Machado <luisgpm@br.ibm.com>
4242
4243 * gdb.base/maint.exp: Expect "." prefix.
4244 * gdb.base/nodebug.exp: Expect "." Likewise.
4245 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4246 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4247 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4248 POWER server processors.
4249
4250 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
4251 Luis Machado <luisgpm@br.ibm.com>
4252
4253 * gdb.base/break-entry.exp: convert entry point for
4254 ppc64 and expect leading `.' on ppc64's symbols
4255
4256 2010-11-05 Doug Evans <dje@google.com>
4257
4258 * gdb.base/help.exp: Update expected output.
4259 * gdb.python/py-param.exp: Delete, contents moved to ...
4260 * gdb.python/py-parameter.exp: ... here. New file.
4261 Add test for gdb.parameter ("directories").
4262
4263 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
4264
4265 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4266 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4267 * configure: Regenerate.
4268 * gdb.opencl/Makefile.in: New File.
4269 * gdb.opencl/datatypes.exp: Likewise.
4270 * gdb.opencl/datatypes.cl: Likewise.
4271 * gdb.opencl/operators.exp: Likewise.
4272 * gdb.opencl/operators.cl: Likewise.
4273 * gdb.opencl/vec_comps.exp: Likewise.
4274 * gdb.opencl/vec_comps.cl: Likewise.
4275 * gdb.opencl/convs_casts.exp: Likewise.
4276 * gdb.opencl/convs_casts.cl: Likewise.
4277 * lib/opencl.exp: Likewise.
4278 * lib/opencl_hostapp.c: Likewise.
4279 * lib/opencl_kernel.cl: Likewise.
4280 * lib/cl_util.c: Likewise.
4281 * lib/cl_util.c: Likewise.
4282 * gdb.base/default.exp (set language): Add "opencl" to the list of
4283 languages.
4284
4285 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4286
4287 * gdb.cp/overload.exp: Added test for inheritance overload.
4288 * gdb.cp/overload.cc: Ditto.
4289 * gdb.cp/oranking.exp: Removed releveant kfails.
4290
4291 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4292 Joel Brobecker <brobecker@adacore.com>
4293
4294 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4295 check test_compiler_info.
4296
4297 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4298
4299 * gdb.base/gnu_vector.exp: Adjust expect messages.
4300
4301 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4302
4303 * gdb.base/gnu_vector.exp: Add unary operator tests.
4304
4305 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4306
4307 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4308
4309 2010-11-02 Doug Evans <dje@google.com>
4310
4311 * gdb.python/py-pp-maint.c: New file.
4312 * gdb.python/py-pp-maint.exp: New file.
4313 * gdb.python/py-pp-maint.py: New file.
4314
4315 2010-11-02 Tom Tromey <tromey@redhat.com>
4316
4317 * gdb.base/default.exp: Remove "scheme" from language list.
4318
4319 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4320
4321 Revert:
4322 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4323 * gdb.threads/sigstep-threads.exp: New file.
4324 * gdb.threads/sigstep-threads.c: New file.
4325
4326 2010-10-20 Michael Snyder <msnyder@vmware.com>
4327
4328 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4329
4330 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4331
4332 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4333 Skip test completely if gdb,no_hardware_watchpoints.
4334
4335 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4336
4337 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4338 strict, but do not check for any particular function name within libc.
4339
4340 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4341
4342 * gdb.cp/smartp.exp: New test.
4343 * gdb.cp/smartp.cc : New test.
4344
4345 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4346
4347 * gdb.cp/converts.exp: Test pointer to bool conversion.
4348 Test pointer to long conversion.
4349 * gdb.cp/oranking.exp: Removed relevant kfail.
4350
4351 2010-10-18 Tom Tromey <tromey@redhat.com>
4352
4353 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4354 argument to lazy_string.
4355 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4356 (pp_ls.to_string): Use it.
4357 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4358 Add "estring2" local.
4359
4360 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4361
4362 Fix s390x compatibility.
4363 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4364 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4365
4366 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4367
4368 * gdb.threads/sigstep-threads.exp: New file.
4369 * gdb.threads/sigstep-threads.c: New file.
4370
4371 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 * gdb.base/pie-execl.exp: New file.
4374 * gdb.base/pie-execl.c: New file.
4375
4376 2010-10-13 Doug Evans <dje@google.com>
4377 Jan Kratochvil <jan.kratochvil@redhat.com>
4378
4379 PR exp/12117
4380 * gdb.cp/ptype-cv-cp.cc: New file.
4381 * gdb.cp/ptype-cv-cp.exp: New file.
4382
4383 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4384
4385 * gdb.cp/converts.cc: New test program.
4386 * gdb.cp/converts.exp: New test.
4387 * gdb.cp/overload.exp: Added test for void* vs int*.
4388 * gdb.cp/overload.exp: Ditto.
4389 * gdb.cp/oranking.exp: Removed related kfail.
4390
4391 2010-10-13 Doug Evans <dje@google.com>
4392
4393 * lib/gdb-python.exp (gdb_check_python_config): New function.
4394 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4395 * gdb.python/lib-types.cc: New file.
4396 * gdb.python/lib-types.exp: New file.
4397
4398 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4399
4400 * gdb.python/py-error.exp: New file.
4401 * gdb.python/py-error.py: New file.
4402
4403 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4404
4405 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4406 gdb_test_multiple.
4407
4408 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4409
4410 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4411 * gdb.base/prelink.exp: Likewise.
4412 * gdb.base/solib-nodir.exp: Likewise.
4413 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4414 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4415 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4416
4417 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4418
4419 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4420 for the "info files" test to avoid timeouts on slow machines.
4421
4422 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4425 (main): Make openlib dummy call.
4426
4427 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4428
4429 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4430 * break-interp.exp (reach): Move the core body ...
4431 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4432 (test_ld): Provide always real argument, even to the linker. Replace
4433 dl_main by _dl_debug_state.
4434
4435 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4436
4437 Fix results of prelinked PIEs on ppc*.
4438 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4439 Accept also DISPLACEMENT "PRESENT".
4440 (main): Replace "ZERO" displacements by "PRESENT".
4441
4442 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4443
4444 * gdb.cp/oranking.exp: New test.
4445 * gdb.cp/oranking.cc: New test program.
4446
4447 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
4448
4449 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4450 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4451
4452 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4453
4454 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4455 lush, lynx) New constant.
4456 * gdb.base/constvars.exp: Test const array types.
4457 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4458
4459 2010-10-06 Doug Evans <dje@google.com>
4460
4461 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4462 of syscall staging area.
4463
4464 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4465
4466 * gdb.base/gnu_vector.c: Add variable c4.
4467 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4468 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4469
4470 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4471
4472 * gdb.arch/altivec-abi.exp: Fix a typo.
4473
4474 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4475
4476 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4477 to match a thread ID.
4478
4479 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4480
4481 Fix s390x testcase compatibility.
4482 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4483
4484 2010-10-01 Doug Evans <dje@google.com>
4485
4486 * lib/gdb-python.exp: New file.
4487 * gdb.python/py-block.exp: Use it.
4488 * gdb.python/py-breakpoint.exp: Ditto.
4489 * gdb.python/py-frame.exp: Ditto.
4490 * gdb.python/py-inferior.exp: Ditto.
4491 * gdb.python/py-param.exp: Ditto.
4492 * gdb.python/py-prettyprint.exp: Ditto.
4493 * gdb.python/py-shared.exp: Ditto.
4494 * gdb.python/py-symbol.exp: Ditto.
4495 * gdb.python/py-symtab.exp: Ditto.
4496 * gdb.python/py-type.exp: Ditto.
4497 * gdb.python/py-value.exp: Ditto.
4498 * gdb.python/python.exp: Ditto.
4499
4500 2010-09-30 Tom Tromey <tromey@redhat.com>
4501
4502 * gdb.base/anon.exp: New file.
4503 * gdb.base/anon.c: New file.
4504
4505 2010-09-30 Tom Tromey <tromey@redhat.com>
4506
4507 * gdb.base/completion.exp: Test completion through anonymous
4508 union.
4509 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4510
4511 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4512
4513 Fix printing parameters of inlined functions.
4514 * gdb.dwarf2/dw2-inline-param.exp: New file.
4515 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4516 * gdb.dwarf2/dw2-inline-param.S: New file.
4517
4518 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4519
4520 PR corefiles/12071.
4521 * gdb.base/corefile.exp (quit with a process, no question: load core)
4522 (quit with a core file): New tests.
4523
4524 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4525
4526 Fix GDB crash on inferior calls with self-referencing classes.
4527 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4528 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4529 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4530
4531 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4532
4533 Fix lost siginfo_t for inferior calls.
4534 * gdb.base/siginfo-infcall.exp: New file.
4535 * gdb.base/siginfo-infcall.c: New file.
4536
4537 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4538
4539 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4540
4541 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4542
4543 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4544 New test.
4545 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4546
4547 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4548
4549 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4550 type of our const type.
4551
4552 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4553
4554 * gdb.cp/pr12028.cc: New.
4555 * gdb.cp/pr12028.exp: New.
4556
4557 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4558
4559 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4560
4561 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
4562 Jan Kratochvil <jan.kratochvil@redhat.com>
4563
4564 PR mi/11407
4565 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4566 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4567 * gdb.mi/dw2-ref-missing-frame.S New File.
4568 * gdb.mi/dw2-ref-missing-frame.exp New File.
4569
4570 2010-09-14 Tom Tromey <tromey@redhat.com>
4571
4572 PR symtab/8399:
4573 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4574
4575 2010-09-14 Tom Tromey <tromey@redhat.com>
4576
4577 PR exp/11803:
4578 * gdb.threads/tls.exp: Use C++.
4579 (check_thread_local): Use K::another_thread_local.
4580 * gdb.threads/tls.c (class K): New.
4581 (another_thread_local): Now a member of K.
4582 (spin): Update. No longer K&R C.
4583
4584 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4585
4586 * gdb.cp/koenig.cc: created class for testing member lookup.
4587 * gdb.cp/koenig.exp: Added test for member lookup.
4588
4589 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4590
4591 Fix false FAILs on sourcetree topdir directory containing "kill".
4592 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4593 source line matching regexp.
4594
4595 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4596
4597 * gdb.python/python.exp (set height 0, collect help from uiout)
4598 (verify help to uiout): New tests.
4599
4600 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4601
4602 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4603 is_lp64_target to check 64bit target.
4604
4605 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4606
4607 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4608 (test_ld) <powerpc64-*>: New.
4609
4610 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4611
4612 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4613
4614 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4615
4616 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4617 (FunctionArg::method): New function.
4618 (empty, arg): New variables.
4619 (main): Call arg.method.
4620 * gdb.cp/templates.exp (test_template_args): New function.
4621 (do_tests): Call it.
4622
4623 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4624
4625 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4626 of "next" to proceed over pthread_exit call.
4627
4628 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4629
4630 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4631 "maint print statistics" output to prevent expect timeouts.
4632
4633 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4634
4635 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4636 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4637 (test_float_rejected): ... here.
4638 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4639 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4640 (test_float_rejected): ... here.
4641 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4642 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4643 (test_float_rejected): ... here.
4644 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4645 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4646 (test_float_rejected): ... here.
4647
4648 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4649
4650 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4651 before disabling hardware watchpoints.
4652 (test_inaccessible_watchpoint): Check that hardware watchpoints
4653 are used. Test for watchpoints on a constant address.
4654
4655 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4656
4657 * gdb.base/ui-redirect.exp: New file.
4658
4659 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4660 Joel Brobecker <brobecker@adacore.com>
4661
4662 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4663
4664 2010-08-31 Doug Evans <dje@google.com>
4665
4666 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4667
4668 2010-08-30 Tom Tromey <tromey@redhat.com>
4669
4670 PR python/11792:
4671 * gdb.python/py-value.exp (test_subscript_regression): Add
4672 dynamic_type test.
4673
4674 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4675
4676 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4677 instead of running to main. Do not test the main function.
4678 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4679 Add new main.
4680
4681 2010-08-26 Pedro Alves <pedro@codesourcery.com>
4682
4683 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4684 one test.
4685
4686 2010-08-24 Doug Evans <dje@google.com>
4687
4688 PR symtab/11942
4689 * gdb.dwarf2/dw4-sig-types.cc: New file.
4690 * gdb.dwarf2/dw4-sig-types.h: New file.
4691 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4692 * gdb.dwarf2/dw4-sig-types.exp: New file.
4693
4694 2010-08-23 Tom Tromey <tromey@redhat.com>
4695
4696 PR python/11145:
4697 * gdb.python/py-value.c (Base, Derived): New types.
4698 (base): New global.
4699 * gdb.python/py-value.exp (test_subscript_regression): Add
4700 dynamic_cast test.
4701
4702 2010-08-23 Tom Tromey <tromey@redhat.com>
4703
4704 PR python/10676:
4705 * gdb.python/py-type.exp (test_fields): Add tests for type
4706 equality.
4707
4708 2010-08-23 Tom Tromey <tromey@redhat.com>
4709
4710 PR python/11915:
4711 * gdb.python/py-type.exp (test_fields): Add tests for array.
4712
4713 2010-08-23 Keith Seitz <keiths@redhat.com>
4714
4715 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4716 have any children. Create a new abbrev for it.
4717 Add missing terminal sequence to .debug_abbrev.
4718
4719 2010-08-20 Keith Seitz <keiths@redhat.com>
4720
4721 PR symtab/11465:
4722 * gdb.dwarf2/pr11465.exp: New test.
4723 * gdb.dwarf2/pr11465.S: New file.
4724 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4725 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4726
4727 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4728
4729 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4730 registers. Update data sets with the new v2_double element in the
4731 VSX register union. Add vector_register3_vr data set for the AltiVec
4732 registers. Use gdb_test_no_output instead of send_gdb.
4733
4734 2010-08-19 Pedro Alves <pedro@codesourcery.com>
4735
4736 * gdb.python/py-shared.exp: New file, factored out from
4737 python.exp.
4738 * gdb.python/py-shared.c: New file.
4739 * gdb.python/py-shared-sl.c: New file.
4740 * gdb.python/python-1.c: New file.
4741 * gdb.python/python-sl.c: Delete.
4742 * gdb.python/python.c: Mention python-1.c.
4743 * gdb.python/python.exp: Move shared library tests to
4744 py-shared.exp.
4745 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4746 (MISCELLANEOUS): New.
4747 (clean mostlyclean): Also remove $MISCELLANEOUS.
4748
4749 2010-08-19 Doug Evans <dje@google.com>
4750
4751 PR exp/11926
4752 * gdb.base/printcmds.exp (test_float_accepted): New function.
4753 Move existing float tests there. Add tests for floats with suffixes.
4754 (test_float_rejected): New function.
4755 * gdb.java/jv-print.exp (test_float_accepted): New function.
4756 (test_float_rejected): New function.
4757 * gdb.objc/print.exp: New file.
4758 * gdb.pascal/print.exp: New file.
4759 * lib/objc.exp: New file.
4760
4761 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4762
4763 * gdb.base/default.exp (info set): Avoid full buffer error and force
4764 reading up to final gdb prompt.
4765 (show): Likewise.
4766
4767 2010-08-18 Tom Tromey <tromey@redhat.com>
4768
4769 PR symtab/11919:
4770 * gdb.base/completion.exp: Add test.
4771
4772 2010-08-18 Doug Evans <dje@google.com>
4773
4774 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4775 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4776 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4777 Simplify, early exit if runto_main fails.
4778 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4779 (set_lang_fortran): Moved to lib/fortran.exp.
4780 * gdb.fortran/types.exp: load_lib fortran.exp.
4781 (set_lang_fortran): Moved to lib/fortran.exp.
4782 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4783 * gdb.java/jprint.exp (set_lang_java): Ditto.
4784 * gdb.java/jv-exp.exp: load_lib java.exp.
4785 If set_lang_java fails, issue a warning instead of failure to be
4786 consistent with other set_lang_foo uses.
4787 (set_lang_java): Moved to lib/java.exp.
4788 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4789 If set_lang_java fails, issue a warning instead of failure to be
4790 consistent with other set_lang_foo uses.
4791 * gdb.pascal/types.exp: load_lib pascal.exp.
4792 (set_lang_pascal): Moved to lib/pascal.exp.
4793 * lib/fortran.exp: New file.
4794 * lib/java.exp (set_lang_java): New function.
4795 * lib/pascal.exp (set_lang_pascal): New function.
4796
4797 2010-08-18 Yao Qi <yao@codesourcery.com
4798
4799 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4800 func_nofb_start and func_loopfb_start, so that address of functions
4801 is equal to these labels on Thumb.
4802
4803 2010-08-18 Yao Qi <yao@codesourcery.com>
4804
4805 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4806 to reflect latest c source file.
4807
4808 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 * gdb.cp/infcall-dlopen.exp: New file.
4811 * gdb.cp/infcall-dlopen.cc: New file.
4812 * gdb.cp/infcall-dlopen-lib.cc: New file.
4813
4814 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4815 Pedro Alves <pedro@codesourcery.com>
4816
4817 PR breakpoints/11371
4818
4819 * gdb.base/watch-cond-infcall.exp: New file.
4820 * gdb.base/watch-cond-infcall.c: New file.
4821
4822 2010-08-16 Tom Tromey <tromey@redhat.com>
4823
4824 * gdb.base/help.exp: Update.
4825 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4826 watchpoint.
4827 (test_watch_location): New proc.
4828 (test_watchpoint_in_big_blob): Delete watchpoint.
4829 * gdb.base/watchpoint.c (func5): New function.
4830 (main): Call it.
4831
4832 2010-08-16 Doug Evans <dje@google.com>
4833
4834 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4835
4836 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4837
4838 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4839 tests.
4840
4841 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
4842
4843 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4844 * gdb.base/gnu_vector.c: New File.
4845 * gdb.base/gnu_vector.exp: Likewise.
4846
4847 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4848
4849 * gdb.python/python.c: New File.
4850 * gdb.python/python-sl.c: New File.
4851 * gdb.python/python.exp: Test solib_address and decode_line
4852 * functions.
4853
4854 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4855
4856 * gdb.python/python.exp (show height, set height 10)
4857 (verify pagination beforehand, verify pagination beforehand: q)
4858 (gdb.execute does not page, verify pagination afterwards)
4859 (verify pagination afterwards: q): New.
4860
4861 2010-08-02 Doug Evans <dje@google.com>
4862
4863 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4864 because of an older gcc, change test2
4865 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4866 to unsupported.
4867
4868 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
4869
4870 * gdb.base/break-always.exp: Do not expect full paths to file
4871 names.
4872 * gdb.base/commands.exp: Likewise.
4873
4874 2010-07-30 Doug Evans <dje@google.com>
4875
4876 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4877 xfail them when run with older gccs.
4878
4879 * lib/gdb.exp (build_executable): Forward "c++" option to
4880 get_compiler_info.
4881
4882 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4883 "python print ttype.template_argument(1)" and
4884 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4885 if using gcc 4.4 or earlier.
4886
4887 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4888 attach-to-debugger handling.
4889
4890 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4893 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4894 (main): Use copyreloc.
4895 * gdb.base/prelink.exp (split debug of executable)
4896 (.dynbss vs. .bss address shift): New tests.
4897
4898 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4899
4900 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4901 in gdb_test_multiple.
4902
4903 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4904
4905 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4906 environment.
4907
4908 2010-07-28 Tom Tromey <tromey@redhat.com>
4909
4910 PR python/11060:
4911 * gdb.python/py-type.c (Temargs): New template.
4912 (temvar): New variable.
4913 * gdb.python/py-type.exp (test_template): New proc.
4914
4915 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4916
4917 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4918 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4919
4920 2010-07-28 Tom Tromey <tromey@redhat.com>
4921
4922 PR c++/9946:
4923 * gdb.cp/temargs.exp: New file.
4924 * gdb.cp/temargs.cc: New file.
4925
4926 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4927
4928 * gdb.base/help.exp (help disassemble): Update the content.
4929
4930 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4931
4932 * gdb.threads/ia64-sigill.exp: New file.
4933 * gdb.threads/ia64-sigill.c: New file.
4934
4935 2010-07-27 Tom Tromey <tromey@redhat.com>
4936
4937 * gdb.opt/inline-cmds.c (ATTR): New define.
4938 (func1): Use it.
4939 (func2): Likewise.
4940 (func3): Likewise.
4941 (outer_inline1): Likewise.
4942 (outer_inline2): Likewise.
4943 * gdb.opt/inline-bt.c (ATTR): New define.
4944 (func1): Use it.
4945 (func2): Likewise.
4946 * gdb.opt/inline-locals.c (ATTR): New define.
4947 (func1): Use it.
4948 (func2): Likewise.
4949
4950 2010-07-27 Tom Tromey <tromey@redhat.com>
4951
4952 * gdb.stabs/gdb11479.c (hack): New function.
4953 (test): Use it.
4954 (test2): Use it.
4955 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4956 (int32_search_buf, int64_search_buf): No longer static.
4957 (x): Remove.
4958 * gdb.base/relocate.c (hack): New function.
4959
4960 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4961
4962 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4963 * gdb.python/py-value.c (func1): New function.
4964 (func2): Likewise.
4965
4966 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
4967
4968 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4969 as not to clash with .data section.
4970
4971 2010-07-26 Jerome Guitton <guitton@adacore.com>
4972
4973 * gdb.base/code_elim.exp: New file.
4974 * gdb.base/code_elim1.c: New file.
4975 * gdb.base/code_elim2.c: New file.
4976
4977 2010-07-21 Pedro Alves <pedro@codesourcery.com>
4978
4979 PR symtab/11827
4980
4981 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4982 (some_volatile_enum): New variable.
4983 * gdb.base/printcmds.exp (test_print_enums): New.
4984 <top level>: Call it.
4985
4986 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4987
4988 * gdb.cp/fpointer.cc: New test.
4989 * gdb.cp/fpointer.exp: New test.
4990
4991 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4992
4993 * gdb.base/solib-nodir.exp: New file.
4994 * lib/gdb.exp (runto): New case for a GDB internal error.
4995
4996 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4997 Ulrich Weigand <uweigand@de.ibm.com>
4998 Tom Tromey <tromey@redhat.com>
4999
5000 * gdb.base/charset-malloc.c: New file.
5001 * gdb.base/charset.c (malloc_stub): New prototype.
5002 (main): Call it instead of malloc itself.
5003 * gdb.base/charset.exp: Use only prepare_for_testing.
5004 (binfile): Remove the variable.
5005
5006 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5007
5008 Make core files the process_stratum.
5009 * gdb.base/corefile.exp (run: load core again)
5010 (run: sanity check we see the core file, run: with core)
5011 (run: core file is cleared, attach: load core again)
5012 (attach: sanity check we see the core file, attach: with core)
5013 (attach: core file is cleared): New tests.
5014 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5015
5016 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
5017
5018 * gdb.arch/altivec-abi.exp: New tests.
5019
5020 2010-07-13 Tom Tromey <tromey@redhat.com>
5021
5022 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5023 (main): Use it.
5024 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5025
5026 2010-07-13 Tom Tromey <tromey@redhat.com>
5027
5028 * gdb.base/label.exp: New file.
5029 * gdb.base/label.c: New file.
5030
5031 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5032 H.J. Lu <hongjiu.lu@intel.com>
5033
5034 * lib/gdb.exp (is_ilp32_target): New.
5035 (is_lp64_target): Likewise.
5036
5037 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5038 target.
5039 * gdb.arch/amd64-disp-step.exp: Likewise.
5040 * gdb.arch/amd64-dword.exp: Likewise.
5041 * gdb.arch/amd64-i386-address.exp: Likewise.
5042 * gdb.arch/amd64-word.exp: Likewise.
5043
5044 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5045 target.
5046 * gdb.arch/i386-bp_permanent.exp: Likewise.
5047 * gdb.arch/i386-byte.exp: Likewise.
5048 * gdb.arch/i386-disp-step.exp: Likewise.
5049 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5050 * gdb.arch/i386-prologue.exp: Likewise.
5051 * gdb.arch/i386-size-overlap.exp: Likewise.
5052 * gdb.arch/i386-size.exp: Likewise.
5053 * gdb.arch/i386-sse.exp: Likewise.
5054 * gdb.arch/i386-unwind.exp: Likewise.
5055 * gdb.arch/i386-word.exp: Likewise.
5056
5057 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5058 test only when building 64-bit executables. Do not hard-code
5059 -m64 option.
5060
5061 2010-07-07 Doug Evans <dje@google.com>
5062
5063 * lib/gdb.exp (gdb_test_list_exact): New function.
5064 * gdb.base/default.exp (show convenience): Call it, add tests for
5065 $_sdata = void, $_thread = 0.
5066
5067 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5068 Joel Brobecker <brobecker@adacore.com>
5069
5070 Fix re-run of PIE executable, PR shlibs/11776.
5071 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5072 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5073 and re-"run" of the inferior.
5074
5075 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5076 Joel Brobecker <brobecker@adacore.com>
5077
5078 Cope with missing /usr/sbin/prelink.
5079 * lib/prelink-support.exp (prelink_no):
5080 <result == 1 && $output is "no such file or directory">: New.
5081 (prelink_yes): Likewise. Return on failed prelink_no.
5082
5083 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5084 Joel Brobecker <brobecker@adacore.com>
5085
5086 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5087 build_executable by build_executable_own_libs. Replace "prelink -R"
5088 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5089 change.
5090 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5091 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5092 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5093 Replace build_executable by build_executable_own_libs's function
5094 build_executable_own_libs.
5095 (prelinkNO): Create new stub to call prelink_no.
5096 (prelinkYES): Create new stub to call prelink_yes.
5097 (test_attach): Rename calls of copy to file_copy.
5098 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5099 (copy): Move to ...
5100 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5101 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5102 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5103 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5104 special flags by gdb_compile_shlib. Replace second gdb_compile by
5105 build_executable_own_libs. Replace "prelink -R" execution by a call of
5106 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5107 a second call of prelink_yes. Replace restart commands by
5108 clean_restart.
5109 (prelink): Rename to ...
5110 (seen displacement message): ... this test. Extend its expectation
5111 strictness.
5112
5113 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5116 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5117 displacement message exactly once.
5118
5119 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5120 Joel Brobecker <brobecker@adacore.com>
5121
5122 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5123 its restore after the <$relink_args != ""> loop. new comment.
5124
5125 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5126 Joel Brobecker <brobecker@adacore.com>
5127
5128 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5129 code for it. New variable relink_args.
5130 (prelinkYES): Call prelinkNO.
5131 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5132 in such case. Move the core code to ...
5133 (test_attach_gdb): ... a new function. Send GDB command "file".
5134 Extend expected "Attaching to " string.
5135
5136 2010-07-02 Tom Tromey <tromey@redhat.com>
5137
5138 * gdb.base/bitops.exp: Remove extraneous "pass".
5139
5140 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
5141
5142 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5143
5144 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5145
5146 * gdb.base/help.exp: Adjust expected output.
5147
5148 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5149
5150 * gdb.base/help.exp: Adjust expected output.
5151
5152 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5155 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5156 c++/11702.
5157
5158 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5159 Doug Evans <dje@google.com>
5160
5161 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5162 add .dynamic entry'.
5163
5164 2010-06-29 Doug Evans <dje@google.com>
5165
5166 Test PR c++/11702.
5167 * gdb.cp/m-static.exp: Add testcase.
5168 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5169
5170 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
5171 Tom Tromey <tromey@redhat.com>
5172 Thiago Jung Bauermann <bauerman@br.ibm.com>
5173
5174 * gdb.python/py-inferior.c: New File.
5175 * gdb.python/py-infthread.c: New File.
5176 * gdb.python/py-inferior.exp: New File.
5177 * gdb.python/py-infthread.exp: New File.
5178
5179 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5180
5181 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5182 (ptype ::C::OtherFileClass typedefs): New.
5183 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5184 (C::OtherFileClass::cOtherFileClassVar2): New.
5185 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5186 cOtherFileClassVar2.
5187 (C::cOtherFileType2, C::cOtherFileVar2): New.
5188 (C::cOtherFileVar_use): use also cOtherFileVar2.
5189 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5190
5191 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5194 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5195 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5196 (print ::C::cOtherFileVar)
5197 (whatis C::OtherFileClass::cOtherFileClassType)
5198 (whatis ::C::OtherFileClass::cOtherFileClassType)
5199 (print C::OtherFileClass::cOtherFileClassVar)
5200 (print ::cOtherFileClassVar)
5201 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5202 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5203 trailing content.
5204 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5205 (C::OtherFileClass::cOtherFileClassVar)
5206 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5207 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5208
5209 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5210
5211 Test PR c++/11703 and PR gdb/1448.
5212 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5213 gdb/1448.
5214
5215 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5216
5217 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5218 (main) <rtti_data>: New.
5219 * gdb.cp/virtbase.exp (print rtti_data): New.
5220
5221 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5222 Joel Brobecker <brobecker@adacore.com>
5223
5224 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5225
5226 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5229
5230 2010-06-28 Doug Evans <dje@google.com>
5231
5232 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5233
5234 2010-06-27 Doug Evans <dje@google.com>
5235
5236 * gdb.cp/m-static.exp: Update expected test output.
5237
5238 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5239
5240 * gdb.gdb/selftest.exp: Adjust expected message for
5241 capturing start-up runtime.
5242
5243 2010-06-25 Tom Tromey <tromey@redhat.com>
5244
5245 PR python/10808:
5246 * gdb.python/python.exp: Add new tests.
5247
5248 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5249
5250 * gdb.cp/operator.cc: Created an import loop.
5251 * gdb.cp/operator.exp: Added testcase for import loop.
5252
5253 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 Test PR python/11407.
5256 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5257 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5258 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5259 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5260 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5261 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5262 binfile. Call gdb_compile with clean_restart twice.
5263 (func_nofb print, func_nofb backtrace, func_loopfb print)
5264 (func_loopfb backtrace): New.
5265
5266 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5267
5268 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5269 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5270 by a hand made one.
5271 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5272 i?86 requirement. Remove variables srcfile and binfile. New variable
5273 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5274
5275 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5276
5277 * gdb.cell/dwarfaddr.exp: New file.
5278 * gdb.cell/dwarfaddr.S: New file.
5279
5280 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5281
5282 Test PR 9436.
5283 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5284
5285 2010-06-24 Hui Zhu <teawater@gmail.com>
5286
5287 * gdb.base/eval.exp: New file.
5288
5289 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5290
5291 * gdb.cell/fork.exp: New file.
5292 * gdb.cell/fork.c: Likewise.
5293 * gdb.cell/fork-spu.c: Likewise.
5294
5295 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5296
5297 * lib/gdb.exp (banned_variables_traced): New global variable.
5298 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5299 (gdb_init): Use `trace add variable' instead of obsolete
5300 `trace variable'.
5301
5302 2010-06-21 Doug Evans <dje@google.com>
5303
5304 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5305
5306 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5307
5308 * gdb.arch/spu-ls.exp: New file.
5309 * gdb.arch/spu-ls.c: Likewise.
5310
5311 2010-06-18 Stan Shebs <stan@codesourcery.com>
5312
5313 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5314
5315 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5316
5317 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5318 * gdb.base/watch-cond.exp: Likewise.
5319 * gdb.python/py-breakpoint.exp: Likewise.
5320
5321 2010-06-18 Pedro Alves <pedro@codesourcery.com>
5322
5323 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5324 clean_restart, make sure every test has a distinct message, and
5325 that messages don't include the executable' full path.
5326
5327 2010-06-17 Doug Evans <dje@google.com>
5328
5329 * gdb.arch/i386-size.exp: Updated expected output for
5330 DISASSEMBLY_OMIT_FNAME.
5331
5332 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5333 Sergio Durigan Junior <sergiodj@redhat.com>
5334
5335 * gdb.base/watch-notconst.c: New file.
5336 * gdb.base/watch-notconst.S: New file.
5337 * gdb.base/watch-notconst2.c: New file.
5338 * gdb.base/watch-notconst2.S: New file.
5339 * gdb.base/watch-notconst.exp: New file.
5340 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5341 (func4): Add operations on `global_ptr_ptr'.
5342 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5343 routine to test watchpoints created with a constant expression.
5344 (test_inaccessible_watchpoint): Include tests for watchpoints
5345 created with a constant expression.
5346
5347 2010-06-14 Kevin Buettner <kevinb@redhat.com>
5348
5349 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5350 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5351 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5352 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5353 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5354 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5355 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5356 of `_start'.
5357
5358 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5359
5360 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5361 not supported on the target.
5362 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5363 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5364 * gdb.mi/mi-nsintrall.exp: Likewise.
5365 * gdb.mi/mi-nsmoribund.exp: Likewise.
5366 * gdb.mi/mi-nsthrexec.exp: Likewise.
5367
5368 2010-06-11 Stan Shebs <stan@codesourcery.com>
5369
5370 * gdb.base/permissions.exp: New file.
5371
5372 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5373
5374 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5375 does not support ELF executable class.
5376
5377 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5378
5379 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5380
5381 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5384 (runto): Catch "The target does not support running in non-stop mode.".
5385
5386 2010-06-11 Michael Snyder <msnyder@vmware.com>
5387
5388 * gdb.base/setshow.exp (set language asm): Don't use
5389 gdb_test_no_output, fails on some targets.
5390
5391 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5392
5393 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5394 * gdb.cp/pr9167.exp: Likewise.
5395
5396 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5397
5398 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5399
5400 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5401
5402 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5403
5404 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5405
5406 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5407
5408 2010-06-11 Tom Tromey <tromey@redhat.com>
5409
5410 PR gdb/9977, PR exp/11636::
5411 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5412 (pieces_test_f6): Update expected output.
5413
5414 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5415
5416 * gdb.base/moribund-step.exp: New.
5417
5418 2010-06-08 Michael Snyder <msnyder@vmware.com>
5419
5420 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
5421 * gdb.ada/boolean_expr.exp:
5422 * gdb.ada/frame_args.exp: Ditto.
5423 * gdb.ada/lang_switch.exp: Ditto.
5424 * gdb.ada/ptype_arith_binop.exp: Ditto.
5425 * gdb.ada/ref_param.exp: Ditto.
5426 * gdb.ada/type_coercion.exp:Ditto.
5427
5428 * gdb.asm/asm-source.exp: Ditto.
5429
5430 * gdb.base/attach.exp: Ditto.
5431 * gdb.base/bitfields2.exp: Ditto.
5432 * gdb.base/call-signal-resume.exp: Ditto.
5433 * gdb.base/callfuncs.exp: Ditto.
5434 * gdb.base/commands.exp: Ditto.
5435 * gdb.base/dbx.exp: Ditto.
5436 * gdb.base/default.exp: Ditto.
5437 * gdb.base/dump.exp: Ditto.
5438 * gdb.base/exprs.exp: Ditto.
5439 * gdb.base/freebpcmd.exp: Ditto.
5440 * gdb.base/interrupt.exp: Ditto.
5441 * gdb.base/list.exp: Ditto.
5442 * gdb.base/long_long.exp: Ditto.
5443 * gdb.base/maint.exp: Ditto.
5444 * gdb.base/ptype.exp: Ditto.
5445 * gdb.base/return.exp: Ditto.
5446 * gdb.base/setshow.exp: Ditto.
5447 * gdb.base/sigbpt.exp: Ditto.
5448 * gdb.base/sigrepeat.exp: Ditto.
5449
5450 * gdb.cp/classes.exp: Ditto.
5451
5452 * gdb.dwarf2/dw2-restore.exp: Ditto.
5453
5454 * gdb.gdb/selftest.exp: Ditto.
5455
5456 * gdb.multi/base.exp: Ditto.
5457 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5458
5459 * gdb.python/py-block.exp: Ditto.
5460 * gdb.python/py-prettyprint.exp: Ditto.
5461 * gdb.python/py-template.exp: Ditto.
5462
5463 * gdb.server/ext-attach.exp: Ditto.
5464 * gdb.server/ext-run.exp: Ditto.
5465 * gdb.server/server-mon.exp: Ditto.
5466
5467 * gdb.threads/fork-thread-pending.exp: Ditto.
5468 * gdb.threads/hand-call-in-threads.exp: Ditto.
5469 * gdb.threads/interrupted-hand-call.exp: Ditto.
5470 * gdb.threads/linux-dp.exp: Ditto.
5471 * gdb.threads/manythreads.exp: Ditto.
5472 * gdb.threads/print-threads.exp: Ditto.
5473 * gdb.threads/pthreads.exp: Ditto.
5474 * gdb.threads/schedlock.exp: Ditto.
5475 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5476 * gdb.threads/threadapply.exp: Ditto.
5477
5478 2010-06-08 Michael Snyder <msnyder@vmware.com>
5479
5480 * gdb.ada/exec_changed.exp:
5481 Use ".*" instead of "" as wildcard regexp.
5482
5483 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5484 * gdb.base/call-ar-st.exp: Ditto.
5485 * gdb.base/checkpoint.exp: Ditto.
5486 * gdb.base/default.exp: Ditto.
5487 * gdb.base/dump.exp: Ditto.
5488 * gdb.base/ending-run.exp: Ditto.
5489 * gdb.base/fileio.exp: Ditto.
5490 * gdb.base/miscexprs.exp: Ditto.
5491 * gdb.base/pointers.exp: Ditto.
5492 * gdb.base/readline.exp: Ditto.
5493 * gdb.base/reread.exp: Ditto.
5494 * gdb.base/restore.exp: Ditto.
5495 * gdb.base/shlib-call.exp: Ditto.
5496 * gdb.base/valgrind-db-attach.exp: Ditto.
5497 * gdb.base/volatile.exp: Ditto.
5498 * gdb.base/watchpoints.exp: Ditto.
5499
5500 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5501
5502 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5503 * gdb.python/py-value.exp: Ditto.
5504
5505 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5506 * gdb.trace/circ.exp: Ditto.
5507 * gdb.trace/collection.exp: Ditto.
5508 * gdb.trace/packetlen.exp: Ditto.
5509 * gdb.trace/passc-dyn.exp: Ditto.
5510 * gdb.trace/report.exp: Ditto.
5511 * gdb.trace/tfile.exp: Ditto.
5512 * gdb.trace/tfind.exp: Ditto.
5513 * gdb.trace/while-dyn.exp: Ditto.
5514
5515 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5516
5517 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5518
5519 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5520
5521 Test PR 10640.
5522 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5523
5524 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5525
5526 * gdb.cp/koenig.exp: Test for ADL operators.
5527 * gdb.cp/koenig.cc: Added ADL operators.
5528 * gdb.cp/operator.exp: New test.
5529 * gdb.cp/operator.cc: New test.
5530
5531 2010-06-04 Michael Snyder <msnyder@vmware.com>
5532
5533 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5534 * gdb.base/pending.exp: Ditto.
5535
5536 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5537
5538 2010-06-04 Doug Evans <dje@google.com>
5539
5540 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5541 disabled printers.
5542 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5543 (enable_lookup_function): New function.
5544
5545 2010-06-04 Tom Tromey <tromey@redhat.com>
5546
5547 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5548 of hash and id.
5549
5550 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5551
5552 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5553 newline.
5554 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5555 (empty verbose non-noisy clear, empty verbose noisy clear)
5556 (empty non-verbose noisy clear): Likewise.
5557
5558 2010-06-03 Michael Snyder <msnyder@vmware.com>
5559
5560 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5561 * gdb.base/display.exp: Ditto.
5562 * gdb.base/find.exp: Ditto.
5563 * gdb.base/ifelse.exp: Ditto.
5564 * gdb.base/multi-forks.exp: Ditto.
5565 * gdb.base/recurse.exp: Ditto.
5566 * gdb.base/setshow.exp: Ditto.
5567 * gdb.base/value-double-free.exp: Ditto.
5568 * gdb.base/watch-vfork.exp: Ditto.
5569 * gdb.base/watch_thread_num.exp: Ditto.
5570 * gdb.base/watchpoint-solib.exp: Ditto.
5571 * gdb.base/watchpoint.exp: Ditto.
5572 * gdb.base/watchpoints.exp: Ditto.
5573
5574 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5575 * gdb.cp/overload.exp: Ditto.
5576 * gdb.cp/virtfunc.exp: Ditto.
5577
5578 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5579
5580 * gdb.reverse/watch-precsave.exp:
5581 Replace gdb_test with gdb_test_no_output.
5582
5583 * gdb.threads/attach-into-signal.exp:
5584 Replace gdb_test with gdb_test_no_output.
5585 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5586 * gdb.threads/watchthreads.exp: Ditto.
5587 * gdb.threads/watchthreads2.exp: Ditto.
5588
5589 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5590 * gdb.trace/tfind.exp: Ditto.
5591
5592 2010-06-03 Joel Brobecker <brobecker@adacore.com>
5593
5594 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5595 successful test if message is the empty string.
5596
5597 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5598
5599 * gdb.fortran/module.exp (stopped language detection): New test.
5600
5601 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 Support DW_TAG_module as separate namespaces.
5604 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5605 gdb.fortran/library-module-lib.f90: New.
5606 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5607 (print i): Remove.
5608 (continue to breakpoint: i-is-1, print var_i value 1)
5609 (continue to breakpoint: i-is-2, print var_i value 2)
5610 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5611 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5612 (complete `modmany, complete `modmany`, complete `modmany`var)
5613 (show language, setting breakpoint at module): New tests.
5614 * gdb.fortran/module.f90 (module mod): Remove.
5615 (module mod1, module mod2, module modmany, subroutine sub1)
5616 (subroutine sub2, program module): New.
5617
5618 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5619
5620 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5621 (print value of rUC, print value of rI, print value of UI): ... here.
5622 * gdb.cp/anon-union.exp (pass): Rename to ...
5623 (print z 2): ... here.
5624
5625 2010-06-02 Michael Snyder <msnyder@vmware.com>
5626
5627 * gdb.trace/actions.exp: Use gdb_test_no_output.
5628 * gdb.trace/circ.exp: Ditto.
5629 * gdb.trace/packetlen.exp: Ditto.
5630 * gdb.trace/save-trace.exp: Ditto.
5631 * gdb.trace/tracecmd.exp: Ditto.
5632 * gdb.trace/tsv.exp: Ditto.
5633
5634 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5635 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5636 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5637 * gdb.threads/manythreads.exp: Ditto.
5638 * gdb.threads/print-threads.exp: Ditto.
5639 * gdb.threads/pthreads.exp: Ditto.
5640 * gdb.threads/schedlock.exp: Ditto.
5641 * gdb.threads/staticthreads.exp: Ditto.
5642 * gdb.threads/thread-specific.exp: Ditto.
5643 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5644 * gdb.threads/threadapply.exp: Ditto.
5645 * gdb.threads/watchthreads.exp: Ditto.
5646 * gdb.threads/watchthreads2.exp: Ditto.
5647
5648 * gdb.python/py-block.exp: Use gdb_test_no_output.
5649 * gdb.python/py-prettyprint.exp: Ditto.
5650 * gdb.python/py-template.exp: Ditto.
5651 * gdb.python/py-value.exp: Ditto.
5652
5653 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5654 * gdb.reverse/watch-reverse.exp: Ditto.
5655
5656 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5657 * gdb.server/ext-run.exp: Ditto.
5658
5659 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5660 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5661 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5662 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5663 * gdb.dwarf2/dw2-producer.exp: Ditto.
5664 * gdb.dwarf2/mac-fileno.exp: Ditto.
5665
5666 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5667 * gdb.gdb/selftest.exp: Ditto.
5668
5669 * gdb.multi/base.exp: Use gdb_test_no_output.
5670
5671 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5672
5673 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5674
5675 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5676
5677 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5678
5679 * gdb.cp/class2.exp: Use gdb_test_no_output.
5680 * gdb.cp/classes.exp: Ditto.
5681 * gdb.cp/extern-c.exp: Ditto.
5682 * gdb.cp/inherit.exp: Ditto.
5683 * gdb.cp/maint.exp: Ditto.
5684 * gdb.cp/mb-inline.exp: Ditto.
5685 * gdb.cp/mb-templates.exp: Ditto.
5686 * gdb.cp/method2.exp: Ditto.
5687 * gdb.cp/misc.exp: Ditto.
5688 * gdb.cp/ovldbreak.exp: Ditto.
5689 * gdb.cp/punctuator.exp: Ditto.
5690 * gdb.cp/templates.exp: Ditto.
5691 * gdb.cp/virtbase.exp: Ditto.
5692
5693 * gdb.threads/attach-stopped.exp:
5694 Replace uses of send_gdb / gdb_expect.
5695 * gdb.threads/attachstop-mt.exp:
5696 Replace uses of send_gdb / gdb_expect.
5697 * gdb.threads/gcore-thread.exp:
5698 Replace uses of send_gdb / gdb_expect.
5699 * gdb.threads/hand-call-in-threads.exp:
5700 Replace uses of send_gdb / gdb_expect.
5701 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5702 * gdb.threads/print-threads.exp:
5703 Replace uses of send_gdb / gdb_expect.
5704 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5705 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5706 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5707
5708 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5709 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5710 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5711 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5712 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5713 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5714 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5715 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5716 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5717 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5718 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5719
5720 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5723
5724 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5725
5726 * gdb.cp/koenig.exp: Added new test case.
5727 * gdb.cp/koenig.cc: Ditto.
5728
5729 2010-06-01 Michael Snyder <msnyder@vmware.com>
5730
5731 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5732 * gdb.base/arrayidx.exp: Ditto.
5733 * gdb.base/attach.exp: Ditto.
5734 * gdb.base/auxv.exp: Ditto.
5735 * gdb.base/bigcre.exp: Ditto.
5736 * gdb.base/break-always.exp: Ditto.
5737 * gdb.base/break-interp.exp: Ditto.
5738 * gdb.base/break.exp: Ditto.
5739 * gdb.base/breakpoint-shadow.exp: Ditto.
5740 * gdb.base/call-ar-st.exp: Ditto.
5741 * gdb.base/call-sc.exp: Ditto.
5742 * gdb.base/call-signal-resume.exp: Ditto.
5743 * gdb.base/callfuncs.exp: Ditto.
5744 * gdb.base/catch-syscall.exp: Ditto.
5745 * gdb.base/charset.exp: Ditto.
5746 * gdb.base/code-expr.exp: Ditto.
5747 * gdb.base/commands.exp: Ditto.
5748 * gdb.base/cond-expr.exp: Ditto.
5749 * gdb.base/condbreak.exp: Ditto.
5750 * gdb.base/cursal.exp: Ditto.
5751 * gdb.base/cvexpr.exp: Ditto.
5752 * gdb.base/default.exp: Ditto.
5753 * gdb.base/del.exp: Ditto.
5754 * gdb.base/detach.exp: Ditto.
5755 * gdb.base/display.exp: Ditto.
5756 * gdb.base/ena-dis-br.exp: Ditto.
5757 * gdb.base/eval-skip.exp: Ditto.
5758 * gdb.base/foll-fork.exp: Ditto.
5759 * gdb.base/foll-vfork.exp: Ditto.
5760 * gdb.base/frame-args.exp: Ditto.
5761 * gdb.base/funcargs.exp: Ditto.
5762 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5763 * gdb.base/gdbvars.exp: Ditto.
5764 * gdb.base/help.exp: Ditto.
5765 * gdb.base/ifelse.exp: Ditto.
5766 * gdb.base/included.exp: Ditto.
5767 * gdb.base/list.exp: Ditto.
5768 * gdb.base/macscp.exp: Ditto.
5769 * gdb.base/maint.exp: Ditto.
5770 * gdb.base/multi-fork.exp: Ditto.
5771 * gdb.base/overlays.exp: Ditto.
5772 * gdb.base/page.exp: Ditto.
5773 * gdb.base/pending.exp: Ditto.
5774 * gdb.base/pointers.exp: Ditto.
5775 * gdb.base/pr11022.exp: Ditto.
5776 * gdb.base/prelink.exp: Ditto.
5777 * gdb.base/printcmds.exp: Ditto.
5778 * gdb.base/psymtab.exp: Ditto.
5779 * gdb.base/randomize.exp: Ditto.
5780 * gdb.base/relational.exp: Ditto.
5781 * gdb.base/relocate.exp: Ditto.
5782 * gdb.base/remote.exp: Ditto.
5783 * gdb.base/sepdebug.exp: Ditto.
5784 * gdb.base/set-lang-auto.exp: Ditto.
5785 * gdb.base/setshow.exp: Ditto.
5786 * gdb.base/setvar.exp: Ditto.
5787 * gdb.base/signals.exp: Ditto.
5788 * gdb.base/signull.exp: Ditto.
5789 * gdb.base/sigstep.exp: Ditto.
5790 * gdb.base/sizeof.exp: Ditto.
5791 * gdb.base/solib-disc.exp: Ditto.
5792 * gdb.base/store.exp: Ditto.
5793 * gdb.base/structs.exp: Ditto.
5794 * gdb.base/structs2.exp: Ditto.
5795 * gdb.base/subst.exp: Ditto.
5796 * gdb.base/term.exp: Ditto.
5797 * gdb.base/trace-commands.exp: Ditto.
5798 * gdb.base/unwindonsignal.exp: Ditto.
5799 * gdb.base/valgrind-db-attach.exp: Ditto.
5800 * gdb.base/varargs.exp: Ditto.
5801 * gdb.base/watch-cond.exp: Ditto.
5802 * gdb.base/watch_thread_num.exp: Ditto.
5803 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5804 * gdb.base/watchpoint.exp: Ditto.
5805 * gdb.base/whatis-exp.exp: Ditto.
5806
5807 2010-06-01 Michael Snyder <msnyder@vmware.com>
5808
5809 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5810 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5811 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5812 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5813 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5814 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5815 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5816 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5817 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5818 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5819 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5820 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5821 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5822 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5823 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5824
5825 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5828 trailing newline.
5829 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5830 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5831 (p *args): ... here and remove excessive trailing newline.
5832
5833 2010-05-31 Joel Brobecker <brobecker@adacore.com>
5834
5835 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5836
5837 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5838
5839 Accept the new Linux kernel "t (tracing stop)" string.
5840 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5841 Update comment.
5842 (state_wait) <T (tracing stop)>: New.
5843 (main): Update the state_wait expect string.
5844
5845 2010-05-28 Pedro Alves <pedro@codesourcery.com>
5846
5847 * limits.c, limits.exp: Delete files.
5848 * Makefile.in (clean mostlyclean): Adjust.
5849 * tracecmd.exp: Adjust.
5850
5851 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5852
5853 * gdb.base/tui-layout.exp: New.
5854
5855 2010-05-28 Michael Snyder <msnyder@vmware.com>
5856
5857 * gdb.reverse/break-precsave.exp:
5858 Replace uses of send_gdb / gdb_expect.
5859 * gdb.reverse/break-reverse.exp:
5860 Replace uses of send_gdb / gdb_expect.
5861 * gdb.reverse/consecutive-precsave.exp:
5862 Replace uses of send_gdb / gdb_expect.
5863 * gdb.reverse/consecutive-reverse.exp:
5864 Replace uses of send_gdb / gdb_expect.
5865 * gdb.reverse/finish-precsave.exp:
5866 Replace uses of send_gdb / gdb_expect.
5867 * gdb.reverse/finish-reverse.exp:
5868 Replace uses of send_gdb / gdb_expect.
5869 * gdb.reverse/i386-precsave.exp:
5870 Replace uses of send_gdb / gdb_expect.
5871 * gdb.reverse/i386-reverse.exp:
5872 Replace uses of send_gdb / gdb_expect.
5873 * gdb.reverse/i386-sse-reverse.exp:
5874 Replace uses of send_gdb / gdb_expect.
5875 * gdb.reverse/i387-env-reverse.exp:
5876 Replace uses of send_gdb / gdb_expect.
5877 * gdb.reverse/i387-stack-reverse.exp:
5878 Replace uses of send_gdb / gdb_expect.
5879 * gdb.reverse/machinestate-precsave.exp:
5880 Replace uses of send_gdb / gdb_expect.
5881 * gdb.reverse/machinestate.exp:
5882 Replace uses of send_gdb / gdb_expect.
5883 * gdb.reverse/sigall-precsave.exp:
5884 Replace uses of send_gdb / gdb_expect.
5885 * gdb.reverse/sigall-reverse.exp:
5886 Replace uses of send_gdb / gdb_expect.
5887 * gdb.reverse/solib-precsave.exp:
5888 Replace uses of send_gdb / gdb_expect.
5889 * gdb.reverse/solib-reverse.exp:
5890 Replace uses of send_gdb / gdb_expect.
5891 * gdb.reverse/step-precsave.exp:
5892 Replace uses of send_gdb / gdb_expect.
5893 * gdb.reverse/step-reverse.exp:
5894 Replace uses of send_gdb / gdb_expect.
5895 * gdb.reverse/until-precsave.exp:
5896 Replace uses of send_gdb / gdb_expect.
5897 * gdb.reverse/until-reverse.exp:
5898 Replace uses of send_gdb / gdb_expect.
5899 * gdb.reverse/watch-precsave.exp:
5900 Replace uses of send_gdb / gdb_expect.
5901 * gdb.reverse/watch-reverse.exp:
5902 Replace uses of send_gdb / gdb_expect.
5903
5904 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5905
5906 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5907 excessive newline.
5908
5909 2010-05-27 Michael Snyder <msnyder@vmware.com>
5910
5911 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5912 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5913 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5914 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5915 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5916 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5917 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5918 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5919 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5920 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5921 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5922 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5923 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5924 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5925 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5926 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5927 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5928 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5929 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5930
5931 2010-05-26 Michael Snyder <msnyder@vmware.com>
5932
5933 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5934 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5935
5936 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5937 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5938 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5939
5940 * gdb.reverse/consecutive-reverse.exp:
5941 Replace uses of send_gdb / gdb_expect.
5942 * gdb.reverse/consecutive-precsave.exp:
5943 Replace uses of send_gdb / gdb_expect.
5944
5945 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5946 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5947 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5948 * gdb.mi/mi-ns-stale-regcache.exp:
5949 Replace uses of send_gdb / gdb_expect.
5950 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5951 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5952 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5953 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5954 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5955 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5956 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5957 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5958 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5959
5960 2010-05-26 Michael Snyder <msnyder@vmware.com>
5961
5962 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5963
5964 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5965
5966 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5967 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5968 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5969 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5970 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5971 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5972 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5973 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5974 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5975
5976 2010-05-25 Tom Tromey <tromey@redhat.com>
5977
5978 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5979
5980 2010-05-25 Tom Tromey <tromey@redhat.com>
5981
5982 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5983 argument order.
5984 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5985 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5986 order.
5987 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5988 order.
5989 * gdb.base/call-sc.exp (setup_kfails): Remove.
5990 (setup_compiler_kfails): Remove.
5991 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5992 argument order.
5993 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5994 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5995 (advancei): Fix setup_kfail argument order.
5996 * gdb.base/radix.exp: Fix setup_kfail argument order.
5997 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5998 order.
5999 * gdb.base/structs.exp (setup_kfails): Remove.
6000 (setup_compiler_kfails): Fix setup_kfail argument order.
6001 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6002 order.
6003 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6004 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6005 setup_kfail argument order.
6006 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6007
6008 2010-05-25 Tom Tromey <tromey@redhat.com>
6009
6010 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6011
6012 2010-05-25 Michael Snyder <msnyder@vmware.com>
6013
6014 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6015 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6016 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6017 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6018 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6019 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6020 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6021 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6022 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
6023 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6024 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6025 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6026 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6027 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6028 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6029 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6030 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6031 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6032 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6033 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6034 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6035 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6036 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
6037 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6038 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6039 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6040 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6041 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6042 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6043 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6044 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6045 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6046 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6047 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6048 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6049 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6050 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6051 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6052 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6053 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6054 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6055 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
6056 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6057 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6058 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6059 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6060 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6061 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
6062
6063 2010-05-25 Doug Evans <dje@google.com>
6064
6065 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6066 gdb.string_to_argv.
6067
6068 2010-05-21 Tom Tromey <tromey@redhat.com>
6069
6070 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6071 Call it.
6072 * gdb.dwarf2/pieces.S: Update.
6073 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6074
6075 2010-05-21 Tom Tromey <tromey@redhat.com>
6076
6077 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6078 Call it.
6079 * gdb.dwarf2/pieces.c (struct C): New.
6080 (f6): New function.
6081 * gdb.dwarf2/pieces.S: Replace.
6082
6083 2010-05-21 Tom Tromey <tromey@redhat.com>
6084
6085 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6086 Call it.
6087
6088 2010-05-21 Tom Tromey <tromey@redhat.com>
6089
6090 * gdb.dwarf2.pieces.exp: New file.
6091 * gdb.dwarf2.pieces.S: New file.
6092 * gdb.dwarf2.pieces.c: New file.
6093
6094 2010-05-20 Pedro Alves <pedro@codesourcery.com>
6095 Joel Brobecker <brobecker@adacore.com>
6096
6097 * lib/gdb.exp (gdb_test_no_output): New function.
6098 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6099 when testing commands that should produce no output.
6100
6101 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6102
6103 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6104 parameter that we want to watch being a constant.
6105
6106 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6107
6108 * gdb.ada/cond_lang: New testcase.
6109
6110 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6111
6112 * lib/gdb.exp (banned_variables): New variable/constant.
6113 (gdb_init): Add write trace on variables listed in banned_variables.
6114 (gdb_finish): Remove write traces on variables listed in
6115 banned_variables.
6116
6117 2010-05-17 Joel Brobecker <brobecker@adacore.com>
6118
6119 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6120 * gdb.cp/koenig.exp: Likewise.
6121
6122 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6123
6124 PR python/11482
6125
6126 * gdb.python/py-value.exp (test_value_hash): New function.
6127
6128 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6129
6130 PR exp/11530.
6131 * gdb.base/gdb11530.c: New file.
6132 * gdb.base/gdb11530.exp: New file.
6133
6134 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6135
6136 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6137 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6138
6139 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6140
6141 * gdb.cp/koenig.exp: New test.
6142 * gdb.cp/koenig.cc: New test program.
6143
6144 2010-05-05 Joel Brobecker <brobecker@adacore.com>
6145
6146 Remove the use of prms_id and bug_id throughout the testsuite.
6147
6148 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6149
6150 PR exp/11349.
6151 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6152 use a reference local variable.
6153
6154 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6155
6156 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6157 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6158 variable different_dir. Move debugfile into a full directory pathname
6159 under DIFFERENT_DIR.
6160 * lib/gdb.exp (separate_debug_filename): Remove.
6161 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6162 variable debug_dir and mkdir of it. Update function comments.
6163
6164 2010-04-29 Pedro Alves <pedro@codesourcery.com>
6165
6166 PR gdb/11557
6167
6168 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6169 files.
6170
6171 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6172
6173 * gdb.python/py-param.exp: New File.
6174
6175 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6176
6177 * gdb.base/default.exp: Fix "set language" test.
6178
6179 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6180
6181 PR breakpoints/11531.
6182 * gdb.base/gdb11531.c: New file.
6183 * gdb.base/gdb11531.exp: New file.
6184
6185 2010-04-26 Tom Tromey <tromey@redhat.com>
6186
6187 * gdb.base/completion.exp: Add tests for completion and deprecated
6188 commands.
6189
6190 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6191
6192 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6193 (print /x char_array): Escape curly brackets.
6194
6195 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6196
6197 Fix deadlock on looped list of loaded shared objects.
6198 * gdb.base/solib-corrupted.exp: New.
6199
6200 2010-04-23 Doug Evans <dje@google.com>
6201
6202 * gdb.python/py-section-script.c: New file.
6203 * gdb.python/py-section-script.exp: New file.
6204 * gdb.python/py-section-script.py: New file.
6205
6206 2010-04-20 Chris Moller <cmoller@redhat.com>
6207
6208 PR 10179
6209
6210 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6211 * gdb.base/pr10179-a.c:
6212 * gdb.base/pr10179-b.c:
6213 * gdb.base/pr10179.exp: New files.
6214
6215 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6216
6217 Fix crashes on dangling display expressions.
6218 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6219 is SEP.
6220 (lib_flags): Remove the "debug" keyword.
6221 (libsepdebug): New variable for iterating new loop.
6222 (save_pf_prefix): New variable wrapping the loop.
6223 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6224 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6225
6226 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6227
6228 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6229
6230 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6231
6232 PR stabs/11479.
6233 * gdb.stabs/gdb11479.exp: New file.
6234 * gdb.stabs/gdb11479.c: New file.
6235
6236 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6237
6238 * gdb.base/charset.c (Strin16, String32): New variables.
6239 * gdb.base/charset.exp (gdb_test): Test correct display
6240 of 16 or 32 bit strings.
6241
6242 2010-04-21 Chris Moller <cmoller@redhat.com>
6243
6244 PR 9167
6245 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6246 * gdb.cp/pr9167.cc: New file.
6247 * gdb.cp/pr9167.exp: New file.
6248
6249
6250 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6251
6252 PR pascal/11492.
6253 * gdb.pascal/gdb11492.pas: New file.
6254 * gdb.pascal/gdb11492.exp: New file.
6255
6256 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6257
6258 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
6259
6260 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6261
6262 * gdb.ada/dyn_loc: New testcase.
6263
6264 2010-04-20 Chris Moller <cmoller@redhat.com>
6265
6266 PR 10867
6267
6268 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6269 * gdb.cp/pr10687.cc: New file.
6270 * gdb.cp/pr10687.exp: New file.
6271
6272
6273 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6274 Sergio Durigan Junior <sergiodj@redhat.com>
6275
6276 * gdb.fortran/logical.exp: New testcase.
6277 * gdb.fortran/logical.f90: New file.
6278
6279 2010-04-19 Doug Evans <dje@google.com>
6280
6281 * gdb.base/help.exp (help source): Update expected output.
6282
6283 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6284
6285 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6286 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6287 gdb_exit and return.
6288 (executable): New variable.
6289 (binfile): Use it.
6290
6291 2010-04-19 Pedro Alves <pedro@codesourcery.com>
6292
6293 PR breakpoints/8554.
6294
6295 * gdb.trace/save-trace.exp: Adjust.
6296
6297 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6298
6299 PR corefiles/11511
6300 * gdb.arch/system-gcore.exp: New.
6301 * gdb.arch/gcore.c: Likewise.
6302
6303 2010-04-15 Doug Evans <dje@google.com>
6304
6305 * gdb.python/py-progspace.c: New file.
6306 * gdb.python/py-progspace.exp: New file.
6307
6308 * gdb.base/source.exp: Add tests for "source -s".
6309
6310 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6311
6312 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6313 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6314 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6315 * gdb.python/py-mi.exp: New test for to_string returning None.
6316
6317 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6318
6319 * gdb.python/py-breakpoint.c: Make result global.
6320
6321 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6322
6323 Fix non-GNU make compatibility.
6324 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6325
6326 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6327
6328 * gdb.python/py-breakpoint.exp: New File.
6329 * gdb.python/py-breakpoint.C: Ditto.
6330
6331 2010-04-08 Stan Shebs <stan@codesourcery.com>
6332
6333 * gdb.trace/actions.exp: Clear default-collect.
6334 * gdb.trace/save-trace.exp: Clear default-collect.
6335
6336 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6337
6338 * gdb.python/py-value: Add null string variable.
6339 (test_lazy_string): Test zero length, NULL address lazy
6340 strings.
6341
6342 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * gdb.arch/i386-avx.c: New.
6345 * gdb.arch/i386-avx.exp: Likewise.
6346
6347 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6348
6349 2010-04-06 Doug Evans <dje@google.com>
6350
6351 * gdb.base/source-test.gdb: New file.
6352 * gdb.base/source.exp: Test source -v.
6353
6354 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6355
6356 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6357
6358 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6359
6360 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6361 within one line, unless it is followed by a double quote.
6362 * gdb.stabs/hppa.sed: Idem.
6363 * gdb.stabs/weird.def: Add char and String constants
6364 * gdb.stabs/weird.exp: Check for correct parsing of
6365 char and string constants.
6366 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6367 in .stabs to .stabx substitution.
6368
6369 2010-04-05 Stan Shebs <stan@codesourcery.com>
6370
6371 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6372 constant global.
6373 * gdb.trace/tfile.exp: Try to print them.
6374
6375 2010-04-04 Stan Shebs <stan@codesourcery.com>
6376
6377 * gdb.base/completion.exp: Update for new "info watchpoints".
6378 * gdb.base/default.exp: Ditto.
6379 * gdb.base/help.exp: Ditto.
6380 * gdb.base/watchpoint.exp: Ditto.
6381 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
6382
6383 2010-04-04 Stan Shebs <stan@codesourcery.com>
6384
6385 * gdb.trace/tfile.exp: Sharpen tfind test.
6386
6387 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6388
6389 * gdb.base/break-entry.exp: New.
6390
6391 2010-04-02 Hui Zhu <teawater@gmail.com>
6392 Michael Snyder <msnyder@vmware.com>
6393
6394 * gdb.reverse/i386-sse-reverse.exp: New file.
6395 * gdb.reverse/i386-sse-reverse.c: New file.
6396
6397 2010-04-02 Pedro Alves <pedro@codesourcery.com>
6398
6399 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6400
6401 2010-04-01 Stan Shebs <stan@codesourcery.com>
6402
6403 * gdb.trace/actions.exp: Tweak expected output.
6404 * gdb.trace/while-stepping.exp: Tweak expected output.
6405
6406 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6409
6410 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6411
6412 * gdb.base/commands.exp: Adjust.
6413 * gdb.cp/extern-c.exp: Adjust.
6414
6415 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6416
6417 * gdb.trace/collection.c (local_test_func): Define a local struct,
6418 and instanciate it.
6419
6420 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6421
6422 * gdb.trace/collection.exp (gdb_collect_args_test)
6423 (gdb_collect_argarray_test): XFAIL the tests that assume the
6424 argarray argument's elements are collected.
6425
6426 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6427
6428 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6429 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6430
6431 2010-03-31 Stan Shebs <stan@codesourcery.com>
6432
6433 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6434 and tracepoint conditionals.
6435 (gdb_verify_tracepoints): Delete unused return.
6436
6437 2010-03-26 Keith Seitz <keiths@redhat.com>
6438
6439 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6440 appear in the output before main.
6441 Remove KFAIL for gdb/2215 aka bz 9320.
6442
6443 2010-03-30 Doug Evans <dje@google.com>
6444
6445 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6446 by dejagnu.
6447 * gdb.arch/amd64-dword.exp: Ditto.
6448
6449 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6450 match.
6451 (break printf): Ditto.
6452
6453 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6454
6455 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6456 gcc < 4.4.
6457 * gdb.cp/shadow.exp: Ditto.
6458
6459 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6460
6461 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6462 "tstart" is silent.
6463
6464 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6465
6466 * gdb.trace/collection.exp (executable): New.
6467 (binfile): Use it.
6468 (fpreg, spreg, pcreg): New.
6469 (test_register): Use gdb_test_multiple. Pass /x to print.
6470 (prepare_for_trace_test): New.
6471 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6472 (gdb_collect_args_test, gdb_collect_argstruct_test)
6473 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6474 prepare_for_trace_test.
6475 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6476 fpreg, spreg and pcreg.
6477 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6478 prepare_for_trace_test.
6479 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6480 try to detect tracing support here. Don't set breakpoints at
6481 `begin' or `end' here.
6482 <global scope>: Use clean_restart. Run to main before checking
6483 for tracing support. Check for for tracing support here.
6484
6485 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6486
6487 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6488 " as $displacement" to "seen displacement message".
6489
6490 2010-03-28 Pedro Alves <pedro@codesourcery.com>
6491
6492 * gdb.trace/while-dyn.exp (executable): New variable.
6493 (binfile): Use it.
6494 (test_while_stepping): New function. Move most tests here. Call
6495 it once for each of the while-stepping, stepping and ws aliases.
6496
6497 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6498
6499 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6500 that do not provide the tagless_struct type name at all.
6501 (test_print_anon_union): Do not check value of uninitialized
6502 union member. Do not use cp_test_ptype_class, so we can accept
6503 "long" as well as "long int".
6504
6505 2010-03-26 Pedro Alves <pedro@codesourcery.com>
6506
6507 * gdb.trace/tfile.c (tohex, bin2hex): New.
6508 (write_error_trace_file): Hexify error description.
6509
6510 2010-03-25 Stan Shebs <stan@codesourcery.com>
6511
6512 * gdb.trace/tfile.c: Generate an additional trace file, improve
6513 portability.
6514 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6515 files in a better way.
6516
6517 2010-03-25 Keith Seitz <keiths@redhat.com>
6518
6519 * gdb.java/jprint.exp: XFAIL printing of static class members
6520 because of GCC debuginfo problem.
6521
6522 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6523
6524 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6525
6526 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6527
6528 * gdb.base/completion.exp: Allow long instead of long int.
6529 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6530 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6531 variable p.
6532 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6533 * gdb.base/pointers.exp: Allow long instead of long int.
6534 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6535 * gdb.base/step-line.exp: Allow a directory before the source file name.
6536
6537 2010-03-24 Tom Tromey <tromey@redhat.com>
6538
6539 PR breakpoints/9352:
6540 * gdb.base/default.exp: Update.
6541 * gdb.base/commands.exp: Update.
6542 * gdb.cp/extern-c.exp: Test setting commands on multiple
6543 breakpoints at once.
6544
6545 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6546
6547 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6548 if gdb,nosignals.
6549 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6550 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6551 exited".
6552
6553 2010-03-24 Stan Shebs <stan@codesourcery.com>
6554
6555 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6556
6557 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6558
6559 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6560 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6561 argument. Handle "short" and "long".
6562 (Top level): Pass overprototyped output for old_fptr and xptr.
6563
6564 2010-03-23 Pedro Alves <pedro@codesourcery.com>
6565
6566 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6567 format strings and add casts to avoid compiler warnings.
6568
6569 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
6570
6571 * lib/trace-support.exp (gdb_trace_setactions):
6572 Don't expect whitespace after ">" prompt.
6573 * gdb.trace/actions.exp: Adjust for output changes.
6574 * gdb.trace/while-stepping.exp: Likewise.
6575
6576 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6577
6578 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6579 and r157645).
6580
6581 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6582
6583 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6584 New.
6585
6586 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6587
6588 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6589 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6590
6591 2010-03-19 Stan Shebs <stan@codesourcery.com>
6592
6593 * gdb.trace/ax.exp: New file.
6594
6595 2010-03-19 Doug Evans <dje@google.com>
6596
6597 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6598 output from gcc.
6599
6600 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6601 named /usr/sbin/prelink<foo>.
6602
6603 2010-03-18 Stan Shebs <stan@codesourcery.com>
6604
6605 * gdb.trace/circ.exp: Test circular-trace-buffer.
6606 * gdb.trace/tfile.exp: Update tstatus test.
6607
6608 2010-03-18 Joel Brobecker <brobecker@adacore.com>
6609
6610 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6611 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6612
6613 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6614
6615 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6616
6617 2010-03-18 Pedro Alves <pedro@codesourcery.com>
6618
6619 * gdb.base/default.exp: Adjust the expected output of the finish
6620 and until commands when the inferior is not being run.
6621
6622 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6623
6624 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6625 * gdb.cp/nsusing.exp: Ditto.
6626
6627 2010-03-15 Tom Tromey <tromey@redhat.com>
6628
6629 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6630 * gdb.cp/userdef.cc (operator==): New function.
6631 (main): New locals mem1, mem2.
6632
6633 2010-03-15 Jie Zhang <jie@codesourcery.com>
6634
6635 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6636 Declare and use new loadtimeout variable.
6637
6638 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6639
6640 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6641 Use gdb_load later.
6642
6643 2010-03-14 Pedro Alves <pedro@codesourcery.com>
6644
6645 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6646 literal. Add missing endlines to prints to stderr.
6647
6648 2010-03-12 Tom Tromey <tromey@redhat.com>
6649
6650 PR c++/9708:
6651 * gdb.cp/m-static.exp: Add regression test.
6652 * gdb.cp/m-static.cc (method): New method.
6653 (main): Call it.
6654
6655 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6656
6657 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6658 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6659
6660 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6661
6662 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6663
6664 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6665
6666 * lib/gdb.exp (skip_stl_tests): New.
6667 (gdb_compile): Symbian needs -ldl.
6668 (shlib_target_file): New.
6669 (shlib_symbol_file): New.
6670 (gdb_load_shlibs): Use shlib_target_file.
6671 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6672 * gdb.cp/exception.exp: Use skip_stl_tests.
6673 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6674 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6675 * gdb.cp/mb-templates.exp: Ditto.
6676 * gdb.base/commands.exp: Relax regexes.
6677 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6678 shlib_target_file and shlib_symbol_file.
6679 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6680 sections.
6681 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6682 * gdb.base/solib-disc.exp: Use
6683 shlib_target_file and shlib_symbol_file.
6684 * gdb.base/unload.exp: Don't skip on symbian. Use
6685 shlib_target_file and shlib_symbol_file.
6686 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6687
6688 2010-03-12 Pedro Alves <pedro@codesourcery.com>
6689
6690 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6691 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6692 Issue a tfind end before looking for a tracepoint frame.
6693 * gdb.trace/tfind.exp: Adjust tstatus output.
6694 Adjust disassembly output.
6695 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6696
6697 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6698
6699 * gdb.base/break-interp.exp: Create new displacement parameter value
6700 for the test_ld calls.
6701 (reach): New parameter displacement, verify its content. New push of
6702 pf_prefix "reach-$func:". Import global expect_out.
6703 (test_core): New parameter displacement, verify its content. New push
6704 of pf_prefix "core:". New command "set verbose on". Import global
6705 expect_out.
6706 (test_attach): New parameter displacement, verify its content. New
6707 push of pf_prefix "attach:". New command "set verbose on". Import
6708 global expect_out.
6709 (test_ld): New parameter displacement, pass it to the reach, test_core
6710 and test_attach calls and verify its content in the "ld.so exit" test.
6711 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6712 (prelink): Update expected text, use gdb_test.
6713
6714 2010-03-10 Doug Evans <dje@google.com>
6715
6716 * gdb.base/checkpoint.exp: Fix comment.
6717 Lengthen timeout while doing >600 checkpoints test.
6718 Rename duplicate "kill all one" test to keep test names unique.
6719
6720 2010-03-10 Pedro Alves <pedro@codesourcery.com>
6721
6722 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6723
6724 2010-03-08 Keith Seitz <keiths@redhat.com>
6725
6726 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6727 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6728 (dm_type_long): New function.
6729 (dm_type_unsigned_short): New function.
6730 (dm_type_unsigned_long): New function.
6731 (myint): New typedef.
6732 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6733 long, unsigned shor and long, operator char*, and typedef.
6734 (test_lookup_operator_functions): Add operator char* test.
6735 (test_paddr_operator_functions): Likewise.
6736 (test_paddr_overloaded_functions): Use probe values for
6737 short, long, and unsigned short and long.
6738 (test_paddr_hairy_functions): If the demangler probe detected
6739 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6740 demangler.
6741 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6742 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6743 and "print null_pmf".
6744 Add test "ptype a.*pmf".
6745 * gdb.cp/overload.exp: Allow optional "int" to appear with
6746 "short" and "long".
6747 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6748 long expect value for men_overload1arg.
6749 Allow "int" to appear with "short" and "long".
6750 When testing "info break", add argument for main (void).
6751 Also allow "int" to appear with "short" and "long".
6752 Ditto with "unsigned" and "long long".
6753 * gdb.java/jmain.exp: Do not enclose methods names in single
6754 quotes.
6755 * gdb.java/jmisc.exp: Likewise.
6756 * gdb.java/jprint.exp: Likewise.
6757 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6758
6759 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6760 * gdb.cp/exception.exp (backtrace after first throw)
6761 (backtrace after second throw): Allow a namespace before __cxa_throw.
6762 (backtrace after first catch, backtrace after second catch): Allow
6763 a namespace before __cxa_begin_catch.
6764
6765 * gdb.cp/cpexprs.exp: New file.
6766 * gdb.cp/cpexprs.cc: New file.
6767
6768 From Daniel Jacobowitz <dan@codesourcery.com>
6769 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6770 to use string_to_regexp.
6771 (ctor, dtor): New functions. Use them to match constructor
6772 and destructor function types.
6773 (Top level): Use runto_main.
6774
6775 2010-03-05 Tom Tromey <tromey@redhat.com>
6776
6777 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6778 gdb.target_charset.
6779 (pp_ns.to_string): Likewise.
6780
6781 2010-03-04 Keith Seitz <keiths@redhat.com>
6782
6783 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6784 can be quoted. Test that both the filename and function/line
6785 portions can be quoted at the same time.
6786
6787 2010-03-04 Pedro Alves <pedro@codesourcery.com>
6788
6789 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6790
6791 2010-03-03 Doug Evans <dje@google.com>
6792
6793 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6794 libc contains libpthread.
6795
6796 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6797 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6798 of gdb_compile. Add another pattern to match android backtrace.
6799
6800 2010-03-03 Tom Tromey <tromey@redhat.com>
6801
6802 PR gdb/11345:
6803 * gdb.base/printcmds.exp (test_printf): Add test.
6804
6805 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6806
6807 * gdb.arch/amd64-byte.exp: New.
6808 * gdb.arch/amd64-dword.exp: Likewise.
6809 * gdb.arch/amd64-pseudo.c: Likewise.
6810 * gdb.arch/amd64-word.exp: Likewise.
6811 * gdb.arch/i386-byte.exp: Likewise.
6812 * gdb.arch/i386-pseudo.c: Likewise.
6813 * gdb.arch/i386-word.exp: Likewise.
6814
6815 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6816
6817 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6818 types. Add structreg, bitfields, and flags registers.
6819 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6820 registers.
6821
6822 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6823
6824 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6825 (load_description): Set architecture if defined.
6826
6827 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6828
6829 * gdb.python/py-frame.exp: Add read_var block tests.
6830 * gdb.python/py-frame.c (block): New function.
6831
6832 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6833 Daniel Jacobowitz <dan@codesourcery.com>
6834
6835 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6836
6837 2010-02-25 David S. Miller <davem@davemloft.net>
6838
6839 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6840 fix logic for setting all_syscalls_numbers.
6841
6842 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6843
6844 * Makefile.in: Add py-block and py-symbol.
6845 * gdb.python/py-symbol.exp: New File.
6846 * gdb.python/py-symtab.exp: New File.
6847 * gdb.python/py-block.exp: New File.
6848 * gdb.python/py-symbol.c: New File.
6849 * gdb.python/py-block.c: New File.
6850
6851 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6852
6853 PR python/11314
6854 * lib/gdb.exp (skip_python_tests): New function.
6855 * gdb.python/py-cmd.exp: Use skip_python_tests.
6856 * gdb.python/py-frame.exp: Likewise.
6857 * gdb.python/py-function.exp: Likewise.
6858 * gdb.python/py-prettyprint.exp: Likewise.
6859 * gdb.python/py-template.exp: Likewise.
6860 * gdb.python/py-type.exp: Likewise.
6861 * gdb.python/py-value.exp: Likewise.
6862
6863 2010-02-22 Pedro Alves <pedro@codesourcery.com>
6864
6865 PR9605
6866
6867 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6868
6869 2010-02-19 Tom Tromey <tromey@redhat.com>
6870
6871 PR c++/8693, PR c++/9496:
6872 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6873 regression tests.
6874
6875 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 Fix compatibility with m68k as.
6878 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6879 Use only /* comments */.
6880
6881 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6882
6883 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6884 * configure: Regenerate.
6885
6886 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6887
6888 * gdb.python/py-type.exp: Check for Python support.
6889
6890 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6891
6892 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6893 `regsub' syntax available.
6894
6895 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6896
6897 * gdb.base/shmain.c (main): Remove printf call.
6898 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6899 * gdb.base/unload.c (main): Make format of fprintf a string
6900 literal. Add missing endlines to prints to stderr.
6901 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6902
6903 2010-02-17 Tom Tromey <tromey@redhat.com>
6904
6905 * gdb.java/jprint.java (jprint.props): New field.
6906 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6907
6908 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6909
6910 * gdb.base/charset.exp: Don't assume new `regsub' syntax
6911 available.
6912
6913 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6914
6915 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6916 creation to support remote host testing.
6917
6918 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6919
6920 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6921 Recognize "command not found".
6922
6923 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6924
6925 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6926 single-stepping.
6927
6928 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6929
6930 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6931 if arguments are not supported.
6932
6933 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6934
6935 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6936 be const or non-const.
6937
6938 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6939
6940 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6941 mi_send_resuming_command to send -exec-continue.
6942
6943 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6944
6945 * gdb.base/list.exp (test_list_filename_and_function): Add test
6946 with single quotes.
6947 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6948 matching.
6949 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6950 Add KFAIL'd tests for PR gdb/11289.
6951
6952 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6953
6954 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6955
6956 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6957
6958 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6959 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6960 a temporary directory.
6961
6962 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6963
6964 * gdb.base/charset.exp: Use a single regular expression to match
6965 show host-charset and show target-charset output.
6966
6967 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6968
6969 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6970 "Illegal process-id" expect string more exact.
6971 (attach to digits-starting nonsense is prohibited): New.
6972
6973 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6974
6975 * gdb.base/prelink.exp (set verbose on): New.
6976
6977 2010-02-12 Tomas Holmberg <th@virtutech.com>
6978
6979 * mi-reverse.exp: New file. Test for reverse option to the
6980 following MI commands: exec-continue, exec-finish, exec-next,
6981 exec-step, exec-next-instruction, exec-step-instruction.
6982
6983 2010-02-09 Joel Brobecker <brobecker@adacore.com>
6984
6985 * gdb.ada/ptype_tagged_param: New testcase.
6986
6987 2010-02-08 Tom Tromey <tromey@redhat.com>
6988
6989 PR c++/8017:
6990 * gdb.cp/overload.exp: Add tests.
6991 * gdb.cp/overload.cc (struct K): New.
6992 (namespace N): New.
6993 (main): Call new functions.
6994 (K::staticoverload): Define.
6995
6996 2010-02-08 Chris Moller <moller@mollerware.com>
6997
6998 PR gdb/10728
6999 * gdb.cp/pr10728-x.h: New file.
7000 * gdb.cp/pr10728-x.cc: New file.
7001 * gdb.cp/pr10728-y.cc: New file.
7002 * gdb.cp/pr10728.exp: New file.
7003 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7004
7005 2010-02-08 Chris Moller <moller@mollerware.com>
7006
7007 PR gdb/9067
7008 * gdb.cp/pr9067.exp: New
7009 * gdb.cp/pr9067.cc: New
7010 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7011
7012 2010-02-08 Joel Brobecker <brobecker@adacore.com>
7013
7014 * lib/gdb.exp (gdb_test_timeout): New global variable.
7015 Set it to timeout if not already set.
7016 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7017
7018 2010-02-05 Doug Evans <dje@google.com>
7019
7020 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7021 user.
7022
7023 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7024
7025 PR c++/7935:
7026 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7027
7028 2010-02-04 Tom Tromey <tromey@redhat.com>
7029
7030 * gdb.cp/virtbase.exp: Make test case names unique.
7031
7032 2010-02-02 Tom Tromey <tromey@redhat.com>
7033
7034 * gdb.cp/virtbase.exp: Add regression tests.
7035 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7036 (main): Instantiate RHC.
7037
7038 2010-02-02 Tom Tromey <tromey@redhat.com>
7039
7040 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7041 type-printing change.
7042
7043 2010-02-02 Tom Tromey <tromey@redhat.com>
7044
7045 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7046 * gdb.cp/virtbase.cc: New file.
7047 * gdb.cp/virtbase.exp: New file.
7048 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7049
7050 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 PR libc/11214:
7053 * gdb.threads/current-lwp-dead.c: Include features.h.
7054 (HAS_NOMMU): New.
7055 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7056
7057 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7058
7059 * gdb.base/symbol-without-target_section.exp,
7060 gdb.base/symbol-without-target_section.c: New.
7061
7062 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7063
7064 * gdb.base/bigcore.exp: Reset increased timeout.
7065 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7066
7067 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7068
7069 * gdb.base/gcore.exp (capture_command_output): Use
7070 gdb_test_multiple.
7071
7072 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7073
7074 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7075 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7076 (Top level): Call it.
7077
7078 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7079
7080 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7081
7082 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7083
7084 * gdb.base/call-strs.exp, gdb.base/default.exp,
7085 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7086 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7087 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7088 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7089 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7090 * gdb.base/ending-run.exp: Correct restore of timeout.
7091 * gdb.base/page.exp: Remove unnecessary timeout setting.
7092
7093 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7094
7095 * gdb.ada/rec_return: New testcase.
7096
7097 2010-01-29 Joel Brobecker <brobecker@adacore.com>
7098
7099 * gdb.ada/call_pn: New testcase.
7100
7101 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7102
7103 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7104 (Top level): Use it to resume.
7105 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7106 the Thumb mode displaced stepping error as unsupported.
7107
7108 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7109
7110 * gdb.cp/nsusing.exp: Added more tests.
7111 * gdb.cp/nsrecurs.exp: Ditto.
7112 * gdb.cp/nsusing.cc: Added test functions.
7113 * gdb.cp/nsrecurs.cc: Ditto.
7114
7115 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7116
7117 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7118 absolute directory pathnames in gdb.sum file.
7119
7120 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7121
7122 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7123 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7124
7125 2010-01-26 Tom Tromey <tromey@redhat.com>
7126
7127 PR exp/7643:
7128 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7129 setup_kfail.
7130
7131 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7132
7133 * gdb.cp/nsrecurs.exp: New test.
7134 * gdb.cp/nsrecurs.cc: New test program.
7135 * gdb.cp/nsstress.exp: New test.
7136 * gdb.cp/nsstress.cc: New test program.
7137 * gdb.cp/nsdecl.exp: New test.
7138 * gdb.cp/nsdecl.cc: New test program.
7139
7140 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7141
7142 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7143 imported into file scope.
7144 Marked test as xfail.
7145 * gdb.cp/namespace-using.cc (marker5): New function.
7146 * gdb.cp/shadow.exp: New test.
7147 * gdb.cp/shadow.cc: New test program.
7148 * gdb.cp/nsimport.exp: New test.
7149 * gdb.cp/nsimport.cc: New test program.
7150
7151 2010-01-25 Tom Tromey <tromey@redhat.com>
7152
7153 PR gdb/11049:
7154 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7155 with "set print null-stop on".
7156
7157 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7160 Adjust it for DISASSEMBLY_OMIT_FNAME.
7161
7162 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7163
7164 PR symtab/11199:
7165 * gdb.dwarf2/member-ptr-forwardref.exp,
7166 gdb.dwarf2/member-ptr-forwardref.S: New.
7167
7168 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7171 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7172 thread1_tid_mutex. Remove gdbstop_mutex handling.
7173 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7174 thread2_tid_mutex. Remove gdbstop_mutex handling.
7175 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7176 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7177 pthread_cond_wait conditionalizations by while loops.
7178
7179 2010-01-20 Tom Tromey <tromey@redhat.com>
7180
7181 PR backtrace/10770:
7182 * gdb.dwarf2/pr10770.exp: New file.
7183 * gdb.dwarf2/pr10770.c: New file.
7184 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7185
7186 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7187
7188 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7189 that target was removed, and the test always runs native anyway.
7190
7191 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7192
7193 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7194 gdb.base/watchpoint-cond-gone-stripped.c: New.
7195
7196 2010-01-19 Tom Tromey <tromey@redhat.com>
7197
7198 PR c++/8000:
7199 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7200 existing tests.
7201 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7202 (main): Use AAA::SomeEnum.
7203
7204 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7205
7206 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7207 (test_ignore_count): Declare line_callme_body global.
7208 (run to breakpoint with ignore count): Use line_callme_body.
7209 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7210 (set line_main_hello, set line_main_return): Reindent.
7211 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7212 New.
7213 (continue to callee4): Use line_callee4_body.
7214 (check *stopped from CLI command): Use line_callee4_next.
7215 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7216 (set line_main_hello, set line_main_return): Reindent.
7217 (set line_callee4_head, set line_callee4_body): New.
7218 (continue to callee4): Use line_callee4_body.
7219
7220 2010-01-18 Tom Tromey <tromey@redhat.com>
7221
7222 PR c++/9680:
7223 * gdb.cp/casts.cc: Add new classes and variables.
7224 * gdb.cp/casts.exp: Test new operators.
7225
7226 2010-01-18 Tom Tromey <tromey@redhat.com>
7227 Thiago Jung Bauermann <bauerman@br.ibm.com>
7228
7229 * gdb.python/source2.py: New file.
7230 * gdb.python/source1: New file.
7231 * gdb.python/python.exp: Test "source" command.
7232
7233 2010-01-15 Stan Shebs <stan@codesourcery.com>
7234
7235 * gdb.trace/tfile.c: New file.
7236 * gdb.trace/tfile.exp: New file.
7237
7238 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7239
7240 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7241
7242 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7243
7244 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7245
7246 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7249 (libfunc): New parameter action. Implement also selectable "sleep".
7250 * gdb.base/break-interp-main.c: Include assert.h.
7251 (libfunc): New parameter action.
7252 (main): New parameters argc and argv. Assert argc. Pass argv.
7253 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7254 (test_attach): New proc.
7255 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7256 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7257
7258 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 * gdb.base/break-interp.exp (test_core): New proc.
7261 (test_ld): Call it.
7262
7263 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7266 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7267 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7268 and gdb_compile_shlib. Use new -Wl compiler options.
7269 (dl bt, main bt): New tests.
7270
7271 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 Support PIEs with no symfile_objfile.
7274 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7275 (test_ld): New parameter trynosym.
7276 (test_ld <$trynosym>): New block.
7277
7278 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7279
7280 * gdb.base/break-interp.exp: New file.
7281
7282 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7283
7284 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7285 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7286 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7287 test.
7288 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7289 * gdb.python/py-mi.exp: Add lazy string test.
7290
7291 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7292
7293 * lib/mi-support.exp (mi_check_thread_states): Handle
7294 core number in thread listing.
7295
7296 2010-01-12 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.base/maint.exp: Adjust the expected output for the
7299 "maint print type" test. Use gdb_test_multiple instead of
7300 gdb_sent/gdb_expect.
7301
7302 2010-01-11 Doug Evans <dje@google.com>
7303
7304 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7305 from gdbserver_download. All callers updated.
7306
7307 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7308
7309 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7310
7311 Implement binary numbers parsing.
7312 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7313 (test_integer_literals_rejected): New binary tests.
7314
7315 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7316
7317 * gdb.cell/configure: Regenerate.
7318
7319 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7320
7321 * gdb.base/corefile.exp: Move the core finding block out and call it as
7322 core_find, new variable $corefile, replace corefile by $corefile and
7323 [file tail $corefile] for usage vs. test names resp.
7324 * lib/gdb.exp (core_find): Move it as a new function here. New
7325 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7326 $destcore. Return "" on error.
7327
7328 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7329
7330 Workaround PR binutils/10802.
7331 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7332 (twice).
7333
7334 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7335
7336 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7337
7338 2010-01-08 Joel Brobecker <brobecker@adacore.com>
7339
7340 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7341 call, to avoid interruption.
7342
7343 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7344
7345 * gdb.stabs/weird.def (args93): New.
7346
7347 2010-01-07 Doug Evans <dje@google.com>
7348
7349 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7350
7351 2010-01-07 Tom Tromey <tromey@redhat.com>
7352
7353 * gdb.base/source.exp: Use correct line number.
7354
7355 2010-01-05 Stan Shebs <stan@codesourcery.com>
7356
7357 * gdb.trace/tracecmd.exp: Test ftrace.
7358
7359 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7360
7361 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7362
7363 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7364
7365 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7366 "uint_for_mi_testing".
7367
7368 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7369
7370 Test indented comment in file being sourced.
7371 * gdb.base/commands.exp: Test indented comment in file being sourced.
7372
7373 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7374
7375 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7376 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7377 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7378 notice.
7379
7380 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7381
7382 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7383 notice.
7384
7385 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7386
7387 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7388 missing $after_stopped and comma (,) expectation.
7389
7390 2009-12-31 Stan Shebs <stan@codesourcery.com>
7391
7392 * gdb.trace/actions.exp: Test teval action.
7393
7394 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7395
7396 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7397 (top level): Call test_watchpoint_in_big_blob.
7398 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7399 watchpoints.
7400 (func3): Write to buf.
7401
7402 2009-12-29 Stan Shebs <stan@codesourcery.com>
7403
7404 * gdb.trace/actions.exp: Test default-collect.
7405
7406 2009-12-28 Stan Shebs <stan@codesourcery.com>
7407
7408 * gdb.trace/tsv.exp: New file.
7409 * gdb.base/completion.exp: Update ambiguous info output.
7410
7411 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7412
7413 * gdb.base/find.c (main): Reference search buffers.
7414 * gdb.base/included.c (main): Reference integer.
7415 * gdb.base/ptype.c (charfoo): Declare.
7416 (intfoo): Call charfoo.
7417 * gdb.base/scope0.c (useitp): New function.
7418 (usestatics): Use useitp.
7419 (useit): Add a type for val.
7420 * gdb.base/scope1.c (useit1): Take a pointer argument.
7421 (usestatics1): Update calls to useit1.
7422 * gdb.cp/call-c.cc: Declare foo.
7423 (main): Call foo.
7424 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7425 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7426 (main): Call C::ensureRefs and ensureOtherRefs.
7427 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7428 variables.
7429 (ensureOtherRefs): New function.
7430 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7431 * gdb.cp/templates.cc (main): Call t5i.value.
7432
7433 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7434
7435 Fix compatibility with G++-4.5.
7436 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7437 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7438 (uncaught return): Remove.
7439
7440 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7441 Phil Muldoon <pmuldoon@redhat.com>
7442
7443 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7444 (bp_location13, bp_location14, bp_location17, bp_location18)
7445 (marker3_proto, marker4_proto): New variables.
7446 (breakpoint info): Update output.
7447 (run until breakpoint at marker3, run until breakpoint at marker4): New
7448 tests.
7449
7450 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7451
7452 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7453 Replace the printf call of Y by provided "y-set-1" label. New block
7454 for the second shared library.
7455 * gdb.base/unload.exp: Compile also the second library, call
7456 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7457 (single pending breakpoint info): Rename to ...
7458 (pending breakpoint info before run): ... this extended test.
7459 (libfile2, libname2, libsrcfile2, libsrc2)
7460 (lib_sl2): New variables.
7461 (exec_opts): Set also SHLIB_NAME2.
7462 (pending breakpoint info on first run at shrfunc1)
7463 (pending breakpoint info on second run at shrfunc1)
7464 (pending breakpoint info on second run at shrfunc2)
7465 (print y from libfile, print y from libfile2): New tests.
7466 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7467 * gdb.base/unloadshr2.c: New.
7468
7469 2009-12-22 Hui Zhu <teawater@gmail.com>
7470
7471 * gdb.reverse/sigall-reverse.exp: Adjust.
7472
7473 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7474
7475 PR gdb/10884
7476
7477 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7478 (main): Call do_bitfield_tests.
7479 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
7480
7481 2009-12-20 Joel Brobecker <brobecker@adacore.com>
7482
7483 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7484 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7485 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7486 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7487 gdb.modula2/unbounded1.c: Update copyright header.
7488
7489 2009-12-10 Chris Moller <moller@mollerware.com>
7490
7491 PR gdb/9399
7492 * gdb.cp/virtfunc2.exp: New tests
7493 * gdb.cp/virtfunc2.cc: New tests
7494 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7495
7496 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7497
7498 * gdb.reverse/i387-env-reverse.c: New file.
7499 * gdb.reverse/i387-env-reverse.exp: New file.
7500 * gdb.reverse/i387-stack-reverse.c: New file.
7501 * gdb.reverse/i387-stack-reverse.exp: New file.
7502
7503 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7504
7505 * gdb.python/py-type.exp (test_range): New test.
7506
7507 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7508
7509 PR python/10805
7510
7511 * gdb.python/py-type.exp: New file.
7512 * gdb.python/py-type.c: New file.
7513 * Makefile.in: Add py-type.
7514
7515 2009-12-03 Tom Tromey <tromey@redhat.com>
7516
7517 * gdb.python/py-value.exp (test_parse_and_eval): New
7518 function.
7519
7520 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7521
7522 PR gdb/11022
7523
7524 * gdb.base/pr11022.exp: New test.
7525 * gdb.base/pr11022.c: New test.
7526
7527 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 Fix spurious false FAILs.
7530 * gdb.base/structs.c (chartest): New.
7531 (main): Fill-in chartest.
7532 * gdb.base/structs.exp (anychar_re, first): New.
7533 (start_structs_test): Import global anychar_re and first.
7534 New gdb_test call "set print elements 300; ${testfile}"
7535 (start_structs_test <$first>): New block.
7536 (any): Import global anychar_re. New variable ac. Use ${ac}.
7537
7538 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7541
7542 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7543
7544 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7545 Force $srcfile file.
7546 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7547
7548 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7549
7550 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7551 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7552 * gdb.threads/watchthreads-reorder.exp: Likewise.
7553
7554 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7555
7556 PR gdb/8704
7557
7558 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7559 "if", and "thread". Correct matching in the previous test.
7560
7561 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7562
7563 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7564
7565 2009-11-23 Michael Snyder <msnyder@vmware.com>
7566
7567 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7568 * gdb.reverse-watch-precsave.exp: Ditto.
7569
7570 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7571
7572 * gdb.asm/asm-source.exp: Adjust.
7573 * gdb.base/help.exp: Adjust.
7574
7575 2009-11-22 Pedro Alves <pedro@codesourcery.com>
7576
7577 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7578 (do_syscall_tests_without_xml): Set data-directory to
7579 /the/path/to/nowhere.
7580
7581 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7582
7583 * gdb.threads/local-watch-wrong-thread.c,
7584 gdb.threads/local-watch-wrong-thread.exp: New files.
7585
7586 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7587
7588 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7589 assume new `regsub' syntax available.
7590
7591 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 * gdb.base/watchpoint-hw-hit-once.exp,
7594 gdb.base/watchpoint-hw-hit-once.c: New.
7595
7596 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7597
7598 * gdb.threads/watchthreads-reorder.exp,
7599 gdb.threads/watchthreads-reorder.c: New.
7600
7601 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7602
7603 * gdb.xml/tdesc-regs.exp: Use for m68k.
7604
7605 2009-11-15 Pedro Alves <pedro@codesourcery.com>
7606
7607 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7608
7609 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7610
7611 * lib/gdb.exp (current_target_name): New procedure.
7612 (gdb_wrapper_target): New variable.
7613 (gdb_wrapper_init): Set gdb_wrapper_target.
7614 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7615 wrapper.
7616
7617 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7618
7619 * gdb.base/remote.exp: Delete the slowest load test.
7620 Do not load with fixed packet sizes.
7621
7622 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7623
7624 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7625
7626 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7627
7628 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7629 srcfile when setting a breakpoint.
7630
7631 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7632
7633 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7634 macros.
7635
7636 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7637
7638 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7639 to be in memory.
7640 * gdb.base/display.c (force_mem): New.
7641 (do_loops): Use it. Add breakpoint comments.
7642 (do_vars): Add a breakpoint comment.
7643 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7644 line numbers.
7645
7646 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7647
7648 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7649 instead of a bare "run".
7650
7651 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7652
7653 * gdb.python/py-prettyprint.exp: Adjust.
7654
7655 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7656
7657 * lib/cell.exp (skip_cell_tests): Clean up test files before
7658 returning.
7659
7660 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7661
7662 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7663 and the breakpoint menu. Do not call perror if a prompt is seen.
7664 Consume the following GDB prompt.
7665 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7666 * gdb.cp/namespace.exp: Use gdb_test.
7667 * gdb.cp/templates.exp: Use gdb_test.
7668 (test_template_breakpoints): Use gdb_test_multiple.
7669
7670 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7671
7672 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7673 (marker4): Reference values.
7674
7675 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7676
7677 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7678 is missing.
7679
7680 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7681
7682 * gdb.base/break.c (need_malloc): New.
7683 * gdb.base/constvars.c (main): Reference crass and crisp.
7684 * gdb.base/gdb1821.c (main): Reference bar.
7685 * gdb.cp/gdb1355.cc (main): Reference s1.
7686 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7687 (main): Call them.
7688 * gdb.cp/hang2.cc (dummy2): Define.
7689 * gdb.cp/hang3.cc (dummy3): Define.
7690 * gdb.cp/m-data.cc (main): Reference shadow.
7691
7692 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7693 Nathan Froyd <froydnj@codesourcery.com>
7694
7695 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7696 remote host.
7697
7698 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7699
7700 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7701 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7702 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7703 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7704 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7705 * gdb.dwarf2/dw2-producer.exp: Likewise.
7706 * gdb.dwarf2/mac-fileno.exp: Likewise.
7707 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7708 py-prettyprint.py to the remote host.
7709 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7710
7711 2009-11-11 Keith Seitz <keiths@redhat.com>
7712
7713 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7714 use it instead of "Foo".
7715 * gdb.cp/classes.exp (do_tests): Add a test to access
7716 a method through a typedef'd class name.
7717
7718 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7719
7720 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7721 exponents.
7722 * gdb.base/pointers.exp: Likewise.
7723 * gdb.cp/ref-types.exp: Likewise.
7724
7725 2009-11-11 Keith Seitz <keiths@redhat.com>
7726
7727 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7728 new[] and delete[].
7729 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7730 "void".
7731 (probe_demangler): Remove all single-quoting of
7732 method and variable names.
7733 (info_func_regexp): Remove the word "void" from any
7734 occurrence of "(void)".
7735 (print_addr_2): Remove all single-quoting of
7736 method names.
7737 (print_addr_2_kfail): Likewise.
7738 (print_addr): Single-quote C function names before
7739 passing to print_addr_2.
7740 (test_paddr_operator_functions): Remove single-quoting
7741 for method names.
7742 Add tests for operator new[] and operator delete[].
7743
7744 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7745
7746 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7747
7748 2009-11-09 Keith Seitz <keiths@redhat.com>
7749
7750 * gdb.cp/overload.exp: Add tests for resolving overloaded
7751 methods in expression parsing/evaluation.
7752
7753 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7754
7755 * lib/gdb.exp (default_gdb_version): Use --version instead of
7756 --command.
7757
7758 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7759
7760 * lib/gdb.exp (gdb_compile_test): New.
7761 (skip_ada_tests, skip_java_tests): New.
7762 (gdb_compile): Use gdb_compile_test for f77.
7763 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7764 * lib/java.exp (compile_java_from_source): Remove runtests check,
7765 use gdb_compile_test to record result.
7766 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7767 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7768 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7769 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7770 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7771 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7772 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7773 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7774 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7775 adjust gdb_compile invocations.
7776
7777 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 * Makefile.in (abs_builddir): New.
7780 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7781 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7782 `$(abs_builddir)/site.exp'.
7783
7784 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7785
7786 * config/m68k-emc.exp, lib/emc-support.exp,
7787 gdb.trace/gdb_c_test.c: Delete.
7788 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7789 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7790 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7791 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7792 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7793 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7794 casing for m68k-*-elf.
7795
7796 2009-11-03 Pedro Alves <pedro@codesourcery.com>
7797
7798 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7799 * gdb.arch/i386-prologue.exp: Likewise.
7800 * gdb.arch/i386-unwind.exp: Likewise.
7801
7802 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7803
7804 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7805
7806 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7807
7808 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7809
7810 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7811
7812 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7813
7814 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7815
7816 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7817
7818 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7819
7820 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7821 * gdb.base/sepdebug2.c: New file.
7822
7823 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7824
7825 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7826 the modified warnings for catch syscall. Verify if GDB was compiled
7827 with support for lib expat, and choose which tests to run depending
7828 on this.
7829
7830 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7831
7832 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7833 that composite commands are parsed OK. And also test
7834 that breakpoint commands do work.
7835
7836 2009-10-23 Michael Snyder <msnyder@vmware.com>
7837
7838 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7839 to allow for new disassembly style.
7840
7841 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7842
7843 * gdb.asm/asm-source.exp: Adjust.
7844
7845 2009-10-22 Michael Snyder <msnyder@vmware.com>
7846
7847 * gdb.reverse/break-precsave.exp: New test.
7848 * gdb.reverse/consecutive-precsave.exp: Ditto.
7849 * gdb.reverse/finish-precsave.exp: Ditto.
7850 * gdb.reverse/i386-precsave.exp: Ditto.
7851 * gdb.reverse/machinestate-precsave.exp: Ditto.
7852 * gdb.reverse/sigall-precsave.exp: Ditto.
7853 * gdb.reverse/solilb-precsave.exp: Ditto.
7854 * gdb.reverse/step-precsave.exp: Ditto.
7855 * gdb.reverse/until-precsave.exp: Ditto.
7856 * gdb.reverse/watch-precsave.exp: Ditto.
7857
7858 2009-10-22 Michael Snyder <msnyder@vmware.com>
7859
7860 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7861 for gdb_expect. Adjust one test's expect strings for the new
7862 format of disassemble.
7863 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7864 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7865 gdb_test_multiple.
7866 * gdb.reverse/step-reverse.exp: Delete 'return'.
7867 * gdb.reverse/until-reverse.exp: Delete blank lines.
7868 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7869
7870 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7871
7872 * gdb.base/consecutive.exp: Adjust.
7873 * gdb.base/display.exp: Likewise.
7874 * gdb.base/pc-fp.exp: Likewise.
7875 * gdb.base/sigbpt.exp: Likewise.
7876
7877 2009-10-19 Michael Snyder <msnyder@vmware.com>
7878
7879 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7880 * gdb.reverse/finish-reverse.c: Ditto.
7881 * gdb.reverse/sigall-reverse.c: Ditto.
7882 * gdb.reverse/solib-reverse.c: Ditto.
7883 * gdb.reverse/step-reverse.c: Ditto.
7884 * gdb.reverse/watch-reverse.c: Ditto.
7885
7886 2009-10-19 Pedro Alves <pedro@codesourcery.com>
7887 Stan Shebs <stan@codesourcery.com>
7888
7889 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7890 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7891 "Executing new program".
7892 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7893 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7894 left listed after having been killed.
7895 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7896 * gdb.base/maint.exp: Adjust test.
7897
7898 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7899 * gdb.multi/Makefile.in: New.
7900 * gdb.multi/base.exp: New.
7901 * gdb.multi/goodbye.c: New.
7902 * gdb.multi/hangout.c: New.
7903 * gdb.multi/hello.c: New.
7904 * gdb.multi/bkpt-multi-exec.c: New.
7905 * gdb.multi/bkpt-multi-exec.exp: New.
7906 * gdb.multi/crashme.c: New.
7907
7908 2009-10-13 Tristan Gingold <gingold@adacore.com>
7909
7910 * gdb.base/sepdebug.exp: Check debug info are found.
7911
7912 2009-10-08 Pedro Alves <pedro@codesourcery.com>
7913
7914 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7915 bits.
7916
7917 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7918
7919 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7920
7921 2009-10-07 Joel Brobecker <brobecker@adacore.com>
7922
7923 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7924 of the comments.
7925
7926 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7927
7928 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7929 * gdb.base/annota3.exp: Idem.
7930 * gdb.base/maint.exp: Idem.
7931
7932 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7933
7934 * lib/gdb.exp (default_gdb_init): Set current value of match_max
7935 to default.
7936
7937 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7938
7939 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7940 mingw and cygwin targets.
7941
7942 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7943 Pedro Alves <pedro@codesourcery.com>
7944
7945 * lib/gdb.exp (gdb_compile): Avoid adding
7946 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7947
7948 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7949
7950 * gdb.base/shr1.c: Use %p in format string.
7951 * gdb.base/unload.c: Avoid warning in fprintf.
7952 * gdb.base/watchpoint-solib.c: Idem.
7953
7954 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7955
7956 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7957 long type.
7958 (test_unlink): Correct printf string.
7959 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7960 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7961
7962 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7963
7964 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7965 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7966 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7967
7968 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7969
7970 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7971 * gdb.objc/nondebug.exp: Likewise.
7972
7973 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7974
7975 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7976 target_info setting.
7977
7978 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7979 that detect new threads during "info threads".
7980
7981 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7982
7983 * gdb.threads/manythreads.c (main): Increase thread stack size
7984 to 2*PTHREAD_STACK_MIN.
7985 * gdb.threads/multi-create.c (main): Likewise.
7986 (create_function): Likewise.
7987
7988 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7989
7990 * gdb.base/dump.exp: Pass difference of pointer types instead
7991 of integer types as offset to restore in intarr3.srec case.
7992
7993 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7994
7995 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7996
7997 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7998
7999 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8000
8001 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
8002
8003 New test for two watchpoints, with disabling of
8004 the first inserted.
8005 * testsuite/gdb.base/watchpoints.c: New file.
8006 * testsuite/gdb.base/watchpoints.exp: New file.
8007
8008 2009-09-25 Tom Tromey <tromey@redhat.com>
8009
8010 * gdb.base/charset.exp: Test utf-16 strings with Python.
8011
8012 2009-09-25 Tom Tromey <tromey@redhat.com>
8013
8014 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8015 UCS-4.
8016 * gdb.base/charset.c (utf_32_string): Rename.
8017 (init_utf32): Rename.
8018 (main): Update.
8019
8020 2009-09-22 Tom Tromey <tromey@redhat.com>
8021
8022 * gdb.python/py-function.exp: Add regression tests.
8023
8024 2009-09-21 Keith Seitz <keiths@redhat.com>
8025
8026 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8027 with invalid operator.
8028
8029 2009-09-21 Keith Seitz <keiths@redhat.com>
8030
8031 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8032 and destructor using typedef name of class.
8033 * gdb.cp/classes.cc (class Base1): Add a destructor.
8034 (base1): New typedef.
8035 (use_methods): Instanitate an object of type base1.
8036 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8037 (do_tests): Call test_template_typedef.
8038 * gdb.cp/templates.cc (Baz::~Baz): New method.
8039 (intBazOne): New typedef.
8040 (main): Instantiate intBazOne.
8041
8042 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8043
8044 PR python/10633
8045
8046 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8047 Function.
8048 (run_lang_tests): Add print elements test.
8049
8050 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8051
8052 * gdb.python/py-value.exp (test_subscript_regression): New
8053 function. Test for invalid subscripts.
8054 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8055 (ptr_ref): New function.
8056
8057 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8058
8059 * gdb.base/default.exp: Fix "show convenience".
8060
8061 2009-09-15 Tom Tromey <tromey@redhat.com>
8062
8063 * lib/mi-support.exp (mi_create_varobj): Update.
8064 (mi_create_floating_varobj): Likewise.
8065 (mi_create_dynamic_varobj): New proc.
8066 (mi_varobj_update): Update.
8067 (mi_varobj_update_with_type_change): Likewise.
8068 (mi_varobj_update_kv_helper): New proc.
8069 (mi_varobj_update_dynamic_helper): Rewrite.
8070 (mi_varobj_update_dynamic): New proc.
8071 (mi_list_varobj_children): Update.
8072 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8073 * gdb.python/python-prettyprint.py (pp_outer): New class.
8074 (pp_nullstr): Likewise.
8075 (lookup_function): Register new printers.
8076 * gdb.python/python-prettyprint.c (struct substruct): New type.
8077 (struct outerstruct): Likewise.
8078 (substruct_test): New function.
8079 (struct nullstr): New type.
8080 (string_1, string_2): New globals.
8081 (main): Add new tests.
8082 * gdb.python/python-mi.exp: Added regression tests.
8083 * gdb.mi/mi2-var-display.exp: Update.
8084 * gdb.mi/mi2-var-cmd.exp: Update.
8085 * gdb.mi/mi2-var-child.exp: Update.
8086 * gdb.mi/mi2-var-block.exp: Update.
8087 * gdb.mi/mi-var-invalidate.exp: Update.
8088 * gdb.mi/mi-var-display.exp: Update.
8089 * gdb.mi/mi-var-cmd.exp: Update.
8090 * gdb.mi/mi-var-child.exp: Update.
8091 * gdb.mi/mi-var-block.exp: Update.
8092 * gdb.mi/mi-break.exp: Update.
8093 * gdb.mi/gdb701.exp: Update.
8094
8095 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8096
8097 * Makefile.in: Inclusion of catch-syscall object.
8098 * gdb.base/catch-syscall.c: New file.
8099 * gdb.base/catch-syscall.exp: New file.
8100
8101 2009-09-12 Michael Snyder <msnyder@vmware.com>
8102
8103 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8104 that can support reverse debuggnig.
8105
8106 2009-09-11 Tom Tromey <tromey@redhat.com>
8107
8108 * gdb.dwarf2/valop.S: New file.
8109 * gdb.dwarf2/valop.exp: New file.
8110
8111 2009-09-11 Mark Kettenis <kettenis@gnu.org>
8112
8113 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8114
8115 2009-09-10 Doug Evans <dje@google.com>
8116
8117 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8118 Add $gdb_prompt to second breakpoint regexp.
8119
8120 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8121
8122 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8123 names, add missing ones.
8124 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8125 * gdb.python/py-frame.c: Rename from python-frame.c.
8126 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8127 testfile name.
8128 * gdb.python/py-function.exp: Rename from python-function.exp.
8129 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8130 testfile name.
8131 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8132 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8133 Adjust testfile name.
8134 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8135 * gdb.python/py-template.cc: Rename from python-template.cc.
8136 * gdb.python/py-template.exp: Rename from python-template.exp.
8137 Adjust testfile name.
8138 * gdb.python/py-value.c: Rename from python-value.c.
8139 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8140 testfile name.
8141
8142 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8143
8144 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8145 $bpt2address.
8146 (Second breakpoint address is valid on ia64)
8147 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8148
8149 2009-09-03 Joseph Myers <joseph@codesourcery.com>
8150
8151 * gdb.base/ending-run.exp: Restrict regular expression matching
8152 line number to require closing brace following.
8153
8154 2009-09-03 Doug Evans <dje@google.com>
8155
8156 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8157
8158 2009-09-02 Tom Tromey <tromey@redhat.com>
8159
8160 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8161
8162 2009-09-02 Tom Tromey <tromey@redhat.com>
8163
8164 * gdb.dwarf2/callframecfa.exp: New file.
8165 * gdb.dwarf2/callframecfa.S: New file.
8166
8167 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8170 gdb.base/solib-overlap-main.c: New.
8171
8172 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8173
8174 PR gdb/10565
8175
8176 * gdb.base/bitfields.c (struct container, container): New.
8177 (main): Initialize it and call break5.
8178 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8179
8180 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8183 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8184
8185 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8186
8187 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8188
8189 2009-08-26 Michael Snyder <msnyder@vmware.com>
8190
8191 * gdb.base/i386-reverse.c: New file.
8192 * gdb.base/i386-reverse.exp: New file.
8193 * gdb.base/Makefile.in: Add new files to be removed.
8194
8195 2009-08-26 Joseph Myers <joseph@codesourcery.com>
8196
8197 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8198 environment-pwd for remote host.
8199 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8200
8201 2009-08-24 Keith Seitz <keiths@redhat.com>
8202
8203 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8204 Add two new C++ completer tests which limit the output to a
8205 given class.
8206
8207 2009-08-24 Michael Snyder <msnyder@vmware.com>
8208
8209 * gdb.base/del.exp: Fix typo in comment.
8210 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8211
8212 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8213
8214 * configure: Regenerate.
8215 * gdb.hp/configure: Likewise.
8216 * gdb.hp/gdb.aCC/configure: Likewise.
8217 * gdb.hp/gdb.base-hp/configure: Likewise.
8218 * gdb.hp/gdb.compat/configure: Likewise.
8219 * gdb.hp/gdb.defects/configure: Likewise.
8220 * gdb.hp/gdb.objdbg/configure: Likewise.
8221 * gdb.stabs/configure: Likewise.
8222
8223 2009-08-19 Doug Evans <dje@google.com>
8224
8225 * gdb.base/gdbvars.c: New file.
8226 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8227
8228 2009-08-14 Pedro Alves <pedro@codesourcery.com>
8229
8230 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8231 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8232
8233 2009-08-13 Pedro Alves <pedro@codesourcery.com>
8234
8235 * gdb.base/default.exp: Adjust "set language test": it's now an
8236 enum command. Larger help string moved to "help set language".
8237 * gdb.base/help.exp: Adjust "help set language" expected output,
8238 now lists all known languages.
8239
8240 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8241
8242 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8243 all frame arguments.
8244 * gdb.arch/altivec-regs.exp: Likewise.
8245
8246 2009-08-07 Tom Tromey <tromey@redhat.com>
8247
8248 * gdb.base/setshow.exp: Add tests for changes to set language, set
8249 check range, and set check type.
8250
8251 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8252
8253 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8254 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
8255 Call it.
8256
8257 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8258
8259 * configure.ac: Run gdb.cell tests when appropriate.
8260 * configure: Regenerate.
8261 * lib/cell.exp: New file.
8262 * gdb.cell: New directory.
8263 * gdb.cell/configure.ac: New file.
8264 * gdb.cell/configure: New file.
8265 * gdb.cell/Makefile.in: New file.
8266 * gdb.cell/arch.exp: New file.
8267 * gdb.cell/break.c: New file.
8268 * gdb.cell/break.exp: New file.
8269 * gdb.cell/break-spu.c: New file.
8270 * gdb.cell/bt.c: New file.
8271 * gdb.cell/bt2-spu.c: New file.
8272 * gdb.cell/bt-spu.c: New file.
8273 * gdb.cell/bt.exp: New file.
8274 * gdb.cell/coremaker.c: New file.
8275 * gdb.cell/coremaker-spu.c: New file.
8276 * gdb.cell/core.exp: New file.
8277 * gdb.cell/gcore.exp: New file.
8278 * gdb.cell/data.c: New file.
8279 * gdb.cell/data.exp: New file.
8280 * gdb.cell/data-spu.c: New file.
8281 * gdb.cell/ea-cache.exp: New file.
8282 * gdb.cell/ea-cache.c: New file.
8283 * gdb.cell/ea-cache-spu.c: New file.
8284 * gdb.cell/ea-standalone.c: New file.
8285 * gdb.cell/ea-standalone.exp: New file.
8286 * gdb.cell/ea-test.c: New file.
8287 * gdb.cell/ea-test.exp: New file.
8288 * gdb.cell/f-regs.exp: New file.
8289 * gdb.cell/mem-access.c: New file.
8290 * gdb.cell/mem-access.exp: New file.
8291 * gdb.cell/mem-access-spu.c: New file.
8292 * gdb.cell/ptype.exp: New file.
8293 * gdb.cell/registers.exp: New file.
8294 * gdb.cell/size.c: New file.
8295 * gdb.cell/sizeof.exp: New file.
8296 * gdb.cell/size-spu.c: New file.
8297 * gdb.cell/solib.exp: New file.
8298 * gdb.cell/solib-symbol.exp: New file.
8299
8300 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8301
8302 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8303
8304 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8305
8306 * gdb.base/float.exp: Handle VFP registers.
8307
8308 2009-07-14 Michael Snyder <msnyder@vmware.com>
8309
8310 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8311 to bring gdb to the beginning of the calling line.
8312
8313 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8314 confusing the i386 epilogue unwinder.
8315
8316 2009-07-14 Stan Shebs <stan@codesourcery.com>
8317
8318 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8319
8320 2009-07-14 Michael Snyder <msnyder@vmware.com>
8321
8322 * gdb.reverse/step-reverse.exp (stepi into function call):
8323 Call instruction may not be first instruction in the line.
8324 (reverse stepi from a function call): Used wrong line number.
8325
8326 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8327
8328 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8329
8330 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8331
8332 Fix gdb.base/macscp.exp when using custom inputrc.
8333 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8334 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8335 env(TERM) set.
8336 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8337 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8338
8339 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8340
8341 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8342 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8343 Change the compilation target to match the testcase name.
8344 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8345 testcase name.
8346 * a2-run.exp: Use for setup prepare_for_testing. Change the
8347 compilation target to match the testcase name.
8348 * gdb.base/commands.exp: Likewise.
8349 * gdb.base/finish.exp: Likewise.
8350 * gdb.base/float.exp: Likewise.
8351 * gdb.base/info-target.exp: Likewise.
8352 * gdb.base/relational.exp: Likewise.
8353 * gdb.base/term.exp: Likewise.
8354 * gdb.base/until.exp: Likewise.
8355 * gdb.base/volatile.exp: Likewise.
8356 * gdb.base/whatis-exp.exp: Likewise.
8357
8358 2009-07-11 Hui Zhu <teawater@gmail.com>
8359
8360 * gdb.base/help.exp (disassemble): Update expected help text.
8361
8362 2009-07-09 Tom Tromey <tromey@redhat.com>
8363
8364 * lib/gdb.exp: Handle TRANSCRIPT.
8365 (remote_spawn, remote_close, send_gdb): New procs.
8366
8367 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8368
8369 * gdb.python/python-prettyprint.c: Add counted null string
8370 structure.
8371 * gdb.python/python-prettyprint.exp: Print null string. Test for
8372 embedded nulls.
8373 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8374 * gdb.python/python-value.exp (test_value_in_inferior): Add
8375 variable length string fetch tests.
8376 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8377
8378 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8379
8380 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8381
8382 2009-07-07 Tom Tromey <tromey@redhat.com>
8383
8384 * gdb.base/call-rt-st.exp: Update for change to escape output.
8385 * gdb.base/callfuncs.exp: Likewise.
8386 * gdb.base/charset.exp: Likewise.
8387 * gdb.base/constvars.exp: Likewise.
8388 * gdb.base/long_long.exp: Likewise.
8389 * gdb.base/pointers.exp: Likewise.
8390 * gdb.base/printcmds.exp: Likewise.
8391 * gdb.base/setvar.exp: Likewise.
8392 * gdb.base/store.exp: Likewise.
8393 * gdb.cp/ref-types.exp: Likewise.
8394 * gdb.mi/mi-var-child.exp: Likewise.
8395 * gdb.mi/mi-var-display.exp: Likewise.
8396 * gdb.mi/mi2-var-display.exp: Likewise.
8397 * gdb.base/charset.exp: Test octal escape sequence length.
8398 Update for change to escape output.
8399
8400 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8401
8402 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8403
8404 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8405
8406 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8407
8408 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8411 gdbserver increasing $portnum if "Can't bind address" has been seen.
8412
8413 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8414
8415 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8416 mingw32ce.
8417
8418 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8419
8420 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8421 VFP format.
8422
8423 2009-07-02 Pedro Alves <pedro@codesourcery.com>
8424
8425 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8426 linux. Adjust to use "inferior", "info inferiors", "detach
8427 inferior" and "kill inferior" instead of "restart", "info fork",
8428 "detach fork" and "delete fork".
8429 * gdb.base/ending-run.exp: Spell out "info".
8430 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8431 the "kill" command.
8432
8433 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8434
8435 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8436 change to prefix TLS offset in hex with 0x.
8437
8438 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8439
8440 * gdb.base/default.exp: Update test case for "x" changes.
8441
8442 2009-07-01 Tristan Gingold <gingold@adacore.com>
8443
8444 * gdb.base/bigcore.exp: Make darwin untested.
8445
8446 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8447
8448 * gdb.base/completion.exp (directory completion): Create the directory.
8449 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8450 escapeuniquesub.
8451 (directory completion 2): Expect now ${escapeuniquesub}.
8452 (Glob remaining of directory test): Remove one excessive newline.
8453 Expect the real output.
8454
8455 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8456
8457 Fix `make check//%' target after `make check' has been ran.
8458 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8459 a mkdir call.
8460 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8461 (%/.dir): Remove.
8462
8463 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8466 the expected result record.
8467
8468 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8469
8470 Remove racy FAILs relying just on the timeouts.
8471 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8472 (annotation_level 2): Remove racy FAILs.
8473
8474 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8475
8476 gdb/10275
8477 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8478
8479 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8480
8481 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8482
8483 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8484
8485 * gdb.mi/mi-stack.exp: Testing symbolic options
8486 to -stack-list-locals and -stack-list-arguments.
8487
8488 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8489
8490 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8491
8492 2009-06-29 Tom Tromey <tromey@redhat.com>
8493
8494 * dg-extract-results.sh: New file.
8495 * Makefile.in (FORCE_PARALLEL): New variable.
8496 (CHECK_TARGET): New conditional variable.
8497 (check): Use CHECK_TARGET.
8498 (DO_RUNTEST): New variable.
8499 (check-single): New target.
8500 (TEST_DIRS): New variable.
8501 (TEST_TARGETS): Likewise.
8502 (check-parallel): New target.
8503 (check-gdb.%): New pattern.
8504 (BASE1_FILES): New variable.
8505 (BASE2_FILES): Likewise.
8506 (check-gdb.base%): New pattern.
8507 (%/.dir): New pattern.
8508 * configure: Rebuild.
8509 * aclocal.m4 (AM_CONDITIONAL): New defun.
8510 * configure.ac: Check whether user is using GNU make.
8511 (GMAKE): New conditional.
8512
8513 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8514
8515 * gdb.cp/namespace-nested-import.cc: New test.
8516 * gdb.cp/namespace-nested-import.exp: New test.
8517
8518 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8519
8520 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8521 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8522 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8523 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8524 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8525 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8526 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8527 gdb.opt/inline-markers.c: New files.
8528 * lib/gdb.exp (skip_inline_frame_tests): New function.
8529 (skip_inline_var_tests): New function.
8530
8531 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8532
8533 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8534 backtrace.
8535
8536 2009-06-27 Michael Snyder <msnyder@vmware.com>
8537
8538 * gdb.reverse: New directory.
8539 * gdb.reverse/break-reverse.c: New test.
8540 * gdb.reverse/break-reverse.exp: New test.
8541 * gdb.reverse/consecutive-reverse.c: New test.
8542 * gdb.reverse/consecutive-reverse.exp: New test.
8543 * gdb.reverse/finish-reverse.c: New test.
8544 * gdb.reverse/finish-reverse.exp: New test.
8545 * gdb.reverse/machinestate.c: New test.
8546 * gdb.reverse/ms1.c: New test.
8547 * gdb.reverse/machinestate.exp: New test.
8548 * gdb.reverse/Makefile.in: New file.
8549 * gdb.reverse/shr2.c: New test.
8550 * gdb.reverse/solib-reverse.c: New test.
8551 * gdb.reverse/solib-reverse.exp: New test.
8552 * gdb.reverse/step-reverse.c: New test.
8553 * gdb.reverse/step-reverse.exp: New test.
8554 * gdb.reverse/until-reverse.c: New test.
8555 * gdb.reverse/ur1.c: New test.
8556 * gdb.reverse/until-reverse.exp: New test.
8557 * gdb.reverse/watch-reverse.c: New test.
8558 * gdb.reverse/watch-reverse.exp: New test.
8559 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8560 * configure: Regenerate.
8561
8562 2009-06-26 Doug Evans <dje@google.com>
8563
8564 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8565
8566 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8567
8568 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8569 windows problem for 'file delete $binfile'.
8570
8571 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8572
8573 * gdb.cp/namespace-using.exp: New test.
8574 * gdb.cp/namespace-using.cc: New test.
8575
8576 2009-05-20 Joel Brobecker <brobecker@adacore.com>
8577
8578 * gdb.ada/variant_record_packed_array: New testcase.
8579
8580 2009-06-23 Tom Tromey <tromey@redhat.com>
8581
8582 * gdb.base/charset.exp (test_combination): Regression test.
8583 * gdb.base/charset.c (my_wchar_t): New typedef.
8584 (myvar): New global.
8585 (main): Set myvar.
8586
8587 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8588
8589 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8590 target.
8591
8592 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8593
8594 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8595
8596 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8597
8598 * gdb.mi/gdb680.exp: Update test for error message.
8599
8600 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8601
8602 * gdb.base/annota1.exp: Allow multiple occurrences of the
8603 frames-invalid annotation.
8604 * gdb.cp/annota2.exp: Likewise.
8605
8606 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8607
8608 * gdb.cp/gdb2495.cc: New file.
8609 * gdb.cp/gdb2495.exp: New file.
8610
8611 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8612
8613 Report error on GDB crash during runto.
8614 * lib/gdb.exp (runto <eof>): New.
8615
8616 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8617
8618 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8619 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8620 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8621 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8622 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8623 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8624 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8625 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8626 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8627 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8628 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8629 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8630 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8631 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8632 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8633 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8634 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8635 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8636 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8637 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8638 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8639 gdb.trace/passcount.exp, gdb.trace/report.exp,
8640 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8641 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8642 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8643 executable.
8644
8645 2009-06-07 Pedro Alves <pedro@codesourcery.com>
8646
8647 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8648 defined before referencing it.
8649
8650 2009-06-03 Doug Evans <dje@google.com>
8651
8652 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8653 * gdb.arch/i386-see.c: Ditto.
8654
8655 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8656
8657 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8658 (check_macro): Return 1 if undefined.
8659 If first test fails, check if macro debug information is available,
8660 and report unsupported test if no macro information is found.
8661
8662 2009-05-29 Doug Evans <dje@google.com>
8663
8664 * gdb.threads/hand-call-in-threads.exp: New.
8665 * gdb.threads/hand-call-in-threads.c: New.
8666
8667 2009-05-29 Michael Snyder <msnyder@vmware.com>
8668
8669 * gdb.base/break-always.exp: Change "1" to "on".
8670 Add confirmation check.
8671
8672 2009-05-28 Pedro Alves <pedro@codesourcery.com>
8673
8674 * gdb.threads/threxit-hop-specific.c: New.
8675 * gdb.threads/threxit-hop-specific.exp: New.
8676 * gdb.threads/thread-execl.c: New.
8677 * gdb.threads/thread-execl.exp: New.
8678
8679 2009-05-27 Tom Tromey <tromey@redhat.com>
8680 Thiago Jung Bauermann <bauerman@br.ibm.com>
8681
8682 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8683 (mi_child_regexp): Likewise.
8684 (mi_list_varobj_children_range): Likewise.
8685 (mi_get_features): Likewise.
8686 (mi_list_varobj_children): Rewrite.
8687 * gdb.python/python-mi.exp: New file.
8688
8689 2009-05-27 Tom Tromey <tromey@redhat.com>
8690 Thiago Jung Bauermann <bauerman@br.ibm.com>
8691 Phil Muldoon <pmuldoon@redhat.com>
8692 Paul Pluzhnikov <ppluzhnikov@google.com>
8693
8694 * gdb.python/python-prettyprint.exp: New file.
8695 * gdb.python/python-prettyprint.c: New file.
8696 * gdb.python/python-prettyprint.py: New file.
8697 * gdb.base/display.exp: print/r is now valid.
8698
8699 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8700 Tom Tromey <tromey@redhat.com>
8701 Pedro Alves <pedro@codesourcery.com>
8702 Paul Pluzhnikov <ppluzhnikov@google.com>
8703
8704 * gdb.python/python-template.exp: New file.
8705 * gdb.python/python-template.cc: New file.
8706 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8707 tests.
8708 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8709 Call it.
8710 (test_value_after_death): New proc.
8711 * gdb.python/python-value.c (PTR): New typedef.
8712 (main): New variable 'x'.
8713
8714 2009-05-27 Tom Tromey <tromey@redhat.com>
8715
8716 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8717 tests.
8718 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8719 Call it.
8720
8721 2009-05-27 Pedro Alves <pedro@codesourcery.com>
8722
8723 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8724
8725 2009-05-24 Pedro Alves <pedro@codesourcery.com>
8726
8727 * gdb.threads/fork-thread-pending.c: New.
8728 * gdb.threads/fork-thread-pending.exp: New.
8729
8730 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8731
8732 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8733 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8734
8735 2009-05-18 Jon Beniston <jon@beniston.com>
8736
8737 * gdb.asm/asm-source.exp: Add lm32 target.
8738
8739 2009-05-17 Pedro Alves <pedro@codesourcery.com>
8740
8741 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8742 `gdb_get_line_number'. Call `callee' in both parent and child.
8743 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8744 `gdb_get_line_number' instead of hardcoding line numbers.
8745 (catch_fork_unpatch_child): New procedure to test detaching
8746 breakpoints from child fork.
8747 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8748 hardcoding line numbers.
8749 (do_fork_tests): Run `catch_fork_unpatch_child'.
8750
8751 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8752
8753 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8754 of structure type enters or leaves the scope, it
8755 is reported by -var-update.
8756
8757 2009-05-11 Doug Evans <dje@sebabeach.org>
8758
8759 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8760 * gdb.threads/pending-step.c (main): Fix off-by-one error.
8761 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8762
8763 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8764
8765 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8766
8767 2009-04-30 Doug Evans <dje@google.com>
8768
8769 * gdb.threads/watchthreads2.exp: New testcase.
8770 * gdb.threads/watchthreads2.c: New testcase.
8771
8772 2009-04-29 Doug Evans <dje@google.com>
8773
8774 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8775 * gdb.cp/mb-ctor.cc: Ditto.
8776 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8777 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8778 * gdb.cp/mb-inline1.cc: Call it.
8779 * gdb.cp/mb-inline2.cc: Ditto.
8780 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8781 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8782
8783 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8784
8785 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8786 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8787 Replace all uses of `decimal' by `nonzero'.
8788 (info macro FROM_COMMANDLINE): New test.
8789
8790 2009-04-27 Tom Tromey <tromey@redhat.com>
8791
8792 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8793
8794 2009-04-27 Doug Evans <dje@google.com>
8795
8796 * gdb.threads/watchthreads.c (main): Initialize args before starting
8797 the threads. Plus formatting cleanup.
8798 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8799 biased scheduling of one thread.
8800
8801 2009-04-27 Jerome Guitton <guitton@adacore.com>
8802
8803 * gdb.cp/templates.cc (GetMax): New template.
8804 (main): Declare two instances of GetMax.
8805 * gdb.cp/templates.exp: Add new test.
8806
8807 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8808
8809 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8810
8811 2009-04-22 Joseph Myers <joseph@codesourcery.com>
8812
8813 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8814
8815 2009-04-15 Tom Tromey <tromey@redhat.com>
8816
8817 * gdb.base/charset.exp: Add regression test.
8818
8819 2009-04-14 Joel Brobecker <brobecker@adacore.com>
8820
8821 * gdb.base/exe-lock.exp: New testcase.
8822
8823 2009-04-13 Tom Tromey <tromey@redhat.com>
8824
8825 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8826 operator on Frame.
8827
8828 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8829
8830 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8831 * gdb.server/ext-attach.exp: Likewise.
8832
8833 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8834
8835 Eliminate some sleep usage.
8836
8837 * gdb.mi/basics.c (do_nothing): New.
8838 (main): Use do_nothing instead of printf, so that
8839 not to introduce race condition between output of
8840 inferiour and output of gdb. Do not use sleep as it
8841 is not generally available on embedded targets.
8842
8843 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8844
8845 * gdb.server/ext-attach.exp: Expect an optional process id after
8846 "Detached from remote process".
8847
8848 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8849
8850 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8851 gdb.dwarf2/dw2-unresolved.exp: New.
8852
8853 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8854
8855 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8856 mi_run_to_main.
8857
8858 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8859
8860 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8861 mi_run_to_main. Skip thread exit test on remote targets.
8862 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8863 mi_run_to_main.
8864 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8865 mi_run_to_main.
8866 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8867 when expecting ^connected. Detect when the target doesn't support
8868 non-stop mode.
8869 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8870 supported. Return -1 on error, 0 on success.
8871 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8872 (mi_runto): Return mi_runto_helper's result explicitly.
8873
8874 2009-04-01 Pedro Alves <pedro@codesourcery.com>
8875
8876 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8877
8878 2009-04-01 Tom Tromey <tromey@redhat.com>
8879
8880 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8881 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8882 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8883 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8884
8885 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8886 Jan Kratochvil <jan.kratochvil@redhat.com>
8887
8888 PR gdb/931
8889 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8890 output.
8891 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8892 for gdb/931.
8893 * dw2-strp.S (DW_AT_language): Change to C++.
8894 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8895
8896 2009-03-31 Joel Brobecker <brobecker@adacore.com>
8897
8898 * gdb.ada/tasks: New testcase.
8899
8900 2009-03-30 Stan Shebs <stan@codesourcery.com>
8901
8902 * gdb.trace/actions.exp: Update to match new info trace format.
8903 * gdb.trace/deltrace.exp: Ditto.
8904 * gdb.trace/infotrace.exp: Ditto.
8905 * gdb.trace/passcount.exp: Ditto.
8906 * gdb.trace/save-trace.exp: Ditto.
8907 * gdb.trace/while-stepping.exp: Ditto.
8908 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8909
8910 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8911
8912 * gdb.python/python-frame.c: New file.
8913 * gdb.python/python-frame.exp: New file.
8914
8915 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8916
8917 * gdb.python/python-value.exp: Add tests for the address
8918 attribute.
8919
8920 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8921
8922 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8923
8924 2009-03-26 Doug Evans <dje@google.com>
8925
8926 * gdb.mi/mi-nonstop-exit.exp: New file.
8927 * gdb.mi/non-stop-exit.c: New file.
8928
8929 2009-03-26 Tom Tromey <tromey@redhat.com>
8930
8931 Update for change to prologue skipping:
8932 * gdb.mi/mi2-simplerun.exp: Update.
8933 * gdb.mi/mi2-break.exp: Update.
8934 * gdb.mi/mi-simplerun.exp: Update.
8935 * gdb.mi/mi-break.exp: Update.
8936 * gdb.base/ending-run.exp: Update.
8937
8938 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8939
8940 * gdb.python/python-value.exp (test_value_in_inferior): Test
8941 gdb.Value.is_optimized_out attribute.
8942
8943 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8944
8945 * gdb.dwarf2/dw2-noloc-main.c: New file.
8946 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8947 (.text): Remove.
8948 (.data): New.
8949 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8950 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8951 (DW_TAG_subprogram func_cu1, noloc): Remove.
8952 (main): New.
8953 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8954 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8955 (file_symbols): New procedure.
8956
8957 2009-03-25 Tom Tromey <tromey@redhat.com>
8958
8959 * gdb.base/charset.exp (valid_target_charset): New proc.
8960 Use it to skip tests on invalid charsets.
8961
8962 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8963
8964 * gdb.base/completion.exp: Add a test for directory completion.
8965
8966 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8967
8968 Fix a racy FAIL.
8969 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8970 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8971
8972 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8973
8974 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8975 * gdb.python/python-function.exp: Add test for function returning
8976 a GDB value.
8977
8978 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8979
8980 * gdb.python/python-function.exp: New file.
8981
8982 2009-03-20 Tom Tromey <tromey@redhat.com>
8983
8984 * gdb.base/store.exp: Update for change to escape output.
8985 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8986 to escape output.
8987 * gdb.base/pointers.exp: Update for change to escape output.
8988 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8989 to escape output.
8990 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8991 escape output.
8992 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8993 to escape output.
8994 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8995 escape output.
8996 * gdb.base/setvar.exp: Update for change to escape output.
8997 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8998 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8999 to escape output.
9000 (test_print_string_constants): Likewise.
9001 * gdb.base/charset.exp (valid_host_charset): Check size of
9002 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9003 cases. Handle "auto"-related output.
9004 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9005 (uvar, Uvar): New globals.
9006
9007 2009-03-19 Jerome Guitton <guitton@adacore.com>
9008
9009 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9010 deltas.
9011 * gdb.ada/fixed_points.exp: Ditto.
9012
9013 2009-03-18 Pedro Alves <pedro@codesourcery.com>
9014
9015 * return-nodebug.c: Don't include stdio.h.
9016 (init): Delete.
9017 (func): Delete definition and provide extern declaration.
9018 (t): New.
9019 (main): Don't call printf. Call func and store its result in t.
9020 * return-nodebug1.c: New.
9021 * return-nodebug.exp: Don't expect stdio output. Instead, print
9022 the global variable t. Drop printf formatters and cast types from
9023 foreach loop. Don't use prepare_for_testing. Compile
9024 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9025 define FORMAT or CAST.
9026
9027 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9028
9029 * gdb.base/solib-display.exp: Disable test for remote targers.
9030
9031 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9032
9033 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9034
9035 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9036
9037 Fix a racy FAIL.
9038 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9039 code from `follow parent, print pids'.
9040 (`follow child, print pids', `follow parent, print pids'): Call it.
9041 Replace `gdb_test "break..."' by gdb_breakpoint.
9042
9043 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9044
9045 * gdb.mi/mi-cli.exp: Adjust for output difference in
9046 sync and async modes.
9047
9048 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9049
9050 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9051 that was checked in by mistake. Remove loading of ada.exp, since
9052 this is not necessary in this case.
9053
9054 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9055
9056 * gdb.ada/ptype_arith_binop.exp: New testcase.
9057
9058 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9059
9060 * gdb.ada/mod_from_name: New testcase.
9061
9062 2009-03-12 Joel Brobecker <brobecker@adacore.com>
9063
9064 * gdb.ada/tick_last_segv: New testcase.
9065
9066 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9067
9068 * gdb.mi/mi-cli.exp: Remove debug print.
9069
9070 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9071
9072 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9073 include the token in ^running and frame info in *stopped.
9074
9075 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9076
9077 * solib-display.exp: New file.
9078 * solib-display-main.c: New file.
9079 * solib-display-lib.c: New file.
9080
9081 2009-03-05 Pedro Alves <pedro@codesourcery.com>
9082
9083 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9084
9085 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9086
9087 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9088 (list_and_check_macro): Use more specific test name.
9089 (next to definition): Make the test names unique.
9090
9091 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9092
9093 * gdb.pascal/floats.exp: Accept approximate results everywhere.
9094
9095 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9096
9097 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9098 notifications.
9099 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9100 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9101 * lib/mi-support.exp (library_loaded_re): New.
9102 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9103
9104 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9105
9106 * gdb.gdb/observer.exp: Use test_notification observer, not
9107 normal_stop, everywhere.
9108 (test_normal_stop_notifications): Rename to...
9109 (test_notifications): ...this.
9110 (test_observer_normal_stop): Rename to...
9111 (test_observer): ...this.
9112
9113 2009-02-16 Doug Evans <dje@google.com>
9114
9115 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9116 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9117 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9118 (test_prefixed_syscall,test_int3): New tests.
9119 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9120 (test_prefixed_syscall,test_int3): New tests.
9121
9122 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9123
9124 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9125 (mi_expect_interrupt): Likewise.
9126 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9127 response.
9128
9129 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9130
9131 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9132 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9133 Replace calls to get_valueofx by get_hexadecimal_valueof.
9134
9135 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9136
9137 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9138 (get_integer_valueof): New procedure.
9139 (get_sizeof): Use new get_integer_value_of.
9140 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9141 by get_integer_valueof.
9142
9143 2009-02-13 Tom Tromey <tromey@redhat.com>
9144
9145 * gdb.base/remote.exp (get_sizeof): Remove.
9146 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9147 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9148 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9149 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9150 (get_sizeof): Likewise.
9151
9152 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9153
9154 PR fortran/9806
9155 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9156
9157 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9158
9159 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9160
9161 2009-02-06 Pedro Alves <pedro@codesourcery.com>
9162
9163 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9164
9165 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9166
9167 * gdb.python/python-cmd.exp: New file.
9168
9169 2009-02-06 Tristan Gingold <gingold@adacore.com>
9170
9171 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9172
9173 2009-02-05 Tristan Gingold <gingold@adacore.com>
9174
9175 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9176 pointer is dereferenced and use this signal name in regexp.
9177 * gdb.base/signull.exp: Ditto.
9178 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9179 * gdb.base/signull.c (main): Ditto.
9180
9181 2009-02-04 Tom Tromey <tromey@redhat.com>
9182 Thiago Jung Bauermann <bauerman@br.ibm.com>
9183
9184 * gdb.python/python-value.exp: Use `gdb.history' instead of
9185 `gdb.value_from_history'.
9186 (test_value_numeric_ops): Add test for conversion of enum constant.
9187 * gdb.python/python-value.c (enum e): New type.
9188 (evalue): New global.
9189 (main): Use argv.
9190
9191 2009-02-04 Jerome Guitton <guitton@adacore.com>
9192
9193 * gdb.ada/uninitialized_vars: New test program.
9194 * gdb.ada/uninitialized_vars.exp: New testcase.
9195
9196 2009-02-02 Tom Tromey <tromey@redhat.com>
9197
9198 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9199 * gdb.cp/pr2489.cc: Rename...
9200 * gdb.cp/pr9594.cc: ... to this.
9201
9202 2009-02-02 Tom Tromey <tromey@redhat.com>
9203
9204 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9205 * gdb.cp/pr2489.cc: New file.
9206 * gdb.cp/cpcompletion.exp: New file.
9207
9208 2009-02-02 Tom Tromey <tromey@redhat.com>
9209
9210 PR exp/9059:
9211 * gdb.cp/call-c.exp: Add regression test.
9212 * gdb.cp/call-c.cc (FooHandle): New typedef.
9213 (main): New variable 'handle'.
9214
9215 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9216
9217 * lib/mi-support.exp (et_mi_thread_list)
9218 (check_mi_and_console_threads): Adjust for current thread in
9219 -thread-list-ids output.
9220
9221 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9222
9223 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9224 Call it.
9225
9226 2009-01-28 Doug Evans <dje@google.com>
9227
9228 * gdb.arch/amd64-disp-step.S: New file.
9229 * gdb.arch/amd64-disp-step.exp: New file.
9230 * gdb.arch/i386-disp-step.S: New file.
9231 * gdb.arch/i386-disp-step.exp: New file.
9232
9233 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9234
9235 * gdb.base/find.exp: Set newline variable
9236 using quotes instead of braces to fix cygwin failures.
9237
9238 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9239
9240 * gdb.base/radix.exp: Add tests to ensure that that set
9241 input-radix 0 and set output-radix 0 are really rejected.
9242
9243 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9244
9245 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9246 copyright years.
9247
9248 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9249
9250 PR gdb/9664:
9251 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9252
9253 2009-01-22 Pedro Alves <pedro@codesourcery.com>
9254
9255 PR c++/9631:
9256 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9257
9258 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9259
9260 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9261 binfile definition to fix Windows OS failure.
9262
9263 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9264
9265 PR gdb/9346
9266 * gdb.base/interrupt.c (sigint_handler): New.
9267 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9268 on error.
9269 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9270 Test "signal SIGINT".
9271
9272 2009-01-19 Doug Evans <dje@google.com>
9273
9274 * gdb.base/break.exp: Update expected gdb output.
9275 * gdb.base/sepdebug.exp: Ditto.
9276 * gdb.mi/mi-syn-frame.exp: Ditto.
9277 * gdb.mi/mi2-syn-frame.exp: Ditto.
9278 * gdb.base/call-signal-resume.exp: New file.
9279 * gdb.base/call-signals.c: New file.
9280 * gdb.base/unwindonsignal.exp: New file.
9281 * gdb.base/unwindonsignal.c: New file.
9282 * gdb.threads/interrupted-hand-call.exp: New file.
9283 * gdb.threads/interrupted-hand-call.c: New file.
9284 * gdb.threads/thread-unwindonsignal.exp: New file.
9285
9286 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9287
9288 * gdb.base/define.exp: Test defining and hooking prefix commands.
9289 * gdb.python/python.exp: Update test for "show user" output.
9290
9291 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9292
9293 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9294 now the output exactly, using less wildcards. Expect also the output
9295 of gfortran-4.3. Update for the f-valprint.c modification from
9296 2008-04-22.
9297 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9298 Remove gdb_test test names where matching the command.
9299
9300 2009-01-01 Pedro Alves <pedro@codesourcery.com>
9301
9302 PR breakpoints/9681:
9303 * gdb.base/watchpoint.exp: Add regression test.
9304
9305 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9306
9307 * gdb.threads/attach-into-signal.exp: Don't use
9308 gdb_suppress_entire_file.
9309 * gdb.threads/attach-stopped.exp: Ditto.
9310 * gdb.threads/attachstop-mt.exp: Ditto.
9311
9312 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9313
9314 PR gdb/8812:
9315 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9316
9317 2008-12-29 Pedro Alves <pedro@codesourcery.com>
9318
9319 PR gdb/7536:
9320 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9321 and unsupported output radices are really rejected.
9322
9323 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9324
9325 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9326
9327 2008-12-22 Tom Tromey <tromey@redhat.com>
9328
9329 * gdb.cp/punctuator.exp: New file.
9330
9331 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9332
9333 * gdb.base/completion.exp (Completing non-existing component): New test.
9334
9335 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9336
9337 Fix for PR gdb/8648.
9338 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9339 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9340 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9341 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9342
9343 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9346
9347 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
9348
9349 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9350 compiler actually generate code at the expected line number.
9351
9352 2008-12-15 Jie Zhang <jie.zhang@analog.com>
9353
9354 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9355
9356 2008-12-12 Tom Tromey <tromey@redhat.com>
9357
9358 * gdb.base/commands.exp (redefine_hook_test): New proc.
9359 Call it.
9360
9361 2008-12-11 Tom Tromey <tromey@redhat.com>
9362
9363 * gdb.base/macscp.exp: New regression test.
9364
9365 2008-12-11 Tom Tromey <tromey@redhat.com>
9366
9367 * gdb.base/macscp.exp: Print "address.addr".
9368 * gdb.base/macscp1.c (struct outer): New struct.
9369 (address): New global.
9370
9371 2008-12-09 Tom Tromey <tromey@redhat.com>
9372
9373 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9374 Call it.
9375
9376 2008-12-04 Doug Evans <dje@google.com>
9377
9378 * gdb.server/ext-run.exp: Relax regexp for init program.
9379
9380 2008-12-03 Tristan Gingold <gingold@adacore.com>
9381
9382 * gdb.base/macscp.exp: Generate an object file during compilation
9383 to work around Darwin dsymutil limitations.
9384
9385 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9386
9387 Test resolving external references to TLS variables.
9388 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9389 FILE2_THREAD_LOCAL.
9390 (testfile2, srcfile2): New variables.
9391 * gdb.threads/tls.c (file2_thread_local)
9392 (function_referencing_file2_thread_local): New.
9393 * gdb.threads/tls2.c: New file.
9394
9395 2008-11-28 Joel Brobecker <brobecker@adacore.com>
9396
9397 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
9398 rather than integer, as integer might not be big enough when
9399 on 64bit targets.
9400
9401 2008-11-27 Jerome Guitton <guitton@adacore.com>
9402
9403 * gdb.cp/formatted-ref.exp: Add equality test.
9404 * gdb.ada/formatted_ref.exp: Ditto.
9405
9406 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9407
9408 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9409 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9410
9411 2008-11-20 Andreas Schwab <schwab@suse.de>
9412
9413 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9414 matching syscall entry point.
9415 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9416 (tcatch_vfork_then_child_follow): Likewise. Finish through
9417 vfork even if we stopped at the syscall trampoline.
9418
9419 2008-11-20 Doug Evans <dje@google.com>
9420
9421 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9422
9423 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9424
9425 * gdb.arch/ppc-dfp.exp: New file.
9426 * gdb.arch/ppc-dfp.c: New file.
9427
9428 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9429
9430 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
9431
9432 2008-11-17 Doug Evans <dje@google.com>
9433
9434 * gdb.mi/mi-syn-frame.exp: Update expected output.
9435 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9436
9437 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9438
9439 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
9440 "thread N" results in =thread-selected.
9441 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9442 (mi_send_resuming_command_raw): Be prepared for
9443 =thread-selected.
9444
9445 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9446
9447 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9448 * lib/mi-support.exp: Likewise.
9449
9450 2008-11-16 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9453 commands from the expected output for "help catch".
9454
9455 2008-11-15 Joel Brobecker <brobecker@adacore.com>
9456
9457 * gdb.ada/int_deref.exp: New testcase.
9458
9459 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
9460
9461 * gdb.mi/gdb2549.exp: New file.
9462
9463 2008-11-11 Doug Evans <dje@google.com>
9464
9465 * gdb.base/callexit.exp: New file.
9466 * gdb.base/callexit.c: New file.
9467
9468 2008-11-10 Doug Evans <dje@google.com>
9469
9470 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9471 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9472 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9473 (default_gdb_start,default_gdb_exit): Ditto.
9474 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9475 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9476 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9477 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9478 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9479 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9480
9481 2008-11-03 Andreas Schwab <schwab@suse.de>
9482
9483 * gdb.base/hashline2.exp: Fix typo.
9484 * gdb.base/hashline3.exp: Likewise.
9485
9486 2008-10-30 Tom Tromey <tromey@redhat.com>
9487
9488 * gdb.base/pointers.exp: Add test.
9489 * gdb.base/pointers.c (k, S): New typedefs.
9490 (instance): New global.
9491
9492 2008-10-30 Andreas Schwab <schwab@suse.de>
9493
9494 * gdb.base/args.exp: Add tests for newlines.
9495
9496 2008-10-30 Joel Brobecker <brobecker@adacore.com>
9497
9498 gdb.base/foll-exec.exp: Update the expected output of a couple
9499 of "info breakpoints" tests.
9500
9501 2008-10-28 Tom Tromey <tromey@redhat.com>
9502
9503 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9504
9505 2008-10-24 Pedro Alves <pedro@codesourcery.com>
9506
9507 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9508 gdb_start_cmd.
9509 Use runto_main before any test that requires execution.
9510
9511 2008-10-23 Pedro Alves <pedro@codesourcery.com>
9512
9513 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9514 instead of SIGINT.
9515
9516 2008-10-22 Joel Brobecker <brobecker@adacore.com>
9517
9518 * gdb.base/completion.exp: Update expected output following
9519 the addition of the "info tasks" command.
9520
9521 2008-10-22 Tom Tromey <tromey@redhat.com>
9522
9523 * gdb.base/exprs.exp (test_expr): Add test for string
9524 concatenation.
9525
9526 2008-10-19 Pedro Alves <pedro@codesourcery.com>
9527
9528 * configure.ac: Output gdb.python/Makefile.
9529 * configure: Regenerate.
9530 * gdb.python/Makefile.in: New.
9531
9532 2008-10-16 Joel Brobecker <brobecker@adacore.com>
9533
9534 * gdb.base/foll-fork.exp: Adjust the expected output to match
9535 the new description for fork/vfork catchpoints in the "info
9536 breakpoints" output.
9537
9538 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9539
9540 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9541
9542 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9543
9544 * gdb.python/python-value.c: New file.
9545 * gdb.python/python-value.exp: New file.
9546
9547 2008-10-15 Pedro Alves <pedro@codesourcery.com>
9548
9549 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9550
9551 2008-10-15 Denis Pilat <denis.pilat@st.com>
9552
9553 * gdb.cp/mb-ctor.exp: Fix a typo.
9554
9555 2008-10-09 Tom Tromey <tromey@redhat.com>
9556
9557 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9558 'fprintf' and 'stderr'.
9559
9560 2008-10-07 Joel Brobecker <brobecker@adacore.com>
9561
9562 * gdb.ada/ref_tick_size.exp: New testcase.
9563
9564 2008-10-06 Doug Evans <dje@google.com>
9565
9566 * gdb.dwarf2/dw2-cu-size.exp: New file.
9567 * gdb.dwarf2/dw2-cu-size.S: New file.
9568
9569 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9570 .Ltype_int for clarity.
9571
9572 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9573
9574 PR gdb/2384:
9575 * gdb.cp/gdb2384.exp: Extended to test more cases.
9576 * gdb.cp/gdb2384.cc: Likewise.
9577 * gdb.cp/gdb2384-base.h: Likewise.
9578 * gdb.cp/gdb2384-base.cc: Likewise.
9579
9580 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9581
9582 * gdb.base/maint.exp (maint print type): Remove printing
9583 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9584
9585 2008-09-30 Tom Tromey <tromey@redhat.com>
9586
9587 * gdb.base/macscp.exp: Add completion tests.
9588 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9589 (TWENTY_THREE): Likewise.
9590 (FORTY_EIGHT): Likewise.
9591
9592 2008-09-30 Tom Tromey <tromey@redhat.com>
9593
9594 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9595 everywhere.
9596 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9597
9598 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9599
9600 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9601 testcase is derived from. Fix racy dependency on an expected PID
9602 number. No longer support the testcase on Linux kernel 2.4.x.
9603
9604 2008-09-27 Tom Tromey <tromey@redhat.com>
9605
9606 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9607 and varargs.
9608
9609 2008-09-22 Pedro Alves <pedro@codesourcery.com>
9610
9611 * lib/mi-support.exp (mi_expect_interrupt): New.
9612 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9613 from gdb.mi/mi-nonstop.exp.
9614 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9615 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9616 lib/mi-support.exp.
9617 Use mi_check_thread_states throughout. Avoid ".*" and do not
9618 require an anchor after -exec-run.
9619
9620 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9621
9622 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9623 stop is pending. Avoid ".*" when two stops are pending.
9624 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9625 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9626 newlines in fullnames.
9627 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9628 (mi_expect_stop): Update comments. Only anchor in sync mode.
9629 Do not match newlines.
9630 (mi_send_resuming_command_raw): Always return status.
9631 (mi_get_stop_line): Do not match more than one line by accident.
9632 Only anchor in sync mode.
9633 (mi_run_inline_test): If -exec-next fails, give up.
9634
9635 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9636
9637 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9638 on SPU.
9639
9640 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9641
9642 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9643
9644 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9645
9646 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9647 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9648 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9649 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9650 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9651 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9652 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9653 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9654 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9655 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9656 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9657 Include the "= " sequence in the expected output of print tests.
9658
9659 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9660
9661 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9662 description for boolean types.
9663
9664 2008-09-09 Pedro Alves <pedro@codesourcery.com>
9665
9666 * gdb.base/hook-stop-continue.c: New.
9667 * gdb.base/hook-stop-continue.exp: New.
9668
9669 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9670
9671 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9672
9673 2008-09-08 Jerome Guitton <guitton@adacore.com>
9674
9675 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9676 (stack_check_probe_2, stack_check_probe_loop_1)
9677 (stack_check_probe_loop_2): New functions.
9678 (main): Add call to these new functions.
9679 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9680 functions, check that the breakpoint is inserted at the appropriate
9681 location.
9682 (insert_breakpoint): Slightly refine this procedure so that it can
9683 be called several times in the test.
9684
9685 2008-09-08 Jerome Guitton <guitton@adacore.com>
9686
9687 * gdb.base/stack-checking.c: New file.
9688 * gdb.base/stack-checking.exp: New file.
9689
9690 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9691
9692 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9693 * gdb.arch/altivec-regs.exp: Likewise.
9694 * gdb.arch/vsx-regs.exp: Likewise.
9695
9696 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9697
9698 * gdb.arch/ppc-fp.exp: New file.
9699 * gdb.arch/ppc-fp.c: New file.
9700
9701 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9702
9703 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9704 lest gcc-4.3.1 optimizes the whole thing away.
9705
9706 2008-09-04 Michael Snyder <msnyder@vmware.com>
9707
9708 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9709 as "at" (for non-debug functions such as _start).
9710
9711 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9712
9713 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9714 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9715 software watchpoints.
9716 * gdb.base/watch_thread_num.exp: Likewise.
9717
9718 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9719
9720 * gdb.arch/i386-bp_permanent.exp: New test.
9721
9722 2008-08-24 Tom Tromey <tromey@redhat.com>
9723
9724 * gdb.base/maint.exp: Update "maint print type".
9725
9726 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9727
9728 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9729 support. Adjust the order of "*running" notifications.
9730 * gdb.mi/non-stop.c: Don't cast from int to void* and
9731 back.
9732
9733 2008-08-20 Mark Kettenis <kettenis@gnu.org>
9734
9735 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9736 expect to find it in the "info frame" output.
9737
9738 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9739
9740 * gdb.base/interp.exp: Always consume both prompts.
9741
9742 2008-08-20 Pedro Alves <pedro@codesourcery.com>
9743
9744 * gdb.base/pending.exp: Test pending breakpoints without symbols
9745 loaded.
9746
9747 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9748
9749 * lib/mi-support.exp (mi_expect_stop): Produce
9750 more details on failures.
9751 * gdb.mi/mi-nonstop.exp: New.
9752 * gdb.mi/non-stop.c: New.
9753
9754 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9755
9756 * gdb.mi/mi-async.exp: Use 'set target-async'.
9757 * lib/mi-support.exp: Use 'set/show target-async'.
9758
9759 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9760
9761 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9762
9763 2008-08-17 Tom Tromey <tromey@redhat.com>
9764
9765 * gdb.base/help.exp (help catch): Rewrite.
9766
9767 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9768
9769 * gdb.base/define.exp: Test indented command documentation.
9770 * gdb.python/python.exp: Test indented multi-line command.
9771
9772 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
9773
9774 * testsuite/gdb.arch/vsx-regs.c: New source file.
9775 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9776 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9777
9778 2008-08-14 Tom Tromey <tromey@redhat.com>
9779
9780 * gdb.base/macscp.exp: Add regression test for "macro define" or
9781 "macro undef" with no arguments.
9782
9783 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9784
9785 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9786
9787 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9788
9789 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9790
9791 2008-08-06 Tom Tromey <tromey@redhat.com>
9792
9793 * gdb.python/python.exp: New file.
9794
9795 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9796
9797 Fix for PR gdb/1543.
9798 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9799 $LOCATION.
9800 (location): New variable.
9801 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9802 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9803 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9804 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9805 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9806 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9807 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9808 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9809 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9810 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9811 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9812 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9813 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9814 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9815 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9816 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9817 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9818 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9819 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9820 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9821 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9822 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9823 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9824 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9825 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9826 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9827 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9828 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9829 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9830 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9831 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9832 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9833 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9834 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9835 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9836 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9837 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9838 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9839 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9840 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9841 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9842 gdb.base/type-opaque.exp, gdb.base/until.exp,
9843 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9844 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9845 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9846 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9847 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9848 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9849 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9850 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9851 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9852 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9853 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9854 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9855 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9856 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9857 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9858 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9859 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9860 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9861 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9862 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9863 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9864 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9865 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9866 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9867 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9868 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9869 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9870 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9871 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9872 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9873 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9874 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9875 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9876 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9877 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9878 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9879 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9880 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9881 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9882 to bug-gdb@prep.ai.mit.edu .
9883
9884 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9885
9886 * lib/mi-support.exp (mi_load_shlibs): New.
9887 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9888
9889 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9890
9891 * lib/mi-support.exp (get_mi_thread_list)
9892 (check_mi_and_console_threads): New, moved from ...
9893 * gdb.mi/mi-pthread.exp: ...here.
9894 * gdb.mi/gdb669.exp (get_mi_thread_list)
9895 (check_mi_and_console_threads): Delete.
9896 * gdb.mi/mi2-pthread.exp: Likewise.
9897
9898 2008-07-28 Tom Tromey <tromey@redhat.com>
9899
9900 * Makefile.in (just-check): Remove. Move body to...
9901 (check): ... here.
9902
9903 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9904
9905 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9906 Add a test for duplicated SIGINTs.
9907
9908 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9909
9910 * gdb.threads/schedlock.exp (get_args): Update to work for any
9911 value of NUM.
9912 (Top level): Report the number of threads that did not resume.
9913
9914 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9915
9916 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9917
9918 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9919
9920 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9921 non-MI prompt.
9922
9923 2008-07-26 Tom Tromey <tromey@redhat.com>
9924
9925 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9926 (function_struct, function_struct_ptr): New globals.
9927 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9928 function pointer in a struct.
9929
9930 2008-07-26 Tom Tromey <tromey@redhat.com>
9931
9932 * gdb.base/macscp.exp: Add test for macro lexing bug.
9933
9934 2008-07-18 Tom Tromey <tromey@redhat.com>
9935
9936 * gdb.base/macscp.exp: Add macro tests.
9937
9938 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9939
9940 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9941
9942 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9943
9944 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9945
9946 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9947
9948 * gdb.cp/class2.exp: fix for failure on spu-elf
9949
9950 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9951
9952 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9953
9954 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9955
9956 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9957
9958 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9959
9960 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9961
9962 2008-07-11 Kevin Buettner <kevinb@redhat.com>
9963
9964 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9965 of regexp to account for changes made to GDB in the printing of
9966 byte vectors.
9967
9968 2008-07-11 Tom Tromey <tromey@redhat.com>
9969
9970 * gdb.base/completion.exp: Add 'help' completion test.
9971
9972 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9973
9974 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9975
9976 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9977
9978 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9979
9980 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9981
9982 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9983
9984 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9985
9986 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9987
9988 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9989
9990 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9991
9992 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9993
9994 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9995 previous commit. Add a comment.
9996
9997 2008-06-28 Pedro Alves <pedro@codesourcery.com>
9998
9999 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10000
10001 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10002
10003 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10004
10005 2008-06-27 Pedro Alves <pedro@codesourcery.com>
10006
10007 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10008 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10009 compiling an executable, link in an object that forces unbuffered
10010 output.
10011 * lib/set_unbuffered_mode.c: New file.
10012
10013 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10014
10015 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10016
10017 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10018
10019 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10020 mi_expect_stop.
10021 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10022 Demand that *running is output.
10023 (detect_async): Perform checking every time.
10024 (mi_send_resuming_command): Extract everything into...
10025 (mi_send_resuming_command_raw): ...this.
10026 (mi_expect_stop): Don't accept any output before *stopped.
10027
10028 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10029
10030 Robustify mi-simplerun.
10031 * gdb.mi/basics.c (main): Add a call to sleep.
10032 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10033 * gdb.mi/mi2-cli.exp: Likewise.
10034 * gdb.mi/mi-break.exp: Likewise.
10035
10036 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
10037
10038 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10039
10040 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10041
10042 * gdb.mi/mi-console.exp: Adjust.
10043 * gdb.mi/mi-syn-frame.exp: Adjust.
10044 * gdb.mi/mi2-console.exp: Adjust.
10045 * gdb.mi/mi2-syn-frame.exp: Adjust.
10046 * lib/mi-support.exp (mi_run_cmd): Adjust.
10047 (mi_send_resuming_command): Adjust.
10048
10049 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10050
10051 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
10052 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10053 testing of stopped.
10054 * gdb.mi/mi2-syn-frame.exp: Likewise.
10055 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10056 (async, detect_async): New.
10057 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10058 depending on if we're running in sync or async mode.
10059
10060 2008-06-09 Tom Tromey <tromey@redhat.com>
10061
10062 * gdb.base/completion.exp: New tests for field name completion
10063 with spaces, and field name completion with '->'.
10064
10065 2008-06-06 Tom Tromey <tromey@redhat.com>
10066
10067 * gdb.base/break1.c (struct some_struct): New struct.
10068 (values): New global.
10069 * gdb.base/completion.exp: Add field name completion test.
10070
10071 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10072
10073 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10074 to pointer.
10075 * gdb.cp/call-c.cc: Likewise.
10076
10077 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
10078
10079 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10080 annotation.
10081
10082 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10083 Pedro Alves <pedro@codesourcery.com>
10084
10085 * gdb.threads/execl.c, gdb.threads/execl1.c,
10086 gdb.threads/execl.exp: New tests.
10087
10088 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10089 Daniel Jacobowitz <dan@codesourcery.com>
10090
10091 * gdb.cp/exception.exp: Activate test, make it work with pending
10092 catchpoints.
10093
10094 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10095
10096 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10097
10098 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10099
10100 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10101 now printed.
10102 * gdb.mi/mi2-var-cmd.exp: Likewise.
10103
10104 2008-05-27 Andreas Schwab <schwab@suse.de>
10105
10106 * gdb.base/frame-args.exp: Handle arguments that are optimized
10107 out.
10108
10109 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
10110
10111 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10112 quiet for ppc32 and group options into a single variable.
10113
10114 2008-05-23 Joel Brobecker <brobecker@adacore.com>
10115
10116 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10117 of zero-size elements.
10118 * gdb.ada/null_array.exp: Test printing this new array.
10119
10120 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10121
10122 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10123
10124 2008-05-21 Joel Brobecker <brobecker@adacore.com>
10125
10126 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10127 of the "finish" command.
10128
10129 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
10130
10131 * gdb.base/annota1.exp: Test for new annotation.
10132
10133 2008-05-16 Pedro Alves <pedro@codesourcery.com>
10134
10135 * gdb.base/fixsection.exp: New file.
10136 * gdb.base/fixsection0.c: New file.
10137 * gdb.base/fixsection1.c: New file.
10138
10139 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10140
10141 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10142 * gdb.base/annota3.exp: Likewise.
10143
10144 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10145
10146 * gdb.base/watch_thread_num.exp: Don't run tests that require
10147 watchpoints if the target doesn't support them.
10148
10149 2008-05-12 Doug Evans <dje@google.com>
10150
10151 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10152
10153 2008-05-09 Joel Brobecker <brobecker@adacore.com>
10154
10155 * gdb.ada/assign_1.exp: New testcase.
10156
10157 2008-05-09 Doug Evans <dje@google.com>
10158
10159 * gdb.base/find.exp: New file.
10160 * gdb.base/find.c: New file.
10161
10162 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10163
10164 * gdb.base/commands.exp (watchpoint_command_test): Handle
10165 gdb,no_hardware_watchpoints.
10166 * gdb.base/float.exp: Allow ARM targets without floating point.
10167 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10168
10169 2008-05-06 Jerome Guitton <guitton@adacore.com>
10170 Joel Brobecker <brobecker@adacore.com>
10171
10172 * gdb.ada/lang_switch: New test program.
10173 * gdb.ada/lang_switch.exp: New testcase.
10174
10175 2008-05-05 Doug Evans <dje@google.com>
10176
10177 * gdb.base/help.exp (disassemble): Update expected help text.
10178
10179 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10180
10181 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10182
10183 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10184
10185 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10186 different times.
10187
10188 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10189
10190 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10191 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10192 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10193 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10194
10195 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10196
10197 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10198 notification to appear.
10199
10200 2008-05-04 Daniel Jacobowitz <dan@debian.org>
10201
10202 * gdb.base/fullname.c: New file.
10203 * gdb.base/fullname.exp: New file.
10204 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10205
10206 2008-05-03 Pedro Alves <pedro@codesourcery.com>
10207
10208 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10209 expressions with macros.
10210
10211 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10212
10213 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10214
10215 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10216
10217 * gdb.base/completion.exp: Handle lack of other symbols beginning
10218 with "a".
10219
10220 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10221
10222 2008-05-02 Jim Blandy <jimb@codesourcery.com>
10223
10224 * gdb.asm/asmsrc1.s: Add scratch space.
10225
10226 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10227 Daniel Jacobowitz <dan@codesourcery.com>
10228
10229 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10230 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10231 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10232
10233 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10234
10235 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10236
10237 2008-05-01 Joel Brobecker <brobecker@adacore.com>
10238
10239 * gdb.base/info-target.exp: New testcase.
10240
10241 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10242
10243 * gdb.cp/hang.exp: Use .cc instead of .C.
10244 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10245 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10246
10247 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10248
10249 * gdb.base/gdb1250.exp: Remove perror.
10250 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10251
10252 2008-04-30 Pedro Alves <pedro@codesourcery.com>
10253
10254 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10255 .2byte.
10256
10257 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10258
10259 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10260 (maybe_kfail): New.
10261
10262 2008-04-25 Pedro Alves <pedro@codesourcery.com>
10263
10264 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10265
10266 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10267
10268 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10269 * gdb.mi/mi2-syn-frame.exp: Likewise.
10270 * lib/mi-support.exp: Likewise.
10271
10272 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10273
10274 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10275 to specify regexp for the location to stop at.
10276 * gdb.base/break-always.c: New.
10277 * gdb.base/break-always.exp: New.
10278
10279 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10280
10281 * lib/mi-support.exp (mi_runto_helper): Adjust
10282 for the original-location field.
10283 (mi_create_breakpoint, mi_list_breakpoints): New.
10284 * gdb.mi/mi-break.exp: Adjust.
10285 * gdb.mi/mi2-break.exp: Adjust.
10286 * gdb.mi/mi-pending.exp: Adjust.
10287 * gdb.mi/mi-simplerun.exp: Adjust.
10288 * gdb.mi/mi2-simplerun.exp: Adjust.
10289 * gdb.mi/mi-syn-frame.exp: Adjust.
10290 * gdb.mi/mi2-syn-frame.exp: Adjust.
10291 * gdb.mi/mi-until.exp: Adjust.
10292 * gdb.mi/mi2-until.exp: Adjust.
10293 * gdb.mi/mi-var-display.exp: Adjust.
10294 * gdb.mi/mi2-var-display.exp: Adjust.
10295 * gdb.mi/mi-watch.exp: Adjust.
10296 * gdb.mi/mi2-watch.exp: Adjust.
10297
10298 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
10299
10300 * aclocal.m4: Add override.m4.
10301 * configure: Regenerate.
10302
10303 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10304
10305 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10306 '-var-update --all-values' reports new value even the type
10307 of a variable object has changed.
10308
10309 2008-04-18 Craig Silverstein <csilvers@google.com>
10310
10311 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10312 files.
10313
10314 2008-04-18 Joel Brobecker <brobecker@adacore.com>
10315
10316 * gdb.ada/atomic_enum: New test program.
10317 * gdb.ada/atomic_enum.exp: New testcase.
10318
10319 2008-04-17 Doug Evans <dje@google.com>
10320
10321 * gdb.opt/Makefile.in: Fix whitespace.
10322
10323 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10324
10325 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10326
10327 2008-04-17 Doug Evans <dje@google.com>
10328
10329 * gdb.base/hashline1.exp: New testcase.
10330 * gdb.base/hashline2.exp: New testcase.
10331 * gdb.base/hashline2.exp: New testcase.
10332
10333 2008-04-17 Pedro Alves <pedro@codesourcery.com>
10334
10335 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10336
10337 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10338
10339 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10340 temporary breakpoint to match "Temporary breakpoint".
10341 * gdb.base/break.exp (delete_breakpoints): Likewise.
10342 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10343 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10344 * gdb.base/display.exp: Likewise.
10345 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10346 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10347 * gdb.base/restore.exp (restore_tests): Likewise.
10348 * gdb.base/sepdebug.exp: Likewise.
10349 * gdb.base/watchpoint.exp: Likewise.
10350 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10351 * gdb.mi/mi-pending.exp: Likewise.
10352 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10353 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10354 * gdb.mi/mi-var-cmd.exp: Likewise.
10355 * gdb.mi/mi-var-display.exp: Likewise.
10356 * gdb.mi/mi2-cli.exp: Likewise.
10357 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10358 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10359 * gdb.mi/mi2-var-display.exp: Likewise.
10360 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10361 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10362 new "disp" field.
10363 (mi_expect_stop): Move after_reason argument to be really after
10364 reason. This is to support fix for PR2424.
10365
10366 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10367
10368 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10369
10370 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10371
10372 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
10373 field. Add more floating varobj tests.
10374 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
10375 field.
10376 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10377 (main): Call do_at_tests.
10378 * lib/mi-support.exp (mi_create_floating_varobj)
10379 (mi_varobj_update_with_type_change): New.
10380
10381 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10382
10383 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10384 option of -var-evaluate-expression.
10385 * gdb.mi/mi2-var-display.exp: Likewise.
10386
10387 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10388
10389 Introduce test setup helpers.
10390 * lib/gdb.exp (build_executable, clean_restart)
10391 (prepare_for_testing): New.
10392 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10393 * gdb.base/return.exp: Likewise.
10394 * gdb.base/ending-run.exp: Likewise.
10395
10396 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
10397
10398 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10399 Interface (MI) responses.
10400
10401 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10402
10403 * gdb.cp/breakpoint.cc: New code to test conditions involving
10404 member variables.
10405 * gdb.cp/breakpoint.exp: Test condition involving member
10406 variables.
10407
10408 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10409
10410 * lib/mi-support.exp (mi_expect_stop): New.
10411 (mi_run_cmd): Change the
10412 token. Use mi_send_resuming_command, use
10413 mi_expect_stop.
10414 (mi_execute_to_helper): Rename to mi_execute_to.
10415 (mi_send_resuming_command): Add more error patterns.
10416 (mi_wait_for_stop): Renamed to...
10417 (mi_get_stop_line): ...this.
10418 (mi_run_inline_test): Adjust.
10419
10420 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10421 * gdb.mi/mi-console.exp: Likewise.
10422 * gdb.mi/mi-pending.exp: Likewise.
10423 * gdb.mi/mi-simplerun.exp: Likewise.
10424 * gdb.mi/mi-stack.exp: Likewise.
10425 * gdb.mi/mi-stepi.exp: Likewise.
10426 * gdb.mi/mi-syn-frame.exp: Add comment.
10427 * gdb.mi/mi-until.exp: Likewise.
10428 * gdb.mi/mi-var-display.exp: Likewise.
10429 * gdb.mi/mi-watch.exp: Likewise.
10430 * gdb.mi/mi2-cli.exp: Likewise.
10431 * gdb.mi/mi2-console.exp: Likewise.
10432 * gdb.mi/mi2-simplerun.exp: Likewise.
10433 * gdb.mi/mi2-stack.exp: Likewise.
10434 * gdb.mi/mi2-stepi.exp: Likewise.
10435 * gdb.mi/mi2-until.exp: Likewise.
10436 * gdb.mi/mi2-var-display.exp: Likewise.
10437 * gdb.mi/mi2-watch.exp: Likewise.
10438
10439 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10440
10441 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10442
10443 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10444
10445 2008-04-04 Pedro Alves <pedro@codesourcery.com>
10446
10447 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10448 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10449 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10450 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10451 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10452 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10453 expect an mi error duplicated in stderr.
10454
10455 2008-04-03 Joel Brobecker <brobecker@adacore.com>
10456
10457 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10458 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10459 Add a couple of tests that verify the behavior when the new setting
10460 is set to "cancel" and "all".
10461 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10462 "ask" before we start the testing.
10463
10464 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10465
10466 * gdb.cp/casts.cc: Add class reference variables.
10467 * gdb.cp/casts.exp: New test cases for up/down casting references.
10468
10469 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10470
10471 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10472 instead of beginning to make an extra test pass.
10473 * gdb.mi/mi2-var-display.exp: Likewise.
10474
10475 2008-03-31 Maciej W. Rozycki <macro@mips.com>
10476
10477 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10478
10479 2008-03-31 Markus Deuling <deuling@de.ibm.com>
10480 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10481
10482 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10483 value. Add xfail for older kernels.
10484
10485 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10486
10487 Bring mi-support in line with gdb.exp.
10488 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10489 (mi_gdb_start): New function.
10490
10491 2008-03-28 Maciej W. Rozycki <macro@mips.com>
10492
10493 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10494
10495 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10496
10497 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10498 * gdb.mi/mi2-var-display.exp: Likewise.
10499
10500 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10501
10502 * lib/mi-support.exp (mi_create_varobj_checked): New.
10503 (mi_list_varobj_children): Allow to check for a
10504 value.
10505 (mi_list_array_varobj_children): New.
10506
10507 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10508 and mi_list_varobj_children, as opposed to hardcoding
10509 expected strings.
10510 * gdb.mi/gdb701.exp: Likewise.
10511 * gdb.mi/gdb792.exp: Likewise.
10512 * gdb.mi/mi-var-block.exp: Likewise.
10513 * gdb.mi/mi-var-cmd.exp: Likewise.
10514 * gdb.mi/mi-var-invalidate.exp: Likewise.
10515 * gdb.mi/mi2-var-block.exp: Likewise.
10516 * gdb.mi/mi2-var-child.exp: Likewise.
10517 * gdb.mi/mi2-var-cmd.exp: Likewise.
10518 * gdb.mi/mi2-var-display.exp: Likewise.
10519
10520 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10521
10522 Fix random false FAILs on i386.
10523 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10524
10525 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10526
10527 PR gdb/544
10528 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10529
10530 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10531
10532 PR gdb/544
10533 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10534
10535 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10536
10537 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10538 fixed PR gdb/544.
10539
10540 2008-03-21 Pedro Alves <pedro@codesourcery.com>
10541
10542 * gdb.threads/fork-child-threads.exp: Test next over fork.
10543
10544 2008-03-21 Chris Demetriou <cgd@google.com>
10545
10546 * gdb.base/break.exp (rbreak junk): New test for rbreak
10547 "Junk at end of arguments" issue.
10548
10549 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10550
10551 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10552 *& to work on created array elements.
10553 (Top level): Test print $pc with a file. Test string operations
10554 without a target.
10555 * gdb.base/ptype.exp: Do not expect *& to work on created array
10556 elements.
10557
10558 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10559
10560 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10561 gdb.threads/staticthreads.exp: Update exit query.
10562
10563 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10564
10565 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10566
10567 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10568
10569 * gdb.base/watchpoint.c (global_ptr, func4): New.
10570 (main): Call func4.
10571 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10572 (test_inaccessible_watchpoint): New.
10573
10574 2008-02-29 Maciej W. Rozycki <macro@mips.com>
10575
10576 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10577 select the largest.
10578
10579 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10580
10581 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10582 frames-invalid annotations.
10583
10584 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10585
10586 * gdb.base/assign.exp: avoid same output for different tests.
10587
10588 2008-02-27 Doug Evans <dje@google.com>
10589
10590 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10591 for bug 1738.
10592 (breakpoint_to_handler_entry): Ditto.
10593
10594 2008-02-27 Joel Brobecker <brobecker@adacore.com>
10595
10596 * gdb.base/ending-run.exp: Use the first line of code inside
10597 function body to test breakpoints.
10598 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10599 location where the breakpoint is inserted when using the line
10600 where a function is declared. Fix typo in the description of
10601 one of the tests.
10602 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10603
10604 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10605
10606 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10607 tests.
10608
10609 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10610
10611 * gdb.base/args.exp: avoid same output for tests
10612 with single quotes.
10613
10614 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10615
10616 * gdb.base/annota1.exp: Adjust for 'info break'
10617 format changes.
10618 * gdb.base/annota3.exp: Likewise.
10619 * gdb.base/break.exp: Likewise.
10620 * gdb.base/condbreak.exp: Likewise.
10621 * gdb.base/pending.exp: Likewise.
10622 * gdb.base/sepdebug.exp: Likewise.
10623 * gdb.base/unload.exp: Likewise.
10624 * gdb.cp/ovldbreak.exp: Likewise.
10625 * gdb.mi/mi-pending.exp: Likewise.
10626
10627 2008-02-07 Doug Evans <dje@google.com>
10628
10629 * gdb.cp/mb-inline.exp: New.
10630 * gdb.cp/mb-inline.h: New.
10631 * gdb.cp/mb-inline1.cc: New.
10632 * gdb.cp/mb-inline2.cc: New.
10633
10634 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10635
10636 * gdb.pascal/floats.pas: New test program.
10637 * gdb.pascal/floats.exp: New testcase.
10638
10639 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10640
10641 * gdb.base/callfuncs.c (t_float_many_args): New function.
10642 (t_double_many_args): New function.
10643 * gdb.base/callfuncs.exp: Add tests for exceeding float
10644 and double parameters passed through the stack.
10645
10646 2008-02-05 Joel Brobecker <brobecker@adacore.com>
10647
10648 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10649 gdb.ada/complete/foo.adb: New files.
10650 * gdb.ada/complete.exp: New testcase.
10651
10652 2008-02-03 Doug Evans <dje@google.com>
10653
10654 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10655
10656 * gdb.cp/gdb2384.exp: New file.
10657 * gdb.cp/gdb2384.cc: New file.
10658 * gdb.cp/gdb2384-base.h: New file.
10659 * gdb.cp/gdb2384-base.cc: New file.
10660
10661 2008-02-02 Doug Evans <dje@google.com>
10662
10663 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10664
10665 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10666
10667 * gdb.ada/sym_print_name: New test program.
10668 * gdb.ada/sym_print_name.exp: New testcase.
10669
10670 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10671
10672 * gdb.ada/nested/hello.adb: New file.
10673 * gdb.ada/nested.exp: New testcase.
10674 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10675
10676 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10677
10678 * gdb.mi/basic.c (return_1): New function.
10679 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10680 don't cause future evaluations of function to report
10681 creation of internal breakpoints.
10682
10683 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10684
10685 * gdb.mi/mi-break.exp (test_error): New.
10686 Call it.
10687
10688 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
10689
10690 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10691 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10692
10693 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10694
10695 * gdb.pascal/integers.pas: New test program.
10696 * gdb.pascal/integers.exp: New testcase.
10697
10698 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10699
10700 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10701
10702 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
10703
10704 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10705 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10706
10707 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10708
10709 * gdb.ada/formatted_ref: New test program.
10710 * gdb.ada/formatted_ref.exp: New testcase.
10711
10712 * gdb.cp/formatted-ref.cc: New file.
10713 * gdb.cp/formatted-ref.exp: New testcase.
10714
10715 2008-01-30 Joel Brobecker <brobecker@adacore.com>
10716
10717 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10718
10719 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
10720
10721 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10722 (test_file_list_exec_source_file): Update to new macro-info field.
10723
10724 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10725
10726 * gdb.ada/exprs: New test program.
10727 * gdb.ada/exprs.exp: New testcase.
10728
10729 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10730
10731 * dfp-test.c (DELTA, DELTA_B): New definitions.
10732 (double_val1, double_val2, double_val3, double_val4, double_val5,
10733 double_val6, double_val7, double_val8, double_val9, double_val10,
10734 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10735 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10736 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10737 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10738 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10739 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10740 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10741 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10742 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10743 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10744 dec128_val16): New global variables.
10745 (decimal_dec128_align): New function.
10746 (decimal_mixed): Likewise.
10747 (decimal_many_args_dec32): Likewise.
10748 (decimal_many_args_dec64): Likewise.
10749 (decimal_many_args_dec128): Likewise.
10750 (decimal_many_args_mixed): Likewise.
10751 * dfp-test.exp: Add tests calling new inferior functions.
10752
10753 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10754
10755 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10756 gdb.server/ext-run.exp: New files.
10757 * lib/gdbserver-support.exp (gdbserver_download): New.
10758 (gdbserver_start): New. Update gdbserver expected
10759 output.
10760 (gdbserver_spawn): Use them.
10761 (gdbserver_start_extended): New.
10762
10763 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10764
10765 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10766 Run on GNU/Linux.
10767 (do_exec_tests): Check for systems which do not support catchpoints.
10768 Do not match START.
10769 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10770 Run on GNU/Linux. Enable verbose output.
10771 (check_fork_catchpoints): New.
10772 (explicit_fork_child_follow, catch_fork_child_follow)
10773 (tcatch_fork_parent_follow): Update expected messages.
10774 (do_fork_tests): Use check_fork_catchpoints.
10775 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10776 Run on GNU/Linux. Enable verbose output.
10777 (check_vfork_catchpoints): New.
10778 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10779 expected messages.
10780 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10781
10782 2008-01-29 Jim Blandy <jimb@red-bean.com>
10783
10784 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10785 host' errors.
10786 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10787
10788 2008-01-29 Jim Blandy <jimb@red-bean.com>
10789
10790 * gdb.threads/sigthread.c: Use barriers to ensure that
10791 child_thread and child_thread_two are always initialized before we
10792 start to use them.
10793
10794 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10795
10796 * gdb.base/watchpoint-solib.exp: New.
10797 * gdb.base/watchpoint-solib.c: New.
10798 * gdb.base/watchpoint-solib-shr.c: New.
10799
10800 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10801
10802 * gdb.base/gdb1056.exp: Add unsigned integer test.
10803
10804 2008-01-28 Doug Evans <dje@google.com>
10805
10806 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10807
10808 2008-01-27 Jim Blandy <jimb@codesourcery.com>
10809
10810 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10811
10812 * gdb.base/expand-psymtabs.exp: Doc fix.
10813
10814 2008-01-26 Mark Kettenis <kettenis@gnu.org>
10815
10816 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10817
10818 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
10819
10820 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10821 -var-set-format.
10822
10823 2008-01-23 Chris Demetriou <cgd@google.com>
10824
10825 * gdb.threads/thread_events.c: New testcase source file.
10826 * gdb.threads/thread_events.exp: New testcase expect file.
10827
10828 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
10829
10830 * lib/gdb.exp: Add the variable octal.
10831
10832 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10833 -var-set-format.
10834
10835 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10836 Vladimir Prus <vladimir@codesourcery.com>
10837
10838 * gdb.base/float.exp: Allow missing floating point for m68k and
10839 PowerPC.
10840
10841 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10842
10843 * gdb.mi/basics.c: Setup for testing breakpoints
10844 ignore count.
10845 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10846 * gdb.mi/mi-cli.exp: Adjust.
10847 * gdb.mi/mi2-cli.exp: Adjust.
10848
10849 2008-01-17 Pedro Alves <pedro@codesourcery.com>
10850
10851 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10852 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10853 with dummy_ptr's address.
10854 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10855 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10856 all targets.
10857 * gdb.mi/mi2-var-child.exp: Likewise.
10858
10859 2008-01-09 Joel Brobecker <brobecker@adacore.com>
10860
10861 * gdb.ada/null_array: New test program.
10862 * gdb.ada/null_array.exp: New testcase.
10863
10864 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
10865
10866 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10867 with required float modifiers.
10868
10869 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.ada/funcall_param: New test program.
10872 * gdb.ada/funcall_param.exp: New testcase.
10873
10874 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10875
10876 * gdb.ada/arrayparam: New test program.
10877 * gdb.ada/arrayparam.exp: New testcase.
10878
10879 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10880
10881 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10882 landed. Should also fix random failures in the test following it.
10883
10884 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10885
10886 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10887 for expressions with decimal float values.
10888 (test_dfp_conversions): New function to test casts to and from
10889 decimal float types.
10890 Call test_dfp_conversions.
10891 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10892 elements.
10893 (main): Initialize ds.float4 and ds.double8 elements.
10894 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10895 string to new error message.
10896 (d64_set_tests): Likewise.
10897 (d128_set_tests): Likewise.
10898 Add tests for expressions with decimal float variables. Add tests for
10899 conversions to and from decimal float types.
10900
10901 2008-01-05 Joel Brobecker <brobecker@adacore.com>
10902
10903 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10904 * gdb.ada/packed_tagged.exp: New testcase.
10905
10906 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10907
10908 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10909 gdb.ada/homonym/homonym_main.adb: New files.
10910 * gdb.ada/homonym.exp: New testcase.
10911
10912 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10913
10914 * gdb.ada/packed_array.exp: Add testing of references to
10915 a packed array.
10916
10917 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10918
10919 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10920 New files.
10921 * gdb.ada/type_coercion.exp: New testcase.
10922
10923 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10924
10925 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10926 gdb.ada/tagged/foo.adb: New file.
10927 * gdb.ada/tagged.exp: New testcase.
10928
10929 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10930
10931 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10932 gdb.ada/ptype_field/foo.adb: New files.
10933 * gdb.ada/ptype_field.exp: New testcase.
10934
10935 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10936
10937 * gdb.ada/print_pc.exp: New testcase.
10938
10939 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10940
10941 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10942 gdb.ada/taft_type/p.adb: New files.
10943 * gdb.ada/taft_type.exp: New testcase.
10944
10945 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10946
10947 * gdb.ada/array_bounds/bar.adb: New file.
10948 * gdb.ada/array_bounds.exp: New testcase.
10949
10950 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10951
10952 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10953 gdb.ada/arrayptr/foo.adb: New files.
10954 * gdb.ada/arrayptr.exp: New testcase.
10955
10956 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10957
10958 * gdb.base/set-lang-auto.exp: New testcase.
10959
10960 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10961
10962 * gdb.ada/fun_addr/foo.adb: New file.
10963 * gdb.ada/fun_addr.exp: New testcase.
10964
10965 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10966
10967 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10968 New files
10969
10970 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10971
10972 * array_subscript_addr/p.adb: New file.
10973 * array_subscript_addr.exp: New testcase.
10974
10975 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10976
10977 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10978 New files.
10979 * gdb.ada/str_cmp_ref.exp: New testcase.
10980
10981 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10982
10983 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10984 gdb.ada/fun_in_declare/foo.adb: New files.
10985 * gdb.ada/fun_in_declare.exp: New testcase.
10986
10987 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10988
10989 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10990 gdb.ada/ref_param/pck.ads: New files.
10991 * gdb.ada/ref_param.exp: New testcase.
10992
10993 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10994
10995 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10996 gdb.ada/interface/foo.adb: New files.
10997 * gdb.ada/interface.exp: New testcase.
10998
10999 2007-12-31 Jim Blandy <jimb@codesourcery.com>
11000
11001 * gdb.base/multi-forks.exp: Consume all output from child
11002 processes before proceeding to next test.
11003
11004 2007-12-29 Jim Blandy <jimb@codesourcery.com>
11005
11006 * configure: Regenerated.
11007
11008 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11009
11010 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11011 gdb.ada/fixed_cmp/fixed.adb: New files.
11012 * gdb.ada/fixed_cmp.exp: New testcase.
11013
11014 2007-12-27 Joel Brobecker <brobecker@adacore.com>
11015
11016 * gdb.ada/boolean_expr.exp: New testcase.
11017
11018 2007-12-26 Jim Blandy <jimb@codesourcery.com>
11019
11020 * gdb.base/multi-forks.exp: Doc fix.
11021
11022 2007-12-26 Joel Brobecker <brobecker@adacore.com>
11023
11024 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11025 * gdb.ada/char_param.exp: Do not compile our test program with
11026 -gnata, this is unnecessary.
11027 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11028
11029 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11030
11031 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11032 gdb.ada/print_chars/foo.adb: New files.
11033 * gdb.ada/print_chars.exp: New testcase.
11034
11035 2007-12-24 Joel Brobecker <brobecker@adacore.com>
11036
11037 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11038 gdb.ada/char_param/foo.adb: New files.
11039 * gdb.ada/char_param.exp: New testcase.
11040
11041 2007-12-22 Jim Blandy <jimb@codesourcery.com>
11042
11043 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11044 hard-coding source line numbers into the test.
11045 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11046 gdb_get_line_number to find.
11047
11048 2007-12-22 Joel Brobecker <brobecker@adacore.com>
11049
11050 * gdb.base/ptype.c (highest): New struct type.
11051 (the_highest): New variable of that type.
11052 (main): Add dummy assignment to a field of variable the_highest.
11053 * gdb.base/ptype.exp: Test type printing of our new variable.
11054
11055 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11056
11057 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
11058 and record first explicitly generated thread number.
11059 Use that thread number for thread specific watchpoint test.
11060 Add iteration number to repetitive tests.
11061
11062 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11063 Jim Blandy <jimb@codesourcery.com>
11064
11065 * gdb.base/expand-psymtabs.c: New testcase
11066 source file.
11067 * gdb.base/expand-psymtabs.exp: New testcase
11068 expect file.
11069
11070 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
11071
11072 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11073 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11074
11075 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11076
11077 * gdb.ada/frame_args/foo.adb: New file.
11078 * gdb.ada/frame_args/pck.ads: New file.
11079 * gdb.ada/frame_args/pck.adb: New file.
11080 * gdb.ada/frame_args.exp: New testcase.
11081
11082 2007-12-17 Joel Brobecker <brobecker@adacore.com>
11083
11084 * gdb.base/frame-args.c: New file.
11085 * gdb.base/frame-args.exp: New testcase.
11086
11087 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
11088 Joseph Myers <joseph@codesourcery.com>
11089
11090 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11091
11092 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
11093
11094 * gdb.mi/mi-pending.exp: New.
11095 * gdb.mi/mi-pending.c: New.
11096 * gdb.mi/mi-pendshr.c: New.
11097
11098 2007-12-06 Jim Blandy <jimb@codesourcery.com>
11099
11100 * gdb.base/default.exp: Update expected output for 'info catch'.
11101
11102 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11103
11104 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11105 must be set to binary.
11106
11107 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11108
11109 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11110
11111 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11112
11113 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11114 gdb.mi/mi-file-transfer.exp: New.
11115
11116 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11117
11118 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11119
11120 2007-11-22 Maciej W. Rozycki <macro@mips.com>
11121
11122 * gdb.trace/backtrace.exp: Fix a typo.
11123 * gdb.trace/circ.exp: Likewise.
11124 * gdb.trace/collection.exp: Likewise.
11125 * gdb.trace/limits.exp: Likewise.
11126 * gdb.trace/report.exp: Likewise.
11127 * gdb.trace/tfind.exp: Likewise.
11128 * gdb.trace/while-dyn.exp: Likewise.
11129
11130 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
11131
11132 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11133 objects of pointers that can't be dereferenced are now
11134 "noneditable".
11135
11136 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11137
11138 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11139 (target_cpu): Remove.
11140
11141 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11142
11143 * gdb.base/ending-run.exp: Expect the list of cleared
11144 breakpoint to come in natural order, not the reversed one.
11145
11146 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11147
11148 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11149 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
11150
11151 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
11152
11153 * gdb.base/printcmds.exp: New function
11154 test_printf_with_dfp.
11155
11156 2007-11-02 Doug Evans <dje@google.com>
11157
11158 * gdb.disasm/t01_mov.s: Remove carriage returns.
11159 * gdb.disasm/t02_mova.s: Ditto.
11160 * gdb.disasm/t03_add.s: Ditto.
11161 * gdb.disasm/t04_sub.s: Ditto.
11162 * gdb.disasm/t05_cmp.s: Ditto.
11163 * gdb.disasm/t06_ari2.s: Ditto.
11164 * gdb.disasm/t07_ari3.s: Ditto.
11165 * gdb.disasm/t08_or.s: Ditto.
11166 * gdb.disasm/t09_xor.s: Ditto.
11167 * gdb.disasm/t10_and.s: Ditto.
11168 * gdb.disasm/t11_logs.s: Ditto.
11169 * gdb.disasm/t12_bit.s: Ditto.
11170 * gdb.disasm/t13_otr.s: Ditto.
11171
11172 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11173
11174 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11175
11176 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11177
11178 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11179 provide DFP support.
11180
11181 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11182
11183 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11184 Test "set powerpc vector-abi". Skip auto-detection tests for old
11185 toolchains.
11186
11187 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11188
11189 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11190 with [string compare].
11191
11192 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11193
11194 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11195 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11196
11197 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
11198
11199 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11200 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11201 * gdb.opt/Makefile.in: New makefile.
11202 * Makefile.in: Create new directory "gdb.opt".
11203 * configure.ac: Add "gdb.opt" directory.
11204 * configure: Regenerated.
11205
11206 2007-10-25 Doug Evans <dje@google.com>
11207
11208 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11209 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11210
11211 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
11212 Thiago Jung Bauermann <bauerman@br.ibm.com>
11213
11214 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11215 Floating Point expressions.
11216 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11217 Floating Point variables.
11218 * gdb.base/dfp-test.c: new file containing program with Decimal
11219 Floating variables, used by gdb.base/dfp-test.exp.
11220
11221 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11222
11223 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11224
11225 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11226
11227 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11228 compiling test case with GCC.
11229 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11230
11231 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11232
11233 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11234 format changes.
11235
11236 2007-10-18 Michael Snyder <msnyder@specifix.com>
11237
11238 * gdb.base/dbx.exp: Add missing "-re " operator.
11239
11240 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11241
11242 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11243 * configure.ac: Removed trailing spaces after backslash.
11244 * gdb.modula2: New directory.
11245 * gdb.modula2/Makefile.in: New file.
11246 * gdb.modula2/unbounded-array.exp: New file.
11247 * gdb.modula2/unbounded1.c: New file.
11248
11249 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11250
11251 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11252
11253 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
11254
11255 * gdb.base/sigstep.c (main): Add checks for
11256 return values for setitimer call.
11257 Call setitimer again with itimer = ITIMER_REAL
11258 if first call to setitimer fails.
11259
11260 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
11261
11262 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11263 of $timeout.
11264
11265 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11266
11267 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11268
11269 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
11270
11271 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11272 of gdb_expect call, to avoid interruption.
11273
11274 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11275
11276 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11277 (v_unsigned_long_long, v_long_long_array)
11278 (v_signed_long_long_array, v_unsigned_long_long_array)
11279 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11280 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11281 [!NO_LONG_LONG]: New.
11282 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11283 v_long_long_member.
11284
11285 (v_long_long_func, v_signed_long_long_func)
11286 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11287 (main) [!NO_LONG_LONG]: Initialize long long variants.
11288
11289 * gdb.base/whatis.exp: If board file requests no_long_long, build
11290 test with NO_LONG_LONG defined. Test long long, signed long long,
11291 and unsigned long long variants but only if board file doesn't
11292 disable it.
11293
11294 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
11295 Daniel Jacobowitz <dan@codesourcery.com>
11296
11297 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11298 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11299 * configure: Regenerated.
11300 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11301 gdb.pascal/types.exp, lib/pascal.exp: New files.
11302
11303 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11304
11305 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11306 call.
11307 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11308 to return to the call.
11309 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11310 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11311 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11312 * gdb.mi/mi-until.exp (test_until): Likewise.
11313 * gdb.mi/mi2-until.exp (test_until): Likewise.
11314
11315 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11316
11317 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11318 two-char array.
11319 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11320
11321 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11322
11323 * gdb.threads/watchthreads.c (thread_function): Sleep between
11324 iterations.
11325 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11326 at once for S/390. Generate matching fails and passes.
11327
11328 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11329
11330 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11331 the 'struct_declarations' variable to zeros.
11332
11333 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11334
11335 * gdb.cp/mb-ctor.cc: New.
11336 * gdb.cp/mb-ctor.exp: New.
11337 * gdb.cp/mb-templates.cc: New.
11338 * gdb.cp/mb-templates.exp: New.
11339
11340 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11341
11342 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11343
11344 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11345
11346 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11347 targets.
11348 * configure: Regenerate.
11349
11350 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
11351
11352 * gdb.base/annota1.exp: Adjust for 'info break'
11353 format changes.
11354 * gdb.base/annota3.exp: Likewise.
11355 * gdb.base/break.exp: Likewise.
11356 * gdb.base/condbreak.exp: Likewise.
11357 * gdb.base/pending.exp: Likewise.
11358 * gdb.base/sepdebug.exp: Likewise.
11359 * gdb.base/unload.exp: Likewise.
11360 * gdb.base/ovldbreak.exp: Likewise.
11361
11362 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11363
11364 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11365 messages.
11366 * gdb.base/chng-syms.exp: Likewise.
11367 * gdb.base/unload.exp: Likewise.
11368
11369 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11370
11371 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11372
11373 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11374
11375 * schedlock.c (NUM): Change to 1.
11376 (main): Use args[0] for the main thread.
11377 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11378 regardless of the number of threads.
11379
11380 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11381
11382 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11383 type down.
11384 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11385 test.
11386 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11387 watchpoint type down.
11388 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11389 test.
11390
11391 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11392
11393 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11394 Move all the tests here and run them twice, once using software
11395 watchpoints and once using hardware watchpoints.
11396 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11397
11398 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11399
11400 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11401 test.
11402
11403 2007-09-10 Mark Kettenis <kettenis@gnu.org>
11404
11405 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11406 build-id.
11407
11408 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11409 know about $ORIGIN. Calculate output dir from $dest instead of
11410 using ${objdir}/{$subdir}.
11411
11412 2007-09-09 Mark Kettenis <kettenis@gnu.org>
11413
11414 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11415 gcore, before continuing with the test.
11416
11417 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11418
11419 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11420 * gdb.mi/mi-watch.exp: Likewise.
11421
11422 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11423 Jim Blandy <jimb@codesourcery.com>
11424
11425 * gdb.arch/i386-sse.exp: Do not expect character constants.
11426 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11427 * gdb.base/display.exp: Allow print/s.
11428 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11429 and unsigned char array changes.
11430
11431 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11432
11433 * gdb.base/display.exp: Add tests for printf %p.
11434
11435 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11436
11437 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11438 the dll name to unicode.
11439
11440 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11441
11442 * gdb.base/default.exp (show version): Update the version text.
11443 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11444
11445 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11448 New files.
11449
11450 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11451
11452 * lib/gdb.exp (build_id_debug_filename_get): New function.
11453 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11454 Remove the generate DEBUG file for the future testcase runs.
11455 New testcase for the NT_GNU_BUILD_ID retrieval.
11456 Move the final testing step to ...
11457 (test_different_dir): ... a new function.
11458 New parameter XFAIL to XFAIL all the tests performed.
11459 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11460 New parameter TYPE to PF_PREFIX all the tests performed.
11461
11462 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11463
11464 * gdb.mi/mi-var-cp.cc (path_expression): New
11465 function.
11466 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11467
11468 2007-08-27 Markus Deuling <deuling@de.ibm.com>
11469
11470 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11471 to fit into SPU Local Store memory.
11472
11473 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11474
11475 * gdb.base/default.exp: Adjust the expected output of "info
11476 warranty" after the switch to GPLv3.
11477
11478 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11479
11480 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11481 to 30000 (from 20000).
11482
11483 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11484
11485 Switch the license of all .exp files to GPLv3.
11486 Switch the license of all .f and .f90 files to GPLv3.
11487 Switch the license of all .s and .S files to GPLv3.
11488
11489 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11490
11491 * configure.ac: Switch license to GPLv3.
11492
11493 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11494
11495 Switch the licensing to GPLv3 for all .ads and .adb files.
11496
11497 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11498
11499 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11500 and t_int_double.
11501 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11502
11503 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11504
11505 * gdb.base/step-line.c: Switch license to GPL version 3, and
11506 update copyright year.
11507 * gdb.base/step-line.inp: Likewise.
11508
11509 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11510
11511 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11512 changes inside gdb1555.c.
11513 * gdb.base/pending.exp: Likewise.
11514
11515 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11516
11517 * config/default.exp: New file.
11518
11519 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11520
11521 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11522 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11523
11524 2007-07-30 Maciej W. Rozycki <macro@mips.com>
11525
11526 * gdb.base/dump.exp: Force the correct endianness for binary
11527 formats not carrying this information.
11528
11529 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11530
11531 * gdb.threads/staticthreads.exp: Match .*sem_post.
11532
11533 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11534
11535 * gdb.base/readline.exp (operate_and_get_next): Match the final
11536 prompt.
11537
11538 2007-07-23 Kevin Buettner <kevinb@redhat.com>
11539
11540 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11541 to restarting SID.
11542
11543 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11544
11545 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11546 prior to `gdb_start'.
11547
11548 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11549
11550 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11551 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11552 Remove call to gdb_unload.
11553
11554 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11555 Daniel Jacobowitz <dan@codesourcery.com>
11556
11557 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11558 for __WIN32__.
11559 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11560 * gdb.base/unload.exp: Use shared library test routines.
11561
11562 2007-07-03 Markus Deuling <deuling@de.ibm.com>
11563
11564 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11565 * gdb.base/solib-symbol-lib.c: Likewise.
11566 * gdb.base/solib-symbol-main.c: Likewise.
11567
11568 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11569
11570 * config/gdbserver.exp (gdb_reconnect): New.
11571 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11572 gdb.base/solib-disc.exp: New files.
11573 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11574 remote debugging".
11575 (gdb_compile): Add shlib_load flag.
11576 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11577 port.
11578 (gdbserver_reconnect): New.
11579
11580 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
11581 Daniel Jacobowitz <dan@codesourcery.com>
11582
11583 * gdb.base/annota3.exp: Test for if construct.
11584
11585 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11586
11587 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11588
11589 2007-06-21 Chris Dearman <chris@mips.com>
11590 Maciej W. Rozycki <macro@mips.com>
11591
11592 * gdb.base/display.exp: Allow a newline after display/i.
11593 * gdb.base/pc-fp.exp: Likewise.
11594 * gdb.base/sigbpt.exp: Likewise.
11595
11596 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11597
11598 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11599 required features to be included.
11600
11601 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11602
11603 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11604 in info threads output.
11605
11606 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11607 Markus Deuling <deuling@de.ibm.com>
11608
11609 * gdb.arch/spu-info.exp: New testcase.
11610 * gdb.arch/spu-info.c: New file.
11611
11612 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11613
11614 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11615 tpcs_offset. Restore lr after the call.
11616 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11617
11618 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11619
11620 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11621 (gdbserver_run): Kill any running gdbserver.
11622 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11623
11624 2007-05-17 Maciej W. Rozycki <macro@mips.com>
11625
11626 * gdb.base/sigbpt.exp: Preset segv_addr.
11627
11628 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11629
11630 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11631 (gdb_compile_shlib): Likewise.
11632 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11633 (default_gdb_init): Clear cleanfiles.
11634 (gdb_finish): Delete recorded cleanfiles.
11635 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11636
11637 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11638 Do not use isnative.
11639 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11640 gdb.base/so-impl-ld.exp: Likewise.
11641 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11642 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11643 gdb_compile.
11644
11645 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11646
11647 * config/unknown.exp: Remove.
11648
11649 2007-05-15 Markus Deuling <deuling@de.ibm.com>
11650
11651 * gdb.base/info-proc.exp: Check is_remote.
11652
11653 2007-05-14 Markus Deuling <deuling@de.ibm.com>
11654
11655 * gdb.base/gcore.exp: Initialize variable core_supported.
11656
11657 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11658
11659 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11660
11661 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11662
11663 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11664 * gdb.threads/print-threads.exp (test_all_threads): Allow
11665 negative and hexadecimal thread IDs.
11666
11667 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11668
11669 * gdb.java/jprint.java (public): Avoid invalid call to static
11670 method.
11671
11672 2007-05-14 Denis Pilat <denis.pilat@st.com>
11673
11674 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11675 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11676 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11677 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11678 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11679
11680 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11681
11682 * gdb.base/overlays.exp: Add support for targets with only code
11683 overlay support, not data overlay. Support spu-*-* target in
11684 this mode.
11685 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11686 * gdb.base/spu.ld: New file.
11687
11688 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11689
11690 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11691
11692 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11693
11694 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11695
11696 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11697
11698 * gdb.java/jmain.exp: Handle demangled names with and without method
11699 signatures.
11700
11701 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11702
11703 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11704 (have_a_very_merry_interrupt): Remove calls to puts.
11705 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11706 inferior output.
11707 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11708 test names.
11709
11710 2007-04-29 Markus Deuling <deuling@de.ibm.com>
11711 Daniel Jacobowitz <dan@codesourcery.com>
11712
11713 * gdb.base/auxv.exp (core_works): Also check is_remote.
11714 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11715
11716 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
11717
11718 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11719 message, not the undefined 'module' variable.
11720 * gdb.base/siginfo.exp: Likewise.
11721 * gdb.base/sigstep.exp: Likewise.
11722 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11723 serialport.
11724 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11725
11726 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
11727
11728 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11729 target sim fails. Return 0 otherwise.
11730 (gdb_load): Return prematurely if gdb_target_sim fails.
11731
11732 2007-04-16 Denis Pilat <denis.pilat@st.com>
11733
11734 * gdb.base/setshow.exp: Reset height after having set it to 100.
11735
11736 2007-04-16 Denis Pilat <denis.pilat@st.com>
11737
11738 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11739
11740 2007-04-16 Denis Pilat <denis.pilat@st.com>
11741
11742 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11743
11744 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11745
11746 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11747 tests. Run the frozen varobjs test.
11748 * gdb.mi/var-cmd.c (do_frozen_tests): New.
11749 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11750
11751 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11752
11753 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11754 gdb.base/type-opaque.exp: New files.
11755
11756 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
11757
11758 * gdb.mi/mi-var-child.c
11759 (do_children_tests): User char[2] instead of
11760 char so that automatic printing of pointers to char
11761 don't give unpredicable result.
11762 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11763 local variables.
11764 * gdb.mi/mi-var-child.exp: Step to right line
11765 of do_children_tests.
11766 * gdb.mi/mi2-var-child.exp: Likewise.
11767 * gdb.mi/mi-var-cmd.exp: Step to right line of
11768 do_locals_tests.
11769 (do_children_tests): User char[2] instead of
11770 char so that automatic printing of pointers to char
11771 don't give unpredicable result.
11772 * gdb.mi/mi2-var-cmd.exp: Likewise.
11773 * lib/mi-support.exp (mi_continue_to_line):
11774 Pass test name to mi_wait_for_stop.
11775
11776 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11777
11778 * gdb.asm/asm-source.exp: Remove d10v case.
11779 * lib/gdb.exp (skip_cplus_tests): Likewise.
11780 * gdb.asm/d10v.inc: Deleted.
11781
11782 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11783
11784 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11785
11786 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11787
11788 * config/netware.exp: Delete file.
11789
11790 2007-03-29 Joel Brobecker <brobecker@adacore.com>
11791
11792 * gdb.dwarf2/dw2-noloc.S: New file.
11793 * gdb.dwarf2/dw2-noloc.exp: New file.
11794
11795 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11796
11797 * gdb.cp/method2.cc: New test.
11798 * gdb.cp/method2.exp: New test.
11799 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11800
11801 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11802
11803 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11804
11805 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11806
11807 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11808
11809 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11810
11811 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11812 (gdb_load): Delete, replace with...
11813 (gdb_reload): ...this.
11814 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11815 * gdb.server/server-mon.exp: Likewise.
11816 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11817 (gdb_start_cmd): New.
11818 (gdb_file_cmd): Save the last loaded file.
11819 (gdb_reload): New.
11820 (gdb_gnu_strip_debug): Use transform.
11821 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11822 support here. Use new $last_loaded_file. Check mtime.
11823 (gdb_target_cmd): Handle ObjC failure case.
11824 (infer_host_exec): Delete.
11825 (gdbserver_load): Rename to...
11826 (gdbserver_run): ...this. Simplify.
11827 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11828 (mi_gdb_load): Move most contents to a new function...
11829 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11830 (mi_run_cmd): Use mi_gdb_target_load.
11831 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11832 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11833 Use gdb_run_cmd.
11834 * gdb.base/charsign.exp: Remove incorrect comment.
11835 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11836 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11837 gdb.base/start.exp: Use gdb_start_cmd.
11838
11839 2007-03-23 Nigel Stephens <nigel@mips.com>
11840 Maciej W. Rozycki <macro@mips.com>
11841
11842 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11843 * gdb.base/signull.exp: Similarly.
11844
11845 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11846
11847 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11848 messages available to test cases (like chng-sym.exp).
11849
11850 2007-03-14 Andreas Schwab <schwab@suse.de>
11851
11852 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11853 format changes.
11854
11855 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11856
11857 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11858 (optimized_1): New.
11859 (main): Call optimized_1.
11860 (gdb2029): Correct typos. Call gdb2029_marker.
11861 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11862 for gdb2029.
11863
11864 2007-03-12 Mark Kettenis <kettenis@gnu.org>
11865
11866 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11867 as tabs. Remove redundant test pattern.
11868
11869 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11870
11871 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11872 for /a format output.
11873
11874 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11875
11876 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11877 collect output incrementally.
11878
11879 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11880
11881 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11882 for -var-create lpcharacter test.
11883 * gdb.mi/mi2-var-cmd.exp: Likewise.
11884
11885 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11886
11887 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11888 pass on targets where address zero is readable.
11889
11890 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11891
11892 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11893 just a single architecture.
11894
11895 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11896
11897 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11898 (fetch_all_registers): New function, uses gdb_test_multiple and
11899 exp_continue to fetch inferior output line-by-line.
11900 Replace all uses of do_get_all_registers by fetch_all_registers.
11901
11902 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11903
11904 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11905 in target_info.
11906
11907 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11908
11909 * gdb.threads/manythreads.exp: Use $message string for
11910 consistancy; add a default (timeout) case.
11911
11912 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11913
11914 * gdb.base/watchpoint.exp: Fix truncated comment.
11915
11916 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11917
11918 * Makefile.in: Remove spurious single-quotes from sed command.
11919
11920 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11921
11922 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11923 func.
11924 * gdb.mi/mi2-var-cmd.exp: Likewise.
11925
11926 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11927
11928 * gdb.dwarf2/dw2-producer.S: New file.
11929 * gdb.dwarf2/dw2-producer.exp: New testcase.
11930
11931 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
11932
11933 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11934 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11935 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11936 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11937 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11938 Revert tests to use mi_gdb_test and include value field in output
11939 of -var-create.
11940
11941 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11942
11943 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11944
11945 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11946
11947 * gdb.base/maint.exp: Remove full paths from test names.
11948 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11949 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11950
11951 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11952
11953 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11954
11955 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11956
11957 * gdb.server/server-mon.exp: New test.
11958
11959 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11960
11961 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11962
11963 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11964
11965 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11966 register capitalization.
11967
11968 2007-02-13 Denis Pilat <denis.pilat@st.com>
11969
11970 * gdb.mi/mi-var-invalidate.exp: New file.
11971
11972 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11973
11974 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11975
11976 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11977
11978 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11979
11980 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11981
11982 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11983 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11984
11985 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
11986
11987 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11988 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11989 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11990 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11991 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11992 * gdb.mi/gdb792.exp, lib/mi-support.exp:
11993 Update tests to include value field in output of -var-create.
11994
11995 2007-02-08 Andreas Schwab <schwab@suse.de>
11996
11997 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11998
11999 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12000
12001 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12002 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12003
12004 2007-02-02 Denis Pilat <denis.pilat@st.com>
12005
12006 * gdb.threads/threadapply.exp: check that frame is not changed by
12007 the thread apply all command.
12008
12009 2007-01-31 Andreas Schwab <schwab@suse.de>
12010
12011 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12012
12013 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12014 in the dwarf sections.
12015 * gdb.dwarf2/mac-fileno.S: Likewise.
12016
12017 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12018 bspstore register on ia64.
12019
12020 2007-01-29 Andreas Schwab <schwab@suse.de>
12021
12022 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12023 "frame-begin" annotation.
12024
12025 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12026 number of "frames-invalid" annotations.
12027
12028 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12029
12030 * gdb.base/commands.exp: Call if_commands_test.
12031 (gdb_test_no_prompt, if_commands_test): New.
12032
12033 2007-01-28 Mark Kettenis <kettenis@gnu.org>
12034
12035 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12036
12037 2007-01-27 Andreas Schwab <schwab@suse.de>
12038
12039 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12040 .short/.int/.quad in the dwarf sections.
12041 * gdb.dwarf2/dw2-intercu.S: Likewise.
12042 * gdb.dwarf2/dw2-intermix.S: Likewise.
12043
12044 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12045
12046 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
12047 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12048 array.
12049 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12050 * gdb.base/setvar.exp: Likewise.
12051
12052 2007-01-26 Andreas Schwab <schwab@suse.de>
12053
12054 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12055 test.
12056
12057 * gdb.base/multi-forks.exp ("restart $i"): Also match
12058 __kernel_syscall_via_break.
12059
12060 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12061
12062 * lib/mi-support.exp (mi_delete_varobj): New.
12063 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12064 testcase.
12065 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12066 (main): Call the above.
12067 (reference_update_test, base_in_reference_test)
12068 (reference_to_pointer): Delete the created varobjs.
12069
12070 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12071
12072 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12073 * configure: Regenerated.
12074 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12075 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12076 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12077 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12078 * lib/gdb.exp (gdb_skip_xml_test): New function.
12079
12080 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12081
12082 * gdb.base/sigrepeat.exp: Correct error message.
12083
12084 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12085 Daniel Jacobowitz <dan@codesourcery.com>
12086
12087 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12088 gdb.arch/i386-gnu-cfi-asm.S: New files.
12089
12090 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12091
12092 * lib/gdb.exp: Abort on missing `site.exp'.
12093
12094 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12095 Daniel Jacobowitz <dan@codesourcery.com>
12096
12097 * gdb.base/included.c, gdb.base/included.exp,
12098 gdb.base/included.h: New files.
12099
12100 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12101
12102 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12103 (maximize_rlimit): Reduce limits on 64-bit systems.
12104
12105 2007-01-19 Mark Kettenis <kettenis@gnu.org>
12106
12107 From Marcus Deuling <deuling@de.ibm.com>:
12108 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12109 every case.
12110
12111 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
12112
12113 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12114 (test_path_specification): Use objdir instead of srcdir to always
12115 get an absolute filename.
12116
12117 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12118
12119 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12120
12121 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12122
12123 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12124 Make sure the variable we're using is in scope.
12125 (reference_to_pointer): Likewise.
12126
12127 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12128
12129 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12130 has no debug information.
12131
12132 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12133
12134 * gdb.base/annota1.exp: Remove extra send_gdb.
12135
12136 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12137
12138 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12139
12140 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12143
12144 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
12145 Daniel Jacobowitz <dan@codesourcery.com>
12146
12147 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12148 lcharacter or linteger change. Correct duplicated test name.
12149 * gdb.mi/mi2-var-cmd.exp: Likewise.
12150
12151 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12152
12153 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12154
12155 2007-01-05 Joel Brobecker <brobecker@adacore.com>
12156
12157 * gdb.base/nofield.c: New file.
12158 * gdb.base/nofield.exp: New testcase.
12159
12160 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
12161
12162 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12163
12164 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12165 test.
12166
12167 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12168
12169 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12170
12171 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12172
12173 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12174 when continuing.
12175
12176 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12177
12178 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12179 Expect ".exe" extension.
12180
12181 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12182
12183 * gdb.base/charset.exp: Add explicit filename to break.
12184 * gdb.base/dbx.exp: Add explicit filename to breaks.
12185
12186 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12187
12188 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12189 * gdb.mi/mi2-file.exp: Likewise.
12190
12191 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12192
12193 Implement specification of MI tests as comments
12194 in C and C++ sources.
12195 * lib/mi-support.exp (mi_autotest_data): New variable.
12196 (mi_autotest_source): New variable.
12197 (count_newlines, mi_prepare_inline_tests)
12198 (mi_get_inline_test, mi_continue_to_line)
12199 (mi_run_inline_test, mi_tbreak)
12200 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12201 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12202 Run inline tests.
12203 * gdb.mi/mi-var-cp.cc: Define tests here.
12204
12205 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12206
12207 Simplify usage of mi_continue_to.
12208 * lib/mi-support.exp (mi_runto_helper): Renamed
12209 from mi_runto, added new parameter 'run_or_continue'.
12210 (mi_runto): Use mi_runto_helper.
12211 (mi_continue_to): Accept just function name as parameter.
12212 Use mi_runto_helper.
12213 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12214 * gdb.mi/mi2-var-cmd.exp: Likewise.
12215
12216 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12217
12218 Make this testcase a bit more realistic. The current code
12219 is too simplistic, and allows the compiler to optimize out
12220 some of the entities we need for this testcase.
12221 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12222 (Do_Nothing): Add extra parameter.
12223 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12224 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12225 by using a variable of type Void_Star.
12226
12227 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12228
12229 * gdb.ada/catch_ex/foo.adb: New file.
12230 * gdb.ada/catch_ex.exp: New testcase.
12231
12232 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12233
12234 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12235 pass --image-base to linker.
12236
12237 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12238 Daniel Jacobowitz <dan@codesourcery.com>
12239
12240 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12241 secondary prompts.
12242
12243 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12244
12245 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12246 output. Test the types of members and member pointers.
12247 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12248 gdb/2092.
12249 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12250 statement. Enable for GCC. Update expected output for some tests
12251 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12252 layout.
12253 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12254 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12255 (Diamond::vget_base): New.
12256 (main): Add new tests.
12257 * gdb.cp/printmethod.exp: Update expected output for member functions.
12258 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12259 print pEe->D::vg().
12260
12261 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12262
12263 * gdb.threads/tls.exp: Allow stops in sem_post.
12264
12265 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12266
12267 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12268 * gdb.base/annota3.exp: Likewise.
12269 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12270 again (instead of timing out).
12271 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12272 GCC bug 26475.
12273 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12274 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12275 test from jmisc1.exp.
12276 * gdb.java/jmisc1.exp: Delete.
12277 * gdb.java/jprint.exp: Adjust to work with method signatures including
12278 return types.
12279 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12280 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12281 * lib/java.exp (compile_java_from_source): Pass the correct type
12282 to target_compile.
12283
12284 2006-12-31 Joel Brobecker <brobecker@adacore.com>
12285
12286 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12287 (stack_align_edx): New function.
12288 (stack_align_eax): New function.
12289 (main): Add calls to stack_align_edx and stack_align_eax.
12290 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12291 Add testing for the cases where the register used during a stack
12292 realignment is edx. Same for eax.
12293
12294 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12295
12296 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12297 and generic PE targets.
12298
12299 2006-12-29 Joel Brobecker <brobecker@adacore.com>
12300
12301 * gdb.ada/array_return.exp: Update copyright date list.
12302
12303 2006-12-27 Joel Brobecker <brobecker@adacore.com>
12304
12305 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12306 (Create_Small_Float_Vector): New function.
12307 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12308 function body.
12309 * gdb.ada/array_return/p.adb: Use new type and function from
12310 package Pck.
12311 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12312 able to print the value returned by a function returning an
12313 array of float.
12314
12315 2006-12-20 Joel Brobecker <brobecker@adacore.com>
12316
12317 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12318 The associated tests should be PASSing.
12319
12320 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12321
12322 Test for base in references.
12323 * gdb.mi/mi-var-cp.cc: Add test code.
12324 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12325 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12326 * gdb.mi/mi2-watch.exp: Likewise.
12327 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12328 (mi_list_varobj_children): New function.
12329
12330 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12331
12332 * lib/mi-support.exp
12333 (mi_runto): Accept "()" after function name.
12334 (mi_create_varobj): New function.
12335 (mi_varobj_update): New function.
12336 (mi_Check_varobj_value): New function.
12337 * gdb.mi/mi-var-cp.exp: New file.
12338 * gdb.mi/mi-var-cp.cc: New file.
12339
12340 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12341
12342 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12343 gdb.base/weaklib2.c: New files.
12344
12345 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
12346
12347 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12348 info. Adjust test names.
12349
12350 * gdb.base/break.c (main): Move position of malloc.
12351 * gdb.base/break.exp: Revert mistaken checkin.
12352
12353 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12354
12355 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12356 assignement of arrays and function pointers.
12357 * gdb.mi/var-cmd.c: Add declaration necessary for above
12358 tests.
12359
12360 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12361
12362 * gdb.base/break.c (main): Call malloc.
12363
12364 * gdb.threads/linux-dp.exp: Read thread table before and after
12365 creating each philosopher and verify it.
12366
12367 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12368 Paul Brook <paul@codesourcery.com>
12369 Daniel Jacobowitz <dan@codesourcery.com>
12370
12371 * gdb.base/ending-run.exp: Flatten expect script stepping out of
12372 main to remove duplication. Add start function of the form
12373 '_*start[1-9]*'. Add RVDS start function.
12374
12375 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12376
12377 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12378
12379 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12380
12381 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12382 * gdb.asm/spu.inc: New file.
12383 * gdb.base/term.exp: Disable if [target_info exists noargs].
12384 * gdb.gdb/complaints.exp: Disable if ![isnative].
12385 * gdb.gdb/selftest.exp: Likewise.
12386 * gdb.gdb/observer.exp: Likewise.
12387 * gdb.gdb/xfullpath.exp: Likewise.
12388 * gdb.base/attach.exp: Disable on SPU target.
12389 * gdb.cp/bs145503.exp: Likewise.
12390 * gdb.cp/exception.exp: Likewise.
12391 * gdb.cp/userdef.exp: Likewise.
12392
12393 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12394
12395 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12396
12397 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12398
12399 * gdb.base/completion.exp: Fix completion tests for
12400 'info' and 'info '.
12401 * gdb.base/help.exp (help_test_raw, test_class_help)
12402 (test_prefix_command_help): Move...
12403 * lib/gdb.exp: Here.
12404 * gdb.base/main.exp: Adjust.
12405 * gdb.cp/maint.exp: Adjust.
12406 * gdb.trace/tracecmd.exp: Use test_help_class.
12407
12408 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12409
12410 * gdb.stabs/weird.exp (print_weird_var): Use
12411 gdb_test_multiple instead of gdb_expect.
12412
12413 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12414
12415 * gdb.base/help.exp (help_test_raw): New.
12416 (test_class_help): New.
12417 (test_prefix_command_help): New.
12418 Adjust testcases.
12419
12420 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
12421
12422 * gdb.base/constvars.c (main): Write to crass and crips, so that
12423 they are allocated by the compiler.
12424
12425 2006-10-27 Andreas Schwab <schwab@suse.de>
12426
12427 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12428 "detach-fork".
12429
12430 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12431
12432 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12433 of patterns.
12434
12435 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12436
12437 * gdb.base/sepdebug.exp: Remove debug format test.
12438 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12439 Handle no-symtab.
12440 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12441
12442 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12443
12444 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12445 int to pointer or pointer to int.
12446 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12447
12448 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12449
12450 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12451
12452 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12453
12454 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12455
12456 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12457
12458 PR c++/2116
12459 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12460
12461 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12462
12463 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12464 the corresponding bug has been fixed in GDB (PR/2018).
12465
12466 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12467
12468 * gdb.base/subst.exp: New testcase.
12469
12470 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12471
12472 * gdb.ada/array_return/pck.ads: Add copyright notice.
12473 * gdb.ada/array_return/pck.adb: Likewise.
12474 * gdb.ada/array_return/p.adb: Likewise.
12475 * gdb.ada/exec_changed/first.adb: Likewise.
12476 * gdb.ada/exec_changed/second.adb: Likewise.
12477
12478 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12479
12480 * gdb.ada/watch_arg/watch.adb: New file.
12481 * gdb.ada/watch_arg.exp: New testcase.
12482
12483 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12484
12485 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
12486 via string_to_regexp.
12487 * gdb.mi/mi2-basics.exp: Likewise.
12488
12489 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
12490
12491 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12492 Remove unused / obsolete files.
12493
12494 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
12495
12496 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12497
12498 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12499
12500 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12501 HIGH_FRAME argument to -stack-list-arguments can be larger than
12502 the number of frames.
12503
12504 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12505
12506 * gdb.base/args.c (main): Add breakpoint marker.
12507 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12508 really test empty arguments.
12509 (args_load): Delete.
12510 (args_test): New.
12511
12512 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
12513
12514 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
12515 check for one file.
12516
12517 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12518
12519 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12520 HIGH_FRAME argument to -stack-list-locals can be larger than
12521 the number of frames.
12522
12523 2006-08-18 Fred Fish <fnf@specifix.com>
12524
12525 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12526 '$' in front of skip_vmx_tests_saved when setting that.
12527
12528 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12529
12530 * gdb.base/trace-commands.exp: New file.
12531
12532 2006-08-10 Joel Brobecker <brobecker@adacore.com>
12533 Daniel Jacobowitz <dan@codesourcery.com>
12534
12535 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12536 expected output of the backtrace commands.
12537
12538 2006-08-09 Joel Brobecker <brobecker@adacore.com>
12539
12540 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12541 untested followed by return combination.
12542 * gdb.arch/altivec-regs.exp: Likewise.
12543 * gdb.arch/e500-abi.exp: Likewise.
12544 * gdb.arch/e500-regs.exp: Likewise.
12545 * gdb.arch/gdb1291.exp: Likewise.
12546 * gdb.arch/gdb1431.exp: Likewise.
12547 * gdb.arch/gdb1558.exp: Likewise.
12548 * gdb.arch/i386-prologue.exp: Likewise.
12549 * gdb.arch/i386-unwind.exp: Likewise.
12550 * gdb.asm/asm-source.exp: Likewise.
12551 * gdb.base/a2-run.exp: Likewise.
12552 * gdb.base/advance.exp: Likewise.
12553 * gdb.base/all-bin.exp: Likewise.
12554 * gdb.base/annota1.exp: Likewise.
12555 * gdb.base/annota3.exp: Likewise.
12556 * gdb.base/args.exp: Likewise.
12557 * gdb.base/arithmet.exp: Likewise.
12558 * gdb.base/assign.exp: Likewise.
12559 * gdb.base/async.exp: Likewise.
12560 * gdb.base/attach.exp: Likewise.
12561 * gdb.base/bang.exp: Likewise.
12562 * gdb.base/bigcore.exp: Likewise.
12563 * gdb.base/bitfields.exp: Likewise.
12564 * gdb.base/bitfields2.exp: Likewise.
12565 * gdb.base/break.exp: Likewise.
12566 * gdb.base/call-sc.exp: Likewise.
12567 * gdb.base/call-strs.exp: Likewise.
12568 * gdb.base/callfuncs.exp: Likewise.
12569 * gdb.base/checkpoint.exp: Likewise.
12570 * gdb.base/chng-syms.exp: Likewise.
12571 * gdb.base/code-expr.exp: Likewise.
12572 * gdb.base/commands.exp: Likewise.
12573 * gdb.base/completion.exp: Likewise.
12574 * gdb.base/cond-expr.exp: Likewise.
12575 * gdb.base/condbreak.exp: Likewise.
12576 * gdb.base/consecutive.exp: Likewise.
12577 * gdb.base/constvars.exp: Likewise.
12578 * gdb.base/corefile.exp: Likewise.
12579 * gdb.base/cvexpr.exp: Likewise.
12580 * gdb.base/dbx.exp: Likewise.
12581 * gdb.base/define.exp: Likewise.
12582 * gdb.base/detach.exp: Likewise.
12583 * gdb.base/display.exp: Likewise.
12584 * gdb.base/dump.exp: Likewise.
12585 * gdb.base/ena-dis-br.exp: Likewise.
12586 * gdb.base/ending-run.exp: Likewise.
12587 * gdb.base/environ.exp: Likewise.
12588 * gdb.base/eval-skip.exp: Likewise.
12589 * gdb.base/exprs.exp: Likewise.
12590 * gdb.base/fileio.exp: Likewise.
12591 * gdb.base/finish.exp: Likewise.
12592 * gdb.base/float.exp: Likewise.
12593 * gdb.base/foll-exec.exp: Likewise.
12594 * gdb.base/foll-fork.exp: Likewise.
12595 * gdb.base/foll-vfork.exp: Likewise.
12596 * gdb.base/freebpcmd.exp: Likewise.
12597 * gdb.base/funcargs.exp: Likewise.
12598 * gdb.base/gcore.exp: Likewise.
12599 * gdb.base/gdb1090.exp: Likewise.
12600 * gdb.base/gdb1250.exp: Likewise.
12601 * gdb.base/huge.exp: Likewise.
12602 * gdb.base/info-proc.exp: Likewise.
12603 * gdb.base/interrupt.exp: Likewise.
12604 * gdb.base/jump.exp: Likewise.
12605 * gdb.base/langs.exp: Likewise.
12606 * gdb.base/lineinc.exp: Likewise.
12607 * gdb.base/list.exp: Likewise.
12608 * gdb.base/logical.exp: Likewise.
12609 * gdb.base/long_long.exp: Likewise.
12610 * gdb.base/macscp.exp: Likewise.
12611 * gdb.base/maint.exp: Likewise.
12612 * gdb.base/mips_pro.exp: Likewise.
12613 * gdb.base/miscexprs.exp: Likewise.
12614 * gdb.base/multi-forks.exp: Likewise.
12615 * gdb.base/opaque.exp: Likewise.
12616 * gdb.base/overlays.exp: Likewise.
12617 * gdb.base/pc-fp.exp: Likewise.
12618 * gdb.base/pointers.exp: Likewise.
12619 * gdb.base/printcmds.exp: Likewise.
12620 * gdb.base/psymtab.exp: Likewise.
12621 * gdb.base/ptype.exp: Likewise.
12622 * gdb.base/recurse.exp: Likewise.
12623 * gdb.base/relational.exp: Likewise.
12624 * gdb.base/relocate.exp: Likewise.
12625 * gdb.base/remote.exp: Likewise.
12626 * gdb.base/reread.exp: Likewise.
12627 * gdb.base/restore.exp: Likewise.
12628 * gdb.base/return.exp: Likewise.
12629 * gdb.base/return2.exp: Likewise.
12630 * gdb.base/scope.exp: Likewise.
12631 * gdb.base/sect-cmd.exp: Likewise.
12632 * gdb.base/sep.exp: Likewise.
12633 * gdb.base/sepdebug.exp: Likewise.
12634 * gdb.base/setshow.exp: Likewise.
12635 * gdb.base/setvar.exp: Likewise.
12636 * gdb.base/sigall.exp: Likewise.
12637 * gdb.base/sigbpt.exp: Likewise.
12638 * gdb.base/signals.exp: Likewise.
12639 * gdb.base/signull.exp: Likewise.
12640 * gdb.base/sizeof.exp: Likewise.
12641 * gdb.base/solib.exp: Likewise.
12642 * gdb.base/step-line.exp: Likewise.
12643 * gdb.base/step-test.exp: Likewise.
12644 * gdb.base/structs.exp: Likewise.
12645 * gdb.base/structs2.exp: Likewise.
12646 * gdb.base/term.exp: Likewise.
12647 * gdb.base/twice.exp: Likewise.
12648 * gdb.base/until.exp: Likewise.
12649 * gdb.base/varargs.exp: Likewise.
12650 * gdb.base/volatile.exp: Likewise.
12651 * gdb.base/watchpoint.exp: Likewise.
12652 * gdb.base/whatis-exp.exp: Likewise.
12653 * gdb.base/whatis.exp: Likewise.
12654 * gdb.cp/ambiguous.exp: Likewise.
12655 * gdb.cp/annota2.exp: Likewise.
12656 * gdb.cp/annota3.exp: Likewise.
12657 * gdb.cp/bool.exp: Likewise.
12658 * gdb.cp/breakpoint.exp: Likewise.
12659 * gdb.cp/casts.exp: Likewise.
12660 * gdb.cp/class2.exp: Likewise.
12661 * gdb.cp/classes.exp: Likewise.
12662 * gdb.cp/cplusfuncs.exp: Likewise.
12663 * gdb.cp/ctti.exp: Likewise.
12664 * gdb.cp/derivation.exp: Likewise.
12665 * gdb.cp/exception.exp: Likewise.
12666 * gdb.cp/gdb1355.exp: Likewise.
12667 * gdb.cp/hang.exp: Likewise.
12668 * gdb.cp/inherit.exp: Likewise.
12669 * gdb.cp/local.exp: Likewise.
12670 * gdb.cp/m-data.exp: Likewise.
12671 * gdb.cp/m-static.exp: Likewise.
12672 * gdb.cp/member-ptr.exp: Likewise.
12673 * gdb.cp/method.exp: Likewise.
12674 * gdb.cp/misc.exp: Likewise.
12675 * gdb.cp/namespace.exp: Likewise.
12676 * gdb.cp/overload.exp: Likewise.
12677 * gdb.cp/ovldbreak.exp: Likewise.
12678 * gdb.cp/pr-1023.exp: Likewise.
12679 * gdb.cp/pr-1210.exp: Likewise.
12680 * gdb.cp/pr-574.exp: Likewise.
12681 * gdb.cp/printmethod.exp: Likewise.
12682 * gdb.cp/psmang.exp: Likewise.
12683 * gdb.cp/ref-params.exp: Likewise.
12684 * gdb.cp/ref-types.exp: Likewise.
12685 * gdb.cp/rtti.exp: Likewise.
12686 * gdb.cp/templates.exp: Likewise.
12687 * gdb.cp/try_catch.exp: Likewise.
12688 * gdb.cp/userdef.exp: Likewise.
12689 * gdb.cp/virtfunc.exp: Likewise.
12690 * gdb.disasm/am33.exp: Likewise.
12691 * gdb.disasm/h8300s.exp: Likewise.
12692 * gdb.disasm/mn10300.exp: Likewise.
12693 * gdb.disasm/sh3.exp: Likewise.
12694 * gdb.disasm/t01_mov.exp: Likewise.
12695 * gdb.disasm/t02_mova.exp: Likewise.
12696 * gdb.disasm/t03_add.exp: Likewise.
12697 * gdb.disasm/t04_sub.exp: Likewise.
12698 * gdb.disasm/t05_cmp.exp: Likewise.
12699 * gdb.disasm/t06_ari2.exp: Likewise.
12700 * gdb.disasm/t07_ari3.exp: Likewise.
12701 * gdb.disasm/t08_or.exp: Likewise.
12702 * gdb.disasm/t09_xor.exp: Likewise.
12703 * gdb.disasm/t10_and.exp: Likewise.
12704 * gdb.disasm/t11_logs.exp: Likewise.
12705 * gdb.disasm/t12_bit.exp: Likewise.
12706 * gdb.disasm/t13_otr.exp: Likewise.
12707 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12708 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12709 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12710 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12711 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12712 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12713 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12714 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12715 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12716 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12717 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12718 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12719 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12720 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12721 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12722 * gdb.mi/gdb701.exp: Likewise.
12723 * gdb.mi/gdb792.exp: Likewise.
12724 * gdb.mi/mi-basics.exp: Likewise.
12725 * gdb.mi/mi-break.exp: Likewise.
12726 * gdb.mi/mi-cli.exp: Likewise.
12727 * gdb.mi/mi-console.exp: Likewise.
12728 * gdb.mi/mi-disassemble.exp: Likewise.
12729 * gdb.mi/mi-eval.exp: Likewise.
12730 * gdb.mi/mi-file.exp: Likewise.
12731 * gdb.mi/mi-read-memory.exp: Likewise.
12732 * gdb.mi/mi-regs.exp: Likewise.
12733 * gdb.mi/mi-return.exp: Likewise.
12734 * gdb.mi/mi-simplerun.exp: Likewise.
12735 * gdb.mi/mi-stack.exp: Likewise.
12736 * gdb.mi/mi-stepi.exp: Likewise.
12737 * gdb.mi/mi-syn-frame.exp: Likewise.
12738 * gdb.mi/mi-until.exp: Likewise.
12739 * gdb.mi/mi-var-block.exp: Likewise.
12740 * gdb.mi/mi-var-child.exp: Likewise.
12741 * gdb.mi/mi-var-cmd.exp: Likewise.
12742 * gdb.mi/mi-var-display.exp: Likewise.
12743 * gdb.mi/mi-watch.exp: Likewise.
12744 * gdb.mi/mi2-basics.exp: Likewise.
12745 * gdb.mi/mi2-break.exp: Likewise.
12746 * gdb.mi/mi2-cli.exp: Likewise.
12747 * gdb.mi/mi2-console.exp: Likewise.
12748 * gdb.mi/mi2-disassemble.exp: Likewise.
12749 * gdb.mi/mi2-eval.exp: Likewise.
12750 * gdb.mi/mi2-file.exp: Likewise.
12751 * gdb.mi/mi2-read-memory.exp: Likewise.
12752 * gdb.mi/mi2-regs.exp: Likewise.
12753 * gdb.mi/mi2-return.exp: Likewise.
12754 * gdb.mi/mi2-simplerun.exp: Likewise.
12755 * gdb.mi/mi2-stack.exp: Likewise.
12756 * gdb.mi/mi2-stepi.exp: Likewise.
12757 * gdb.mi/mi2-syn-frame.exp: Likewise.
12758 * gdb.mi/mi2-until.exp: Likewise.
12759 * gdb.mi/mi2-var-block.exp: Likewise.
12760 * gdb.mi/mi2-var-child.exp: Likewise.
12761 * gdb.mi/mi2-var-cmd.exp: Likewise.
12762 * gdb.mi/mi2-var-display.exp: Likewise.
12763 * gdb.mi/mi2-watch.exp: Likewise.
12764 * gdb.stabs/exclfwd.exp: Likewise.
12765 * gdb.stabs/weird.exp: Likewise.
12766 * gdb.threads/gcore-thread.exp: Likewise.
12767 * gdb.trace/actions.exp: Likewise.
12768 * gdb.trace/backtrace.exp: Likewise.
12769 * gdb.trace/circ.exp: Likewise.
12770 * gdb.trace/collection.exp: Likewise.
12771 * gdb.trace/deltrace.exp: Likewise.
12772 * gdb.trace/infotrace.exp: Likewise.
12773 * gdb.trace/limits.exp: Likewise.
12774 * gdb.trace/packetlen.exp: Likewise.
12775 * gdb.trace/passc-dyn.exp: Likewise.
12776 * gdb.trace/passcount.exp: Likewise.
12777 * gdb.trace/report.exp: Likewise.
12778 * gdb.trace/save-trace.exp: Likewise.
12779 * gdb.trace/tfind.exp: Likewise.
12780 * gdb.trace/tracecmd.exp: Likewise.
12781 * gdb.trace/while-dyn.exp: Likewise.
12782 * gdb.trace/while-stepping.exp: Likewise.
12783
12784 2006-08-08 Joel Brobecker <brobecker@adacore.com>
12785
12786 * gdb.base/step-bt.c: New file.
12787 * gdb.base/step-bt.exp: New testcase.
12788
12789 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12790
12791 * config/monitor.exp (gdb_load): Remove support for obsolete
12792 download-write-size.
12793 * gdb.base/remote.exp: Likewise. Update all callers of
12794 gdb_timed_load.
12795
12796 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12797
12798 * cursal.exp: Pass binfile to gdb_load.
12799
12800 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12801
12802 * gdb.base/cursal.exp: Add "" to gdb_load call.
12803
12804 2006-07-29 Mark Kettenis <kettenis@gnu.org>
12805
12806 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12807 NetBSD/ELF targets.
12808
12809 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12810
12811 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12812 operator*.
12813
12814 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12815
12816 * gdb.base/completion.exp: Update for change in "file" behavior.
12817 * gdb.stabs/weird.exp: Likewise.
12818 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12819 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12820
12821 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12822
12823 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12824 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12825
12826 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12827
12828 * gdb.base/default.exp: Update source command error message.
12829 * gdb.base/help.exp: Update 'help source' message.
12830
12831 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12832
12833 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12834 test.
12835
12836 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12837
12838 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12839
12840 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12841
12842 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12843
12844 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12845
12846 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12847
12848 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12849
12850 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12851 *-*-openbsd* from targets for wich we expect ARM FPA floating
12852 point format.
12853
12854 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
12855
12856 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12857
12858 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12859
12860 * gdb.base/annota3.exp: Expect frame-begin annotation.
12861
12862 2006-07-14 Joel Brobecker <brobecker@adacore.com>
12863
12864 * gdb.base/help.exp: Adjust "help unset" test to accept
12865 any list of unset commands.
12866
12867 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12868 Daniel Jacobowitz <dan@codesourcery.com>
12869
12870 * gdb.cp/ref-params.exp: New test.
12871 * gdb.cp/ref-params.cc: New source file.
12872 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12873
12874 2006-07-08 Mark Kettenis <kettenis@gnu.org>
12875
12876 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12877 spaces/tabs in regular expressions since they might not be there.
12878
12879 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12880
12881 * gdb.base/ifelse.exp: New file.
12882
12883 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12884
12885 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12886 line.
12887 * gdb.base/huge.exp: Loop over compilation to find a size that
12888 is acceptable.
12889 * gdb.base/remote.exp: Correct expected strings.
12890 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12891
12892 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12893
12894 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12895
12896 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12897
12898 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12899 native.
12900
12901 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12902
12903 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12904 enable stabs testing.
12905
12906 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12907
12908 * gdb.base/auxv.exp: Intercept undefined command messages before
12909 gdb_test_multiple does.
12910
12911 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12912
12913 * Makefile.in (host_alias): Remove.
12914 (target_alias): Use @target_noncanonical@.
12915 (site.exp): Don't set host_alias.
12916 * aclocal.m4: Remove contents. Include acx.m4.
12917 * configure: Regenerated.
12918 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12919
12920 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12921
12922 * lib/gdb.exp (gdb_load_cmd): New.
12923
12924 * gdb.base/fileio.c: Add system(NULL) test.
12925 * gdb.base/fileio.exp: Check it.
12926
12927 * gdb.base/break.c: Add 10a breakpoint at }
12928 * gdb.base/break.exp: Add test for breakpoint at }
12929 * gdb.cp/anon-union.cc: Add code at end of function.
12930 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12931 * gdb.mi/var-cmd.c: Add code at end of function.
12932 * gdb.mi/mi-var-display.exp: Adjust end of next.
12933 * gdb.mi/mi2-var-display.exp: Likewise.
12934 * gdb.base/fileio.c: Add stop function and insert calls at
12935 stopping places.
12936 * gdb.base/fileio.exp: Breakpoint stop function and remove
12937 explicit line number references.
12938
12939 2006-05-19 Joel Brobecker <brobecker@adacore.com>
12940
12941 * gdb.base/del.exp (test_delete_alias): New function.
12942 Now check that both "del" and "d" work as aliases for "delete".
12943
12944 2006-05-18 Fred Fish <fnf@specifix.com>
12945
12946 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12947 required. Check for spurious output after program exits normally.
12948
12949 2006-05-17 Fred Fish <fnf@specifix.com>
12950
12951 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12952 gdb_load, so it works in the simulator.
12953
12954 2006-05-11 Fred Fish <fnf@specifix.com>
12955
12956 * gdb.base/bang.exp: Ignore unexpected output between the
12957 "program exited normally" and the gdb prompt, as many other
12958 tests do.
12959
12960 2006-05-07 Mark Kettenis <kettenis@gnu.org>
12961
12962 * gdb.base/help.exp: Make "delete checkpoint" part option for
12963 "help d" and "help delete" tests.
12964
12965 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12966
12967 * gdb.mi/mi-basics.exp: Add missing serial number to
12968 expected output in some mi_gdb_test statements.
12969 * gdb.mi/mi2-basics.exp: Likewise.
12970
12971 2006-05-05 Joel Brobecker <brobecker@adacore.com>
12972
12973 * gdb.base/del.c: New file.
12974 * gdb.base/del.exp: New testcase.
12975
12976 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
12977
12978 * gdb.base/break.exp: Do not assume a breakpoint on
12979 main will actually be in $srcfile when optimizing.
12980 * gdb.base/savedregs.exp: Do not require that the dummy
12981 frame location match up to a symbol and source file location.
12982 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12983 will get printed without a mi_cmd_data_list_register_values prefix.
12984 (*-data-list-register-*): Correct regular expressions to expect the new
12985 pseudo d? floating point registers.
12986 * gdb.mi/mi2-regs.exp: Likewise.
12987
12988 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
12989
12990 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12991 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12992 is allocated by the compiler.
12993 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12994 anons, e, anone to force their allocation by the compiler.
12995
12996 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
12997
12998 * gdb.base/help.exp: Update expected text for help d and
12999 help delete.
13000
13001 2006-05-02 Mark Kettenis <kettenis@gnu.org>
13002
13003 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13004 NetBSD/ELF targets.
13005
13006 2006-04-30 Mark Kettenis <kettenis@gnu.org>
13007
13008 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13009 single-step breakpoint fails; make this a KFAIL on
13010 sparc*-*-openbsd*.
13011 * gdb.base/siginfo.exp: Likewise.
13012 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13013
13014 2006-04-26 Michael Snyder <msnyder@redhat.com>
13015
13016 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13017 which may have to consume output from other forks.
13018 Add tests to make sure that "delete fork" succeeded.
13019
13020 2006-04-20 Michael Snyder <msnyder@redhat.com>
13021
13022 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13023 Add support for the Renesas M32C and M16C.
13024
13025 * gdb.asm/asm-source.exp: Add m32c target.
13026 * gdb.asm/m32c.inc: Support for m32c target.
13027
13028 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13029
13030 * gdb.base/commands.exp (recursive_source_test): New test.
13031
13032 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
13033
13034 * gdb.base/float.exp: Add pattern for sparc targets.
13035
13036 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13037
13038 * gdb.base/commands.exp (stray_arg0_test): New test.
13039
13040 2006-03-30 Paul Brook <paul@codesourcery.com>
13041
13042 * gdb.mi/mi-until.exp: kfail broken until command.
13043 * gdb.mi/mi2-until.exp: Ditto.
13044
13045 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
13046
13047 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13048
13049 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
13050
13051 * gdb.base/prelink.exp: Anchor tested-for regular expression
13052 on gdb prompt.
13053
13054 2006-03-07 Paul Brook <paul@codesourcery.com>
13055
13056 * gdb.base/assign.exp: Correct fail message.
13057
13058 2006-03-07 Paul Brook <paul@codesourcery.com>
13059
13060 * lib/compiler.c: Extract armcc version number.
13061 * lib/compiler.cc: Ditto.
13062
13063 2006-03-07 Paul Brook <paul@codesourcery.com>
13064
13065 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13066 additional_flags=-w.
13067 * gdb.arch/altivec-regs.exp: Ditto.
13068 * gdb.arch/e500-abi.exp: Ditto.
13069 * gdb.arch/e500-regs.exp: Ditto.
13070 * gdb.base/all-bin.exp: Ditto.
13071 * gdb.base/annota1.exp: Ditto.
13072 * gdb.base/annota3.exp: Ditto.
13073 * gdb.base/args.exp: Ditto.
13074 * gdb.base/arithmet.exp: Ditto.
13075 * gdb.base/assign.exp: Ditto.
13076 * gdb.base/async.exp: Ditto.
13077 * gdb.base/bang.exp: Ditto.
13078 * gdb.base/break.exp: Ditto.
13079 * gdb.base/call-rt-st.exp: Ditto.
13080 * gdb.base/completion.exp: Ditto.
13081 * gdb.base/cond-expr.exp: Ditto.
13082 * gdb.base/condbreak.exp: Ditto.
13083 * gdb.base/consecutive.exp: Ditto.
13084 * gdb.base/define.exp: Ditto.
13085 * gdb.base/display.exp: Ditto.
13086 * gdb.base/ena-dis-br.exp: Ditto.
13087 * gdb.base/environ.exp: Ditto.
13088 * gdb.base/eval-skip.exp: Ditto.
13089 * gdb.base/info-proc.exp: Ditto.
13090 * gdb.base/jump.exp: Ditto.
13091 * gdb.base/logical.exp: Ditto.
13092 * gdb.base/long_long.exp: Ditto.
13093 * gdb.base/maint.exp: Ditto.
13094 * gdb.base/miscexprs.exp: Ditto.
13095 * gdb.base/pc-fp.exp: Ditto.
13096 * gdb.base/pointers.exp: Ditto.
13097 * gdb.base/relational.exp: Ditto.
13098 * gdb.base/reread.exp: Ditto.
13099 * gdb.base/sect-cmd.exp: Ditto.
13100 * gdb.base/sep.exp: Ditto.
13101 * gdb.base/sepdebug.exp: Ditto.
13102 * gdb.base/until.exp: Ditto.
13103 * gdb.base/whatis-exp.exp: Ditto.
13104 * gdb.cp/annota2.exp: Ditto.
13105 * gdb.cp/annota3.exp: Ditto.
13106 * gdb.trace/actions.exp: Ditto.
13107 * gdb.trace/backtrace.exp: Ditto.
13108 * gdb.trace/circ.exp: Ditto.
13109 * gdb.trace/collection.exp: Ditto.
13110 * gdb.trace/deltrace.exp: Ditto.
13111 * gdb.trace/infotrace.exp: Ditto.
13112 * gdb.trace/limits.exp: Ditto.
13113 * gdb.trace/packetlen.exp: Ditto.
13114 * gdb.trace/passc-dyn.exp: Ditto.
13115 * gdb.trace/passcount.exp: Ditto.
13116 * gdb.trace/report.exp: Ditto.
13117 * gdb.trace/save-trace.exp: Ditto.
13118 * gdb.trace/tfind.exp: Ditto.
13119 * gdb.trace/tracecmd.exp: Ditto.
13120 * gdb.trace/while-dyn.exp: Ditto.
13121 * gdb.trace/while-stepping.exp: Ditto.
13122 * lib/gdb.exp: Ditto.
13123 (gdb_compile): Handle nowarning option.
13124
13125 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
13126
13127 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13128 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13129 Rename executable to prelinkt. Don't re-prelink if we didn't
13130 get a core file. Test prelink -u exit status to tell whether
13131 prelinking failed. Use gdb_test_multiple.
13132
13133 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13134
13135 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13136 (do_tests): Call it.
13137
13138 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
13139
13140 * gdb.base/prelink.exp: New test.
13141 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13142
13143 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13144
13145 * gdb.fortran/derived-type.f90: New file.
13146 * gdb.fortran/derived-type.exp: New testcase.
13147
13148 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13149
13150 * gdb.base/default.exp: Allow ';' as a directory separator.
13151
13152 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13153
13154 * gdb.base/help.exp (help add-symbol-file): Update.
13155
13156 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13157
13158 * gdb.base/help.exp (help load): Update expected results.
13159
13160 2006-02-19 Fred Fish <fnf@specifix.com>
13161
13162 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13163 specifix hex value as part of results.
13164 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
13165
13166 2006-02-16 Fred Fish <fnf@specifix.com>
13167
13168 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13169 ushort_addr, and slong_addr, so the typedefs are not optimized
13170 away.
13171 * gdb.base/whatis.exp: Add tests using type name for struct type,
13172 union type, enum type, and typedef.
13173
13174 2006-02-13 Mark Kettenis <kettenis@gnu.org>
13175
13176 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13177
13178 2006-02-13 Jim Blandy <jimb@redhat.com>
13179
13180 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13181 case where it takes two "next" commands to skip past the init
13182 call.
13183
13184 2006-02-12 Fred Fish <fnf@specifix.com>
13185
13186 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13187 to handle cases where it takes two "next" commands to skip
13188 past the init call.
13189
13190 2006-02-07 Joel Brobecker <brobecker@adacore.com>
13191
13192 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13193 on hppa32 targets.
13194
13195 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
13196
13197 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13198 field.
13199
13200 2006-01-29 Mark Kettenis <kettenis@gnu.org>
13201
13202 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13203
13204 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13205
13206 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13207 files.
13208
13209 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13210
13211 * gdb.cp/maint.exp: Set complaints to a positive value.
13212
13213 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13214
13215 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13216 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13217 function name.
13218
13219 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13220
13221 * gdb.base/checkpoint.c: Update copyright notice. Include
13222 <stdlib.h>.
13223
13224 2006-01-04 Jim Blandy <jimb@redhat.com>
13225
13226 * gdb.asm/asm-source.exp: Independently provide default values for
13227 asm-flags and debug-flags. Use 'string equal' to do the
13228 comparison, not the implicit expr's '==' operator. Remove
13229 now-unneeded assignments to asm-flags. In h8300 case, place
13230 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13231
13232 2006-01-04 Michael Snyder <msnyder@redhat.com>
13233
13234 * gdb.base/checkpoint.c: New file.
13235 * gdb.base/checkpoint.exp: New file.
13236 * gdb.base/multi-fork.c: New file.
13237 * gdb.base/multi-fork.exp: New file.
13238 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13239
13240 2006-01-04 Fred Fish <fnf@specifix.com>
13241
13242 * gdb.base/ptype.c (foo): Add typedef.
13243 (intfoo): Add function.
13244 * gdb.base/ptype1.c: New file.
13245 * gdb.base/ptype.exp: Handle compilation and linking with two
13246 source files. Test that proper type for "foo" is found based
13247 on source context rather than first match found in symtabs.
13248
13249 2005-12-28 Mark Kettenis <kettenis@gnu.org>
13250
13251 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13252 * gdb.asm/openbsd.inc: Indent commands.
13253
13254 2005-12-26 Mark Kettenis <kettenis@gnu.org>
13255
13256 * gdb.base/freebpcmd.exp: Increase timeout.
13257
13258 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13259
13260 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13261
13262 * gdb.base/default.exp: Update check for "show version".
13263
13264 2005-12-09 Randolph Chung <tausq@debian.org>
13265
13266 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13267 * gdb.asm/pa64.inc: New file.
13268
13269 2005-12-09 Randolph Chung <tausq@debian.org>
13270
13271 * gdb.asm/common.inc: Indent commands.
13272 * gdb.asm/asmsrc1.s: Likewise.
13273 * gdb.asm/asmsrc2.s: Likewise.
13274
13275 2005-12-09 Randolph Chung <tausq@debian.org>
13276
13277 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13278 (get_addr_of_sym): Remove duplicate print.
13279 (gen_core): xfail hppa*-*-hpux*, update expected output.
13280 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13281 * gdb.arch/pa64-nullify.s: New file.
13282
13283 2005-12-09 Randolph Chung <tausq@debian.org>
13284
13285 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13286
13287 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
13288
13289 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13290 code generation for these functions.
13291 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13292 error message.
13293
13294 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13295
13296 * gdb.base/help.exp (help b, help br, help bre, help brea)
13297 (help break): Update the expected message.
13298
13299 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13300
13301 * gdb.asm/m68hc11.inc: Setup the data section.
13302 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13303 script for this test.
13304 (m6812-*-*): Likewise.
13305
13306 2005-11-09 Randolph Chung <tausq@debian.org>
13307
13308 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13309
13310 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13311
13312 * gdb.base/break.exp: Fix a comment typo.
13313
13314 2005-11-03 Jim Blandy <jimb@redhat.com>
13315
13316 Checked in by Elena Zannoni <ezannoni@redhat.com>
13317
13318 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
13319
13320 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
13321
13322 * gdb.arch/gdb1558.c: Include stdio.h.
13323
13324 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13325
13326 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13327
13328 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13329
13330 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13331
13332 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13333
13334 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13335 vscr" tests to better match output.
13336
13337 2005-10-12 Jim Blandy <jimb@redhat.com>
13338
13339 * gdb.base/structs.exp (any): New function.
13340 (test_struct_returns): Don't make any assumptions at all about
13341 what value the function returns when GDB can't set the return
13342 value.
13343
13344 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13345
13346 * gdb.ada/arrayidx/p.adb: New file.
13347 * gdb.ada/arrayidx.exp: New testcase
13348
13349 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13350
13351 * gdb.ada/array_return/pck.ads: New file.
13352 * gdb.ada/array_return/pck.adb: New file.
13353 * gdb.ada/array_return/p.adb: New file.
13354 * gdb.ada/array_return.exp: New testcase.
13355
13356 2005-10-03 Joel Brobecker <brobecker@adacore.com>
13357
13358 * gdb.base/arrayidx.c: New file.
13359 * gdb.base/arrayidx.exp: New testcase.
13360
13361 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
13362
13363 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13364 frames-invalid and breakpoints-invalid are no longer generated
13365 with level 3 so don't expect them in the output.
13366
13367 2005-09-27 Bob Rossi <bob@brasko.net>
13368
13369 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
13370 from test. Escape the | in mi_gdb_test call.
13371 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13372 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13373 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13374 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13375 expected regex's in mi_gdb_test calls.
13376 * lib/mi-support.exp: Remove arbitrary .* from tests.
13377 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13378 Fully anchor GDB/MI expected results in mi_gdb_test.
13379 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13380 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13381
13382 2005-09-26 Paul Brook <paul@codesourcery.com>
13383
13384 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13385
13386 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13387
13388 * bfp-test.c: New file.
13389 * bfp-test.exp: New testcase.
13390
13391 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13392
13393 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13394 of subarray and substring variable.
13395 * gdb.fortran/subarray.f: New source file for the test of subarray
13396 and substring variable evaluation.
13397 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13398 of string constant.
13399
13400 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13401
13402 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13403 copyright dates.
13404
13405 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13406
13407 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13408 powerpc altivec' test with an almost identical 'info vector' test.
13409
13410 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13411
13412 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13413 vscr" tests to match output.
13414
13415 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13416
13417 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13418 output.
13419
13420 2005-09-11 Bob Rossi <bob@brasko.net>
13421
13422 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13423 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13424 commands that return an MI output command and an asyncronous MI output
13425 command.
13426 * gdb.mi/mi-console.exp: Ditto.
13427
13428 2005-09-11 Bob Rossi <bob@brasko.net>
13429
13430 * gdb.mi/mi-var-child.c: Include <string.h>.
13431
13432 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13433
13434 * killed.exp: Correct gdb_expect syntax.
13435
13436 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
13437
13438 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13439
13440 2005-08-02 Bob Rossi <bob@brasko.net>
13441
13442 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13443 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13444 Change tests to inferior-tty-set/show.
13445 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13446 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13447 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13448 inferior. Use mi_gdb_test to get GDB and Inferior output.
13449 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13450 descriptor.
13451 (mi_inferior_tty_name): Add inferior PTY file name.
13452 (mi_gdb_start): Add INFERIOR_PTY parameter.
13453 (mi_gdb_test): Add IPATTERN parameter.
13454
13455 2005-08-02 Bob Rossi <bob@brasko.net>
13456
13457 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13458 parameter to mi_gdb_test.
13459 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13460
13461 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13462
13463 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13464 struct_declarations.
13465 * gdb.mi/mi-var-child.exp: Step over the initialization of
13466 struct_declarations.
13467
13468 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13469
13470 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13471 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13472 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13473 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13474 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13475 file.
13476
13477 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
13478
13479 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13480 (do_children_tests): Assign values to the extra elements.
13481
13482 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13483 them for tests for "-var-update --no-values" and
13484 "-var-update --all-values".
13485 Add test for "-var-list-children --simple-values".
13486
13487 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13488
13489 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13490 "-stack-list-locals --simple-values" Improve doc strings and
13491 comments.
13492
13493 2005-07-18 Mark Kettenis <kettenis@gnu.org>
13494
13495 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13496 *-*-openbsd*.
13497 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13498
13499 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13500 sigaltsatck'.
13501
13502 2005-07-14 Bob Rossi <bob@brasko.net>
13503
13504 * gdb.base/default.exp (tty): Changed output of command.
13505 * gdb.base/help.exp (help tty): Ditto.
13506
13507 2005-07-12 Mark Kettenis <kettenis@gnu.org>
13508
13509 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13510
13511 2005-07-10 Mark Kettenis <kettenis@gnu.org>
13512
13513 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13514 -stack-select-frame without arguments.
13515 (test_stack_frame_listing): Add test for newly implemented command
13516 -stack-info-frame.
13517
13518 2005-07-06 Bob Rossi <bob@brasko.net>
13519
13520 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13521 command.
13522 (Copyright): Update copyright.
13523
13524 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13525
13526 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13527 tests to evaluate exponentiation expression.
13528
13529 2005-06-29 Andreas Schwab <schwab@suse.de>
13530
13531 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13532 main to avoid warnings.
13533
13534 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13535
13536 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
13537
13538 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13539 -stack-select-frame without arguments.
13540 (test_stack_frame_listing): Add test for newly implemented command
13541 -stack-info-frame.
13542
13543 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13544
13545 * gdb.fortran/array-element.f: New file.
13546 * gdb.fortran/array-element.exp: New testcase.
13547
13548 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13549
13550 * gdb.base/bigcore.exp: Correct checks for systems which can
13551 not dump a large core file.
13552
13553 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13554
13555 * gdb.base/relocate.c: Add a copyright notice.
13556 (dummy): Remove.
13557 * gdb.base/relocate.exp: Test printing the values of variables
13558 from a relocatable file.
13559
13560 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13561
13562 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13563 excess MI output after an error.
13564
13565 2005-05-29 Joel Brobecker <brobecker@adacore.com>
13566
13567 * gdb.arch/alpha-step.c: New file.
13568 * gdb.arch/alpha-step.exp: New testcase.
13569
13570 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13571 Dennis Brueni <dennis@slickedit.com>
13572
13573 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13574 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13575 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13576 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13577 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13578 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13579 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13580
13581 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13582 Wu Zhou <woodzltc@cn.ibm.com>
13583
13584 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13585 IBM's xlc compiler.
13586 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13587 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13588
13589 2005-05-13 Jim Blandy <jimb@redhat.com>
13590
13591 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13592 calling gdb_suppress_entire_file.
13593 * gdb.base/charset.exp: Same.
13594 * gdb.base/call-rt-st.exp: Same.
13595
13596 2005-05-05 Bob Rossi <bob_rossi@cox.net>
13597
13598 * lib/gdb.exp (fullname_syntax): Added global regex.
13599 (fullname_syntax_POSIX): Ditto.
13600 (fullname_syntax_UNC): Ditto.
13601 (fullname_syntax_DOS_CASE): Ditto.
13602 (fullname_syntax_DOS): Ditto.
13603 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13604 fullname_syntax variable to scope and use it.
13605 (test_file_list_exec_source_files): Ditto.
13606 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13607
13608 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13609
13610 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13611
13612 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13613
13614 * lib/gdb.exp (skip_altivec_tests): New function, based on
13615 check_vmx_hw_available from the GCC testsuite.
13616 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13617 * lib/gdb.arch/altivec-regs.exp: Likewise.
13618
13619 2005-05-02 Jim Blandy <jimb@redhat.com>
13620
13621 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13622 calling gdb_suppress_entire_file.
13623
13624 2005-04-30 Randolph Chung <tausq@debian.org>
13625
13626 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13627 Slightly relax "sem_post" name checking.
13628
13629 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13630
13631 * gdb.base/unload.exp: Use new shared library infrastructure.
13632
13633 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13634
13635 * gdb.base/so-impl-ld.exp: Use new shared library
13636 infrastructure.
13637
13638 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
13639
13640 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13641 * gdb.asm/h8300.inc: New file.
13642
13643 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13644
13645 * gdb.base/shlib-call.exp: Change to use new shared library
13646 infrastructure.
13647
13648 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13649
13650 * gdb.base/pending.exp: Change to use new shared library
13651 infrastructure.
13652
13653 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13654
13655 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13656 use test_compiler_info instead of gcc_compiled, and update copyright.
13657
13658 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13659
13660 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13661 shared objects being adjusted and update copyright years.
13662
13663 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13664
13665 * ChangeLog: Correct some 2003-01-13 dates.
13666 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13667 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13668 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13669 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13670 gdb.trace/tfind.exp: Update copyright years.
13671
13672 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13673 Daniel Jacobowitz <dan@codesourcery.com>
13674
13675 * lib/gdb.exp (gdb_compile): Handle shlib=.
13676 (gdb_compile_shlib): New function.
13677
13678 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13679
13680 * lib/gdb.exp (test_compiler_info): Give argument a default value.
13681
13682 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13683
13684 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13685 gdb.server.
13686 * configure.ac: Likewise.
13687 * configure: Regenerated.
13688 * gdb.gdbserver/Makefile.in: Moved to...
13689 * gdb.server/Makefile.in: ... here.
13690 * gdb.gdbserver/server.c: Moved to...
13691 * gdb.server/server.c: ... here.
13692 * gdb.gdbserver/server-run.exp: Moved to...
13693 * gdb.server/server-run.exp: ... here.
13694
13695 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13696
13697 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13698 * configure.ac: Create gdb.gdbserver/Makefile.
13699 * configure: Regenerated.
13700 * lib/gdbserver-support.exp: New file, derived from
13701 config/gdbserver.exp.
13702 * config/gdbserver.exp: Use gdbserver-support.exp.
13703 * gdb.gdbserver/Makefile.in: New file.
13704 * gdb.gdbserver/server.c: New file.
13705 * gdb.gdbserver/server-run.exp: New file.
13706
13707 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13708
13709 * lib/gdb.exp (test_compiler_info): Return compiler_info
13710 if no arguments are given.
13711
13712 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13713
13714 * gdb.arch/altivec-abi.exp: Check for compiler and set
13715 use altivec' flag accordingly.
13716 * gdb.arch/altivec-regs.exp: Likewise.
13717
13718 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13719
13720 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13721
13722 2005-03-27 Andreas Schwab <schwab@suse.de>
13723
13724 * gdb.base/bigcore.c (main): Add missing mode argument in open
13725 call.
13726
13727 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13728
13729 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13730 downloads.
13731 * config/gdbserver.exp (gdb_load): Likewise.
13732
13733 2005-03-14 Paul Brook <paul@codesourcery.com>
13734
13735 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13736 targets.
13737
13738 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13739
13740 * gdb.dwarf2/dup-psym.S: New file.
13741 * gdb.dwarf2/dup-psym.exp: New testcase.
13742
13743 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13744
13745 * gdb.ada/exec_changed/first.adb: New file.
13746 * gdb.ada/exec_changed/second.adb: New file.
13747 * gdb.ada/exec_changed.exp: New testcase.
13748
13749 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13750
13751 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13752 (A2): New class.
13753 (main): Test operator+.
13754 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13755 breakpoint test.
13756
13757 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13758 * gdb.base/signull.exp: Disable if gdb,nosignals.
13759 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13760 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13761 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13762 * gdb.mi/mi2-console.exp: Likewise.
13763 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13764 continue output at start.
13765 (gdb_collect_locals_test): Robustify regexp.
13766 * gdb.trace/passc-dyn.exp: Fix comment typo.
13767 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13768
13769 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
13770
13771 * gdb.asm/asm-source.exp: Add iq2000 case.
13772 * gdb.asm/iq2000.inc: New file.
13773
13774 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
13775
13776 * gdb.base/command.exp: Change hardcoded value to regular expression.
13777 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13778
13779 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13780
13781 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13782 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13783 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13784 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13785 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13786
13787 2005-03-05 Mark Kettenis <kettenis@gnu.org>
13788
13789 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13790 changes.
13791
13792 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13793
13794 * lib/compiler.c: Add test for IBM's xlc compiler.
13795 * lib/compiler.cc: Likewise.
13796
13797 2004-02-24 Joel Brobecker <brobecker@adacore.com>
13798
13799 * gdb.ada/fixed_points.exp: Create compilation object directory
13800 before running the test.
13801 * gdb.ada/null_record.exp: Likewise.
13802 * gdb.ada/packed_array.exp: Likewise.
13803 * gdb.ada/start.exp: Likewise.
13804
13805 2005-02-15 Joel Brobecker <brobecker@adacore.com>
13806
13807 * gdb.ada/packed_array/pa.adb: New file.
13808 * gdb.ada/packed_array.exp: New testcase.
13809
13810 2005-02-10 Mark Kettenis <kettenis@gnu.org>
13811
13812 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13813 files.
13814
13815 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13816 on *-*-openbsd*. Correctly match whitespace in regukar
13817 expressions.
13818
13819 2005-02-10 Daniel Jacobowitz <dan@debian.org>
13820
13821 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13822 PR exp/1821
13823 * gdb.base/gdb1821.c: New test file.
13824 * gdb.base/gdb1821.exp: New test file.
13825
13826 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13827
13828 * gdb.base/start.c: New file.
13829 * gdb.base/start.exp: New testcase.
13830
13831 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13832
13833 * gdb.ada/start/dummy.adb: New file.
13834 * gdb.ada/start.exp: New testcase.
13835
13836 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
13837
13838 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13839 for printing symbols and statistics.
13840 Add test for using relative pathnames in "maint print msymbols" test.
13841 Mark "maint info sections DATA" XFAIL on Cygwin.
13842 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13843 tests.
13844
13845 2005-02-09 Andreas Schwab <schwab@suse.de>
13846
13847 Committed by Andrew Cagney <cagney@gnu.org>
13848 * gdb.base/remotetimeout.exp: New file.
13849
13850 2005-02-07 Mark Kettenis <kettenis@gnu.org>
13851
13852 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13853
13854 2005-02-03 Joel Brobecker <brobecker@adacore.com>
13855
13856 * gdb.ada/gnat_ada.gpr: New file.
13857 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13858 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13859 * configure.ac: No longer generate gnat_ada.gpr.
13860 * configure: Regenerate.
13861 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13862 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13863 * gdb.ada/null_record/bar.ads: Likewise.
13864 * gdb.ada/null_record/bar.adb: Likewise.
13865 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13866 * gdb.ada/null_record.exp (testdir): New variable.
13867 (testfile): executable is now in testdir subdirectory.
13868 (srcfile): Use full path to the main compilation unit.
13869 * gdb.ada/fixed_points.exp: Same changes as above.
13870
13871 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
13872
13873 * gdb.base/interp.exp: New test.
13874
13875 2005-01-24 Andrew Cagney <cagney@gnu.org>
13876
13877 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13878
13879 2005-01-19 Andrew Cagney <cagney@gnu.org>
13880
13881 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13882 configure.ac not configure.in.
13883
13884 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13885 of powerpc*-*-*.
13886 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13887 * gdb.base/list.exp (test_list_function)
13888 (test_list_filename_and_function): Ditto.
13889 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13890
13891 2005-01-16 Andrew Cagney <cagney@gnu.org>
13892
13893 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13894
13895 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13896
13897 2005-01-14 Andrew Cagney <cagney@gnu.org>
13898
13899 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13900 * gdb.mi/mi2-var-cmd.exp: Ditto.
13901
13902 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
13903
13904 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13905
13906 2005-01-07 Andrew Cagney <cagney@gnu.org>
13907
13908 * configure.ac: Rename configure.in, require autoconf 2.59.
13909 * configure: Re-generate.
13910 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13911 * gdb.stabs/configure: Re-generate.
13912 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13913 * gdb.hp/configure: Re-generate.
13914 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13915 autoconf 2.59.
13916 * gdb.hp/gdb.objdbg/configure: Re-generate.
13917 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13918 autoconf 2.59.
13919 * gdb.hp/gdb.defects/configure: Re-generate.
13920 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13921 autoconf 2.59.
13922 * gdb.hp/gdb.compat/configure: Re-generate.
13923 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13924 autoconf 2.59.
13925 * gdb.hp/gdb.base-hp/configure: Re-generate.
13926 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13927 autoconf 2.59.
13928 * gdb.hp/gdb.aCC/configure: Re-generate.
13929
13930 2004-12-15 Jim Blandy <jimb@redhat.com>
13931
13932 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13933 under NPTL when there is debugging info available for libpthread.
13934
13935 2004-12-13 Jerome Guitton <guitton@gnat.com>
13936
13937 * gdb.ada/fixed_points.c: New file.
13938 * gdb.ada/fixed_points.exp: New file.
13939
13940 2004-12-03 Randolph Chung <tausq@debian.org>
13941
13942 * gdb.arch/pa-nullify.exp: New file.
13943 * gdb.arch/pa-nullify.s: New file.
13944
13945 2004-11-30 Randolph Chung <tausq@debian.org>
13946
13947 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13948 instead of "tbug". Fix regexp to work properly with gdb_test.
13949
13950 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13951
13952 * gdb.base/bitfields2.exp: New test.
13953 * gdb.base/bitfields2.c: New file.
13954
13955 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
13956
13957 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13958
13959 2004-11-16 Randolph Chung <tausq@debian.org>
13960
13961 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13962
13963 2004-11-14 Daniel Jacobowitz <dan@debian.org>
13964
13965 * gdb.threads/threadapply.exp: Correct "macro details" test.
13966
13967 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13968
13969 * gdb.threads/threadapply.exp: New test.
13970 * gdb.threads/threadapply.c: New file.
13971
13972 2004-11-07 Mark Kettenis <kettenis@gnu.org>
13973
13974 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13975 frames.
13976
13977 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
13978
13979 * gdb.base/cursal.exp: New file.
13980 * gdb.base/cursal.c: New file.
13981
13982 2004-11-03 Andrew Cagney <cagney@gnu.org>
13983
13984 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13985
13986 2004-10-30 Mark Kettenis <kettenis@gnu.org>
13987
13988 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13989 NetBSD/ELF targets.
13990
13991 2004-10-29 Joel Brobecker <brobecker@gnat.com>
13992
13993 * gdb.threads/bp_in_thread.c: New file, copied from
13994 pthread_cond_wait.c.
13995 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13996 file, rather than reusing the .c file from another testcase.
13997
13998 2004-10-20 Joel Brobecker <brobecker@gnat.com>
13999
14000 * gdb.ada/null_record.exp: Check where we stopped after
14001 sending the start command, instead of where the associated
14002 temporary breakpoint was inserted.
14003
14004 2004-10-14 Andrew Cagney <cagney@gnu.org>
14005
14006 * gdb.mi/gdb701.c (main): Return 0.
14007
14008 2004-10-13 Daniel Jacobowitz <dan@debian.org>
14009
14010 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
14011
14012 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14013
14014 * gdb.threads/schedlock.c: Add comment markers to use to find
14015 line numbers.
14016 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14017 comments.
14018 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14019 breakpoint lines.
14020
14021 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14022
14023 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14024
14025 2004-10-12 Daniel Jacobowitz <dan@debian.org>
14026
14027 * configure.in: Add gdb.dwarf2.
14028 * configure: Regenerated.
14029 * Makefile.in: Add gdb.dwarf2.
14030 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14031 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14032 gdb.dwarf2/file1.txt: New files.
14033
14034 2004-10-11 Orjan Friberg <orjanf@axis.com>
14035
14036 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
14037 of "run", since the latter doesn't work with remote targets. Adjust
14038 the breakpoint numbering accordingly.
14039 * gdb.threads/pthread_cond_wait.exp: Ditto.
14040
14041 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14042
14043 * gdb.base/overlays.exp: Update copyright years.
14044
14045 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14046
14047 * gdb.base/overlays.exp: Disable if target is Linux.
14048
14049 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
14050
14051 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14052
14053 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14054
14055 * gdb.asm/asm-source.exp: Add m32r-linux target.
14056 * gdb.asm/m32r-linux.inc: New file.
14057
14058 2004-09-24 Andrew Cagney <cagney@redhat.com>
14059 David Anderson <anderson@redhat.com>
14060
14061 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14062 command fails, assume things will work.
14063 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14064 (_GNU_SOURCE): Define.
14065 (print_unsigned, print_hex): Change parameter to "long long".
14066 (print_byte_count): New function, use to print byte counts.
14067 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14068 O_LARGEFILE.
14069 (main): Compute an upper bound on a corefile in max_core_size.
14070 Limit memory chunk size to max_core_size. Limit total memory
14071 allocated to max_core_size.
14072
14073 2004-09-23 Andrew Cagney <cagney@gnu.org>
14074
14075 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14076 from a separate process with code that creates a corefile by
14077 making the inferior dump core.
14078
14079 2004-09-23 Mark Kettenis <kettenis@gnu.org>
14080
14081 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14082 block.
14083
14084 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14085
14086 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14087 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14088 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14089 Likewise.
14090
14091 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14092
14093 * gdb.java/jprint.exp: New test case for java inferior call.
14094 * gdb.java/jprint.java: Ditto.
14095
14096 2004-09-15 Joel Brobecker <brobecker@gnat.com>
14097
14098 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14099
14100 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14101
14102 * gdb.threads/killed.c: Include <stdlib.h>.
14103 * gdb.threads/pthreads.c: Likewise.
14104
14105 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14106
14107 * gdb.threads/killed.c: Add copyright notice.
14108
14109 2004-09-10 Jason Molenda (jmolenda@apple.com)
14110
14111 * gdb.base/define.exp: Two new tests to verify zero space chars
14112 after 'if' and 'while' commands in a user-defined command is correctly
14113 parsed.
14114
14115 2004-09-08 Andrew Cagney <cagney@gnu.org>
14116
14117 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14118 delivery test with duplicate at end of file.
14119
14120 2004-09-06 Mark Kettenis <kettenis@jive.nl>
14121
14122 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14123
14124 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14125
14126 * config/hppro.exp: Removed.
14127
14128 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14129
14130 * config/sparclet.exp: Removed.
14131
14132 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14133
14134 * config/udi.exp: Removed.
14135
14136 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14137
14138 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14139 of "exp_continue".
14140 (advancei): Likewise.
14141
14142 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14143
14144 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14145
14146 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14147
14148 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
14149 to check for nodebug in executable.
14150 * gdb.gdb/observer.exp (setup_test): Likewise.
14151 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14152 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14153
14154 2004-09-01 Andrew Cagney <cagney@gnu.org>
14155
14156 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14157 files.
14158
14159 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14160
14161 * gdb.base/unload.exp: Fix expected warning message to match
14162 latest format.
14163
14164 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
14165
14166 * gdb.base/call-rt-st.exp: Fix typos.
14167
14168 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14169
14170 * gdb.threads/thread_check.exp: New testcase.
14171 * gdb.threads/thread_check.c: New testcase.
14172
14173 2004-08-31 Andrew Cagney <cagney@gnu.org>
14174
14175 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14176 (skip_to_handler_entry): New procedures. Test stepping into a
14177 handler when the breakpoint is at the handler's entry point.
14178
14179 2004-08-30 Andrew Cagney <cagney@gnu.org>
14180
14181 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14182 gdb/1757.
14183
14184 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14185
14186 With code from Manoj Iyer <manjo@austin.ibm.com>:
14187 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14188 return value. Add an arm for "no debugging symbols found".
14189 Change a stray "error" to "perror".
14190 (gdb_run_cmd): Adapt to new return value.
14191 * gdb.base/remote.exp: Adapt to new return value.
14192 * gdb.gdb/complaints.exp: Likewise.
14193 * gdb.gdb/observer.exp: Likewise.
14194 * gdb.gdb/selftest.exp: Likewise.
14195 * gdb.gdb/xfullpath.exp: Likewise.
14196
14197 2004-08-27 Joel Brobecker <brobecker@gnat.com>
14198
14199 * gdb.threads/bp_in_thread.exp: New testcase.
14200
14201 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14202
14203 Fix PR testsuite/1735.
14204 * gdb.threads/schedlock.c (thread_function): Add a cast
14205 to suppress a gcc warning.
14206 * gdb.threads/thread-specific.c (thread_function): Likewise.
14207
14208 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14209
14210 * gdb.base/unload.c: Include <stdlib.h>.
14211
14212 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14213
14214 From Paul Gilliam <pgilliam@us.ibm.com>:
14215 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14216 synchronized after the "return".
14217
14218 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14219
14220 * gdb.mi/basics.c: Include <stdio.h>.
14221 * gdb.mi/pthreads.c: Include <stdlib.h>.
14222 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14223
14224 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14225
14226 * gdb.threads/schedlock.c: Add copyright notice.
14227
14228 2004-08-25 Andrew Cagney <cagney@gnu.org>
14229
14230 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14231 (skip_over_handler, breakpoint_over_hander): New test procedures.
14232 (advance, advancei): Add a proper prefix, do not use
14233 rerun_to_main.
14234 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14235
14236 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14237
14238 * gdb.mi/basics.c: Add copyright notice.
14239 * gdb.mi/var-cmd.c: Add copyright notice.
14240
14241 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14242
14243 * lib/gdb.exp: Remove signed_keyword_not_used.
14244 * lib/compiler.c: Likewise.
14245 * lib/compiler.cc: Likewise.
14246
14247 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14248
14249 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14250 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14251
14252 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14253
14254 * gdb.base/whatis.c: Add copyright notice.
14255
14256 2004-08-20 Mark Kettenis <kettenis@gnu.org>
14257
14258 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14259 it to skip the breakpoints encoded in the inline assembly.
14260
14261 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14262
14263 * Makefile.in: Add gdb.fortran.
14264
14265 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14266
14267 * gdb.base/call-sc.exp (test_scalar_returns):
14268 Fix cut-and-paste glitch in "Make fun return now".
14269
14270 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14271
14272 * configure.in: Add gdb.fortran.
14273 * configure: Regenerate.
14274 * gdb.fortran/Makefile.in: New file.
14275 * lib/gdb.exp (skip_fortran_tests): New procedure.
14276
14277 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14278
14279 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14280 reference to bug-gnu@prep.ai.mit.edu.
14281 * gdb.mi/mi-var-child.exp: Likewise.
14282 * gdb.mi/mi-var-cmd.exp: Likewise.
14283 * gdb.mi/mi-var-display.exp: Likewise.
14284 * gdb.mi/mi2-var-block.exp: Likewise.
14285 * gdb.mi/mi2-var-child.exp: Likewise.
14286 * gdb.mi/mi2-var-cmd.exp: Likewise.
14287 * gdb.mi/mi2-var-display.exp: Likewise.
14288
14289 2004-08-15 Mark Kettenis <kettenis@gnu.org>
14290
14291 * gdb.base/unload.c (main): Make local variable msg const.
14292
14293 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14294
14295 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14296 to bug-gnu@prep.ai.mit.edu.
14297 * gdb.mi/mi-disassemble.exp: Likewise.
14298 * gdb.mi/mi-eval.exp: Likewise.
14299 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14300 default line number.
14301 * gdb.mi/mi-return.exp: Likewise.
14302 * gdb.mi/mi-simplerun.exp: Likewise.
14303 * gdb.mi/mi-stack.exp: Likewise.
14304 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14305 number with explicit range test.
14306 * gdb.mi/mi-watch.exp: Likewise.
14307 * gdb.mi/mi2-break.exp: Likewise.
14308 * gdb.mi/mi2-cli.exp: Likewise.
14309 * gdb.mi/mi2-disassemble.exp: Likewise.
14310 * gdb.mi/mi2-eval.exp: Likewise.
14311 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14312 default line number.
14313 * gdb.mi/mi2-return.exp: Likewise.
14314 * gdb.mi/mi2-simplerun.exp: Likewise.
14315 * gdb.mi/mi2-stack.exp: Likewise.
14316 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14317 number with explicit range test.
14318 * gdb.mi/mi2-watch.exp: Likewise.
14319
14320 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14321
14322 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14323 * gdb.cp/m-static.exp: Likewise.
14324 * gdb.cp/rtti.exp: Likewise.
14325
14326 2004-08-14 Mark Kettenis <kettenis@gnu.org>
14327
14328 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14329
14330 2004-08-14 Eli Zaretskii <eliz@gnu.org>
14331
14332 * ChangeLog: Prefix Local Variables with semi-colons and indent
14333 the reference to older ChangeLog files, to fix fontification in
14334 Emacs.
14335
14336 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14337
14338 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14339 * gdb.mi/mi2-break.exp: Likewise.
14340
14341 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14342
14343 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14344
14345 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14346
14347 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14348
14349 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14350
14351 * gdb.cp/classes.exp: Remove unused declarations. Just let
14352 test names default instead of providing special names. Remove
14353 extraneous demangler test.
14354
14355 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14356
14357 * gdb.base/unload.exp: New test for breakpoints in dynamically
14358 loaded libraries.
14359 * gdb.base/unload.c: Ditto.
14360 * gdb.base/unloadshr.c: Ditto.
14361
14362 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14363
14364 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14365 cp_test_ptype_class.
14366 (test_enums): Likewise.
14367
14368 2004-08-10 Andrew Cagney <cagney@gnu.org>
14369
14370 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14371 files.
14372
14373 2004-08-10 Andrew Cagney <cagney@gnu.org>
14374
14375 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14376 init_malloc call.
14377
14378 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14379
14380 * ChangeLog: Add copyright notice. The notice is copied
14381 from emacs 21.3 top level ChangeLog.
14382
14383 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14384
14385 * lib/cp-support.exp: New file.
14386 * lib/cp-support.exp (cp_test_type_class): New function.
14387 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14388 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14389 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14390 cp_test_ptype_class.
14391
14392 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14393
14394 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14395 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14396 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14397 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14398 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14399 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14400 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14401 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14402 gdb.mi/mi2-watch.exp: Update copyright years.
14403
14404 2004-08-09 Mark Kettenis <kettenis@gnu.org>
14405
14406 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14407
14408 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14409
14410 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14411 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14412 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14413 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14414 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14415 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14416 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14417 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14418 gdb.mi/mi-watch.exp: Update copyright years.
14419
14420 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14421
14422 PR gdb/1738
14423 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14424 from a breakpoint with a pending signal.
14425
14426 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14427
14428 PR gdb/1736
14429 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14430 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14431 the prompt.
14432 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14433
14434 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14435
14436 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14437
14438 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14439
14440 PR gdb/1736
14441 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14442 for i?86-*-linux*.
14443
14444 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14445
14446 * gdb.arch/i386-prologue.exp: Compile without debug information.
14447
14448 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14449
14450 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14451 rather than asking gdb to search.
14452
14453 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14454
14455 * gdb.base/gcore.c: Include <string.h>.
14456
14457 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14458
14459 * gdb.base/gcore.c: Add copyright notice.
14460
14461 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14462
14463 * gdb.base/freebpcmd.c: Include <stdio.h>.
14464 * gdb.base/long_long.c: Include <string.h>.
14465 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14466 * gdb.base/siginfo.c: Include <string.h>.
14467 * gdb.base/sigstep.c: Include <string.h>.
14468
14469 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14470
14471 * gdb.base/complex.c: Include <stdlib.h>.
14472
14473 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14474
14475 * gdb.base/complex.c: Add copyright notice.
14476
14477 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14478
14479 * gdb.base/charset.c: Include <stdlib.h>.
14480
14481 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14482
14483 * gdb.base/auxv.c: Include <stdlib.h>.
14484
14485 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14486
14487 * gdb.base/auxv.c: Add copyright notice.
14488
14489 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14490
14491 * gdb.base/coremaker.c: Add copyright notice.
14492 * gdb.base/coremaker2.c: Add copyright notice.
14493
14494 2004-08-04 Andrew Cagney <cagney@gnu.org>
14495
14496 * gdb.base/store.exp: Update copyright.
14497 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14498 names, do not import gdb_prompt.
14499
14500 2004-08-01 Andrew Cagney <cagney@gnu.org>
14501
14502 Fix PR testsuite/1729.
14503 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14504 not use capture_value with value 4.
14505 (capture_value): Add optional test name parameter.
14506 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14507 the prefix, pass to capture_value.
14508
14509 2004-08-01 Mark Kettenis <kettenis@gnu.org>
14510
14511 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14512 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14513 (main): Call new function.
14514
14515 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14516
14517 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14518
14519 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14520
14521 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14522
14523 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14524
14525 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
14526 Accept more values of vtbl pointer. Remove some messages
14527 about "obsolete gcc or gdb".
14528
14529 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14530
14531 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14532
14533 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14534
14535 * gdb.base/asm-source.exp: Properly convert target board
14536 debug flags from gcc format to binutils format.
14537
14538 2004-07-28 Mark Kettenis <kettenis@gnu.org>
14539
14540 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14541 gdb1718". PR backtrace/1718 partially fixed.
14542
14543 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14544
14545 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14546
14547 2004-07-26 Nick Clifton <nickc@redhat.com>
14548
14549 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14550 good default value for a specific architecture is available then
14551 set it to that value. Otherwise default to the -gstabs switch.
14552 Remove the -g... switches from the asm-flags variable. Allow the
14553 target board info to override the value if it wants to. Pass the
14554 switch on the assembler command line.
14555
14556 2004-07-23 Mark Kettenis <kettenis@gnu.org>
14557
14558 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14559 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14560 (main): Call new function.
14561
14562 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14563
14564 Test for PR exp/1715.
14565 * gdb.base/radix.exp: Refactor common procedures. Make all
14566 test names unique. Change XFAIL to KFAIL.
14567
14568 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14569
14570 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14571 * gdb.ada/gnat_ada.gin: ... to here.
14572 * configure.in: Use gnat_ada.gin.
14573 * configure: Regenerate.
14574
14575 2004-07-20 Andrew Cagney <cagney@gnu.org>
14576
14577 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14578 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14579 XFAILs. Clean up test messages and comments. Check backtraces.
14580 Delete re-sync code.
14581
14582 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14583
14584 Fix PR cli/740.
14585 * gdb.base/annota1.exp: Honor gdb,nosignals.
14586 * gdb.base/annota3.exp: Likewise.
14587
14588 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14589
14590 * lib/java.exp: Update copyright notice.
14591
14592 2004-07-19 Andrew Cagney <cagney@gnu.org>
14593
14594 * gdb.base/selftest.exp: Copy file from here ...
14595 * gdb.gdb/selftest.exp: ... to here.
14596
14597 2004-07-16 Andrew Cagney <cagney@redhat.com>
14598
14599 * lib/insight-support.exp: Delete file.
14600 * lib/java.exp (java_init): Fix copyright.
14601
14602 2004-07-16 Andrew Cagney <cagney@gnu.org>
14603
14604 * gdb.base/restore.c: Append "prologue" to comments marking the a
14605 function's prologue.
14606 * gdb.base/restore.exp: Update copyright, re-indent.
14607 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14608 callerN" prefix where needed. Update patterns that match a
14609 function's prologue.
14610
14611 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14612
14613 * gdb.base/restore.c: Add copyright notice.
14614
14615 2004-07-16 Andrew Cagney <cagney@gnu.org>
14616
14617 * gdb.base/logical.exp: Update copyright.
14618 (evaluate): New procedure. Use to re-implement tests using
14619 several tables.
14620
14621 2004-07-14 Martin Hunt <hunt@redhat.com>
14622
14623 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14624 which fixes some problems where init.tcl was not found.
14625
14626 2004-07-13 Andrew Cagney <cagney@gnu.org>
14627
14628 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14629 (check_sizeof, check_valueof): Do not include the output in the
14630 test name. Use gdb_test.
14631 (get_valueof): Use gdb_test_multiple.
14632
14633 * gdb.base/step-test.exp: Update copyright. Use
14634 gdb_test_multiple. Ensure that test names do not include
14635 architecture dependent output.
14636
14637 * gdb.gdb/observer.exp: Update copyright.
14638 (setup_test): Use gdb_test_multiple.
14639 (attach_first_observer, attach_second_observer)
14640 (attach_third_observer, detach_first_observer)
14641 (detach_second_observer, detach_third_observer)
14642 (reset_counters, check_counters): Make $message a prefix.
14643 (test_normal_stop_notifications): Add "args" parameter - a list of
14644 init functions to be called. Make $message a prefix,
14645 (test_observer_normal_stop): Change the message prefixes so that
14646 they are unique, pass the attach / detach procedures to
14647 test_normal_stop_notifications.
14648
14649 * gdb.base/signull.exp (test_segv): Prefix all tests with
14650 "${name}". Clean up test messages.
14651
14652 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14653
14654 * gdb.base/ena-dis-br.exp: Update copyright.
14655 (break_at): New function. Replace send_gdb with gdb_test,
14656 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14657 ignore count, not stopped at bpt", with KFAIL.
14658
14659 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
14660
14661 * gdb.base/attach.exp: Remove cleanupfile handling.
14662
14663 2004-07-12 Andrew Cagney <cagney@gnu.org>
14664
14665 * gdb.base/annota1.exp: Cleanup corefile test name.
14666 * gdb.base/annota3.exp: Ditto.
14667
14668 2004-07-12 Andrew Cagney <cagney@gnu.org>
14669
14670 * gdb.base/signals.exp: Clean up copyright, re-indent.
14671
14672 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14673 gdb_test and gdb_test_multiple.
14674
14675 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14676
14677 * gdb.java/jmain.exp: Fix expected line number for main to
14678 break at. Set XFAIL for break at main test since gcj does not
14679 provide line number info for first statement in main.
14680
14681 2004-07-08 Andrew Cagney <cagney@gnu.org>
14682
14683 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14684
14685 * gdb.base/sigbpt.exp: Make the common part of each test name a
14686 prefix instead of suffix.
14687
14688 2004-07-07 Bob Rossi <bob_rossi@cox.net>
14689
14690 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14691 test from test_tbreak_creation_and_listing to
14692 test_file_list_exec_source_file
14693 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14694 Changed name of test from test_tbreak_creation_and_listing to
14695 test_file_list_exec_source_file
14696
14697 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14698
14699 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14700 the jmisc() constructor instead of <init>.
14701 * gdb.java/jmisc1.exp: Ditto.
14702
14703 2004-07-07 Andrew Cagney <cagney@gnu.org>
14704
14705 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14706 corrupting the PC.
14707
14708 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14709
14710 * gdb.cp/templates.exp: Accept whitespace change in demangler
14711 output.
14712
14713 2004-07-06 Andrew Cagney <cagney@gnu.org>
14714
14715 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14716
14717 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14718
14719 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14720 * lib/compiler.cc: Likewise.
14721
14722 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14723
14724 * lib/compiler.cc: Work around string preprocessing problem
14725 with old hp c++ compiler.
14726 * lib/compiler.c: Likewise.
14727
14728 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14729
14730 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14731 directives to conditionalize symbol prefixing.
14732 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14733 additional_flags handling. Add underscore prefix for Cygwin.
14734 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14735 conditionalize symbol prefixing.
14736 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14737 additional_flags handling. Add underscore prefix for Cygwin.
14738
14739 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14740
14741 * gdb.base/bigcore.exp: Skip test on Cygwin.
14742
14743 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14744
14745 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14746 formats for "info register". Use gdb_test_multiple. Fix
14747 the "invalid register" test.
14748
14749 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
14750
14751 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14752 PID for Cygwin. Add Cygwin specific strings to check for in some
14753 tests.
14754 (do_attach_tests): Add a test for user interaction when attaching
14755 to a process with no matching symbol table already loaded.
14756
14757 2004-06-26 Andrew Cagney <cagney@gnu.org>
14758
14759 Test PR java/1567 and PR java/1565.
14760 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14761 * gdb.java/jmisc2.exp: Delete file.
14762
14763 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14764
14765 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14766
14767 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
14768
14769 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14770 attach process.
14771
14772 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14773
14774 * gdb.cp/pr-1553.exp: Remove.
14775
14776 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14777
14778 * gdb.cp/pr-1553.cc: Remove.
14779 * gdb.cp/pr-1553.exp: Disable this test.
14780
14781 2004-06-20 Jim Blandy <jimb@redhat.com>
14782
14783 Fix PR testsuite/1680.
14784 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14785 regular expressions.
14786
14787 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14788
14789 Fix PR testsuite/1679.
14790 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14791 Issue an UNSUPPORTED result instead.
14792
14793 2004-06-18 Jim Blandy <jimb@redhat.com>
14794
14795 * gdb.base/charset.exp: Only send a control-C if we see a new
14796 prompt and incomplete command.
14797
14798 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14799
14800 * gdb.cp/pr-574.cc: Add copyright notice.
14801
14802 2004-06-17 Jim Blandy <jimb@redhat.com>
14803
14804 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14805 cases where the regexp has no groups; this grabs random text from
14806 the previous test suite, whatever that was.
14807
14808 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14809
14810 * gdb.cp/printmethod.cc: Add copyright notice.
14811
14812 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14813
14814 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14815
14816 2004-06-16 Andrew Cagney <cagney@gnu.org>
14817
14818 * gdb.base/signull.c: Update copyright. Include <string.h>.
14819 (bowler): Replace data_pointer with data_read
14820 and data_write cases. Add code_descriptor case.
14821 (zero, desc): New array and pointer.
14822 (data, code): Change to simple pointers.
14823 * gdb.base/signull.exp: Fix probe pattern matching a function
14824 descriptor SIGSEGV. Replace data_pointer with data_read and
14825 data_write tests.
14826
14827 2004-06-16 Andrew Cagney <cagney@gnu.org>
14828
14829 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14830
14831 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14832
14833 * gdb.base/long_long.c: Add copyright notice.
14834
14835 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14836
14837 * gdb.base/long_long.exp: Remove reference to
14838 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14839 to gdb_breakpoint and gdb_continue_to_breakpoint.
14840
14841 2004-06-14 Jim Blandy <jimb@redhat.com>
14842
14843 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14844 endian case.
14845
14846 2004-06-14 Andrew Cagney <cagney@gnu.org>
14847
14848 * gdb.base/gcore.exp (capture_command_output): Delete the always
14849 passing tests containing inferior values.
14850 * gdb.base/ending-run.exp: Do not include the breakpoint address
14851 in the test message. Update copyright.
14852 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14853 size in the test name, use gdb_test_multiple. Update copyright.
14854
14855 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14856
14857 * gdb.cp/ref-types.cc: Add copyright notice.
14858
14859 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14860
14861 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14862 hp_aCC_compiler.
14863 * lib/compiler.cc: Likewise.
14864 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14865 'set' commands. Log diagnostics for other lines. Set
14866 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14867
14868 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14869
14870 * gdb.cp/try_catch.cc: Add copyright notice.
14871
14872 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14873
14874 * gdb.cp/userdef.cc: Add copyright notice.
14875
14876 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14877
14878 * gdb.cp/virtfunc.cc: Add copyright notice.
14879
14880 2004-06-11 Randolph Chung <tausq@debian.org>
14881
14882 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14883 problem.
14884
14885 2004-06-10 Andrew Cagney <cagney@gnu.org>
14886
14887 * lib/compiler.cc, lib/compiler.c: Append either
14888 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14889 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14890 instead of gcc-3-3.
14891
14892 2004-06-09 Andrew Cagney <cagney@gnu.org>
14893
14894 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14895 gdb/1455, bug is specific to "long long" and "double".
14896
14897 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14898 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14899 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14900 fixed.
14901
14902 2004-06-09 Andrew Cagney <cagney@gnu.org>
14903
14904 * gdb.base/structs.exp (test_struct_returns): Replace
14905 "return_value_unknown" and "finish_value_unknown" by
14906 "return_value_known" and "finish_value_known". Instead of
14907 "return_value_unknown" iff "finish_value_unknown", check
14908 "return_value_known" implies "finish_value_known".
14909
14910 2004-06-08 Martin Hunt <hunt@redhat.com>
14911
14912 * gdb.base/float.exp: Add pattern for mips targets.
14913
14914 2004-06-08 Randolph Chung <tausq@debian.org>
14915
14916 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14917 message for unknown architectures more clear.
14918
14919 2004-06-08 Joel Brobecker <brobecker@gnat.com>
14920
14921 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14922 start the execution of the program.
14923
14924 2004-06-07 Jim Blandy <jimb@redhat.com>
14925
14926 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14927 * gdb.arch/i386-cpuid.h: New helper file.
14928
14929 2004-06-07 Randolph Chung <tausq@debian.org>
14930
14931 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14932 has started.
14933
14934 2004-06-04 Roland McGrath <roland@redhat.com>
14935
14936 Fix PR gdb/1647.
14937 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14938 differently to be robust to output buffering differences.
14939
14940 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14941
14942 * gdb.threads/pthreads.exp: Update copyright years.
14943 (check_control_c): Change asynchronous 'after' to synchronous.
14944
14945 2004-06-04 Roland McGrath <roland@redhat.com>
14946
14947 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14948 next gdb prompt.
14949
14950 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14951
14952 Fix PR gdb/1636.
14953 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14954 calls to synchronous.
14955
14956 2004-05-26 Jim Blandy <jimb@redhat.com>
14957
14958 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14959
14960 2004-05-24 Randolph Chung <tausq@debian.org>
14961
14962 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14963 * gdb.asm/pa.inc: New file.
14964
14965 2004-05-22 Mark Kettenis <kettenis@gnu.org>
14966
14967 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14968
14969 2004-05-21 Joel Brobecker <brobecker@gnat.com>
14970 Daniel Jacobowitz <drow@mvista.com>
14971
14972 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14973 GDB prompt.
14974
14975 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14976
14977 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14978 setjmp/longjmp. Use sigaction instead of signal.
14979
14980 2004-05-19 J. Brobecker <brobecker@gnat.com>
14981 Michael Snyder <msnyder@redhat.com>
14982
14983 * gdb.threads/pthread_cond_wait.c: New file.
14984 * gdb.threads/pthread_cond_wait.exp: New testcase.
14985
14986 2004-05-13 Andrew Cagney <cagney@redhat.com>
14987
14988 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14989 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14990
14991 2004-05-11 Andrew Cagney <cagney@redhat.com>
14992
14993 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14994 fixed but revealed gdb/1639.
14995
14996 2004-05-10 Andrew Cagney <cagney@redhat.com>
14997
14998 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14999 func1" and "next to 2nd alarm", kernel bug avoided.
15000
15001 2004-05-10 Daniel Jacobowitz <dan@debian.org>
15002
15003 PR external/1568
15004 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15005 XFAIL if it is smaller than bytes_allocated.
15006 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15007 (main): Make chunks_allocated unsigned. Correct comment.
15008
15009 2004-05-07 Joel Brobecker <brobecker@gnat.com>
15010
15011 * gdb.arch/powerpc-aix-prologue.c: New file.
15012 * gdb.arch/powerpc-aix-prologue.exp: New file.
15013
15014 2004-05-07 Jim Blandy <jimb@redhat.com>
15015
15016 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15017 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15018
15019 2004-05-06 Joel Brobecker <brobecker@gnat.com>
15020
15021 * gdb.base/sep.exp: No longer setup_kfail when the program was
15022 built with dwarf2.
15023
15024 2004-05-05 Jim Ingham <jingham@apple.com>
15025
15026 * gdb.base/pending.exp: Make sure pending breakpoints
15027 preserve the ignore count.
15028
15029 2004-04-27 Jerome Guitton <guitton@gnat.com>
15030
15031 * i386-prologue.exp: Add testcase for jump instruction as first
15032 instruction of the real code.
15033 * i386-prologue.c (jump_at_beginning): New function.
15034
15035 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15036
15037 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15038 x86_64-*-*.
15039
15040 2004-04-28 Mark Kettenis <kettenis@gnu.org>
15041
15042 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15043 i*86-*-*.
15044
15045 2004-04-25 Mark Kettenis <kettenis@gnu.org>
15046
15047 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15048 expression that checks the return type.
15049
15050 2004-04-23 Andrew Cagney <cagney@redhat.com>
15051
15052 * gdb.base/call-sc.exp: New test of scalar call/return values.
15053 * gdb.base/call-sc.c: Ditto.
15054
15055 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15056
15057 * gdb.threads/manythreads.c: Reduce thread stack size.
15058
15059 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15060
15061 * gdb.threads/manythreads.c: Add copyright notice.
15062
15063 2004-04-23 Andrew Cagney <cagney@redhat.com>
15064
15065 * gdb.base/siginfo.exp: Better handle step out of signal.
15066 * gdb.base/sigstep.exp: Ditto.
15067
15068 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
15069 Daniel Jacobowitz <drow@mvista.com>
15070
15071 * gdb.threads/manythreads.c: New testcase.
15072 * gdb.threads/manythreads.exp: Ditto.
15073
15074 2004-04-22 Jim Blandy <jimb@redhat.com>
15075
15076 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15077 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15078
15079 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15080
15081 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15082
15083 2004-04-21 Andrew Cagney <cagney@redhat.com>
15084
15085 * gdb.base/sigstep.c: New file.
15086 * gdb.base/sigstep.exp: New file.
15087
15088 2004-04-16 Joel Brobecker <brobecker@gnat.com>
15089
15090 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15091 call to observer_notify_normal_stop.
15092
15093 2004-04-15 Andrew Cagney <cagney@redhat.com>
15094
15095 * gdb.base/siginfo.c: New file.
15096 * gdb.base/siginfo.exp: New file.
15097
15098 2004-04-12 J. Brobecker <brobecker@gnat.com>
15099
15100 * gdb.base/sep.exp: Fix typo in comment.
15101
15102 2004-04-12 J. Brobecker <brobecker@gnat.com>
15103
15104 * gdb.base/sep.c: New file.
15105 * gdb.base/sep-proc.c: New file.
15106 * gdb.base/sep.exp: New testcase.
15107
15108 2004-04-09 Mark Kettenis <kettenis@gnu.org>
15109
15110 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15111 support.
15112
15113 2004-04-05 Andrew Cagney <cagney@redhat.com>
15114
15115 * gdb.base/sigaltstack.c: New file.
15116 * gdb.base/sigaltstack.exp: New file.
15117
15118 2004-04-04 Joel Brobecker <brobecker@gnat.com>
15119
15120 * gdb.base/foll-fork.exp: Update the expected output for
15121 "help set follow-fork-mode", to match a change that was made
15122 to the help of this variable on 2004-01-13.
15123
15124 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15125
15126 * lib/ada.exp: Add copyright notice.
15127 * bar.ads: Likewise.
15128 * bar.adb: Likewise.
15129 * null_record.adb: Likewise.
15130 * null_record.exp: Likewise.
15131 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15132
15133 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15134
15135 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15136 * configure: Regenerate.
15137
15138 2004-04-01 Joel Brobecker <brobecker@gnat.com>
15139
15140 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15141 to build the application. Remove the message printed when in
15142 verbose mode, redundant with the UNSUPPORTED message above.
15143
15144 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15145
15146 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15147 * gdb.ada (null_record.exp): New testcase.
15148
15149 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15150
15151 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15152
15153 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15154
15155 * gdb.ada: New subdirectory.
15156 * gdb.ada/Makefile.in: New file.
15157 * gdb.ada/gnat_ada.gpr.in: New file.
15158
15159 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15160
15161 * lib/ada.exp: New file.
15162
15163 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
15164
15165 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15166 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15167
15168 2004-03-22 Andrew Cagney <cagney@redhat.com>
15169
15170 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15171 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15172 Problem identified by Ulrich Weigand.
15173
15174 2004-03-17 David Carlton <carlton@kealia.com>
15175
15176 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15177 PR c++/826.
15178
15179 2004-03-16 Roland McGrath <roland@redhat.com>
15180
15181 * gdb.base/auxv.exp: New file.
15182 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15183
15184 2004-03-12 David Carlton <carlton@kealia.com>
15185
15186 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15187 * gdb.cp/pr-1553.cc: Ditto.
15188 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15189 pass branch.
15190
15191 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15192
15193 * gdb.cp/templates.exp: Accept more template types.
15194
15195 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15196
15197 From Corinna Vinschen with modifications.
15198 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15199 local variable obj_with_enum.
15200 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15201 results with obj_with_enum.
15202
15203 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15204
15205 * gdb.cp/classes.cc: New file, copied from misc.cc.
15206 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15207
15208 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15209
15210 * gdb.cp/misc.cc: Add copyright notice.
15211
15212 2004-03-05 David Carlton <carlton@kealia.com>
15213
15214 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15215 * gdb.cp/rtti.h: Update copyright.
15216 (namespace n2::n3): New.
15217 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15218 (n2::n3::func3): New.
15219 (main): Call n2::n3::func3.
15220 * gdb.cp/rtti2.cc: Update copyright.
15221 (n2::create3): New.
15222
15223 2004-03-04 Mark Kettenis <kettenis@gnu.org>
15224
15225 * gdb.asm/openbsd.inc: Fix typo.
15226
15227 2004-03-03 Fred Fish <fnf@redhat.com>
15228
15229 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15230 "val" instead of unused "size". Update copyright year.
15231
15232 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15233
15234 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15235 to use unsigned char.
15236 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15237 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15238
15239 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15240
15241 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15242 line of output.
15243
15244 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15245
15246 * gdb.base/relocate.c (dummy): Initialize.
15247
15248 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15249
15250 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15251 a breakpoint at exit.
15252
15253 2004-02-27 Fred Fish <fnf@redhat.com>
15254
15255 * gdb.base/chng-syms.exp: Add expect condition to match failing
15256 case that isn't a timeout.
15257
15258 2004-02-27 Andrew Cagney <cagney@redhat.com>
15259
15260 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15261 support.
15262
15263 2004-02-26 Fred Fish <fnf@redhat.com>
15264
15265 * gdb.arch/gdb1431.c: Remove.
15266 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15267 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15268 of "until" incorrectly.
15269
15270 2004-02-26 J. Brobecker <brobecker@gnat.com>
15271
15272 * gdb.cp/class2.cc (empty): New class.
15273 (refer): New function.
15274 (main): Declare an object of type empty and use it.
15275 * gdb.cp/class2.exp: Print the value of an object of type empty.
15276
15277 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15278
15279 * gdb.base/langs.exp: Update query string to match the
15280 new nquery format used for pending breakpoints.
15281
15282 2004-02-26 Andrew Cagney <cagney@redhat.com>
15283
15284 Fix PR i18n/1570.
15285 * gdb.base/charset.c: Update copyright notice.
15286 (main, init_string): Remove the escape character '\e' tests.
15287 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15288 * gdb.base/charset.exp (valid_host_charset): Ditto.
15289 * gdb.base/setvar.exp: Ditto.
15290
15291 2004-02-24 Andrew Cagney <cagney@redhat.com>
15292
15293 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15294 mmapped data in core file" PASS and FAIL messages consistent.
15295
15296 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15297 setting a breakpoint. Work around PR java/1565.
15298
15299 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15300
15301 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15302 new nquery format.
15303 * gdb.base/pending.exp: Ditto.
15304
15305 2004-02-22 Mark Kettenis <kettenis@gnu.org>
15306
15307 * configure.in: Run stabs tests on *BSD.
15308 * configure: Regenerated.
15309
15310 2004-02-21 Mark Kettenis <kettenis@gnu.org>
15311
15312 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15313
15314 2004-02-20 Fred Fish <fnf@redhat.com>
15315
15316 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15317 blank in test for "returns short", for consistency with other
15318 "returns xxx" tests. Update copyright year.
15319
15320 2004-02-19 Fred Fish <fnf@redhat.com>
15321
15322 New testcase for PR breakpoint/1558.
15323 * gdb.arch/gdb1558.exp: New file.
15324 * gdb.arch/gdb1558.c: New file.
15325
15326 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
15327
15328 * gdb.base/nodebug.exp: Fix typo.
15329
15330 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15331
15332 Committed by Jim Blandy <jimb@redhat.com>.
15333
15334 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15335
15336 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15337
15338 * gdb.base/float.exp: Support s390*-*-* targets.
15339
15340 2004-02-17 Adam Fedor <fedor@gnu.org>
15341
15342 * gdb.base/gdb1555.exp: New file.
15343 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15344
15345 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
15346
15347 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15348
15349 2004-02-16 Fred Fish <fnf@redhat.com>
15350
15351 * gdb.arch/gdb1291.c: Remove
15352 * gdb.arch/gdb1291.s: New test input file.
15353 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15354 fail. Test for correct result, known incorrect result, other
15355 failures and timeouts.
15356
15357 2004-02-16 Andrew Cagney <cagney@redhat.com>
15358
15359 * gdb.base/bigcore.exp: New file.
15360 * gdb.base/bigcore.c: New file.
15361
15362 2004-02-13 Andrew Cagney <cagney@redhat.com>
15363
15364 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15365 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15366 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15367 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15368 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15369 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15370 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15371 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15372 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15373 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15374
15375 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15376
15377 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15378 executed is an alloc instruction.
15379
15380 2004-02-11 David Carlton <carlton@kealia.com>
15381
15382 * gdb.cp/breakpoint.exp: New.
15383 * gdb.cp/breakpoint.cc: New.
15384
15385 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15386
15387 Partial fix for PR gdb/1543.
15388 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15389 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15390 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15391 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15392 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15393 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15394 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15395 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15396 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15397 to bug-gdb@prep.ai.mit.edu .
15398 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15399 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15400 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15401 Likewise.
15402
15403 2004-02-10 Andrew Cagney <cagney@redhat.com>
15404
15405 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15406 using gdb_internal_error_resync.
15407
15408 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
15409
15410 * gdb.threads/thread-specific.exp: Stop early if no threads are
15411 found.
15412
15413 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15414
15415 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15416
15417 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
15418
15419 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15420 breakpoints.
15421
15422 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
15423
15424 * config/sim.exp (gdb_load): Handle $arg == "".
15425 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15426 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15427
15428 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
15429
15430 * gdb.base/maint.exp: Update test to reflect
15431 obstack changes.
15432
15433 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15434
15435 * gdb.base/pendshr.c (pendfunc): New function that calls
15436 pendfunc1.
15437 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15438
15439 2004-02-04 Fred Fish <fnf@redhat.com>
15440
15441 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15442 function symbols and update copyright years.
15443 * gdb.arch/gdb1291.c: Ditto.
15444
15445 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15446
15447 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15448
15449 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15450
15451 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15452
15453 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15454
15455 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15456
15457 2004-02-02 Fred Fish <fnf@redhat.com>
15458
15459 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15460 remote targets. Update copyright years.
15461
15462 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15463
15464 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15465 support.
15466 * gdb.base/langs.exp: Fix test which attempts to create
15467 breakpoint on non-existent function to handle new pending
15468 support.
15469 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15470 a breakpoint.
15471 * gdb.base/pending.exp: New test.
15472 * gdb.base/pending.c: New file.
15473 * gdb.base/pendshr.c: Ditto.
15474
15475 2004-02-02 David Carlton <carlton@kealia.com>
15476
15477 * gdb.cp/overload.exp: Add overloadNamespace tests.
15478 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15479 (overloadNamespace, XXX): New.
15480 (main): Call XXX::marker2.
15481
15482 2004-02-01 Fred Fish <fnf@redhat.com>
15483
15484 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15485 * gdb.base/finish.exp: Ditto.
15486 * gdb.base/gcore.exp: Ditto.
15487 * gdb.base/huge.exp: Ditto.
15488 * gdb.base/info-proc.exp: Ditto.
15489 * gdb.base/return2.exp: Ditto.
15490 * gdb.threads/gcore-thread.exp: Ditto.
15491
15492 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15493
15494 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15495
15496 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15497
15498 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15499 that opening the file succeeds on OpenBSD.
15500
15501 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15502
15503 * gdb.threads/thread-specific.c: New file.
15504 * gdb.threads/threads-specific.exp: New test script.
15505 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15506 to expect_out.
15507
15508 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15509
15510 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15511 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15512 only on the "print_small_structs from print_long_arg_list" test.
15513
15514 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15515
15516 * gdb.base/completion.exp: Kill a stray backslash.
15517
15518 From Jim Ingham <jingham@apple.com>:
15519 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15520 agrees with the result from sending a tab.
15521
15522 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
15523
15524 * gdb.base/chng-syms.exp: Remove stray newline.
15525
15526 2004-01-31 Mark Kettenis <kettenis@gnu.org>
15527
15528 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15529 *-*-openbsd*.
15530 * gdb.asm/openbsd.inc: New file.
15531
15532 2004-01-30 Mark Kettenis <kettenis@gnu.org>
15533
15534 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15535 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15536 *-*solaris2*. Remove commented out default settings for
15537 asm-flags. Replace gdb_compile with target_link.
15538
15539 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15540
15541 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15542 for all tests. Remove old hp-ux and cygnus xfail cases.
15543
15544 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15545
15546 * gdb.base/chng-syms.exp: New file.
15547 * gdb.base/chng-syms.c: New file.
15548
15549 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15550
15551 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15552 Provide arms for current output in all my configurations.
15553
15554 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15555
15556 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15557 * lib/compiler.cc: Likewise.
15558 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15559 get the right preprocessor. Eval the output directly. Remove
15560 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15561 hp_f77_compiler and hp_f90_compiler completely.
15562 (gdb_preprocess): Delete.
15563 (get_compiler): Delete.
15564
15565 2004-01-24 Mark Kettenis <kettenis@gnu.org>
15566
15567 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15568 <string.h>.
15569
15570 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
15571
15572 * gdb.mi/mi-stack.exp: Update copyright.
15573
15574 2004-01-23 David Carlton <carlton@kealia.com>
15575
15576 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15577 test for cp_lookup_transparent_type.
15578 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15579 call them.
15580
15581 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
15582
15583 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15584 after -var-update.
15585
15586 2004-01-23 David Carlton <carlton@kealia.com>
15587
15588 * gdb.cp/namespace.cc (C::ensureRefs): New.
15589 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15590
15591 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
15592
15593 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15594 case "-stack-list-locals 2".
15595 * gdb.mi/mi-var-child.exp: Test for case
15596 "-var-list-children --all-values NAME".
15597
15598 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15599
15600 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15601
15602 2004-01-18 Mark Kettenis <kettenis@gnu.org>
15603
15604 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15605 used with gdb_test_multiple.
15606
15607 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15608 read at address 0. This fixes PR testsuite/1504.
15609
15610 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
15611
15612 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15613 Remove downloading, guessing the host executable, the calls to
15614 gdb_file_cmd and gdb_target_cmd, and "load" support.
15615 (infer_host_exec): New function broken out from gdb_load.
15616 (gdb_load): New wrapper for gdbserver_gdb_load.
15617 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15618 gdb_target_cmd. Use -target-select.
15619 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15620 Download binaries to the host. Clear last_mi_remote_file when
15621 we load a new binary.
15622 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15623 call gdbserver_gdb_load and mi_gdb_target_cmd.
15624
15625 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15626
15627 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15628 type patterns.
15629
15630 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15631
15632 * gdb.cp/templates.exp: Fix typo in test name of
15633 "print Foo<volatile char*>::foo".
15634
15635 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15636
15637 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15638
15639 2004-01-16 Ben Elliston <bje@wasabisystems.com>
15640
15641 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15642 (clean mostlyclean): Remove empty rm.
15643
15644 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15645
15646 * gdb.base/setvar.exp: Add copyright years.
15647
15648 2004-01-14 David Carlton <carlton@bactrian.org>
15649
15650 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15651 PR c++/1511 and update coment.
15652 * gdb.cp/templates.exp: Update patterns to match current output.
15653 If changes involve something other than whitespace, KFAIL
15654 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15655
15656 2004-01-14 David Carlton <carlton@kealia.com>
15657
15658 * gdb.cp/namespace.exp: Add tests involving classes defined within
15659 namespaces.
15660 * gdb.cp/namespace.cc (C::CClass): New.
15661 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15662
15663 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
15664
15665 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15666 what debug info we have. Print a better message if something goes
15667 wrong while producing the separate debug info file.
15668
15669 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15670
15671 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15672
15673 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15674
15675 * gdb.base/callfuncs.c: Add copyright notice.
15676
15677 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15678
15679 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15680 inheritance. PR gdb/1498, PR gcc/13539.
15681
15682 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
15683
15684 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15685 test specific name.
15686 * gdb.mi/gdb669.exp: Ditto.
15687 * gdb.mi/mi-pthreads.exp: Ditto.
15688 * gdb.mi/mi1-pthreads.exp: Ditto.
15689 * gdb.mi/mi2-pthreads.exp: Ditto.
15690
15691 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15692
15693 * gdb.cp/member-ptr.cc: Add copyright notice.
15694
15695 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15696
15697 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15698 some patterns for recent versions of gcc and hpacc. Delete
15699 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15700 Delete tests that access a NULL pointer-to-member-data. This
15701 script is still disabled for gcc.
15702
15703 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15704
15705 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15706 escaped correctly.
15707
15708 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15709
15710 * gdb.base/sepdebug.exp: New file.
15711 * gdb.base/sepdebug.c: New file.
15712 * lib/gdb.exp (separate_debug_filename): New procedure.
15713 (gdb_gnu_strip_debug): New procedure.
15714
15715 2004-01-12 Andrew Cagney <cagney@redhat.com>
15716
15717 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15718 * gdb.mi/ChangeLog-1999-2003: New file.
15719
15720 2004-01-12 Andrew Cagney <cagney@redhat.com>
15721
15722 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15723 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15724 or EEXIST", treat EBUSY as an XFAIL.
15725
15726 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15727
15728 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15729 hp_cc_compiler.
15730
15731 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15732
15733 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15734 decorations.
15735
15736 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15737
15738 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15739 and "(aCC)" decorations. Remove obsolete doco about old
15740 test results.
15741
15742 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15743
15744 * gdb.cp/exception.exp: Fix typo in doco.
15745
15746 2004-01-09 Mark Kettenis <kettenis@gnu.org>
15747
15748 * gdb.base/gdb1476.exp: Fix typo.
15749
15750 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15751
15752 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15753 file.
15754
15755 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15756
15757 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15758 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15759 Use gdb_compile. Remove restriction on gcc. Add some patterns
15760 for recent version of gdb. Delete second half, which was a copy
15761 of the first half with different build flags. This test is
15762 still disabled because it is still not ready for production.
15763
15764 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15765
15766 * gdb.cp/exception.cc: Add copyright notice.
15767 * gdb.cp/exception.exp: Add a notice that this file is broken
15768 because of line number changes caused by addition of copyright
15769 notice.
15770
15771 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15772
15773 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15774 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15775
15776 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15777
15778 * gdb.cp/classes.exp: Accept gnu abi 2.
15779 * gdb.cp/derivation.exp: Likewise.
15780 * gdb.cp/overload.exp: Likewise.
15781 * gdb.cp/virtfunc.exp: Likewise.
15782
15783 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15784
15785 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15786 semicolon after end of function.
15787
15788 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15789
15790 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15791 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15792 boilerplate code for compiling and running the program under
15793 test. Add some string method tests.
15794
15795 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15796
15797 * gdb.cp/bs15503.cc: Add copyright notice.
15798 * gdb.cp/bs15503.exp: Adjust line number.
15799
15800 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15801
15802 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15803 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15804
15805 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15806
15807 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15808 hp_cc_compiler.
15809
15810 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15811
15812 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15813 * gdb.cp/ctti.exp: Use the marker instead of "next".
15814 With gcc, run further before bailing.
15815
15816 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15817
15818 * gdb.cp/cttiadd.cc: Add copyright notice.
15819 * gdb.cp/cttiadd1.cc: Likewise.
15820 * gdb.cp/cttiadd2.cc: Likewise.
15821 * gdb.cp/cttiadd3.cc: Likewise.
15822
15823 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15824
15825 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15826 Use gdb_test, gdb_test_multiple. Use floating-point values that
15827 have exact representations in IEEE-ish formats.
15828
15829 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15830
15831 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15832 compilers. Delete duplicate call to get_compiler_info.
15833 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15834 * gdb.base/volatile.exp: Likewise.
15835
15836 2004-01-07 Mark Kettenis <kettenis@gnu.org>
15837
15838 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15839 memory at address 0.
15840
15841 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15842
15843 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15844 to test for hp-ux assembler. Fix copyright years.
15845
15846 2004-01-07 Andrew Cagney <cagney@redhat.com>
15847
15848 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15849
15850 2004-01-07 Andrew Cagney <cagney@redhat.com>
15851
15852 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15853 when creating the read-only file. From analysis by Roland McGrath
15854 and Elena Zannoni.
15855
15856 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15857
15858 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15859
15860 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15861
15862 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15863 data pointers.
15864
15865 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15866
15867 * gdb.cp/m-static.exp: Compile one source file at a time.
15868 Delete unused call to get_compiler_info.
15869
15870 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15871
15872 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15873 * gdb.base/call-rt-st.exp: Likewise.
15874 * gdb.base/nodebug.exp: Likewise.
15875 * gdb.base/volatile.exp: Likewise.
15876 * gdb.cp/ref-types.exp: Likewise.
15877 * gdb.cp/templates.exp: Likewise.
15878
15879 2004-01-05 Mark Kettenis <kettenis@gnu.org>
15880
15881 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15882
15883 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15884
15885 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15886 hppa*-hp-hpux*.
15887
15888 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15889
15890 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15891 x86_64-*-*.
15892
15893 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15894 sparc64-*-* and sparc*-solaris2*.
15895
15896 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15897
15898 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15899 return ${tests}" test. The ${tests} already mentions the
15900 filename.
15901
15902 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15903
15904 * gdb.cp/local.exp: Accept gcc abi 2.
15905
15906 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15907
15908 * gdb.cp/templates.exp: Accept gcc abi 2.
15909
15910 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15911
15912 * lib/compiler.cc: Remove supports_template_debugging.
15913 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15914
15915 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15916
15917 * gdb.cp/namespace.exp: Accept gcc abi 2.
15918
15919 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15920
15921 * gdb.cp/method.exp: Accept gcc abi 2.
15922
15923 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15924
15925 * gdb.cp/classes.exp: Generate identical results as old version.
15926 * gdb.cp/derivation.exp: Likewise.
15927 * gdb.cp/overload.exp: Likewise.
15928 * gdb.cp/virtfunc.exp: Likewise.
15929
15930 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15931
15932 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15933 mysterious bug with sourceware version of expect.
15934
15935 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15936
15937 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15938 current versions of gcc, including gcc abi 2. Remove gratuitous
15939 restart of test program. Use gdb_test_multiple and gdb_test for
15940 all tests. Add patterns to xfail missing "const" in "const char *"
15941 and kfail PR gdb/1155.
15942
15943 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15944
15945 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15946 current versions of gcc, including gcc abi 2. Remove gratuitous
15947 restart of test program. Use gdb_test_multiple and gdb_test for
15948 all tests. Add patterns to kfail PR gdb/1498.
15949
15950 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15951
15952 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15953 current versions of gcc, including gcc abi 2. Use "breakpoint"
15954 and "continue" instead of restarting the target program. Use
15955 gdb_test_multiple and gdb_test for all tests.
15956
15957 2004-01-01 Mark Kettenis <kettenis@gnu.org>
15958
15959 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15960 for *-*-solaris2*.
15961
15962 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15963
15964 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15965 current versions of gcc, including gcc abi 2. Use "breakpoint"
15966 and "continue" instead of restarting the target program several
15967 times. Use gdb_test_multiple and gdb_test for all tests.
15968
15969 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15970
15971 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15972 source files.
15973
15974 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15975
15976 * gdb.base/environ.exp: Handle compiling test case from multiple
15977 source files.
15978
15979 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15980
15981 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15982
15983 2003-12-17 Jim Blandy <jimb@redhat.com>
15984
15985 * gdb.base/freebpcmd.c: Add copyright notice.
15986
15987 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15988
15989 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15990
15991 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15992
15993 2003-12-13 Jim Blandy <jimb@redhat.com>
15994
15995 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15996
15997 2003-12-12 Kevin Buettner <kevinb@redhat.com>
15998
15999 * gdb.asm/frv.inc: New file.
16000 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16001
16002 2003-12-09 Fred Fish <fnf@redhat.com>
16003
16004 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16005 functions to break1.c and leave prototypes behind. Add more
16006 "set breakpoint NN here" comments.
16007 * gdb.base/break1.c: New file.
16008
16009 * gdb.base/break.exp: Handle compiling test case from multiple
16010 source files and change source file references as needed.
16011 * gdb.base/completion.exp: Ditto.
16012 * gdb.base/condbreak.exp: Ditto.
16013 * gdb.base/define.exp: Ditto.
16014 * gdb.base/ena-dis-br.exp: Ditto.
16015 * gdb.base/info-proc.exp: Ditto.
16016 * gdb.base/maint.exp: Ditto.
16017 * gdb.base/until.exp: Ditto.
16018
16019 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16020 hardcoded line numbers.
16021 * gdb.base/define.exp: Ditto.
16022 * gdb.base/ena-dis-br.exp: Ditto.
16023 * gdb.base/maint.exp: Ditto.
16024 * gdb.base/until.exp: Ditto.
16025
16026 * gdb.base/completion.exp: Use "break1" for completion tests since
16027 "break" is no longer a unique prefix.
16028
16029 2003-12-06 Andrew Cagney <cagney@redhat.com>
16030
16031 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16032 "return_value_unimplemented". When an unimplemented struct return
16033 architecture, report incorrect values as a KFAIL
16034
16035 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16036
16037 * gdb.cp/rtti.exp: Accept new wording of warning from
16038 cp_lookup_rtti_type.
16039
16040 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16041
16042 Partial fix for PR testsuite/1456.
16043 * gdb.base/scope.exp (test_at_main): Replace references to
16044 gcc_compiled with calls to test_compiler_info.
16045 (test_at_foo): Likewise.
16046 (test_at_bar): Likewise.
16047
16048 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16049
16050 Partial fix for PR testsuite/1456.
16051 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16052 to test_compiler_info.
16053
16054 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16055
16056 * gdb.base/so-impl-ld.exp: Update copyright notice.
16057
16058 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16059
16060 Partial fix for PR testsuite/1456.
16061 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16062 to test_compiler_info.
16063
16064 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16065
16066 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16067 from current versions of gdb. Clean up regular expressions.
16068 Delete redundant timeout case.
16069
16070 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16071
16072 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16073 from current versions of gdb. Clean up regular expressions.
16074 Delete redundant timeout case.
16075
16076 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16077
16078 Partial fix for PR testsuite/1456.
16079 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16080 gcc_compiled with call to test_compiler_info.
16081
16082 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16083
16084 Partial fix for PR testsuite/1456.
16085 * gdb.base/list.exp (test_list_function): Delete unused declaration
16086 of gcc_compiled.
16087
16088 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16089
16090 Partial fix for PR testsuite/1456.
16091 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16092 call to test_compiler_info.
16093
16094 2003-11-29 Mark Kettenis <kettenis@gnu.org>
16095
16096 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16097 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16098 it to create the appropriate note.inc.
16099 * gdb.asm/asmsrc1.s: Include "note.inc".
16100 * gdb.asm/netbsd.inc: New file.
16101 * gdb.asm/empty.inc: New file.
16102
16103 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16104
16105 Partial fix for PR testsuite/1456.
16106 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16107 calls to test_compiler_info.
16108
16109 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16110
16111 Partial fix for PR testsuite/1456.
16112 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16113 calls to test_compiler_info.
16114
16115 2003-11-27 Mark Kettenis <kettenis@gnu.org>
16116
16117 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16118 pattern for the KFAILs.
16119
16120 2003-11-25 Adam Fedor <fedor@gnu.org>
16121
16122 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16123 * gdb.objc/objcdecode.m: New file.
16124
16125 2003-11-25 Adam Fedor <fedor@gnu.org>
16126
16127 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16128 * gdb.objc/nondebug.m: New file.
16129
16130 2003-11-26 Ben Elliston <bje@wasabisystems.com>
16131
16132 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16133 NetBSD as it does on FreeBSD. Modelled on a similar change by
16134 Mark Kettenis on 2003-05-30.
16135 (link-flags): Set to "--entry _start" regardless of target.
16136 Special linker flags are to be appended to $link-flags.
16137 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16138
16139 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16140
16141 * gdb.cp/method.exp: Accept output of new demangler.
16142
16143 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16144
16145 * gdb/class2.exp: New file.
16146 * gdb/class2.cc: New file.
16147
16148 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16149
16150 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16151 of new demangler.
16152
16153 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16154
16155 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16156 of gdb_test "run".
16157
16158 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16159
16160 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16161 "continue" into "run".
16162
16163 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16164
16165 Partial fix for PR testsuite/1456.
16166 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16167 call to test_compiler_info.
16168 * gdb.cp/ctti.exp: Likewise.
16169 * gdb.cp/derivation.exp: Likewise.
16170 * gdb.cp/member-ptr.exp: Likewise.
16171 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16172 reference to gcc_compiled.
16173
16174 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16175
16176 Fix PR testsuite/1463.
16177 * gdb.base/structs.exp (start_structs_test): Call
16178 get_debug_format before using the debug format.
16179
16180 2003-11-22 Andrew Cagney <cagney@redhat.com>
16181
16182 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16183 * gdb.base/structs.exp: Use gdb_test_multiple.
16184
16185 2003-11-20 Andrew Cagney <cagney@redhat.com>
16186
16187 * gdb.base/structs.exp: Handle and recover from internal errors.
16188 Replace "foo${n}" with "foo<n>" in test messages.
16189
16190 * gdb.base/structs.exp: Update copyright. Rewrite.
16191 * gdb.base/structs.c: Update copyright. Rewrite.
16192
16193 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16194 resync count exceeded.
16195
16196 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16197 from the internal error.
16198 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16199 Original from Jim Blandy.
16200 (gdb_test_multiple): Use gdb_internal_error_resync.
16201
16202 2003-11-19 Andrew Cagney <cagney@redhat.com>
16203
16204 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16205 KFAIL.
16206
16207 2003-11-17 Mark Kettenis <kettenis@gnu.org>
16208
16209 New testcase for PR backtrace/1435.
16210 * gdb.arch/i386-unwind.exp: New file.
16211 * gdb.arch/i386-unwind.c: New file.
16212
16213 2003-11-17 Andrew Cagney <cagney@redhat.com>
16214
16215 * lib/gdb.exp (compiler_info): New global.
16216 (test_compiler_info): New function.
16217 (get_compiler_info): Set compiler_info.
16218 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16219 "compiler_info" to gcc-<major>-<minor>.
16220
16221 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16222
16223 * gdb.trace/configure: Remove.
16224
16225 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
16226
16227 * gdb.base/break.c: Add comments to aid finding line numbers for
16228 breakpoints.
16229 * gdb.base/break.exp: Remove all references to explicit line
16230 numbers.
16231
16232 2003-11-11 Nick Clifton <nickc@redhat.com>
16233
16234 * gdb.base/shreloc.exp: Do not run for targets which do not
16235 support shared objects.
16236
16237 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
16238
16239 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16240 Don't run tests if nofileio flag is given.
16241
16242 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
16243
16244 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
16245 as well as 'Watchpoint'.
16246
16247 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16248
16249 Reported by Jim Ingham <jingham@apple.com>:
16250 * gdb.base/annota1.exp: Match at least one occurrence of the
16251 signal handler annotation.
16252
16253 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16254
16255 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16256 as well as 'Watchpoint'.
16257
16258 2003-11-05 Michael Chastain <mec@shout.net>
16259
16260 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16261
16262 2003-11-03 Kris Warkentin <kewarken@qnx.com>
16263
16264 * gdb.arch/gdb1291.c: New test file.
16265 * gdb.arch/gdb1291.exp: New test script.
16266 * gdb.arch/gdb1431.c: New test file.
16267 * gdb.arch/gdb1431.exp: New test script.
16268
16269 2003-10-22 Michael Chastain <mec@shout.net>
16270
16271 * gdb.mi/pthreads.c: Add copyright notice.
16272
16273 2003-10-22 Michael Chastain <mec@shout.net>
16274
16275 * gdb.threads/pthreads.c: Add copyright notice.
16276
16277 2003-10-20 Michael Chastain <mec@shout.net>
16278
16279 * gdb.base/gdb1056.exp: New test script.
16280
16281 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16282
16283 * gdb.threads/killed.exp: Use gdb_run_cmd.
16284
16285 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16286
16287 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16288 create a core file.
16289 * gdb.threads/gcore-thread.exp: Likewise.
16290
16291 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
16292
16293 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16294 type, based on char type.
16295 (struct bit_flags_short_t): New bitfield type, based on short type.
16296 (init_bit_flags_char): New fuction.
16297 (init_bit_flags_short): Ditto.
16298 (print_bit_flags_char): Ditto.
16299 (print_bit_flags_short): Ditto.
16300 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16301
16302 2003-10-11 Michael Chastain <mec@shout.net>
16303
16304 * gdb.base/call-rt-st.exp: Update copyright year.
16305
16306 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16307
16308 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16309 * gdb.disasm/sh3.s: Ditto.
16310
16311 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
16312
16313 * gdb.threads/switch-threads.exp: New test.
16314 * gdb.threads/switch-threads.c: New source file.
16315
16316 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
16317
16318 * gdb.base/ending-run.exp: Add sh specific case.
16319
16320 2003-10-06 Andrew Cagney <cagney@redhat.com>
16321
16322 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16323 * gdb.disasm/mn10200.exp: Delete obsolete file.
16324
16325 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
16326
16327 * ChangeLog: Correct an entry command.exp -> commands.exp.
16328 * gdb.base/commands.exp (bp_deleted_in_command_test)
16329 (temporary_breakpoint_commands): Check noargs.
16330
16331 2003-09-25 David Carlton <carlton@kealia.com>
16332
16333 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16334 of some print tests, where appropriate. Add tests for C::D::cd,
16335 E::ce, F::cXfX, G::XgX.
16336 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16337
16338 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
16339
16340 * lib/java.exp (java_init): Import target_alias before using it.
16341
16342 2003-09-25 David Carlton <carlton@kealia.com>
16343
16344 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16345
16346 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
16347
16348 * gdb.base/selftest.exp: Accomodate more instruction reordering
16349 weirdness.
16350
16351 2003-09-17 Michael Chastain <mec@shout.net>
16352
16353 * gdb.cp/gdb1355.exp: New file.
16354 * gdb.cp/gdb1355.c: New file.
16355
16356 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
16357
16358 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16359 * gdb.asm/sh.inc: New file.
16360
16361 2003-09-11 David Carlton <carlton@kealia.com>
16362
16363 * gdb.cp/namespace.exp: Add tests for namespace types.
16364 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
16365 (test_namespace): New.
16366
16367 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
16368
16369 * gdb.base/relocate.exp: Handle new gdb output at startup.
16370 * gdb.stabs/weird.exp: Ditto.
16371
16372 2003-09-08 Michael Chastain <mec@shout.net>
16373
16374 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16375
16376 2003-09-07 Michael Chastain <mec@shout.net>
16377
16378 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16379 'parse error'.
16380
16381 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16382
16383 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16384
16385 2003-08-30 Michael Chastain <mec@shout.net>
16386
16387 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16388 * gdb.gdb/observer.exp: Ditto.
16389 * gdb.gdb/xfullpath.exp: Ditto.
16390
16391 2003-08-29 Mark Kettenis <kettenis@gnu.org>
16392
16393 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16394 *-*-*bsd*.
16395
16396 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16397
16398 * gdb.base/dump.exp: Skip for ia64.
16399
16400 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16401
16402 * gdb.asm/asm-source.exp: Add ia64 support.
16403 * gdb.asm/ia64.inc: New file.
16404
16405 2003-08-22 Michael Chastain <mec@shout.net>
16406
16407 * gdb.cp: New directory.
16408 * gdb.cp/*: Copy from gdb.c++/*.
16409 * gdb.c++/*: Remove.
16410 * Makefile.in: Change gdb.c++ to gdb.cp.
16411 * configure.in: Ditto.
16412 * configure: Regnerate.
16413
16414 2003-08-18 Mark Kettenis <kettenis@gnu.org>
16415
16416 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16417 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16418
16419 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16420
16421 * mi-var-display.exp (-var-list-children weird): Accept function
16422 pointers with argument types.
16423 * mi1-var-display.exp (-var-list-children weird): Likewise.
16424 * mi2-var-display.exp (-var-list-children weird): Likewise.
16425
16426 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16427
16428 * gdb.base/annota3.exp: Add missing newline.
16429
16430 2003-08-06 Michael Chastain <mec@shout.net>
16431
16432 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16433
16434 2003-08-12 Michael Snyder <msnyder@redhat.com>
16435
16436 * gdb.base/float.exp: Add test for SH.
16437
16438 2003-08-10 Mark Kettenis <kettenis@gnu.org>
16439
16440 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16441
16442 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16443
16444 * gdb.base/completion.exp: Remove reduntant completion test
16445 on filename.
16446
16447 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16448
16449 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16450 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16451 gdb.trace/save-trace.exp: Make sure that full pathnames are
16452 escaped correctly.
16453
16454 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16455
16456 * configure.in: Don't generate config.h from config.hin.
16457 * configure: Regenerate.
16458 * config.hin: Remove file.
16459 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16460 * gdb.threads/pthreads.c: Ditto.
16461
16462 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
16463
16464 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16465 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16466 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16467 Replace ld24 with seth/add3.
16468
16469 2003-08-02 Andrew Cagney <cagney@redhat.com>
16470
16471 * gdb.base/annota3.exp: New file.
16472 * gdb.base/annota3.c: New file.
16473 * gdb.c++/annota3.exp: New file.
16474 * gdb.c++/annota3.cc: New file.
16475
16476 2003-07-29 Michael Chastain <mec@shout.net>
16477
16478 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16479 actually failed.
16480 (do_pass): Likewise.
16481 * gdb.threads/tls.exp: Always initialize no_of_threads.
16482
16483 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
16484
16485 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16486 pattern.
16487 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16488 * gdb.threads/tls.exp: Recognize one case of the host library not
16489 supporting TLS.
16490
16491 2003-07-27 Andrew Cagney <cagney@redhat.com>
16492
16493 * gdb.base/fileio.exp: Use SH when running commands using
16494 remote_exec.
16495
16496 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
16497
16498 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16499 * gdb.base/relocate.c (dummy): New padding array.
16500
16501 2003-07-22 Michael Snyder <msnyder@redhat.com>
16502
16503 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
16504
16505 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16506 patterns to be more general, accepting old and new output.
16507 Some output chars (such as '+') also must be quoted.
16508 Some addresses are displayed numerically instead of
16509 symbolically.
16510
16511 2003-07-23 Michael Snyder <msnyder@redhat.com>
16512
16513 * gdb.base/return2.exp: Don't test long-long return.
16514
16515 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16516 * gdb.disasm/t01_mov.exp: Ditto.
16517 * gdb.disasm/t02_mova.s: Ditto.
16518 * gdb.disasm/t02_mova.exp: Ditto.
16519 * gdb.disasm/t03_add.s: Ditto.
16520 * gdb.disasm/t03_add.exp: Ditto.
16521 * gdb.disasm/t04_sub.s: Ditto.
16522 * gdb.disasm/t04_sub.exp: Ditto.
16523 * gdb.disasm/t05_cmp.s: Ditto.
16524 * gdb.disasm/t05_cmp.exp: Ditto.
16525 * gdb.disasm/t06_ari2.s: Ditto.
16526 * gdb.disasm/t06_ari2.exp: Ditto.
16527 * gdb.disasm/t07_ari3.s: Ditto.
16528 * gdb.disasm/t07_ari3.exp: Ditto.
16529 * gdb.disasm/t08_or.s: Ditto.
16530 * gdb.disasm/t08_or.exp: Ditto.
16531 * gdb.disasm/t09_xor.s: Ditto.
16532 * gdb.disasm/t09_xor.exp: Ditto.
16533 * gdb.disasm/t10_and.s: Ditto.
16534 * gdb.disasm/t10_and.exp: Ditto.
16535 * gdb.disasm/t11_logs.s: Ditto.
16536 * gdb.disasm/t11_logs.exp: Ditto.
16537 * gdb.disasm/t12_bit.s: Ditto.
16538 * gdb.disasm/t12_bit.exp: Ditto.
16539 * gdb.disasm/t13_otr.s: Ditto.
16540 * gdb.disasm/t13_otr.exp: Ditto.
16541
16542 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16543
16544 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16545
16546 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16547
16548 * gdb.threads/tls.c : New file.
16549 * gdb.threads/tls.exp : New file.
16550 * gdb.threads/tls-main.c : New file.
16551 * gdb.threads/tls-shared.c : New file.
16552 * gdb.threads/tls-shared.exp : New file.
16553
16554 2003-07-22 Andreas Schwab <schwab@suse.de>
16555
16556 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16557
16558 2003-07-20 Andreas Schwab <schwab@suse.de>
16559
16560 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16561 due to insn reordering.
16562
16563 2003-07-15 Andrew Cagney <cagney@redhat.com>
16564
16565 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16566
16567 2003-07-15 Michael Chastain <mec@shout.net>
16568
16569 * gdb.base/gdb1250.exp: New file.
16570 * gdb.base/gdb1250.c: New file.
16571
16572 2003-07-09 Michal Ludvig <mludvig@suse.cz>
16573
16574 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16575 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16576
16577 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16578
16579 * gdb.threads/tls.c: New file.
16580 * gdb.threads/tls.exp: New file.
16581 * gdb.threads/tls-main.c: New file.
16582 * gdb.threads/tls-shared.c: New file.
16583 * gdb.threads/tls-shared.exp: New file.
16584
16585 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16586
16587 * gdb.base/annota1.exp: Make sure that we properly escape the
16588 full path of the source file. Xfail more permissive patterns,
16589 due to a compiler debug info problem.
16590
16591 2003-07-07 Andreas Schwab <schwab@suse.de>
16592
16593 * gdb.asm/m68k.inc: New file.
16594 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16595
16596 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16597 arguments"): Also match negative number.
16598
16599 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16600
16601 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
16602
16603 * gdb.base/store.c (charest): New typedef.
16604 (add_char): Rename to add_charest, update.
16605 (wack_char): Rename to wack_charest, update types. Return l + r
16606 to keep r live across the call.
16607 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16608 (wack_double, wack_doublest): Return l + r to keep r live across
16609 the call.
16610 * gdb.base/store.exp: Accomodate store.c changes.
16611
16612 2003-06-30 David Carlton <carlton@kealia.com>
16613
16614 * gdb.c++/maint.exp (test_invalid_name): New.
16615 (test_first_component): Add tests for invalid names.
16616
16617 2003-06-29 Michael Chastain <mec@shout.net>
16618
16619 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16620 output of '<VTT for class>' for virtual base classes.
16621
16622 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16623
16624 * gdb.base/completion.exp: Tab-complete "complet" instead of
16625 "compl".
16626 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16627
16628 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16629
16630 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16631 * gdb.base/volatile.exp: Likewise.
16632
16633 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16634
16635 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16636 gdb/1265.
16637
16638 2003-06-28 Michael Chastain <mec@shout.net>
16639 Daniel Jacobowitz <drow@mvista.com>
16640
16641 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16642 initial line count of 'captured_main' from 26 to 32.
16643 (test_with_self): Allow xmalloc call to be interleaved with the
16644 preceding two lines.
16645
16646 2003-06-24 Joel Brobecker <brobecker@gnat.com>
16647
16648 * gdb.base/bang.exp: New testcase.
16649
16650 2003-06-23 Joel Brobecker <brobecker@gnat.com>
16651
16652 * gdb.base/langs.exp: Add some tests for the "minimal" language
16653 support.
16654
16655 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
16656
16657 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16658 the testcase.
16659
16660 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16661
16662 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16663 offset.
16664
16665 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16666
16667 * gdb.c++/pr-1210.cc: New file.
16668 * gdb.c++/pr-1210.exp: New file.
16669
16670 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
16671
16672 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16673 000-exec-continue.
16674
16675 2003-06-15 Mark Kettenis <kettenis@gnu.org>
16676
16677 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16678 on *-*-*bsd* instead of *-*-freebsd*.
16679
16680 2003-06-14 Andrew Cagney <cagney@redhat.com>
16681
16682 * gdb.base/store.exp: Test longest and doublest. Test all
16683 parameters. Weaken return statement match.
16684 * gdb.base/store.c: Add longest and doublest - aka long long and
16685 long double functions. Put all parameters into local register
16686 variables. Use negative values.
16687
16688 2003-06-14 Andrew Cagney <cagney@redhat.com>
16689
16690 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16691 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16692 exit status.
16693 * gdb.base/fileio.exp: Disable target when nointerrupts and
16694 noinferiorio, instead of limiting it to remote. Use remote_exec
16695 instead of system.
16696
16697 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16698
16699 * gdb.base/float.exp: Add ia64 support.
16700
16701 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
16702
16703 * gdb.base/fileio.exp: Run only on remote targets.
16704
16705 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
16706
16707 * gdb.base/fileio.c: New file, testing File-I/O.
16708 * gdb.base/fileio.exp: Ditto.
16709
16710 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16711
16712 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16713 shared objects after relocation at load time (gdb PR/1132).
16714 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16715 as above, part of the shared object relocation test.
16716
16717 2003-06-08 Mark Kettenis <kettenis@gnu.org>
16718
16719 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16720 fully filled history list.
16721 * gdb.base/gdb_history: New file.
16722
16723 * gdb.base/signals.exp: XFAIL "continue to func1" on
16724 i*86-*-freebsd*.
16725
16726 * gdb.base/attach.exp: When trying to attach to a nonexistent
16727 process, make it possible to specify the PID based on the target,
16728 and do so for *-*-freebsd*.
16729
16730 2003-06-02 Richard Henderson <rth@redhat.com>
16731
16732 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16733
16734 2003-06-02 Richard Henderson <rth@redhat.com>
16735
16736 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16737
16738 2003-06-02 Richard Henderson <rth@redhat.com>
16739
16740 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16741
16742 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
16743
16744 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16745 of globalvar.
16746
16747 2003-06-01 Mark Kettenis <kettenis@gnu.org>
16748
16749 * gdb.asm/asm-source.exp: Check for memory read errors in
16750 disassembler test on *BSD too.
16751
16752 2003-06-01 Richard Henderson <rth@redhat.com>
16753
16754 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16755 for .frame.
16756 (gdbasm_call): Lose ldgp.
16757 (gdbasm_startup): Add frame information.
16758 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16759
16760 2003-05-31 Mark Kettenis <kettenis@gnu.org>
16761
16762 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16763 i?86-*-*.
16764
16765 2003-05-30 Mark Kettenis <kettenis@gnu.org>
16766
16767 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16768 FreeBSD.
16769
16770 2003-05-29 Richard Henderson <rth@redhat.com>
16771
16772 * gdb.asm/alpha.inc: New file.
16773 * gdb.asm/asm-source.exp: Use it.
16774
16775 2003-05-29 Jim Blandy <jimb@redhat.com>
16776
16777 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16778 'core.PID'.
16779
16780 2003-05-22 Jim Blandy <jimb@redhat.com>
16781
16782 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16783 backtrace.
16784
16785 2003-05-20 David Carlton <carlton@math.stanford.edu>
16786
16787 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16788 this time.
16789
16790 2003-05-19 David Carlton <carlton@bactrian.org>
16791
16792 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16793 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16794
16795 2003-05-19 David Carlton <carlton@bactrian.org>
16796
16797 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16798 namespace tests.
16799 Bump copyright date.
16800 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16801 (main): Call C::D::marker2.
16802 * gdb.c++/namespace1.cc: New file.
16803
16804 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16805
16806 Roland McGrath <roland@redhat.com>
16807 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16808 there is no manager thread.
16809
16810 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16811
16812 * gdb.threads/schedlock.exp: Remove assumption that all threads
16813 will run in a particular small time slice. Also ensure we break
16814 in one of the child threads rather than the main thread.
16815
16816 2003-05-07 Jim Blandy <jimb@redhat.com>
16817
16818 Add support for assembly source testing on the s390x.
16819 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16820 architecture.
16821 * gdb.asm/s390x.inc: New file.
16822
16823 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16824 succession of 'if' statements.
16825
16826 2003-05-05 Andrew Cagney <cagney@redhat.com>
16827
16828 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16829
16830 2003-05-05 Andrew Cagney <cagney@redhat.com>
16831
16832 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16833 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16834
16835 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
16836
16837 * gdb.base/charset.exp: Update based on new behavior of set/show
16838 charset commands.
16839
16840 2003-05-01 Andrew Cagney <cagney@redhat.com>
16841
16842 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16843 variable do not give memory errors.
16844
16845 2003-04-30 Adam Fedor <fedor@gnu.org>
16846
16847 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16848 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16849 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16850 gdb.objc/basicclass.m: : New files
16851
16852 * lib/gdb.exp (gdb_compile_objc): New procedure.
16853
16854 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
16855
16856 * gdb.base/signals.exp: Make backtrace tests more specific.
16857
16858 2003-04-23 David Carlton <carlton@bactrian.org>
16859
16860 * gdb.c++/maint.exp (test_first_component): Add tests for
16861 'operator' in more locations.
16862
16863 2003-04-16 Kevin Buettner <kevinb@redhat.com>
16864
16865 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16866
16867 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
16868
16869 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16870 func marke' instead. Update test name.
16871
16872 2003-04-15 David Carlton <carlton@math.stanford.edu>
16873
16874 * gdb.c++/maint.exp: New file.
16875
16876 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16877
16878 * gdb.threads/schedlock.c: Change type of thread function argument
16879 to long, to avoid warnings on 64-bit platforms.
16880
16881 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16882
16883 * gdb.base/attach.exp: Add new message from ptrace in case of
16884 attaching to nonexistent process.
16885
16886 2003-04-11 Jim Blandy <jimb@redhat.com>
16887
16888 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16889 gdb.c++/userdef.cc: Place comments on the lines to which the
16890 marker function might return.
16891 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16892 gdb.c++/userdef.exp: Look for those comments to check that we've
16893 returned to the right place, instead of checking line numbers.
16894
16895 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
16896
16897 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16898 match on sourcefile name, instead of directory name.
16899
16900 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
16901
16902 * gdb.base/completion.exp: Use string_to_regexp to match the
16903 working directory name.
16904
16905 2003-04-09 Jim Blandy <jimb@redhat.com>
16906
16907 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16908 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16909 after an inferior function call, report the failure, but allow the
16910 test to continue.
16911
16912 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16913
16914 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16915 with -DPROTOTYPES.
16916
16917 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16918
16919 * gdb.base/break.exp: Revert last patch.
16920
16921 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16922
16923 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16924 with -DPROTOTYPES.
16925
16926 2003-04-02 Andrew Cagney <cagney@redhat.com>
16927
16928 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16929 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16930 matching directories by the name breakpoint.
16931 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16932 Make "continue to marker1" consistent.
16933 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16934 message consistent.
16935 * lib/gdb.exp: Put "the program is no longer running", and "the
16936 program exited" in parenthesis.
16937 * lib/mi-support.exp: Ditto.
16938
16939 2003-04-02 Bob Rossi <bob_rossi@cox.net>
16940
16941 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16942
16943 2003-03-29 Andrew Cagney <cagney@redhat.com>
16944
16945 * gdb.base/sizeof.c (main): Print the value of '\377'.
16946 * gdb.base/sizeof.exp: Check the sign of '\377'.
16947
16948 2003-03-27 Michael Chastain <mec@shout.net>
16949
16950 * gdb.base/gdb1090.exp: New file.
16951 * gdb.base/gdb1090.cc: New file.
16952
16953 2003-03-27 J. Brobecker <brobecker@gnat.com>
16954
16955 * gdb.gdb/observer.exp: New regression test.
16956
16957 2003-03-27 Michael Chastain <mec@shout.net>
16958
16959 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16960 * gdb.base/ptype.exp: Likewise.
16961
16962 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
16963
16964 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16965
16966 2003-03-26 Michael Chastain <mec@shout.net>
16967
16968 * gdb.base/ptype.exp: Actually use some typedef'd types.
16969
16970 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16971
16972 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16973 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16974
16975 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16976
16977 * gdb.base/default.exp: Fix regular expression.
16978
16979 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16980
16981 * gdb.base/args.exp: Fix regular expression.
16982
16983 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16984
16985 * gdb.base/help.exp: Allow Win32 child process.
16986
16987 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16988
16989 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16990 when stepping out of main().
16991
16992 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16993
16994 * gdb.base/default.exp: Check for win32 specific message when calling
16995 "run" without executable.
16996
16997 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16998
16999 * gdb.base/args.exp: Expect .exe in output.
17000
17001 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
17002
17003 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17004 Cygwin native.
17005
17006 2003-03-17 Andrew Cagney <cagney@redhat.com>
17007
17008 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17009 vector registes.
17010 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17011 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17012
17013 2003-03-17 David Carlton <carlton@math.stanford.edu>
17014
17015 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17016 test, for PR breakpoints/38.
17017 Call test_watchpoint_and_breakpoint.
17018 * gdb.base/watchpoint.c (func3): New function.
17019 (main): Call func3.
17020
17021 2003-03-04 David Carlton <carlton@math.stanford.edu>
17022
17023 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17024 Garply<Garply<char> >:: garply".
17025 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17026 with respect to PR c++/1111; note also PR c++/1113.
17027 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17028 respect to PR c++/1062.
17029 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17030
17031 2003-03-03 David Carlton <carlton@math.stanford.edu>
17032
17033 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17034 with respect to PR c++/57.
17035 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17036 c++/826.
17037 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17038 respect to PR c++/57.
17039
17040 2003-03-03 David Carlton <carlton@math.stanford.edu>
17041
17042 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17043 respect to PR c++/33 into FAILs.
17044
17045 2003-03-03 Michael Chastain <mec@shout.net>
17046
17047 * configure.in: Update copyright years.
17048
17049 2003-03-03 Michael Chastain <mec@shout.net>
17050
17051 * Makefile.in: Update copyright years.
17052
17053 2003-02-28 David Carlton <carlton@math.stanford.edu>
17054
17055 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17056 print class instead of struct and/or superfluous protection
17057 specifiers, as long as the resulting output is equivalent to the
17058 source code.
17059 Delete FIXME from end of messages on tests that don't need
17060 fixing.
17061
17062 2003-02-28 David Carlton <carlton@math.stanford.edu>
17063
17064 * gdb.c++/templates.exp (do_tests): Allow const in the two
17065 Foo<volatile char *>::foo tests.
17066
17067 2003-02-27 Michael Snyder <msnyder@redhat.com>
17068
17069 * gdb.base/restore.c (main): Return zero, so exit code
17070 will be consistant.
17071
17072 2003-02-26 David Carlton <carlton@math.stanford.edu>
17073
17074 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17075 char *>::foo" test with respect to PR c++/33. Create a new test
17076 which is identical to that one except that it doesn't put the
17077 space between the "char" and the "*"; KFAIL it, too.
17078
17079 2003-02-26 David Carlton <carlton@math.stanford.edu>
17080
17081 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17082 template types into either PASSes or KFAILs (corresponding to PR
17083 c++/57). Tweak indentation. Update copyright.
17084
17085 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17086
17087 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17088
17089 2003-02-13 Michael Chastain <mec@shout.net>
17090
17091 * gdb.base/exprs.exp: Remove i960 remnants.
17092 * gdb.base/funcargs.exp: Likewise.
17093 * gdb.base/list.exp: Likewise.
17094 * gdb.base/ptype.exp: Likewise.
17095
17096 2003-02-14 David Carlton <carlton@math.stanford.edu>
17097
17098 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17099 pEe->D::vg()" from XFAIL to KFAIL.
17100
17101 2003-02-13 Jason Molenda (jmolenda@apple.com)
17102
17103 * gdb.base/maint.exp: Update maint print statistics regexp to include
17104 new entries.
17105
17106 2003-02-13 Michael Chastain <mec@shout.net>
17107
17108 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17109
17110 2003-02-12 Michael Chastain <mec@shout.net>
17111
17112 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17113 * gdb.c++/inherit.exp: Likewise.
17114 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17115 * gdb.c++/templates.exp: Likewise.
17116 * gdb.c++/virtfunc.exp: Likewise.
17117
17118 2003-02-06 Jason Molenda (jason-cl@molenda.com)
17119
17120 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17121 why the code is written that way.
17122
17123 2003-02-05 Michael Chastain <mec@shout.net>
17124
17125 * gdb.base/dump.exp: Add missing copyright line.
17126
17127 2003-02-05 Jason Molenda (jason-cl@molenda.com)
17128
17129 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
17130 at the beginning so the breakpoint doesn't get set on the loop.
17131
17132 2003-02-05 Michael Chastain <mec@shout.net>
17133
17134 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17135 output for configurations with gcc 2.95.3.
17136
17137 2003-02-05 Keith Seitz <keiths@redhat.com>
17138 Andrew Cagney <ac131313@redhat.com>
17139
17140 * gdb.mi/mi-cli.exp: New file.
17141
17142 2003-02-04 Michael Chastain <mec@shout.net>
17143
17144 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17145 Call perror and then continue.
17146
17147 2003-02-03 Michael Chastain <mec@shout.net>
17148
17149 * gdb.c++/pr-1023.cc: New file.
17150 * gdb.c++/pr-1023.exp: New file.
17151
17152 2003-02-05 Jim Blandy <jimb@redhat.com>
17153
17154 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17155 it's local to foobar. Check for it there, and check that it's not
17156 present in main.
17157 * gdb.c++/local.cc (marker2): New function.
17158 (foobar): Call marker1.
17159 (main): Call marker2 instead of marker1.
17160
17161 2003-02-04 Andrew Cagney <ac131313@redhat.com>
17162
17163 * gdb.disasm/mn10200.exp: Obsolete file.
17164 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17165 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17166 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17167
17168 2003-02-04 David Carlton <carlton@math.stanford.edu>
17169
17170 * gdb.c++/overload.exp: Test intToChar(1).
17171 * gdb.c++/overload.cc (intToChar): New.
17172 (main): Call intToChar.
17173
17174 2003-02-03 David Carlton <carlton@math.stanford.edu>
17175
17176 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17177 'might_kfail' arg.
17178 KFAIL some of the continue_to_bp_overloaded calls, according to
17179 PR c++/1025.
17180
17181 2003-02-01 Michael Chastain <mec@shout.net>
17182
17183 * gdb.base/advance.c (marker1): New marker function.
17184 * gdb.base/advance.exp: When the 'advance' command lands on the
17185 return breakpoint, it can legitimately stop on either the
17186 current line or the next line. Accommodate both outcomes.
17187 * gdb.base/until.exp: Likewise.
17188
17189 2003-02-02 Andrew Cagney <ac131313@redhat.com>
17190
17191 2002-11-10 Jason Molenda (jason-cl@molenda.com):
17192 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17193 now a list, not a tuple.
17194 * gdb.mi/mi-var-display.exp: Ditto.
17195 * gdb.mi/gdb792.exp: Ditto.
17196
17197 2003-02-01 Andrew Cagney <ac131313@redhat.com>
17198
17199 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
17200 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17201 stack backtraces.
17202 * gdb.mi/mi-syn-frame.c: Part of same.
17203
17204 2003-02-01 Mark Kettenis <kettenis@gnu.org>
17205
17206 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17207 gdb.mi/mi1-pthreads.exp: Return instead of calling
17208 gdb_suppress_entire_file.
17209
17210 2003-02-01 Mark Salter <msalter@redhat.com>
17211
17212 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17213
17214 2003-01-31 Mark Salter <msalter@redhat.com>
17215
17216 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17217 Support empty arg.
17218
17219 2003-01-30 Michael Chastain <mec@shout.net>
17220
17221 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17222 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17223 has been fixed in gdb/readline on 2003-01-09.
17224
17225 2003-01-29 Michael Snyder <msnyder@redhat.com>
17226
17227 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17228 * gdb.base/display.exp: Allow for leading underscore in symbol.
17229 * gdb.base/args.exp: Skip if target does not support args passing.
17230
17231 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
17232
17233 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
17234 gdb_test. Accept a list of expect arguments as the third
17235 parameter.
17236 (gdb_test): Use it.
17237
17238 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
17239
17240 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17241 allow for different test tree configurations. Update some
17242 tescases accordingly.
17243 * gdb.arch/altivec-regs.exp: Ditto.
17244 * gdb.asm/asm-source.exp: Ditto.
17245 * gdb.base/advance.exp: Ditto.
17246 * gdb.base/display.exp: Ditto.
17247 * gdb.base/long_long.exp: Ditto.
17248 * gdb.base/mips_pro.exp: Ditto.
17249 * gdb.base/overlays.exp: Ditto.
17250 * gdb.base/relocate.exp: Ditto.
17251 * gdb.base/setshow.exp: Ditto.
17252 * gdb.base/step-line.exp: Ditto.
17253 * gdb.base/step-test.exp: Ditto.
17254 * gdb.base/until.exp: Ditto.
17255 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17256
17257 2003-01-17 David Carlton <carlton@math.stanford.edu>
17258
17259 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17260 corresponding to PR c++/945.
17261 Update copyright.
17262
17263 2003-01-17 David Carlton <carlton@math.stanford.edu>
17264
17265 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17266 corresponding to PR c++/68.
17267
17268 2003-01-17 David Carlton <carlton@math.stanford.edu>
17269
17270 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17271 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17272 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17273
17274 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17275
17276 * gdb.base/break.exp: Fix change of default location, because of
17277 removal of until tests.
17278 * gdb.base/help.exp: Update test for new 'until' help message.
17279 Add test for help on 'advance'.
17280 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
17281
17282 2003-01-15 Mark Kettenis <kettenis@gnu.org>
17283
17284 * gdb.base/default.exp: Adapt "info float" test for recent changes
17285 to that command. Add test for "info vector".
17286 * gdb.base/float.exp: New file. Add test for "info float" that
17287 resembles the old test in gdb.base/default.exp.
17288
17289 2003-01-15 David Carlton <carlton@math.stanford.edu>
17290
17291 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17292
17293 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17294
17295 * gdb.base/break.exp: Move the tests of until command from here...
17296 * gdb.base/until.exp: ... to here. New file. Add other tests.
17297 * gdb.base/advance.c: New file.
17298 * gdb.base/advance.exp: New file.
17299
17300 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
17301
17302 * gdb.base/args.c: New file.
17303 * gdb.base/args.exp: New file.
17304
17305 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17306
17307 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17308
17309 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17310
17311 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17312
17313 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17314
17315 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17316 dates.
17317
17318 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17319
17320 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17321
17322 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17323
17324 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17325 (ptype &*"foo").
17326 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17327
17328 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17329
17330 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17331 * gdb.mi/mi1-console.exp: Likewise.
17332
17333 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17334
17335 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17336 * gdb.mi/mi1-console.exp: Likewise.
17337
17338 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17339
17340 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17341
17342 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17343
17344 * gdb.base/detach.exp: New test.
17345
17346 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17347
17348 * Makefile.in (ALL_SUBDIRS): New variable.
17349 (subdirs, clean, distclean): Use it.
17350 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17351 regenerating Makefile, since it is generated from the top level.
17352 * gdb.asm/Makefile.in: Likewise.
17353 * gdb.base/Makefile.in: Likewise.
17354 * gdb.c++/Makefile.in: Likewise.
17355 * gdb.disasm/Makefile.in: Likewise.
17356 * gdb.java/Makefile.in: Likewise.
17357 * gdb.mi/Makefile.in: Likewise.
17358 * gdb.threads/Makefile.in: Likewise.
17359 * gdb.trace/Makefile.in: Likewise.
17360
17361 2003-01-09 David Carlton <carlton@math.stanford.edu>
17362
17363 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17364 Add copyright year 2003.
17365
17366 2003-01-06 Michael Chastain <mec@shout.net>
17367
17368 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17369 When selecting a thread, 'line' and 'file' are optional.
17370 * gdb.mi/mi1-pthreads.exp: Likewise.
17371
17372 2003-01-06 Andreas Schwab <schwab@suse.de>
17373
17374 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17375 failures.
17376
17377 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17378
17379 Fix PR gdb/844
17380 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17381 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17382
17383 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17384 instead of calling gdb_suppress_entire_file.
17385 * gdb.threads/print-threads.exp: Likewise.
17386 * gdb.threads/schedlock.exp: Likewise.
17387
17388 * gdb.threads/killed.exp: Return instead of calling
17389 gdb_suppress_entire_file.
17390 * gdb.threads/linux-dp.exp: Likewise.
17391 * gdb.threads/pthreads.exp: Likewise.
17392
17393 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17394
17395 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17396 stabs.
17397 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17398 * gdb.base/whatis.exp: Always allow (void) after function names.
17399
17400 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17401
17402 * gdb.c++/casts.exp: Correct regexp.
17403
17404 2003-01-04 Mark Kettenis <kettenis@gnu.org>
17405
17406 * configure.in: Call AC_CONFIG_HEADER. Don't call
17407 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17408 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17409 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17410 aforementioned directories in the AC_OUPUT call.
17411 * config.hin: New file.
17412 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17413 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17414 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17415 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17416 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17417 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17418 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17419 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17420 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17421 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17422 gdb.threads/configure.in, gdb.threads/configure,
17423 gdb.threads/config.in, gdb.trace/configure.in,
17424 gdb.trace/configure: Removed.
17425
17426 2003-01-03 Michael Chastain <mec@shout.net>
17427
17428 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17429 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17430
17431 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
17432
17433 * gdb.base/store.exp: Fix regular expressions.
17434
17435 2002-12-28 Mark Kettenis <kettenis@gnu.org>
17436
17437 * configure.in: Rewrite.
17438 * configure: Regenerated.
17439
17440 2003-01-03 David Carlton <carlton@math.stanford.edu>
17441
17442 * gdb.base/psymtab.exp: New file.
17443 * gdb.base/psymtab1.c: Ditto.
17444 * gdb.base/psymtab2.c: Ditto.
17445
17446 2002-12-23 Adam Fedor <fedor@gnu.org>
17447
17448 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17449
17450 2002-12-23 David Carlton <carlton@math.stanford.edu>
17451
17452 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17453 and current_directory initialization.
17454
17455 2002-12-22 Jim Blandy <jimb@redhat.com>
17456
17457 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17458 rather than as part of the output file name.
17459
17460 * gdb.base/attach.exp: There's no need to copy the test program to
17461 /tmp; that was only ever necessary on HP/UX, and this test is
17462 entirely disabled there anyway.
17463
17464 2002-12-21 Jim Blandy <jimb@redhat.com>
17465
17466 * gdb.c++/psmang.exp: Doc fix.
17467
17468 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17469 test.
17470
17471 2002-12-20 David Carlton <carlton@math.stanford.edu>
17472
17473 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17474
17475 2002-12-18 Michael Chastain <mec@shout.net>
17476
17477 * gdb.c++/annota2.exp: Add copyright year 2002.
17478
17479 2002-12-17 David Carlton <carlton@math.stanford.edu>
17480
17481 * gdb.c++/try_catch.cc: Add marker comments.
17482 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17483 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17484 * gdb.c++/m-static.cc: Ditto.
17485 * gdb.c++/m-static1.cc: Ditto.
17486 * gdb.c++/try_catch.cc: Ditto.
17487
17488 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17489
17490 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17491 to see whether we are using the new -environment-directory
17492 command which resets via -r or the old version of the command
17493 which may prompt the user. Part of fix for gdb/741.
17494
17495 2002-12-13 Andrew Cagney <ac131313@redhat.com>
17496
17497 * gdb.fortran/types.exp: Update obsolete comment.
17498 * gdb.fortran/exprs.exp: Ditto.
17499 * lib/gdb.exp: Delete obsolete code.
17500 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17501 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17502 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17503 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17504 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17505 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17506 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17507 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17508 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17509 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17510 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17511 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17512 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17513 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17514 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17515 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17516 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17517 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17518 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17519 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17520 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17521 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17522 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17523 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17524 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17525 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17526 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17527 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17528 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17529 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17530 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17531 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17532 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17533 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17534 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17535 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17536 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17537
17538 2002-12-11 David Carlton <carlton@math.stanford.edu>
17539
17540 * gdb.c++/m-data.exp: Add test for members that shadow global
17541 variables: see PR gdb/804.
17542 * gdb.c++/m-data.cc: Ditto.
17543
17544 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
17545
17546 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17547
17548 2002-12-06 David Carlton <carlton@math.stanford.edu>
17549
17550 * gdb.base/store.c: Don't declare functions static.
17551
17552 2002-12-04 Andrew Cagney <ac131313@redhat.com>
17553
17554 * gdb.base/store.exp, gdb.base/store.c: New files.
17555
17556 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17557
17558 * gdb.base/selftest.exp: Update for current gdb.
17559
17560 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17561
17562 * gdb.base/maint.exp: Only dump symbols from one source file
17563 or objfile.
17564
17565 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17566
17567 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17568 function call.
17569
17570 2002-11-25 Jim Blandy <jimb@redhat.com>
17571
17572 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17573 function appearing in error message.
17574
17575 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
17576
17577 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17578
17579 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17580
17581 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17582 for mi1 and current mi is in correct format. New mi startup message
17583 should be in mi console format. This is part of fix for PR gdb/604.
17584
17585 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17586
17587 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17588 which explicitly prints the zero offset as "+0".
17589
17590 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
17591
17592 * gdb.threads/schedlock.c (args): Make unsigned.
17593
17594 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
17595
17596 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17597 numbers. Allow "foo2|selected stack frame".
17598 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17599 * gdb.asm/asmsrc2.s: Likewise.
17600 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17601 comments.
17602 * gdb.asm/mips.inc: New file.
17603
17604 2002-10-18 Adam Fedor <fedor@gnu.org>
17605
17606 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17607 * gdb.base/help.exp: Likewise.
17608
17609 2002-10-17 Kevin Buettner <kevinb@redhat.com>
17610
17611 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17612 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17613
17614 2002-10-02 Jim Blandy <jimb@redhat.com>
17615
17616 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17617
17618 2002-10-01 Andrew Cagney <ac131313@redhat.com>
17619
17620 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17621 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17622 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17623 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17624 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17625 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17626 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17627
17628 2002-09-29 Andrew Cagney <ac131313@redhat.com>
17629
17630 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17631 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17632 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17633 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17634 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17635 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17636 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17637
17638 2002-09-27 Kevin Buettner <kevinb@redhat.com>
17639
17640 * gdb.base/annota1.exp (info break): Make directory components of
17641 path optional since not all compilers emit this debug information.
17642
17643 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17644 step ends up stepping out of the function instead of stopping on
17645 the epilogue.
17646
17647 2002-09-26 Keith Seitz <keiths@redhat.com>
17648
17649 * lib/insight-support.exp (gdbtk_start): Figure out where
17650 the insight executable is based on where gdb is. Use this
17651 executable to start insight instead of gdb.
17652
17653 2002-09-25 Andrew Cagney <cagney@redhat.com>
17654
17655 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17656
17657 2002-09-24 Andrew Cagney <ac131313@redhat.com>
17658
17659 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17660 test_isolated_complaints.
17661 (test_empty_complaint): New function.
17662 (test_empty_complaints): New function. Check no output when no
17663 complaints.
17664
17665 2002-09-19 Jim Blandy <jimb@redhat.com>
17666
17667 * gdb.base/charset.exp, gdb.base/charset.c: New files.
17668
17669 2002-09-19 Andrew Cagney <ac131313@redhat.com>
17670
17671 * gdb.gdb/complaints.exp: New file.
17672
17673 2002-09-18 Andrew Cagney <ac131313@redhat.com>
17674
17675 * gdb.base/maint.exp: Check `help maint internal-warning'.
17676
17677 2002-09-18 David Carlton <carlton@math.stanford.edu>
17678
17679 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17680 numbers, and replace them by a single breakpoint after the
17681 constructors are all finished.
17682 Add test 4.
17683 * gdb.c++/m-static.cc: Add test 4.
17684 * gdb.c++/m-static.h: New file.
17685 * gdb.c++/m-static1.cc: New file.
17686
17687 * gdb.c++/printmethod.exp: New file.
17688 * gdb.c++/printmethod.cc: New file.
17689
17690 * gdb.c++/pr-574.exp: New file.
17691 * gdb.c++/pr-574.cc: New file.
17692
17693 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17694
17695 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17696 embedded targets which never actually exit.
17697
17698 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17699
17700 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17701 "don't step after run" as unresolved or unsupported, instead of xfail.
17702
17703 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17704
17705 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17706 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17707 Add newline to expected string in "step out of main (status wrapper)"
17708 case.
17709
17710 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17711
17712 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17713 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17714
17715 2002-09-17 Tom Tromey <tromey@redhat.com>
17716
17717 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17718 \000, not \0, in double-quoted string.
17719
17720 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
17721
17722 * gdb.base/commands.exp: Don't expect a "Program exited normally"
17723 string after running the commands execution on breakpoint tests.
17724
17725 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
17726
17727 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17728
17729 2002-09-12 Joel Brobecker <brobecker@gnat.com>
17730
17731 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17732
17733 2002-09-10 Keith Seitz <keiths@redhat.com>
17734
17735 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17736 runto proc.
17737 (mi_run_to_main): Use mi_runto.
17738 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17739
17740 2002-09-10 Keith Seitz <keiths@redhat.com>
17741
17742 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17743 regexp for stopping at main. Could have multiple event notifications.
17744 Don't assume that main was declared with no parameters.
17745 (mi_next): Use mi_step_to.
17746 (mi_step): Use mi_next_to.
17747
17748 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
17749
17750 * gdb.base/default.exp: Fix expected string in `info float' test.
17751
17752 2002-09-09 Ben Elliston <bje@redhat.com>
17753
17754 * config/mips.exp: Update comments.
17755 * config/mips-idt.exp: Likewise.
17756 * config/nind.exp: Likewise.
17757 * config/slite.exp: Likewise.
17758 * config/sparclet.exp: Likewise.
17759 * config/udi.exp: Likewise.
17760 * config/vx.exp: Likewise.
17761 * config/vxworks29k.exp: Likewise.
17762
17763 2002-09-05 Jim Blandy <jimb@redhat.com>
17764
17765 * gdb.threads/killed.exp: Fix test failure message.
17766
17767 2002-09-04 Keith Seitz <keiths@redhat.com>
17768
17769 * lib/mi-support.exp: Update copyright.
17770 (mi_gdb_test): Increase the priority of the expected pattern
17771 so that it matches gdb_test.
17772
17773 2002-09-03 Keith Seitz <keiths@redhat.com>
17774
17775 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17776 Use integer comparison instead of string comparison for testing
17777 whether binary was built.
17778
17779 2002-09-03 Jim Blandy <jimb@redhat.com>
17780
17781 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17782
17783 2002-08-29 Jim Blandy <jimb@redhat.com>
17784
17785 * gdb.threads/pthreads.exp: Move the portable thread compilation
17786 code into a function in lib/gdb.exp, and call that from here.
17787 * lib/gdb.exp (gdb_compile_pthreads): New function.
17788
17789 2002-08-29 Keith Seitz <keiths@redhat.com>
17790
17791 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17792 expect_out so that callers can get at it.
17793
17794 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
17795
17796 * gdb.threads/print-threads.c: New file.
17797 * gdb.threads/print-threads.exp: New file.
17798 * gdb.threads/schedlock.c: New file.
17799 * gdb.threads/schedlock.exp: New file.
17800
17801 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
17802
17803 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17804 not altivec.c.
17805
17806 2002-08-17 Mark Kettenis <kettenis@gnu.org>
17807
17808 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17809 targets. The problem should be fixed now.
17810
17811 2002-08-15 Mark Kettenis <kettenis@gnu.org>
17812
17813 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17814 2002-07-24 change that removes final dots from error messages.
17815
17816 2002-08-13 Tom Tromey <tromey@redhat.com>
17817
17818 * gdb.base/readline.exp: New file.
17819
17820 2002-08-01 Andrew Cagney <ac131313@redhat.com>
17821
17822 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17823 supress message.
17824
17825 2002-08-01 Andrew Cagney <cagney@redhat.com>
17826
17827 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17828 CHILL_FOR_TARGET and CHILL_LIB.
17829 * configure.in (configdirs): Remove gdb.chill.
17830 * configure: Regenerate.
17831 * lib/gdb.exp: Obsolete references to chill.
17832 * gdb.fortran/types.exp: Ditto.
17833 * gdb.fortran/exprs.exp: Ditto.
17834
17835 2002-07-30 Kevin Buettner <kevinb@redhat.com>
17836
17837 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17838 set Irix-specific compile and link flags.
17839
17840 2002-07-29 Kevin Buettner <kevinb@redhat.com>
17841
17842 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17843 source files. The ``-o'' option doesn't work with the ``-E'' option
17844 when using the Irix compiler.
17845
17846 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
17847
17848 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17849 Improve support for reusing an exec file. Copy exec file
17850 to target, and run gdbserver on the target instead of on the host.
17851
17852 2002-07-18 Jim Blandy <jimb@redhat.com>
17853
17854 * gdb.base/ending-run.exp: Don't expect to see the program end in
17855 some orderly fashion when we're running on a real stand-alone
17856 board.
17857
17858 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17859 targets that don't support interrupts.
17860
17861 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17862
17863 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17864 systems.
17865 Move comments in expect statements to inside the actions, so that they
17866 don't get matched against.
17867
17868 2002-07-10 Mark Kettenis <kettenis@gnu.org>
17869
17870 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17871 function when asleep" test.
17872
17873 2002-07-10 Andrew Cagney <ac131313@redhat.com>
17874
17875 * gdb.base/page.exp: Rewrite to handle problems with very long
17876 `info set' output. Update copyright.
17877
17878 2002-06-26 Andrew Cagney <ac131313@redhat.com>
17879
17880 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17881 gdb.threads-hp.
17882 * gdb.hp/configure: Regenerate.
17883 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17884 * gdb.hp/gdb.threads-hp/configure: Delete file.
17885 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17886
17887 2002-06-22 Andrew Cagney <ac131313@redhat.com>
17888
17889 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17890 setlocale, bindtextdomain and textdomain.
17891
17892 2002-06-11 Jim Blandy <jimb@redhat.com>
17893
17894 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17895 preprocessor macro information is present.
17896
17897 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17898 tests.
17899
17900 2002-06-06 Michael Snyder <msnyder@redhat.com>
17901
17902 * gdb.base/overlays.exp: Record addresses of overlay
17903 functions in TCL variables rather than in GDB variables,
17904 to avoid having GDB convert them to pointers (with loss
17905 of information).
17906
17907 * gdb.base/d10v.ld: Merge in several years worth of
17908 default linker script changes.
17909 * gdb.base/long_long.exp: Add check for sizeof (long double).
17910
17911 2002-06-06 Michal Ludvig <mludvig@suse.cz>
17912
17913 * gdb.asm/asm-source.exp: Add x86-64 target.
17914 * gdb.asm/x86_64.inc: New.
17915
17916 2002-05-30 Michael Chastain <mec@shout.net>
17917
17918 From Benjamin Kosnik <bkoz@redhat.com>:
17919 * gdb.c++/m-static.cc: New file.
17920 * gdb.c++/m-static.exp: New file.
17921
17922 2002-05-28 Michael Snyder <msnyder@redhat.com>
17923
17924 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17925 precision.
17926
17927 2002-05-27 Michael Chastain <mec@shout.net>
17928
17929 From Benjamin Kosnik <bkoz@redhat.com>:
17930 * gdb.c++/m-data.cc: New file.
17931 * gdb.c++/m-data.exp: New file.
17932
17933 2002-05-27 Michael Chastain <mec@shout.net>
17934
17935 From Benjamin Kosnik <bkoz@redhat.com>:
17936 * gdb.c++/try_catch.cc: New file.
17937 * gdb.c++/try_catch.exp: New file.
17938
17939 2002-05-27 Michael Chastain <mec@shout.net>
17940
17941 * gdb.c++/local.exp: Accept more nested types in output.
17942
17943 2002-05-26 Michael Chastain <mec@shout.net>
17944
17945 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17946
17947 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17948
17949 * lib/gdb.exp (gdb_wrapper_init): Just because
17950 gdb_wrapper_file exists, this does not mean that the file
17951 should not be rebuilt. That is what gdb_wrapper_initialized
17952 is for.
17953 (default_gdb_init): Reset gdb_wrapper_initialized.
17954
17955 2002-05-23 Michael Snyder <msnyder@redhat.com>
17956
17957 * gdb.base/all-bin.exp: Revise previous patch by just reducing
17958 the precision of the floating point test results.
17959 * gdb.base/call-rt-st.exp: Ditto.
17960
17961 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17962 * gdb.base/call-rt-st.exp: Ditto.
17963
17964 2002-05-19 Michael Chastain <mec@shout.net>
17965
17966 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17967
17968 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
17969
17970 * configure.in (configdirs): Add gdb.arch.
17971 * configure: Regenerate.
17972
17973 2002-05-17 Jim Blandy <jimb@redhat.com>
17974
17975 * gdb.base/completion.exp: Recognize the more detailed error
17976 messages produced by the macro expander's lexical analyzer.
17977
17978 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17979
17980 * gdb.arch/altivec-abi.c: New file.
17981 * gdb.arch/altivec-abi.exp: New file.
17982 * gdb.arch/altivec-regs.c: New file.
17983 * gdb.arch/altivec-regs.exp: New file.
17984
17985 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
17986
17987 * gdb.base/maint.exp (maint print type): Update for new type
17988 structure.
17989
17990 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17991
17992 * gdb.arch: New directory.
17993 * gdb.arch/configure.in: New file.
17994 * gdb.arch/configure: New file.
17995 * gdb.arch/Makefile.in: New file.
17996
17997 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
17998
17999 * gdb.asm/asm-source.exp: Add v850 as supported target.
18000 * gdb.asm/v850.inc: New file.
18001
18002 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
18003
18004 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18005
18006 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
18007
18008 * gdb.base/break.exp: Check 'break "marker2"'.
18009
18010 2002-05-10 Michael Snyder <msnyder@redhat.com>
18011
18012 * gdb.base/long_long.exp: Fix typo.
18013
18014 2002-05-10 Jim Blandy <jimb@redhat.com>
18015
18016 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18017 a bug.
18018
18019 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18020 Recognize more detailed error message produced by the macro
18021 expander's lexical analyzer.
18022 * lib/gdb.exp (test_print_reject): Same.
18023
18024 2002-05-09 Mark Kettenis <kettenis@gnu.org>
18025
18026 * gdb.c++/method.exp: Fix typo.
18027
18028 2002-05-08 Michael Snyder <msnyder@redhat.com>
18029
18030 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18031 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
18032 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
18033 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18034 Add iftarget clause for strongarm.
18035
18036 2002-05-06 Michael Snyder <msnyder@redhat.com>
18037
18038 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18039 (gdb_continue_to_end): Accept output from status wrapper.
18040 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18041 Clean up fail messages to match pass messages.
18042
18043 Enable the "needs_status_wrapper" testsuite feature.
18044 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18045 (gdb_compile): Conditionally call gdb_wrapper_init.
18046 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18047 * gdb.c++/method.exp: Recognize output from status wrapper.
18048
18049 2002-05-06 Ben Elliston <bje@redhat.com>
18050 From Graydon Hoare <graydon@redhat.com>
18051
18052 * config/sid.exp: Include support for "rawsid" protocol.
18053
18054 2002-05-03 Jim Blandy <jimb@redhat.com>
18055
18056 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18057 * gdb.c++/hang3.C: New file.
18058
18059 2002-05-04 Andrew Cagney <ac131313@redhat.com>
18060
18061 * gdb.base/default.exp: Remove obsolete code.
18062 * gdb.c++/misc.exp: Ditto. Update copyright.
18063 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18064 * gdb.base/whatis.exp: Ditto. Update copyright.
18065 * gdb.base/scope.exp: Ditto. Update copyright.
18066 * gdb.base/ptype.exp: Ditto. Update copyright.
18067 * gdb.base/printcmds.exp: Ditto. Update copyright.
18068 * gdb.base/opaque.exp: Ditto. Update copyright.
18069 * gdb.base/list.exp: Ditto.
18070 * gdb.base/funcargs.exp: Ditto. Update copyright.
18071 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18072 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18073 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18074 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18075 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18076 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18077
18078 2002-05-02 Michael Snyder <msnyder@redhat.com>
18079
18080 * gdb.base/watchpoint.exp: Add xscale target.
18081 * gdb.base/long_long.exp: Add xscale target.
18082 * gdb.base/default.exp: Add xscale target.
18083
18084 2002-05-01 Jim Blandy <jimb@redhat.com>
18085
18086 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18087 gdb.c++/hang.exp: New test.
18088
18089 2002-05-01 Fred Fish <fnf@redhat.com>
18090
18091 * gdb.base/completion.exp: Handle completions of "./Make" for
18092 more than one completion possibility, as is the case when we
18093 build and test in the source tree.
18094
18095 2002-04-29 Anthony Green <green@redhat.com>
18096
18097 * gdb.java/jmisc1.exp: New file.
18098 * gdb.java/jmisc2.exp: New file.
18099
18100 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
18101
18102 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18103
18104 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
18105
18106 * gdb.base/help.exp: Change 'help status' to allow for target
18107 dependent output differences.
18108
18109 2002-04-22 Michael Chastain <mec@shout.net>
18110
18111 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18112
18113 2002-04-22 Michael Chastain <mec@shout.net>
18114
18115 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18116
18117 2002-04-17 David S. Miller <davem@redhat.com>
18118
18119 * gdb.asm/sparc64.inc: New file.
18120 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18121
18122 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
18123
18124 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18125 instruction file directly into the build tree. Clean up at end of
18126 test.
18127
18128 2002-04-18 David S. Miller <davem@redhat.com>
18129
18130 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18131 handle 64-bit platforms correctly.
18132 * gdb.base/maint.exp: Likewise.
18133
18134 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18135
18136 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18137 ``-fpic'' when compiling files comprising a shared library, but
18138 it does need additional linker flags in order to find shared
18139 libraries at run time.
18140
18141 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18142
18143 * gdb.base/cvexpr.c (use): New function.
18144 (main): Invoke use() on all global variables to prevent
18145 some linkers from deleting these otherwise unused symbols.
18146
18147 2002-04-17 Michael Chastain <mec@shout.net>
18148 From David S. Miller <davem@redhat.com>
18149
18150 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18151 handle 64-bit platforms correctly.
18152
18153 2002-04-12 Michael Snyder <msnyder@redhat.com>
18154 From Jim Blandy <jimb@redhat.com>
18155 * gdb.base/foo.c (foox): Remove section attribute; the linker
18156 script can handle this instead.
18157 * gdb.base/bar.c (barx): Same.
18158 * gdb.base/baz.c (bazx): Same.
18159 * gdb.base/grbx.c (grbxx): Same.
18160
18161 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18162 manager doesn't automatically unmap overlays unnecessarily.
18163
18164 2002-04-10 Martin M. Hunt <hunt@redhat.com>
18165
18166 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18167 stepping out of main.
18168
18169 2002-04-09 Michael Chastain <mec@shout.net>
18170
18171 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18172 scope so that the nested scope tests will make sense.
18173 * gdb.c++/local.exp: Write patterns that actually work with gcc
18174 (the HP patterns "were never known to work with gcc").
18175 Keep the old aCC patterns too.
18176
18177 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
18178
18179 * gdb.base/attach.exp: Correct target board test.
18180
18181 2002-04-08 Michael Chastain <mec@shout.net>
18182
18183 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18184 in a const method. Add some xfail and fail cases for configurations
18185 that do not emit the "const ...".
18186
18187 2002-04-07 Michael Chastain <mec@shout.net>
18188
18189 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18190 Accept "A * const" and "const A * const" as type of "this".
18191 Fix spelling of getFunky throughout. Make messages uniform.
18192
18193 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18194
18195 Work around for PR gdb/285:
18196 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18197
18198 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18199
18200 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18201 instructions file at run time instead of configure time.
18202 Sometimes we run the test in a directory that is not the one we
18203 configured in.
18204 * gdb.asm/configure.in: Delete creation of symlink.
18205 * gdb.asm/configure: Regenerate.
18206
18207 2002-04-05 J. Brobecker <brobecker@gnat.com>
18208
18209 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18210 xfullpath () function.
18211
18212 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18213
18214 * gdb.asm/Makefile.in: Correct dependencies.
18215
18216 * gdb.asm/powerpc.inc: New file.
18217 * gdb.asm/asm-source.exp: Add PowerPC.
18218 * gdb.asm/configure.in: Likewise.
18219 * gdb.asm/configure: Regenerated.
18220
18221 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18222
18223 * gdb.base/relocate.exp: New file.
18224 * gdb.base/relocate.c: New file.
18225
18226 2002-04-04 Fred Fish <fnf@redhat.com>
18227
18228 * gdb.base/step-test.exp: Update comment regarding stopping in
18229 memcpy/bcopy calls inserted as part of the compiler runtime.
18230
18231 2002-04-04 Michael Snyder <msnyder@redhat.com>
18232
18233 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18234
18235 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
18236
18237 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18238 (gdb_expect): Remove $notransfer hack.
18239
18240 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
18241
18242 * gdb.c++/classes.exp ("calling method for small class"): Match
18243 updated register output.
18244
18245 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18246
18247 Fix PR gdb/452
18248 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18249 when finished. Make gdb_file_cmd send "exec-file" when
18250 appropriate.
18251
18252 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18253
18254 * gdb.base/attach.exp: Remove extra setup_xfail.
18255
18256 2002-03-26 Michael Snyder <msnyder@redhat.com>
18257
18258 * gdb.base/default.exp: Add tests for dump, append, and restore.
18259 * gdb.base/help.exp: Add tests for dump, append, and restore.
18260 * gdb.base/dump.exp: New file, test dump, append and restore.
18261 * gdb.base/dump.c: New file.
18262
18263 2002-03-27 Michael Snyder <msnyder@redhat.com>
18264
18265 * gdb.base/help.exp: Modify expect strings to reflect
18266 clean-ups in help messages.
18267
18268 2002-03-26 Fred Fish <fnf@redhat.com>
18269
18270 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18271 have debugging info for those functions and the compiler uses them
18272 internally to copy structs around.
18273
18274 2002-03-26 Fred Fish <fnf@redhat.com>
18275
18276 * gdb.base/list.exp: Revert the change made yesterday and add note
18277 about why we don't list the default lines for remote targets.
18278
18279 2002-03-25 Michael Snyder <msnyder@redhat.com>
18280
18281 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18282
18283 2002-03-25 Fred Fish <fnf@redhat.com>
18284
18285 * gdb.base/list.exp: This test works on remote targets so remove
18286 the short circuit for remote targets. Update copyright.
18287
18288 2002-03-25 Fred Fish <fnf@redhat.com>
18289
18290 * gdb.base/attach.exp: Fix logic error that was suppressing this
18291 test for all non hppa*-*-hpux* targets, instead of the hp target.
18292 Move comments closer to the suppression point. Also now need to
18293 check that we are running natively.
18294
18295 2002-03-22 Michael Snyder <msnyder@redhat.com>
18296
18297 * gdb.base/default.exp: Add test for gcore. Update copyright.
18298 * gdb.base/help.exp: Add test for gcore. Update copyright.
18299
18300 2002-03-06 Fred Fish <fnf@redhat.com>
18301
18302 * gdb.base/funcargs.c: Remove extraneous ';' character.
18303 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18304
18305 2002-03-04 Michael Chastain <mec@shout.net>
18306
18307 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18308 accommodate gcc v3 function signature.
18309 * gdb.mi/mi0-var-cmd-exp: Ditto.
18310
18311 2002-02-24 Andrew Cagney <ac131313@redhat.com>
18312
18313 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18314 ``GNU/Linux'' or ``Linux kernel''
18315 * testsuite/gdb.threads/pthreads.c: Ditto.
18316
18317 2002-02-24 Michael Chastain <mec@shout.net>
18318
18319 * gdb.threads/pthreads.c (thread1): Add a return statement.
18320 (thread2): Likewise.
18321 (foo): Likewise.
18322
18323 2002-02-23 Michael Chastain <mec@shout.net>
18324
18325 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18326 to placate gcc.
18327
18328 2002-02-23 Michael Chastain <mec@shout.net>
18329
18330 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18331 test "ptype bint". The test passes on all my stabs configurations.
18332
18333 2002-02-21 Jim Blandy <jimb@redhat.com>
18334
18335 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18336 filename at a time, and watch for the ones we want to see.
18337
18338 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18339 types of pointers to prototyped functions.
18340
18341 2002-02-20 Andrew Cagney <ac131313@redhat.com>
18342
18343 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18344 signed, unsigned and straight char.
18345 (padding_char, padding_short, padding_int, padding_long,
18346 padding_long_long, padding_float, padding_double,
18347 padding_long_double): New global variables.
18348 (fill, fill_structs): New functions.
18349
18350 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18351 for correctly sized writes. Update copyright.
18352 (get_valueof): New procedure.
18353 (get_sizeof): Call get_valueof.
18354 (check_valueof): New procedure.
18355 (check_padding): New procedure.
18356
18357 2002-02-20 Michael Chastain <mec@shout.net>
18358
18359 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18360 to setup_xfail. Document some of the remaining calls.
18361
18362 2002-02-18 Michael Chastain <mec@shout.net>
18363
18364 * gdb.c++/userdef.exp: Update copyright year.
18365
18366 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
18367
18368 * gdb.c++/userdef.exp: Test overloaded operators properly.
18369 Remove xfails.
18370
18371 2002-02-14 Michael Snyder <msnyder@redhat.com>
18372
18373 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18374
18375 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
18376
18377 * gdb.base/a2-run.exp: Check for a remote target properly.
18378 * gdb.base/annota1.exp: Likewise.
18379 * gdb.base/list.exp: Likewise.
18380 * gdb.base/reread.exp: Likewise.
18381 * gdb.base/scope.exp: Likewise.
18382 * gdb.base/shlib-call.exp: Likewise.
18383 * gdb.base/term.exp: Likewise.
18384 * gdb.c++/annota2.exp: Likewise.
18385
18386 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
18387
18388 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18389
18390 2002-02-10 Michael Chastain <mec@shout.net>
18391
18392 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18393 (call_after_alloca): Ditto.
18394
18395 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
18396
18397 * gdb.base/ending-run.exp: Guard "cont" test with
18398 gdb_skip_stdio_test.
18399
18400 2002-02-06 Jim Blandy <jimb@redhat.com>
18401
18402 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18403 from here...
18404 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18405 To here. Disable this test on non-HP platforms. Add big comment.
18406
18407 2002-02-04 Michael Snyder <msnyder@redhat.com>
18408
18409 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18410 other than d10v and m32r.
18411
18412 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
18413
18414 * gdb.base/default.exp: Rewrite test patterns to reduce time
18415 taken to match them.
18416
18417 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18418
18419 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18420 Allow a start function above main.
18421 * gdb.threads/linux-dp.exp: Fix copyright date.
18422
18423 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18424
18425 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18426 (check_philosopher_stack): Check for manager thread before checking
18427 for a just-starting thread.
18428
18429 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18430
18431 From Neil Booth <neil@daikokuya.demon.co.uk>:
18432 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18433 warnings.
18434
18435 2002-01-21 Fred Fish <fnf@redhat.com>
18436
18437 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18438 not caller.
18439
18440 2002-01-21 Jim Blandy <jimb@redhat.com>
18441
18442 * gdb.base/reread.exp: Check that GDB properly re-reads the
18443 executable file when it changes while no inferior is running.
18444
18445 2002-01-21 Fred Fish <fnf@redhat.com>
18446
18447 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18448 optionally accept the "shlib events" variation.
18449
18450 2002-01-21 Jim Blandy <jimb@redhat.com>
18451
18452 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18453 call `fflush' after every `printf', so that the output is produced
18454 at predictable points, regardless of whatever buffering does (or
18455 doesn't) take place.
18456 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18457 at different points.
18458
18459 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18460
18461 * gdb.c++/inherit.exp: Update copyright years.
18462 * gdb.c++/method.exp: Likewise.
18463
18464 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18465
18466 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18467 artificial methods/arguments.
18468 * gdb.c++/derivation.exp: Likewise.
18469 * gdb.c++/inherit.exp: Likewise.
18470 * gdb.c++/method.exp: Likewise.
18471 * gdb.c++/virtfunc.exp: Likewise.
18472
18473 2002-01-18 Andrew Cagney <ac131313@redhat.com>
18474
18475 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18476 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18477 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18478 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18479 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18480 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18481
18482 2002-01-17 Jim Blandy <jimb@redhat.com>
18483
18484 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18485 anchoring the pattern matching the entry point symbol's name.
18486
18487 2002-01-17 Andrew Cagney <ac131313@redhat.com>
18488
18489 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18490 continue/quit query. Update copyright.
18491
18492 2002-01-14 Michael Snyder <msnyder@redhat.com>
18493
18494 * gdb.base/gcore.exp: Remove extra debugging output.
18495
18496 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18497
18498 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18499 for slightly dubious v2 mangled string.
18500
18501 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18502
18503 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18504
18505 2002-01-10 Jason Merrill <jason@redhat.com>
18506
18507 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
18508
18509 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18510 constructors.
18511 * gdb.c++/derivation.exp: Likewise.
18512 * gdb.c++/templates.exp: Likewise.
18513 * gdb.c++/virtfunc.exp: Likewise.
18514
18515 2002-01-10 Michael Snyder <msnyder@redhat.com>
18516
18517 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
18518
18519 2002-01-08 Michael Snyder <msnyder@redhat.com>
18520
18521 * gdb.base/gcore.exp: New test for generate-core-file command.
18522 * gdb.base/gcore.c: Testcase for above.
18523 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18524
18525 2002-01-08 Jason Merrill <jason@redhat.com>
18526
18527 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18528
18529 2002-01-07 Fred Fish <fnf@redhat.com>
18530
18531 * gdb.c++/overload.exp: Remove unconditional xfails for:
18532 print foo_instance1.overloadargs(1)
18533 print foo_instance1.overloadargs(1, 2)
18534 print foo_instance1.overloadargs(1, 2, 3)
18535 print foo_instance1.overloadargs(1, 2, 3, 4)
18536 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18537 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18538 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18539 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18540 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18541 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18542 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18543 print foo_instance1.overload1arg()
18544 print foo_instance1.overload1arg((char)arg2)
18545 print foo_instance1.overload1arg((signed char)arg3)
18546 print foo_instance1.overload1arg((unsigned char)arg4)
18547 print foo_instance1.overload1arg((int)arg7)
18548 print foo_instance1.overload1arg((unsigned int)arg8)
18549 print foo_instance1.overload1arg((float)arg11)
18550 print foo_instance1.overload1arg((double)arg12)
18551
18552 2002-01-07 Michael Snyder <msnyder@redhat.com>
18553
18554 * gdb.base/huge.exp: New test. Print a very large target data object.
18555 (skip_huge_test): New test variable. Define if you want to skip this
18556 test. The test reads an 8 megabyte data object from the target, so it
18557 might be very time consuming on remote targets with a slow connection.
18558 * gdb.base/huge.c: New file. Test case for above.
18559
18560 2002-01-07 Fred Fish <fnf@redhat.com>
18561
18562 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18563 g_instance.bfoo, and g_instance.cfoo.
18564
18565 2002-01-07 Jeffrey A Law <law@redhat.com>
18566
18567 * gdb.base/break.c (multi_line_if_conditional): New function.
18568 (multi_ilne_while_conditional): Likewise.
18569 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18570 IF or WHILE condition puts the breakpoint at the start of
18571 the condition.
18572
18573 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18574 hppa*-*-hpux* expected failure.
18575 * gdb.base/structs.exp (do_function_calls): Similarly.
18576
18577 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18578 watchpoints.
18579
18580 2002-01-06 Andrew Cagney <ac131313@redhat.com>
18581
18582 Fix PR gdb/66.
18583 * gdb.base/structs.exp: Replace skip for a29k with skip for
18584 gdb,cannot_call_functions.
18585 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18586 * gdb.base/callfuncs.exp: Ditto.
18587 * gdb.base/call-rt-st.exp: Ditto.
18588 * gdb.base/call-strs.exp: Ditto.
18589 * gdb.base/callfwmall.exp: Ditto.
18590 * gdb.base/scope.exp: Obsolete xfail a29k.
18591 * gdb.c++/misc.exp: Ditto.
18592 * gdb.c++/cplusfuncs.exp: Ditto.
18593 * gdb.base/ptype.exp: Ditto.
18594 * gdb.base/printcmds.exp: Ditto.
18595 * gdb.base/opaque.exp: Ditto.
18596 * gdb.base/list.exp: Ditto.
18597 * gdb.base/funcargs.exp: Ditto.
18598 * gdb.base/default.exp: Ditto.
18599
18600 2002-01-04 Michael Snyder <msnyder@redhat.com>
18601
18602 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18603 * gdb.base/maint.exp: Add tests for maint info sections options.
18604
18605 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18606
18607 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18608
18609 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
18610
18611 * gdb.asm/arm.inc: New file.
18612 * gdb.asm/asm-source.exp: Add arm targets.
18613 * gdb.asm/configure.in: Ditto.
18614 * gdb.asm/configure: Recreated from configure.in.
18615
18616 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18617
18618 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18619 with HP's compiler.
18620 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18621 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18622 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18623 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18624
18625 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18626 either HP's compilers or GCC.
18627
18628 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18629 a SIGBUS or SIGSEGV.
18630
18631 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18632
18633 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18634 can be compiled with either HP's compiler or GCC.
18635
18636 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18637 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18638 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18639
18640 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18641 to match current gdb output. Update due to using auto-solib-limit
18642 for limiting instead of overloading auto-solib-add.
18643 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18644 test program.
18645
18646 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18647 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18648 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18649 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18650 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18651 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18652 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18653 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18654 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18655 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18656 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18657 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18658 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18659
18660 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18661 a SIGTRAP to the inferior.
18662
18663 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
18664
18665 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18666 Substitute call to target_link by call to gdb_compile.
18667
18668 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18669
18670 * gdb.base/break.exp: Fix HP specific search string when testing
18671 backtracing in a called function.
18672
18673 * gdb.base/constvars.exp: Only set lang to C++ if we're
18674 compiling the test with HP's compilers.
18675 * gdb.base/volatile.exp: Similarly.
18676
18677 2001-12-19 Jim Blandy <jimb@redhat.com>
18678
18679 * gdb.base/printcmds.exp: Expect the null character to be printed
18680 as '\0', and the '\013' to be printed as '\v'.
18681 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18682 * gdb.base/setvar.exp: Same.
18683
18684 2001-12-17 Jim Blandy <jimb@redhat.com>
18685
18686 * gdb.base/completion.exp: Rather than completing very long
18687 filenames, which can make the readline library produce output we
18688 don't recognize, cd to the directory first, and then complete
18689 using nice, short relative paths.
18690
18691 * gdb.base/completion.exp: On some systems, there is, in fact, a
18692 variable named `b' in scope, since GDB treats all static
18693 variables as being in scope. So use `no_var_named_this'
18694 instead of `b'.
18695
18696 * gdb.base/corefile.exp: Recognize the message saying that GDB
18697 can't find the core file's registers as a failure.
18698
18699 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18700
18701 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18702 test expect string more specific.
18703
18704 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
18705
18706 * gdb.asm/asm-source.exp: Add support for xstormy16.
18707 * gdb.asm/configure.in: Ditto.
18708 * gdb.asm/configure: Rebuild.
18709 * gdb.asm/xstormy16.inc: New file.
18710
18711 2001-12-10 Fred Fish <fnf@redhat.com>
18712
18713 * gdb.base/maint.exp: Update to match changes in type dumping code.
18714
18715 2001-12-10 Jim Blandy <jimb@redhat.com>
18716
18717 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18718 matching the entry point symbol's name at the beginning of the
18719 line.
18720
18721 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18722
18723 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18724 gdb.c++/inherit.exp, gdb.c++/method.exp,
18725 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18726 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18727 and class layout support.
18728
18729 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18730
18731 * gdb.c++/classes.exp: Add test for static member function.
18732 * gdb.c++/misc.cc: Add class with static member function.
18733
18734 2001-12-07 Jim Blandy <jimb@redhat.com>
18735
18736 If GDB says it can't find the struct the function returned, report
18737 those tests as `unsupported'.
18738 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18739 Rewrite subsequent tests to use it.
18740
18741 If GDB says it can't find the struct the function returned, report
18742 those tests as `unsupported'.
18743 * gdb.base/structs.exp (call_struct_func): New function.
18744 (do_function_calls): Use call_struct_func to call the functions
18745 returning structs.
18746
18747 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18748 whether functions are prototyped or not, so we can't possibly pass
18749 arguments to t_float_values2 properly.
18750
18751 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18752 value of `timeout' for targets other than the mips*tx39-*.
18753
18754 2001-12-06 Michael Snyder <msnyder@redhat.com>
18755
18756 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18757 and detect whether the start symbol has a leading underscore.
18758
18759 2001-12-04 Jim Blandy <jimb@redhat.com>
18760
18761 * gdb.base/completion.exp: Clarify indentation.
18762
18763 2001-12-03 Jim Blandy <jimb@redhat.com>
18764
18765 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18766 variables on the S/390, not `.word'.
18767
18768 2001-11-30 Jim Blandy <jimb@redhat.com>
18769
18770 Add assembly-source tests for s390-ibm-linux.
18771 * gdb.asm/s390.inc: New file.
18772 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18773 the S/390 architecture.
18774 * gdb.asm/configure: Regenerated.
18775
18776 2001-11-30 Michael Snyder <msnyder@redhat.com>
18777
18778 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18779 next, info source, info sources, info line, global and static
18780 variables, and static functions.
18781 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18782 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18783 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18784 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18785 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18786 (gdbasm_leave): Restore frame pointer.
18787 (gdbasm_startup): Copy stack set-up from crt0.S.
18788
18789 2001-11-26 Fernando Nasser <fnasser@redhat.com>
18790
18791 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18792 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18793 to a local (non-static) variable. Copy tstruct.a to a static buffer
18794 and return a pointer to that buffer.
18795 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18796
18797 2001-11-24 Mark Kettenis <kettenis@gnu.org>
18798
18799 * gdb.asm/configure.in: Fix recognition of ix86 target.
18800 * gdb.asm/configure: Regenerate.
18801
18802 2001-11-21 Michael Snyder <msnyder@redhat.com>
18803
18804 * gdb.asm/sparc.inc: New file.
18805 * gdb.asm/asm-source.exp: Recognize sparc target.
18806 * gdb.asm/configure.in: Recognize sparc target.
18807 * gdb.asm/configure: Regenerate.
18808
18809 2001-11-21 Michael Snyder <msnyder@redhat.com>
18810
18811 * gdb.asm/m32r.inc: New file.
18812 * gdb.asm/asm-source.exp: Recognize m32r target.
18813 * gdb.asm/configure.in: Recognize m32r target.
18814 * gdb.asm/configure: Regenerate.
18815
18816 2001-11-20 Michael Snyder <msnyder@redhat.com>
18817
18818 * gdb.asm/i386.inc: New file.
18819 * gdb.asm/asm-source.exp: Recognize ix86 target.
18820 * gdb.asm/configure.in: Recognize ix86 target.
18821 * gdb.asm/configure: Regenerate.
18822
18823 * gdb.c++/namespace.exp: Fix quotes in output messages.
18824
18825 2001-11-14 Michael Snyder <msnyder@redhat.com>
18826
18827 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
18828 qualifier in a type cast expression, to designate an address
18829 in the instruction space (Harvard architecture).
18830
18831 2001-11-13 Michael Snyder <msnyder@redhat.com>
18832
18833 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18834 Tests for expressions using 'const' and 'volatile'.
18835
18836 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
18837
18838 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18839
18840 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
18841
18842 * lib/mi-support.exp (mi_run_to_helper): Move comments
18843 outside of gdb_expect.
18844
18845 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
18846
18847 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18848 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18849 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18850 mi0_run_to): New functions.
18851 * gdb.mi/mi-simplerun.exp: Use them.
18852 * gdb.mi/mi0-simplerun.exp: Likewise.
18853 * gdb.mi/mi-var-cmd.exp: Likewise.
18854 * gdb.mi/mi0-var-cmd.exp: Likewise.
18855
18856 2001-11-10 Andrew Cagney <ac131313@redhat.com>
18857
18858 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18859 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18860
18861 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18862
18863 * gdb.base/restore.exp: Include $expected value in restored test
18864 message.
18865
18866 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18867
18868 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18869 implemented.
18870
18871 2001-11-08 Michael Snyder <msnyder@redhat.com>
18872
18873 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18874 Add pass/fail message for stop at breakpoint in call dummy function.
18875
18876 2001-11-07 Michael Snyder <msnyder@redhat.com>
18877
18878 * gdb.c++/templates.exp (test_template_breakpoints):
18879 If we get an overload menu, but it does not match what
18880 we expect, we still need to issue the "cancel" command.
18881 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18882 making the whitespace optional. Argument for "new" may be
18883 "unsigned" as well as "unsigned int/long".
18884 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18885 making the whitespace optional. Also replace "(void) with
18886 "((void|)), making the keyword "void" optional.
18887 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18888 making the whitespace optional. Also replace "(void) with
18889 "((void|)), making the keyword "void" optional.
18890 * gdb.base/callfuncs.c (t_float_values): This function must
18891 _not_ be prototyped, and the following function (t_float_values2)
18892 must be prototyped (if the compiler supports it), so that GDB
18893 can be tested against both cases. Usually one case involves
18894 promotion of float to double, while the other does not.
18895 * gdb.base/callfwmall.c: Ditto.
18896 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18897 includes a stack frame for "start".
18898
18899 2001-11-05 Jim Blandy <jimb@redhat.com>
18900
18901 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18902 pointers are 32 bits long, and that offsets of relocs are always
18903 stored in the data (REL-style), and not in the reloc entry itself
18904 (RELA-style).
18905 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18906 stabs.
18907
18908 2001-11-01 Michael Snyder <msnyder@redhat.com>
18909
18910 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18911 and regular expression operators by using quoting.
18912
18913 2001-10-31 Michael Snyder <msnyder@redhat.com>
18914
18915 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18916 depending on what the symbol table contains.
18917 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18918 the output of the ptype command. Similarly, accept both "const &"
18919 and "const&".
18920
18921 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
18922
18923 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18924 symbol `STORAGE' to allow to choose the storage class of
18925 the local datastructures.
18926 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18927 compiler directive.
18928
18929 2001-10-30 Michael Snyder <msnyder@redhat.com>
18930
18931 * gdb.base/jump.exp: Allow it to run for all targets.
18932
18933 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18934
18935 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18936 with new double_array size.
18937 (main): Change storage class of all local variables to static.
18938 Reduce size of double_array to 9.
18939 * gdb.base/call-ar-st.exp: Increase timeout value.
18940 Change expected output for double array to match new size in
18941 call-ar-st.c.
18942
18943 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18944
18945 * gdb.base/ending-run.exp: Create identical output when passing
18946 `step to end of run' case. Add regular expression branch satisfying
18947 Stormy16 target.
18948
18949 2001-10-28 Mark Kettenis <kettenis@gnu.org>
18950
18951 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18952 that we catch the expected failure under Linux/x86.
18953
18954 2001-10-29 Orjan Friberg <orjanf@axis.com>
18955
18956 * gdb.base/setvar.exp: Escape curly braces.
18957 * gdb.stabs/weird.exp: Ditto.
18958
18959 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
18960
18961 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18962 * gdm.mi/mi0-hack-cli.exp: Likewise.
18963
18964 2001-10-25 Andrew Cagney <ac131313@redhat.com>
18965
18966 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18967 messages.
18968
18969 2001-10-21 Andrew Cagney <ac131313@redhat.com>
18970
18971 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18972 checking MI enabled.
18973
18974 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
18975
18976 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18977
18978 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
18979
18980 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18981 if gdb child process crashes, just signal an error.
18982
18983 2001-10-02 Jim Blandy <jimb@redhat.com>
18984
18985 * lib/gdb.exp (test_xfail_format): Simplify.
18986
18987 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18988 front of the variable name `format'. Simplify `if'.
18989
18990 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18991
18992 * gdb.threads/pthreads.exp: Wait for output and delay
18993 before sending ^C.
18994
18995 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18996
18997 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18998 some incorrect output instead of timing out.
18999 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19000
19001 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
19002
19003 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19004 check to allow additional `int'.
19005
19006 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
19007
19008 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19009 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19010
19011 2001-09-27 Michael Snyder <msnyder@redhat.com>
19012
19013 * lib/gdb.exp (test_debug_format): New proc.
19014 (setup_xfail_format): Use new proc test_debug_format.
19015 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19016 proc; use new service proc test_debug_format.
19017 Replace all other "gcc_compiled" tests with this test.
19018 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19019 proc; use new service proc test_debug_format.
19020 Replace all other "gcc_compiled" tests with this test.
19021
19022 2001-09-27 Michael Snyder <msnyder@redhat.com>
19023
19024 * gdb.base/cvexpr.exp: New file.
19025 * gdb.base/cvexpr.c: New file
19026 Test for expressions using const and volatile keywords.
19027
19028 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
19029
19030 * gdb.base/constvars.exp: Check for different orders of keywords
19031 and additional "int" strings in output.
19032
19033 2001-09-22 Andrew Cagney <ac131313@redhat.com>
19034
19035 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19036 responses from "help maint".
19037
19038 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
19039
19040 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19041 to localhost:NNN instead of :NNN, in case Xvfb is listening
19042 only on TCP.
19043
19044 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
19045
19046 * gdb.base/recurse.exp: When checking leaving the watchpoint
19047 scope, recognize when gdb is in function's epilogue and pass.
19048
19049 2001-09-18 Keith Seitz <keiths@redhat.com>
19050
19051 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19052 support for running tests against sid targets.
19053 (gdbtk_done): Ditto.
19054
19055 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
19056
19057 * gdb.base/ending-run.c (main): Set stdout buffersize
19058 to the same reasonable value for any target.
19059 * gdb.base/ending-run.exp: Add a regular expression
19060 to make testsuite happy on Sanyo Stormy16 target.
19061
19062 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
19063
19064 * gdb.base/display.c (do_loops): Add float variable `f'.
19065 Increment f in loop.
19066 * gdb.base/display.exp: Increment timeout by 60 seconds.
19067 Change float display test to use variable `f'.
19068
19069 2001-09-17 Jim Blandy <jimb@redhat.com>
19070
19071 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19072 overflowing the limited breakpoint tables on some ROM monitors
19073 (like the ROM68K).
19074
19075 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
19076
19077 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19078 the "-ac" (disable access control) flag.
19079
19080 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
19081
19082 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19083 ints.
19084
19085 2001-08-30 Keith Seitz <keiths@redhat.com>
19086
19087 * lib/gdb.exp: Move all insight-related functionality into
19088 separate file.
19089 * lib/insight-support.exp: New file.
19090
19091 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
19092
19093 * config/sid.exp (sid_start): Never set sid verbosity; disable
19094 expect_background {} that consumed its stdout; tolerate </dev/null.
19095 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19096
19097 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19098
19099 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19100 CLI jump command to start it.
19101 (mi_run_to_main): Fail immediatly when unexpected output.
19102
19103 2001-08-18 Andrew Cagney <ac131313@redhat.com>
19104
19105 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19106 beginning of function. Fix PR gdb/191.
19107
19108 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
19109
19110 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19111 what to force sid endianness to.
19112
19113 2001-08-15 Keith Seitz <keiths@redhat.com>
19114
19115 * lib/gdb.exp (gdbtk_start): Don't set environment
19116 variables for TCL_LIBRARY and friends. Insight will
19117 now figure these out for itself.
19118
19119 2001-08-02 Michael Snyder <msnyder@redhat.com>
19120
19121 * gdb.base/completion.exp: Remove the symbol "a64l" from
19122 the expect string; this is target-specific, and not related
19123 to what is being tested.
19124
19125 2001-08-02 Dave Brolley <brolley@redhat.com>
19126
19127 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19128
19129 2001-07-25 Michael Snyder <msnyder@redhat.com>
19130
19131 * gdb.base/consecutive.exp: New file. Test stepping over
19132 breakpoints on consecutive instructions.
19133 * gdb.base/consecutive.c: New file.
19134
19135 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19136 curly braces in regular expressions.
19137
19138 2001-07-25 Michael Snyder <msnyder@redhat.com>
19139
19140 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19141 legitimate output from stepping out of main.
19142
19143 2001-07-22 Keith Seitz <keiths@redhat.com>
19144
19145 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19146 the empty string, do not run the tests.
19147
19148 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19149
19150 * gdb.base/long_long.exp: Detect size of pointer. Take into
19151 account 2-byte pointers when testing for p/a results.
19152
19153 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19154
19155 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
19156 and defined to 1K for m68hc11.
19157 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19158 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19159 (sizeof_random_data): New variable to tell the size of the data table;
19160 don't test past this size; always run to main.
19161
19162 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19163
19164 * gdb.base/return2.exp: return of long long and double fails for
19165 68HC11; don't execute these tests on that platform.
19166 * gdb.base/return.exp: Return of a double fails for 68hc11.
19167
19168 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19169
19170 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19171 tests that print a float.
19172 * call-rt-st.exp: Likewise.
19173
19174 2001-07-12 Mark Kettenis <kettenis@gnu.org>
19175
19176 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19177 running this test on Linux.
19178
19179 2001-06-24 Michael Chastain <chastain@redhat.com>
19180
19181 * gdb.base/arithmet.exp: Remove some tests to make all test names
19182 unique.
19183
19184 2001-07-03 Michael Snyder <msnyder@redhat.com>
19185
19186 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19187 the output of the ptype command.
19188
19189 2001-07-02 Michael Snyder <msnyder@redhat.com>
19190
19191 * gdb.base/completion.exp: Don't assume that break.c is the only
19192 source file that may contain functions named "marker".
19193 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19194
19195 2001-06-28 Andrew Cagney <ac131313@redhat.com>
19196
19197 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19198 of files to delete.
19199
19200 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19201 * gdb.disasm/h8300s.exp: New file.
19202 gdb.disasm/h8300s.s: Likewise.
19203
19204 2001-06-27 Andrew Cagney <ac131313@redhat.com>
19205
19206 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19207 empty breakpoint tables.
19208
19209 2001-06-25 Andrew Cagney <ac131313@redhat.com>
19210
19211 * lib/mi-support.exp: Update args=... part of stop-reason
19212 patterns. Accept either a list or a tuple.
19213
19214 2001-06-23 Andrew Cagney <ac131313@redhat.com>
19215
19216 * lib/mi-support.exp: Remove local emacs variable defining
19217 change-log-default-name.
19218
19219 2001-06-22 Michael Chastain <chastain@redhat.com>
19220
19221 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19222 This is operationally compatible with the previous version.
19223
19224 2001-06-13 Jim Blandy <jimb@redhat.com>
19225
19226 * lib/gdb.exp (gdb_test): Doc fix.
19227
19228 2001-06-10 Michael Chastain <chastain@redhat.com>
19229
19230 * gdb.base/exprs.exp: Remove a duplicate test.
19231
19232 2001-06-06 Jim Blandy <jimb@redhat.com>
19233
19234 * gdb.base/return2.exp (main): Use values to test float and double
19235 returns that are not NaN's, to avoid being confused by IEEE
19236 comparison rules.
19237
19238 2001-06-04 Michael Snyder <msnyder@redhat.com>
19239
19240 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
19241 non-zero if control_c fails. Terminate the test on failure,
19242 rather than wait for 12 more tests to time out.
19243
19244 2001-06-06 Jim Blandy <jimb@redhat.com>
19245
19246 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
19247 Don't forget to match the GDB prompt.
19248
19249 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19250
19251 2001-06-04 Jim Blandy <jimb@redhat.com>
19252
19253 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19254 command.
19255
19256 2001-05-31 Kevin Buettner <kevinb@redhat.com>
19257
19258 * gdb.base/annota1.exp (info break): Match four or more spaces
19259 after "Address".
19260
19261 2001-05-31 Michael Chastain <chastain@redhat.com>
19262
19263 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19264 (dm_type_int_star): Likewise.
19265 (dm_type_long_star): Likewise.
19266 (dm_type_void_star): Likewise.
19267
19268 2001-05-29 Kevin Buettner <kevinb@redhat.com>
19269
19270 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19271 to a known value in order to get consistent results regardless
19272 of the setting of INPUTRC or the presence or contents of .inputrc.
19273
19274 2001-05-24 Michael Snyder <msnyder@redhat.com>
19275
19276 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19277 Don't require that the main thread and the manager thread are the
19278 first in the list.
19279
19280 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19281 debugging. If test fails, issue an "unsupported" not a "fail".
19282
19283 2001-05-24 Jim Blandy <jimb@redhat.com>
19284
19285 Don't assume that short is shorter than int.
19286 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19287 assume that shorts are smaller than ints. On a 16-bit machine,
19288 this isn't true.
19289 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19290 an int, is not equal to ~0 stored in an unsigned char. This tests
19291 the same thing that the previous test meant to, but works on
19292 16-bit machines, too.
19293 ("print unsigned char != (~0)"): Same test, complemented.
19294
19295 2001-05-24 Michael Snyder <msnyder@redhat.com>
19296
19297 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
19298 test for (full_coverage == 0). This makes the test run faster,
19299 and prevents dejagnu getting out of step.
19300
19301 2001-05-23 Kevin Buettner <kevinb@redhat.com>
19302
19303 * gdb.base/finish.exp (finish_void): Revise pattern for
19304 stopping on the call statement to not permit stopping at
19305 the start of the instructions comprising the call sequence.
19306
19307 2001-05-19 Michael Chastain <chastain@redhat.com>
19308
19309 * gdb.base/callfuncs.exp: Make all test names unique.
19310 * gdb.base/commands.exp: Make all test names unique.
19311 * gdb.base/condbreak.exp: Make all test names unique.
19312 * gdb.base/dbx.exp: Make all test names unique.
19313 * gdb.base/default.exp: Make all test names unique.
19314 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19315 and TIMEOUT messages to their corresponding PASS message.
19316 * gdb.base/ending-run.exp: Make all test names unique.
19317 * gdb.base/long_long.exp: Remove duplicate test.
19318
19319 2001-05-21 Kevin Buettner <kevinb@redhat.com>
19320
19321 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19322 stop on the call statement as well as the statement after the
19323 call.
19324
19325 2001-05-21 Michael Snyder <msnyder@redhat.com>
19326
19327 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19328
19329 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19330
19331 * gdb.base/completion.exp: Revamp test. Make it execute on all
19332 platforms.
19333
19334 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19335
19336 * config/gdbserver.exp (gdb_load): Handle the case
19337 in which the arguments to gdbserver are given in the
19338 baseboard configuration file.
19339 Also handle the case in which the server needs to do a
19340 load.
19341
19342 2001-05-07 Keith Seitz <keiths@cygnus.com>
19343
19344 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19345 set up the display for testing.
19346 (gdbtk_start): Convert all paths to paths that tcl will like.
19347 Export target information to environment.
19348 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19349 necessary.
19350 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19351 (to_tcl_path): New proc to convert a given pathname into
19352 a path acceptible as an argument to a tcl command.
19353 (_gdbtk_export_target_info): New proc to export target info
19354 into the environment for gdbtk testing.
19355 (gdbtk_done): New proc to signal end-of-test.
19356
19357 2001-05-06 Jim Blandy <jimb@redhat.com>
19358
19359 * restore.c: Make the code of caller0 correspond to its comment.
19360
19361 2001-05-03 Michael Snyder <msnyder@redhat.com>
19362
19363 * config/sid.exp (gdb_target_sid): Check for error messages.
19364 On error or timeout, don't make expect exit (which will terminate
19365 all subsequent tests); instead just make gdb exit.
19366 (gdb_load): Check for error messages. On error or timeout,
19367 return a negative value.
19368
19369 2001-04-24 Jim Blandy <jimb@redhat.com>
19370
19371 * gdb.c++/templates.exp: If we see the prompt for the overload
19372 list, but we haven't recognized any of the longer patterns,
19373 arrange for this test to fail, not hang.
19374
19375 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19376 variations.
19377
19378 2001-04-22 Michael Chastain <chastain@redhat.com>
19379
19380 * gdb.c++/local.exp: Use the 'runto' library function.
19381 * gdb.c++/namespace.exp: Likewise.
19382 * gdb.c++/overload.exp: Likewise.
19383
19384 2001-03-26 Kevin Buettner <kevinb@redhat.com>
19385
19386 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19387 * gdb.base/step-line.exp: New file. Test step/next in presence of
19388 #line directives.
19389 * gdb.base/step-line.c: New file. Test program for the above.
19390 * gdb.base/step-line.inp: New file. We pretend that this file has
19391 been transformed by some other tool into step-line.c.
19392
19393 2001-03-21 Jim Blandy <jimb@redhat.com>
19394
19395 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19396 unmangled operator names.
19397
19398 2001-03-20 Jim Blandy <jimb@redhat.com>
19399
19400 * gdb.threads/linux-dp.exp: Recognize an additional message
19401 generated by GDB when it doesn't understand how to debug threads
19402 on the target system.
19403
19404 2001-03-19 Andrew Cagney <ac131313@redhat.com>
19405
19406 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19407
19408 2001-03-12 Michael Chastain <chastain@redhat.com>
19409
19410 * gdb.c++/derivation.exp: Use the 'runto' library function.
19411
19412 2001-03-12 Michael Chastain <chastain@redhat.com>
19413
19414 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19415
19416 2001-02-24 Michael Chastain <chastain@redhat.com>
19417
19418 * gdb.c++/ref-types.exp: Change handwritten code to library
19419 function 'runto'.
19420
19421 2001-03-16 Orjan Friberg <orjanf@axis.com>
19422
19423 * gdb.base/signals.exp: Set count to 0 explicitly.
19424
19425 2001-03-15 Mark Salter <msalter@redhat.com>
19426
19427 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19428 (gdb_target_monitor): Add check of gdb_target_cmd return value.
19429 (gdb_load): Add support for additional target_info: gdb_download_size
19430 and gdb_load_timeout.
19431
19432 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19433
19434 * gdb.base/annota1.exp: Move test of isnative to earlier in the
19435 file -- to prevent failing when the compile fails but we have no
19436 intention of running the tests anyway.
19437
19438 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19439 tests if set.
19440
19441 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
19442 integers.
19443
19444 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19445 * gdb.c++/namespace.exp: Ditto.
19446
19447 2001-03-07 Orjan Friberg <orjanf@axis.com>
19448
19449 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19450 * gdb.base/pointers.exp: Relax pattern match of decimals.
19451
19452 2001-03-06 Kevin Buettner <kevinb@redhat.com>
19453
19454 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19455 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19456 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19457 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19458 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19459 config/sh.exp, config/sid.exp, config/slite.exp,
19460 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19461 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19462 config/vxworks.exp, config/vxworks29k.exp,
19463 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19464 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19465 gdb.base/arithmet.exp, gdb.base/assign.exp,
19466 gdb.base/async.exp, gdb.base/attach.exp,
19467 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19468 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19469 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19470 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19471 gdb.base/commands.exp, gdb.base/completion.exp,
19472 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19473 gdb.base/constvars.exp, gdb.base/corefile.exp,
19474 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19475 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19476 gdb.base/ending-run.exp, gdb.base/environ.exp,
19477 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19478 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19479 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19480 gdb.base/funcargs.exp, gdb.base/help.exp,
19481 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19482 gdb.base/logical.exp, gdb.base/long_long.exp,
19483 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19484 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19485 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19486 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19487 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19488 gdb.base/regs.exp, gdb.base/relational.exp,
19489 gdb.base/remote.exp, gdb.base/reread.exp,
19490 gdb.base/restore.exp, gdb.base/return2.exp,
19491 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19492 gdb.base/selftest.exp, gdb.base/setshow.exp,
19493 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19494 gdb.base/sigall.exp, gdb.base/signals.exp,
19495 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19496 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19497 gdb.base/step-test.exp, gdb.base/structs.c,
19498 gdb.base/structs.exp, gdb.base/structs2.exp,
19499 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19500 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19501 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19502 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19503 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19504 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19505 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19506 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19507 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19508 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19509 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19510 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19511 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19512 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19513 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19514 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19515 gdb.trace/circ.exp, gdb.trace/collection.exp,
19516 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19517 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19518 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19519 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19520 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19521 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19522 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19523 notices.
19524
19525 2001-02-27 Michael Snyder <msnyder@cygnus.com>
19526
19527 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19528 first arg is int not float.
19529
19530 2001-02-22 Michael Snyder <msnyder@cygnus.com>
19531
19532 * gdb.base/reread.exp: Unsupported for non-native targets;
19533 doesn't work for remote debugging.
19534
19535 2001-02-19 Fernando Nasser <fnasser@redhat.com>
19536
19537 From Drew Moseley <dmoseley@redhat.com>
19538 * gdb.base/ending-run.exp: Properly handle the BSP state when
19539 stepping past the end of main.
19540
19541 2001-02-19 John Moore <jmoore@redhat.com>
19542
19543 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19544 Converted HPUX fix for non-expected items following multiple
19545 step commands into general solution for all platforms.
19546
19547 2001-02-18 Michael Chastain <chastain@redhat.com>
19548
19549 * gdb.c++/classes.exp (do_tests): Change runto statements
19550 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19551 statements demangler agnostic.
19552 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19553 (gdb_virtfunc_restart): Likewise.
19554
19555 2001-02-14 Michael Chastain <chastain@redhat.com>
19556
19557 * gdb.c++/inherit.exp (do_tests): Change runto statements
19558 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19559 statements demangler agnostic.
19560
19561 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19562
19563 * gdb.threads/pthreads.exp: Unify pass/fail messages for
19564 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19565 before calling common_routine 15 times'' tests.
19566
19567 2001-02-11 Michael Chastain <chastain@redhat.com>
19568
19569 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19570 Helps the test script figure out which demangler is in use.
19571 (dm_type_foo_ref): Ditto.
19572 (dm_type_int_star): Ditto.
19573 (dm_type_long_star): Ditto.
19574 (dm_type_unsigned_int): Ditto.
19575 (dm_type_void): Ditto.
19576 (dm_type_void_star): Ditto.
19577 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19578 Probe the gdb demangler and set variables to accommodate
19579 formatting differences.
19580 (info_func_regexp): New function. Same as info_func, but
19581 matches against a regexp.
19582 (info_func): Match against a literal string.
19583 (print_addr_2): New function. Match against a literal string,
19584 which can be different from the input to gdb.
19585 (print_addr): Simply call print_addr_2 with the same argument twice.
19586 (test_lookup_operator_functions): Use demangler formatting variables.
19587 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19588 the tests in the same order as the C++ class declaration.
19589 (test_paddr_operator_functions): Ditto.
19590 (test_paddr_overloaded_functions): Ditto.
19591 (test_paddr_hairy_functions): Use demangler formatting variables.
19592 Add reference to gdb/19 for related tests.
19593 (do_tests): Call probe_demangler.
19594
19595 2001-01-30 Kevin Buettner <kevinb@redhat.com>
19596
19597 * gdb.c++/templates.cc (printf): Remove unused function definition.
19598
19599 2001-01-26 Felix Lee <flee@redhat.com>
19600
19601 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19602
19603 2001-01-25 matthew green <mrg@redhat.com>
19604
19605 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19606 up sid.
19607 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19608
19609 2001-01-25 matthew green <mrg@redhat.com>
19610
19611 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19612 Deprecate $sid_spawn_id.
19613 (sid_exit): Remove code necessary only for `spawn.'
19614
19615 2001-01-25 matthew green <mrg@redhat.com>
19616
19617 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19618
19619 2001-01-28 Michael Chastain <chastain@redhat.com>
19620
19621 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19622 to call when tests fail. It takes gdb out of the overloaded
19623 function choice menu back to the main prompt, so that the test
19624 program stays synchronized.
19625 (set_bp_overloaded): New proc to collect all the common
19626 code for setting a breakpoint on an overloaded name. Calls
19627 take_gdb_out_of_choice_menu when needed.
19628 (menu_overload1arg): New variable to collect the repeated
19629 instances of the expected menu for an overloaded name. Change
19630 the regular expression to handle changes in g++ type encoding:
19631 "void" can be either "void" or "", and "unsigned int" can be
19632 either "unsigned int" or "unsigned".
19633 (continue_to_bp_overloaded): Change regular expressions to handle
19634 changes in g++ type encoding.
19635 (no proc): Call take_gdb_out_of_choice_menu when needed.
19636 Remove redundant calls to "info break". Accept either "canceled"
19637 or "cancelled". Change regular expressions in "info break"
19638 calls to handle changes in g++ type encoding. Give all tests
19639 unique strings.
19640
19641 2001-01-17 Ben Elliston <bje@redhat.com>
19642
19643 * config/sid.exp: New file.
19644
19645 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19646
19647 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19648
19649 2000-12-21 Michael Snyder <msnyder@cygnus.com>
19650
19651 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19652 Add a RE to accept a non-ascii char if one is ever presented.
19653
19654 2000-12-20 Fernando Nasser <fnasser@redhat.com>
19655
19656 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19657
19658 2000-12-18 Michael Snyder <msnyder@cygnus.com>
19659
19660 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19661 in regexp. One '\' does not suffice on Linux.
19662
19663 2000-12-09 Michael Chastain <chastain@redhat.com>
19664
19665 * gdb.base/break.exp (test_clear_command): Use a marker function
19666 rather than 'main' for the test function. Also move this
19667 test to an execution point where the marker function names are
19668 guaranteed to be bound to functions. (Executing tests after a
19669 'finish' from main runs into name conflicts with local names
19670 in __libc_start_main).
19671
19672 2000-12-07 Michael Snyder <msnyder@cygnus.com>
19673
19674 * gdb.base/finish.exp: New test for gdb's "finish" command.
19675 * gdb.base/return2.exp: New test for gdb's "return" command.
19676 * gdb.base/return2.c: New source file for above.
19677
19678 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19679
19680 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19681 * gdb.base/miscexprs.exp: Ditto.
19682 * gdb.base/pointers.exp: Ditto.
19683 * gdb.c++/derivation.exp: Ditto.
19684 * gdb.c++/local.exp: Ditto.
19685 * gdb.c++/namespace.exp: Ditto.
19686 * gdb.c++/overload.exp: Ditto.
19687 * gdb.c++/ref-types.exp: Ditto.
19688
19689 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19690
19691 * gdb.base/constvars.exp: Test result of "up" command.
19692 * gdb.base/miscexprs.exp: Ditto.
19693 * gdb.base/pointers.exp: Ditto.
19694 * gdb.base/scope.exp: Ditto.
19695 * gdb.c++/derivation.exp: Ditto.
19696 * gdb.c++/local.exp: Ditto.
19697 * gdb.c++/namespace.exp: Ditto.
19698 * gdb.c++/overload.exp: Ditto.
19699 * gdb.c++/ref-types.exp: Ditto.
19700
19701 2000-11-22 Michael Chastain <chastain@redhat.com>
19702
19703 * mips_pro.exp: Accept either "middle -> top -> main" or
19704 "middle -> main" in the backtrace, because gcc can optimize
19705 tail calls to jumps. Remove setup_xfail for the hppa case.
19706 Add a comment with the original warning messages from PR 3016,
19707 which was filed in 1993, to preserve them for posterity.
19708
19709 2000-11-17 Nick Duffek <nsd@redhat.com>
19710
19711 * lib/gdb.exp (gdb_test): Override timeout with board info.
19712
19713 2000-11-17 Nick Duffek <nsd@redhat.com>
19714
19715 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19716 the second kill and detach messages.
19717
19718 2000-11-17 Nick Duffek <nsd@redhat.com>
19719
19720 * configure.in: Add AC_EXEEXT.
19721 * configure: Regenerate.
19722 * Makefile.in (just-check): Export EXEEXT.
19723 * lib/gdb.exp ($EXEEXT): Import from environment.
19724 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19725 expect "maint dump-me" on Cygwin.
19726 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19727 $EXEEXT.
19728
19729 2000-11-17 Nick Duffek <nsd@redhat.com>
19730
19731 * gdb.base/break.exp: Test backtrace and finish from called
19732 function on all platforms, not just HP-UX.
19733
19734 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19735
19736 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19737 code from gdb_target_monitor, so it can be used independantly
19738 for gdbserver. Also comment out an unnecessary PUTS.
19739
19740 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19741
19742 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19743 * gdb.base/corefile.exp: Expect the message "Program is being
19744 debugged already" when we send the "corefile" command, since
19745 the preceeding gdb_load may have connected gdb to a remote target.
19746 * gdb.base/display.exp: Disable hardware watchpoints if new
19747 board info variable "no_hardware_watchpoints" is true.
19748 Replace single-letter commands with more readable ones.
19749 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19750 if new board info variable "no_hardware_watchpoints" is true.
19751 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19752 to see if stdio (printf) testing is possible.
19753 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19754 board info variable "no_hardware_watchpoints" is true. Use new
19755 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19756
19757 2000-11-13 Fernando Nasser <fnasser@redhat.com>
19758
19759 From Orjan Friberg <orjanf@axis.com>:
19760 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19761 in array print pattern match.
19762
19763 2000-11-09 Fernando Nasser <fnasser@redhat.com>
19764
19765 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19766 spelling "cancelled" to U.S. spelling "canceled" to match changes
19767 made to gdb.
19768 * gdb.c++/ovldbreak.exp: Ditto.
19769
19770 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19771
19772 * gdb.base/callfuncs.c (main): Moved to end of file, call
19773 t_double_values to initialize the FPU before inferior calls are made.
19774 * gdb.base/callfuncs.exp: Test for register preservation after calling
19775 inferior functions. Add tests for continuining, finishing and
19776 returning from a stop in a call dummy.
19777
19778 2000-10-24 Michael Snyder <msnyder@cygnus.com>
19779
19780 * gdb.base/commands.exp: Break up long lines, and re-indent.
19781
19782 2000-10-19 Michael Snyder <msnyder@cygnus.com>
19783
19784 * config/gdbserver.exp: Rewritten from the ground up, to make it
19785 compatible with the current dejagnu tree, and to make it work with
19786 the new "gdbserver" in libremote.
19787
19788 2000-10-16 Michael Snyder <msnyder@cygnus.com>
19789
19790 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19791 * gdb.base/varargs.exp: Skip entire test if no printf support.
19792 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19793 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19794
19795 2000-10-13 Michael Snyder <msnyder@cygnus.com>
19796
19797 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19798 no floating point support.
19799 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19800 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19801 * gdb.base/call-rt-st.exp: Ditto.
19802 * gdb.base/call-strs.exp: Ditto.
19803
19804 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19805
19806 * gdb.base/sizeof.c: include <stdio.h>.
19807
19808 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19809 'finish', otherwise uncaptured gdb_prompt would potentially
19810 throw remaining test points out of sync.
19811
19812 2000-07-26 Scott Bambrough <scottb@netwinder.org>
19813
19814 * gdb.base/recurse.exp: Run tests for all targets.
19815 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19816 gnu-oldld case on ARM.
19817 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19818 for ARM targets.
19819
19820 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19821
19822 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19823 * gdb.java/configure: Rebuild.
19824
19825 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19826
19827 * gdb.java/jv-exp.exp: New file.
19828
19829 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19830
19831 * configure: Rebuilt.
19832 * configure.in (configdirs): Add gdb.java.
19833 * gdb.java/jmisc.java: New file.
19834 * gdb.java/jmisc.exp: New file.
19835 * gdb.java/Makefile.in: New file.
19836 * gdb.java/configure: Rebuilt.
19837 * gdb.java/configure.in: New file.
19838 * lib/java.exp: New file.
19839
19840 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19841
19842 * gdb.base/exprs.exp: Test casts to a pointer including over and
19843 underflow.
19844
19845 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19846
19847 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
19848 and the compilers sizes.
19849
19850 2000-07-09 Nick Duffek <nsd@redhat.com>
19851
19852 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19853 (use_methods): New function.
19854 (main): Call use_methods().
19855 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19856 (do_tests): Call test_method_param_class.
19857
19858 2000-07-09 Nick Duffek <nsd@redhat.com>
19859
19860 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19861 spelling.
19862 (test_enums): New procedure. Move enum tests from end of script
19863 to here. Set breakpoint on function name instead of line number.
19864 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19865 (enums2): New marker function.
19866 (enums1): New function.
19867 (main): Call enums1(). Move enum tests to enums1().
19868
19869 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19870
19871 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19872 compile/link program. Update line numbers.
19873 * gdb.asm/d10v.inc: Define ``startup''.
19874 * gdb.asm/asmsrc1.s: Add definition of _start.
19875
19876 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19877
19878 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19879
19880 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19881
19882 * gdb.base/maint.exp: Add 'maint print architecture' item to output
19883 of 'help maint print' command.
19884
19885 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19886
19887 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19888 they use gdb_expect_list.
19889
19890 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19891
19892 * gdb.base/commands.exp: Use ``set remote
19893 memory-read-packet-size'' instead of ``set endian big'' to test
19894 long commands.
19895
19896 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
19897
19898 * gdb.c++/templates.exp (do_tests): Make all of these work under
19899 g++, and stop skipping them.
19900
19901 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19902 work under g++.
19903
19904 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19905 initialization.
19906
19907 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19908
19909 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19910 the regular expression: accept an (almost) arbitrary sequence of
19911 "frames-invalid" and "breakpoints-invalid" messages both before
19912 and after the "starting" message.
19913
19914 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19915
19916 * gdb.c++/local.exp: This test has never been known to work with g++.
19917
19918 2000-05-18 Michael Snyder <msnyder@cygnus.com>
19919
19920 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19921 Relax the regular expression a little, make it pass on Solaris 8.
19922
19923 2000-05-12 Kevin Buettner <kevinb@redhat.com>
19924
19925 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19926 a call, do not require that gdb stop on the line after the call.
19927 Instead, it is permissible for gdb to stop on the line of the
19928 call itself.
19929
19930 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
19931
19932 * gdb.base/break.exp (bp on small function, optimized file):
19933 Add a second pass pattern. The behavior differs here between stabs
19934 and dwarf for one-line functions. Stabs preserves two line symbols
19935 (one before the prologue and one after) with the same line number,
19936 but dwarf regards these as duplicates and discards one of them.
19937 Therefore the address after the prologue (where the breakpoint is)
19938 has no exactly matching line symbol, and GDB reports the breakpoint
19939 as if it were in the middle of a line rather than at the beginning.
19940
19941 2000-05-08 Michael Snyder <msnyder@cygnus.com>
19942
19943 * gdb.base/interrupt.exp: Make "pass" message say "send"
19944 rather than "send_gdb" (for consistancy).
19945
19946 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19947
19948 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19949 * gdb.c++/templates.cc: Properly check for GCC version number.
19950 * lib/compiler.cc: Likewise
19951
19952 2000-04-28 Michael Snyder <msnyder@cygnus.com>
19953
19954 * gdb.base/break.exp: When compiled with -O2 optimization,
19955 gdb may not stop at the first line of main, due to code motion.
19956
19957 2000-04-26 Michael Snyder <msnyder@cygnus.com>
19958
19959 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19960 This test depends on parsing the printf output from the target.
19961 Since the sparclet stub doesn't do stdio, this will never work.
19962 * gdb.base/call-rt-st.exp: ditto.
19963 * gdb.base/call-strs: ditto.
19964
19965 2000-04-24 Michael Snyder <msnyder@cygnus.com>
19966
19967 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19968
19969 * gdb.base/ending-run.exp: After connecting to a remote target,
19970 but before running, the target will appear to be in a random
19971 location. Specify both a file and a line for breakpoints.
19972 Also, the function that calls main may be called 'init'
19973 rather than 'start'.
19974
19975 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19976
19977 * gdb.base/help.exp: Update output for add-symbol-file command.
19978
19979 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
19980
19981 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19982 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19983
19984 2000-04-07 J.T. Conklin <jtc@redback.com>
19985
19986 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19987
19988 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19989
19990 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19991
19992 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19993 values that can be represented exactly.
19994 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19995 above change, and to not check against the directory part of the source
19996 file name.
19997 (step into print_long_arg_list): Likewise.
19998 (print print_small_structs from print_long_arg_list): Likewise.
19999 (print print_long_arg_list): Likewise.
20000
20001 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20002
20003 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
20004
20005 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20006
20007 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20008
20009 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
20010
20011 * gdb.base/commands.exp (deprecated_command_test): Add test for
20012 deprecate with no arguments.
20013
20014 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20015
20016 * gdb.base/break.exp: Add new test for setting breakpoints on
20017 optimized code so we can test breakpoints work even when function
20018 prologues may be optimized away
20019
20020 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20021
20022 From David Whedon <dwhedon@gordian.com>
20023 * gdb.base/commands.exp : Added command deprecator tests.
20024
20025 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
20026
20027 * gdb.base/help.exp: Added test for new apropos command.
20028
20029 2000-03-21 Kevin Buettner <kevinb@redhat.com>
20030
20031 * gdb.base/pointers.c (usevar): New function.
20032 (main): Make sure that global variables v_int_pointer2, rptr,
20033 and y are all referenced someplace in the program by calling
20034 usevar() on them. [Some linkers delete symbols which are
20035 never referenced. The space remains, but there's no way to
20036 get a (symbolic) handle on the variable from the debugger.]
20037
20038 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20039
20040 * gdb.base/printcmds.c: Add typedeffed arrays.
20041
20042 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
20043 procedure to test arrays that are typedef'd.
20044
20045 2000-03-13 James Ingham <jingham@leda.cygnus.com>
20046
20047 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
20048 the library directories.
20049
20050 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20051
20052 * configure.in (configdirs): Add sub directory gdb.mi.
20053 * configure: Re-generate.
20054
20055 * gdb.mi: New directory.
20056
20057 2000-02-25 Scott Bambrough <scottb@netwinder.org>
20058
20059 * gdb.base/long_long.exp: Correct test suite failure when printing
20060 a long long value as a double on ARM platforms.
20061
20062 2000-02-16 Jim Blandy <jimb@redhat.com>
20063
20064 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20065 default source file is set properly before running this test.
20066
20067 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20068
20069 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
20070 gdbtk/library directory, not in gdbtcl2.
20071
20072 2000-02-04 Jim Blandy <jimb@redhat.com>
20073
20074 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20075 backslash from regexp pattern.
20076
20077 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20078 procedure. Use it to run all the "continue to bp overloaded"
20079 tests. Note that this changes the names of the tests slightly.
20080 If the breakpoint hit message includes a hex PC value, because
20081 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20082 from the real source code, still consider that a pass.
20083
20084 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20085 XFAIL here if the breakpoint message contains a hex address. Note
20086 similar change on 1999-11-02.
20087
20088 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20089
20090 * gdb.base/ptype.exp: Establish a default source file before
20091 calling get_debug_format.
20092
20093 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20094
20095 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20096
20097 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20098
20099 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20100 of successive stepi commands -- while in the prologue we should see
20101 the function entry bracket.
20102
20103 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20104
20105 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20106 reach __change_mode() when stepping through the end of main().
20107
20108 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20109
20110 * gdb.base/default.exp: Fix expected pattern.
20111 * gdb.base/help.exp: Same.
20112
20113 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20114
20115 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
20116 Don't use xfail's because that affects only the following test.
20117
20118 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
20119 solaris or linux.
20120
20121 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20122
20123 2000-01-07 Michael Snyder <msnyder@cygnus.com>
20124
20125 * gdb.base/display.exp: Some yacc parsers like to say
20126 "A syntax error" rather than "A parse error". Accept both.
20127
20128 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20129
20130 * gdb.base/default.exp: Remove OS dependent string from "target
20131 remote" test.
20132 * gdb.base/help.exp: Same for "help target remote" test.
20133
20134 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20135
20136 From Jim Kingdon <kingdon@redhat.com>:
20137
20138 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
20139 prompt (cleanup rather than necessity, but still might keep output
20140 from spilling to next test).
20141
20142 2000-01-02 Fred Fish <fnf@cygnus.com>
20143
20144 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20145 AIX, which defines them in <sys/types.h>.
20146
20147 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
20148
20149 * gdb.base/default.exp: Match arm* etc instead of arm in "info
20150 float" test.
20151
20152 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
20153
20154 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
20155
20156 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20157 outermost frame disallowed".
20158
20159 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20160
20161 * gdb.base/setvar.exp: New tests for setting the value of a struct
20162 with a constant list.
20163
20164 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20165
20166 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20167 require the user to type a cast before setting the value of a struct.
20168
20169 1999-12-06 Jim Blandy <jimb@cygnus.com>
20170
20171 * gdb.base/default.exp: Expect the new 'info float' command on
20172 all i386 platforms.
20173
20174 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20175 LinuxThreads libraries that don't support debugging.
20176
20177 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20178
20179 * gdb.base/remote.c: Fill the buffer with truely random data.
20180 Change the buffer type to ``unsigned char'' to simplify size
20181 arithmetic.
20182
20183 * gdb.base/remote.exp: Reduce download numbers by one. Typical
20184 stub only handles 400-1 byte packets. Verify that the download
20185 worked.
20186
20187 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20188
20189 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20190 tests, using UNRESOLVED for the untested cases. Also, does not wait
20191 for a timeout if the prompt was received before a recognizable pattern.
20192
20193 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20194
20195 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20196
20197 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20198
20199 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
20200 watchpoints.
20201
20202 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
20203
20204 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20205
20206 * gdb.c++/local.exp: Be more flexible in recognizing local class
20207 name mangling. Don't allow horribly truncated method names.
20208 * gdb.c++/derivation.exp: Expect protected inheritance.
20209 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20210 * gdb.c++/virtfunc.exp: Likewise.
20211 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20212 when printing a nested enum.
20213
20214 1999-11-22 Jim Blandy <jimb@cygnus.com>
20215
20216 * gdb.base/step-test.exp: Properly await GDB's response to setting
20217 a breakpoint on the call to large_struct_by_value.
20218
20219 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20220 just because we have debug info for the `start' function.
20221
20222 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20223
20224 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20225 "Unknown signal" messages, which indicate (on LinuxThreads) that
20226 GDB doesn't know how to debug threads on this system. This is
20227 better than hanging while philosopher 0 dumps chatter into gdb.log.
20228
20229 1999-11-18 Tom Tromey <tromey@cygnus.com>
20230
20231 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20232
20233 1999-11-18 Fred Fish <fnf@cygnus.com>
20234
20235 * gdb.base/coremaker2.c: Add sample program for generating
20236 cores that is more self contained than coremaker.c. Eventually
20237 I'll add more code to this and tie it into the testsuite.
20238
20239 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20240
20241 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20242
20243 1999-11-10 Jimmy Guo <guo@cup.hp.com>
20244
20245 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
20246 from $srcdir/lib/.
20247 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
20248 and gdb.c++/.
20249
20250 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20251
20252 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
20253 'continue with watch' test point.
20254
20255 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20256
20257 Merged from p2linux-990323-branch:
20258
20259 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20260
20261 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20262
20263 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
20264 {limit,fixed}''. Test ``set download-write-size''.
20265
20266 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20267
20268 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
20269 gdb_expect_list.
20270
20271 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20272
20273 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20274
20275 1999-11-03 Mark Salter <msalter@cygnus.com>
20276
20277 * gdb.base/break.exp: Fix "stub continue" pattern.
20278
20279 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20280
20281 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20282
20283 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20284
20285 * gdb.base/display.exp ("finish"): Add timeout clause.
20286
20287 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20288 plain prompt clause, so this doesn't have to time out in order to
20289 fail.
20290
20291 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
20292 breakpoint hit messages include an address.
20293
20294 * gdb.base/display.exp: Don't forget to escape parens in regular
20295 expressions. Unix regexp notatation sucks.
20296
20297 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20298
20299 * gdb.base/annota1.exp: Test for annotate-signalled: change output
20300 order for 'signalled' message.
20301
20302 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20303
20304 From Jimmy Guo <guo@cup.hp.com>:
20305 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20306 * gdb.base/annota1.c: Add code for tests to work with.
20307
20308 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20309
20310 * gdb.base/remote.exp: New test for remote downloading settings.
20311 * gdb.base/remote.c: New file with large .data.
20312
20313 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20314
20315 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20316 for LinuxThreads support, merged from the Code Fusion branch.
20317
20318 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20319
20320 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
20321 containing exp_continue into a while within an expect. Don't
20322 attempt a start more than three times. Check return value from
20323 gdb_load.
20324
20325 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20326
20327 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
20328 a pass case.
20329
20330 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
20331
20332 * gdb.base/break.c (main): Added a statement that we can step
20333 off of.
20334 * gdb.base/break.exp: Added tests for setting a breakpoint
20335 at an offset and stepping onto a breakpoint.
20336
20337 1999-10-01 Fred Fish <fnf@cygnus.com>
20338
20339 * gdb.base/help.exp (help add-symbol-file): Update to match current
20340 gdb output.
20341
20342 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20343
20344 * gdb.base/break.exp: Code locations are in hex, don't forget!
20345 (For HP-UX.)
20346
20347 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20348
20349 * condbreak.exp: Use break.c as test program.
20350 * condbreak.c: Remove, redundant with break.c.
20351
20352 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20353
20354 * config/monitor.exp (gdb_target_monitor): Disable X- and
20355 Z-packets if the target needs it.
20356
20357 1999-09-13 James Ingham <jingham@leda.cygnus.com>
20358
20359 * gdb.c++/overload.exp: Added tests for listing overloaded
20360 functions with function pointers in the arg, explicitly calling
20361 out the version you want.
20362
20363 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20364
20365 * long_long.exp: Add variations of test cases that work for
20366 targets with 16-bit ints and 32-bit doubles.
20367
20368 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20369
20370 * break.c (main): Compare a possibly-uninitialized argc with an
20371 unlikely value that fits in 16 bits.
20372
20373 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20374
20375 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20376 0xfeeb, don't want negative numbers if ints are 16 bits.
20377
20378 * lib/gdb.exp (skip_cplus_tests): New proc.
20379 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
20380 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20381 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20382 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20383 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20384 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20385 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20386 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
20387
20388 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20389
20390 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20391
20392 * gdb.base/corefile.exp (up): Allow a parameter to appear
20393 in the frame that we're going up to.
20394
20395 From Jim Blandy <jimb@cygnus.com>:
20396
20397 * gdb.base/default.exp (info float): Expect some output now.
20398
20399 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20400 returning floating-point values to fail on the x86.
20401 * gdb.base/callfwmall.exp (do_function_calls): Same.
20402
20403 * gdb.base/list.exp (test_listsize): Correct expectations for
20404 listing line 1 with listsize 2. Also, listing a single line
20405 works now, as does listing three lines. [Kevin's note: There
20406 were a number of other cases fixed too where the expectations
20407 differed...]
20408
20409 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20410
20411 * gdb.base/selftest.exp: Add case for when version prints as
20412 constant string instead of char pointer.
20413
20414 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20415
20416 * gdb.base/ending-run.exp: Add Solaris case for what happens when
20417 stepping out of main.
20418
20419 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20420 G++ used.
20421
20422 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
20423 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
20424
20425 * gdb.c++/ovldbreak.exp: Update match string in test that
20426 includes a warning of multiple breakpoints.
20427
20428 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20429
20430 * gdb.base/display.exp: Improve precision of step-after-finish
20431 added yesterday.
20432
20433 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
20434 test.
20435
20436 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20437 configs when using G++, not just hppa*.
20438
20439 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20440
20441 * gdb.base/async.c: New file.
20442 * gdb.base/async.exp: New file.
20443
20444 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20445
20446 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20447 PA64.
20448
20449 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20450
20451 * gdb.base/display.exp: "finish" can leave us mid-line on many
20452 targets, deal with it. Add a small constant to main, instead of
20453 1000 since main+1000 may not be a valid address in the target.
20454
20455 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20456 on hpux11.
20457
20458 * gdb.base/attach.exp: Handle another hpux11 error message variant
20459 when attaching to a process that does not exist.
20460
20461 1999-08-19 J.T. Conklin <jtc@redback.com>
20462
20463 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
20464 characters in 'continue to 1241' test.
20465
20466 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20467
20468 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20469 stop in print_long_arg_list, define and use a whitespace
20470 variable in print_small_structs test, add an XFAIL for Solaris.
20471 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20472 interested enough to fix.
20473
20474 1999-08-13 Keith Seitz <keiths@cygnus.com>
20475
20476 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20477 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20478 proc knows about targets other than the natives.
20479 (test_assign): Use "gdb_run_cmd" to "run" the target.
20480 Check that we've actually hit the breakpoint at main.
20481 When we attempt to assign a value to a local variable, check
20482 that the variable is in the current scope, i.e., don't use
20483 a test with an empty result.
20484
20485 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20486
20487 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
20488 command.
20489
20490 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20491
20492 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20493 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20494 gdb.compat, gdb.threads-hp.
20495 gdb.hp/configure, gdb.hp/configure.in: New files.
20496 gdb.hp/Makefile.in: Recurse into new subdirs.
20497 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20498 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20499 in object files.
20500 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20501
20502 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20503
20504 * gdb.base/display.exp: Help expect by putting a newline in the
20505 funky printf, remove a bogus p/a test.
20506
20507 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20508
20509 * gdb.base/display.exp: Make sure that when we say 'run', we are
20510 connected to the target. This is necessary when running not
20511 natively.
20512
20513 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20514
20515 * gdb.base/step-test.exp: Removed some extraneous messages.
20516
20517 * gdb.base/long_long.exp: Don't run memory examination tests
20518 on little-endian targets (they will need a different set of
20519 results to match).
20520
20521 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20522
20523 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20524 until somebody decides to fix GDB.
20525
20526 * gdb.base/long_long.c: Stop compiler complaint by specifying long
20527 constant as "ULL".
20528 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20529 matches for a couple x/2 commands.
20530
20531 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20532
20533 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20534 by merging in ref-types2 tests.
20535 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20536
20537 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20538 * gdb.c++/Makefile.in: Add standard actions.
20539 (EXECUTABLES): Rename from PROGS, update list.
20540 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20541 from gdb.hp.
20542 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20543 foo and bar locals.
20544 * gdb.c++/anon-union.exp: Fix tests to match.
20545 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20546 expect matches to handle output variations.
20547 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20548 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
20549 output, add HP alternatives for new and delete prints.
20550 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20551 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20552 * gdb.c++/demangle.exp: Use $style when reporting failure.
20553 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20554 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20555 match alternatives.
20556 * gdb.c++/local.exp: Add match alternatives or xfails for HP
20557 compilers.
20558 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20559 * gdb.c++/method.exp: Add match alternatives.
20560 * gdb.c++/misc.cc: Add bool types.
20561 * gdb.c++/misc.exp: Add tests for bool types.
20562 * gdb.c++/overload.exp: Add xfails.
20563 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20564 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20565 add some more template parameter tests (only for HP currently).
20566 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20567 * gdb.c++/virtfunc.cc: Add return type and value for main.
20568 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20569 match alternatives.
20570
20571 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20572
20573 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20574
20575 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20576
20577 * gdb.base/signals.exp: Don't expect getting a backtrace from
20578 within a signal handler to fail on Linux.
20579
20580 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20581
20582 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20583 * lib/gdb.exp: Remove some gratuitious semicolons.
20584 (delete_breakpoints): Increase timeout.
20585 (gdb_expect): Add -notransfer option.
20586 (gdb_test): Use -notransfer option.
20587 (get_compiler_info): Add f77 case.
20588 (get_compiler): New proc, split out from gdb_preprocess, add f77
20589 case.
20590 (gdb_preprocess): Call get_compiler.
20591
20592 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20593 * gdb.base/attach.exp, gdb.base/display.exp,
20594 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20595 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20596 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20597 third arg to gdb_test.
20598 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20599 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20600 HP-UX xfails, add others.
20601 * gdb.base/completion.exp: Reflect name change of self-test.
20602 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20603 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20604 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20605 HP failure number.
20606 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20607 useless HP-UX 10.30 references.
20608 * gdb.base/maint.exp: Loosen matches.
20609 * gdb.base/pointers.c (main): Declare more_code.
20610 * gdb.base/pointers.exp: Match on output of a `next'.
20611 * gdb.base/structs.c: Add prototypes.
20612 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20613 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20614
20615 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20616
20617 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20618 command.
20619
20620 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20621
20622 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20623 Fix run to main failures. Watchpoint can be hardware watchpoint.
20624
20625 * gdb.base/annota1.exp: Clean up some more, in case printf has
20626 debug info. Deal with lack of signal hanlder info in stack.
20627
20628 From Jim Kingdon <kingdon@redhat.com>:
20629 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20630
20631 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20632
20633 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20634 gdb.base/foll-vfork.exp: Don't run for crosses.
20635
20636 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20637
20638 * gdb.base/configure.in: Check for gdbvars.exp instead of
20639 a1-selftest.exp.
20640 * gdb.base/configure: Re-generate.
20641
20642 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20643
20644 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20645 in trying to run first and name is too long.
20646
20647 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20648 pointers2.c and pointers2.exp, respectively.
20649 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20650 doschk happier.
20651
20652 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20653
20654 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20655 callfuncs2.c and callfuncs2.exp.
20656
20657 * gdb.base/list.exp: Remove mistaken xfails.
20658 * gdb.base/list0.h: Add optional prototypes.
20659
20660 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20661
20662 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20663 calling malloc.
20664 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20665 * ptype.exp: Move test for get_debug_format to before its first
20666 use.
20667
20668 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20669
20670 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20671 * gdb.base/annota2.cc, annota2.exp: Move from here.
20672 * gdb.c++/annota2.cc, annota2.exp: To here.
20673 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20674
20675 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20676
20677 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20678 a consistent format.
20679
20680 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20681
20682 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20683 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20684 HP compilers, also set the globals $true and $false.
20685
20686 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20687 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20688 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20689 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20690 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20691 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20692 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20693 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20694 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20695 whatis.c} Add C++ compatible function definitions and return
20696 types, add includes for library functions.
20697 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20698 * gdb.base/step-test.c (myglob): Rename from glob.
20699 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20700 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20701 files, move here from gdb.hp.
20702 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20703 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20704 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20705 Adjust line numbers in regexps.
20706
20707 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20708 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20709 instead of 0/1.
20710
20711 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20712 foll-vfork.exp: New files, move here from gdb.hp.
20713 * gdb.base/page.exp: New file, test of pagination command.
20714
20715 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20716 recursion test.
20717 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20718
20719 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20720 gdb.base/solib.exp: Fix compiler invocation process.
20721
20722 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20723 HP-UX 11, turn off overload resolution explicitly.
20724 * gdb.base/commands.exp: Set argument list explicitly, add
20725 watchpoint test.
20726 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20727 them work.
20728 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20729 expressions properly.
20730 * gdb.base/corefile.exp: Loosen the match slightly.
20731 * gdb.base/default.exp: Allow "Error accessing memory" message
20732 also.
20733 * gdb.base/display.exp: Skip over x/0 j if PA64.
20734 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20735 * gdb.base/interrupt.exp: Ditto.
20736 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20737 in use.
20738 * gdb.base/list.exp: Add xfails for HP-UX.
20739 * gdb.base/long_long.exp: Refine some of the numeric matches.
20740 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20741 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20742 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20743 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20744 * gdb.base/ptype.exp: Succeed on more varieties of output.
20745 * gdb.base/scope.exp: Add xfails for HP-UX.
20746 * gdb.base/sect-cmd.exp: Add more cases.
20747 * gdb.base/setvar.exp: Add xfails for HP-UX.
20748 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20749 * gdb.base/signals.exp: Match on void symbolically.
20750 * gdb.base/step-test.exp: Add case for PA64.
20751 * gdb.base/term.exp: Add exit and restart.
20752 * gdb.base/twice.exp: Clean up after self.
20753 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20754 * gdb.base/whatis.exp: Allow more ways to pass tests.
20755
20756 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20757 no longer useful.
20758
20759 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20760
20761 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
20762 list of patterns.
20763 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20764 print_double_array(double_array)", "continuing to breakpoint
20765 1018", "print print_double_array(array_d)" and "continuing to
20766 1034" tests.
20767
20768 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20769
20770 * Makefile.in: Add empty html and install-html targets.
20771
20772 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20773
20774 * config/mt-*: Remove, these haven't been used since 1996.
20775
20776 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20777
20778 * gdb.base/call-strs.c, gdb.base/ending-run.c,
20779 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20780 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20781
20782 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20783
20784 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20785 simpler match case for the ptype of the big class.
20786
20787 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20788
20789 * gdb.exp: Fix test for gdb_prompt existence.
20790
20791 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20792
20793 * gdb.exp (gdb_test): Add fail after calls to perror.
20794
20795 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20796
20797 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20798
20799 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20800
20801 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20802
20803 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20804
20805 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
20806 malloc() is linked in.
20807
20808 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20809
20810 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20811 step at end.
20812
20813 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20814
20815 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20816
20817 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20818
20819 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20820
20821 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20822 * gdb.base/mips_pro.exp: Likewise.
20823
20824 1999-06-02 Keith Seitz <keiths@cygnus.com>
20825
20826 * gdb.c++/templates.cc: Change all "new" operators to throw
20827 an exception.
20828 * gdb.c++/cplusfuncs.cc: Likewise.
20829
20830 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20831
20832 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20833
20834 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20835 * gdb.base/ending-run.exp: When stepping out of main, accept a
20836 step into an arbitrary assembler file.
20837
20838 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20839
20840 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20841 "breakpoint-invalid" to be printed.
20842 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20843 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20844 * gdb.base/annota2.cc: Initialize a.x to 0.
20845
20846 1999-05-17 Keith Seitz <keiths@cygnus.com>
20847
20848 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20849 when "skip_float_tests" set.
20850 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20851 "print print_ten_doubles", and "step into print_long_arg_list".
20852 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20853 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20854 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20855 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20856 "skip_float_tests" is set.
20857 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20858 when "skip_float_tests" set.
20859
20860 1999-05-06 Keith Seitz <keiths@cygnus.com>
20861
20862 * gdb.base/annota2.cc: Include stdio.h.
20863
20864 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20865
20866 * gdb.base/crossload.exp: Remove, this has been disabled ever
20867 since BFD stopped including all targets, and cross-GDB gets
20868 plenty of testing anyway.
20869 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20870 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20871 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20872 * gdb.base/README: Remove, was doc for this.
20873 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20874 needed.
20875
20876 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20877
20878 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20879 output.
20880
20881 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20882 * gdb.base/annota2.exp: New file. More annotation tests.
20883 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20884 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20885
20886 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
20887
20888 * config/cfdbug.exp: New file.
20889
20890 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20891
20892 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20893 Marcus Daniel's and Dale Hawkins's demangler crashes.
20894
20895 * gdb.c++/demangle.exp (test_gnu_style_demangling,
20896 test_lucid_style_demangling, test_arm_style_demangling,
20897 test_hp_style_demangling): Try Tom Tromey's core-dumping
20898 identifier under each demangling style.
20899
20900 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20901
20902 * gdb.c++/demangle.exp: Include the current demangling style
20903 in all test names.
20904 (current_demangling_style): New global variable.
20905 (set_demangling_style, test_demangling_core, test_demangling,
20906 test_demangling_exact): New functions.
20907 (test_gnu_style_demangling, test_lucid_style_demangling,
20908 test_arm_style_demangling, test_hp_style_demangling): Use those,
20909 instead of calling gdb_test and gdb_test_exact directly.
20910 (catch_demangling_errors): New function, which reports errors
20911 signalled by the demangling test functions in an orderly way.
20912 (do_tests): Use catch_demangling_errors.
20913
20914 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20915
20916 * gdb.base/signals.exp (test_handle_all_print): Use () for
20917 grouping in expressions, not {}.
20918
20919 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
20920 initialized yet.
20921
20922 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20923
20924 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20925 are listed.
20926
20927 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20928
20929 * gdb.stabs/weird.exp: Test for CC being defined before
20930 looking at its value.
20931
20932 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20933
20934 * gdb.base/call-ar-st.exp: Remove stray '#'.
20935 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20936 "short int" and "long int".
20937 * gdb.c++/overload.cc: Cast the string added in the previous
20938 change, to mollify finicky HP compiler.
20939 * gdb.hp/reg-test.exp (testfile): Fix file name.
20940 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20941
20942 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20943 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20944 alternate form of enum ptype.
20945
20946 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20947
20948 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20949 * gdb.hp/*.exp: Change all to run compiler probe only after
20950 passing skip_hp_tests, so as not to waste time on guaranteed
20951 failure.
20952
20953 * gdb.c++/overload.cc: Pass string instead of char addr, always
20954 init ccpfoo.
20955 * gdb.c++/templates.cc: Fix syntax error.
20956
20957 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20958
20959 * gdb.base/commands.exp: Add test for correct position of '>'
20960 when issuing the 'commands' command after a 'while' or 'if'
20961 command.
20962
20963 1999-03-18 James Ingham <jingham@cygnus.com>
20964
20965 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20966
20967 * gdb.c++/method.exp: It was testing an uninitialized int on the
20968 stack and assuming it was positive.
20969
20970 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20971
20972 * gdb.base/step-test.exp: Catch a case where finish is broken and
20973 keep it from killing the rest of the tests.
20974 Use gdb_continue_to_end.
20975
20976 * gdb.base/sigall.exp: use gdb_continue_to_end.
20977
20978 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20979
20980 * gdb.base/display.exp: use runto_main, not run.
20981
20982 * gdb.base/default.exp: Check for the current error message in the
20983 r abbreviation test.
20984 Add strongarm to the targets that know info float.
20985
20986 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20987 run which doesn't work with monitors.
20988
20989 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20990
20991 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20992
20993 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20994 program. Traps the case (in Cygmon) when the program never really
20995 exits. Same as Mark's continue_to_exit, but I had put it in a lot
20996 more places, so I used my name. Sorry Mark...
20997
20998 * config/monitor.exp (gdb_target_monitor): added another
20999 target_info parameter: remotebinarydownload. This will set the
21000 remotebinarydownload flag if this is causing some boards trouble.
21001
21002 1999-03-18 Mark Salter <msalter@cygnus.com>
21003
21004 * lib/gdb.exp (continue_to_exit): New function.
21005
21006 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21007 * gdb.base/ending-run.exp: Ditto.
21008 * gdb.base/step-test.exp: Ditto.
21009
21010 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21011
21012 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21013 (suggested by Art Haas <ahaas@neosoft.com>).
21014
21015 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21016
21017 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
21018
21019 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21020
21021 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
21022 descriptions of types (short unsigned int vs unsigned short, etc).
21023
21024 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21025
21026 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21027 a call to strlen; sometimes we do have sources.
21028
21029 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21030
21031 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
21032 character, so GDB won't print garbage after its end.
21033
21034 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21035 breakpoint there instead. Sometimes GCC emits memcpy to handle
21036 the large structures being passed by value, so we step into that
21037 instead of sum_array_print, which obscures what we're really testing.
21038 * gdb.base/step-test.exp: However, we do want a test that notices
21039 the bizarre steps into memcpy, so do that here. Add check for
21040 stepping into function calls that pass large structures by value.
21041 ("Is that a noun clause, or are you just happy to see me?")
21042 Remove all references to specific line numbers.
21043 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21044 New type and function.
21045 (main): Call large_struct_by_value, passing it a large struct by value.
21046 * lib/gdb.exp (gdb_get_line_number): New function.
21047
21048 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21049 more portable.
21050
21051 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21052
21053 * lib/gdb.exp: Doc fixes.
21054
21055 1999-03-05 Nick Clifton <nickc@cygnus.com>
21056
21057 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
21058
21059 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21060
21061 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
21062 commands. They're not germane to this test, and they don't work
21063 that way on remote targets.
21064
21065 1999-03-01 James Ingham <jingham@cygnus.com>
21066
21067 * Changelog entries merged over from gdb development branch.
21068
21069 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21070
21071 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21072 for outputting results of test run.
21073
21074 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
21075
21076 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
21077
21078 1999-02-25 Felix Lee <flee@cygnus.com>
21079
21080 * lib/gdb.exp (debug_format): initialize
21081
21082 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21083
21084 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21085 * gdb.base/call-rt-st.c: Ditto.
21086
21087 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21088
21089 * gdb.threads/pthreads.exp (horiz): New variable.
21090 (test_startup): Fix regexps that capture thread numbers.
21091
21092 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21093
21094 * gdb.base/smoke.exp: Disambiguate two test case names (both
21095 called ``print'').
21096
21097 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21098
21099 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
21100 compilation.
21101
21102 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21103
21104 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21105 actual output formatting.
21106 * gdb.base/smoke.exp: GDB removes leading 0's.
21107 * gdb.base/volatile.exp: Don't check type of remuneration;
21108 that variable is no longer defined in constvars.c.
21109 * gdb.base/step-test.c (main): Exit with explicit exit code.
21110 * gdb.base/step-test.exp: Remove two nexti checks--they are
21111 not portable.
21112
21113 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21114
21115 * gdb.base/help.exp ("help delete display"): Fix test to match
21116 gdb's output.
21117
21118 * gdb.base/long_long.c (known_types): Initialize values to zero.
21119 * gdb.base/long_long.exp: Step one more line
21120 so 'dec' is initialized in "get to known place". GDB removes
21121 leading zeros. Explicitly ask for hex formatting. Use
21122 unique test case names.
21123
21124 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21125
21126 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
21127
21128 * gdb.c++/method.exp: Add missing close brace.
21129
21130 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21131
21132 * gdb.base/maint.exp: Use 'set height 0' to disable page
21133 prompting, not 'set height 400'.
21134
21135 Fix a bunch of timeouts.
21136 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21137 four separate tests, so expect doesn't take forever to match a ton
21138 of text against a regexp with lots of .* forms.
21139 ("maint print psymbols", "maint print symbols"): Make some of
21140 these greps more selective, so that expect doesn't try to wade
21141 through huge piles of output and time out.
21142
21143 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21144
21145 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
21146 tests: one which doesn't expect shlib events to be reported, and
21147 another which does, but is XFAIL for all platforms other than
21148 HP/UX.
21149
21150 * gdb.base/break.exp: Teach the test suite that the `catch
21151 fork', `catch vfork', and `catch exec' commands produce error
21152 messages on platforms that don't provide these features.
21153
21154 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21155
21156 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
21157 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21158 (shortening names from solib_threshold.exp etc), won't run on
21159 anything but HP-UX for the foreseeable future.
21160 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
21161 reflect move.
21162
21163 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21164
21165 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21166 gdb.trace/Makefile.in (clean): Remove all test executables.
21167
21168 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21169
21170 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21171 successfully re-sets breakpoints in shared libraries.
21172 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21173
21174 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21175
21176 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21177 and compiled w/o GCC.
21178
21179 * gdb.hp/watch-cmd.exp: ditto.
21180
21181 * gdb.hp/watch-hp.exp: ditto.
21182
21183 * gdb.hp/xdb1.exp: ditto.
21184
21185 * gdb.hp/xdb2.exp: ditto.
21186
21187 * gdb.hp/dbx.exp: ditto.
21188
21189 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21190
21191 * constvars.c: Remove C++-isms.
21192 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
21193 with GCC.
21194
21195 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21196
21197 The following changes are part of the HP merge.
21198
21199 * gdb.base/break.exp: new tests to verify that catchpoints for
21200 fork, vfork, and exec don't trigger inappropriately.
21201
21202 * gdb.base/opaque.exp: compile one file at a time, then link.
21203
21204 * gdb.base/signals.exp: be more restrictive about which hppa
21205 systems receive a setup_xfail. new tests.
21206
21207 * gdb.base/solib_threshold.build: new file.
21208 * gdb.base/solib_threshold.exp: new file.
21209 * gdb.base/solib_threshold.link_opts: new file.
21210 * gdb.base/solib_threshold.mk: new file.
21211 * gdb.base/gen_solib_threshold.c: new file.
21212
21213 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21214 tests. New tests for enums inside classes.
21215
21216 * gdb.c++/compiler.cc: indicate support of template debugging.
21217
21218 * gdb.c++/demangle.exp: run hp style demangling tests.
21219
21220 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21221 tests.
21222
21223 * gdb.c++/misc.cc: changes to support new tests.
21224
21225 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21226 to support new tests.
21227
21228 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21229 gcc, then skip these tests.
21230
21231 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21232
21233 The following files are part of the HP merge; some had longer
21234 names at HP, but have been renamed to be no more than 14
21235 characters in length.
21236
21237 * gdb.hp/ambiguous.cc: new file.
21238 * gdb.hp/ambiguous.exp: new file.
21239 * gdb.hp/attach.exp: new file.
21240 * gdb.hp/attach2.exp: new file.
21241 * gdb.hp/classes-hp.exp: new file.
21242 * gdb.hp/ctti.exp: new file.
21243 * gdb.hp/ctti-add.cc: new file.
21244 * gdb.hp/ctti-add1.cc: new file.
21245 * gdb.hp/ctti-add2.cc: new file.
21246 * gdb.hp/ctti-add3.cc: new file.
21247 * gdb.hp/dbx.exp: new file.
21248 * gdb.hp/exception.cc: new file.
21249 * gdb.hp/exception.exp: new file.
21250 * gdb.hp/foll-exec.c: new file.
21251 * gdb.hp/foll-exec.exp: new file.
21252 * gdb.hp/foll-fork.c: new file.
21253 * gdb.hp/foll-fork.exp: new file.
21254 * gdb.hp/foll-vfork.c: new file.
21255 * gdb.hp/foll-vfork.exp: new file.
21256 * gdb.hp/inherit-hp.exp: new file.
21257 * gdb.hp/more-steps.exp: new file.
21258 * gdb.hp/namespace.cc: new file.
21259 * gdb.hp/namespace.exp: new file.
21260 * gdb.hp/optimize.exp: new file.
21261 * gdb.hp/pxdb.c: new file.
21262 * gdb.hp/pxdb.exp: new file.
21263 * gdb.hp/quicksort.exp: new file.
21264 * gdb.hp/reg-test.exp: new file.
21265 * gdb.hp/reg-test.s: new file.
21266 * gdb.hp/sized-enum.c: new file.
21267 * gdb.hp/sized-enum.exp: new file.
21268 * gdb.hp/start-stop.exp: new file.
21269 * gdb.hp/templ-hp.cc: new file.
21270 * gdb.hp/templ-hp.exp: new file.
21271 * gdb.hp/thr-lib.c: new file.
21272 * gdb.hp/thr-lib.exp: new file.
21273 * gdb.hp/thr-lib.h: new file.
21274 * gdb.hp/thr-liblib.c: new file.
21275 * gdb.hp/virtfun-hp.c: new file.
21276 * gdb.hp/virtfun-hp.exp: new file.
21277 * gdb.hp/watch-cmd.exp: new file.
21278 * gdb.hp/watch-hp.exp: new file.
21279 * gdb.hp/xdb1.exp: new file.
21280 * gdb.hp/xdb2.exp: new file.
21281 * gdb.hp/xdb3.exp: new file.
21282
21283 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21284
21285 The following files are part of the HP merge; some had longer
21286 names at HP, but have been renamed to be no more than 14
21287 characters in length.
21288
21289 * gdb.base/ss.h: new file.
21290 * gdb.base/call-ar-st.c: new file.
21291 * gdb.base/call-ar-st.exp: new file.
21292 * gdb.base/call-rt-st.c: new file.
21293 * gdb.base/call-rt-st-exp: new file.
21294 * gdb.base/call-strs.exp: new file.
21295 * gdb.base/ena-dis-br.exp: new file.
21296 * gdb.base/environ.exp: new file.
21297 * gdb.base/long_long.exp: new file.
21298 * gdb.base/sect-cmd.exp: new file.
21299 * gdb.base/shlib-cl2.exp: new file.
21300 * gdb.base/smoke.exp: new file.
21301 * gdb.base/so-impl-ld.c: new file.
21302 * gdb.base/so-impl-ld.exp: new file.
21303 * gdb.base/so-indr-cl.c: new file.
21304 * gdb.base/so-indr-cl.exp: new file.
21305 * gdb.base/varargs.exp: new file.
21306 * gdb.base/volatile.exp: new file.
21307 * gdb.base/whatis-exp.exp: new file.
21308 * gdb.base/display.exp: new file.
21309 * gdb.c++/derivation.exp: new file.
21310 * gdb.c++/local.exp: new file.
21311 * gdb.c++/member-ptr.exp: new file.
21312 * gdb.c++/overload.exp: new file.
21313 * gdb.c++/ovldbreak.exp: new file.
21314 * gdb.c++/ref-types.exp: new file.
21315 * gdb.c++/ref-types2.exp: new file.
21316 * gdb.c++/userdef.exp: new file.
21317
21318 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21319
21320 * gdb.base/default.exp: Reflect wording change in remote.c.
21321
21322 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
21323
21324 * gdb.base/help.exp: Update to reflect current text.
21325
21326 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21327
21328 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21329 they're stack variables and contain garbage.
21330 * gdb.c++/anon-union.exp: new file.
21331
21332 The following changes were made by David Taylor
21333 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21334 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21335 in changes by HP.
21336
21337 * gdb.base/bitops.exp: new file.
21338 * gdb.base/default.exp: change expected messages for catch and
21339 info catch tests to reflect HP merge changes.
21340 * gdb.base/enable-disable-break.exp
21341 * gdb.base/ending-run.c: new file.
21342 * gdb.base/long_long.c: new file.
21343 * gdb.base/maint.exp: new file.
21344 * gdb.base/pointers2.exp: new file.
21345 * gdb.base/shlib-call2.exp: new file.
21346 * gdb.base/solib.exp: new file.
21347 * gdb.base/step-test.c: new file.
21348 * gdb.c++/anon-union.cc: new file.
21349 * gdb.c++/local.cc: new file.
21350 * gdb.c++/member-pointer.cc: new file.
21351 * gdb.c++/method.cc: new file.
21352 * gdb.c++/ref-types.cc: new file.
21353 * gdb.c++/ref-types2.cc: new file.
21354 * gdb.c++/userdef.cc: new file.
21355
21356 * gdb.base/scope.exp: compile one file at a time, then link.
21357 * gdb.base/langs.exp: ditto.
21358 * gdb.base/list.exp: ditto.
21359
21360 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21361
21362 The following changes were made by David Taylor
21363 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21364 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21365 in changes by HP.
21366
21367 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21368 skip tests. When compiling pass c++ flag to gdb_compile.
21369 * gdb.c++/
21370
21371 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21372 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21373 (skip_hp_tests): new function.
21374 (gdb_preprocess): new function.
21375
21376 * configure.in (hpdir): decide whether to configure gdb.hp.
21377 * configure: regenerated.
21378
21379 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21380 to delete on clean.
21381 (EXECUTABLES): update to reflect new additions.
21382 * gdb.base/commands.exp: update message expected.
21383 * gdb.base/default.exp: add copyright notice.
21384 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21385 * gdb.base/help.exp: update messages to reflect current text.
21386 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21387 targets for recurse tests.
21388 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21389 skip this file.
21390
21391 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21392 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21393 compilation.
21394 * gdb.c++/misc.exp: ditto.
21395 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21396 run the tests. tell gdb_compile that it's a c++ compilation.
21397
21398 * gdb.threads/pthreads.exp: fix typo in message.
21399
21400 * gdb.base/all-bin.exp: new file.
21401 * gdb.base/arithmet.exp: new file.
21402 * gdb.base/assign.exp: new file.
21403 * gdb.base/completion.exp: new file.
21404 * gdb.base/cond-expr.exp: new file.
21405 * gdb.base/condbreak.exp: new file.
21406 * gdb.base/define.exp: new file.
21407 * gdb.base/dollar.exp: new file.
21408 * gdb.base/environment.exp: new file.
21409 * gdb.base/eval-skip.exp: new file.
21410 * gdb.base/jump.exp: new file.
21411 * gdb.base/logical.exp: new file.
21412 * gdb.base/pointers.exp: new file.
21413 * gdb.base/relational.exp: new file.
21414 * gdb.base/section_command.exp: new file.
21415 * gdb.base/whatis-expr.exp: new file.
21416
21417 * gdb.base/all-types.c: new file.
21418 * gdb.base/call-array-struct.c: new file.
21419 * gdb.base/call-return-struct.c: new file.
21420 * gdb.base/call-strings.c: new file.
21421 * gdb.base/callfuncs2.c: new file.
21422 * gdb.base/condbreak.c: new file.
21423 * gdb.base/constvars.c: new file.
21424 * gdb.base/display.c: new file.
21425 * gdb.base/int-type.c: new file.
21426 * gdb.base/jump.c: new file.
21427 * gdb.base/miscexprs.c: new file.
21428 * gdb.base/pointers.c: new file.
21429 * gdb.base/pointers2.c: new file.
21430 * gdb.base/shmain.c: new file.
21431 * gdb.base/shr1.c: new file.
21432 * gdb.base/shr2.c: new file.
21433 * gdb.base/solib.c: new file.
21434 * gdb.base/solib1.c: new file.
21435 * gdb.base/solib2.c: new file.
21436 * gdb.base/varargs.c: new file.
21437 * gdb.c++/derivation.cc: new file.
21438 * gdb.c++/overload.cc: new file.
21439 * gdb.c++/ovldbreak.cc: new file.
21440 * gdb.hp/attach.c: new file.
21441 * gdb.hp/attach2.c: new file.
21442 * gdb.hp/average.c: new file.
21443 * gdb.hp/compiler.c: new file.
21444 * gdb.hp/compiler.cc: new file.
21445 * gdb.hp/execd-program.c: new file.
21446 * gdb.hp/follow-exec.c: new file.
21447 * gdb.hp/follow-fork.c: new file.
21448 * gdb.hp/follow-vfork-and-exec.c: new file.
21449 * gdb.hp/misc-hp.cc: new file.
21450 * gdb.hp/more-steps.c: new file.
21451 * gdb.hp/optimize.c: new file.
21452 * gdb.hp/quicksort.c: new file.
21453 * gdb.hp/run-hp.c: new file.
21454 * gdb.hp/start-stop.c: new file.
21455 * gdb.hp/sum.c: new file.
21456 * gdb.hp/templates-hp.cc: new file.
21457 * gdb.hp/thread-local-in-lib.c: new file.
21458 * gdb.hp/thread-local-in-lib.h: new file.
21459 * gdb.hp/thread-local-in-lib.lib.c: new file.
21460 * gdb.hp/vforked-program.c: new file.
21461 * gdb.hp/virtfunc-hp.cc: new file.
21462 * gdb.hp/watchpoint-hp.c: new file.
21463 * gdb.hp/xdb.c: new file.
21464 * gdb.hp/xdb0.c: new file.
21465 * gdb.hp/xdb0.h: new file.
21466 * gdb.hp/xdb1.c: new file.
21467
21468 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21469
21470 The following change was made by Edith Epstein
21471 <eepstein@cygnus.com> as part of a project to merge in changes
21472 originally made by HP; HP did not create ChangeLog entries.
21473
21474 * gdb.c++/demangle.exp: changed the expected output for some
21475 ARM-style mangling -- removed second reference to datatype.
21476 For example, maint demangle __dt__11T1__pt__2_cFv
21477 T1<char>::~T1<char>(void)
21478 becomes,
21479 maint demangle __dt__11T1__pt__2_cFv
21480 T1<char>::~T1(void)
21481
21482 (test_hp_style_demangling): new hp specific demangling test cases.
21483
21484 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21485
21486 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21487 * gdb.trace/backtrace.exp: Likewise.
21488 * gdb.trace/circ.exp: Likewise.
21489 * gdb.trace/collection.exp: Likewise.
21490 * gdb.trace/deltrace.exp: Likewise.
21491 * gdb.trace/infotrace.exp: Likewise.
21492 * gdb.trace/limits.exp: Likewise.
21493 * gdb.trace/packetlen.exp: Likewise.
21494 * gdb.trace/passc-dyn.exp: Likewise.
21495 * gdb.trace/passcount.exp: Likewise.
21496 * gdb.trace/report.exp: Likewise.
21497 * gdb.trace/save-trace.exp: Likewise.
21498 * gdb.trace/tfind.exp: Likewise.
21499 * gdb.trace/tracecmd.exp: Likewise.
21500 * gdb.trace/while-dyn.exp: Likewise.
21501 * gdb.trace/while-stepping.exp: Likewise.
21502
21503 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21504
21505 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21506
21507 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21508
21509 From Brendan Kehoe:
21510 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21511 int return types.
21512
21513 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21514
21515 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
21516 remote dos host testing right.
21517
21518 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21519
21520 * gdb.base/corefile.exp: remove some xfails.
21521
21522 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21523
21524 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
21525 have different timestamps.
21526
21527 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21528
21529 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
21530 gdb.base/default.exp: Replace "exec" with "executable".
21531
21532 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21533
21534 * gdb.base/default.exp: Change else if to elseif from previous
21535 delta.
21536
21537 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21538
21539 * gdb.base/default.exp: Add brace missing from previous delta.
21540
21541 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21542
21543 * gdb.base/default.exp: Support test for info float for all
21544 varieties of arm toolchain.
21545
21546 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
21547
21548 * gdb.trace/*.exp: remove "remote_download" command.
21549
21550 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
21551
21552 * gdb.trace/*.exp: remove -gdwarf from compile.
21553
21554 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21555
21556 * gdb.trace/configure.in(AC_INIT): typo
21557 * gdb.trace/configure: regenerated
21558
21559 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
21560
21561 * config/m68k-emc.exp: New file.
21562 * lib/<emc-support.exp trace-support.exp}: New files.
21563 * configure.in: add new test directory gdb.trace.
21564 * gdb.trace/{configure configure.in Makefile.in}: New files.
21565 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21566 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21567 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21568 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21569 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21570 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21571 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21572
21573 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
21574
21575 * gdb.c++/classes.exp: Change all regular expressions to match
21576 arbitrary combinations of newline/carriage-return, so that they
21577 will work equally well on Unix and Windows.
21578 * gdb.c++/inherit.exp: ditto.
21579 * gdb.c++/virtfunc.exp: ditto.
21580
21581 1998-08-11 Dawn Perchik <dawn@cygnus.com>
21582
21583 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21584
21585 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21586
21587 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21588 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21589 to use a0-a3/d0-d3 as needed.
21590
21591 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21592
21593 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21594 * gdb.disasm/am33.exp: Corresponding changes.
21595
21596 1998-07-11 Felix Lee <flee@cygnus.com>
21597
21598 * gdb.base/callfuncs.exp: add cmp10 test.
21599 * gdb.base/callfuncs.c (cmp10): new function.
21600
21601 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21602
21603 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21604 into two parts to get around a synchronization problem in expect.
21605
21606 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21607
21608 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21609
21610 * configure.in: Add options for gdbtk testsuite.
21611
21612 * configure: Regenerate.
21613
21614 * gdb.gdbtk: New directory to hold gdbtk tests.
21615
21616 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21617
21618 * gdb.fortran/types.exp: Escape brackets in expect patterns
21619 for test_float_literal_types_accepted tests.
21620 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21621 before run test.
21622
21623 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21624
21625 * am33.exp: Just compile, do not link the testcase.
21626 * am33.s: Add ".am33" pseudoop to force am33 mode.
21627
21628 1998-06-25 Felix Lee <flee@cygnus.com>
21629
21630 * gdb.base/setshow.exp: make sure $pc is sane.
21631
21632 * gdb.stabs/weird.exp: split expect patterns properly.
21633
21634 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21635
21636 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21637 * gdb.disasm/am33.exp: Run it.
21638
21639 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
21640
21641 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21642 match processing (and eliminate spurious timeouts when running).
21643
21644 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
21645
21646 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21647 exception test, but conditionalize it on target [mach | gnu].
21648
21649 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
21650
21651 * gdb.base/overlays.exp: fixup compile line for linker script.
21652
21653 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21654
21655 * gdb.fortran/types.exp: don't guess at float size.
21656
21657 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21658
21659 * gdb.base/exprs.exp: delete test that depends on int size.
21660
21661 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21662
21663 * config/sim.exp: Removed checks for target triplets.
21664 (gdb_target_sim): Use gdb,target_sim_options.
21665
21666 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21667
21668 * gdb.base/reread.exp: New file.
21669 * gdb.base/reread1.c: New file.
21670 * gdb.base/reread2.c: New file.
21671
21672 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21673
21674 * config/sim.exp: Use 'target sim -sparclite' when running
21675 SPARClite programs.
21676
21677 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21678
21679 * gdb.base/structs2.exp: New file.
21680 * gdb.base/structs2.c: New file.
21681
21682 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21683
21684 * gdb.asm/common.inc: New file.
21685 * gdb.asm/d10v.inc: New file.
21686 * asm-source.exp: Pass -I's to gas to find .inc files.
21687 Update line numbers in expected output.
21688 * asmsrc1.s: Rewrite.
21689 * asmsrc2.s: Rewrite.
21690 * configure.in: Create arch.inc symlink.
21691 * configure: Regenerate.
21692 * Makefile.in (distclean): Delete arch.inc.
21693
21694 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21695
21696 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
21697 (t_enum_value2): ditto
21698 (t_enum_value3): ditto
21699 (main): ditto
21700 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21701
21702 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21703 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21704 change.
21705 Use gdb_test instead of send_gdb/gdb_expect sequences.
21706
21707 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21708
21709 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21710 not void.
21711
21712 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21713
21714 * gdb.base/branches.c: Code with lots of loops and
21715 subroutines. Used to test gdbs ability to single step through PC
21716 changes, especially to test mips-tdep.c:mips_next_pc
21717
21718 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21719
21720 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21721 more rigorous EGCS C++ error checking.
21722
21723 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21724
21725 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21726 tests.
21727 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21728 function when asleep.
21729 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21730 for i*86 Linux and SVR4 signal handling problems.
21731 Remove linux xfail for `next to handler in signals_tests_1', fixed
21732 by recent infrun.c change.
21733 Limit backtrace to 10 frames to avoid timeout problems with infinite
21734 stack backtraces.
21735 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21736 target.[ch] change.
21737
21738 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21739
21740 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21741 for a newline from gdb before continuing.
21742 (default_gdb_exit): Just look for y or n.
21743 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21744 it does, fail the rests of the tests in the file.
21745
21746 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21747
21748 * config/cygmon.exp: New file.
21749
21750 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21751
21752 * gdb.base/list.exp: Fix problem with "list default lines around
21753 main" test on remote targets.
21754
21755 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21756 run test on remote targets.
21757
21758 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21759
21760 * gdb.asm: New directory.
21761 * configure.in: Configure it.
21762 * configure: Regenerate.
21763 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21764 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21765
21766 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21767
21768 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21769
21770 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
21771
21772 * gdb.base/overlays (several files): Merge the two overlay
21773 managers into one. Change variables (foox, barx, bazx, grbxx)
21774 back into ints but force them to load in their proper sections.
21775
21776 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21777
21778 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21779 on-chip insn memory and IMAP1 to upper 128k.
21780 (D10VCopy): Handle memory regions crossing 16k boundaries.
21781 (D10VCopy): Transfer data in 32 bit chunks.
21782
21783 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21784
21785 * gdb.base/overlays.c (main): Exit normally when result is
21786 correct.
21787
21788 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21789 map. Include space for printf in .text segment.
21790
21791 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21792 updated d10v memory VMA/LMA map.
21793 (D10VCopy): Call D10VTranslate.
21794
21795 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21796
21797 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21798
21799 * gdb.base/bar.c (barx, bar): Change variable to small array so
21800 that it won't be put into the .sdata - small data -
21801 section. Update reference.
21802 * gdb.base/baz.c (bazx, baz): Ditto.
21803 * gdb.base/foo.c (foox, foo): Ditto.
21804 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21805
21806 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21807 to be arrays.
21808
21809 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
21810
21811 * gdb.base/overlays.exp: fix up and get working again.
21812 Add tests for backtraces from an overlay function.
21813
21814 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21815
21816 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21817 "calling function with watchpoint enabled".
21818
21819 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21820
21821 * gdb.base/break.exp (test_next_with_recursion): Remove
21822 gdb_suppress_tests for d10v-*-*.
21823 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21824 pending review of whether it is useful or not.
21825
21826 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21827
21828 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21829
21830 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21831
21832 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21833 * config/dve.exp: New file to support Densan boards.
21834
21835 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21836
21837 * gdb.base/interrupt.exp: Document problem of simulators, signals,
21838 reads and BSD.
21839
21840 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21841
21842 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21843 response.
21844
21845 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21846
21847 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21848
21849 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21850 test.
21851
21852 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21853 target_sizeof_long and target_bigendian_p.
21854 (structs_by_value, structs_by_reference): Check values according
21855 to targets word size and endianess.
21856
21857 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21858
21859 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21860 output.
21861
21862 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21863
21864 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21865 Update test of set args help to match source change.
21866
21867 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21868
21869 * gdb.base/default.exp: Expect help system output to be in
21870 alphabetical order.
21871 * gdb.base/help.exp: Ditto.
21872
21873 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21874
21875 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21876 "i*86-pc-linux-gnu*".
21877 * gdb.base/interrupt.exp: Ditto.
21878 * gdb.base/corefile.exp: Ditto.
21879
21880 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21881 define vxworks when building the testcase.
21882
21883 * gdb.base/ptype.exp: Fix testnames to be unique.
21884 * gdb.base/radix.exp: Ditto.
21885 * gdb.base/term.exp: Ditto.
21886 * gdb.base/whatis.exp: Ditto.
21887 * gdb.c++/classes.exp: Ditto.
21888
21889 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21890
21891 * gdb.base/callfuncs.exp: Fix indentation.
21892
21893 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21894 suppress_flag has been set.
21895 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21896 target feature.
21897
21898 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21899
21900 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21901 the testcase.
21902
21903 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21904 set_debug_traps() and breakpoint().
21905 * gdb.c++/misc.cc (main): Ditto.
21906 * gdb.c++/templates.cc (main): Ditto.
21907 * gdb.c++/virtfunc.cc (main): Ditto.
21908
21909 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21910
21911 * lib/gdb.exp(gdb_step_for_stub): New function.
21912 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21913 exists, reload the executable and do a "continue" instead of
21914 doing a jump.
21915 (runto_main): Use gdb_step_for_stub.
21916
21917 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21918 tests to have unique names.
21919 * gdb.base/callfuncs.exp: Ditto.
21920 * gdb.base/commands.exp: Ditto.
21921 * gdb.base/default.exp: Ditto.
21922 * gdb.base/help.exp: Ditto.
21923 * gdb.base/list.exp: Ditto.
21924 * gdb.base/opaque.exp: Ditto.
21925 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21926 similar tests.
21927
21928 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21929 * gdb.c++/cplusfuncs.cc: Ditto.
21930 * gdb.c++/virtfunc.cc: Ditto.
21931
21932 * config/monitor.exp: Keep track of the last file we saw, rather
21933 than trying to get the info from gdb.
21934
21935 * gdb.fortran/types.exp: Move comment to previous line.
21936
21937 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21938
21939 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21940 target mode.
21941
21942 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21943
21944 From Bob Manson:
21945 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21946 string from GDB when it connects.
21947
21948 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21949
21950 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21951
21952 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21953 if we can't get a debug format from GDB (we may be testing an
21954 older GDB). Use a 10 second timeout when checking for the format.
21955
21956 * gdb.stabs/weird.exp: Fix quoting.
21957
21958 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21959
21960 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21961
21962 * config/arm-ice.exp: New file.
21963
21964 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21965
21966 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21967 until it has been modified to work with the new testsuite.
21968
21969 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21970 testcase won't compile, cause all of the testcases in the file to
21971 fail instead.
21972
21973 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21974 (gdb_clear_suppressed): New procedure.
21975 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21976 it contains a positive value.
21977
21978 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21979
21980 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21981
21982 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21983
21984 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21985
21986 * lib/gdb.exp (setup_xfail_format): New function.
21987 (get_debug_format): New function to get debug format.
21988 (debug_format): New global variable to hold last value set
21989 by get_debug_format.
21990 * gdb.base/list.exp: Call get_debug_format and expect some
21991 tests to fail for DWARF 1 and COFF formats.
21992 * gdb.c++/ptype.exp: Ditto.
21993 * gdb.c++/classes.exp: Ditto.
21994 * gdb.c++/cplusfuncs.exp: Ditto.
21995 * gdb.c++/inherit.exp: Ditto.
21996 * gdb.c++/templates.exp: Ditto.
21997 * gdb.c++/virtfunc.exp: Ditto.
21998
21999 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22000
22001 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22002 host doesn't have a currently-open connection.
22003
22004 * config/sparclet.exp: Cleanups and fixes to make it generic for
22005 any gdb stub target. Handle cases where gdb doesn't respond when
22006 interrupted in a sane fashion.
22007
22008 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
22009 same thing in a totally different way.
22010
22011 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
22012 setting "timeout".
22013 (gdb_start): We set the global gdb_prompt variable in
22014 default_gdb_init now.
22015
22016 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22017
22018 * gdb.base/printcmds.exp: Fix "check for floating addition"
22019 regexp to accept results within approx +/- .01 of exact value.
22020 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22021
22022 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22023
22024 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
22025 properly.
22026 (gdb_expect): Add optional timeout parameter, and add timeout
22027 value to various calls.
22028 (gdb_suppress_tests): Only give one warning message per group.
22029
22030 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22031
22032 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
22033 global variables. Handle getting a value for $timeout more
22034 gracefully.
22035
22036 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22037
22038 * lib/gdb.exp: Close connection to remote host if gdb doesn't
22039 initialize.
22040 (default_gdb_init): New procedure; allow gdb_init to be overridden
22041 by a target configuration file.
22042 (gdb_expect): Pass the timeout to remote_expect.
22043
22044 * config/monitor.exp(gdb_load): Fix typo in regexp.
22045
22046 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22047
22048 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22049
22050 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22051
22052 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
22053 here. Call gdb_target_exec before rebooting the target, to make
22054 sure the connection to the target is closed.
22055 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22056 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22057 Also detect "Timeout reading from remote" error.
22058
22059 * config/gdbserver.exp: Pass the executable being loaded to
22060 gdb_target_monitor. Don't call gdb_file_cmd here; let
22061 gdb_target_monitor do it.
22062
22063 * gdb.disasm/hppa.exp: Don't use exec_output.
22064
22065 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22066
22067 * gdb.base/list.exp: If we're debugging a non-native target,
22068 try to set the pc register to point to the start of the
22069 program before doing the first list command.
22070
22071 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
22072 test_calls after restarting.
22073
22074 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
22075 reloading.
22076
22077 * gdb.base/watchpoint.exp: Fix typo.
22078
22079 * gdb.base/setshow.exp: Check for use_gdb_stub.
22080
22081 * gdb.base/break.exp: Fix continue until exit test for the gdb
22082 stub case.
22083 * gdb.base/langs.exp: Ditto.
22084
22085 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
22086 gdb_load_offset. If we weren't given a file to load, figure out
22087 what the current file is and use it.
22088
22089 * config/i386-bozo.exp: New file.
22090
22091 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22092
22093 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22094 feature.
22095
22096 * config/proelf.exp: New entry.
22097
22098 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22099
22100 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22101 of regexps.
22102
22103 * gdb.base/watchpoint.exp: Don't run the test_stepping
22104 tests if gdb can't call functions on the target.
22105
22106 * gdb.base/setshow.exp: Don't run the set prompt tests if
22107 the board has gdb_prompt set.
22108
22109 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22110
22111 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22112 * gdb.base/commands.exp: Likewise.
22113 * gdb.base/setshow.exp: Likewise.
22114
22115 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22116
22117 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22118 feature.
22119
22120 * config/i960.exp: New file.
22121
22122 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22123
22124 * gdb.base/funcargs.exp: Check for gdb,short_int target
22125 feature instead of looking for explicit target triplets.
22126
22127 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
22128
22129 * gdb.base/printcmds.exp: add a couple more tests a la
22130 "p 123DEADBEEF", to check parse_number.
22131 * top.c: change "to enable to enable" to "to enable" in a couple
22132 of help strings.
22133
22134 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22135
22136 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22137 on the mn10300.
22138
22139 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22140
22141 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22142 where the test executable is run with explicit args.
22143 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22144
22145 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22146
22147 * gdb.base/run.c: Use FAKEARGV to build test executable that
22148 does not require a command line arg, since most simulators
22149 don't currently support passing such an arg into the simulated
22150 program.
22151 * gdb.base/commands.exp: Change tests to insert the proper
22152 value as the arg to the first recursive factorial call. Change
22153 compilation line to define FAKEARGV at compile time.
22154
22155 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22156
22157 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22158 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22159 function with watchpoint enabled" test.
22160
22161 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22162
22163 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
22164 Don't call gdb_test when the command doesn't return to a gdb prompt.
22165
22166 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
22167 "Tests restarted" messages.
22168
22169 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22170
22171 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22172
22173 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
22174
22175 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22176 for INFO SYMBOL; add help tests for OVERLAY commands.
22177 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22178 add tests for OVERLAY commands
22179 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22180 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22181 * gdb.base/sigall.c: add usestubs code frag
22182 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
22183
22184 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22185
22186 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22187 failures.
22188 (gdb_stop_suppressing_tests): Note that tests have restarted.
22189
22190 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22191
22192 * config/h8300.exp: New file.
22193
22194 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22195
22196 * gdb.base/setshow.exp: Check for the existence of a
22197 feature, not its value.
22198
22199 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22200
22201 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22202
22203 * gdb.base/scope.exp: It's now init0(), not init().
22204
22205 * gdb.base/scope0.c: For now, change init() to be init0().
22206
22207 * config/monitor.exp: Use gdb_serial in preference to serial
22208 or netport.
22209
22210 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
22211 and it's not already set.
22212
22213 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22214
22215 * gdb.base/setshow.exp: Only test the run command if the target
22216 isn't using a stub and if it supports argument passing.
22217
22218 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22219
22220 * config/udi.exp(gdb_start): Make sure UDICONF is set
22221 properly before starting gdb.
22222
22223 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22224
22225 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22226 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22227 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22228
22229 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22230
22231 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
22232 specialized code to reboot the board, use remote_reboot instead.
22233
22234 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22235
22236 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22237
22238 * config/monitor.exp: Make sure we disconnect from the target.
22239 Also, try a reboot/reload cycle instead of failing if the
22240 load fails.
22241
22242 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22243
22244 * gdb.base/default.exp: Don't set match_max.
22245 * gdb.base/help.exp: Ditto.
22246 * gdb.base/list.exp: Ditto.
22247 * gdb.base/signals.exp: Ditto.
22248
22249 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22250 set, use remote_ld to download the testcase instead of
22251 the GDB loader.
22252
22253 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22254
22255 * config/vr5000.exp: New file.
22256
22257 * config/monitor.exp(gdb_target_monitor): Add pattern for
22258 "Ending remote" to detect errors in connecting.
22259
22260 * gdb.base/setshow.exp: Add .* within auto language test.
22261
22262 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22263 target feature.
22264
22265 * config/monitor.exp(gdb_load): Check for a failure when loading,
22266 and reboot the board if necessary.
22267
22268 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22269 a set of tests. Remove print.* from the patterns being checked.
22270
22271 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22272
22273 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22274 refer to gdb_spawn_id.
22275
22276 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22277 longer used.
22278 * config/sparclet.exp: Ditto.
22279 * config/sparclet-old.exp: Ditto.
22280 * config/slite.exp: Ditto.
22281 * config/sim.exp: Ditto.
22282 * gdb.base/funcargs.exp: Ditto.
22283
22284 * lib/gdb.exp:Remove references to gdb_spawn_id.
22285 (gdb_expect): Move to remote.exp.
22286
22287 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22288
22289 * config/monitor.exp: Detect the "Couldn't establish connection"
22290 message from GDB.
22291
22292 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22293
22294 * gdb.base/bitfields.exp: Use runto instead of explicit
22295 gdb_run_cmd/gdb_expect sequences.
22296
22297 * gdb.base/break.exp(text_next_with_recursion): Add match for
22298 gdb_expect call.
22299
22300 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22301 We also need to handle the "A program is being debugged already"
22302 prompt from gdb. Use gdb_test to set the baud rate.
22303
22304 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22305 to 20000. Really. I mean it.
22306
22307 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22308
22309 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
22310 fails. If suppress_flag is set, skip perror message about not
22311 being able to send to GDB.
22312 (send_gdb): If suppress_flag is set, don't try to send commands to
22313 GDB.
22314 (gdb_expect): If suppress_flag is set, always fail immediately.
22315 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22316 (gdb_init): Call gdb_stop_suppressing_tests.
22317 (default_gdb_exit): Ditto.
22318 (default_gdb_start): Ditto.
22319
22320 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
22321 gdb_stop_suppressing_tests as appropriate.
22322 * gdb.base/break.exp: Ditto.
22323 * gdb.base/callfuncs.exp: Ditto.
22324 * gdb.base/commands.exp: Ditto.
22325 * gdb.base/exprs.exp: Ditto.
22326 * gdb.base/funcargs.exp: Ditto.
22327 * gdb.base/list.exp: Ditto.
22328 * gdb.base/recurse.exp: Ditto.
22329 * gdb.base/scope.exp: Ditto.
22330 * gdb.base/structs.exp: Ditto.
22331 * gdb.c++/inherit.exp: Ditto.
22332
22333 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22334
22335 * config/vr4300.exp: New file.
22336
22337 * gdb.*/*.exp: Call gdb_expect instead of expect.
22338
22339 * lib/gdb.exp(gdb_expect): New function.
22340
22341 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22342
22343 * lib/gdb.exp(gdb_init): New function.
22344
22345 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
22346 for each individual variable set.
22347
22348 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22349 name.
22350
22351 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22352
22353 * gdb.base/scope.exp: Use gdb_test.
22354
22355 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22356 aborting; the testsuite driver will do that for us (see
22357 gdb_finish). Also, use gdb_test in a few more places.
22358
22359 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22360
22361 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22362
22363 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22364
22365 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22366 and "add_tests" are not at the same address.
22367
22368 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22369
22370 * gdb.base/ptype.exp: Use gdb_test.
22371
22372 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22373
22374 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22375 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22376 left in. No longer expect them to fail.
22377
22378 * gdb.stabs/*.mt; Deleted, no longer used.
22379 * gdb.stabs/configure.in: Remove references to target makefile
22380 frags.
22381 * gdb.stabs/configure: Rebuilt.
22382
22383 * gdb.disasm/*.mt: Deleted, no longer used.
22384 * gdb.disasm/configure.in: Remove references to target makefile
22385 frags. Use "sh3.s" as the unique filename for this directory.
22386 * gdb.disasm/configure: Rebuilt.
22387
22388 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22389 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22390 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22391
22392 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22393
22394 * config/udi.exp: Use mondfe,name instead of remote_host.
22395
22396 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22397
22398 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22399 a function with a watchpoint enabled on the mn10200.
22400
22401 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22402 before trying to create it!
22403
22404 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22405
22406 * config/vx.exp: Use hostname instead of netport.
22407
22408 * config/vxworks.exp: New file.
22409
22410 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22411
22412 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
22413 gdb before assuming everything worked. Send a ^C if a timeout
22414 occurs.
22415
22416 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22417 $gdb_spawn_id directly.
22418 (gdb_run_cmd): Try _start as well as start. Use the target feature
22419 gdb,start_symbol as the symbol to start from when jumping.
22420
22421 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22422
22423 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22424 redundant) test.
22425
22426 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22427 it doesn't lose for 16bit integer systems.
22428
22429 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22430
22431 * gdb.fortran/types.exp: If the target doesn't support "double"
22432 data types, then expect "real" types to only be 4 bytes.
22433
22434 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22435 call tests if the target doesn't support inferior function calls.
22436
22437 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22438 in printf tests.
22439
22440 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22441
22442 * gdb.base/help.exp: Disable "help set", "help show", and
22443 "help support". Simplify regexp for "help stack".
22444
22445 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22446 to 60 seconds. Temporarily set match_max to 15000 around the
22447 "info copying" test.
22448
22449 * gdb.base/nodebug.exp: Don't try to do an inferior function
22450 call if the target doesn't support them.
22451 * gdb.base/printcmds.exp: Likewise.
22452 * gdb.base/setvar.exp: Likewise.
22453 * gdb.base/structs.exp: Likewise.
22454 * gdb.c++/templates.exp: Likewise.
22455 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22456
22457 * gdb.base/recurse.exp: Enable for the mn10200.
22458
22459 * configure.in: Do configure gdb.stabs directory for *-*-elf
22460 targets.
22461 * configure: Rebuilt.
22462
22463 * gdb.base/break.exp: Check for gdb,noresults before testing
22464 exit status and/or results from the target.
22465 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22466 * lib/gdb.exp: Remove old (now bogus) initialization of
22467 noinferior, noargs, noresults and nosignals.
22468
22469 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22470
22471 * config/sh.exp: New file.
22472
22473 * config/slite.exp: Try to connect multiple times to the board
22474 before rebooting. Only send a "monitor run" if need_monitor_run
22475 is set.
22476
22477 * gdb.base/break.exp: Don't do the "stub continue" test if
22478 the target has gdb_stub set.
22479
22480 * gdb.base/callfuncs.exp: Increase the timeout.
22481
22482 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22483 if the target has gdb,noinferiorio set.
22484
22485 * gdb.base/list.exp: Increase match_max to 10000 characters.
22486
22487 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22488
22489 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22490 target.
22491
22492 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22493
22494 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22495
22496 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
22497 trying to delete the copy of gdb. Catch the file delete so we
22498 don't die if the delete fails; also, the file should be copied to
22499 the host, not to the build.
22500
22501 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22502
22503 * lib/gdb.exp(gdb_test): Surround the result pattern with
22504 parenthesis in case it contains multiple regexps separated
22505 with |.
22506
22507 * gdb.base/watchpoint.exp: Use gdb_test.
22508 * gdb.base/default.exp: Ditto.
22509
22510 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22511
22512 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
22513
22514 * gdb.base/scope.exp: Use gdb_test.
22515 * gdb.c++/classes.exp: Ditto.
22516 * gdb.c++/inherit.exp: Ditto.
22517
22518 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22519
22520 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22521 remote_exec instead.
22522 * gdb.base/corefile.exp: Don't be ridiculous.
22523 * gdb.base/*.c: Add missing stub invocations.
22524
22525 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22526
22527 * config/slite.exp: Miscellaneous fixes.
22528
22529 * lib/gdb.exp: Fix runto.
22530
22531 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22532 the target.
22533
22534 * gdb.base/watchpoint.exp: Fix regexp.
22535
22536 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22537 close and wait commands, as the descriptor may now be
22538 invalid. Always call "remote_close host".
22539
22540 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22541
22542 Major rewrite for testsuite revision.
22543
22544 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22545 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22546 instead of relying on spawn_id to always contain a valid
22547 spawn id.
22548 (get_compiler_info): New procedure to build the ${binfile}.ci
22549 file, instead of replicating this in N different places.
22550 (gdb_compile): New procedure.
22551
22552 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22553 appropriate arguments) instead of compile. Use gdb_test in a lot
22554 more places. Use send_gdb instead of send. Always run gdb_start
22555 at the start of a testcase, as this is no longer done magically.
22556
22557 config/*-gdb.exp: Rename without the -gdb suffix.
22558
22559 config/mips.exp: Use remote_close instead of exit_remote_shell.
22560 config/monitor.exp: Use target_info instead of looking at
22561 baud, timeout, etc.
22562 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22563
22564 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22565
22566 * gdb.c++/templates.exp (test_ptype_of_templates),
22567 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22568 Update expect patterns for destructors and assignment operators
22569 to match corresponding c-typeprint.c changes.
22570 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22571 to destructor breakpoint test, GDB should be able to set the
22572 destructor breakpoint without specifying arguments.
22573
22574 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22575
22576 * gdb.threads/pthreads.exp: Change result for failure to compile due
22577 to lack of pthreads runtime support from an error to simply an
22578 unsupported test, per dejagnu standards.
22579
22580 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22581
22582 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22583 where GDB exits to reduce pattern match time.
22584 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22585
22586 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22587
22588 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
22589
22590 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22591 * gdb.base/default.exp: ditto.
22592 * gdb.base/nodebug.exp: ditto.
22593 * gdb.base/printcmds.exp: ditto.
22594 * gdb.base/ptype.exp: ditto.
22595 * gdb.base/setvar.exp: ditto.
22596 * gdb.base/structs.exp: ditto.
22597 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22598
22599 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22600
22601 * configure, */configure: Rebuild with autoconf 2.12.
22602
22603 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22604
22605 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22606 use new i*86-pc-linux*-gnu quads.
22607 * gdb.base/corefile.exp: Ditto.
22608 * gdb.base/signals.exp: Ditto.
22609 * gdb.base/sigall.exp: Ditto.
22610 * gdb.base/interrupt.exp: Ditto.
22611
22612 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22613 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22614 RedHat 4.0.
22615
22616 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22617 linux. This allows the test case to at least compile on latest
22618 linux, but still not run due to missing the threads runtime library.
22619
22620 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22621
22622 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22623 directory to search gdb directory. Accept and step over conditional
22624 stack alignment code. Consume $prompt in failure cases.
22625 Reset timeout to $oldtimeout instead of some arbitrary value.
22626 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22627 timeout problems with infinite stack backtraces.
22628 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22629 Accept function parameters for linkfunc member.
22630
22631 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22632
22633 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22634 (CXXFLAGS): Remove, unreferenced.
22635 (B_OPTIONS): Add for -B options and add code to initialize with
22636 previous -B options and also add -B option to pick up cross compiled
22637 runtime.
22638 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22639 doing cross compiles.
22640 (target_alias): Declare global.
22641 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22642 to verify that gcc exists in build tree, and if so set CC to that
22643 gcc and to use B_OPTIONS and TARGET_INCLUDES.
22644
22645 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22646
22647 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22648 ptype test for anonymous union. Fixup testcase to match
22649 current gcc debug output.
22650
22651 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22652
22653 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22654 force argument to an unsigned long type.
22655
22656 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22657
22658 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22659 tests and anonymous union print/ptype tests.
22660 * gdb.base/list.exp (test_forward-search): Increase timeout by
22661 5 minutes for the "search extremely long line" case.
22662 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22663 completely optional and that the pass/fail messages use the command as
22664 the message if that third arg is a null string.
22665 (gdb_test_exact): Arrange that a null string pattern means match a
22666 null string output rather than any output, which might include random
22667 errors.
22668 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22669 backtrace test.
22670 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22671 always failing and failure is now exposed by gdb.exp changes.
22672
22673 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22674
22675 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22676 weren't being noted.
22677
22678 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22679
22680 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22681 * gdb.stabs/weird.exp: Remove v_comb xfails.
22682
22683 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
22684
22685 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22686 list.exp scope.exp watchpoint.exp]
22687 Make all timeout error msgs explicitly say "(timeout)".
22688
22689 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
22690
22691 * config/monitor.exp: Increase download timeout to 1000 seconds.
22692
22693 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
22694
22695 * config/m32r.exp: Increase timeout to 120 seconds.
22696
22697 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22698
22699 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22700 and accept older ordering as obsolescent gcc or gdb.
22701 * gdb.c++/templates.exp: Ditto.
22702 * gdb.c++/virtfunc.exp: Ditto.
22703
22704 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22705
22706 * gdb.base/coremaker.c: Add code to mmap some data so we
22707 can check that it ends up in the core file.
22708 * gdb.base/corefile.exp: Add test to read mmapped data
22709 from core file.
22710
22711 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
22712
22713 * config/m32r.exp: New file.
22714
22715 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22716
22717 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22718 that cflags can contains -gstabs, and work correctly for other tests.
22719
22720 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
22721
22722 * gdb.base/setshow.exp: New file, tests show and set.
22723 * gdb.base/setshow.c: New file, tests show and set.
22724 * gdb.base/help.exp: Add test for help set|show annotate.
22725 * gdb.base/default.exp: Add test for set|show annotate.
22726
22727 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22728
22729 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22730 errors unique.
22731 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22732 explicitly.
22733
22734 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22735
22736 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22737 and width commands. This is done elsewhere.
22738 * (gdb_start): Don't call gdb_start_sim here. That's already
22739 done in gdb_load. This fixes lots of failures in default.exp.
22740
22741 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22742
22743 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22744 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22745 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22746 in the same we we treat other failures (since it may be an expected
22747 condition), rather than as an error.
22748 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22749 old test format.
22750
22751 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22752
22753 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22754 (distclean maintainer-clean realclean): No need to remove files
22755 twice. Nuke the duplicates.
22756 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22757 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22758 Remove config.h along with other config files.
22759
22760 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22761
22762 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22763 "p func1 ()" and note that rests of tests are skipped.
22764 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22765 setup_xfails for "print func2::coremaker_local".
22766 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22767 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22768 affected by the previous run test.
22769 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22770 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22771 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22772 "pass int powerset tuple" and "pass modeless int powerset tuple".
22773 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22774 "real write 4" and "real write 8".
22775 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22776 setup_xfails for "print vs1 after tuple assign 2",
22777 "print \$i after tuple assign 2", and
22778 "print vs2 after tuple assign 2".
22779 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22780 meaningful error message and return -1 so the caller can
22781 suppress further tests and avoid a cascade of errors.
22782
22783 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22784
22785 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22786 format for printing version.
22787 * gdb.base/default.exp: Ditto.
22788 * gdb.base/interrupt.exp: Fix problem with cascade of
22789 errors if child process dies while calling a function.
22790
22791 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22792
22793 * Makefile.in (VPATH): Add
22794 * Makefile.in (Makefile, config.status): Fix rules so things get
22795 remade when necessary.
22796
22797 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22798
22799 * Makefile.in (just-check): Add path to sibling expect dir
22800 to environment variable specified by RPATH_ENVVAR.
22801
22802 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22803
22804 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22805 (just-check): Add shared library paths for libstdc++, tk,
22806 tcl, bfd, and opcodes to the environment variable specified
22807 in RPATH_ENVVAR.
22808 * configure.in: Add support to recognize --enable-shared flag
22809 and generate correct value for RPATH_ENVVAR.
22810 * configure: Regenerated with autoconf.
22811
22812 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22813
22814 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22815 include all osf versions.
22816 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22817 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22818 when target is linux. When failing to build pthreads test
22819 executable, give more meaningful message.
22820 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22821 arg for pthread_create.
22822
22823 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22824
22825 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22826 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22827 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22828 and -lpthreads (everybody else).
22829 (test_startup): Fail gracefully if threads are not supported.
22830 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22831 "p/c array_index("abcdef",2)" when not gcc compiled.
22832 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22833 "print func2::coremaker_local" when not gcc compiled.
22834 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22835 "ptype on opaque struct tagname (statically)",
22836 "ptype on opaque struct tagname (dynamically) 1", and
22837 "ptype on opaque struct tagname (dynamically) 2"
22838 for not compiled with gcc.
22839 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22840 backtrace when compiled with gcc.
22841 * lib/gdb.exp (runto_main): Return result of "runto main" rather
22842 than always return success.
22843
22844 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22845
22846 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22847
22848 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22849
22850 * gdb.base/structs.exp: Undo last change.
22851
22852 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22853
22854 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22855 encapsulate all the steps/nexts done during self test, starting
22856 at main, and makes them less sensitive to optimization issues.
22857 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22858 signal handler" test.
22859 * gdb.threads/pthreads.exp: Only run this for native configs.
22860 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22861 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22862 tests.
22863 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22864 for "runto test_calls(void)" test.
22865
22866 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22867
22868 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22869 and don't expect address info in breakpoint confirmations.
22870
22871 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22872
22873 * gdb.base/list.exp (test_forward_search): Increase timeout
22874 temporarily by 60 seconds for searching extremely long line,
22875 and then reset to old value when done. Increase expect input
22876 buffer to 10000.
22877
22878 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22879
22880 * gdb.base/list.exp (test_forward_search): Fix to handle very
22881 long source line without overflowing expect's input buffer.
22882
22883 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22884
22885 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22886 "buffer_full".
22887
22888 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22889 "buffer_full".
22890
22891 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22892 "buffer_full".
22893
22894 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22895 "buffer_full".
22896
22897 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22898
22899 * configure.in (configdirs): Add gdb.threads.
22900 * configure: Regenerated with autoconf.
22901 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22902 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22903 * gdb.threads/configure: New, generated with autoconf.
22904
22905 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22906
22907 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22908
22909 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22910
22911 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22912 each signal's status in the output of "handle all print".
22913 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22914 the \r\n sequence that immediately precedes the gdb prompt.
22915 * gdb.base/a1-selftest.exp: Save original timeout and restore
22916 after test.
22917
22918 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22919
22920 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22921 symbol.
22922
22923 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22924
22925 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22926
22927 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22928
22929 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22930 timeout by 60 seconds.
22931
22932 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22933
22934 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22935 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22936 error return.
22937
22938 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22939
22940 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22941 gdb initialization, also report how long dejagnu waited. Restore
22942 old timeout before doing error return. Temporarily increase timeout
22943 by 3 minutes to allow for slow startups over heavy NFS use.
22944
22945 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22946
22947 * lib/gdb.exp: Report timeout value for verbosity level 2.
22948 * config/gdbserver.exp: Ditto.
22949 * config/hppro.exp: Ditto.
22950 * config/mips-gdb.exp: Ditto.
22951 * config/monitor.exp: Ditto.
22952 * config/netware.exp: Ditto.
22953 * config/sim-gdb.exp: Ditto.
22954 * config/slite-gdb.exp: Ditto.
22955 * config/udi-gdb.exp: Ditto.
22956 * config/unix-gdb.exp: Ditto.
22957 * config/vx-gdb.exp: Ditto.
22958 * gdb.base/a1-selftest.exp: Ditto.
22959 * gdb.base/a2-run.exp: Ditto.
22960 * gdb.base/break.exp: Ditto.
22961 * gdb.base/corefile.exp: Ditto.
22962 * gdb.base/list.exp: Ditto.
22963 * gdb.base/recurse.exp: Ditto.
22964 * gdb.base/scope.exp: Ditto.
22965 * gdb.base/signals.exp: Ditto.
22966
22967 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22968
22969 * gdb.threads/Makefile.in (docdir): Removed.
22970
22971 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22972
22973 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22974 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22975 @srcdir@.
22976 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22977 autoconf 2.5 or higher.
22978 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22979
22980 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22981
22982 * configure: Regenerated.
22983 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22984 avoid name clashes with SunOS headers.
22985
22986 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22987
22988 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22989
22990 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22991
22992 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22993 prototype information ends up in the compiler info file.
22994
22995 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22996
22997 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22998 attempting to regenerate it. Eliminate use of a temporary file
22999 and just generate the info file directly. Source it immediately,
23000 for consistency of use.
23001 * gdb.base/corefile.exp: Ditto
23002 * gdb.base/exprs.exp: Ditto.
23003 * gdb.base/funcargs.exp: Ditto.
23004 * gdb.base/langs.exp: Ditto.
23005 * gdb.base/list.exp: Ditto.
23006 * gdb.base/mips_pro.exp: Ditto.
23007 * gdb.base/nodebug.exp: Ditto.
23008 * gdb.base/opaque.exp: Ditto.
23009 * gdb.base/ptype.exp: Ditto.
23010 * gdb.base/scope.exp: Ditto.
23011 * gdb.base/setvar.exp: Ditto.
23012 * gdb.base/signals.exp: Ditto.
23013 * gdb.base/whatis.exp: Ditto.
23014 * gdb.c++/templates.exp: Ditto.
23015 * gdb.c++/virtfunc.exp: Ditto.
23016 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
23017 whether or not to add -lstdc++ to the compile command line args.
23018
23019 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23020
23021 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23022 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23023 Increase timeout, a lot of single stepping might be needed if the
23024 target has no hardware watchpoints.
23025
23026 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23027
23028 * gdb.base/break.exp: Ignore compiler warnings when compiling
23029 break.c.
23030 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23031 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23032 from remote-sim.
23033 * gdb.base/exprs.exp: Add h8300 xfails.
23034 * gdb.base/funcargs.exp: Likewise.
23035 * gdb.base/nodebug.exp: Likewise.
23036 * gdb.base/printcmds.exp: Likewise.
23037 * gdb.base/ptype.exp: Likewise.
23038 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23039 h8300 xfails.
23040 * gdb.base/return.exp: Handle float/double precision problems
23041 on the h8300.
23042 * gdb.base/funcargs.c: Explicitly make last constant argument to
23043 call_after_alloca_subr an unsigned long type.
23044 * gdb.base/return.c: Include stdio.h.
23045
23046 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23047
23048 * config/abug.exp: New file for the older Motorola Bug monitor
23049 that runs on the mvme13x series VME boards.
23050 * config/monitor.exp: Use the new config array for target settings
23051 if they exist.
23052
23053 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23054
23055 * sim-gdb.exp: Make the SH simulator allocate less space when
23056 it is targeted.
23057
23058 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23059
23060 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23061 test.
23062
23063 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23064
23065 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23066 "rs6000-*-*" for "list function in include file" when gcc compiled.
23067 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23068 for "p ctable1[120]".
23069 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23070 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23071 Remove setup_xfail for "rs6000-*-*" for
23072 "print 'scope0.c'::filelocal before run".
23073 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23074 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23075 since some compilers don't allow both options to be given
23076 on the same command line. Create object file and move it.
23077
23078 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23079
23080 * gdb.base/corefile.exp: Always regenerate the core file, since
23081 we always regenerate the coremaker program. Detect special case
23082 where registers cannot be read from core file.
23083
23084 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23085
23086 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23087 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23088 * gdb.c++/templates.exp: Only match on basename of file since
23089 some formats like xcoff don't encode directory information.
23090 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23091 and rs6000 AIX xcoff targets.
23092 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23093 * configure: Regenerate.
23094 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23095 here, rather than in distclean.
23096
23097 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23098
23099 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23100 defined, and use it to compile the test case with -O2. The
23101 native compilation still uses no optimization.
23102 * gdb.base/mips_pro.c: Remove inline assembly code since
23103 it is compiled PIC by default, which results in assembler
23104 warnings that make the testsuite think the compilation
23105 was unsuccessful.
23106
23107 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23108
23109 * gdb.c++/misc.exp: Add note to message for
23110 "print s.a for foo struct" that this is a known gcc 2.7.2
23111 and earlier bug.
23112
23113 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23114
23115 * gdb.base/break.exp: Fix pattern for matching "Delete all
23116 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23117 setup_xfail for deleting all breakpoints test. Fix various
23118 timeout messages to include "(timeout)".
23119 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23120 for "p t_float_values2(3.14159,float_val2)".
23121 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23122 for "continue to call2g" when gcc compiled.
23123 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23124 "up to foo in langs.exp", "show language at foo in langs.exp",
23125 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23126 and "show language at fsub in langs.exp".
23127 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23128 "list line 1 in include file", "list message for lines past EOF",
23129 "list function in include file", "list list0.h:foo", and
23130 "list filename:function; nonexistant function".
23131 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23132 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23133 and "ptype t_char_array" to be for native cc only.
23134
23135 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23136
23137 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
23138 setup_xfail for "print coremaker_bss", "print coremaker_ro",
23139 "print func2::coremaker_local", and "backtrace in corefile.exp".
23140
23141 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23142
23143 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23144 "bt in signals.exp". This problem only appears when running
23145 the testsuite, and then only intermittently.
23146
23147 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23148
23149 * gdb.base/return.exp (return_tests): Differentiate between
23150 two tests of continuing.
23151
23152 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23153
23154 * */Makefile.in (maintainer-clean): Remove config.log.
23155 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23156 * gdb.c++/Makefile.in (PROGS): Add inherit.
23157 (clean): Remove *.ci.
23158
23159 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23160
23161 * gdb.c++/misc.cc: Add test code from Mike Stump.
23162 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23163
23164 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23165
23166 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23167 to "alpha-*-osf2*" and add comment.
23168 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23169 setup_xfail for "step over execarg initialization" and
23170 "step over corearg initialization".
23171 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23172 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23173 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
23174 gcc compiled for "print coremaker_bss", "print coremaker_ro",
23175 "print func2::coremaker_local", and "backtrace in corefile.exp".
23176 * gdb.base/signals.exp: Build and source signals.ci.
23177 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23178 to be for gcc only.
23179 * lib/gdb.exp: Move verbose statements outside conditionals.
23180
23181 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23182
23183 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23184 Feb 3 procfs.c change.
23185
23186 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23187
23188 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23189
23190 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23191
23192 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23193 from dejagnu's apparent default of 10 seconds, which gives random
23194 results when running the tests over NFS on moderately loaded systems.
23195 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23196
23197 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23198
23199 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23200 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
23201 result reports.
23202
23203 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23204
23205 * configure.in (CY_AC_PATH_TCLH): Remove.
23206 * configure: Regenerate.
23207
23208 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23209
23210 * gdb.c++/Makefile.in (clean): Add missing '{'.
23211
23212 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23213
23214 * lib/gdb.exp: Provide a default value for noinferior.
23215
23216 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23217 Load libgloss.exp.
23218
23219 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23220
23221 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23222 the executable, not the .o to run the tests from.
23223
23224 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23225
23226 * gdb.base/break.exp: Don't test for program exit or exit status
23227 if $noresults if nonzero.
23228 * gdb.base/langs.exp: Likewise.
23229 * gdb.base/watchpoint.exp: Likewise.
23230
23231 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23232 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23233 trying to compile the testcase.
23234
23235 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23236
23237 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23238 * gdb.base/signals.exp (continue to handler): Likewise.
23239
23240 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23241
23242 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23243
23244 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23245
23246 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23247
23248 * gdb.base/corefile.exp: Recognize "not found" as failure
23249 when trying to determine if a core file was generated.
23250 If no core file was generate the first time, try again without
23251 the ulimit -c to work around braindamaged shells.
23252
23253 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23254
23255 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23256 [] tests with "test" and enclose string in quotes.
23257 * gdb.stabs/configure: Rebuild
23258
23259 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23260
23261 Changes in sync with expect:
23262 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23263 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23264 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23265 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23266 argument to AC_REQUIRE.
23267 * configure: Regenerated.
23268
23269 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23270
23271 * gdb.base/corefile.exp: When generating a core, discard any
23272 error messages about ulimit not found and the "core dumped"
23273 message from the shell that runs the coredumper.
23274
23275 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23276
23277 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23278
23279 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23280 which sed script to run. Expect failure for v_comb test
23281 on PA targets too.
23282
23283 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23284
23285 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23286 "print func2::coremaker_local" and for "backtrace in corefile.exp"
23287
23288 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23289
23290 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23291 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
23292 "sparc-sun-solaris*" xfails for "p v_comb".
23293 * lib/gdb.exp (default_gdb_start): Fix typo.
23294 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23295 messages to not include the full program name that caused
23296 the core dump since some systems (such as solaris) apparently
23297 truncate this path to about 80 characters.
23298 When generating a core file first try increasing the core file
23299 size limit to unlimited since some systems may default it to
23300 zero, and it is harmless to try it. Move the test for failing
23301 to generate a core file to where it will actually get executed.
23302 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23303 new gdb result from g++ debug info improvements and make old
23304 pattern obsolescent. Also account for size_t differences
23305 (may be int or long).
23306 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23307 initialization before function call is placed in the delay slot
23308 and thus appears to be skipped over by commands such as "next".
23309
23310 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23311
23312 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23313
23314 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23315
23316 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23317 input source file; fix code to compile test to deal with this
23318 convention.
23319 * gdb.c++/*.exp: Likewise.
23320
23321 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23322
23323 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23324 "bt in signals.exp".
23325
23326 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23327
23328 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23329 "step over execarg initialization" and
23330 "step over corearg initialization".
23331
23332 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23333
23334 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23335 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23336
23337 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23338
23339 From Rob Savoye (rob@poseidon.cygnus.com)
23340 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23341 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
23342 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23343 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23344 configure.in}: Major reworking for autoconfig.
23345 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23346 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
23347 New files.
23348 * config/unix-gdb.exp: Make GDB global.
23349 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
23350 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23351 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23352 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23353 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23354 term.exp, twice.exp, watchpoint.exp, whatis.exp},
23355 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
23356 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23357 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23358 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23359 pr-8136.exp, result.exp, string.exp, tuples.exp},
23360 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
23361 to returns as necessary, arrange for test to compile own testcase
23362 executable.
23363 * lib/gdb.exp: Changes for testsuite to compile own test cases.
23364
23365 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23366
23367 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
23368 clear_xfail at end of test which might not call either pass or fail.
23369 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23370 "backtrace through signal handler".
23371
23372 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23373
23374 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23375 continuing from a job control stop signal.
23376 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23377
23378 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23379
23380 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23381 * gdb.base/corefile.exp: Likewise.
23382 * gdb.base/funcargs.exp: Likewise.
23383
23384 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23385
23386 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23387 * config/monitor.exp: Add support for setting baud rate.
23388
23389 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23390
23391 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23392 i*86-*-linux* xfails for "backtrace through signal handler".
23393 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23394 "print func2::coremaker_local".
23395 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
23396 alpha-dec-osf2* xfail for
23397 "delete all breakpoints when none".
23398
23399 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23400
23401 * gdb.base/break.exp: Change test that deletes all breakpoints
23402 when no user breakpoints are installed. A post 4.15 change
23403 causes gdb to no longer prompt in this case.
23404
23405 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23406
23407 * gdb.base/return.exp (return_tests): Change xfail for test
23408 "correct value returned double test" to stop xfailing at
23409 Solaris 2.5. Apparently the bug has been fixed.
23410
23411 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23412
23413 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23414 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23415
23416 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23417
23418 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23419 * gdb.disasm/hppa.s: Corresponding changes.
23420
23421 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23422
23423 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23424 makefile fragment.
23425 * config/mt-hpux: Deleted.
23426
23427 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23428
23429 * Many files: When warning about suppressed tests due to a
23430 nonexistant test binary, avoid incrementing the warning count.
23431
23432 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23433
23434 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
23435
23436 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23437
23438 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23439 "sparc-*-solaris2*".
23440
23441 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23442
23443 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23444 Add global and local variables and initialize them.
23445 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23446 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23447 extracts the file name and terminating signal from the core file.
23448 * TODO: Remove note about tests for correct mapping of corefile.
23449 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23450 from optimizing it away.
23451 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23452 handles common blocks.
23453
23454 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23455
23456 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23457 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23458
23459 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23460
23461 * Makefile.in (maintainer-clean): New target, synonym for
23462 realclean.
23463 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23464 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23465 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23466 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23467 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23468 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23469
23470 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23471
23472 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23473 xfails when not gcc compiled for "print foo::funclocal".
23474 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23475 "print foo::funclocal at foo",
23476 "print 'scope1.c'::foo::funclocal at foo",
23477 "print foo::funclocal_bss at foo",
23478 "print 'scope1.c'::foo::funclocal_bss at foo",
23479 "print foo::funclocal_ro at foo",
23480 "print 'scope1.c'::foo::funclocal_ro at foo",
23481 "print bar::funclocal at foo" and
23482 "print 'scope1.c'::bar::funclocal at foo".
23483 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23484 gcc compiled for "print foo::funclocal at bar".
23485 Expand all messages to ensure that they identify that
23486 the test is at bar().
23487 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23488 gcc compiled for:
23489 "ptype on opaque struct pointer (statically)",
23490 "ptype on opaque struct tagname (statically)",
23491 "ptype on opaque struct pointer (dynamically) 1",
23492 "ptype on opaque struct tagname (dynamically) 1",
23493 "ptype on opaque struct pointer (dynamically) 2" and
23494 "ptype on opaque struct tagname (dynamically) 2
23495 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23496 gcc compiled for:
23497 "p datalocal"
23498 "whatis datalocal",
23499 "ptype datalocal",
23500 "p bsslocal",
23501 "whatis bsslocal", and
23502 "ptype bsslocal".
23503 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23504 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23505 when not gcc compiled.
23506 * gdb.base/funcargs.exp (float_and_integral_args): Add
23507 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23508 compiled.
23509 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23510 "backtrace from call6a" when not gcc compiled.
23511 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23512 "backtrace from call7a" when not gcc compiled.
23513 * gdb.base/callfuncs.exp (do_function_calls):
23514 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23515 "p t_char_array_values(char_array_val2,char_array_val1)",
23516 "p t_char_array_values(char_array_val1,char_array_val2)",
23517 "p t_char_array_values("carray 1","carray 2")",
23518 "p t_char_array_values("carray 1",char_array_val2)",
23519 "p t_char_array_values(char_array_val1,"carray 2")",
23520 "p sum_args(1,{2})",
23521 "p sum_args(2,{2,3})",
23522 "p sum_args(3,{2,3,4})",
23523 "p sum_args(4,{2,3,4,5})"
23524 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23525 "backtrace in corefile.exp" when not gcc compiled.
23526
23527 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23528
23529 * gdb.base/signals.exp: Rewrite `handle all print' test as
23530 a procedure. Accept blanks or TABs as whitespace, increase
23531 timeout and expect input buffer size for the large output
23532 from the command. Remove "i*86-*-bsdi2.0" xfail.
23533
23534 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23535
23536 * gdb.base/setvar.exp: Add new testcases for truncation when
23537 assigning invalid values to bitfields.
23538
23539 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23540
23541 * gdb.base/callfuncs.exp (do_function_calls): Remove
23542 mips-sgi-irix* xfail for
23543 "call inferior func with struct - returns char *"
23544 and fix test so that an optional (unsigned char *) cast is
23545 accepted in the result.
23546
23547 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23548
23549 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23550 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23551 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23552 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23553 that accidentally got checked in.
23554
23555 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23556
23557 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
23558 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23559 compiled test.
23560 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23561 Add mips-sgi-irix5* xfail for not gcc compiled.
23562 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23563 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23564 "p top", "whatis top", "p middle", and "whatis middle".
23565 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23566 "whatis signed char" for not gcc compiled.
23567 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23568 "set variable signed char=-1 (-1)" and
23569 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23570 * gdb.base/funcargs.exp (float_and_integral_args):
23571 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23572 Add mips-sgi-irix* xfail when not gcc compiled for
23573 "continue to call2b".
23574 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23575 "continue to call2g".
23576 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23577 "backtrace from call6a"
23578 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23579 "backtrace from call7k".
23580 Add mips-sgi-irix5* xfail when not gcc compiled for
23581 "backtrace from call7a".
23582 (localvars_after_alloca): Fix gdb_test cmds for
23583 "print * after runto ...".
23584 Remove rs6000-*-* xfails for
23585 "print i after runto localvars_after_alloca" and
23586 "print l after runto localvars_after_alloca"
23587 for all compilers.
23588 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23589 when not compiled with gcc, for:
23590 "print signed char == (minus)",
23591 "print signed char != (minus)",
23592 "print signed char < (minus)",
23593 "print signed char > (minus)".
23594 * gdb.base/callfuncs.exp (do_function_calls):
23595 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23596 "call inferior func with struct - returns char *".
23597 * gdb.base/return.exp (return_tests): Change xfail for
23598 "correct value returned double test" to include Solaris 2.4.
23599 * gdb.base/funcargs.exp (float_and_integral_args):
23600 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23601
23602 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23603
23604 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23605 enumeration bitfields if compiling with GNU C.
23606 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23607 to empty' prompt.
23608
23609 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23610
23611 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23612 test for PRO targets.
23613
23614 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23615 breakpoints in the inferior at any given time by making
23616 two groups of breakpoints for call2*, call6* and call7*
23617 tests.
23618
23619 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23620
23621 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23622 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23623 from optimizing it away.
23624 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23625 "call inferior func with struct".
23626
23627 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23628
23629 * configure.in: Only configure gdb.chill for particular targets.
23630
23631 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23632
23633 * gdb.base/Makefile.in: Add action to .c.o transformation
23634 rule that generates a .ci file for each .o file and remove
23635 explicit .c.o rules except for callfuncs.o.
23636 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23637 generates a .ci file for each .o file and remove explicit
23638 .cc.o rules.
23639 (clean): Remove *.tmp *.ci files.
23640 (EXECUTABLES): Remove templ-info.exp.
23641 * gdb.base/compiler.c: New file.
23642 * gdb.c++/compiler.cc: New file
23643 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23644 Change rs6000-*-* xfail for
23645 "print 'scope0.c'::filelocal_ro" and
23646 "print 'scope1.c'::filelocal" and
23647 "print 'scope1.c'::filelocal_bss" and
23648 "print 'scope1.c'::filelocal_ro" and
23649 "print 'scope1.c'::foo::funclocal" and
23650 "print 'scope1.c'::foo::funclocal_ro" and
23651 "print 'scope1.c'::bar::funclocal" and
23652 "print 'scope0.c'::filelocal_ro" and
23653 "print 'scope1.c'::filelocal at foo" and
23654 "print 'scope1.c'::filelocal_bss at foo" and
23655 "print 'scope1.c'::filelocal_ro at foo" and
23656 "print 'scope1.c'::foo::funclocal at foo" and
23657 "print 'scope1.c'::foo::funclocal_bss at foo" and
23658 "print 'scope1.c'::foo::funclocal_ro at foo" and
23659 "print 'scope1.c'::bar::funclocal at foo" and
23660 "print 'scope0.c'::filelocal_ro" and
23661 "print 'scope1.c'::filelocal" and
23662 "print 'scope1.c'::filelocal_bss" and
23663 "print 'scope1.c'::filelocal_ro" and
23664 "print 'scope1.c'::foo::funclocal" and
23665 "print 'scope1.c'::foo::funclocal_bss" and
23666 "print 'scope1.c'::foo::funclocal_ro" and
23667 "print 'scope1.c'::bar::funclocal" and
23668 "print 'scope1.c'::bar::funclocal_bss"
23669 to only be xfail'd when not compiled with gcc.
23670 Add rs6000-*-* xfail for
23671 "print 'scope0.c'::filelocal_bss before run"
23672 when compiled with gcc.
23673 (test_at_main): Add rs6000-*-* xfail for
23674 "print filelocal_ro in test_at_main"
23675 when compiled with gcc.
23676 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23677 Add rs6000-*-aix* xfail for
23678 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23679 "ptype t_char_array", not compiled with gcc.
23680 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23681 xfail for "list foo (in include file)" when gcc compiled.
23682 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23683 (integral_args): Add rs6000-*-* xfail for
23684 "run to call0a" if not compiled with gcc.
23685 (unsigned_integral_args): Add rs6000-*-* xfail for
23686 "run to call1a" if not compiled with gcc.
23687 (float_and_integral_args): Add rs6000-*-* xfail for
23688 "run to call2a" if not compiled with gcc and for
23689 "continue to call2b" for any compiler.
23690 Add rs6000-*-* xfail to
23691 "print f1 after run to call2a" for gcc compiled.
23692 (discard_and_shuffle): Add rs6000-*-* xfail for
23693 "run to call6a".
23694 (shuffle_round_robin): Add rs6000-*-* xfail for
23695 "backtrace from call7a" if not compiled with gcc.
23696 Add rs6000-*-* xfail for
23697 "backtrace from call7b" if compiled with gcc.
23698 (call_after_alloca): Add rs6000-*-* xfail for
23699 "print c in call_after_alloca" and
23700 "print s in call_after_alloca" and
23701 "backtrace from call_after_alloca_subr"
23702 if not compiled with gcc.
23703 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23704 "print c in localvars_in_indirect_call" and
23705 "print c in localvars_in_indirect_call" and
23706 "backtrace in indirectly called function" and
23707 "stepping into indirectly called function"
23708 if not compiled with gcc.
23709 (localvars_after_alloca): Add rs6000-*-* xfail for
23710 "print c after runto localvars_after_alloca" and
23711 "print s after runto localvars_after_alloca" and
23712 "print i after runto localvars_after_alloca" and
23713 "print l after runto localvars_after_alloca"
23714 for all compilers.
23715 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23716 than whatis-info.exp.
23717 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23718 than opaque-info.exp.
23719 Setup rs6000-*-* xfail for
23720 "ptype on opaque struct pointer (statically)" and
23721 "ptype on opaque struct pointer (dynamically)" when
23722 not compiled with gcc.
23723 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23724 rather than callf-info.exp.
23725 (do_function_calls): Add clear_xfail for rs6000-*-* for
23726 "p t_float_values2(3.14159,float_val2)". Seems to work
23727 fine there, both with xlc and gcc. Need to find out what
23728 it is doing right and fix other platforms.
23729 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23730 "call inferior func with struct - returns int",
23731 "call inferior func with struct - returns long",
23732 "call inferior func with struct - returns float",
23733 "call inferior func with struct - returns double",
23734 "call inferior func with struct - returns char *",
23735 but only if not gcc compiled (presumes xlc compiled).
23736 Change rs6000-*-* xfails for
23737 "call inferior func with struct - returns char" and
23738 " call inferior func with struct - returns short" to only
23739 xfail if not using gcc.
23740 (clean mostlyclean): Remove *.ci and *.tmp files.
23741 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23742 than templ-info.exp.
23743 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23744 Add rs6000-*-* xfail for "up to foo in langs.exp"
23745 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23746 when not gcc compiled.
23747
23748 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23749
23750 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23751 * gdb.base/corefile.exp: Likewise.
23752 * gdb.base/list.exp: Likewise.
23753 * gdb.base/scope.exp: Likewise.
23754 * gdb.base/siganls.exp: Likewise.
23755
23756 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23757 compiler output.
23758 * gdb.base/whatis.exp: Likewise.
23759
23760 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23761
23762 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23763 failure (opcode table has been fixed to match reality).
23764
23765 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23766
23767 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23768 "call inferior func with struct - returns char",
23769 "call inferior func with struct - returns short"
23770
23771 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23772 "print 'scope0.c'::filelocal at main",
23773 "print 'scope0.c'::filelocal_bss in test_at_main",
23774 "print 'scope0.c'::filelocal at foo",
23775 "print 'scope0.c'::filelocal_bss in test_at_foo",
23776 "print 'scope0.c'::filelocal at bar",
23777 "print 'scope0.c'::filelocal_bss in test_at_bar"
23778
23779 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23780 in source file 1". This bug seems to have been fixed with both
23781 gcc and native cc (was native assembler bug?).
23782
23783 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23784
23785 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23786 "backtrace through signal handler" to "i*86-*-sysv4*".
23787 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23788 continue" case. Add "known SVR4 bug" to fail message.
23789 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23790 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23791 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23792 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23793 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23794 "up to foo in langs.exp", "show language at foo in
23795 langs.exp", "up to cppsub_ in langs.exp", "show
23796 language at cppsub_ in langs.exp", "up to fsub in
23797 langs.exp", and "show language at fsub in langs.exp".
23798 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23799 "bactrace in corefile.exp".
23800 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23801 "call inferior function with struct - returns float" and
23802 "call inferior function with struct - returns double".
23803
23804 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23805
23806 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23807 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23808 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23809 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23810
23811 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23812
23813 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23814 (or overriden) "CHILL" macro rather then bare "gcc".
23815 Also look for ../../gcc/xgcc since that is what we will
23816 actually need, not "Makefile". Remove following assignment
23817 of CHILL to CHILL_FOR_TARGET because that results in
23818 recursive definition.
23819
23820 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23821
23822 * gdb.base/corefile.exp: Change xfail for backtrace in
23823 corefile.exp from linuxaout to all linux.
23824 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23825 cases where we miss the breakpoint at the signal handler
23826 for some reason. Setup xfail for linuxoldld/linuxaout and
23827 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23828 hitting SIGURG breakpoint.
23829 * gdb.base/signals.exp: Setup xfail for "next" acting like
23830 continue to add linuxoldld. Setup xfail for all linux for
23831 "next to handler in signals_tests_1", "backtrace in
23832 signals_tests_1", "continue to func1", "pass SIGUSR1",
23833 and continue to handler".
23834
23835 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23836
23837 * Update all FSF addresses except those in COPYING* files.
23838
23839 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23840
23841 * gdb.base/a2-run.exp: Change messages to be more explicit about
23842 the status of args, and quote binfile in results.
23843
23844 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23845
23846 * gdb.base/callfuncs.exp: Add tests for passing structs to
23847 inferior functions and return various types.
23848 * gdb.base/callfuncs.c: Add functions to receive a struct
23849 and return a member of the struct, in various types.
23850
23851 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23852
23853 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23854
23855 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23856
23857 * config/vxworks29k.exp: New file, sources vxworks.exp.
23858
23859 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23860
23861 * config/gdbremote.exp: New file. Testing framework using
23862 gdbserver.
23863
23864 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23865
23866 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23867 "call function when asleep" and "send end of file".
23868 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23869 for "backtrace in corefile.exp".
23870 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23871 for "backtrace through signal handler".
23872 * gdb.base/corefile.exp: Make sure we actually generate a core file
23873 before trying the core tests. Some systems allow the user to suppress
23874 generation of core files and default to that (linux for example).
23875 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23876 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23877
23878 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23879
23880 * gdb.threads: New directory with some crude multi-threaded
23881 gdb tests (step.exp and step2.exp).
23882 * config/mt-lynx (STEP_EXECUTABLE): Define.
23883 (THREADFLAGS): Define.
23884
23885 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23886
23887 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23888
23889 * gdb.base/signals.exp: Disable whole file for lynx until
23890 further notice.
23891
23892 * gdb.base/signals.exp: xfail test where "next" acts like
23893 "continue" for lynx.
23894
23895 * gdb.base/interrupt.exp: xfail test for calling function while
23896 inferior is asleep for lynx.
23897
23898 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23899 than one cr-lf after each command.
23900
23901 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23902
23903 * configure.in: Reinstate setting of stabsdirs variable, fix
23904 typo in setting up configdirs for native builds.
23905
23906 * gdb.base/return.exp: Fix typo in return double test.
23907 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23908 compiler from optimizing them away.
23909
23910 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23911
23912 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23913 sequences to be echo'd by gdb when using gdb_test.
23914 * gdb.chill/chexp.exp: Likewise.
23915 * gdb.fortran/exprs.exp: Likewise
23916
23917 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23918
23919 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23920 after the inferior gdb has started.
23921
23922 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23923 after each command.
23924 * gdb.base/funcargs.exp: Likewise.
23925 * gdb.base/gdbvars.exp: Likewise.
23926 * gdb.base/interrupt.exp: Likewise.
23927 * gdb.base/list.exp: Likewise.
23928 * gdb.base/watchpoint.exp: Likewise.
23929 * gdb.c++/demangle.exp: Likewise.
23930 * gdb.c++/inherit.exp: Likewise.
23931 * gdb.chill/chexp.exp: Likewise.
23932 * gdb.fortran/exprs.exp: Likewise.
23933
23934 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23935 test if we can't handle IO to/from the inferior.
23936
23937 * gdb.c++/misc.exp: Always check for a program already being
23938 started after sending a "run" command to gdb.
23939
23940 * gdb.base/twice.exp: Start with a fresh gdb.
23941
23942 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23943 only depend on gdb's expression code, not the chill runtime.
23944
23945 * gdb.base/return.c: Put return values into variables so we
23946 can have gdb print them rather than depending on the program
23947 to print them.
23948 * gdb.base/return.exp: Corresponding changes.
23949
23950 * lib/gdb.exp: Provide default value for noinferiorio.
23951 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23952 the inferior.
23953
23954 * gdb.base/break.exp: Always check for a program already being
23955 started after sending a "run" command to gdb.
23956 (text_next_with_recursion): Don't check the output from the
23957 program's printf statement. Instead just make sure the program
23958 exited.
23959
23960 * gdb.base/commands.exp: Protect tests which need arguments with
23961 $noargs conditionals.
23962
23963 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23964
23965 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23966 of structure member arrays to match gdb/valops.c:value_addr change.
23967
23968 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23969
23970 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23971 cases.
23972
23973 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23974
23975 * configure.in (configdirs): Remove gdb.chill from default list
23976 of subdirs and then add it back in only if doing a native build.
23977 The current chill compiler does not yet work in any cross build.
23978 * Revert all signal changes from Jul 6.
23979 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23980 for sh-hms targets, allowing these tests to link, with no other
23981 changes. Testing is suppressed by setting "nosignals" in site.exp.
23982
23983 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23984
23985 * configure.in (signaldirs): Define and add to configdirs for all
23986 targets except some specific ones that are known to not support signals.
23987 Also clean up formatting.
23988 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23989 (signals, sigall): Remove rules to build.
23990 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23991 Moved to new gdb.signals directory.
23992 * gdb.signals: New test directory.
23993 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23994 signals.c signals.exp}: New or moved files.
23995
23996 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23997
23998 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23999
24000 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24001
24002 * gdb.base/return.exp: Xfail `return double' test failure
24003 on at least Solaris 2.3 and handle future/past versions on
24004 a case by case basis as appropriate. Also update message
24005 to include i*86 failures.
24006
24007 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24008
24009 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24010
24011 * lib/gdb.exp: Fix comment which erroneously identified
24012 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24013 gdb_file_cmd not gdb_load).
24014 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24015
24016 * gdb.base/setvar.exp: Make test names consistent between pass and
24017 fail cases. Use gdb_test more.
24018
24019 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24020
24021 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24022
24023 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24024
24025 * gdb.base/help.exp: Fix expected help string for `show commands'.
24026
24027 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24028
24029 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24030
24031 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24032 of a text section.
24033
24034 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24035
24036 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24037 that loop eventually terminates. Fix Connection refused logic so
24038 that testsuite will expire nicely.
24039
24040 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24041
24042 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24043 config/rom68k.exp: New tcl glue for the appropriate monitors.
24044 These all just end up calling monitor.exp.
24045 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24046 refused' by retrying. Cleanup some timeout issues.
24047 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24048 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24049 callers don't have to set/restore global timeout variable.
24050
24051 * The following set of changes centralizes management of the global
24052 timeout variable. This way, it can be set in one target dependent
24053 place instead of dozens of places scattered throughout the test suite.
24054 If you need to lengthen a timeout, then you should either set timeout
24055 in one of the config/{target}.exp files, or multiply it by a factor.
24056 Setting it to an absolute value is always going to lose for some
24057 targets.
24058 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24059 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24060 * gdb.base/funcargs.exp: Don't set timeout.
24061 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24062 * gdb.base/printcmds.exp (test_print_string_constants
24063 test_print_array_constants): Don't set timeout.
24064 * gdb.base/ptype.exp: Don't set timeout.
24065 * gdb.base/recurse.exp: Don't set timeout.
24066 * gdb.base/return.exp: Don't set timeout.
24067 * gdb.base/watchpoint.exp: Don't set timeout.
24068 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24069 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24070
24071 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24072
24073 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24074
24075 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24076
24077 * lib/gdb.exp: Disable chill tests for irix5.
24078
24079 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24082 each test pass or fail.
24083
24084 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24085
24086 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24087 xlc not gcc.
24088
24089 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24090
24091 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24092
24093 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24094
24095 * config/est.exp: Fix copyright and comments. Remove dead code.
24096 Use targetname, serialport and baud variables instead of fixed
24097 constants.
24098 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24099 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24100
24101 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24102
24103 * gdb.base/watchpoint.exp: Don't run
24104 test_watchpoint_triggered_in_syscall for sunos.
24105
24106 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24107
24108 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24109 they don't seem to exist. Do include stdio.h.
24110
24111 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24112
24113 * gdb.base/a1-selftest.exp: Add alpha xfail.
24114
24115 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24116
24117 * gdb.base/watchpoint.c (main): Prompt before calling read().
24118 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24119 Revise accordingly. Remove cruft about sending "123" several
24120 times, until it gets noticed. Clean up the "print buf[0]" stuff
24121 so that it passes or fails, and waits for prompts in the usual way.
24122
24123 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24124
24125 * gdb.base/recurse.exp: Fix comment.
24126
24127 * TODO: Remove item about printing variables in nodebug.exp. Add
24128 item about enabling tests which are only run on some targets.
24129
24130 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24131 fail, make test names unique, use new gdb_test convention
24132 regarding pattern, use gdb_test more, etc.).
24133
24134 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24135 fail, make test names unique, etc.).
24136
24137 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24138
24139 * gdb.base/nodebug.c: Change return type of top and middle to
24140 short.
24141 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24142 are fixed by the recent mdebugread.c changes. Allow `short ()'
24143 as type for top and middle.
24144
24145 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24146
24147 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24148 nearly as I can tell, the whole thing was an accident in Stu's
24149 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24150 to replace a send/expect pair with gdb_test, but ended up only
24151 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24152 of 30 Mar 1995 took care of it, but left this vestigial comment
24153 which I am now nuking.
24154
24155 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24156
24157 * gdb.base/break.exp: Look for different line number for
24158 breakpoint at main depending on usestubs.
24159
24160 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24161
24162 * gdb.base/list.exp: Adjust some alternate expect patterns to
24163 match recent list0.c change. Add alternate expect pattern for
24164 output from `list default lines around main' for optimizing
24165 compilers.
24166
24167 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24168
24169 * lib/gdb.exp: If nosignals is not set, set it to 0.
24170
24171 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24172
24173 * config/slite-gdb.exp: Responds to load symbol table prompt.
24174 * gdb.base/break.exp: Adjust line number, fix rerun.
24175 * gdb.base/langs0.c: Add #ifdef usestubs.
24176
24177 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24178
24179 * gdb.base/list.exp: Adjust line contents after adding new lines in
24180 list0.c. Also fix a syntax error.
24181
24182 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24183 * gdb.base/break.exp: ditto.
24184 * gdb.base/list.exp: ditto.
24185 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24186 * gdb.base/run.c: ditto.
24187 * gdb.base/list0.c: ditto.
24188 * gdb.base/funcargs.c: ditto.
24189
24190 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24191
24192 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24193 $targetname, $serialport and $baud instead of hardwired variables.
24194 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24195 target doesn't support signals.
24196
24197 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24198
24199 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24200
24201 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24202
24203 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24204 Don't rely on the value of an auto variable before it has been
24205 initialized. Use gdb_test more.
24206
24207 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24208
24209 * lib/gdb.exp (default_gdb_version): A version number must start
24210 with a digit, but other than that contains all characters up to
24211 the first whitespace character.
24212
24213 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24214
24215 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24216
24217 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24218
24219 * gdb.c++/*.exp: Warn if executable does not exist. The original
24220 reason for skipping the warning was that configure.in sometimes
24221 intentionally skipped building the executables but the tcl code
24222 had no way of knowing. That (a) was always bogus with respect to
24223 error handling, (b) is no longer true (right now there is no way
24224 to skip C++ tests).
24225
24226 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24227
24228 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24229
24230 * gdb.base/list.exp: Add expect patterns for output from
24231 SunPRO compiled executables.
24232 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24233 types.
24234
24235 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24236
24237 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24238 number (we are already testing that the correct source line text
24239 gets printed).
24240
24241 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24242 that is what is intended, but something needed to be done to get
24243 sunos4 native working again.
24244
24245 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24246
24247 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24248 apparently went with a (very) old xfail.
24249
24250 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24251
24252 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24253 runto_main is a proc in gdb.exp that will do 'step' for target use
24254 stubs.
24255 * gdb.base/exprs.exp: ditto.
24256 * gdb.base/interrupt.exp: ditto.
24257 * gdb.base/opaque.exp: ditto.
24258 * gdb.base/printcmds.exp: ditto.
24259 * gdb.base/ptype.exp: ditto.
24260 * gdb.base/scope.exp: ditto.
24261 * gdb.base/setvar.exp: ditto.
24262 * gdb.base/signals.exp: ditto.
24263 * gdb.base/twice.exp: ditto.
24264 * gdb.c++/classes.exp: ditto.
24265 * gdb.c++/inherit.exp: ditto.
24266 * gdb.c++/templates.exp: ditto.
24267 * gdb.base/break.exp: no run and hit main for stubs. Change line
24268 numbers for breakpoints and info breakpoint.
24269 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24270 breakpoint().
24271 * gdb.base/callfuncs.c: ditto.
24272 * gdb.base/exprs: ditto.
24273 * gdb.base/interrupt.c: ditto.
24274 * gdb.base/opaque0.c: ditto.
24275 * gdb.base/printcmds.c: ditto.
24276 * gdb.base/ptype.c: ditto.
24277 * gdb.base/scope0.c: ditto.
24278 * gdb.base/setvar.c: ditto.
24279 * gdb.base/signals.c: ditto.
24280 * gdb.base/twice.c: ditto.
24281 * gdb.c++/misc.cc: ditto.
24282 * gdb.c++/templates.cc: ditto.
24283
24284 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24285
24286 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24287
24288 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24289 somewhere between `read' and `main.c'. I'm pretty sure the
24290 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24291 and it isn't particularly useful.
24292
24293 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24294
24295 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24296
24297 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24298
24299 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24300
24301 * config/mt-slite: add LIBS and -nostdlib.
24302 * config/slite-gdb.exp: add this new file to support sparclite target.
24303
24304 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24305
24306 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24307
24308 * gdb.base/a2-run.exp: Change argument to istarget from
24309 "*-*-vxworks" to "*-*-vxworks*".
24310 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24311
24312 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24313
24314 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24315 will not runto main but do a 'step' to step out of breakpoint().
24316 * config/mt-slite: add -Dusestubs.
24317
24318 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24319
24320 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24321 instead of just @.
24322
24323 * gdb.base/signals.exp: Add test for "handle all print".
24324 * TODO: Remove "handle all print". Also remove item about
24325 checking copyright date (I don't like the idea of a spurious FAIL
24326 based on when we run the tests).
24327
24328 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24329 for SunOS4 (reason for failure not investigated). Remove
24330 redundant test for $binfile.
24331
24332 * gdb.base/nodebug.c (array_index): Call malloc.
24333
24334 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24335
24336 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24337
24338 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24339 conventions and slightly simplify the matching regexp.
24340
24341 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24342
24343 * gdb.base/break.exp: Update gdb_test invocation to use new
24344 convention.
24345
24346 * lib/gdb.exp: If noargs is not set, set it to 0.
24347
24348 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24349 tests unique.
24350
24351 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24352
24353 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24354
24355 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24356 one argument of type "<non-float parameter>".
24357
24358 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24359
24360 * config/rom68k.exp: New file to support Motorola IDP board.
24361 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24362 * gdb.base/break.c: Change things around so that this program
24363 doesn't depend upon args. This is necessary to make remote
24364 targets work (in general, they can't take args).
24365 * gdb.base/break.exp: Don't try to send args to program. Don't
24366 expect output. Also, replace lots of code with gdb_test.
24367
24368 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24369
24370 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24371 printing of '\'' (which is what the comment says we are testing,
24372 even though we were not), not '''.
24373 (test_integer_literals_rejected): Test that printing ''' is an error.
24374
24375 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24376 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24377 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24378 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24379 Use gdb_test not test_print_accept.
24380 * lib/gdb.exp: Remove test_print_accept.
24381
24382 * gdb.base/signals.exp (signal_tests_1): Make pass message
24383 consistent with fail message.
24384
24385 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24386 unsigned char; the bug (PR 1821) is fixed.
24387
24388 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24389
24390 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24391 successful tests--makes xfailing them work right.
24392
24393 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24394
24395 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24396 only \r\n, not .*. The test can pass .* as the last thing in
24397 $pattern if that is what it wants. In addition to providing this
24398 flexibility, this change should speed up pattern matching in cases
24399 where the pattern already ended with .* (there were a number of
24400 them). This change also helps catch bad patterns--in the old
24401 scheme the typo "char \*" instead of "char \\*" would pass. Now
24402 it is caught.
24403 * Many .exp files: Update callers.
24404
24405 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24406 clearer and does not spuriously match multiple ('s. Likewise for
24407 ) and *.
24408
24409 * gdb.base/nodebug.exp: Test ability to call a function and pass
24410 it a string (even with no debugging info).
24411
24412 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24413 "p '\'", which is the same as "p ''" once tcl gets done with
24414 quoting, to "p '\\'", which I suspect is what is intended (one
24415 backslash gets sent to GDB).
24416
24417 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24418
24419 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24420
24421 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24422 1817) was fixed literally years ago.
24423
24424 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24425
24426 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24427 test, it causes stepping out of call_after_alloca_subr with
24428 optimizing compilers.
24429 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24430 fails.
24431
24432 * gdb.c++/templates.exp: Source templ-info.exp only if
24433 the templates executable exists.
24434
24435 * gdb.c++/misc.cc (class Contains_static_instance,
24436 class Contains_nested_static_instance),
24437 gdb.c++/classes.exp (test_static_members): Test printing of
24438 a class that contains a static instance of the class.
24439
24440 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24441
24442 * gdb.base/langs2.c (cppsub_): Don't prototype.
24443 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24444 only, I believe).
24445
24446 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24447
24448 * lib/gdb.exp (skip_chill_tests): New procedure.
24449
24450 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24451
24452 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24453
24454 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24455 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24456
24457 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24458
24459 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24460
24461 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24462 disassemble 8, not 16, instructions for part 4.
24463
24464 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24465 support the latter anymore.
24466
24467 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24468 -DNO_PROTOTYPES.
24469 * gdb.base/callfuncs.c: Control use of prototypes based on
24470 NO_PROTOTYPES, not __STDC__.
24471 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24472 t_float_values2 tests if prototypes in use.
24473
24474 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24475 t_double_values): When checking differences against DELTA, check
24476 that difference is within the range (-DELTA,DELTA), not just
24477 (-infinity,DELTA).
24478
24479 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24480
24481 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24482 'file' command firts, then 'target', then 'load', this is due to gdb
24483 target set up.
24484 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24485
24486 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24487
24488 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24489 FP load/store variants.
24490 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24491
24492 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24493
24494 * gdb.base/term.exp: Do not give a warning if not native, it is
24495 not an abnormal condition.
24496
24497 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24498
24499 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24500 t_char_array".
24501
24502 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24503
24504 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24505 are getting the version number.
24506
24507 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24508 if not native, it is not an abnormal condition.
24509
24510 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24511
24512 * lib/gdb.exp: Just use "file exists", rather than undocumented
24513 dejagnu procedure "findfile".
24514
24515 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24516
24517 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24518 (LDFLAGS): Set to -Xlinker -Ur.
24519
24520 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24521 Removed, these values are set by lib/gdb.exp.
24522
24523 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24524
24525 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24526
24527 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24528 of replicating gdb startup code.
24529
24530 * config/mt-vxworks (LDFLAGS): Set to -r.
24531 (CFLAGS_FOR_TARGET): Removed.
24532
24533 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24534 (gdb) and gdb for vxworks uses (vxgdb).
24535
24536 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24537 executable is not in the tree and host != target, use sed and
24538 program_transform_name to determine the gdb name used by the
24539 target.
24540
24541 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24542 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24543
24544 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24545
24546 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24547 floats, chars, and shorts where there are ANSI-style function
24548 definitions.
24549
24550 * gdb.base/langs.exp, gdb.base/langs*: New test.
24551 * gdb.base/Makefile.in: Build it.
24552 * TODO: Remove item about checking that C names don't get C++
24553 demangling applied; this test tests it.
24554
24555 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24556
24557 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24558 went with the const70 xfail. The xfail went away a year ago.
24559
24560 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24561
24562 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24563 for hp300.
24564
24565 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24566
24567 * gdb.base/a1-selftest.exp: Don't run on hp300.
24568
24569 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24570
24571 * Makefile.in (site.exp): Set host_alias and target_alias as well
24572 as host_triplet and target_triplet.
24573
24574 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24575
24576 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24577
24578 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24579 places as other ecoff systems).
24580
24581 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24582 ultrix.
24583
24584 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24585
24586 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24587 remove them.
24588 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24589 variable and "variable" in addition to "data variable".
24590 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24591
24592 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24593 2.
24594 * gdb.base/list1.c (long_line): Add additional statement at start
24595 of function.
24596 * gdb.base/list.exp (test_forward_search): Update line number to
24597 reflect new statement.
24598
24599 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24600
24601 * gdb.base/signals.exp: Reinitialize searched source directories
24602 after gdb_start call.
24603
24604 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24605
24606 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24607 * gdb.stabs/Makefile.in: Likewise.
24608
24609 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24610 change. Instead split the tests into smaller pieces.
24611 * gdb.disasm/hppa.s: Corresponding changes.
24612
24613 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24614
24615 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24616 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24617
24618 * gdb.base/funcargs.exp: Modify many tests so that every test
24619 either passes or fails. Make some test names unique.
24620
24621 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24622
24623 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24624 Call stty to set interrupt character.
24625
24626 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24627 for HP assembler versus GNU assembler based on actual behavior of
24628 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24629
24630 * TODO: Suggest a few more stepping tests.
24631
24632 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24633
24634 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24635 restart GDB for h8300 after a continue.
24636 (return): Add pattern to match a29k-udi behavior.
24637 * gdb.base/nodebug.exp: Remove obsolete comment.
24638 * gdb.base/regs.exp: New file, testing of register displays.
24639 * gdb.base/return.exp: Fix typo in reference to $objdir.
24640 * gdb.base/whatis.exp: Always start with a fresh GDB.
24641
24642 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24643
24644 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24645 higher, these tests generate a lot of output.
24646
24647 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24648
24649 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24650 code following the catch silently ignored some errors; without the
24651 catch they should be thrown like any other tcl error. Also, the
24652 catch used "" instead of {} which meant all the callers who wanted
24653 to include one of the characters "[]$ had to quote it an extra time.
24654 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24655 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24656 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24657 Remove extra quoting.
24658
24659 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24660
24661 * gdb.base/commands.exp: Make test names unique; every test either
24662 passes or fails. Update some comments.
24663
24664 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24665
24666 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24667
24668 The following fixes a FAIL caused by the fact that the alpha stabs
24669 configuration didn't use the ".if alpha" code in weird.def.
24670 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24671 bit pointer, so the 32 bit version works even on the alpha.
24672 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24673 Remove the stuff which allowed us to have separate versions for
24674 alpha and everything else.
24675
24676 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24677 regexp which "info func operator\[\](" is supposed to match. Fix
24678 string to send to GDB. Note that GDB still doesn't work right. Add a
24679 new test for "info func .perator\[\](" which GDB does handle correctly.
24680
24681 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24682
24683 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24684
24685 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24686 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24687 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24688 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24689 it makes the tests harder to understand and confuses test-o-matic.
24690 The preferred style is that each test provides a PASS or a FAIL,
24691 and has a unique message (e.g. "continue #54" not just "continue")
24692 which is the same for the pass and the fail.
24693 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24694 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24695 to lib/gdb.exp.
24696 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24697 prt_accept which was basically the same thing. Likewise for
24698 test_print_reject and prt_reject.
24699 * lib/gdb.exp (test_print_reject): Add some more error message
24700 patterns to match from the former printcmds.exp (prt_reject).
24701 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24702 One defect of the passcount stuff is that some of it failed to
24703 report XPASS where appropriate.
24704 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24705 stuff before and after arg in expected pattern.
24706 (test_paddr_operator_functions): Re-do test without print_addr_of;
24707 this is the only test which seems to want extra stuff there.
24708
24709 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24710
24711 * gdb.base/nodebug.exp: Update new tests to reflect improved
24712 wording of gdb output.
24713
24714 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24715 and "ptype" work on variables in files compiled without -g.
24716 Replaces commented out "maint print msymbol" tests.
24717
24718 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24719
24720 * gdb.base/setvar.c (dummy): Call malloc.
24721
24722 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24723 losing with the irix4 sed.
24724
24725 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24726 ALRM" on irix4.
24727
24728 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24729
24730 * TODO: Remove items about corefile.exp testing new exec-file and
24731 backtrace; both are now done. Add items about printing enums.
24732
24733 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24734
24735 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24736 "get signal $thissig" test fails.
24737
24738 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24739
24740 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24741
24742 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24743 compiler warning with dec alpha compiler.
24744
24745 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24746 extra \n from gdb_test call (this explains why the prompt test
24747 that I removed yesterday was there).
24748 (user_defined_command_test): Remove extra \n and prompt test.
24749
24750 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24751 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24752 doesn't exist.
24753 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24754 Also remove alpha workaround, which turns out to be because
24755 SIGABRT == SIGLOST.
24756
24757 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24758
24759 * gdb.base/help.exp: Don't test "help show".
24760
24761 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24762
24763 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24764 "set print address" is on.
24765 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24766 pass prompt to gdb_test; gdb_test already looks for the prompt.
24767
24768 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24769
24770 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24771 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24772 was to make sure that gdb can read a core file. But (a) the "read
24773 the corefile" part didn't make it to a1-selftest.exp, we just
24774 delete the corefile after creating it, and (b) we test reading
24775 corefiles in corefile.exp anyway. Also, this test left around a
24776 xgdb process on Solaris.
24777
24778 * gdb.base/corefile.exp: Also test backtrace.
24779
24780 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24781
24782 * gdb.base/commands.exp: Test a simple user defined command with
24783 arguments and if/while statements; verify the full user command is
24784 printed by "show user".
24785
24786 * gdb.base/commands.exp: Test if/while commands as part of a
24787 breakpoint command list; verify they appear in breakpoint
24788 information.
24789
24790 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24791
24792 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24793 than by dividing by zero.
24794
24795 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24796
24797 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24798 performing an inferior call with watchpoints enabled.
24799 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24800 call.
24801
24802 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24803
24804 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24805 of "file" command.
24806
24807 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24808 Add additional pattern for when "int operator int(void);" appears
24809 in a different order.
24810
24811 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24812
24813 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24814
24815 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24816 and "signal" with ".*".
24817
24818 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24819
24820 * TODO: Add note about "handle all nostop".
24821
24822 * gdb.base/{sigall.c, sigall.exp}: New test.
24823 * gdb.base/Makefile.in: Add it.
24824
24825 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24826
24827 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24828 when invoking GDB, suppresses any windowing interface.
24829
24830 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24831
24832 * config/sim-gdb: New file, simulator testing support.
24833
24834 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24835
24836 * gdb.base/interrupt.exp: Test calling func1 twice.
24837
24838 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24839
24840 * gdb.base/list.exp (test_forward_search): Set timeout higher
24841 when we'll be getting lots of output from gdb.
24842
24843 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24844 "init_malloc" to after the expect statement. Run it if that
24845 regexp is taken, but also for two others which happen if source
24846 cannot be found.
24847
24848 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24849
24850 * gdb.base/printcmds.exp: New test, for printing register before
24851 program is running.
24852
24853 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24854
24855 * gdb.base/list.exp: Correct some alternate expect patterns
24856 to reflect changes in list1.c.
24857
24858 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24859
24860 * TODO: Add item regarding large frames.
24861
24862 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24863
24864 * TODO: Remove item about enabling return.exp; it
24865 is enabled. Suggest a few more "return" tests.
24866
24867 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24868
24869 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24870 anonymous unions.
24871
24872 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24873
24874 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24875 and pr-5646.o, so "make" is the same as "make all", not "make
24876 pr-4975.o".
24877
24878 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24879
24880 * gdb.base/list.exp: Adjust expectations to reflect changes in
24881 list1.c.
24882 (test_forward_search): New test proc.
24883 * gdb.base/list1.c (long_line): New function, has long source line.
24884
24885 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24886
24887 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24888 additional line of code that was added.
24889
24890 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24891
24892 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24893 tests so as not to overflow expect's input buffers.
24894 * gdb.disasm/hppa.exp: Corresponding changes.
24895
24896 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24897
24898 Beginnings of template debugging tests.
24899 * gdb.c++/templ-info.cc: New file to test for template
24900 debugging capability of the compiler.
24901 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24902 templ-info.cc.
24903 * gdb.c++/templates.cc: Add explicit template instantiations
24904 to enable compiling with -fno-implicit-templates. Add destructor
24905 and 'value' method to T5 class for template tests.
24906 * gdb.c++/templates.exp: Add testcases for printing of template
24907 types, setting breakpoints on template methods and calling a
24908 template method.
24909
24910 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24911
24912 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24913 branch target since some assemblers (gas-2.5) may emit a
24914 relocation for the branch instead of resolving it in the
24915 assembler.
24916
24917 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24918
24919 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24920 through signal handler.
24921
24922 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24923
24924 * configure.in (*-*-netware): Use config/mt-netware.
24925
24926 * config/mt-netware: New file.
24927 * config/mt-i386-netware: Removed, separate configs for different
24928 netware architectures are no longer needed now that we have
24929 --with-headers.
24930
24931 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24932
24933 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24934 by the recent changes to use ANSI C arithmetic conversions.
24935
24936 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24937
24938 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24939 bug involving using inferior_pid to figure out whether to select a
24940 frame.
24941
24942 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24943
24944 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24945 match the current disassembler output.
24946
24947 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24948
24949 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24950 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24951 types, expect "int" as type of integer values (for now).
24952
24953 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24954
24955 * gdb.base/commands.exp: New tests for if/while commands.
24956
24957 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24958
24959 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24960 by .*, since hex values have different syntax in Chill mode.
24961
24962 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24963
24964 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24965 linefeed from expect pattern for repeated types with indices > 9.
24966
24967 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24968
24969 First part of Fortran test suite.
24970 * gdb.fortran: New directory.
24971 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24972
24973 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24974
24975 * gdb.base/default.exp: Update expect pattern for load command
24976 without arguments.
24977
24978 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24979
24980 * configure.in: Change i386 to i[345]86.
24981 * gdb.base/configure.in: Likewise.
24982 * gdb.c++/configure.in: Likewise.
24983 * gdb.chill/configure.in: Likewise.
24984
24985 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24986
24987 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24988 patterns, since that is not a valid context for comments.
24989
24990 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24991
24992 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24993 repeated types and repeated types with indices > 9.
24994
24995 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24996
24997 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24998 2417; old bug has been fixed.
24999
25000 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25001
25002 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25003 send the newline ourselves instead of assuming gdb_test will do
25004 so when passed an empty input string.
25005
25006 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25007 stabs testcode.
25008
25009 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25010
25011 * lib/gdb.exp (gdb_test): Don't send anything if the first
25012 argument is an empty string. This makes cases where we want to
25013 match output that is already in expect's buffers (for example,
25014 matching a breakpoint after gdb_run_cmd has been called) work
25015 reliably.
25016
25017 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25018
25019 * config/netware.exp: New file.
25020
25021 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25022
25023 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25024 the -B and -L prefixes so we can find the debugging stub.
25025
25026 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25027 there and we are using the gcc from the tree.
25028
25029 * gdb.base/types.c: Removed.
25030
25031 * gdb.base/configure.in: Look for makefile fragments in ../config.
25032 Recognize i386-*-netware.
25033 * gdb.c++/configure.in: Likewise.
25034
25035 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25036
25037 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25038 the correct TCL syntax.
25039
25040 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25041
25042 * gdb.base/opaque.exp: use runto instead of messing around with
25043 breakpoints. Simplify by using gdb_test.
25044
25045 * gdb.base/bitfields.exp: restart between tests on netware targets
25046 because breakpoints aren't relocated after target death. Run
25047 processes to completion.
25048
25049 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25050
25051 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25052
25053 * Makefile.in: Remove extra tabs that confuse some versions
25054 of "make". Use the newly built gdb to test with by default,
25055 rather than the first one in the tester's search path.
25056
25057 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25058
25059 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25060
25061 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25062 condition help.
25063
25064 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25065
25066 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25067
25068 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25069 running.
25070 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25071 * gdb.base/funcargs.exp: Likewise.
25072
25073 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25074 * gdb.base/funcargs.exp: Likewise.
25075
25076 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25077 message is "".
25078
25079 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25080
25081 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25082 return,signals,twice}.exp: Handle non-existant binaries
25083 consistantly.
25084
25085 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25086 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25087 might testing a cross development system.
25088
25089 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25090
25091 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25092 runtest script is relative to ${srcdir}, not ${rootdir}.
25093
25094 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25095
25096 * gdb.base/signals.exp: Allow for optionality of breakpoint
25097 address.
25098
25099 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25100
25101 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25102
25103 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25104
25105 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25106 for size_t definition.
25107 * gdb.c++/templates.cc: Likewise
25108
25109 * config/mt-i386-netware: New file.
25110
25111 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25112 defined.
25113
25114 * gdb.base/Makefile.in: Added support for systems that name core
25115 files by appending "core" to the program name.
25116 * gdb.base/a1-selftest.exp: Likewise.
25117
25118 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25119
25120 * gdb.base/return.exp: Add comment and message for `return double'
25121 test failure on Sparc Solaris.
25122
25123 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25124
25125 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25126
25127 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25128
25129 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25130 from optimizing them away.
25131 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25132 patterns to include default constructors and assignment operators,
25133 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25134 character in the output of the virtual base pointer.
25135
25136 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25137
25138 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25139 expression match in print_addr_of to avoid unintented matches.
25140 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25141 versions up to 2.5.8.
25142
25143 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25144
25145 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25146 included file to run under newer versions of expect.
25147 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25148 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25149 Remove xfail for the virtual table of BDDHookV.
25150
25151 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25152
25153 * lib/gdb.exp (string_to_regexp): Set a default result.
25154 (default_gdb_start): Fix misleading message.
25155
25156 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25157
25158 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25159 Remove all CC, etc definitions.
25160 * config/mt-hpux: New file.
25161 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25162 (CFLAGS, LDFLAGS): Define.
25163 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25164
25165 * Makefile.in (site.exp): Don't insert host_os, etc.
25166 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25167 (distclean): Check existence of subdir.
25168 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25169 * gdb.base/Makefile.in: General cleanup and simplification.
25170 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25171 to build executables. Use default rule to build .o files.
25172 (EXPECT, RUNTEST, CC): Fix relative pathname.
25173 (site.exp): Don't insert host_os, etc.
25174 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25175 and/or SIGUSR1 defined.
25176 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25177 * gdb.c++/Makefile.in: General cleanup and simplification.
25178 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25179 (CFLAGS): Remove.
25180 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25181
25182 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25183
25184 * gdb.base/recurse.exp: Misc changes to get tests running again
25185 after Kung's changes to the watchpoint code.
25186 * gdb.base/watchpoint.exp: Likewise.
25187
25188 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25189
25190 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25191
25192 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25193
25194 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25195 * lib/gdb.exp (default_gdb_start): Define.
25196 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25197 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25198 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25199 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25200 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25201 Don't call gdb_target_udi in between tests.
25202
25203 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25204
25205 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25206 (which was basically just a local version of the same thing). In
25207 addition to avoiding duplication, gdb_test_exact is faster.
25208 * lib/gdb.exp (gdb_test_exact): Fix typo.
25209
25210 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25211 don't give an error.
25212
25213 * gdb.base/term.exp: Call delete_breakpoints before starting.
25214
25215 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25216 (t10): Add comment.
25217
25218 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25219
25220 Reorganization of the GDB Test Suite.
25221
25222 * gdb.base: New directory, contains all the basic tests.
25223 * gdb.c++: New directory, tests specific to C++.
25224 * gdb.chill: New directory, tests specific to Chill.
25225 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25226 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25227 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25228 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25229 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25230 t30-31 to chill).
25231 * */gdbme.*: Rename to match appropriate expect scripts.
25232 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25233 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25234 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25235 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25236 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25237 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25238 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25239 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25240 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25241 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25242 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25243 gdb.c++/virtfunc.cc: New names of C++ files.
25244 * gdb.chill/chillvars.ch: New name of Chill file.
25245 * gdb.base/configure.in, gdb.c++/configure.in,
25246 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25247 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25248 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25249 * configure.in (configdirs): Update to reflect directory changes.
25250 (target_abbrev): No longer define for any configuration.
25251 * Makefile.in: Cosmetic improvements to header comments.
25252
25253 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25254
25255 Various changes to gdb.t31:
25256
25257 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25258 * gdbme.ch: Make all key-words and predefineds be upper-case.
25259 * chillvars.exp: Expect key-words and predefinds in upper-case.
25260
25261 * chillvars.exp: Use gdb_test_exact many places.
25262 Change expected output for arrays (which now includes index labels).
25263
25264 * pr-5020.exp, gdme.ch (module PR_5020):
25265 New test, for PR-5020.
25266
25267 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25268
25269 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25270 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25271
25272 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25273
25274 * Makefile.in: Fix bit-rot in definitions of CHILL,
25275 CHILL_FOR_TARGET and Chill_LIB.
25276 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25277 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25278 CHILL, and CHILL_LIB.
25279
25280 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25281
25282 * Revert the previous changes. Please see Rob's directory
25283 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25284
25285 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25286
25287 * Makefile.in, configure.in, config/mips-gdb.exp,
25288 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25289 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25290 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
25291 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25292 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25293 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25294 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25295 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25296 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25297 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25298 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25299 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25300 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25301 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25302 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25303 changes from 94Q1.
25304
25305 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25306
25307 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25308 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25309 Rob's new testing fragments.
25310
25311 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25312
25313 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
25314 lib/gdb.exp: Replace error proc calls with perror.
25315
25316 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25317
25318 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25319 version also, match on casted version strings, and match on
25320 gdb startup case where the line numbers might be messed up.
25321
25322 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25323
25324 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
25325 (CFLAGS): Delete it from here.
25326
25327 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25328
25329 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25330
25331 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25332
25333 * Makefile.in (RUNTEST): Default to just "runtest".
25334
25335 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25336
25337 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25338 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25339 the code has been restructured.
25340
25341 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25342
25343 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25344 \n, not just one of each.
25345
25346 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25347 /bin/cc gives a warning if you do.
25348
25349 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25350
25351 * gdb.t24/demangle.exp: change expect pattern of
25352 __t10ListS_link1ZUiRCUiPT0
25353
25354 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25355
25356 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25357 on local variables in recursive functions.
25358
25359 * gdb.t07/Makefile.in: Build the new test.
25360
25361 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25362
25363 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25364 directly. Instead compare the return values from actual calls.
25365
25366 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25367
25368 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25369
25370 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25371
25372 * From Peter Schauer with minor modifications.
25373 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25374 stops in mid-line in the caller. Add xfail for returning a float
25375 value on X86 targets.
25376
25377 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25378
25379 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25380 to avoid expect lossage.
25381 (fmem_LRbug_tests): Likewise.
25382 * gdb.disasm/hppa.s: Corresponding changes.
25383
25384 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25385 conditions to work with latest dejagnu/expect.
25386
25387 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25388 expected to fail on the PA.
25389 (backtrace in call with trampolines): Explicitly require main
25390 to be frame #1 (no trampolines should show up in backtrace).
25391
25392 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25393 "continue -expect".
25394 * gdb.t06/break.exp: Likewise.
25395 * gdb.t07/watchpoint.exp: Likewise.
25396 * gdb.t13/bitfields.exp: Likewise.
25397 * gdb.t15/{funcargs,return}.exp: Likewise.
25398 * gdb.stabs/weird.exp: Likewise.
25399 * config/{mips,udi}-gdb.exp: Likewise.
25400
25401 * hppa.sed: Enclose comments within a sed command to avoid
25402 losing with the old OSF1 sed.
25403
25404 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25405
25406 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25407 sequent dynix.
25408 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25409 * gdb.t15/funcargs.exp: Conditionally step again to really
25410 finish from marker_call_with_trampolines. Handle the case where
25411 the first step from within call_with_trampolines already steps
25412 us back to main.
25413 * gdb.t15/gdbme.c: Add comment to closing brace of
25414 call_with_trampolines for funcargs.exp.
25415
25416 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25417
25418 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25419 Fix typo(s).
25420
25421 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25422
25423 * gdb.t07/gdbme.c: More code for watchpoint testing.
25424
25425 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25426 "Hardware watchpoint" throughout file.
25427 (test_watchpoint_triggered_in_syscall): New test.
25428 (test_complex_watchpoint): New test.
25429
25430 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25431
25432 * gdbme.c (call_with_trampolines): New function to try and step
25433 into. Tests trampoline problems on the PA.
25434
25435 * funcargs.exp (localvars_in_indirect_call): No longer expect
25436 stepping into indirect call to fail on PAs.
25437 (test_stepping_over_trampolines): New test.
25438
25439 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25440
25441 * TODO: Add suggestions for static member function tests, and
25442 completion tests.
25443
25444 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25445
25446 * TODO: Add suggestions for "p/a" tests.
25447
25448 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25449 (default_gdb_exit): Replace all the hair with sending "quit" to
25450 the process with a simple close.
25451
25452 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25453
25454 * TODO: Add suggestions for shared library tests.
25455
25456 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25457
25458 * TODO: Add suggestions for x/s tests.
25459
25460 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25461
25462 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25463 "enable once", and "enable breakpoints once" with ".*".
25464
25465 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25466
25467 * TODO: Add suggestions about structure passing tests.
25468
25469 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25470
25471 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25472 the primary1 test, use work around if __GNUC__ < 2.
25473 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25474 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25475 Test for bad output rather than waiting for timeout. Issue
25476 second continue only if first continue failed.
25477
25478 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25479
25480 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25481 operator[] test with gdb_test because the old code didn't seem to
25482 be getting the quoting right with the new dejagnu.
25483
25484 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25485
25486 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25487 one from the path.
25488 * Makefile.in: Use a fresh expect if there is one, use runtest
25489 from the src tree if there is one.
25490
25491 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25492
25493 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25494 next over recursive call. Revise the tests from that point on
25495 (which had been skipped) to match GDB's actual (correct) output.
25496
25497 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25498 with next over a breakpoint whose condition is false.
25499
25500 * gdb.t00/help.exp: Comment out "help set print" tests just like
25501 (and for same reason as) "help set" test.
25502
25503 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25504
25505 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25506 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25507
25508 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25509
25510 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25511 necessary gdb_target_udi.
25512
25513 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25514
25515 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25516 1838 and 2417; they are fixed.
25517
25518 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25519 gdb.t03/ptype.exp (ptype structure, ptype union):
25520 Remove xfails; the test is looser than when the xfails were added.
25521
25522 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25523 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25524
25525 * gdb.t01/run.exp: Only run shell test if isnative.
25526
25527 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25528 since "run" automatically loads if necessary. Call gdb_target_udi
25529 after the "file" since "file" kills any execution target.
25530
25531 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25532 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25533 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25534 argument for UDI.
25535
25536 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25537
25538 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25539
25540 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25541
25542 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25543
25544 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25545 properly quoting regexps. This makes the second argument to
25546 demangle a fixed string, which matches the callers, instead of a
25547 shell-style pattern which is what the previous implementation
25548 used. Update some of the callers.
25549
25550 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25551
25552 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25553 (comib_nullified_tests): Fix typo.
25554 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25555 strings. No longer expected to fail.
25556
25557 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25558 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25559 strings. No longer expected to fail.
25560
25561 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25562 string. No longer expected to fail.
25563
25564 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25565
25566 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25567 No longer expected to fail.
25568
25569 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25570 string. No longer expected to fail.
25571
25572 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25573
25574 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25575 only in the names (I probably got most of them). I was even
25576 generous with some which differed in underscores in names, and
25577 probably missed a few, and I *still* was able to remove almost a
25578 third of the file with almost no impact on testsuite coverage.
25579
25580 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25581
25582 * gdb.t00/default.exp: Match udi_attach error message as well as
25583 the one from child_attach.
25584
25585 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25586
25587 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25588
25589 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25590 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25591
25592 * Move test with enums and partial symbols back to
25593 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25594 Reverts the change of 26 May 93. Per today's change to
25595 stabs.texinfo, the behavior that weird.exp was expecting was
25596 unreasonable; what is important is that the compiler+gdb get
25597 things right, which happens with a recent gcc. Also fix the test
25598 to deal with native compilers which put out the stab gdb can't
25599 deal with.
25600
25601 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25602
25603 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25604 in the names. The main thing these accomplish is to slow things down.
25605 Many more such duplicates surely remain.
25606
25607 * gdb.t00/help.exp: Comment out "help support" test just like
25608 (and for same reason as) "help set" test.
25609
25610 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25611
25612 * gdb.t06/break.exp: Remove setup_xfails for
25613 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25614 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25615 about known bug in gcc to include up through 2.5.8.
25616 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25617 well as "_vb$".
25618 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25619 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25620 with latest gcc and gdb.
25621 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25622 well as "_vb$".
25623
25624 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25625
25626 * configure.in (hppa*-*-*): Also configure and build stabs-only
25627 tests.
25628
25629 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25630
25631 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25632 * gdb.t10/configure.in (hppa*-*-*): Use it.
25633
25634 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25635
25636 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25637
25638 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25639
25640 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25641 versions prior to 1.13.5.
25642
25643 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25644
25645 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25646 the prompt is at the start of a line.
25647
25648 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25649
25650 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25651 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25652 in the copr tests now.
25653 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25654 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25655 expected to fail.
25656
25657 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25658
25659 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25660 gdb.t31/chillvars.exp, lib/gdb.exp:
25661 Tweak to run under either version of expect.
25662 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25663 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25664 * gdb.t11/list.exp: Remove extraneous whitespace.
25665
25666 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25667
25668 * gdb.t16/printcmds.exp (test_print_strings): Accept
25669 "(unsigned char *) " before the string.
25670
25671 * TODO: Add notes about printing of fancy types and GDB expressions.
25672
25673 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25674
25675 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25676 * gdb.t06/configure.in: Don't try to compile signals test program
25677 if doing mips-idt-ecoff.
25678
25679 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25680
25681 * Most .exp files: Tweak to run under either version of expect.
25682
25683 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25684
25685 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25686 xfails; I'm not sure why they are failing, but not because of PR 1806.
25687
25688 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25689
25690 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25691 defined in lib/gdb.exp.
25692
25693 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25694
25695 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25696 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25697 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25698 have to be typeless.
25699
25700 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25701
25702 * TODO: Add suggestion for copyright year test.
25703
25704 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25705
25706 * configure.in (*-*-lynxos*): Add stabs tests.
25707
25708 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25709
25710 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25711 so insert a tab before any assembler directive in column zero.
25712
25713 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25714 stores.
25715 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25716 stores.
25717 (fpu_short_memory_tests): Likewise.
25718
25719 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25720
25721 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25722 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25723 .stabs directives in comments.
25724
25725 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25726
25727 * TODO: New file, describing tests we could write.
25728 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25729
25730 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25731
25732 * gdb.t06/signals.exp: Add kludge to force re-sync.
25733
25734 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25735 to xgdb instead of gdb, get out of gdb.
25736
25737 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25738
25739 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25740 for info.
25741
25742 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25743
25744 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25745 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25746 * gdb.stabs/hppa.sed: New sed script for the PA.
25747
25748 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25749
25750 * gdb.stabs: Re-write weird.def and configuration to use sed
25751 instead of cpp. sed is portable and POSIX; cpp is neither.
25752
25753 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25754
25755 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25756
25757 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25758
25759 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25760
25761 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25762
25763 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25764 "_vb$".
25765 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25766 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25767
25768 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25769
25770 * lib/gdb.exp: Comment out code which depends on non-existent
25771 `transform' procedure.
25772
25773 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25774
25775 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25776 * lib/gdb.exp: Transform tool name.
25777 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25778 1.1's new error handling system.
25779
25780 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25781
25782 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25783
25784 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25785
25786 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25787 They made pattern matching so slow that timeouts happened on
25788 heavily loaded systems. Now any output from "show print" which
25789 gets us back to the GDB prompt is a PASS.
25790
25791 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25792
25793 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25794
25795 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25796
25797 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25798
25799 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25800 It is not from PR 3220.
25801
25802 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25803
25804 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25805 just started failing because they depended on the order the
25806 subcommands are presented, or exact docstring text. This kind of
25807 test is a pain and has minimal benefit.
25808
25809 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25810
25811 * gdb.t09/corefile.exp: At end of test, use "core" command with
25812 no arguments.
25813
25814 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25815
25816 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25817 17}/Makefile.in: Make it possible to run the testsuite with Sun
25818 make and CC = cross gcc by adding explicit build rules for .o
25819 files.
25820
25821 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25822
25823 * gdb.t15/funcargs.exp: Don't put comments on same line as
25824 setup_xfail (@#$*%& tcl braindamage!).
25825
25826 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25827
25828 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25829
25830 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25831
25832 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25833 * gdb.t20/inherit.exp: remove three dumplicate entries.
25834
25835 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25836
25837 * gdb.t06/break.exp: For "next over recursive call", fail on any
25838 incorrect output, not just on "factorial (value=2)".
25839
25840 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25841
25842 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25843 working now. Add an xfail if accesing a bss variable causes
25844 a memory error if the target is not yet run.
25845
25846 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25847
25848 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25849 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25850 name of __st* demangling (2 strings). Did Kung really get the
25851 more than 95 others right without testing them?
25852
25853 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25854
25855 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25856
25857 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25858
25859 * configure.in (configdirs): Add gdb.disasm
25860 * gdb.disasm: New directory for GDB disassembler tests.
25861 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25862
25863 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25864
25865 * gdb.t00/help.exp: Don't test "help set".
25866
25867 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25868 from within expect statements. None of these happen anymore and
25869 they cause regressions to be silently unnoticed.
25870
25871 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25872 messages) about known failures with gcc cygnus-2.4.5-930417.
25873
25874 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25875 comp-info.exp so it gets built if it doesn't exist.
25876
25877 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25878 it is no longer used.
25879 * gdb.t13/comp-info.c: Removed.
25880
25881 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25882
25883 * gdb.t06/signals.exp: Add xfail for sun3.
25884
25885 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25886
25887 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25888 relevant because ^C doesn't get sent but failure can be reproduced
25889 interactively).
25890
25891 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25892
25893 * gdb.stabs/alpha.mt: New configuration file for alpha.
25894 * gdb.stabs/configure.in: Use it.
25895 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25896 sharing with alpha.mt, redefine long to word via preprocessor.
25897 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25898 for alpha.
25899 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25900 native cc.
25901 * gdb.t00/teststrategy.exp: Change expect string so that we
25902 consume the `(xgdb)' from the command echo and from the gdb prompt.
25903 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25904 gdb currently compares all values as long, so this failure probably
25905 applies to any configuration where LONGEST is bigger than a target int.
25906 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25907 with gcc.
25908 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25909 to handle opaque pointers, gcc is.
25910 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25911 as first argument. Include <sys/types.h> and change all operator
25912 new definitions to use size_t.
25913 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25914 now that we use size_t.
25915
25916 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25917
25918 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
25919 a long or float array cast all array members to the same type.
25920 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
25921 with 64 bit longs.
25922 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
25923 on alpha.
25924 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
25925
25926 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25927
25928 * gdb.t24 (demangle.exp): Constructors of templates have names like
25929 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25930 section 14.6 of the ARM.
25931
25932 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25933 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25934 accomplish little and slow down the testsuite.
25935
25936 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25937 Accept spaces various places.
25938
25939 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25940
25941 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25942 with watchpoint enabled.
25943
25944 * Makefile.in: Remove definition of CC and remove the second
25945 definition of CXX (the "CXX = gcc" one remains). These definitions
25946 were causing backquotes to be expanded within backquotes, which
25947 doesn't work.
25948
25949 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25950
25951 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25952
25953 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25954
25955 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25956 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
25957 by mips cc and contains no stabs entries.
25958
25959 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25960
25961 * config/vx-gdb.exp: Use fake device to load files rather than
25962 NFS.
25963 * lib/gdb.exp: New proc to do "file" command.
25964 * config/unix-gdb.exp: Use new "file" proc.
25965
25966 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25967
25968 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25969 Rework board rebooting slightly.
25970 (gdb_exit): Don't exit from the remote shell; there isn't one.
25971 * gdb.stabs/weird.exp: If a program is being debugged already,
25972 kill it.
25973 * gdb.t04/setvar.exp: Stop and restart gdb.
25974 * gdb.t05/expr.exp: Likewise.
25975 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25976 restart gdb and reload the program.
25977 * gdb.t08/opaque.exp: Likewise.
25978 * gdb.t12/scope.exp: Likewise.
25979 * gdb.t13/bitfields.exp: Likewise.
25980 * gdb.t15/funcargs.exp: Likewise.
25981 * gdb.t20/classes.exp: Likewise.
25982 * gdb.t03/ptype.exp: Increase timeout.
25983 * gdb.t16/printcmds.exp (test_print_string_constants,
25984 test_print_array_constants): Likewise.
25985 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25986 * gdb.t20/classes.exp (do_tests): Likewise.
25987 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25988
25989 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25990
25991 * gdb.stabs: Renamed *wierd* to *weird*.
25992
25993 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25994
25995 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25996 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25997
25998 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25999
26000 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26001 (do_tests): Remove xfail for whatis on one_var and two_var.
26002
26003 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26004
26005 * Makefile.in: Made cross building work better by adding
26006 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26007
26008 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26009
26010 * gdb.t15/{return.c,return.exp,Makefile.in}:
26011 New test, currently commented out.
26012
26013 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26014
26015 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26016 still running and removes the leftover named socket so GDb can do
26017 clean restarts.
26018
26019 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26020
26021 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26022 console, not GDB.
26023 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26024 cross testing works better with "make check"
26025 * config/unix-gdb: Use default procedures for exit and version.
26026 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26027 with the newest VxWorks.
26028
26029 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26030
26031 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26032 old form.
26033
26034 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26035 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26036
26037 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26038
26039 * config/unix-gdb.exp: Remove this version of gdb_exit
26040 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26041 Rob says he'll look at it when he gets back to testing boards.
26042
26043 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26044
26045 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26046 an expected fail for certain ptype commands.
26047
26048 * gdb.t20/classes.exp: Update expected results of "ptype class
26049 Base1" to account for the constructor that now appears in the type.
26050
26051 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26052
26053 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26054 disappeared from list.
26055 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26056 "alldone" proc with call to cleanup and exit.
26057 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26058 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26059 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26060 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26061 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26062 "alldone" proc with simple returns that suppress remaining
26063 tests. The alldone proc went away many months ago.
26064
26065 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26066
26067 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26068
26069 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26070
26071 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26072
26073 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26074 as vax gdb will display them.
26075
26076 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26077
26078 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26079 optimizers.
26080
26081 * scope.exp: Change "bad value for localval" messages so each one
26082 is unique.
26083
26084 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26085 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26086
26087 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26088
26089 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26090
26091 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26092 doesn't exist (due to optimization).
26093
26094 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26095
26096 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26097 contains \r because the filename is long.
26098
26099 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26100 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26101
26102 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26103
26104 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26105 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26106 Ultrix.
26107 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26108 int tests.
26109 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26110
26111 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26112
26113 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26114
26115 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
26116 to match does not match the passing case but still matches the
26117 failing case.
26118
26119 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26120
26121 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26122
26123 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26124
26125 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26126 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26127 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26128 Remove various versions of gdb_exit.
26129 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26130 gdb_exit.
26131 * config/unix-gdb.exp: gdb_exit remains here, and should override
26132 the generic version, since it's doing a lot of wierd stuff that
26133 the other versions aren't. FIXME, fold it in, or abandon this
26134 version.
26135
26136 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26137
26138 * gdb.t24/demangle.exp: Add tests for PR 3220.
26139
26140 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26141
26142 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26143
26144 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26145
26146 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26147 "i386-*-*". Works for i486 as well.
26148
26149 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26150 bug, and expand domain of xfail to all SVR4 systems, since the
26151 actual problem is likely to be in generic SVR4 /proc support.
26152
26153 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26154
26155 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26156
26157 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26158
26159 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26160 xfails for other systems. Match a missing 'Continuing.' as an
26161 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26162
26163 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26164 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26165 Only issue warning for missing executables if -all option is used.
26166
26167 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26168 file if -all option is used. It's like an unpredictable XFAIL.
26169
26170 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26171
26172 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26173 for dynamically linked binaries.
26174
26175 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26176
26177 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26178
26179 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26180 to state that this is a known bug in old versions of g++.
26181
26182 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26183
26184 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26185 while waiting for `Continuing'.
26186
26187 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26188
26189 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26190 in text, data, and bss.
26191 * gdb.t10/nodebug.c: Add local and global test variables for
26192 initialized and uninitialized data.
26193
26194 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26195
26196 * config/unix-gdb.exp (gdb_exit): Add "wait".
26197
26198 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26199
26200 * gdb.t06/signals.exp: xfail the continue from the handler for all
26201 targets.
26202
26203 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26204 function with watchpoints enabled, the i386 call dummy starts with
26205 a call.
26206
26207 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26208 386 bsd names its corefiles.
26209
26210 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26211
26212 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26213 compilers don't grok it.
26214 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26215 with small octal ints rather than character constants, which
26216 are signed and might not fit if first promoted to int.
26217
26218 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26219
26220 * gdb.t09/Makefile.in (clean): Remove corefile.
26221
26222 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26223
26224 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26225
26226 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26227 and Jim Kingdon (kingdon@cygnus.com)
26228
26229 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26230 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26231 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26232
26233 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26234
26235 * gdb.t17/interrupt.exp: Add xfail for hppa.
26236
26237 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26238
26239 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26240 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26241 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26242 to determine signed-ness of bitfields and use the result to setup
26243 the xfail.
26244 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26245 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26246 call line is reached if necessary.
26247
26248 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26249
26250 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26251
26252 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26253
26254 * gdb.t06/break.exp: Also test `clear' command.
26255
26256 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26257
26258 * gdb.t00/teststrategy.exp: Remove extra quote.
26259
26260 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26261 watchpoint enabled to be for all non-68k machines.
26262
26263 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26264
26265 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26266
26267 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26268 targets use aout.mt instead of ecoff.mt as gas understands
26269 standard aout format.
26270
26271 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26272
26273 * lib/gdb.exp (runto): Don't insist that function we are running to
26274 was compiled with -g.
26275
26276 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26277
26278 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26279 to get back into the read system call.
26280 Accept leading newline in case where we woke it up.
26281
26282 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26283
26284 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26285 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26286 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26287 enable ecoff configuration.
26288
26289 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26290
26291 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26292
26293 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26294
26295 * gdb.t16/printcmds.exp: Add another printf test.
26296
26297 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26298
26299 * configure.in: If configured -with-stabs on any target, add
26300 stabsdirs to configdirs.
26301
26302 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26303
26304 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26305 fun" so pattern does not match the command itself.
26306
26307 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26308
26309 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26310
26311 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26312
26313 * gdb.t17/interrupt.exp: Test for more things.
26314
26315 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26316
26317 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26318 compiler arranges the code and line numbers.
26319
26320 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26321
26322 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26323
26324 * gdb.t00/help.exp: Increase expect input buffer size.
26325
26326 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26327
26328 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26329
26330 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26331
26332 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26333
26334 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26335 [0-9]*, not just [0-9].
26336
26337 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26338
26339 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26340
26341 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26342
26343 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26344
26345 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26346
26347 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26348
26349 * gdb.t06/signals.c: Add xfails for sun3.
26350
26351 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26352
26353 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26354 test_stepping tests.
26355
26356 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26357
26358 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26359
26360 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26361
26362 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26363 rather than actually putting it through cpp twice.
26364
26365 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26366
26367 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26368
26369 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26370 no longer needed.
26371
26372 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26373
26374 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26375
26376 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26377 C++ features prints as "struct", make it a pass, not an xfail.
26378
26379 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26380
26381 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26382 Don't require VA to print as "class" rather than "struct".
26383
26384 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26385
26386 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26387
26388 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26389
26390 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26391
26392 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26393
26394 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26395 order.
26396
26397 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26398
26399 * gdb.t16/printcmds.exp: Add printf tests.
26400
26401 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26402
26403 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26404
26405 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26406
26407 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26408 pass counts, to counteract any existing or future setup_xfails.
26409
26410 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26411
26412 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26413 {BEGIN,END}_COMMON for common block instead of STAB.
26414 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26415
26416 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26417 intp_var should be N_GSYM not N_LSYM.
26418 wierd-aout.S: Use a label for the value of the N_SO.
26419 wierd.def: Remove all backslashes.
26420 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26421
26422 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26423
26424 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26425 get the expected next to inheritance3.
26426
26427 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26428
26429 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26430 now that gcc-2.4 gets it right.
26431
26432 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26433
26434 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26435
26436 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26437 generating comp-info.exp which works for cross-compilation.
26438
26439 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26440
26441 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26442 "*-*-sysv4.*".
26443
26444 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26445
26446 * gdb.t01/run.exp: Start with a fresh gdb.
26447 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26448 SVR4.x.
26449
26450 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26451
26452 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26453 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26454 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26455 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26456 things to remove.
26457
26458 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26459
26460 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26461 test cases from bug reports.
26462
26463 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26464
26465 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26466 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26467 avoid spurious xfails.
26468 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26469 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26470 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26471
26472 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26473
26474 * gdb.t00/teststrategy.exp: Rework to provide more useful
26475 description of each test, fix problem with systems that define
26476 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26477 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26478 results for "next over recursive call" so timeouts aren't taken
26479 by error.
26480
26481 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26482
26483 * gdb.t12/scope.exp: Test printing of variables before run.
26484
26485 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26486 printed in wrong order due to sorting.
26487
26488 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26489
26490 * gdb.t00/teststrategy.exp: Fix expected results for printing
26491 user entered string constant. Is array of char, prints with no
26492 address.
26493
26494 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26495 commands.
26496 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26497 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26498 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26499 of struct of char arrays.
26500 * gdb.t00/radix.exp: New tests for radix commands.
26501
26502 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26503
26504 * gdb.t16/printcmd.exp: Print a variable before running program
26505 (with xfail for AIX).
26506
26507 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26508
26509 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26510
26511 * gdb.t16/printcmd.exp: Don't print variables before running program.
26512
26513 * gdb.t06/break.exp: Don't require envp argument to main.
26514
26515 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26516
26517 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26518 Add xfails for rs6000.
26519
26520 * gdb.t02/whatis.exp: Change other tests not to re-test something
26521 we already tested.
26522
26523 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26524 each type used has a variable of that type.
26525
26526 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26527
26528 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26529
26530 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26531
26532 * configure.in: change srctrigger to be a file, not a directory
26533
26534 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26535
26536 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26537
26538 * gdb.t11/list.exp: Fixed a couple of typos.
26539
26540 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26541
26542 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26543 is fixed and PR is closed.
26544 * gdb.t16 (gdbme.c): Add simple test string variable.
26545 * gdb.t16 (printcmds.exp): Add tests with simple test string
26546 variable, primarily for boundaries on "set print elements".
26547
26548 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26549
26550 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26551 Make leading 0's optional and don't expect a tab in the middle
26552 of the number.
26553
26554 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26555
26556 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26557 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26558 don't end command passed to gdb_test with newline.
26559
26560 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26561 signed keyword away, don't expect signed bitfields to be signed.
26562
26563 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26564 printing with only as many 1's as are in the field as well as printing
26565 with 32 1's (see comment).
26566
26567 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26568
26569 * gdb.t00/default.exp: Start with a fresh gdb.
26570 * configure.in (configdirs): Remove gdb.t31 until the chill
26571 compiler works again. It no longer is able to find chillrt0
26572 since it isn't in libchill.a anymore.
26573 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26574 wierd.o, make more modular.
26575 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26576 spurious newlines that caused problems.
26577
26578 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26579
26580 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26581 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26582 gdb.stabs/wierd.{exp,def}: Many new tests.
26583
26584 * gdb.t00/default.exp: update info line for new message.
26585
26586 * gdb.t02/{whatis.exp,gdbme.c}:
26587 Test that "char *" doesn't print as "caddr_t".
26588
26589 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26590
26591 * gdb.t00/help.exp: Use .* in place of some help messages which
26592 just changed.
26593 gdb.t00/default.exp: Update "info frame" test for new message.
26594 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26595 Remove some xfails
26596
26597 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26598
26599 * gdb.t03/{gdbme.c,ptype.exp}:
26600 Add tests for typedef'd struct and union without tags.
26601 Also check "whatis" on a variable of a typedef'd enum without a tag.
26602
26603 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26604 PRMS 1823; the bug still exists but isn't reproduced by this test
26605 anymore), and remove rs6000 XFAIL (the bug is fixed).
26606
26607 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26608 duplicated from whatis.exp. For those that are left, accept
26609 "long", "long int", or "int" for long variables (whatis.exp already
26610 has an XFAIL for "int", so no need to fail it here).
26611
26612 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26613 Deal with GCC's names for types now that GDB uses the compiler's names.
26614
26615 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26616 setup_xfail's for sunos4. If we #defined the signed keyword away,
26617 don't expect GDB to know that char it is signed.
26618
26619 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26620
26621 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26622
26623 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26624 should work on any system, regardless of debugging format.
26625 * gdb.t21/demangle.exp: Move to gdb.t24.
26626 * gdb.t24/demangle.exp: Move from gdb.t21.
26627 * gdb.t24/{Makefile.in, configure.in}: New files.
26628
26629 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26630
26631 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26632 * gdb.stabs: New directory.
26633
26634 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26635
26636 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26637 not just "Quit anyway?".
26638
26639 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26640
26641 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26642 that all setup_xfails are immediately followed by clear_xfails.
26643
26644 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26645
26646 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26647 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26648 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26649 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26650 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26651 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26652 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26653 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26654 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26655 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26656 gdb.t31/chillvars.exp, lib/gdb.exp:
26657 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26658 bug-gdb@prep.ai.mit.edu.
26659
26660 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26661
26662 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26663 with 0.0, not integer 0.
26664
26665 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26666
26667 * gdb.t06/break.exp: Update for "Kill the program" message change.
26668
26669 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26670
26671 * Makefile.in (GDBFLAGS): Set to -nx.
26672 * Makefile.in (site.exp): Use GDBFLAGS.
26673
26674 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26675
26676 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26677 Makefiles.
26678 (check): depend on just-check.
26679 (just-check): added so that tests can be run without a noop
26680 build pass.
26681
26682 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26683
26684 Switch to using configure's configdirs.
26685 * Makefile.in (Makefile): add configure.in dependency.
26686 (SUBDIRS): removed redundant assignment.
26687 * configure.in: switch subdirs assignment to configdirs.
26688 * gdb.t*/configure.in: new files.
26689
26690 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26691
26692 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26693 works.
26694
26695 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26696
26697 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26698 in explicit rules. Apparently this is not supported by some makes.
26699
26700 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26701
26702 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26703
26704 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26705
26706 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26707 disappeared.
26708
26709 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26710
26711 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26712
26713 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26714
26715 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26716 watchpoint problem that is now fixed.
26717 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26718 uninitialized convenience variables.
26719 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26720 structures.
26721
26722 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26723
26724 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26725 which causes expect to get out of sync with gdb on long output
26726 from help set.
26727 * gdb.t09/corefile.exp: Make expected pattern for core file
26728 failing signal and frame output format less sun specific.
26729
26730 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26731
26732 * gdb.t31/chillvars.exp: Add and remove initial dummy
26733 breakpoint, so that symbol table is forced in.
26734 (Needed at least on Sunos4, though it seems not SVR4.)
26735 * gdb.t31/chillvars.exp: Update for changed output format.
26736
26737 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26738
26739 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26740
26741 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26742
26743 * Makefile.in: Added --srcdir when invoking runtest, removed the
26744 need for a local config file. (optional now)
26745
26746 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26747
26748 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26749 failure count used to force early termination. Add some more
26750 expected failures for gnu style demangling.
26751
26752 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26753
26754 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26755 pmi variable from gdb.t20/gdbme to get optimized away.
26756 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26757 Check for written corefile upon timeout _and_ eof.
26758
26759 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26760
26761 * config/unix-gdb.exp: Add missing return 0.
26762
26763 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26764
26765 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26766 test termination.
26767
26768 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26769
26770 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26771 disappeared.
26772
26773 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26774
26775 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26776 time as i860 support works.
26777
26778 * gdb.t15/funcargs.exp: Fix expected outputs to include
26779 "backtrace 100\r" rather than just "backtrace\r", to match last
26780 change.
26781
26782 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26783
26784 * config/udi-gdb.exp (gdb_exit): Remove close command.
26785 (gdb_target_udi): New procedure to set the UDI target.
26786 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26787 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26788 Added waits for prompts after several question responses. Added
26789 some more responses used by a29k-amd-udi-gdb.
26790 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26791 pass different arguments, restart UDI connection after program
26792 completion.
26793 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26794 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26795 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26796 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26797 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26798 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26799 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26800 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26801 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26802 after program completion.
26803 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26804 compiled with a SELECT_VECS setting.
26805 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26806 infinite recursion.
26807
26808 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26809 Added checks for COFF results, and made them expected failures for
26810 all targets. It would be better to make them expected failures
26811 for COFF targets only.
26812
26813 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26814
26815 * Makefile.in: add null dvi target, don't bother to recurse
26816 through test directories for info and install-info; rename
26817 $(datadir) to be dejagnu instead of deja-gnu
26818
26819 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26820
26821 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26822 compiler to coredump.
26823 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26824 code.
26825
26826 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26827
26828 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26829 coredump.
26830 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26831 code.
26832
26833 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26834
26835 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26836 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26837 which in a shell. Deletes xgdb when done.
26838 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26839 Tests the return from the "set height" or "set width" commands.
26840 Added a few return codes where needed.
26841
26842 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26843
26844 * Makefile.in (SUBDIRS): Add gdb.t17.
26845 * configure.in (subdirs): Add gdb.t17.
26846 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26847 files to test gdb's calling of functions in the inferior with
26848 the correct arguments and gdb's ability to retrieve any
26849 result returned.
26850
26851 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26852
26853 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26854 may be called after gdb goes away. Previous versions of expect
26855 needed these to avoid file descriptor leaks, but they cause
26856 errors with the current revision of expect.
26857 * gdb.t00/gdbvars.exp: Use -re on expected output after
26858 setting sevenbit-strings.
26859 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26860 to set sevenbit-strings consistent across tests.
26861 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26862 set sevenbit-strings consistent across tests.
26863
26864 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26865
26866 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26867 expected output to match current "expect" expectations.
26868
26869 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26870
26871 * gdb.t00/default.exp: Change expected output for default "source"
26872 command, to match new gdb behavior which requires a filename to
26873 source.
26874
26875 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26876
26877 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26878 expected fail for i486-*-* that misses the marker2 function.
26879 * gdb.t10/crossload.exp (bfddefault): Allow successful
26880 recognition of a format to pass even if no symbols are found.
26881 Explicitly catch failures where the format is not recognized
26882 or is ambiguous, and add the reason to the fail message.
26883 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26884 the cause is and invalid target and add reason to failure message.
26885 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26886 elf32-i386, elf32-sparc, and elf32-i860.
26887 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26888 Set up expected failure for 'filename'::variable scope resolution,
26889 which is now apparently broken on all targets.
26890 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26891 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26892 gdb.t23/templates.exp: Change failure for missing binfile into
26893 just a warning.
26894 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26895 references.
26896
26897 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26898
26899 * gdb.t00/default.exp: Add expected output for default "source"
26900 command, to match new gdb behavior.
26901 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26902
26903 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26904
26905 * config/*-gdb.exp: returns an error, rather than exiting on
26906 internal errors.
26907
26908 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26909
26910 * gdb.t03/gdbme.c: Add pointer to struct variable.
26911 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26912 referencing struct members.
26913
26914 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26915
26916 * configure.in (mips-idt-ecoff): New target.
26917 * config/mips-gdb.exp: New file for remote board using MIPS remote
26918 debugging protocol.
26919
26920 * Redid configuration scheme. Removed gdb.t*/configure.in.
26921 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26922 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26923 distclean targets. Built executables via .o files. Adjusted
26924 tests to account for source files in $(srcdir) rather than
26925 $(objdir).
26926 * lib/gdb.exp (runto): Don't expect () after the function name,
26927 because it may have arguments.
26928
26929 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26930
26931 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26932 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26933 expected failures for mips-idt-* and mips-sgi-*.
26934 * gdb.t00/default.exp (attach): Kill process if requested.
26935 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26936 that does not read core files.
26937 * gdb.t01/run.exp: Removed checks for exit status code.
26938 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26939 it is linked in.
26940 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26941 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26942 appropriate, rather than doing it by hand.
26943 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26944 execution.
26945 * gdb.t10/crossload.exp: Kill existing program if needed.
26946 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26947 appropriate, rather than doing it by hand. Always increase
26948 timeout for this test, not just for VxWorks.
26949
26950 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26951
26952 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26953 of Chill STRUCT types and STRUCT values.
26954 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26955 than "char".
26956 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26957 struct2): New struct definitions and initializations to test
26958 simple Chill STRUCT types.
26959
26960 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26961
26962 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26963 the null byte at the end of strings.
26964 * gdb.t00/default.exp: Make show version insensitive to copyright
26965 date.
26966 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26967 to avoid dependencies on target char signedness.
26968 * gdb.t16/printcmds.exp: Update expected results for explicitly
26969 unsigned char.
26970 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26971 now work.
26972 * gdb.t21/demangle.exp: Add many more patterns for template
26973 demangling, most of them being expected failures.
26974 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26975 string we are matching for, to match on the whole string.
26976 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26977 and fix a whole bunch that had incorrect expected output but were
26978 passing anyway because of the bug in "proc demangle".
26979 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26980 type.
26981 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26982
26983 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26984
26985 * gdb/testsuite: made modifications to testcases, etc., to allow
26986 them to work properly given the reorganization of deja-gnu and the
26987 relocation of the testcases from deja-gnu to a "tool" subdirectory.
26988
26989 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26990
26991 * gdb/testsuite: Initial creation of gdb/testsuite.
26992 Migrated dejagnu testcases and support files for testing nm to
26993 gdb/testsuite from deja-gnu. These files were moved "as is"
26994 with no modifications. This migration is part of a major overhaul
26995 of dejagnu. The modifications to these testcases, etc., which
26996 will allow them to work with the new version of dejagnu will be
26997 made in a future update.
26998
26999 For additional changes see gdb.mi/ChangeLog-1999-2003.
27000 \f
27001 ;; Local Variables:
27002 ;; mode: change-log
27003 ;; left-margin: 8
27004 ;; fill-column: 74
27005 ;; version-control: never
27006 ;; End:
27007
27008 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
27009 Copying and distribution of this file, with or without modification,
27010 are permitted provided the copyright notice and this notice are preserved.
This page took 0.575433 seconds and 5 git commands to generate.