gdb/gdbserver:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c03e6ccc
YQ
12012-02-29 Yao Qi <yao@codesourcery.com>
2 Pedro Alves <palves@redhat.com>
3
4 * gdb.trace/trace-mt.c: New.
5 * gdb.trace/trace-mt.exp: New.
6
7964b62a
TS
72012-02-28 Thomas Schwinge <thomas@codesourcery.com>
8
2c8910ba
TS
9 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
10 numbers instead of hardcoding them.
11 * gdb.base/annota1.c: Provide suitable markers.
12 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
13 numbers instead of hardcoding them.
14 * gdb.base/annota3.c: Provide suitable markers.
15
16 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
17 * gdb.base/annota3.c: Likewise.
18 * gdb.base/sigall.c: Likewise.
19 * gdb.base/signals.c: Likewise.
20 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 21
5a41c0b7
MR
222012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
23
24 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
25 failure return path.
26
ebbbe5c5
LM
272012-02-27 Luis Machado <lgustavo@codesourcery.com>
28
29 * gdb.base/save-bp.exp: Account for new condition evaluator output.
30
8d126d8a
LM
312012-02-24 Luis Machado <lgustavo@codesourcery.com>
32
33 * gdb.base/cond-eval-mode.exp: New file.
34
11337c2f
PA
352012-02-24 Pedro Alves <palves@redhat.com>
36
37 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
38 (top level): Use with_test_prefix.
39
13fc3e3c
PA
402012-02-24 Pedro Alves <palves@redhat.com>
41
42 * gdb.threads/attach-into-signal.exp (corefunc): Use
43 with_test_prefix.
44
07c1b626
JK
452012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 Fix false FAILs on old CPUs without SSE.
48 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
49 Return untested for Illegal instruction.
50
596ba138
JK
512012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 Fix false FAILs with glibc debug infos installed.
54 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
55 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
56
aeaa2474
SA
572012-02-22 Sterling Augustine <saugustine@google.com>
58
59 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
60 constant with cast.
61
aed555c9
PA
622012-02-21 Pedro Alves <palves@redhat.com>
63
64 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
65
78afebb4
PA
662012-02-21 Pedro Alves <palves@redhat.com>
67
68 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
69
fdcfef12
PA
702012-02-21 Pedro Alves <palves@redhat.com>
71
72 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
73 with_test_prefix.
74
0f4d39d5
PA
752012-02-21 Pedro Alves <palves@redhat.com>
76
77 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
78 with_test_prefix here.
79 (top level): Do it here instead. Remove `:' from the
80 with_test_prefix string.
81 * gdb.base/attach-pie-misread.exp: Remove the leading space the
82 the suffix `:' from the with_test_prefix prefix string.
83 * gdb.base/break-interp.exp: Ditto.
84 * gdb.base/catch-load.exp: Ditto.
85 * gdb.base/disp-step-syscall.exp: Ditto.
86 * gdb.base/jit-so.exp: Ditto.
87 * gdb.base/jit.exp: Ditto.
88 * gdb.base/sepdebug.exp: Ditto.
89 * gdb.base/solib-display.exp: Ditto.
90 * gdb.base/solib-overlap.exp: Ditto.
91 * gdb.base/watch-cond-infcall.exp: Ditto.
92 * gdb.base/watchpoint.exp: Ditto.
93 * gdb.dwarf2/dw2-noloc.exp: Ditto.
94 * gdb.mi/mi-watch.exp: Ditto.
95 * gdb.mi/mi2-watch.exp: Ditto.
96 * gdb.threads/non-ldr-exc-1.exp: Ditto.
97 * gdb.threads/non-ldr-exc-2.exp: Ditto.
98 * gdb.threads/non-ldr-exc-3.exp: Ditto.
99 * gdb.threads/non-ldr-exc-4.exp: Ditto.
100 * gdb.threads/watchpoint-fork.exp: Ditto.
101 * gdb.threads/watchthreads-reorder.exp: Ditto.
102 * gdb.trace/change-loc.exp: Ditto.
103 * gdb.trace/pending.exp: Ditto.
104 * gdb.trace/status-stop.exp: Ditto.
105 * gdb.trace/strace.exp: Ditto.
106 * gdb.trace/trace-break.exp: Ditto.
107 * gdb.trace/unavailable.exp: Ditto.
108 * lib/gdb.exp (with_test_prefix): Always prefix with space and
109 suffix with colon. Adjust leading comments.
110
6a5870ce
PA
1112012-02-21 Pedro Alves <palves@redhat.com>
112 Tom Tromey <tromey@redhat.com>
113
114 * lib/gdb.exp: Add description of test prefixes.
115 (with_test_prefix): New procedure.
116 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
117 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
118 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
119 instead of lappend to append to pf_prefix.
120 * gdb.base/catch-load.exp: Use with_test_prefix.
121 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
122 * gdb.base/jit-so.exp: Use with_test_prefix.
123 * gdb.base/jit.exp: Use with_test_prefix.
124 * gdb.base/return-nodebug.exp (do_test): Use append instead of
125 lappend to append to pf_prefix.
126 * gdb.base/sepdebug.exp: Use with_test_prefix.
127 * gdb.base/solib-display.exp: Use with_test_prefix.
128 * gdb.base/solib-overlap.exp: Use with_test_prefix.
129 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
130 * gdb.base/watchpoint.exp: Use with_test_prefix.
131 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
132 * gdb.mi/mi-watch.exp: Use with_test_prefix.
133 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
134 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
135 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
136 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
137 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
138 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
139 append instead of lappend to append to pf_prefix.
140 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
141 * gdb.trace/change-loc.exp: Use with_test_prefix.
142 * gdb.trace/pending.exp: Use with_test_prefix.
143 * gdb.trace/status-stop.exp: Use with_test_prefix.
144 * gdb.trace/strace.exp: Use with_test_prefix.
145 * gdb.trace/trace-break.exp: Use with_test_prefix.
146 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
147 instead of lappend to append to pf_prefix.
148
35dc4a6b
JK
1492012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
150
151 Fix racy FAILs.
152 * gdb.base/inferior-died.c (main): Add return of 0.
153 * gdb.base/inferior-died.exp (continue): Fix expectation of
154 asynchronous events.
155 (p 1): New test.
156
c5a006e6
PA
1572012-02-20 Pedro Alves <palves@redhat.com>
158
159 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
160 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
161 gdb's internal debug output. For the non-threaded case, look for
162 "Program received signal SIGLARM", for the threaded case, peek at
163 the thread's siginfo.
164
cc51a170
PA
1652012-02-20 Pedro Alves <palves@redhat.com>
166
167 General cleanup, make output test messages unique, and build
168 different executable files for the non-threaded and threaded
169 cases.
170
171 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
172 Delete.
173 (executable_nothr, executable_thr): New globals.
174 (top level): Adjust to delete both executables.
175 (corefunc): New parameter $executable. Set $pf_prefix instead of
176 hand writing a prefix in tests. Issue a clean_restart and enable
177 lin-lwp debug output here.
178 (top level): Adjust. Use build_executable. Don't start gdb here,
179 and don't enable lin-lwp debug output here.
180 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
181
c755f03d
JK
1822012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 Fix racy FAILs.
185 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
186 "continue" command.
187
6bec5e0a
JK
1882012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
189
190 Fix for gdbserver non-extended mode.
191 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
192 and gdb_run_cmd.
193
2e8265fd
TT
1942012-02-17 Tom Tromey <tromey@redhat.com>
195
196 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
197 * gdb.python/py-events.exp: Check 'dir' output.
198 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
199
9e507076
YQ
2002012-02-17 Yao Qi <yao@codesourcery.com>
201
202 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
203
32d22ab1
TT
2042012-02-16 Tom Tromey <tromey@redhat.com>
205
206 * gdb.base/inferior-died.c: Don't include stdio.h.
207
9addecb9
TT
2082012-02-16 Tom Tromey <tromey@redhat.com>
209
210 * gdb.base/inferior-died.c: New file.
211 * gdb.base/inferior-died.exp: New file.
212
4cb6da1c
AR
2132012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
214
215 * gdb.base/break-inline.exp: New file.
216 * gdb.base/break-inline.c: New file.
217
3af2590d
TT
2182012-02-15 Tom Tromey <tromey@redhat.com>
219
220 * gdb.base/pc-fp.exp: Add "info register" tests.
221
29988831
TT
2222012-02-15 Tom Tromey <tromey@redhat.com>
223
224 * gdb.base/regs.exp: Remove.
225
10010058
PA
2262012-02-15 Pedro Alves <palves@redhat.com>
227
228 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
229 the target doesn't support tracepoints.
230 * gdb.trace/circ.exp: Ditto.
231 * gdb.trace/collection.exp: Ditto.
232 * gdb.trace/packetlen.exp: Ditto.
233 * gdb.trace/passc-dyn.exp: Ditto.
234 * gdb.trace/report.exp: Ditto.
235 * gdb.trace/tfind.exp: Ditto.
236 * gdb.trace/tspeed.exp: Ditto.
237 * gdb.trace/tsv.exp: Ditto.
238 * gdb.trace/unavailable.exp: Ditto.
239 * gdb.trace/while-dyn.exp: Ditto.
240
a2e0062d
PA
2412012-02-15 Pedro Alves <palves@redhat.com>
242
243 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
244 gdb_test_multiple, and call unsupported instead of fail, if the
245 remote side does not support the request.
246
a1999d40
PA
2472012-02-15 Pedro Alves <palves@redhat.com>
248
249 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
250 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
251 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
252 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
253 * gdb.server/server-run.exp: Make sure gdb is disconnected.
254 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
255 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
256 doesn't start with "extended-" already.
257
7cee1e54
PA
2582012-02-15 Pedro Alves <palves@redhat.com>
259
260 Support extended-remote. Avoid cascading timeouts.
261
262 * gdb.base/attach.exp (do_attach_tests): Add expected output for
263 the extended-remote target. If attaching with no file fails, load
264 the file manually.
265 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
266
816338b5
SS
2672012-02-14 Stan Shebs <stan@codesourcery.com>
268
269 * gdb.base/ena-dis-br.exp: Add enable count test.
270
cc30c4bd
PA
2712012-02-13 Pedro Alves <palves@redhat.com>
272
273 * config/mips-idt.exp: Delete.
274 * gdb.base/a2-run.exp: Remove mips-idt xfails.
275 * gdb.base/bitfields.exp: Remove mips-idt restarts.
276 * gdb.base/break.exp: Remove mips-idt references.
277 * gdb.base/chng-syms.exp: Ditto.
278 * gdb.base/default.exp: Ditto.
279 * gdb.base/funcargs.exp (funcargs_reload): Delete.
280 (top level): Don't call it.
281 * gdb.base/opaque.exp: Remove mips-idt restarts.
282 * gdb.base/ptype.exp: Remove mips-idt xfails.
283 * gdb.base/scope.exp: Remove mips-idt restarts.
284 * gdb.base/sepdebug.exp: Remove mips-idt references.
285 * gdb.base/watchpoint.exp (maybe_clean_restart)
286 (maybe_reinitialize): Delete.
287 (test_disabling_watchpoints, test_disabling_watchpoints)
288 (test_watchpoint_triggered_in_syscall)
289 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
290 Don't call them.
291
57008375
JK
2922012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 * gdb.server/server-exec-info.exp: New file.
295
4a2d9c08
PA
2962012-02-10 Pedro Alves <palves@redhat.com>
297
298 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
299 always non-empty.
300 (test_attach): Always pass $exec to test_attach_gdb.
301
09fa21bd
TT
3022012-02-08 Tom Tromey <tromey@redhat.com>
303
304 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
305 before inferior is started.
306
f0823d2c
TT
3072012-02-07 Tom Tromey <tromey@redhat.com>
308
309 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
310 Symbol.value.
311 * gdb.python/py-symbol.c (qq): Set default value.
312
3132012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
314
315 * gdb.python/py-symbol.c (qq): New global.
316 * gdb.python/py-symbol.exp: Add test for frame-less
317 lookup_symbol.
318 * gdb.python/py-symtab.exp: Fix line number.
319
f7e44f65
JB
3202012-02-03 Joel Brobecker <brobecker@adacore.com>
321
322 * gdb.ada/mi_task_arg: New testcase.
323
4c9ed63c
PA
3242012-02-02 Pedro Alves <palves@redhat.com>
325
326 * gdb.reverse/until-precsave.exp: Also put "record save" under the
327 extended timeout.
328
c0b9f2c6
PA
3292012-02-02 Pedro Alves <palves@redhat.com>
330
331 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
332 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
333
5f8cefd7
PA
3342012-02-02 Pedro Alves <palves@redhat.com>
335
336 * gdb.base/term.exp: Rewrite.
337 * gdb.base/term.c: New.
338
2f3a2569
PA
3392012-02-02 Pedro Alves <palves@redhat.com>
340
341 * gdb.base/default.exp (run "r" abbreviation, run): Add
342 extended-remote expected output.
343
f149aabd
TT
3442012-02-02 Tom Tromey <tromey@redhat.com>
345
346 * gdb.cp/dispcxx.exp: New file.
347 * gdb.cp/dispcxx.cc: New file.
348
03bef283
TT
3492012-02-01 Tom Tromey <tromey@redhat.com>
350
351 * gdb.base/jit-simple.exp: New file.
352 * gdb.base/jit-simple.c: New file.
353
a79b18b5
YQ
3542012-01-30 Yao Qi <yao@codesourcery.com>
355
356 * gdb.base/skip.exp: Make test result unique.
357
f0d1a53e
JK
3582012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
359
360 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
361 compatibility with valgrind-3.7.0.
362
4b3c9f41
PA
3632012-01-27 Pedro Alves <palves@redhat.com>
364
365 * gdb.base/watchpoint.exp (no_hw): New global.
366 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
367 disable hw watchpoints.
368 (test_wide_location_1, test_wide_location_2): If no_hw is set,
369 don't expect hw watchpoints.
370 (no_hw_watchpoints): Always clean restart.
371 (do_tests): New procedure, factored out from the top level.
372 (top level): Run tests twice. Once with hw watchpoints enabled,
373 another time with hw watchpoints disabled.
374
a13491c8
PA
3752012-01-27 Pedro Alves <palves@redhat.com>
376
377 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
378 out from the top level.
379 (top level): Call it instead.
380
f2c8a051
PA
3812012-01-27 Pedro Alves <palves@redhat.com>
382
383 * gdb.base/watchpoint.exp (top level): Re-enable hardware
384 watchpoints sooner.
385
654d7a9e
PA
3862012-01-27 Pedro Alves <palves@redhat.com>
387
388 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
389
274f47f3
PA
3902012-01-27 Pedro Alves <palves@redhat.com>
391
392 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
393 "You may have requested too many hardware
394 breakpoints/watchpoints".
395
e4d63ba2
PA
3962012-01-27 Pedro Alves <palves@redhat.com>
397
398 * gdb.base/watchpoint.exp (maybe_clean_restart)
399 (maybe_reinitialize): New.
400 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
401 expect "hit N times".
402 (test_disabling_watchpoints, test_complex_watchpoint)
403 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
404 Call maybe_clean_restart.
405 (top level): Use clean_restart. Remove "mips-idt-*"
406 reinitialization.
407
dbd95daf
PA
4082012-01-27 Pedro Alves <palves@redhat.com>
409
410 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
411
f3ad2025
PA
4122012-01-27 Pedro Alves <palves@redhat.com>
413
414 * gdb.base/watchpoint.exp: Clean restart after tests that don't
415 require `initialize' anymore. Remove unnecessary `initialize'
416 calls.
417
100aa3ae
PA
4182012-01-27 Pedro Alves <palves@redhat.com>
419
420 * gdb.base/watchpoint.exp (wp_set): Delete.
421 (initialize, test_simple_watchpoint, top level): Remove dead code.
422
c79a8e11
PA
4232012-01-27 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
426 typo.
427
048fe15a
PA
4282012-01-27 Pedro Alves <palves@redhat.com>
429
430 * config/extended-gdbserver.exp: New file.
431 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
432 comment.
433 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
434 * boards/native-extended-gdbserver.exp: New file.
435
4033a6bf
PA
4362012-01-26 Pedro Alves <palves@redhat.com>
437
438 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
439 and gdb_test_multiple.
440
3d7f4b81
PA
4412012-01-26 Pedro Alves <palves@redhat.com>
442
443 Make test messages unique, and more identifiable.
444 * gdb.multi/watchpoint-multi.exp: Change test messages.
445
484abf42
TT
4462012-01-25 Tom Tromey <tromey@redhat.com>
447
448 * gdb.base/solib-disc.exp: Fix regexps.
449
edcc5120
TT
4502012-01-24 Tom Tromey <tromey@redhat.com>
451
452 * lib/mi-support.exp (mi_expect_stop): Add special case for
453 solib-event.
454 * gdb.base/catch-load-so.c: New file.
455 * gdb.base/catch-load.exp: New file.
456 * gdb.base/catch-load.c: New file.
457 * gdb.base/break-interp.exp (reach_1): Update regexp.
458
30b91c90
JK
4592012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 Fix fuzzy results.
462 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
463 lpsimple and func.
464
53fe1783
GB
4652012-01-24 Gary Benson <gbenson@redhat.com>
466
467 Delete #if 0'd out code.
468 * gdb.base/default.exp (info catch): Remove.
469 * gdb.base/gdb_history (info catch): Likewise.
470 * gdb.base/help.exp (info catch): Likewise.
471
d0d8b0c6
JK
4722012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 Fix watchpoints to be specific for each inferior.
475 * gdb.multi/watchpoint-multi.c: New file.
476 * gdb.multi/watchpoint-multi.exp: New file.
477
4403d8e9
JK
4782012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 Fix watchpoints across inferior fork.
481 * gdb.threads/watchpoint-fork-child.c: New file.
482 * gdb.threads/watchpoint-fork-mt.c: New file.
483 * gdb.threads/watchpoint-fork-parent.c: New file.
484 * gdb.threads/watchpoint-fork-st.c: New file.
485 * gdb.threads/watchpoint-fork.exp: New file.
486 * gdb.threads/watchpoint-fork.h: New file.
487
050a2e1d
PA
4882012-01-23 Pedro Alves <palves@redhat.com>
489
490 * gdb.base/call-signal-resume.exp: Allow output after "return".
491
6a52fb62
PA
4922012-01-20 Pedro Alves <palves@redhat.com>
493
494 * gdb.python/py-finish-breakpoint.py: Fix typo.
495
145b16a9
UW
4962012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
497
498 * gdb.base/info-proc.exp: Also run on remote targets. Main
499 "info proc" command is now always present; whether target supports
500 actual info proc operation is detected when attempting to issue
501 the command.
502
26f6125e
JK
5032012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
504
505 * .gdbinit: Remove.
506
eb5227ce
PA
5072012-01-19 Pedro Alves <palves@redhat.com>
508
509 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
510 look at the funtions' returns.
511 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
512 (jprint.print(int, int)): Change return type to int. Adjust.
513
1db33378
PP
5142012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
515
516 PR gdb/9538
517 * gdb.base/sepdebug.exp: New test.
518
b9736cf8
PA
5192012-01-18 Pedro Alves <palves@redhat.com>
520
521 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
522 Allow output before ^done.
523
4aac40c8
TT
5242012-01-16 Tom Tromey <tromey@redhat.com>
525
526 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
527 Add tests for relative directory.
528
cafec441
TT
5292012-01-16 Tom Tromey <tromey@redhat.com>
530
531 * gdb.base/printcmds.c (enum flag_enum): New.
532 (three): New global.
533 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
534 enum printing.
535 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
536 FlagEnumerationPrinter.
537 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
538 * gdb.python/py-pp-maint.c (enum flag_enum): New.
539 (fval): New global.
540
abcc4978
PA
5412012-01-16 Pedro Alves <palves@redhat.com>
542
543 * lib/gdb.exp (banned_procedures): New variable.
544 (banned_variables_traced): Rename to ...
545 (banned_traced): ... this.
546 (gdb_init): Also trace banned procedures.
547 (gdb_finish): Also untrace banned procedures.
548
97ccebe8
PA
5492012-01-16 Pedro Alves <palves@redhat.com>
550
551 Remove all calls to strace.
552
2af7517b
JK
5532012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
556 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
557
9241a8bc
PP
5582012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
559
560 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
561 * gdb.base/pie-execl.exp: Likewise.
562
3848a17f
KS
5632012-01-12 Keith Seitz <keiths@redhat.com>
564
565 PR mi/10586
566 * gdb.mi/var-cmd.c (struct anonymous): New structure.
567 (do_anonymous_type_tests): New function.
568 (main): Call do_anonymous_type_tests.
569 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
570 (verify_everything): New procedure.
571 * gdb.mi/mi-var-cp.cc (class A): New class.
572 (anonymous_structs_and_unions): New function.
573 (main): Call anonymous_structs_and_unions.
574 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
575 (verify_everything): New procedure.
576
440e2fca
KS
5772012-01-12 Keith Seitz <keiths@redhat.com>
578
579 * lib/mi-support.exp: Expand comments about PATH_EXPR.
580 (varobj_tree::get_path_expr): Assume that all varobjs are
581 compound unless they are known simple types.
582 Adjust path expressions based on parent type, path parent type,
583 and tree language.
584 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
585 the root varobj.
586 (mi_walk_varobj_tree): Add LANGUAGE parameter.
587
675399c9
PA
5882012-01-11 Pedro Alves <palves@redhat.com>
589
590 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
591 core files on this machine" anymore.
592
97ddaa9b
PH
5932012-01-11 Paul Hilfinger <hilfingr@adacore.com>
594
595 * gdb.base/watchpoint.c (recurser): Initialize local_x.
596 (main): Repeat recurser call.
597 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
598 equivalent to 'local_x'.
599
ea733575
PH
6002012-01-11 Paul Hilfinger <hilfingr@adacore.com>
601 Joel Brobecker <brobecker@adacore.com>
602
603 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
604
2ca0b532
PA
6052012-01-05 Pedro Alves <alves.ped@gmail.com>
606
607 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
608 * gdb.python/py-events.c (first): Add bits for new "step N" test.
609 * gdb.python/py-events.exp: Test that "step N" tripping on a
610 breakpoint emits a breakpoint event.
611
6e681866
JB
6122012-01-03 Joel Brobecker <brobecker@adacore.com>
613
614 * gdb.base/auxv.exp: Reformat the copyright notice.
615
3c2d6aff
YQ
6162012-01-03 Yao Qi <yao@codesourcery.com>
617
618 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
619 (strace_trace_on_diff_addr): New.
620 * gdb.trace/strace.c: (main): Add two local variables.
621
0852fee3
UW
6222011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
623
624 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
625 * gdb.cell/gcore.exp: Likewise.
626 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
627 to verify the correct instance of main is selected.
628
12c3e59c
JB
6292012-01-02 Joel Brobecker <brobecker@adacore.com>
630
631 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
632 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
633 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
634 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
635 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
636 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
637 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
638 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
639 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
640 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
641 gdb.threads/thread_check.c: Reformat copyright header.
642
c0f378ec
EBM
6432011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
644
e4a7ca93 645 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
646 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
647 is not enabled.
648
3bc96cfb
JK
6492011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
650
651 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
652 parameter to self_exec, adjust the function.
653 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
654 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
655 (set var do_exit = 0): Remove test.
656 (newline at end of file): Add one.
657
095bcf5e
JB
6582011-12-27 Joel Brobecker <brobecker@adacore.com>
659
660 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
661 New files.
662
18d19bd1
JK
6632011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
664
665 Fix racy FAILs.
666 * gdb.threads/fork-thread-pending.c (barrier): New variable.
667 (thread_function, thread_forker): Call pthread_barrier_wait for it.
668 (main): Call pthread_barrier_init for it.
669
e809353a
JK
6702011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
671
672 Fix double send_gdb leading to racy FAILs.
673 * gdb.base/break.exp (set silent break bp_location1): Replace
674 3x send_gdb and gdb_expect by gdb_test.
675 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
676 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
677 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
678 instead of send_gdb. Twice.
679 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
680 3x send_gdb and gdb_expect by gdb_test.
681 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
682
da8cb7ec
JK
6832011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
684
685 * gdb.linespec/linespec.exp: Compile using {c++}.
686
ae1a303e
JK
6872011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
688
689 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
690 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
691 (verify GCC PR debug/51668): New test.
692
cc72b2a2
KP
6932011-12-23 Kevin Pouget <kevin.pouget@st.com>
694
695 Introduce gdb.FinishBreakpoint in Python.
696 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
697 py-finish-breakpoint2
698 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
699 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
700 instead of line number.
701 * gdb.python/py-finish-breakpoint.c: New file.
702 * gdb.python/py-finish-breakpoint.exp: New file.
703 * gdb.python/py-finish-breakpoint.py: New file.
704 * gdb.python/py-finish-breakpoint2.cc: New file.
705 * gdb.python/py-finish-breakpoint2.exp: New file.
706 * gdb.python/py-finish-breakpoint2.py: New file.
707
3b7962f9
JK
7082011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
709
710 Partial fix of compatibility with gcc-4.7.
711 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
712 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
713 Add comment to add a PASS case in the future.
714
6538471c
JK
715 Fix compatibility with gcc-4.7.
716 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
717
7052e42c
UW
7182011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
719
720 PR tdep/12797
721 * gdb.base/callfuncs.exp: Remove KFAIL.
722
9ac7f98e
JB
7232011-12-21 Joel Brobecker <brobecker@adacore.com>
724
725 * gdb.ada/task_bp: New testcase.
726
f6eeced0
JK
7272011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
728
729 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
730 -DNO_SECTIONS.
731 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
732
72225e17
JK
7332011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
736 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
737 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
738 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
739 conditional for gcc <= 4.5.
740
13ac8d2c
JK
7412011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
742
743 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
744 by XFAIL.
745 * gdb.cp/static-method.exp (info addr A::func())
746 (list static-method.cc:xxx::(anonymous namespace)::A::func)
747 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
748 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
749 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
750 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
751 (test value of F in k3_m): Likewise.
752 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
753 Likewise.
754
049682ba
JK
7552011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
758 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
759 Remove.
760 * gdb.threads/attachstop-mt.c: Remove.
761 * gdb.threads/attachstop-mt.exp: Remove.
762
2c9d8796
MK
7632011-12-17 Mark Kettenis <kettenis@gnu.org>
764
765 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
766
e0f9f062
DE
7672011-12-16 Doug Evans <dje@google.com>
768
f4aa2101 769 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
770 * boards/native-gdbserver.exp: New file.
771
e0f9f062
DE
772 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
773 gdbserver output.
774 (gdbserver_default_get_remote_address): New function.
775 (gdbserver_start): Call gdb,get_remote_address to compute argument
776 to "target remote" command.
777
80b6e756
PM
7782011-12-16 Phil Muldoon <pmuldoon@redhat.com>
779
1c3ad6ab 780 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
781 python print-stack. Add set/show python print-stack
782 off|full|message tests.
783
1576bd00
YQ
7842011-12-15 Yao Qi <yao@codesourcery.com>
785
786 * gdb.trace/strace.c: New
787 * gdb.trace/strace.exp: New.
788
d6a0f6e0
TT
7892011-12-14 Tom Tromey <tromey@redhat.com>
790
791 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
792
31015e1d
DE
7932011-12-14 Doug Evans <dje@google.com>
794
795 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
796
7b50312a
PA
7972011-12-14 Pedro Alves <pedro@codesourcery.com>
798
799 PR threads/10729
800
801 * gdb.mi/watch-nonstop.c: New file.
802 * gdb.mi/mi-watch-nonstop.exp: New file.
803
924437bc
PA
8042011-12-13 Pedro Alves <pedro@codesourcery.com>
805 Doug Evans <dje@google.com>
806
807 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
808 (clean_restart): Remove references to the gdb_stub target board
809 variable.
810 (gdb_step_for_stub): Delete.
811
812 * gdb.base/annota1.exp: Remove all references to [target_info
813 exists gdb_stub], gdb_step_for_stub and usestubs.
814 * gdb.base/annota3.exp: Ditto.
815 * gdb.base/async.exp: Ditto.
816 * gdb.base/break.exp: Ditto.
817 * gdb.base/code-expr.exp: Ditto.
818 * gdb.base/commands.exp: Ditto.
819 * gdb.base/completion.exp: Ditto.
820 * gdb.base/condbreak.exp: Ditto.
821 * gdb.base/consecutive.exp: Ditto.
822 * gdb.base/cvexpr.exp: Ditto.
823 * gdb.base/define.exp: Ditto.
824 * gdb.base/display.exp: Ditto.
825 * gdb.base/ena-dis-br.exp: Ditto.
826 * gdb.base/environ.exp: Ditto.
827 * gdb.base/gnu-ifunc.exp: Ditto.
828 * gdb.base/maint.exp: Ditto.
829 * gdb.base/pending.exp: Ditto.
830 * gdb.base/sect-cmd.exp: Ditto.
831 * gdb.base/sepdebug.exp: Ditto.
832 * gdb.base/unload.exp: Ditto.
833 * gdb.base/watchpoint-solib.exp: Ditto.
834 * gdb.cp/annota2.exp: Ditto.
835 * gdb.cp/annota3.exp: Ditto.
836 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
837 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
838 * gdb.mi/mi-pending.exp: Ditto.
839 * gdb.trace/circ.exp: Ditto.
840 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
841 * gdb.base/list.exp: Ditto.
842
843 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
844 breakpoint function and all references to the usestubs macro.
845 * gdb.base/exprs.c: Ditto.
846 * gdb.base/freebpcmd.c: Ditto.
847 * gdb.base/bitfields.c: Ditto.
848 * gdb.base/bitfields2.c: Ditto.
849 * gdb.base/break.c: Ditto.
850 * gdb.base/call-sc.c: Ditto.
851 * gdb.base/call-signals.c: Ditto.
852 * gdb.base/callfuncs.c: Ditto.
853 * gdb.base/charset.c: Ditto.
854 * gdb.base/consecutive.c: Ditto.
855 * gdb.base/constvars.c: Ditto.
856 * gdb.base/funcargs.c: Ditto.
857 * gdb.base/int-type.c: Ditto.
858 * gdb.base/interrupt.c: Ditto.
859 * gdb.base/langs0.c: Ditto.
860 * gdb.base/list0.c: Ditto.
861 * gdb.base/mips_pro.c: Ditto.
862 * gdb.base/miscexprs.c: Ditto.
863 * gdb.base/nodebug.c: Ditto.
864 * gdb.base/opaque0.c: Ditto.
865 * gdb.base/pointers.c: Ditto.
866 * gdb.base/printcmds.c: Ditto.
867 * gdb.base/ptype.c: Ditto.
868 * gdb.base/recurse.c: Ditto.
869 * gdb.base/reread1.c: Ditto.
870 * gdb.base/reread2.c: Ditto.
871 * gdb.base/restore.c: Ditto.
872 * gdb.base/return.c: Ditto.
873 * gdb.base/run.c: Ditto.
874 * gdb.base/scope0.c: Ditto.
875 * gdb.base/sepdebug.c: Ditto.
876 * gdb.base/setshow.c: Ditto.
877 * gdb.base/setvar.c: Ditto.
878 * gdb.base/sigall.c: Ditto.
879 * gdb.base/signals.c: Ditto.
880 * gdb.base/structs.c: Ditto.
881 * gdb.base/structs2.c: Ditto.
882 * gdb.base/testenv.c: Ditto.
883 * gdb.base/twice.c: Ditto.
884 * gdb.base/unwindonsignal.c: Ditto.
885 * gdb.base/watchpoint.c: Ditto.
886 * gdb.base/watchpoints.c: Ditto.
887 * gdb.base/whatis.c: Ditto.
888 * gdb.cp/classes.cc: Ditto.
889 * gdb.cp/cplusfuncs.cc: Ditto.
890 * gdb.cp/derivation.cc: Ditto.
891 * gdb.cp/formatted-ref.cc: Ditto.
892 * gdb.cp/misc.cc: Ditto.
893 * gdb.cp/overload.cc: Ditto.
894 * gdb.cp/ovldbreak.cc: Ditto.
895 * gdb.cp/ref-params.cc: Ditto.
896 * gdb.cp/ref-types.cc: Ditto.
897 * gdb.cp/templates.cc: Ditto.
898 * gdb.cp/virtfunc.cc: Ditto.
899 * gdb.hp/gdb.aCC/run.c: Ditto.
900 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
901 * gdb.hp/gdb.compat/xdb0.c: Ditto.
902 * gdb.reverse/consecutive-reverse.c: Ditto.
903 * gdb.reverse/sigall-reverse.c: Ditto.
904 * gdb.reverse/until-reverse.c: Ditto.
905 * gdb.reverse/watch-reverse.c: Ditto.
906 * gdb.trace/actions.c: Ditto.
907 * gdb.trace/circ.c: Ditto.
908 * gdb.trace/collection.c: Ditto.
909
fabde485
PA
9102011-12-13 Pedro Alves <pedro@codesourcery.com>
911
912 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
913 (func6, func7): New.
914 (main): Call func6 and func7.
915 * gdb.base/watchpoint.exp (test_wide_location_1)
916 (test_wide_location_2): New.
917 (top level): Re-enable hardware watchpoints if necessary. Call
918 test_wide_location_1 and test_wide_location_2.
919
ff7d1690
YQ
9202011-12-11 Yao Qi <yao@codesourcery.com>
921
922 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
923
a6af7abe
JB
9242011-12-11 Joel Brobecker <brobecker@adacore.com>
925
926 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
927 expected output for unsupported case.
928
61638e15
JK
9292011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 PR testsuite/12649
932 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
933 Protect gdb_test_multiple by final $gdb_prompt match.
934
0a00efc3
JK
9352011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
938 New variable, new test.
939 (list static-method.cc:xxx::(anonymous namespace)::A::func)
940 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
941 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
942 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
943 them if HAVE_GCC_45682_FIXED is not set.
944
4511b1ba
YQ
9452011-12-10 Yao Qi <yao@codesourcery.com>
946
947 * gdb.trace/status-stop.exp: New.
948 * gdb.trace/status-stop.c: New.
949
27949e73
JK
9502011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
951
952 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
953 timeout.
954
d8ea7931
TT
9552011-12-08 Tom Tromey <tromey@redhat.com>
956
957 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
958 condition.
959
1cc310d2
SS
9602011-12-07 Stan Shebs <stan@codesourcery.com>
961
962 * gdb.trace/tfind.exp: Update for output changes.
963
d482a875
PA
9642011-12-07 Pedro Alves <pedro@codesourcery.com>
965
966 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
967 throws "Cannot insert catchpoints in this configuration".
968 * gdb.ada/mi_catch_ex.exp: Likewise.
969
f0ba3972
PA
9702011-12-06 Pedro Alves <pedro@codesourcery.com>
971
972 * gdb.base/break-always.exp: Test changing memory at addresses
973 with breakpoints inserted.
974
f8eba3c6
TT
9752011-12-06 Joel Brobecker <brobecker@acacore.com>
976
977 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
978 involving a fully qualified function name.
979
9802011-12-06 Tom Tromey <tromey@redhat.com>
981
982 * gdb.ada/homonym.exp: Add three breakpoint tests.
983
9842011-12-06 Tom Tromey <tromey@redhat.com>
985
986 * gdb.base/solib-weak.exp (do_test): Remove kfail.
987 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
988 * gdb.objc/objcdecode.exp: Update for output changes.
989 * gdb.linespec/linespec.exp: New file.
990 * gdb.linespec/lspec.cc: New file.
991 * gdb.linespec/lspec.h: New file.
992 * gdb.linespec/body.h: New file.
993 * gdb.linespec/base/two/thefile.cc: New file.
994 * gdb.linespec/base/one/thefile.cc: New file.
995 * gdb.linespec/Makefile.in: New file.
996 * gdb.cp/templates.exp (test_template_breakpoints): Update for
997 output changes.
998 * gdb.cp/re-set-overloaded.exp: Remove kfail.
999 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1000 makes one breakpoint.
1001 * gdb.cp/method2.exp (test_break): Update for output changes.
1002 * gdb.cp/mb-templates.exp: Update for output changes.
1003 * gdb.cp/mb-inline.exp: Update for output changes.
1004 * gdb.cp/mb-ctor.exp: Update for output changes.
1005 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1006 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1007 has multiple matches.
1008 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1009 error message change.
1010 * gdb.base/list.exp (test_list_filename_and_number): Update for
1011 error message change.
1012 * gdb.base/break.exp: Disable pending breakpoints. Update for
1013 output changes.
1014 * configure.ac: Add gdb.linespec.
1015 * configure: Rebuild.
1016 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1017
c642a434
UW
10182011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1019
1020 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1021 last_break register on s390*-*-* targets.
1022
b18003d1
JB
10232011-12-06 Joel Brobecker <brobecker@adacore.com>
1024
1025 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1026 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1027 of parameter X in procedure Foo.
1028
fe96589c
SS
10292011-12-05 Stan Shebs <stan@codesourcery.com>
1030
1031 * gdb.trace/tfind.exp: Update help string matches.
1032
1820ab47
JK
10332011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 * gdb.server/ext-run.exp (get process list): Accept also systemd
1036 as PID 1.
1037
e11ac3a3
JK
10382011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1039 Pedro Alves <pedro@codesourcery.com>
1040
1041 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1042 starting GDB.
1043 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1044 $use_gdb_stub.
1045 * gdb.base/display.exp: Likewise.
1046 * gdb.base/ending-run.exp: Likewise.
1047 * gdb.base/list.exp (test_listsize): Likewise.
1048 * gdb.base/setshow.exp: Likewise.
1049 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1050 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1051 check by global $use_gdb_stub.
1052 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1053 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1054 (default_gdb_init): Unset global $use_gdb_stub.
1055 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1056 by global $use_gdb_stub.
1057 * lib/gdbserver-support.exp: Extend comments for set_board_info
1058 gdb_protocol and gdb,socketport.
1059 (gdbserver_start_extended): Set global gdbserver_protocol and
1060 gdbserver_gdbport. Clear global use_gdb_stub.
1061 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1062 from target use_gdb_stub.
1063 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1064
1d41d75c
DE
10652011-12-03 Doug Evans <dje@google.com>
1066
1067 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1068 (gdb_step_for_stub): Add comments.
1069
d6d7a51a
MR
10702011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1071
1072 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1073 to the caller.
1074 (gdb_test_multiple): Likewise.
1075
05acf274
JK
10762011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1077
1078 Fix gdb.mi/mi-solib.exp without system debug info installed.
1079 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1080 expect attribute, return 0 for it. Update comments.
1081
2268b414
JK
10822011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1085 (corrupted list): Adjust the expectation.
1086
585861ea
JK
10872011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1088
1089 PR threads/13448
1090 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1091 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1092 * gdb.threads/tls-var-main.c: New file.
1093 * gdb.threads/tls-var.c: New file.
1094 * gdb.threads/tls-var.exp: New file.
1095
968643aa
JK
10962011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1097
1098 PR testsuite/12649
1099 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1100 Protect gdb_test_multiple by final $gdb_prompt match.
1101 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1102 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1103 (test_tracepoints): Likewise.
1104
9750bca9
JK
11052011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1106
1107 PR breakpoints/13346
1108 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1109 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1110 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1111
ac1349b7
JB
11122011-12-01 Joel Brobecker <brobecker@adacore.com>
1113
1114 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1115 * gdb.ada/homonym/homonym.adb: For use of all types defined
1116 locally inside both Get_Value subprograms.
1117
26d44faf
JK
11182011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 Fix racy FAILs.
1121 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1122 of send_gdb.
1123
514f6425
UW
11242011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1125
1126 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1127 environment variable after test completed.
1128
4255c8d2
UW
11292011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1130
1131 * gdb.base/solib-nodir.exp: Skip if remote target.
1132 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1133 application. Call gdb_load_shlibs.
1134 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1135
a35ad96a
JB
11362011-11-29 Joel Brobecker <brobecker@adacore.com>
1137
1138 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1139
1a1d5513
JB
11402011-11-28 Joel Brobecker <brobecker@adacore.com>
1141
1142 * gdb.ada/fullname_bp: New testcase.
1143
50b4ddf8
JK
11442011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 PR testsuite/12649
1147 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1148 Wrap send_gdb into a new gdb_test.
1149
fb0aec57
JK
1150 Code cleanup.
1151 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1152 Convert send_gdb and gdb_expect to gdb_test_multiple.
1153
2376d946
JK
11542011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1157
1eec78bd
KS
11582011-11-23 Keith Seitz <keiths@redhat.com>
1159
1160 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1161 (mi_varobj_tree_test_children_callback): New proc.
1162 (mi_walk_varobj_tree): New proc.
1163
36dfb11c
TT
11642011-11-22 Tom Tromey <tromey@redhat.com>
1165
1166 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1167 Add "use_mi_command" argument.
1168 (mi_run_cmd, mi_run_with_cli): New procs.
1169 * gdb.mi/solib-lib.c: New file.
1170 * gdb.mi/solib-main.c: New file.
1171 * gdb.mi/mi-solib.exp: New file.
1172
0e965dd0
DE
11732011-11-21 Doug Evans <dje@google.com>
1174
1175 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1176 _Unwind_DebugHook is missing.
1177
f196051f
SS
11782011-11-20 Stan Shebs <stan@codesourcery.com>
1179
1180 * gdb.trace/tstatus.exp: New.
1181 * gdb.trace/actions.c: Include string.h.
1182
bfccc43c
YQ
11832011-11-18 Yao Qi <yao@codesourcery.com>
1184
1185 * gdb.trace/pending.exp: New.
1186 * gdb.trace/pending.c: New.
1187 * gdb.trace/pendshr1.c: New.
1188 * gdb.trace/pendshr2.c: New.
1189 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1190 tracepoint location becomes pending.
1191 (tracepoint_change_loc_2): New.
1192
73cd8ab1
DM
11932011-11-16 David S. Miller <davem@davemloft.net>
1194
1195 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1196 target is sparc*-*-linux*
1197
77426730
PK
11982011-11-15 Paul Koning <paul_koning@dell.com>
1199
1200 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1201 types.
1202
ed59ded5
DE
12032011-11-14 Doug Evans <dje@google.com>
1204
1205 * gdb.base/shell.exp: New file.
1206
405f8e94
SS
12072011-11-14 Stan Shebs <stan@codesourcery.com>
1208
1209 * gdb.trace/ftrace.c: New.
1210 * gdb.trace/ftrace.exp: New.
1211
1e4d1764
YQ
12122011-11-14 Yao Qi <yao@codesourcery.com>
1213
1214 * gdb.trace/change-loc-1.c: New.
1215 * gdb.trace/change-loc-2.c: New.
1216 * gdb.trace/change-loc.c: New.
1217 * gdb.trace/change-loc.exp: New.
1218 * gdb.trace/change-loc.h: New.
1219 * gdb.trace/trace-break.c (marker): Define new symbol.
1220 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1221 New.
1222 (break_trace_same_addr_6): New.
1223
71eba9c2 12242011-11-12 Matt Rice <ratmice@gmail.com>
1225
1226 * gdb.base/info-macros.exp: Make tests for info definitions
1227 test info macro. Add tests for info macro argument processing.
1228 Rename a few tests.
1229
1d93e29a
KS
12302011-11-11 Keith Seitz <keiths@redhat.com>
1231
1232 PR gdb/12843
1233 * gdb.base/linespecs.exp: New file.
1234
a4b5b48a
DE
12352011-11-11 Doug Evans <dje@google.com>
1236
1237 * gdb.threads/print-threads.exp: Extend timeout for slower
1238 tests.
1239
f6b47be4
DE
12402011-11-10 Doug Evans <dje@google.com>
1241
792a0230
DE
1242 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1243 "record to end of main" test.
1244
f6b47be4
DE
1245 * gdb.python/py-type.c (TS): New typedef.
1246 (ts): New global.
1247 * gdb.python/py-type.exp: Test field list of typedef.
1248
22355c90
JB
12492011-11-10 Joel Brobecker <brobecker@adacore.com>
1250
1251 * gdb.ada/small_reg_param: New testcase.
1252
a7860e76
TT
12532011-11-09 Tom Tromey <tromey@redhat.com>
1254
1255 * gdb.cp/destrprint.exp: New file.
1256 * gdb.cp/destrprint.cc: New file.
1257
72a2e3dc
MI
12582011-11-08 Meador Inge <meadori@codesourcery.com>
1259
1260 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1261 (switch_stack_to_other): New test function.
1262 * gdb.arch/thumb-prologue.exp: New test cases.
1263
c7195df2 12642011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1265
1266 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1267
d3895d7d
YQ
12682011-11-08 Yao Qi <yao@codesourcery.com>
1269
1270 * gdb.exp (supports_process_record): New.
1271 (supports_reverse): New.
1272 * gdb.reverse/break-precsave.exp: Call support_process_record
1273 to run test conditionally.
1274 * gdb.reverse/consecutive-precsave.exp: Likewise.
1275 * gdb.reverse/i386-precsave.exp: Likewise.
1276 * gdb.reverse/machinestate-precsave.exp: Likewise.
1277 * gdb.reverse/solib-precsave.exp: Likewise.
1278 * gdb.reverse/step-precsave.exp: Likewise.
1279 * gdb.reverse/until-precsave.exp: Likewise.
1280 * gdb.reverse/watch-precsave.exp: Likewise.
1281 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1282 test conditionally.
1283 * gdb.reverse/consecutive-reverse.exp: Likewise.
1284 * gdb.reverse/finish-precsave.exp: Likewise.
1285 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1286 * gdb.reverse/finish-reverse.exp: Likewise.
1287 * gdb.reverse/i386-reverse.exp: Likewise.
1288 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1289 * gdb.reverse/machinestate.exp: Likewise.
1290 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1291 * gdb.reverse/sigall-precsave.exp: Likewise.
1292 * gdb.reverse/sigall-reverse.exp: Likewise.
1293 * gdb.reverse/solib-reverse.exp: Likewise.
1294 * gdb.reverse/step-reverse.exp: Likewise.
1295 * gdb.reverse/until-reverse.exp: Likewise.
1296 * gdb.reverse/watch-reverse.exp: Likewise.
1297
a59306a3
YQ
12982011-11-05 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.trace/trace-break.exp: Add test on setting two
1301 fast tracepoints at the same address.
1302
87769f59
JK
13032011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1306
3065dfb6
SS
13072011-11-02 Stan Shebs <stan@codesourcery.com>
1308
1309 * gdb.trace/collection.c: Add code using strings.
1310 * gdb.trace/collection.exp: Add tests of string collection.
1311
89e208db
JK
13122011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1313
1314 * gdb.base/skip-solib.exp (executable_main): New variable.
1315 (binfile_main): Base it on that.
1316 Use $executable_main in clean_restart calls. Drop gdb_exit and
1317 gdb_start calls.
1318
405e54e9
JK
13192011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1320
1321 Fix racy FAILs.
1322 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1323 breakpoint_re globals import by async. Set string_regex to .* for
1324 async. Remove the optional thread_selected_re and breakpoint_re
1325 globals expectations.
1326
58e8570a
JM
13272011-11-01 Joseph Myers <joseph@codesourcery.com>
1328
1329 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1330 well as Cygwin.
1331
7b35ec7f 13322011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1333
1334 Add tests for skip command.
89e208db
JK
1335 * gdb.base/skip-solib-lib.c: New
1336 * gdb.base/skip-solib-main.c: New
1337 * gdb.base/skip-solib.exp: New
1338 * gdb.base/skip.c: New
1339 * gdb.base/skip.exp: New
1340 * gdb.base/skip1.c: New
1341 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1342
b9fd1791
PA
13432011-10-31 Yao Qi <yao@codesourcery.com>
1344 Pedro Alves <pedro@codesourcery.com>
1345
1346 * gdb.trace/trace-break.c: New.
1347 * gdb.trace/trace-break.exp: New.
1348
4323fecc
JK
13492011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1350
1351 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1352 break-here-2.
1353
0e5bf2a8
PA
13542011-10-28 Pedro Alves <pedro@codesourcery.com>
1355
1356 * gdb.threads/no-unwaited-for-left.c: New.
1357 * gdb.threads/no-unwaited-for-left.exp: New.
1358 * gdb.threads/non-ldr-exc-1.c: New.
1359 * gdb.threads/non-ldr-exc-1.exp: New.
1360 * gdb.threads/non-ldr-exc-2.c: New.
1361 * gdb.threads/non-ldr-exc-2.exp: New.
1362 * gdb.threads/non-ldr-exc-3.c: New.
1363 * gdb.threads/non-ldr-exc-3.exp: New.
1364 * gdb.threads/non-ldr-exc-4.c: New.
1365 * gdb.threads/non-ldr-exc-4.exp: New.
1366
3a3dad98
JK
13672011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1368
1369 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1370 * gdb.base/attach-pie-misread.exp: Likewise.
1371 * gdb.base/break-interp.exp: Likewise.
1372 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1373 testcases for use_gdb_stub.
1374 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1375 (continue): New testcase.
1376 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1377 * gdb.threads/attach-into-signal.exp: Likewise.
1378 * gdb.threads/attach-stopped.exp: Likewise.
1379 * gdb.threads/attachstop-mt.exp: Likewise.
1380
d6a5d40c
PK
13812011-10-28 Paul Koning <paul_koning@dell.com>
1382
1383 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1384
ca539be8
JK
13852011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1386
1387 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1388 (mi_gdb_test): Import globals thread_selected_re
1389 and breakpoint_re. Expect them optionally at the regex start.
1390
d234ef5c
DE
13912011-10-27 Doug Evans <dje@google.com>
1392
1393 * gdb.python/python.exp: Test source -s.
1394
ab964825
PK
13952011-10-26 Paul Koning <paul_koning@dell.com>
1396
1397 * gdb.python/lib-types.cc (struct A): New structure.
1398 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1399
54d8a644
PK
14002011-10-25 Paul Koning <paul_koning@dell.com>
1401
1402 PR python/13327
d234ef5c 1403
54d8a644
PK
1404 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1405 fetch_lazy method.
1406
b0221781
YQ
14072011-10-24 Yao Qi <yao@codesourcery.com>
1408
1409 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1410 target is tic6x-*-*.
1411
6cda5a20
JB
14122011-10-21 Joel Brobecker <brobecker@adacore.com>
1413
1414 * gdb.ada/mi_task_info/task_switch.adb: New file.
1415 * gdb.ada/mi_task_info.exp: New file.
1416
5ed9db04
JK
14172011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
1419 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1420 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1421
9df2fbc4
PM
14222011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1423
1424 PR python/12656
1425
1426 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1427 global_block tests.
1428
736086ba
TT
14292011-10-18 Tom Tromey <tromey@redhat.com>
1430
1431 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1432
4af31552
TT
14332011-10-18 Tom Tromey <tromey@redhat.com>
1434
1435 * gdb.base/source.exp: Don't include full file name in test name.
1436 * gdb.python/python.exp: Don't include full file name in test
1437 name.
1438
43136979
AR
14392011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1440
1441 * gdb.base/attach-pie-noexec.c: New files.
1442 * gdb.base/attach-pie-noexec.exp: New files.
1443
543a9323
JM
14442011-10-17 Joseph Myers <joseph@codesourcery.com>
1445
1446 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1447 prompt for each extra line in command.
1448
21ae7a4d
JK
14492011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1450
1451 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1452 Revert the part of:
1453 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1454 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1455 Change the expected string.
1456
20ec36d9
JK
14572011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1458
1459 Fix results with system glibc debug info installed.
1460 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1461 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1462 Accept also __libc_ symbol prefix and no prefix.
1463
6501c2fc
KS
14642011-10-14 Keith Seitz <keiths@redhat.com>
1465
1466 PR c++/13225
1467 * gdb.cp/converts.cc (foo3_1): New function.
1468 (foo3_2): New functions.
1469 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1470 and null pointer conversions of integer constant zero.
1471 Add test to check if all arguments are checked for incompatible
1472 conversion BADNESS.
1473
55b1fd0c
TT
14742011-10-14 Tom Tromey <tromey@redhat.com>
1475
1476 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1477 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1478 linespec.
1479
22c05d8a
JK
14802011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1481
1482 Fix internal error regression.
1483 * gdb.dwarf2/implptr-optimized-out.S: New file.
1484 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1485
1d6edc3c
JK
14862011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1487
1488 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1489 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1490 (loclist): New.
1491 (4): New abbrev.
1492 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1493 Use prepare_for_testing, remove clean_restart.
1494 (p arraynoloc, p arraycallnoloc): New tests.
1495
9ec72168
JK
14962011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1497
1498 * gdb.cp/namespace-enum.exp (executable): New variable.
1499 (binfile): Use ${objdir}/${subdir}/ prefix.
1500 Use ${executable} for clean_restart.
1501
9c6c53f7
SA
15022011-10-11 Sterling Augustine <saugustine@google.com>
1503
1504 * gdb.cp/Makefile.in: Add namespace-enum test.
1505 * gdb.cp/namespace-enum.exp: New file.
1506 * gdb.cp/namespace-enum.c: New file.
1507 * gdb.cp/namespace-enum-main.c: New file.
1508
fac7ceb3
UW
15092011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1510
1511 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1512 sysroot.
1513
941b2081
JK
15142011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1515
1516 Reimplement @entry in input expressions.
1517 * gdb.base/exprs.c (v_int_array_init): New variable.
1518 * gdb.base/exprs.exp (print v_int_array_init)
1519 (print *v_int_array_init@1, print *v_int_array_init@2)
1520 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1521 (print v_int_array_init[1]@1): New tests.
1522
0344e878
JM
15232011-10-10 Joseph Myers <joseph@codesourcery.com>
1524
1525 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1526 expected message.
1527
5a56e9c5
DE
15282011-10-09 Doug Evans <dje@google.com>
1529
1530 * gdb.base/alias.exp: Add tests for alias command.
1531
2bda9cc5
JK
15322011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1533
1534 * gdb.arch/amd64-entry-value.s: New file.
1535 * gdb.mi/mi2-amd64-entry-value.s: New file.
1536
a471c594
JK
15372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1538
1539 Display @entry parameter values even for references.
1540 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1541 functions.
1542 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1543 reference and datap_input.
1544 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1545 breakpoints.
1546 (continue to breakpoint: entry_reference: reference)
1547 (entry_reference: bt at entry)
1548 (continue to breakpoint: entry_reference: breakhere_reference)
1549 (entry_reference: bt, entry_reference: ptype regparam)
1550 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1551 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1552 (entry_reference: p regcopy, entry_reference: p nodataparam)
1553 (entry_reference: p nodataparam@entry): New tests.
1554
36b11add
JK
15552011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1556
1557 Support @entry in input expressions.
1558 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1559 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1560 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1561 (tailcall: p j@entry): New tests.
1562 * gdb.cp/koenig.cc (A::entry): New function.
1563 (main): Call it.
1564 * gdb.cp/koenig.exp (p entry (c)): New test.
1565
e18b2753
JK
15662011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1567
1568 Display @entry parameter values (without references).
1569 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1570 (different, validity, invalid): New functions.
1571 (main): Call them.
1572 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1573 stacktest, breakhere_stacktest, different, breakhere_different,
1574 breakhere_validity and breakhere_invalid.
1575 (entry: bt): Update for @entry.
1576 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1577 (entry_validity: *, entry_invalid: *): Many new tests.
1578 * gdb.base/break.exp
1579 (run until breakpoint set at small function, optimized file): Accept
1580 also the @entry suffix.
1581 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1582 * gdb.mi/mi2-amd64-entry-value.c: New files.
1583 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1584
2d6c5dc2
JK
15852011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 Protect entry values against self tail calls.
1588 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1589 (main): Call self.
1590 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1591 (set debug entry-values 1, self: bt debug entry-values): New tests.
1592
111c6489
JK
15932011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1594
1595 Recognize virtual tail call frames.
1596 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1597 (amb_b, amb_a): New.
1598 (main): Call a and b.
1599 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1600 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1601 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1602 New tests.
1603
8e3b41a9
JK
16042011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1605
1606 Implement basic support for DW_TAG_GNU_call_site.
1607 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1608 * gdb.arch/amd64-entry-value.cc: New file.
1609 * gdb.arch/amd64-entry-value.exp: New file.
1610
181cebd4
JK
16112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1612
1613 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1614 * gdb.dwarf2/implptr-64bit.S: New file.
1615 * gdb.dwarf2/implptr-64bit.exp: New file.
1616
741f5e3c
JK
16172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1618
1619 Fix initial language detection with -readnow.
1620 * gdb.cp/readnow-language.cc: New file.
1621 * gdb.cp/readnow-language.exp: New file.
1622
a73d2258
JK
16232011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 Fix printed anonymous struct name.
1626 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1627
af369495
JM
16282011-10-09 Joseph Myers <joseph@codesourcery.com>
1629
1630 * gdb.base/solib-symbol.exp: Do not include directories in
1631 filenames in expected messages.
1632
1fa57852
DE
16332011-10-07 Doug Evans <dje@google.com>
1634
1635 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1636
bd054e06
KP
16372011-10-07 Kevin Pouget <kevin.pouget@st.com>
1638
1639 Allow Python notification of new object-file loadings.
1640 * gdb.python/py-events.exp: Test newobjfile event.
1641 * gdb.python/py-events.py: Register newobjfile callback.
1642 * gdb.python/py-events.c: Add call to shared library
1643 * gdb.python/py-events-shlib.c: New file.
1644
8031b6f8
JM
16452011-10-06 Joseph Myers <joseph@codesourcery.com>
1646
1647 * gdb.base/fixsection.exp: Do not include directories in filename
1648 in expected message.
1649
7fea6923
PM
16502011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1651
1652 Add tests for passing of environment variables to inferior.
1653 * gdb.base/testenv.c: New test source.
1654 * gdb.base/testenv.exp: New expect test.
1655
687f2a88
PK
16562011-10-04 Paul Koning <paul_koning@dell.com>
1657
1658 * gdb.python/py-value.c (main): Break before return.
1659
cb6be26b
KP
16602011-10-04 Kevin Pouget <kevin.pouget@st.com>
1661
1662 PR python/12691: Add the inferior to Python exited event
1663 * gdb.python/py-events.exp: Test the inferior attribute of exited
1664 event with a fork.
1665 * gdb.python/py-events.py: Print inferior number on exit.
1666 * gdb.python/py-events.c: Fork the inferior.
1667
fb213700
EBM
16682011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1669
1670 * gdb.base/jit.exp: Add testcase name to log message
1671
aa2071bd
PK
16722011-10-03 Paul Koning <paul_koning@dell.com>
1673 Jan Kratochvil <jan.kratochvil@redhat.com>
1674
1675 * gdb.python/py-value.exp
1676 (python inval = gdb.parse_and_eval('*(int*)0'))
1677 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1678 (set argc=2, python print argc_lazy): New tests.
1679
dd11a36c
JB
16802011-10-02 Joel Brobecker <brobecker@adacore.com>
1681
1682 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1683
46f886f1
JK
16842011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1685 Pedro Alves <pedro@codesourcery.com>
1686
1687 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1688 can_read_0, test for it.
1689 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1690 (parse_and_eval with memory error): ... here, make it untested if
1691 can_read_0.
1692
c5cb204f
MP
16932011-09-30 Marek Polacek <mpolacek@redhat.com>
1694
1695 * gdb.python/python.exp (verify pagination beforehand)
1696 (verify pagination afterwards): Fix race by splitting the line.
1697
68fb0ec0
JM
16982011-09-29 Joseph Myers <joseph@codesourcery.com>
1699
1700 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1701 for 64-bit multilibs from i?86-* targets.
1702
6aee0d90
MP
17032011-09-29 Marek Polacek <mpolacek@redhat.com>
1704
1705 * lib/gdb.exp: Fix a typo in one of the comments.
1706
e9101ff5
MP
17072011-09-29 Marek Polacek <mpolacek@redhat.com>
1708
1709 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1710 matching pattern.
1711
7a81bdbf
PK
17122011-09-28 Paul Koning <paul_koning@dell.com>
1713
1714 * gdb.python/py-type.c (enum E): New.
1715 * gdb.python/py-type.exp (test_fields): Add tests for Python
1716 mapping access to fields.
1717 (test_enums): New test for field access on enums.
1718
6710bf39
SS
17192011-09-27 Stan Shebs <stan@codesourcery.com>
1720
1721 * gdb.trace/collection.exp: Test collection of $_ret.
1722
b2a6bdeb
AT
17232011-09-22 Andreas Tobler <andreast@fgznet.ch>
1724
1725 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1726 list of compilation switches for <*-*-freebsd*>.
1727
3c9057f3
SS
17282011-09-19 Stan Shebs <stan@codesourcery.com>
1729
1730 * gdb.trace/tspeed.exp: New file.
1731 * gdb.trace/tspeed.c: New file.
1732
34518530
YQ
17332011-09-18 Yao Qi <yao@codesourcery.com>
1734
1735 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1736 instructions.
1737 (test_adr_32bit, test_pop_pc): Likewise.
1738 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1739 Thumb instructions.
1740 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1741 in gdb_test_multiple.
1742 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1743
ab254057
YQ
17442011-09-17 Yao Qi <yao@codesourcery.com>
1745
1746 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1747 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1748 support single step to signal handler.
1749
9c317b71
YQ
17502011-09-17 Yao Qi <yao@codesourcery.com>
1751
1752 * gdb.base/disp-step-fork.c: New.
1753 * gdb.base/disp-step-syscall.exp: New.
1754 * gdb.base/disp-step-vfork.c: New.
1755
a8123151
JB
17562011-09-16 Joel Brobecker <brobecker@adacore.com>
1757
1758 * gdb.ada/tasks.exp: Make the expected output for
1759 the `info tasks' tests more resilient to spacing
1760 changes.
1761
63a9aad8
JK
17622011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1763
1764 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1765 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1766
2aa48337
KP
17672011-09-15 Kevin Pouget <kevin.pouget@st.com>
1768
1769 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1770 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1771
6839b47f
KP
17722011-04-30 Kevin Pouget <kevin.pouget@st.com>
1773
1774 Handle multiple breakpoint hits in Python interface:
1775 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1776 presence.
1777 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1778 breakpoint hits.
1779
0935723e
JK
17802011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1781 Jan Kratochvil <jan.kratochvil@redhat.com>
1782
1783 * gdb.python/py-events.exp: Remove pretty printing comment.
1784 * gdb.python/py-evsignal.exp: New file.
1785 * gdb.python/py-evthreads.c: Include signal.h.
1786 (thread3): Remove variable count3. Remove variable bad and use raise
1787 instead.
1788 (thread2): Remove variable count2. Move thread3 pthread_create here,
1789 merge pthread_join to a single line.
1790 (main): Remove variable count1. Merge pthread_join with pthread_create
1791 to a single line.
1792 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1793 KFAIL python/12966 for gdbserver. Test return value of
1794 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1795 gdb_expect by gdb_test and gdb_test_multiple.
1796 (thread 2, thread 3): New tests.
1797
4801a9a3
PA
17982011-09-12 Matt Rice <ratmice@gmail.com>
1799 Pedro Alves <pedro@codesourcery.com>
1800
1801 PR gdb/13175
1802
1803 * gdb.base/interp.exp: New tests.
1804 * gdb.base/interp.c: New file.
1805
24ece742
DE
18062011-09-12 Doug Evans <dje@google.com>
1807
1808 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1809 * gdb.dwarf2/typeddwarf.exp: Ditto.
1810
7f062217
JK
18112011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1812
1813 Fix compatibility with x32 arch.
1814 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1815 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1816 is_x86_like_target.
1817 * testsuite/gdb.trace/collection.exp: Likewise.
1818 * testsuite/gdb.trace/report.exp: Likewise.
1819 * testsuite/gdb.trace/unavailable.exp: Likewise.
1820 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1821 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1822 (is_x86_like_target): Check also is_amd64_regs_target.
1823
08711b9a
JK
18242011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1825
1826 PR breakpoints/12435
1827 * gdb.arch/amd64-prologue-xmm.c: New file.
1828 * gdb.arch/amd64-prologue-xmm.exp: New file.
1829 * gdb.arch/amd64-prologue-xmm.s: New file.
1830
b99b5f66
JK
18312011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1832
1833 * gdb.dwarf2/dw2-param-error-main.c: New file.
1834 * gdb.dwarf2/dw2-param-error.S: New file.
1835 * gdb.dwarf2/dw2-param-error.exp: New file.
1836
a391a2f6
PA
18372011-09-08 Pedro Alves <pedro@codesourcery.com>
1838
1839 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1840 inferior's pid and look for a core dump named core.$pid. Use
1841 `remote_file' commands on the host instead of hand coding shell
1842 commands on the build.
1843 * gdb.base/valgrind-db-attach.exp: Kill the program before
1844 finishing the test.
1845
7d8e6458 18462011-09-02 Matt Rice <ratmice@gmail.com>
1847
1848 * lib/prompt.exp: New file for testing the first prompt.
1849 * gdb.python/py-prompt.exp: Ditto.
1850 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1851
68e77c9e
PA
18522011-09-02 Pedro Alves <pedro@codesourcery.com>
1853
1854 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1855 0, before testing gcore.
1856
9655e943
JK
18572011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
df6dc84d
JK
1859 * dw2-ifort-parameter-debug.S: Update copyright year.
1860 * dw2-ifort-parameter.c: Update copyright year.
1861 * dw2-ifort-parameter.exp: Update copyright year.
1862
9655e943
JK
1863 * dw2-ifort-parameter-debug.S: New file.
1864 * dw2-ifort-parameter.c: New file.
1865 * dw2-ifort-parameter.exp: New file.
1866
353d1d73
JK
18672011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1868
1869 * gdb.base/commands.exp (error_clears_commands_left): New function.
1870 (): Call it.
1871
5c07461a
JK
18722011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1875 (C): Initialize `a'.
1876 * gdb.mi/mi-inheritance-syntax-error.exp
1877 (-data-evaluate-expression $path): Expect `a' as 5.
1878
0d932b2f
MK
18792011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1880
1881 PR mi/11912
1882 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1883 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1884 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1885 keyword in output of -var-info-path-expression.
1886
bdb54049
JK
18872011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1888
1889 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1890 * gdb.trace/collection.exp: Likewise.
1891 * gdb.trace/report.exp: Likewise.
1892 * gdb.trace/unavailable.exp: Likewise.
1893 * gdb.trace/while-dyn.exp: Likewise.
1894
59cde39c
KS
18952011-08-18 Keith Seitz <keiths@redhat.com>
1896
1897 PR c++/12266
1898 * gdb.cp/meth-typedefs.cc: New file.
1899 * gdb.cp/meth-typedefs.exp: New file.
1900
fa3a4f15
PM
19012011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1902
1903 * gdb.python/python.exp: Add extended-prompt tests.
1904
c1049fca
JK
19052011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 * gdb.arch/i386-dr3-watch.exp
1908 (watchpoint on gap1 does not fit debug registers)
1909 (delete all watchpoints): Fix racy expect strings.
1910
d93f7b5c
YQ
19112011-08-14 Yao Qi <yao@codesourcery.com>
1912
1913 * gdb.base/maint.exp: set data_section to ".neardata".
1914 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1915 * gdb.base/savedregs.exp: Handle SIGILL.
1916 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1917 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1918
457e09f0
DE
19192011-08-12 Doug Evans <dje@google.com>
1920
1921 * gdb.python/py-symbol.exp: Add test for symbol.type.
1922
5d0bb2fb
UW
19232011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1924
1925 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1926 * gdb.mi/mi-pthreads.exp: Likewise.
1927 * gdb.mi/mi2-pthreads.exp: Likewise.
1928 * gdb.mi/gdb669.exp.exp: Likewise.
1929
fcdfa280
PA
19302011-08-09 Pedro Alves <pedro@codesourcery.com>
1931
1932 * lib/mi-support.exp (detect_async): Rename to...
1933 (mi_detect_async): ... this.
1934 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1935 * gdb.mi/mi-nonstop.exp: Adjust.
1936 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1937 * gdb.mi/mi-nsintrall.exp: Adjust.
1938 * gdb.mi/mi-nsmoribund.exp: Adjust.
1939 * gdb.mi/mi-nsthrexec.exp: Adjust.
1940
9d8fa392
PA
19412011-08-09 Pedro Alves <pedro@codesourcery.com>
1942
1943 * gdb.base/display.c (do_loops): New `p_i' local.
1944 * gdb.base/display.exp: Test displaying a variable that is
1945 temporarily at a bad address.
1946
b6cede78
JK
19472011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1950 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1951
67bedb8c
JK
19522011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1953
1954 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1955 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1956 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1957
af6e93b2
PA
19582011-08-05 Pedro Alves <pedro@codesourcery.com>
1959
1960 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1961 procedure.
1962 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1963
1cf0e11f
YQ
19642011-08-05 Yao Qi <yao@codesourcery.com>
1965
1966 * gdb.base/callfuncs.exp: Set language after main.
1967 * gdb.cp/cplusfuncs.exp: Likewise.
1968 * gdb.cp/inherit.exp: Likewise.
1969
a1e28cb2
UW
19702011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1971
1972 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1973 * gdb.base/watch-vfork.exp: Skip on remote targets.
1974
d4f5bbb9
UW
19752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1976
1977 * gdb.threads/thread-find.exp: Support remote targets.
1978
724f4f80
UW
19792011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1980
1981 * gdb.base/jit.exp: Download solib_binfile to target.
1982 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1983 and call dlopen without full path name.
1984 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1985 dlopen without full path name.
1986
934709f0
PW
19872011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1988
1989 * gdb.base/break-always.exp: Complete the test
1990 with duplicated breakpoints and enabling/disabling them.
1991
c26106c4
TT
19922011-08-02 Tom Tromey <tromey@redhat.com>
1993
1994 PR gdb/11289:
1995 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1996
9300444e 19972011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1998
1999 PR gdb/13045
2000 * gdb.base/float.exp: Add new test case for PR gdb/13045
2001 * gdb.base/float.c: New file.
2002
00bd41d6
PM
20032011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2004
2005 * gdb.python/py-mi.exp: Test printers returning string hint, and
2006 also not returning a value.
2007 * gdb.python/py-prettyprint.c: Add testcase for above.
2008 * gdb.python/py-prettyprint.py: Add test printer for above.
2009
d24f74ce
JK
20102011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2011
2012 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2013 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2014 (.Ldie30) Add as field "data4".
2015 (.Ldie32) Rename field "b" to "shl".
2016 (abbrev4) Change for the "data4" field.
2017 (abbrev5, abbrev6) Remove.
2018 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2019 (p &s.shl): ... here. Add comment.
2020 (p &s.data4): New.
2021
bb7da2bf
JK
20222011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2023
2024 Fix crash on lval_computed values.
2025 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2026
11081198
JK
20272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2028
2029 * gdb.base/help.exp (help whatis): Update the expected string.
2030
3c6e0cb3
JK
20312011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
2033 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2034 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2035 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2036 Change the expected string.
2037
efa80663
PA
20382011-07-26 Pedro Alves <pedro@codesourcery.com>
2039
2040 * gdb.base/watchpoint.exp
2041 (test_disable_enable_software_watchpoint): New procedure.
2042 (top level): Run it.
2043
db8e4570
UW
20442011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2045
2046 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2047 executable file "${binfile}", C++ version "${binfile}-cxx".
2048 * gdb.python/py-prettyprint.exp: Likewise.
2049 * gdb.python/py-symbol.exp: Likewise.
2050 * gdb.python/py-type.exp: Likewise.
2051 * gdb.python/py-value.exp: Likewise.
2052 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2053 file name instead of just suffix.
2054
543305c9
JK
20552011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 Fix implicit pointer offsets.
2058 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2059 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2060 (continue to breakpoint: continue to baz breakpoint for implptr)
2061 (sanity check element 0, sanity check element 1)
2062 (enter the inlined function, check element 0 for the offset)
2063 (check element 1 for the offset)
2064 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2065 (set foo breakpoint for implptr): Update the breakpoint number.
2066
b3215adc
UW
20672011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2068
2069 * gdb.python/py-mi.exp: Use different file names for different
2070 versions of the executable under test.
2071 * gdb.python/py-prettyprint.exp: Likewise.
2072 * gdb.python/py-symbol.exp: Likewise.
2073 * gdb.python/py-template.exp: Likewise.
2074 * gdb.python/py-type.exp: Likewise.
2075 * gdb.python/py-value.exp: Likewise.
2076
182b9acc
UW
20772011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2078
2079 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2080 flag after restarting GDB if necessary.
2081
e6052b5d
UW
20822011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2083
2084 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2085
1ced966e
PA
20862011-07-22 Pedro Alves <pedro@codesourcery.com>
2087
2088 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2089 backend doesn't leave used debug registers behind.
2090
3543a589
TT
20912011-07-22 Tom Tromey <tromey@redhat.com>
2092
2093 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2094 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2095 argument.
2096 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2097
14d15303 20982011-07-21 Matt Rice <ratmice@gmail.com>
2099
2100 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2101 in mostlyclean rule. Add files ending in .core.
2102
9b158ba0 21032011-07-21 Matt Rice <ratmice@gmail.com>
2104
2105 PR macros/12999
2106 * gdb.base/info-macros.c: New test sources.
2107 * gdb.base/info-macros.exp: New tests.
2108
d17b6f81
PM
21092011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2110
2111 * gdb.python/python.exp: Add prompt substitution tests.
2112
918dd910
JK
21132011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2114
2115 Fix crash if referenced CU is aged out.
2116 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2117 New.
2118 * gdb.dwarf2/implptr.exp: Likewise.
2119
0e37a63c
JK
21202011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 * gdb.dwarf2/implptr.S: Rebuilt.
2123 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2124 (bar): Use them for j, k, l.
2125 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2126 COMPILE.
2127 (print j in implptr:bar): Update for the intp typedef.
2128 (print p[0].x in implptr:foo): Use more exact regex.
2129
f65cf84c
TT
21302011-07-18 Tom Tromey <tromey@redhat.com>
2131
2132 * gdb.cp/static-method.exp: Add missing single quote.
2133
d5b4a7be
YQ
21342011-07-18 Yao Qi <yao@codesourcery.com>
2135
2136 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2137 supported.
2138 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2139 * gdb.mi/mi-nonstop.exp: Likewise.
2140 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2141 * gdb.mi/mi-nsintrall.exp: Likewise.
2142 * gdb.mi/mi-nsmoribund.exp: Likewise.
2143 * gdb.mi/mi-nsthrexec.exp: Likewise.
2144 * gdb.python/py-evthreads.exp: Likewise.
2145
e9ea2662
JK
21462011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 Code cleanup.
2149 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2150 it. Substitute it instead of test_compiler_info everywhere.
2151
ce451573
UW
21522011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2153
2154 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2155 remote targets as well.
2156
756d88a7
UW
21572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2158
2159 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2160 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2161
31f83dc5
UW
21622011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2163
2164 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2165 a remote machine, not the host.
2166 (gdb_compile_shlib): Set soname if target is remote.
2167
059241a0
PP
21682011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2169
2170 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2171
28a0b48c 21722011-07-13 Matt Rice <ratmice@gmail.com>
2173
2174 * gdb.python/py-objfile-script-gdb.py: Renamed to
2175 py-objfile-script-gdb.py.in.
2176 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2177 py-objfile-script-gdb.py.
2178 * gdb.python/py-objfile-script.exp: Update reference to
2179 py-objfile-script-gdb.py.
2180
9a771b67
JK
21812011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2182
2183 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2184 reference undefined label.
2185
04ad99e6
JK
21862011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2187
2188 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2189 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2190 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2191 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2192
713389e0
PM
21932011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2194
2195 PR python/12438
2196 * gdb.python/python.exp: Add maint set/show python print-stack
2197 deprecated tests. Add set/show python print-backtrace tests.
2198
97d146f8
JK
21992011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2200
2201 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2202 debug info.
2203
facde0e5 22042011-07-06 Matt Rice <ratmice@gmail.com>
2205
2206 * gdb.python/python.exp: Update filename paths.
2207 * gdb.python/py-symtab.exp: Ditto.
2208
438640d1
MP
22092011-07-06 Marek Polacek <mpolacek@redhat.com>
2210
2211 * gdb.python/py-evthreads.exp: Add missing `$'.
2212
33a365df
MF
22132011-07-06 Jie Zhang <jie.zhang@analog.com>
2214
2215 * config/bfin.exp: New file.
2216 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2217 * gdb.asm/bfin.inc: New file.
2218
8f7ae686
MP
22192011-07-06 Marek Polacek <mpolacek@redhat.com>
2220
df46027d 2221 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2222 the whole output.
2223
eb2a6f42
TT
22242011-07-05 Tom Tromey <tromey@redhat.com>
2225
2226 * gdb.java/jprint.java (jprint.hi): New field.
2227 * gdb.java/jprint.exp: Print string.
2228
177b42fe
TJB
22292011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2230
2231 * gdb.base/call-sc.c: Fix typos.
2232 * gdb.base/ifelse.exp: Likewise.
2233 * gdb.base/structs.c: Likewise.
2234
3b2a0cf2
JB
22352011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2236
2237 * gdb.base/jit-so.exp: New test.
2238 * gdb.base/jit-dlmain.c: New file.
2239 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2240
46fc714c
JK
22412011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2242
2243 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2244 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2245 * gdb.cp/pr9167.exp (p b): Likewise.
2246 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2247 (test value of P in inner_m, test type of Z in inner_m): Call
2248 setup_xfail for gcc <= 4.5.
46fc714c 2249
418c7cf7
JK
22502011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2251
2252 * gdb.cp/paren-type.cc: New files.
2253 * gdb.cp/paren-type.exp: New files.
2254
3d50dd94
JK
22552011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2256
2257 Stop on first linespec terminator instead of eating what we can.
2258 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2259 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2260 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2261 (break C::f()): ... this one.
2262 (break C::operator()()): New test.
2263 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2264 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2265 test.
2266
dcf9f4ab
JK
22672011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2268
2269 Fall back linespec to minimal symbols.
2270 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2271 error message.
2272 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2273 * gdb.cp/minsym-fallback-main.cc: New file.
2274 * gdb.cp/minsym-fallback.cc: New file.
2275 * gdb.cp/minsym-fallback.exp: New file.
2276 * gdb.cp/minsym-fallback.h: New file.
2277
3f542ed1
JK
22782011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2279
2280 * gdb.cp/no-dmgl-verbose.cc: New file.
2281 * gdb.cp/no-dmgl-verbose.exp: New file.
2282
22832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2284
2285 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2286 __GI_.
2287 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2288 (f): New function.
2289 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2290 (complete p 'func<short>(): ... here.
2291 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2292 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2293 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2294 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2295 Make them KFAIL gcc/49546.
2296
00eb2c4a
JB
22972011-07-01 Joel Brobecker <brobecker@adacore.com>
2298
2299 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2300
85a20c42
JK
23012011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 Test GCC PR debug/49546.
2304 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2305 (test type of F in k3_m, test value of F in k3_m): New.
2306 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2307 (main): New variable k3. Call k3.k3_m.
2308
d2d43431
JB
23092011-07-01 Jean-Charles Delay <delay@adacore.com>
2310
2311 * gdb.ada/packed_array.exp: Fix expected outout.
2312
54ae186f
JB
23132011-07-01 Jean-Charles Delay <delay@adacore.com>
2314
2315 * gdb.ada/packed_array.exp: fixed expected output.
2316
8f17729f
JB
23172011-07-01 Joel Brobecker <brobecker@adacore.com>
2318
2319 * gdb.ada/same_enum: New testcase.
2320
f5aa6869
JB
23212011-07-01 Joel Brobecker <brobecker@adacore.com>
2322
2323 * gdb.ada/ptr_typedef: New testcase.
2324
828292f2
JB
23252011-07-01 Joel Brobecker <brobecker@adacore.com>
2326
2327 * gdb.ada/arrayptr.exp: Add ptype test.
2328
18920c42
JB
23292011-07-01 Joel Brobecker <brobecker@adacore.com>
2330
2331 * gdb.ada/char_enum: New testcase.
2332
3536d9e3 23332011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2334
2335 * gdb.base/dump.exp (capture_pointer_with_type): New.
2336 Get value from address instead of name.
2337 Start GDB once, and do `dump' and `restore'
2338 tests together.
2339
db863c42
MF
23402011-06-30 Jie Zhang <jie.zhang@analog.com>
2341 Mike Frysinger <vapier@gentoo.org>
2342
2343 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2344 helper functions for getting/setting remotetimeout variable.
2345 * lib/gdb.exp (gdb_load): If the target is remote, set
2346 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2347 with $loadtimeout. Set $load_ok to 0 before doing the load.
2348 Instead of returning, immediately, set $load_ok to 0. Call
2349 set_remotetimeout with $oldremotetimeout, and then return if
2350 $load_ok is 1.
2351
e9e642a8
AB
23522011-06-30 Andrew Burgess <aburgess@broadcom.com>
2353
2354 * gdb.python/py-template.exp: Don't run this test if the target
2355 does not support c++ tests.
2356
32019081
JK
23572011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 Fix non-only rename list for Fortran modules import.
2360 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2361 tests.
2362 * gdb.fortran/module.f90 (module moduse): New.
2363 (program module): use moduse, test var_x, var_y and var_z.
2364
0ecee54c
TT
23652011-06-29 Tom Tromey <tromey@redhat.com>
2366
2367 PR testsuite/12040:
2368 * gdb.fortran/array-element.exp: Use f90, not f77.
2369 * gdb.fortran/complex.exp: Use f90, not f77.
2370 * gdb.fortran/derived-type.exp: Use f90, not f77.
2371 * gdb.fortran/library-module.exp: Use f90, not f77.
2372 * gdb.fortran/logical.exp: Use f90, not f77.
2373 * gdb.fortran/module.exp: Use f90, not f77.
2374 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2375 * gdb.fortran/subarray.exp: Use f90, not f77.
2376
3b2b8fea
TT
23772011-06-29 Tom Tromey <tromey@redhat.com>
2378
2379 * gdb.fortran/charset.exp: New file.
2380 * gdb.fortran/charset.f90: New file.
2381
42159ca5
TT
23822011-06-29 Tom Tromey <tromey@redhat.com>
2383
2384 PR testsuite/12040:
2385 * lib/future.exp: New file, mostly extracted from ada.exp.
2386 Rewrote compatibility code to use rename.
2387 (gdb_find_gfortran): New proc.
2388 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2389 gfortran patch.
2390 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2391 Move to future.exp.
2392 * lib/gdb.exp: Always load future.exp.
2393
af69a5ce
YQ
23942011-06-28 Yao Qi <yao@codesourcery.com>
2395
2396 * gdb.cp/exception.cc: Don't include iostream.
2397 (bar): Remove print statement.
2398 (catcher): New.
2399 (main): Remove print statements. Call function catcher.
2400 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2401 Set breakpoint on catcher, and check the value of parameter.
2402
ab5c6a72
YQ
24032011-06-23 Yao Qi <yao@codesourcery.com>
2404
2405 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2406 1.2 is disabled. KFAIL for uclinux.
2407
9497469f
MP
24082011-06-23 Marek Polacek <mpolacek@redhat.com>
2409
2410 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2411 mi_gdb_test.
2412
b9132588
MP
24132011-06-23 Marek Polacek <mpolacek@redhat.com>
2414
5d197ed0 2415 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2416
e55595ca
MP
24172011-06-23 Marek Polacek <mpolacek@redhat.com>
2418
5d197ed0
MP
2419 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2420
24212011-06-23 Marek Polacek <mpolacek@redhat.com>
2422
2423 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2424 `test_exec_and_symbol_mi_operatons' return value.
2425 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2426 gdb_test_multiple.
2427 (test_exec_and_symbol_mi_operatons): Likewise.
2428 (test_path_specification): Likewise.
e55595ca 2429
be777e08
YQ
24302011-06-23 Yao Qi <yao@codesourcery.com>
2431
2432 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2433 supported.
2434 * lib/gdb.exp (support_displaced_stepping): New.
2435
615556d6
YQ
24362011-06-23 Yao Qi <yao@codesourcery.com>
2437
2438 * gdb.threads/execl.exp: Skip on remote target.
2439
833b0ca7
MP
24402011-06-21 Marek Polacek <mpolacek@redhat.com>
2441
5d197ed0 2442 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2443 mi_gdb_test.
2444
1ee4023a
MP
24452011-06-20 Marek Polacek <mpolacek@redhat.com>
2446
5d197ed0 2447 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2448
d0b1d624
MP
24492011-06-20 Marek Polacek <mpolacek@redhat.com>
2450
5d197ed0 2451 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2452 mi_gdb_test.
2453
79aa92c1
MP
24542011-06-20 Marek Polacek <mpolacek@redhat.com>
2455
5d197ed0 2456 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2457
5ce5db06
YQ
24582011-06-14 Yao Qi <yao@codesourcery.com>
2459
2460 gdb/testsuite/
2461 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2462
533a737e
JK
24632011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2464
2465 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2466
d0e53741
TT
24672011-06-10 Tom Tromey <tromey@redhat.com>
2468
2469 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2470 Add tests for pointer-to-member-function.
2471 * gdb.cp/temargs.cc (S::somefunc): New function.
2472 (K2): New class.
2473 (main): Instantiate K2; call method.
2474
b5916bbd
JB
24752011-06-08 Joel Brobecker <brobecker@adacore.com>
2476
2477 * gdb.python/py-inferior.c (f2): Make str an array rather
2478 than a pointer.
2479 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2480
5be4dfca
JK
24812011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 * gdb.base/async-shell.c: New file.
2484 * gdb.base/async-shell.exp: New file.
2485
9f47e254
PA
24862011-06-06 Pedro Alves <pedro@codesourcery.com>
2487
2488 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2489
64b9b334
JB
24902011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2491
2492 From Stephen Kitt <steve@sk2.org>
2493 * gdb.base/help.exp: Adjust following some spelling corrections
2494 in GDB.
2495
dbc0f131
YQ
24962011-06-01 Yao Qi <yao@codesourcery.com>
2497
2498 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2499
fd336a18
KS
25002010-05-31 Keith Seitz <keiths@redhat.com>
2501
2502 PR c++/12750
2503 * gdb.cp/static-method.cc: New file.
2504 * gdb.cp/static-method.exp: New file.
2505
fa8b9902
KS
25062010-05-31 Keith Seitz <keiths@redhat.com>
2507
2508 PR symtab/12704
2509 * gdb.cp/anon-ns.cc: New file.
2510 * gdb.cp/anon-ns.exp: New file.
2511
0a5b1e09
PA
25122011-05-31 Pedro Alves <pedro@codesourcery.com>
2513
2514 * gdb.arch/i386-dr3-watch.c: New file.
2515 * gdb.arch/i386-dr3-watch.exp: New file.
2516
0578b8d1
YQ
25172011-05-30 Yao Qi <yao@codesourcery.com>
2518
2519 * gdb.base/callfuncs.c (t_structs_fc): New.
2520 (t_structs_dc, t_structs_ldc): New.
2521 (t_double_many_args):
2522 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2523 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2524 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2525 * gdb.base/callfuncs.exp: Call new functions.
2526
6680506e
YQ
25272011-05-30 Yao Qi <yao@codesourcery.com>
2528
ff4d2c60
YQ
2529 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2530 Call rerun_and_prepare for each test to isolate effects.
2531
25322011-05-30 Yao Qi <yao@codesourcery.com>
2533
2534 * gdb.base/varargs.c (find_max_float_real): New.
2535 (find_max_double_real, find_max_long_double_real): New.
2536 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2537 * lib/gdb.exp (setup_kfail_for_target): New.
2538
e43ec454
YQ
25392011-05-30 Yao Qi <yao@codesourcery.com>
2540
2541 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2542 (callcd, callce, callcf, callc1a, callc1b): New.
2543 (callc2a, callc2b): New.
2544 * gdb.base/funcargs.exp (complex_args): New.
2545 (complex_integral_args, complex_float_integral_args): New.
2546 * lib/gdb.exp (support_complex_tests): New. Determine
2547 whether to run test cases on _Complex types.
2548
432b4d03
JK
25492011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * gdb.threads/leader-exit.c: New file.
2552 * gdb.threads/leader-exit.exp: New file.
2553
6caf069d
MP
25542011-05-27 Marek Polacek <mpolacek@redhat.com>
2555
9497469f 2556 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2557
97fce28b
MP
25582011-05-27 Marek Polacek <mpolacek@redhat.com>
2559
2560 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2561 remove the `supported' variable.
2562 * gdb.mi/mi-nonstop.exp: Likewise.
2563 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2564 * gdb.mi/mi-nsintrall.exp: Likewise.
2565 * gdb.mi/mi-nsmoribund.exp: Likewise.
2566 * gdb.mi/mi-nsthrexec.exp: Likewise.
2567
9da8c2a0
PA
25682011-05-26 Pedro Alves <pedro@codesourcery.com>
2569
2570 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2571
2c03e5be
PA
25722011-05-26 Pedro Alves <pedro@codesourcery.com>
2573
2574 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2575
2e21250d
KS
25762011-05-24 Keith Seitz <keiths@redhat.com>
2577
2578 PR breakpoint/12803
2579 * gdb.cp/cmpd-minsyms.cc (a): New method.
2580 (b): New method.
2581 (c): New method.
2582 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2583
cdac0397
PA
25842011-05-24 Pedro Alves <pedro@codesourcery.com>
2585
2586 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2587 watchpoint's command list didn't execute when the watchpoint went
2588 out of scope.
2589
ee5683ab
PM
25902011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2591
2592 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2593 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2594 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2595 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2596 * gdb.arch/i386-permbkpt.exp: Likewise.
2597 * gdb.arch/i386-prologue.exp: Likewise.
2598 * gdb.arch/i386-size-overlap.exp: Likewise.
2599 * gdb.arch/i386-size.exp: Likewise.
2600 * gdb.arch/i386-unwind.exp: Likewise.
2601 * gdb.reverse/i386-precsave.exp: Likewise.
2602 * gdb.reverse/i386-reverse.exp: Likewise.
2603 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2604 * gdb.reverse/i387-env-reverse.exp: Likewise.
2605 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2606
c91c8c16
PA
26072011-05-24 Pedro Alves <pedro@codesourcery.com>
2608
2609 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2610 file doesn't error, using MI.
2611
c50491a7
TT
26122011-05-23 Tom Tromey <tromey@redhat.com>
2613
2614 * gdb.base/charset.exp (string_display): Add tests to assign to
2615 arrays.
2616 * gdb.base/charset.c (short_array, int_array, long_array): New.
2617
4a07b7da
PA
26182011-05-20 Pedro Alves <pedro@codesourcery.com>
2619
2620 Cope with async mode.
2621
4a07b7da
PA
2622 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2623 into gdb_test + mi_expect_stop.
2624
b275f2d2
PA
26252011-05-20 Pedro Alves <pedro@codesourcery.com>
2626
2627 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2628 (callme): Remove printf call.
2629
eec52c44
PM
26302011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2631
2632 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2633 quote pattern to avoid problems with Cygwin/mingw expect versions.
2634 * gdb.base/default.exp (show convenience): Use double
2635 quote pattern for regular expressions.
2636
b3c8eb43
JK
26372011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 Fix -readnow for -gdwarf-4 unused type units.
2640 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2641 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2642
ed731959
JK
26432011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.base/kill-after-signal.c: New file.
2646 * gdb.base/kill-after-signal.exp: New file.
2647
3b48433d
PA
26482011-05-16 Pedro Alves <pedro@codesourcery.com>
2649
2650 * gdb.ada/start.exp: Call untested with the correct test filename.
2651 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2652 test filename. Make the test's binary unique.
2653 * gdb.arch/i386-signal.exp: Call untested with the correct test
2654 filename.
2655 * gdb.arch/i386-size-overlap.exp: Ditto.
2656 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2657 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2658 * gdb.cp/call-c.exp: Ditto.
2659 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2660 filename. Make the test's binary unique.
2661 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2662 * gdb.python/py-mi.exp: Ditto.
2663 * gdb.python/Makefile.in (EXECUTABLES): Update.
2664 * gdb.reverse/i386-precsave.exp: Ditto.
2665 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2666 test filename.
2667 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2668 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2669 unique.
2670 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2671 test filename.
2672 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2673 * gdb.trace/tfile.exp: Ditto.
2674
ba4a8bdd
YQ
26752011-05-14 Yao Qi <yao@codesourcery.com>
2676
2677 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2678 type.
2679
dbaefcf7
DE
26802011-05-13 Doug Evans <dje@google.com>
2681
2682 * gdb.python/py-objfile-script.exp: New file.
2683 * gdb.python/py-objfile-script.c: New file.
2684 * gdb.python/py-objfile-script-gdb.py: New file.
2685 * testsuite/gdb.python/py-section-script.exp: Test
2686 "info auto-load-scripts".
2687
9930639c
TT
26882011-05-13 Tom Tromey <tromey@redhat.com>
2689
2690 * gdb.dwarf2/clztest.exp: New file.
2691 * gdb.dwarf2/clztest.c: New file.
2692 * gdb.dwarf2/clztest.S: New file.
2693
05272e11
DE
26942011-05-13 Doug Evans <dje@google.com>
2695
cc63ef9b
DE
2696 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2697 String16 tests.
05272e11 2698
6edba76f
TT
26992011-05-13 Tom Tromey <tromey@redhat.com>
2700
2701 * lib/gdb.exp (is_x86_like_target): New proc.
2702 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2703 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2704 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2705 -nostdlib to compiler.
2706 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2707 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2708 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2709 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2710 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2711
028d0ed5
TJB
27122011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2713
2714 * gdb.python/py-function.exp: Test setting a value from a function
2715 which executes a command.
2716
8a9b8146
TT
27172011-05-12 Tom Tromey <tromey@redhat.com>
2718
2719 * gdb.dwarf2/typeddwarf.S: New file.
2720 * gdb.dwarf2/typeddwarf.c: New file.
2721 * gdb.dwarf2/typeddwarf.exp: New file.
2722
10483e8e
MP
27232011-05-12 Marek Polacek <mpolacek@redhat.com>
2724
2725 * gdb.mi/mi-basics.exp: Fix races. Honour the
2726 `test_exec_and_symbol_mi_operatons' return value.
2727 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2728 gdb_test_multiple.
2729 (test_exec_and_symbol_mi_operatons): Likewise.
2730 (test_path_specification): Likewise.
2731
faf067f1
JK
27322011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2733
2734 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2735 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2736 Replace `file copy' and `file rename' by `file mtime'. Twice.
2737
7ff911a3
JK
27382011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2739
2740 * gdb.base/readline-ask.c: New file.
2741 * gdb.base/readline-ask.exp: New file.
2742 * gdb.base/readline-ask.inputrc: New file.
2743
a536c6d7
UW
27442011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2745
2746 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2747 to avoid race condition.
2748 * gdb.cell/coremaker.c: Use small stack size.
2749 * gdb.cell/ea-standalone.exp: Use file name without path as
2750 argument to c_to.
2751 * gdb.cell/fork.exp: Allow other output when continuing to end.
2752
d472a426
JK
27532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2754
2755 * gdb.threads/corethreads.c: New file.
2756 * gdb.threads/corethreads.exp: New file.
2757
27582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2759
2760 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2761 Try to compile the test using -Wl,-z,norelro first.
2762 (load_core): New variable libthread_db_seen, initialize it.
2763 (zeroed-threads cannot be listed): Protect it by XFAIL on
2764 !$libthread_db_seen.
2765
8be455d7
JK
27662011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2767
2768 PR 12573
2769 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2770 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2771 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2772
1976171a
JK
27732011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2774
2775 * gdb.cp/psymtab-parameter.cc: New file.
2776 * gdb.cp/psymtab-parameter.exp: New file.
2777
7db6f30f
JK
27782011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2779
2780 Fix a race.
2781 * gdb.cp/static-print-quit.exp (print c): Split to ...
2782 (print c - <return>, print c - q <return>, print c - to quit):
2783 ... these. Make the testfile untested on gdb-7.1.
2784
85161e9e 27852011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2786
2787 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2788 gdb_rename_execfile, gdb_touch_execfile): New.
2789 * gdb.base/reread.exp: Use new procs to handle multiple
2790 exec files.
2791
0c51be18
YQ
27922011-05-05 Yao Qi <yao@codesourcery.com>
2793
2794 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2795 (test_adr_32bit, test_pop_pc): New.
2796 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2797 (test_adr_32bit, test_pop_pc): New.
2798
4d393d60
JM
27992011-05-04 Joseph Myers <joseph@codesourcery.com>
2800
2801 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2802 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2803 targets.
2804 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2805 handle targets.
2806
8ffd0459
JK
28072011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2808
2809 * gdb.base/completion.exp (complete help info wat): Rename to ...
2810 (complete 'help info wat'): ... here.
2811 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2812 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2813
8e28d804
PA
28142011-05-04 Pedro Alves <pedro@codesourcery.com>
2815
2816 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2817 gdb_test and explicit $gdb_prompt/timeout matches.
2818
3eb2ef34
YQ
28192011-05-04 Yao Qi <yao@codesourcery.com>
2820
2821 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2822 and __thumb2__.
2823
aaaf81a3
MP
28242011-05-03 Marek Polacek <mpolacek@redhat.com>
2825
2826 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2827 in place of `gdb_test "delete breakpoints"'. This eliminates two
2828 testcases.
2829
c4cbc0df
PA
28302011-05-02 Pedro Alves <pedro@codesourcery.com>
2831
2832 PR testsuite/12649
2833 Fix races.
2834
2835 * gdb.base/completion.exp: Remove all sleep calls. Remove
2836 unnecessary regexs. Don't explicitly expect anything after the
2837 prompt. Eat the prompt if necessary.
2838
b4cbb4a3
EBM
28392011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2840
2841 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2842 accept to show the caller line again as well as the line after.
2843
d65aec65
PM
28442011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2845
2846 PR mi/12531
2847
2848 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2849 compile target.
2850 * gdb.python/py-prettyprint.exp: Add C++ object for
2851 CPLUS_FAKE_CHILD test.
2852
30852783
UW
28532011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2854
2855 * gdb.base/signest.exp: New file.
2856 * gdb.base/signest.c: Likewise.
2857
c7b1f0d9
JK
28582011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2859
2860 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2861 thread and breakpoint notifications.
2862
559a7a62
JK
28632011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2864
2865 * gdb.base/fortran-sym-case.c: New file.
2866 * gdb.base/fortran-sym-case.exp: New file.
2867 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2868 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2869 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2870
8344e389
JK
28712011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2874 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2875 false #1', `if true else false #2' and `if true else false #3'.
2876
2484c66b
UW
28772011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2878
2879 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2880 while delivering signal.
2881
8d3788bd
VP
28822011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2883
2884 MI breakpoint notifications.
2885
2886 * testsuite/gdb.mi/mi-cli.exp: Adust.
2887 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2888 * testsuite/gdb.mi/mi-watch.exp: Adust.
2889 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2890 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2891 notifications.
2892
3e03848b
JK
28932011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2896 * gdb.base/gdbindex-stabs.c: New file.
2897 * gdb.base/gdbindex-stabs.exp: New file.
2898
918c9108
YQ
28992011-04-25 Yao Qi <yao@codesourcery.com>
2900
2901 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2902 with /*...*/.
2903 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2904
90556b8c
JK
29052011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2906
2907 * gdb.python/py-value.exp (test_objfiles): Name the first test
2908 `py-value in file.filename'.
2909
03f2bd59
JK
29102011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2913 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2914 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2915 !gdbserver_reconnect_p..
2916 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2917
7b08b9eb
JK
29182011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 * gdb.cp/cpcompletion.exp (complete class methods)
2921 (complete class methods beginning with F): Move them above runto. New
2922 comment about the runto delimiter.
2923
b78974c3
PA
29242011-04-20 Pedro Alves <pedro@codesourcery.com>
2925
2926 * gdb.base/maint.exp: Test that "maint print registers" works
2927 without a running program.
2928
20429c40 29292011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2930
20429c40
MP
2931 * gdb.base/setshow.exp: Fix racy tests.
2932 ($old_gdb_prompt): New variable.
2933
7a9dd1b2
TT
29342011-04-19 Tom Tromey <tromey@redhat.com>
2935
2936 * gdb.mi/mi-nsmoribund.exp:
2937 * gdb.hp/gdb.objdbg/objdbg01.exp:
2938 * gdb.base/structs.exp (test_struct_returns):
2939 * gdb.base/call-sc.exp (test_scalar_returns):
2940 * gdb.base/bigcore.exp: Remove duplicate words.
2941
02835898
JK
29422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2943
2944 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2945 * gdb.base/break-interp.exp (test_attach): New comment.
2946
254f582e
JK
29472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2948
2949 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2950 (clear __stack_user.next, clear stack_used.next)
2951 (save a zeroed-threads corefile): New test.
2952 Call core_load for $core0file.
2953 (zeroed-threads cannot be listed): New test.
2954
4fe85f5c
JK
29552011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2956
2957 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2958 filename.
2959 ($srcfile): Preserve the original value.
2960 ($testfile): Match it the .exp filename.
2961 ($corefile): New variable. Substitute it around.
2962 Use clean_restart.
2963 ($prev_timeout): Remove.
2964 (load_core): Move core loading into this proc.
2965 Fix restore of $timeout if load_core fails.
2966
63524580
JK
29672011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2968
2969 * gdb.base/eu-strip-infcall.c: New file.
2970 * gdb.base/eu-strip-infcall.exp: New file.
2971
90359a16
JK
29722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2973
2974 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2975 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2976
626e7282
JK
29772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2978
2979 Fix Python access to inlined frames.
2980 * gdb.python/py-frame-inline.c: New file.
2981 * gdb.python/py-frame-inline.exp: New file.
2982
3363d018
EBM
29832011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2984
2985 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2986 content of 's24' correctly (avoiding "optimized out").
2987 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2988
28781456
JK
29892011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2992
4a4106ca
TJB
29932011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2994
2995 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2996 expect a colon in watch -location output.
2997
d26ccb4f
JK
29982011-04-13 Marek Polacek <mpolacek@redhat.com>
2999
df46027d 3000 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3001 New testcase `expect response to define backtrace'. Also remove
3002 redundant `default' block.
3003
e1ab1f9c
JK
30042011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3005
3006 * gdb.python/py-prettyprint.c (struct hint_error): New.
3007 (main): New variable hint_error.
3008 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3009 "print hint_error".
3010 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3011 (register_pretty_printers): Register it.
3012
0c2e6019
TT
30132011-04-04 Tom Tromey <tromey@redhat.com>
3014
3015 * gdb.cp/maint.exp (test_help): Update.
3016 (test_namespace): Likewise.
3017
af57139d
JB
30182011-04-01 Joel Brobecker <brobecker@adacore.com>
3019
3020 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3021 * gdb.ada/arrayptr.exp: Add new tests.
3022
956a9fb9
JB
30232011-04-01 Joel Brobecker <brobecker@adacore.com>
3024
3025 * gdb.ada/mi_catch_ex: New testcase.
3026
d0c4d642
PA
30272011-04-01 Pedro Alves <pedro@codesourcery.com>
3028
3029 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3030 base::overload(void) method without specifying "const".
3031
18819fa6
UW
30322011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3033
3034 * gdb.arch/thumb-singlestep.S: New file.
3035 * gdb.arch/thumb-singlestep.exp: Likewise.
3036
a4c8e806
TT
30372011-03-31 Tom Tromey <tromey@redhat.com>
3038
3039 * gdb.python/py-prettyprint.py (exception_flag): New global.
3040 (NoStringContainerPrinter._iterator.next): Check it.
3041 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3042 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3043
53832f31
TT
30442011-03-29 Tom Tromey <tromey@redhat.com>
3045
3046 * gdb.cp/anon-struct.cc: New file.
3047 * gdb.cp/anon-struct.exp: New file.
3048
e4620230
JK
30492011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3050
3051 Test STT_GNU_IFUNC support.
3052 * gdb.base/gnu-ifunc-lib.c: New file.
3053 * gdb.base/gnu-ifunc.c: New file.
3054 * gdb.base/gnu-ifunc.exp: New file.
3055
d0fb5eae
JK
30562011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3057
3058 Support a ring of related breakpoints.
3059 * gdb.base/watchpoint-delete.c: New file.
3060 * gdb.base/watchpoint-delete.exp: New file.
3061
20106cfb
JK
30622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3063
3064 * gdb.ada/arrayparam.exp (print first after function call): Use
3065 explicit package name. Add a comment
3066 (print lasta after function call): Rename ...
3067 (print last after function call): ... it and use explicit package
3068 name.
3069 (print length after function call): Use explicit package name.
3070 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3071 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3072 (multiple matches for symbol i): Rename ...
3073 (multiple matches for symbol integervar): ... it.
3074 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3075 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3076
e7ab5e63
AB
30772011-03-25 Andrew Burgess <aburgess@broadcom.com>
3078
3079 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3080 environment variable to make grep output more predictable. Move
3081 all the environment setup into gdb_init so it's done once per test
3082 case rather than each time we start gdb.
3083
9ef07c8c
TT
30842011-03-24 Tom Tromey <tromey@redhat.com>
3085
3086 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3087 test.
3088
dd90784c
JK
30892011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3090
3091 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3092 * gdb.dwarf2/dw2-entry-value.S: New file.
3093 * gdb.dwarf2/dw2-entry-value.exp: New file.
3094
05775840
PM
30952011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3096
3097 PR python/12183
3098
3099 * gdb.python/py-function.exp: Add GdbError tests.
3100
8661b11b
PA
31012011-03-18 Pedro Alves <pedro@codesourcery.com>
3102
3103 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3104 (reglocal_test_func, statlocal_test_func): New functions.
3105 (globals_test_func): Call new functions.
3106 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3107 (gdb_collect_locals_test): New procedure.
3108 (gdb_trace_collection_test): Call new procedures.
3109
0fdb4f18
PA
31102011-03-18 Pedro Alves <pedro@codesourcery.com>
3111
3112 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3113 (test_register, test_register_unavailable): New procedures.
3114 (gdb_unavailable_registers_test): New procedure.
3115 (gdb_trace_collection_test): Call it.
3116
99c3dc11
PM
31172011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3118
3119 PR python/12149
3120
3121 * gdb.python/python.exp: Add gdb.write tests.
3122
29703da4
PM
31232010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3124
3125 * gdb.python/Makefile.in: Add py-objfile.
3126 * gdb.python/py-objfile.exp: New file.
3127 * gdb.python/py-objfile.c: New file.
3128 * gdb.python/py-block.exp: Add is_valid tests.
3129 * gdb.python/py-inferior.exp: Ditto.
3130 * gdb.python/py-infthread.exp: Ditto.
3131 * gdb.python/py-symbol.exp: Ditto.
3132 * gdb.python/py-symtab.exp: Ditto.
3133
598997c8
KS
31342011-03-16 Keith Seitz <keiths@redhat.com>
3135
3136 PR c++/12273
3137 * gdb.cp/cmpd-minsyms.exp: New test.
3138 * gdb.cp/cmpd-minsyms.cc: New file.
3139
3140 PR c++/11734
3141 * gdb.cp/ovsrch.exp: New test.
3142 * gdb.cp/ovsrch.h: New file.
3143 * gdb.cp/ovsrch1.cc: New file.
3144 * gdb.cp/ovsrch2.cc: New file.
3145 * gdb.cp/ovsrch3.cc: New file.
3146 * gdb.cp/ovsrch4.cc: New file.
3147
c91513d8
PP
31482011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3149
3150 PR gdb/12528
3151 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3152 * gdb.base/break-on-linker-gcd-function.exp: New test.
3153 * gdb.base/break-on-linker-gcd-function.cc: New file.
3154
7470fc63
AT
31552011-03-15 Andreas Tobler <andreast@fgznet.ch>
3156
3157 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3158
959e7469
PM
31592011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3160
3161 * lib/gdb.exp (gdb_unload): Add another termination case.
3162
9373cf26
JK
31632011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3164
3165 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3166 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3167 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3168 Provide a stub byte there.
3169 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3170 DW_AT_entry_pc.
3171 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3172
24e9cda0
UW
31732011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3174
3175 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3176 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3177 "generic ABI, auto".
3178 (altivec_abi_tests): Accept vectors returned by reference.
3179
7371cf6d
PM
31802010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3181
3182 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3183
ce77046a
UW
31842011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3185
3186 * gdb.python/py-section-script.exp: Skip test if no Python support.
3187
176400c3
UW
31882011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3189
3190 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3191
ecec24e6
PM
31922011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3193
3194 * gdb.python/py-parameter.exp: Update tests to the new Python
3195 parameter API. Add "no documentation" test. Add deprecated API
3196 backward compatibility test.
3197
5dbdd470
TT
31982011-03-09 Tom Tromey <tromey@redhat.com>
3199
3200 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3201 gdb_continue_to_end.
3202
b66e66ee
MK
32032011-03-09 Mark Kettenis <kettenis@gnu.org>
3204
3205 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3206 tabs.
3207
eceb0c5f
TT
32082011-03-09 Tom Tromey <tromey@redhat.com>
3209
3210 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3211 parentheses.
3212 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3213 $command.
3214 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3215 argument to gdb_continue_to_end.
3216 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3217 argument to gdb_continue_to_end.
3218 * gdb.cp/annota3.exp: Fix regex.
3219 * gdb.cp/annota2.exp: Fix regex.
3220 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3221 gdb_continue_to_end.
3222 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3223 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3224 gdb_continue_to_end.
3225
63154eca
PA
32262011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3227
3228 * gdb.server/ext-run.exp
3229 (load new file without any gdbserver inferior): New test.
3230
967d1f9b
TT
32312011-03-07 Tom Tromey <tromey@redhat.com>
3232
3233 * Makefile.in (TAGS): Rewrite.
3234
d68dcbb9
JK
32352011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3236
3237 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3238 initial commands echo. New match for `Found trace'. Anchor all the
3239 other matches. Anchor and match for `No trace frame found' the final
3240 match.
3241
6bf58e63
TT
32422011-03-07 Tom Tromey <tromey@redhat.com>
3243
3244 * Makefile.in (TAGS): New target.
3245
fda326dd
TT
32462011-03-07 Tom Tromey <tromey@redhat.com>
3247
3248 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3249 change.
3250 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3251 change.
3252 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3253 exit message change.
3254 (skip_altivec_tests): Update for exit message change.
3255 (skip_vsx_tests): Likewise.
3256 (gdb_continue_to_end): Likewise. Add 'command' argument.
3257 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3258 * gdb.threads/tls.exp: Update for exit message change.
3259 * gdb.threads/thread-unwindonsignal.exp: Use
3260 gdb_continue_to_end.
3261 * gdb.threads/step.exp (step_it): Update for exit message change.
3262 (continue_all): Likewise.
3263 * gdb.threads/print-threads.exp (test_all_threads): Update for
3264 exit message change.
3265 * gdb.threads/interrupted-hand-call.exp: Use
3266 gdb_continue_to_end.
3267 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3268 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3269 gdb_continue_to_end.
3270 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3271 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3272 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3273 * gdb.cp/method.exp: Update for exit message change.
3274 * gdb.cp/mb-templates.exp: Update for exit message change.
3275 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3276 * gdb.cp/annota3.exp: Update for exit message change.
3277 * gdb.cp/annota2.exp: Update for exit message change.
3278 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3279 * gdb.base/term.exp: Update for exit message change.
3280 * gdb.base/step-test.exp (test_i): Update for exit message change.
3281 * gdb.base/sigstep.exp (advance): Update for exit message change.
3282 (advancei): Likewise.
3283 * gdb.base/siginfo.exp: Update for exit message change.
3284 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3285 * gdb.base/reread.exp: Use gdb_continue_to_end.
3286 * gdb.base/langs.exp: Use gdb_continue_to_end.
3287 * gdb.base/interrupt.exp: Update for exit message change.
3288 * gdb.base/gdb1555.exp: Update for exit message change.
3289 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3290 * gdb.base/ending-run.exp: Update for exit message change.
3291 * gdb.base/chng-syms.exp: Update for exit message change.
3292 * gdb.base/checkpoint.exp: Update for exit message change.
3293 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3294 gdb_continue_to_end.
3295 (test_catch_syscall_with_wrong_args): Likewise.
3296 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3297 * gdb.base/break-interp.exp (test_ld): Update for exit message
3298 change.
3299 * gdb.base/bang.exp: Update for exit message change.
3300 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3301 (do_call_attach_tests): Likewise.
3302 * gdb.base/a2-run.exp: Update for exit message change.
3303 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3304 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3305 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3306
dd19bd70
JK
33072011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3308
3309 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3310
30e62689
TT
33112011-03-03 Tom Tromey <tromey@redhat.com>
3312
3313 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3314 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3315 * gdb.hp/gdb.aCC/configure.ac: Remove.
3316 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3317 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3318 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3319 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3320 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3321 * gdb.hp/gdb.compat/configure.ac: Remove.
3322 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3323 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3324 * gdb.hp/gdb.defects/configure.ac: Remove.
3325 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3326 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3327 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3328 * gdb.hp/configure.ac: Remove.
3329 * gdb.hp/configure: Remove.
3330 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3331 substitution.
3332 (Makefile): Remove rule.
3333 * gdb.cell/configure.ac: Remove.
3334 * gdb.cell/configure: Remove.
3335 * gdb.stabs/Makefile.in (Makefile): Remove.
3336 (distclean): Don't remove config.status or config.log.
3337 * gdb.stabs/configure (Makefile): Remove.
3338 * gdb.stabs/configure.ac: Remove.
3339 * configure: Rebuild.
3340 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3341 Remove stabs- and cell-specific logic. Test for existence of
3342 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3343 subdirectories, gdb.cell, and and gdb.stabs.
3344 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3345
c171f854
JB
33462011-03-03 Joel Brobecker <brobecker@adacore.com>
3347
3348 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3349 end of buffer.
3350
9a5193cb
JB
33512011-03-02 Joel Brobecker <brobecker@adacore.com>
3352
3353 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3354 gdb_test when running a test where we expected no output back.
3355
9bb4c1bb
MS
33562011-02-28 Michael Snyder <msnyder@vmware.com>
3357
3358 * gdb.cp/overload.cc: Change initializer value to integer.
3359
3bd0f5ef
MS
33602011-02-27 Michael Snyder <msnyder@vmware.com>
3361
3362 * gdb.multi/base.exp: Add test for remove-inferiors.
3363
2279eaad
JB
33642011-02-26 Joel Brobecker <brobecker@adacore.com>
3365
3366 * gdb.python/py-frame.exp: Simplify the initialization phase
3367 using prepare_for_testing.
3368
c82c0b55
MS
33692011-02-25 Michael Snyder <msnyder@vmware.com>
3370
3371 * gdb.multi/base.exp: Add tests for info inferiors with args.
3372
1d94651b
JK
33732011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3374
3375 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3376 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3377 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3378 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3379 asmfile3. Comment the STABS (#3) file compilation. Compile
3380 everything through assembler. Provide KFAIL for symtab/12497.
3381 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3382 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3383 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3384 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3385
3bd0f5ef
MS
33862011-02-24 Michael Snyder <msnyder@vmware.com>
3387
3388 * gdb.base/break.exp: Add tests for delete breakpoints using
3389 convenience variables and value history references.
3390
12c1418e
MS
33912011-02-24 Michael Snyder <msnyder@vmware.com>
3392
3393 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3394 left behind in previous check-in.
3395
e5a67952
MS
33962011-02-23 Michael Snyder <msnyder@vmware.com>
3397
3398 * gdb.base/break.exp: Add tests for "info break" with arguments.
3399 * gdb.trace/infotrace.exp: Update patterns for error and help.
3400 * gdb.base/completion.exp: Update pattern.
3401 * gdb.base/ena-dis-br.exp: Update pattern.
3402 * gdb.base/help.exp: Update patterns.
3403
34042011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3405
3406 * gdb.base/memattr.exp: New test.
3407 * gdb.base/memattr.c: Test load for memattr.exp.
3408
6e6fbe60
DE
34092011-02-22 Doug Evans <dje@google.com>
3410
3411 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3412
1d41d745
MS
34132011-02-22 Michael Snyder <msnyder@vmware.com>
3414
3415 * Makefile.in: Make more clean.
3416 * gdb.ada/Makefile.in: Ditto.
3417 * gdb.arch/Makefile.in: Ditto.
3418 * gdb.asm/Makefile.in: Ditto.
3419 * gdb.base/Makefile.in: Ditto.
3420 * gdb.cp/Makefile.in: Ditto.
3421 * gdb.dwarf2/Makefile.in: Ditto.
3422 * gdb.java/Makefile.in: Ditto.
3423 * gdb.mi/Makefile.in: Ditto.
3424 * gdb.modula2/Makefile.in: Ditto.
3425 * gdb.python/Makefile.in: Ditto.
3426 * gdb.server/Makefile.in: Ditto.
3427 * gdb.stabs/Makefile.in: Ditto.
3428 * gdb.threads/Makefile.in: Ditto.
3429 * gdb.trace/Makefile.in: Ditto.
3430
79ba84ca
MS
34312011-02-22 Michael Snyder <msnyder@vmware.com>
3432
df46027d 3433 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3434 info threads.
3435
b9b35694
JB
34362011-02-22 Joel Brobecker <brobecker@adacore.com>
3437
3438 * gdb.python/py-breakpoint.exp: Fix the expected output of
3439 one of the "maint info breakpoints" tests to accept the output
3440 generated on platforms that do not have hardware watchpoints.
3441
8bfb830f
JB
34422011-02-22 Joel Brobecker <brobecker@adacore.com>
3443
3444 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3445 clean_restart. Be a little stricter in the expected output
3446 for one of the tests. Fix a typo in one of the comments.
3447
c45f3c54
JB
34482011-02-22 Joel Brobecker <brobecker@adacore.com>
3449
3450 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3451 Delete variable binfile, no longer use. Add or modify test
3452 comments to make them unique.
3453
b97c863c
MS
34542011-02-21 Michael Snyder <msnyder@vmware.com>
3455
3456 * Makefile.in: Update for make clean.
3457 * gdb.ada/Makefile.in: Ditto.
3458 * gdb.arch/Makefile.in: Ditto.
3459 * gdb.asm/Makefile.in: Ditto.
3460 * gdb.base/Makefile.in: Ditto.
3461 * gdb.cp/Makefile.in: Ditto.
3462 * gdb.dwarf2/Makefile.in: Ditto.
3463 * gdb.java/Makefile.in: Ditto.
3464 * gdb.mi/Makefile.in: Ditto.
3465 * gdb.modula2/Makefile.in: Ditto.
3466 * gdb.python/Makefile.in: Ditto.
3467 * gdb.server/Makefile.in: Ditto.
3468 * gdb.stabs/Makefile.in: Ditto.
3469 * gdb.threads/Makefile.in: Ditto.
3470 * gdb.trace/Makefile.in: Ditto.
3471
aea5b279
MS
34722011-02-21 Michael Snyder <msnyder@vmware.com>
3473
3474 * gdb.threads/thread-find.exp: Update patterns for changes in
3475 output of "info threads" command.
3476
e3039479
UW
34772011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3478 Ulrich Weigand <uweigand@de.ibm.com>
3479
3480 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3481 (skip_hw_watchpoint_tests): Likewise.
3482 (skip_hw_watchpoint_multi_tests): Likewise.
3483
b800ec70
UW
34842011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3485
3486 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3487 (skip_hw_watchpoint_tests): Likewise.
3488 (skip_hw_watchpoint_multi_tests): Likewise.
3489 (skip_hw_watchpoint_access_tests): Likewise.
3490
3491 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3492 * gdb.base/pr11022.exp: Likewise.
3493 * gdb.base/watch-read.exp: Likewise.
3494 * gdb.base/watch_thread_num.exp: Likewise.
3495 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3496 * gdb.base/watchpoint-hw.exp: Likewise.
3497 * gdb.base/watchpoint.exp: Likewise.
3498 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3499 * gdb.threads/watchthreads-reorder.exp: Likewise.
3500 * gdb.threads/watchthreads.exp: Likewise.
3501 * gdb.threads/watchthreads2.exp: Likewise.
3502
91033e37
JB
35032011-02-21 Joel Brobecker <brobecker@adacore.com>
3504
3505 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3506 the debugger is unable to find the array bounds.
3507
eeaafae2
JK
35082011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3509
3510 * gdb.cp/typedef-operator.exp: New file.
3511 * gdb.cp/typedef-operator.cc: New file.
3512
e338d953
MS
35132011-02-17 Michael Snyder <msnyder@vmware.com>
3514
3515 * gdb.threads/thread-find.exp: Fix regular expressions.
3516
e67ad678
JB
35172011-02-17 Joel Brobecker <brobecker@adacore.com>
3518
3519 * gdb.ada/packed_array: Expand testcase to test printing of
3520 unconstrained packed array.
3521
93084bca
JB
35222011-02-17 Joel Brobecker <brobecker@adacore.com>
3523
3524 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3525
a0c78a73
PA
35262011-02-16 Pedro Alves <pedro@codesourcery.com>
3527
f65d5553 3528 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3529 (main): Initialize it before collecting, and and clear it
3530 afterwards.
f65d5553
PA
3531 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3532 collecting with '{type} addr', where the addr expression is not an
3533 rvalue.
a0c78a73 3534
3dfcbbd2
KW
35352011-02-16 Ken Werner <ken.werner@de.ibm.com>
3536
3537 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3538 a bool variable. Expect correct OpenCL names for vector types. Use the
3539 uc3 variable name instead of referring to the uchar3 built-in type.
3540 Escape the asterisk at the half pointer test.
3541
08807d5a
PA
35422011-02-16 Pedro Alves <pedro@codesourcery.com>
3543
f65d5553 3544 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3545 (main): Initialize it before collecting, and and clear it
3546 afterwards.
f65d5553
PA
3547 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3548 collecting overlapping memory ranges.
08807d5a 3549
60f98dde
MS
35502011-02-15 Michael Snyder <msnyder@vmware.com>
3551
3552 * gdb.base/default.exp: Add tests for thread commands.
3553 * gdb.base/help.exp: Add tests for thread commands.
3554 * gdb.threads/thread-find.exp: New test for thread find command.
3555
648cd113
KW
35562011-02-15 Ken Werner <ken.werner@de.ibm.com>
3557
3558 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3559
494e194e
YQ
35602011-02-15 Yao Qi <yao@codesourcery.com>
3561
3562 PR tdep/12352
3563 * gdb.arch/arm-disp-step.S : New test for str instruction.
3564 * gdb.arch/arm-disp-step.exp : Likewise.
3565
d9492458
TJB
35662011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3567
3568 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3569 "vector_register2_vr" test strings. Test the extended floating
3570 point registers (F32~F63).
3571 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3572 IBM XL C compiler. Make the test program use a register provided
3573 by the compiler for the lxvd2x instruction.
3574
8af8e3bc
PA
35752011-02-14 Pedro Alves <pedro@codesourcery.com>
3576
3577 * gdb.trace/unavailable.cc (class Base, class Middle, class
3578 Derived): New types.
3579 (derived_unavail, derived_partial, derived_whole): New globals.
3580 (virtual_partial): New global.
3581 (virtualp): Point at virtual_partial.
3582 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3583 related to unavailable vptr.
3584
1b28d0b3
PA
35852011-02-14 Pedro Alves <pedro@codesourcery.com>
3586
3587 * gdb.trace/unavailable.cc (a, b, c): New globals.
3588 (main): Set and clear them.
3589 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3590 `a' and `c', and check that `b' isn't collected, although `a' and
3591 `c' are.
3592
ec0a52e1
PA
35932011-02-14 Pedro Alves <pedro@codesourcery.com>
3594
3595 * gdb.trace/unavailable.cc (struct Virtual): New.
3596 (virtualp): New global pointer.
3597 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3598 printing a pointer to an object whose type has a vtable, with
3599 print object on.
3600
24e6bcee
PA
36012011-02-14 Pedro Alves <pedro@codesourcery.com>
3602
3603 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3604 value repeat handles unavailableness.
3605
39d37385
PA
36062011-02-14 Pedro Alves <pedro@codesourcery.com>
3607
3608 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3609 tests for building arrays from unavailable values, subscripting
3610 non-memory rvalue unvailable arrays, and accessing fields or
3611 baseclasses of non-lazy unavailable values,
3612 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3613 struct types.
3614 (g_smallstruct, g_smallstruct_b): New globals.
3615
06d72e16
PA
36162011-02-14 Pedro Alves <pedro@codesourcery.com>
3617
3618 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3619
bc9a5551
JK
36202011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3621
3622 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3623 * gdb.cp/overload-const.exp: New file.
3624 * gdb.cp/overload-const.cc: New file.
3625
54fcddd0
UW
36262011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3627
3628 * gdb.opencl/callfuncs.cl: New file.
3629 * gdb.opencl/callfuncs.exp: New test.
3630 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3631
d6dafb7c
UW
36322011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3633
3634 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3635 when computing result.
3636 * gdb.arch/altivec-abi.exp: Update expected results.
3637
a449c2d8
TJB
36382011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3639
3640 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3641 * gdb.base/jit.exp: Likewise.
3642 * gdb.base/pie-execl.exp: Likewise.
3643 * gdb.base/solib-nodir.exp: Likewise.
3644 * gdb.base/solib-overlap.exp: Likewise.
3645
764880b7
PA
36462011-02-07 Pedro Alves <pedro@codesourcery.com>
3647
3648 * gdb.trace/collection.c (global_pieces): New.
3649 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3650 New procedure.
3651 (gdb_trace_collection_test): Call it.
3652
505500db
SW
36532011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3654
3655 * gdb.python/py-evthreads.c: New file.
3656 * gdb.python/py-evthreads.exp: New file.
3657 * gdb.python/py-events.py: New file.
3658 * gdb.python/py-events.exp: New file.
3659 * gdb.python/py-events.c: New file.
3660
385203ed
DD
36612011-02-04 David Daney <ddaney@caviumnetworks.com>
3662
3663 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3664
9011945e
AB
36652011-02-03 Andrew Burgess <aburgess@broadcom.com>
3666
3667 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3668 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3669 boundary between two compilation units.
3670
580688f3
PA
36712011-02-02 Pedro Alves <pedro@codesourcery.com>
3672
3673 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3674 (Virtual): New structs.
3675 (virtual_o, virtual_middle_b): New globals.
3676 * gdb.cp/virtbase.exp: New tests.
3677
d3f0f853
PP
36782011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3679
3680 * gdb.base/jit.exp: New file.
3681 * gdb.base/jit-main.c: New file.
3682 * gdb.base/jit-solib.c: New file.
3683
b2030fb5
UW
36842011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3685
3686 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3687 proceed to initial kernel entry point.
3688 * gdb.opencl/datatypes.exp: Likewise.
3689 * gdb.opencl/operators.exp: Likewise.
3690 * gdb.opencl/vec_comps.exp: Likewise.
3691
2db19d1e
SW
36922011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3693
3694 * gdb.cp/nsnested.cc: New.
3695 * gdb.cp/nsnested.exp: New.
3696 * gdb.cp/nsnoimports.exp: New.
3697 * gdb.cp/nsnoimports.cc: New.
3698
6b0c4c1f
JB
36992011-01-31 Joel Brobecker <brobecker@adacore.com>
3700
3701 * gdb.base/interact.exp: Add extra tests that verify that
3702 the value of the interactive-mode setting does not change
3703 after the script is sourced.
3704
80b23b6a
JK
37052011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3706
3707 * gdb.cp/noparam.exp: New file.
3708 * gdb.cp/noparam.cc: New file.
3709
ffd5ec24
PA
37102011-01-28 Pedro Alves <pedro@codesourcery.com>
3711
3712 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3713 there's no stack or registers.
3714
a81766d8
TT
37152011-01-26 Tom Tromey <tromey@redhat.com>
3716
3717 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3718 space before string output. Add test for "set print pretty off"
3719 case.
3720
585fdaa1
PA
37212011-01-25 Pedro Alves <pedro@codesourcery.com>
3722
3723 * gdb.base/frame-args.exp: Adjust.
3724 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3725 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3726 * gdb.dwarf2/pieces.exp: Adjust.
3727 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3728 * gdb.opt/inline-locals.exp: Adjust.
3729 * gdb.threads/fork-child-threads.exp: Adjust.
3730
d468832a
KW
37312011-01-25 Ken Werner <ken.werner@de.ibm.com>
3732
3733 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3734 OpenCL kernel function. Add a comment as marker. Add address space
3735 qualifiers for the remaining program scope variables.
3736 * gdb.opencl/datatypes.cl: Likewise.
3737 * gdb.opencl/operators.cl: Likewise.
3738 * gdb.opencl/vec_comps.cl: Likewise.
3739 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3740 Add breakpoint at the marker comment.
3741 * gdb.opencl/datatypes.exp: Likewise.
3742 * gdb.opencl/operators.exp: Likewise.
3743 * gdb.opencl/vec_comps.exp: Likewise.
3744
490f124f
PA
37452011-01-24 Pedro Alves <pedro@codesourcery.com>
3746
3747 * gdb.base/printcmds.c (some_struct): New struct and instance.
3748 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3749 procedure.
3750 <global scope>: Call it.
3751
6da78614
KW
37522011-01-21 Ken Werner <ken.werner@de.ibm.com>
3753
3754 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3755 argument to the gdb_compile_opencl_hostapp call.
3756
ec64c9aa
YQ
37572011-01-19 Yao Qi <yao@codesourcery.com>
3758
3759 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3760 positve list.
3761
810cfdbb
YQ
37622011-01-19 Yao Qi <yao@codesourcery.com>
3763
3764 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3765 canonical form.
3766 Remove "xscale-*-*"
3767 * gdb.xml/tdesc-regs.exp: Likewise.
3768 * gdb.python/py-section-script.exp: Replace ARM target triplet
3769 with canonical form.
3770 Match arm*-*-symbianelf*.
3771 * gdb.base/dup-sect.exp: Likewise.
3772 * lib/dwarf.exp: New.
3773 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3774 dwarf2_support.
3775 * gdb.dwarf2/dup-psym.exp: Likewise.
3776 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3777 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3778 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3779 * gdb.dwarf2/dw2-basic.exp: Likewise.
3780 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3781 * gdb.dwarf2/dw2-const.exp: Likewise.
3782 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3783 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3784 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3785 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3786 * gdb.dwarf2/dw2-filename.exp: Likewise.
3787 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3788 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3789 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3790 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3791 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3792 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3793 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3794 * gdb.dwarf2/dw2-producer.exp: Likewise.
3795 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3796 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3797 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3798 * gdb.dwarf2/dw2-strp.exp: Likewise.
3799 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3800 * gdb.dwarf2/implptr.exp: Likewise.
3801 * gdb.dwarf2/mac-fileno.exp: Likewise.
3802 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3803 * gdb.dwarf2/pieces.exp: Likewise.
3804 * gdb.dwarf2/pr11465.exp: Likewise.
3805 * gdb.dwarf2/valop.exp: Likewise.
3806 * gdb.dwarf2/watch-notconst.exp: Likewise.
3807 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3808
4694da01
TT
38092011-01-19 Tom Tromey <tromey@redhat.com>
3810
3811 * gdb.python/py-infthread.exp: Add thread tests.
3812
b075872c
JB
38132011-01-14 Joel Brobecker <brobecker@adacore.com>
3814
3815 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3816
2c3e6e24
JB
38172011-01-14 Joel Brobecker <brobecker@adacore.com>
3818
3819 * gdb.ada/widewide: New testcase.
3820
de8fa76c
JB
38212011-01-13 Joel Brobecker <brobecker@adacore.com>
3822
3823 * gdb.base/interact.exp: New testcase.
3824
1b05df00
TT
38252011-01-12 Tom Tromey <tromey@redhat.com>
3826
3827 * gdb.mi/gdb2549.exp: Update for error message changes.
3828 * gdb.mi/mi-cli.exp: Likewise.
3829 * gdb.mi/mi-disassemble.exp: Likewise.
3830 * gdb.mi/mi-pthreads.exp: Likewise.
3831 * gdb.mi/mi-regs.exp: Likewise.
3832 * gdb.mi/mi-stack.exp: Likewise.
3833 * gdb.mi/mi-var-block.exp: Likewise.
3834 * gdb.mi/mi-var-cmd.exp: Likewise.
3835 * gdb.mi/mi2-cli.exp: Likewise.
3836 * gdb.mi/mi2-disassemble.exp: Likewise.
3837 * gdb.mi/mi2-pthreads.exp: Likewise.
3838 * gdb.mi/mi2-regs.exp: Likewise.
3839 * gdb.mi/mi2-stack.exp: Likewise.
3840 * gdb.mi/mi2-var-block.exp: Likewise.
3841 * gdb.mi/mi2-var-cmd.exp: Likewise.
3842
c2ff108b
JK
38432011-01-12 Andrew Burgess <aburgess@broadcom.com>
3844 Jan Kratochvil <jan.kratochvil@redhat.com>
3845
3846 PR fortran/11104 and DWARF unbound arrays detection.
3847 * gdb.fortran/multi-dim.exp: New file.
3848 * gdb.fortran/multi-dim.f90: New file.
3849
b716877b
AB
38502011-01-12 Andrew Burgess <aburgess@broadcom.com>
3851
3852 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3853 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3854 add new tests for opcode dumping.
3855
6c162d5e
TT
38562011-01-11 Tom Tromey <tromey@redhat.com>
3857
3858 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3859
77b06cd7
TJB
38602010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3861
3862 Convert hardware watchpoints to use breakpoint_ops.
3863 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3864 type is not supported.
3865 * gdb.base/foll-fork.exp: Likewise.
3866 * gdb.base/foll-vfork.exp: Likewise.
3867
f39a75d0
PM
38682011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3869
3870 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3871 Use load_lib gdb-python.exp.
3872 * gdb.python/python.exp: Ditto.
3873 * gdb.python/py-function.exp: Ditto.
3874
fc529d80
AS
38752011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3876
3877 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3878
fb03cb59
JK
38792011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 * configure: Regenerate.
3882
d8e22779
TT
38832011-01-06 Tom Tromey <tromey@redhat.com>
3884
3885 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3886
09050809
JB
38872011-01-06 Joel Brobecker <brobecker@adacore.com>
3888
fc529d80
AS
3889 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3890 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3891 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3892 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3893 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3894 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3895 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3896 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3897 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3898 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3899 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3900 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3901 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3902 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3903 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3904 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3905 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3906 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3907 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3908 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3909 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3910 gdb.ada/uninitialized_vars.exp,
3911 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3912 Simplify by using clean_restart.
09050809 3913
8ed5dd9e
JB
39142011-01-06 Joel Brobecker <brobecker@adacore.com>
3915
3916 Add marker to be used as anchor for inserting breakpoints.
3917 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3918 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3919 Likewise.
3920
3921 Remove uses of gdb_start_cmd.
3922 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3923 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3924
3925 Do not run testcase if testing with GDBserver.
3926 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3927 if testing with GDBserver.
3928
368a124f
JB
39292011-01-06 Joel Brobecker <brobecker@adacore.com>
3930
3931 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3932 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3933 copyright header.
3934
44944448
JB
39352011-01-05 Joel Brobecker <brobecker@adacore.com>
3936
3937 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3938 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3939 testsuite/gdb.fortran/complex.f,
3940 testsuite/gdb.fortran/derived-type.f90,
3941 testsuite/gdb.fortran/library-module-lib.f90,
3942 testsuite/gdb.fortran/library-module-main.f90,
3943 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3944 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3945 Copyright year update.
3946
31886ea6
JB
39472011-01-05 Joel Brobecker <brobecker@adacore.com>
3948
3949 * gdb.base/langs1.f: Add copyright header.
3950
ebedcab5
JK
39512011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3952
3953 * gdb.base/morestack.exp: New file.
3954 * gdb.base/morestack.c: New file.
3955
de1eb2f9
JK
39562011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3957
3958 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3959
9e87a409
JB
39602010-12-29 Joel Brobecker <brobecker@adacore.com>
3961
3962 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3963 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3964
720d1a40
JB
39652010-12-29 Joel Brobecker <brobecker@adacore.com>
3966
3967 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3968
a283af87
AS
39692010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3970
5d3d9cba
AS
3971 * gdb.threads/tls.exp: Fix typo.
3972
a283af87
AS
3973 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3974 * gdb.threads/execl.exp: Update.
3975
2a20745c
YQ
39762010-12-23 Yao Qi <yao@codesourcery.com>
3977
3978 * gdb.arch/arm-disp-step.exp: New.
3979 * gdb.arch/arm-disp-step.S: New.
3980
a7658b96
TT
39812010-12-21 Tom Tromey <tromey@redhat.com>
3982
3983 * gdb.threads/execl.exp: Update.
3984 * gdb.threads/linux-dp.exp: Update.
3985 * gdb.threads/manythreads.exp: Update.
3986 * gdb.threads/tls.exp: Update.
3987
5b79abe7
TT
39882010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3989
3990 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3991 (NextOverThrowDerivates) <resumebpt>: New.
3992 (resumebpt_test): New.
3993 (main): Call resumebpt_test.
3994 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3995
0914bcdb
SS
39962010-12-12 Stan Shebs <stan@codesourcery.com>
3997
3998 * gdb.trace/tsv.exp: Test print command on trace state variables.
3999
305aeedc
TT
40002010-12-09 Tom Tromey <tromey@redhat.com>
4001
4002 * gdb.base/interp.exp: Add regression test.
4003
186c406b
TT
40042010-12-09 Tom Tromey <tromey@redhat.com>
4005
4006 * gdb.java/jnpe.java: New file.
4007 * gdb.java/jnpe.exp: New file.
4008 * gdb.cp/nextoverthrow.exp: New file.
4009 * gdb.cp/nextoverthrow.cc: New file.
4010
aae1c79a
DE
40112010-12-07 Doug Evans <dje@google.com>
4012
4013 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4014 of data-directory.
4015 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4016 updated.
4017 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4018
60f98dde 40192010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4020
4021 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4022 * gdb.base/call-sc.exp: Ditto.
4023 * gdb.base/finish.exp: Ditto.
4024 * gdb.base/return.exp: Ditto.
4025 * gdb.base/return2.exp: Ditto.
4026
5fa290c1
DE
40272010-11-30 Doug Evans <dje@google.com>
4028
4029 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4030 (gdb_expect_list): Fix spelling errors in comments.
4031 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4032 send_gdb/gdb_expect_list where applicable.
4033 * gdb.base/call-ar-st.exp: Ditto.
4034 * gdb.base/funcargs.exp: Ditto.
4035 * gdb.base/gcore.exp: Ditto.
4036 * gdb.base/page.exp: Ditto.
4037 * gdb.base/sigaltstack.exp: Ditto.
4038 * gdb.base/siginfo.exp: Ditto.
4039 * gdb.base/sigstep.exp: Ditto.
4040 * gdb.base/trace-commands.exp: Ditto.
4041
4e04c971
DE
40422010-11-29 Doug Evans <dje@google.com>
4043
4044 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4045 printer-name;subprinter-name.
4046
8cf6f0b1
TT
40472010-11-29 Tom Tromey <tromey@redhat.com>
4048
4049 * gdb.dwarf2/implptr.exp: New file.
4050 * gdb.dwarf2/implptr.c: New file.
4051 * gdb.dwarf2/implptr.S: New file.
4052
94b6973e
PM
40532010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4054
fc529d80 4055 PR python/12199
94b6973e
PM
4056
4057 * gdb.python/py-breakpoint.exp: Test the delete method.
4058
8358c15c
JK
40592010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4060
4061 Fix step_resume_breakpoint unsaved during an infcall.
4062 * gdb.base/step-resume-infcall.exp: New file.
4063 * gdb.base/step-resume-infcall.c: New file.
4064
f6df29bc
TJB
40652010-11-24 Edjunior Machado <emachado@br.ibm.com>
4066
4067 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4068
f2b5a5cf
TJB
40692010-11-24 Edjunior Machado <emachado@br.ibm.com>
4070
4071 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4072 on ppc64's symbols; "finish" and "return" commands must accept to
4073 show the caller line again as well as the line after.
4074 * gdb.asm/powerpc64.inc: New file.
4075
6b0ecdc2
DE
40762010-11-23 Doug Evans <dje@google.com>
4077
4078 * lib/gdb.exp (gdb_test_sequence): New function.
4079 (gdb_expect_list): Add verbose -log call for each pattern.
4080 * gdb.base/signals.exp (test_handle_all_print): Call it.
4081 Reduce timeout increment from 6 minutes to 1 minute.
4082 * gdb.server/ext-run.exp: Call it.
4083
ea976c60
PM
40842010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4085
f2b5a5cf 4086 PR python/12212
ea976c60
PM
4087
4088 * gdb.python/python.exp: Check that selected_thread raises an
4089 error when no inferior is loaded.
4090
c0efa795
JK
40912010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4094 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4095
ec3aa567
JK
40962010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4097
4098 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4099 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4100
d8249011
DE
41012010-11-18 Doug Evans <dje@google.com>
4102
4103 * gdb.server/ext-run.exp: Fix intermittent failures.
4104
d4eba7d1
NF
41052010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4106
4107 * gdb.stabs/gdb11479.exp: Use runto_main.
4108
b04c2f88
NF
41092010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4110
4111 * gdb.base/break-entry.exp: Skip if using a stub.
4112
ae9d7ce4
NF
41132010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4114
4115 * gdb.python/py-inferior.exp: Pack values in target endianness.
4116
621c8364
TT
41172010-11-12 Tom Tromey <tromey@redhat.com>
4118
4119 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4120 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4121 MemoryError.
4122 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4123 type.
4124 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4125 MemoryError.
4126 (test_subscript_regression): Update exception type.
4127
84f4c1fe
PM
41282010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4129
4130 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4131 breakpoint tests.
4132
a1442452
PA
41332010-11-09 Pedro Alves <pedro@codesourcery.com>
4134
4135 * gdb.base/watchpoint.exp: Test "watch -location" with an
4136 innacessible location.
4137
efd11a33
JK
41382010-11-09 Edjunior Machado <emachado@br.ibm.com>
4139 Luis Machado <luisgpm@br.ibm.com>
4140
4141 * gdb.base/maint.exp: Expect "." prefix.
4142 * gdb.base/nodebug.exp: Expect "." Likewise.
4143 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4144 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4145 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4146 POWER server processors.
4147
aa00efb5
JK
41482010-11-08 Edjunior Machado <emachado@br.ibm.com>
4149 Luis Machado <luisgpm@br.ibm.com>
4150
4151 * gdb.base/break-entry.exp: convert entry point for
4152 ppc64 and expect leading `.' on ppc64's symbols
4153
99e7ae30
DE
41542010-11-05 Doug Evans <dje@google.com>
4155
4156 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4157 * gdb.python/py-param.exp: Delete, contents moved to ...
4158 * gdb.python/py-parameter.exp: ... here. New file.
4159 Add test for gdb.parameter ("directories").
99e7ae30 4160
f4b8a18d
KW
41612010-11-05 Ken Werner <ken.werner@de.ibm.com>
4162
4163 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4164 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4165 * configure: Regenerate.
4166 * gdb.opencl/Makefile.in: New File.
4167 * gdb.opencl/datatypes.exp: Likewise.
4168 * gdb.opencl/datatypes.cl: Likewise.
4169 * gdb.opencl/operators.exp: Likewise.
4170 * gdb.opencl/operators.cl: Likewise.
4171 * gdb.opencl/vec_comps.exp: Likewise.
4172 * gdb.opencl/vec_comps.cl: Likewise.
4173 * gdb.opencl/convs_casts.exp: Likewise.
4174 * gdb.opencl/convs_casts.cl: Likewise.
4175 * lib/opencl.exp: Likewise.
4176 * lib/opencl_hostapp.c: Likewise.
4177 * lib/opencl_kernel.cl: Likewise.
4178 * lib/cl_util.c: Likewise.
4179 * lib/cl_util.c: Likewise.
4180 * gdb.base/default.exp (set language): Add "opencl" to the list of
4181 languages.
4182
a9d5ef47
SW
41832010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4184
4185 * gdb.cp/overload.exp: Added test for inheritance overload.
4186 * gdb.cp/overload.cc: Ditto.
4187 * gdb.cp/oranking.exp: Removed releveant kfails.
4188
03eb1c79
JK
41892010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4190 Joel Brobecker <brobecker@adacore.com>
4191
4192 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4193 check test_compiler_info.
4194
dbc98a8b
KW
41952010-11-03 Ken Werner <ken.werner@de.ibm.com>
4196
4197 * gdb.base/gnu_vector.exp: Adjust expect messages.
4198
120bd360
KW
41992010-11-03 Ken Werner <ken.werner@de.ibm.com>
4200
4201 * gdb.base/gnu_vector.exp: Add unary operator tests.
4202
c37f7098
KW
42032010-11-03 Ken Werner <ken.werner@de.ibm.com>
4204
4205 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4206
7b51bc51
DE
42072010-11-02 Doug Evans <dje@google.com>
4208
4209 * gdb.python/py-pp-maint.c: New file.
4210 * gdb.python/py-pp-maint.exp: New file.
4211 * gdb.python/py-pp-maint.py: New file.
4212
50c97f38
TT
42132010-11-02 Tom Tromey <tromey@redhat.com>
4214
4215 * gdb.base/default.exp: Remove "scheme" from language list.
4216
a289b8f6
JK
42172010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4218
4219 Revert:
4220 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4221 * gdb.threads/sigstep-threads.exp: New file.
4222 * gdb.threads/sigstep-threads.c: New file.
4223
cd017491
MS
42242010-10-20 Michael Snyder <msnyder@vmware.com>
4225
4226 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4227
8e6a5956
UW
42282010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4229
4230 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4231 Skip test completely if gdb,no_hardware_watchpoints.
4232
2c04da0d
UW
42332010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4234
4235 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4236 strict, but do not check for any particular function name within libc.
4237
79afc5ef
SW
42382010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4239
4240 * gdb.cp/smartp.exp: New test.
4241 * gdb.cp/smartp.cc : New test.
4242
026ffab7
SW
42432010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4244
4245 * gdb.cp/converts.exp: Test pointer to bool conversion.
4246 Test pointer to long conversion.
4247 * gdb.cp/oranking.exp: Removed relevant kfail.
4248
3a772aa4
TT
42492010-10-18 Tom Tromey <tromey@redhat.com>
4250
4251 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4252 argument to lazy_string.
4253 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4254 (pp_ls.to_string): Use it.
4255 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4256 Add "estring2" local.
4257
5fc3827b
JK
42582010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4259
4260 Fix s390x compatibility.
4261 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4262 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4263
8aeb23f3
JK
42642010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4265
4266 * gdb.threads/sigstep-threads.exp: New file.
4267 * gdb.threads/sigstep-threads.c: New file.
4268
c1e56572
JK
42692010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 * gdb.base/pie-execl.exp: New file.
4272 * gdb.base/pie-execl.c: New file.
4273
92163a10
JK
42742010-10-13 Doug Evans <dje@google.com>
4275 Jan Kratochvil <jan.kratochvil@redhat.com>
4276
4277 PR exp/12117
4278 * gdb.cp/ptype-cv-cp.cc: New file.
4279 * gdb.cp/ptype-cv-cp.exp: New file.
4280
7062b0a0
SW
42812010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4282
4283 * gdb.cp/converts.cc: New test program.
4284 * gdb.cp/converts.exp: New test.
4285 * gdb.cp/overload.exp: Added test for void* vs int*.
4286 * gdb.cp/overload.exp: Ditto.
4287 * gdb.cp/oranking.exp: Removed related kfail.
4288
0e3509db
DE
42892010-10-13 Doug Evans <dje@google.com>
4290
4291 * lib/gdb-python.exp (gdb_check_python_config): New function.
4292 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4293 * gdb.python/lib-types.cc: New file.
4294 * gdb.python/lib-types.exp: New file.
4295
8dc78533
JK
42962010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4297
4298 * gdb.python/py-error.exp: New file.
4299 * gdb.python/py-error.py: New file.
4300
93c17e06
JK
43012010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4302
4303 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4304 gdb_test_multiple.
4305
d8b34041
JK
43062010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4309 * gdb.base/prelink.exp: Likewise.
4310 * gdb.base/solib-nodir.exp: Likewise.
4311 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4312 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4313 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4314
e0cc584e
UW
43152010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4316
4317 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4318 for the "info files" test to avoid timeouts on slow machines.
4319
cfc353b1
JK
43202010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4321
4322 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4323 (main): Make openlib dummy call.
4324
d3d7896d
JK
43252010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4326
4327 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4328 * break-interp.exp (reach): Move the core body ...
4329 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4330 (test_ld): Provide always real argument, even to the linker. Replace
4331 dl_main by _dl_debug_state.
4332
5e533c94
JK
43332010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 Fix results of prelinked PIEs on ppc*.
4336 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4337 Accept also DISPLACEMENT "PRESENT".
4338 (main): Replace "ZERO" displacements by "PRESENT".
4339
33540610
SW
43402010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4341
4342 * gdb.cp/oranking.exp: New test.
4343 * gdb.cp/oranking.cc: New test program.
4344
3bdf2bbd
KW
43452010-10-08 Ken Werner <ken.werner@de.ibm.com>
4346
4347 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4348 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4349
2f608a3a
KW
43502010-10-06 Ken Werner <ken.werner@de.ibm.com>
4351
4352 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4353 lush, lynx) New constant.
4354 * gdb.base/constvars.exp: Test const array types.
4355 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4356
aa2e2d8d
DE
43572010-10-06 Doug Evans <dje@google.com>
4358
4359 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4360 of syscall staging area.
4361
2844d6b5
KW
43622010-10-06 Ken Werner <ken.werner@de.ibm.com>
4363
4364 * gdb.base/gnu_vector.c: Add variable c4.
4365 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4366 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4367
7d8ac8bb
MR
43682010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4369
4370 * gdb.arch/altivec-abi.exp: Fix a typo.
4371
84a02e58
MR
43722010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4373
4374 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4375 to match a thread ID.
4376
b18e6318
JK
43772010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4378
4379 Fix s390x testcase compatibility.
4380 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4381
a2c09bd0
DE
43822010-10-01 Doug Evans <dje@google.com>
4383
4384 * lib/gdb-python.exp: New file.
4385 * gdb.python/py-block.exp: Use it.
4386 * gdb.python/py-breakpoint.exp: Ditto.
4387 * gdb.python/py-frame.exp: Ditto.
4388 * gdb.python/py-inferior.exp: Ditto.
4389 * gdb.python/py-param.exp: Ditto.
4390 * gdb.python/py-prettyprint.exp: Ditto.
4391 * gdb.python/py-shared.exp: Ditto.
4392 * gdb.python/py-symbol.exp: Ditto.
4393 * gdb.python/py-symtab.exp: Ditto.
4394 * gdb.python/py-type.exp: Ditto.
4395 * gdb.python/py-value.exp: Ditto.
4396 * gdb.python/python.exp: Ditto.
4397
38f12cfc
TT
43982010-09-30 Tom Tromey <tromey@redhat.com>
4399
4400 * gdb.base/anon.exp: New file.
4401 * gdb.base/anon.c: New file.
4402
9ae8282d
TT
44032010-09-30 Tom Tromey <tromey@redhat.com>
4404
4405 * gdb.base/completion.exp: Test completion through anonymous
4406 union.
4407 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4408
e9e07ba6
JK
44092010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4410
4411 Fix printing parameters of inlined functions.
4412 * gdb.dwarf2/dw2-inline-param.exp: New file.
4413 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4414 * gdb.dwarf2/dw2-inline-param.S: New file.
4415
cd2effb2
JK
44162010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4417
4418 PR corefiles/12071.
4419 * gdb.base/corefile.exp (quit with a process, no question: load core)
4420 (quit with a core file): New tests.
4421
bceffbf3
JK
44222010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 Fix GDB crash on inferior calls with self-referencing classes.
4425 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4426 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4427 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4428
1736ad11
JK
44292010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4430
4431 Fix lost siginfo_t for inferior calls.
4432 * gdb.base/siginfo-infcall.exp: New file.
4433 * gdb.base/siginfo-infcall.c: New file.
4434
a176ad92
JB
44352010-09-22 Joel Brobecker <brobecker@adacore.com>
4436
4437 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4438
c2b0a229
JK
44392010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4440
4441 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4442 New test.
4443 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4444
e8ae22d1
JB
44452010-09-22 Joel Brobecker <brobecker@adacore.com>
4446
4447 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4448 type of our const type.
4449
ec322823
SW
44502010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4451
4452 * gdb.cp/pr12028.cc: New.
4453 * gdb.cp/pr12028.exp: New.
4454
72929c62
JB
44552010-09-22 Joel Brobecker <brobecker@adacore.com>
4456
4457 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4458
875b4ff5 44592010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4460 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4461
4462 PR mi/11407
4463 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4464 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4465 * gdb.mi/dw2-ref-missing-frame.S New File.
4466 * gdb.mi/dw2-ref-missing-frame.exp New File.
4467
7155d578
TT
44682010-09-14 Tom Tromey <tromey@redhat.com>
4469
4470 PR symtab/8399:
4471 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4472
515ed532
TT
44732010-09-14 Tom Tromey <tromey@redhat.com>
4474
4475 PR exp/11803:
4476 * gdb.threads/tls.exp: Use C++.
4477 (check_thread_local): Use K::another_thread_local.
4478 * gdb.threads/tls.c (class K): New.
4479 (another_thread_local): Now a member of K.
4480 (spin): Update. No longer K&R C.
4481
450ca57c
SW
44822010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4483
4484 * gdb.cp/koenig.cc: created class for testing member lookup.
4485 * gdb.cp/koenig.exp: Added test for member lookup.
4486
dbd492a3
JK
44872010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4488
4489 Fix false FAILs on sourcetree topdir directory containing "kill".
4490 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4491 source line matching regexp.
4492
8d4d924b
JK
44932010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4494
4495 * gdb.python/python.exp (set height 0, collect help from uiout)
4496 (verify help to uiout): New tests.
4497
8e64f2a0
JK
44982010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4499
4500 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4501 is_lp64_target to check 64bit target.
4502
4569eed2
JK
45032010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4504
4505 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4506 (test_ld) <powerpc64-*>: New.
4507
5e1617b1
DJ
45082010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4509
4510 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4511
c767944b
DJ
45122010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4513
4514 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4515 (FunctionArg::method): New function.
4516 (empty, arg): New variables.
4517 (main): Call arg.method.
4518 * gdb.cp/templates.exp (test_template_args): New function.
4519 (do_tests): Call it.
4520
27d3a3fc
UW
45212010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4522
4523 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4524 of "next" to proceed over pthread_exit call.
4525
55b7ce7f
UW
45262010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4527
4528 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4529 "maint print statistics" output to prevent expect timeouts.
4530
809df446
JK
45312010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4532
4533 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4534 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4535 (test_float_rejected): ... here.
4536 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4537 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4538 (test_float_rejected): ... here.
4539 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4540 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4541 (test_float_rejected): ... here.
4542 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4543 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4544 (test_float_rejected): ... here.
4545
8464be76
DJ
45462010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4547
4548 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4549 before disabling hardware watchpoints.
4550 (test_inaccessible_watchpoint): Check that hardware watchpoints
4551 are used. Test for watchpoints on a constant address.
4552
14dba4b4
JK
45532010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4554
4555 * gdb.base/ui-redirect.exp: New file.
4556
3f3540e1 45572010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4558 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4559
4560 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4561
0f254bb7
DE
45622010-08-31 Doug Evans <dje@google.com>
4563
4564 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4565
03f17ccf
TT
45662010-08-30 Tom Tromey <tromey@redhat.com>
4567
4568 PR python/11792:
4569 * gdb.python/py-value.exp (test_subscript_regression): Add
4570 dynamic_type test.
4571
640617ad
DJ
45722010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4573
4574 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4575 instead of running to main. Do not test the main function.
4576 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4577 Add new main.
4578
2ed91d1b
PA
45792010-08-26 Pedro Alves <pedro@codesourcery.com>
4580
4581 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4582 one test.
4583
673bfd45
DE
45842010-08-24 Doug Evans <dje@google.com>
4585
4586 PR symtab/11942
4587 * gdb.dwarf2/dw4-sig-types.cc: New file.
4588 * gdb.dwarf2/dw4-sig-types.h: New file.
4589 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4590 * gdb.dwarf2/dw4-sig-types.exp: New file.
4591
f9ffd4bb
TT
45922010-08-23 Tom Tromey <tromey@redhat.com>
4593
4594 PR python/11145:
4595 * gdb.python/py-value.c (Base, Derived): New types.
4596 (base): New global.
4597 * gdb.python/py-value.exp (test_subscript_regression): Add
4598 dynamic_cast test.
4599
d839c8a4
TT
46002010-08-23 Tom Tromey <tromey@redhat.com>
4601
4602 PR python/10676:
4603 * gdb.python/py-type.exp (test_fields): Add tests for type
4604 equality.
4605
702c2711
TT
46062010-08-23 Tom Tromey <tromey@redhat.com>
4607
4608 PR python/11915:
4609 * gdb.python/py-type.exp (test_fields): Add tests for array.
4610
832bafd3
KS
46112010-08-23 Keith Seitz <keiths@redhat.com>
4612
4613 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4614 have any children. Create a new abbrev for it.
4615 Add missing terminal sequence to .debug_abbrev.
4616
c37bf528
KS
46172010-08-20 Keith Seitz <keiths@redhat.com>
4618
4619 PR symtab/11465:
4620 * gdb.dwarf2/pr11465.exp: New test.
4621 * gdb.dwarf2/pr11465.S: New file.
4622 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4623 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4624
4572cbac
TJB
46252010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4626
4627 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4628 registers. Update data sets with the new v2_double element in the
4629 VSX register union. Add vector_register3_vr data set for the AltiVec
4630 registers. Use gdb_test_no_output instead of send_gdb.
4631
e7fbb131
PA
46322010-08-19 Pedro Alves <pedro@codesourcery.com>
4633
4634 * gdb.python/py-shared.exp: New file, factored out from
4635 python.exp.
4636 * gdb.python/py-shared.c: New file.
4637 * gdb.python/py-shared-sl.c: New file.
4638 * gdb.python/python-1.c: New file.
4639 * gdb.python/python-sl.c: Delete.
4640 * gdb.python/python.c: Mention python-1.c.
4641 * gdb.python/python.exp: Move shared library tests to
4642 py-shared.exp.
4643 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4644 (MISCELLANEOUS): New.
4645 (clean mostlyclean): Also remove $MISCELLANEOUS.
4646
d30f5e1f
DE
46472010-08-19 Doug Evans <dje@google.com>
4648
4649 PR exp/11926
4650 * gdb.base/printcmds.exp (test_float_accepted): New function.
4651 Move existing float tests there. Add tests for floats with suffixes.
4652 (test_float_rejected): New function.
4653 * gdb.java/jv-print.exp (test_float_accepted): New function.
4654 (test_float_rejected): New function.
4655 * gdb.objc/print.exp: New file.
4656 * gdb.pascal/print.exp: New file.
4657 * lib/objc.exp: New file.
4658
7b3fd859
PM
46592010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4660
4661 * gdb.base/default.exp (info set): Avoid full buffer error and force
4662 reading up to final gdb prompt.
4663 (show): Likewise.
4664
c92817ce
TT
46652010-08-18 Tom Tromey <tromey@redhat.com>
4666
4667 PR symtab/11919:
4668 * gdb.base/completion.exp: Add test.
4669
f1208f9e
DE
46702010-08-18 Doug Evans <dje@google.com>
4671
4672 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4673 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4674 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4675 Simplify, early exit if runto_main fails.
4676 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4677 (set_lang_fortran): Moved to lib/fortran.exp.
4678 * gdb.fortran/types.exp: load_lib fortran.exp.
4679 (set_lang_fortran): Moved to lib/fortran.exp.
4680 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4681 * gdb.java/jprint.exp (set_lang_java): Ditto.
4682 * gdb.java/jv-exp.exp: load_lib java.exp.
4683 If set_lang_java fails, issue a warning instead of failure to be
4684 consistent with other set_lang_foo uses.
4685 (set_lang_java): Moved to lib/java.exp.
4686 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4687 If set_lang_java fails, issue a warning instead of failure to be
4688 consistent with other set_lang_foo uses.
4689 * gdb.pascal/types.exp: load_lib pascal.exp.
4690 (set_lang_pascal): Moved to lib/pascal.exp.
4691 * lib/fortran.exp: New file.
4692 * lib/java.exp (set_lang_java): New function.
4693 * lib/pascal.exp (set_lang_pascal): New function.
4694
2f06b485
YQ
46952010-08-18 Yao Qi <yao@codesourcery.com
4696
4697 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4698 func_nofb_start and func_loopfb_start, so that address of functions
4699 is equal to these labels on Thumb.
4700
96e25403
YQ
47012010-08-18 Yao Qi <yao@codesourcery.com>
4702
4703 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4704 to reflect latest c source file.
4705
36e6adc4
JK
47062010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4707
4708 * gdb.cp/infcall-dlopen.exp: New file.
4709 * gdb.cp/infcall-dlopen.cc: New file.
4710 * gdb.cp/infcall-dlopen-lib.cc: New file.
4711
f431efe5
PA
47122010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4713 Pedro Alves <pedro@codesourcery.com>
4714
4715 PR breakpoints/11371
4716
4717 * gdb.base/watch-cond-infcall.exp: New file.
4718 * gdb.base/watch-cond-infcall.c: New file.
4719
06a64a0b
TT
47202010-08-16 Tom Tromey <tromey@redhat.com>
4721
4722 * gdb.base/help.exp: Update.
4723 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4724 watchpoint.
4725 (test_watch_location): New proc.
4726 (test_watchpoint_in_big_blob): Delete watchpoint.
4727 * gdb.base/watchpoint.c (func5): New function.
4728 (main): Call it.
4729
70ebf4ed
DE
47302010-08-16 Doug Evans <dje@google.com>
4731
4732 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4733
ca5c20b6
PM
47342010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4735
4736 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4737 tests.
4738
7346b668
KW
47392010-08-11 Ken Werner <ken.werner@de.ibm.com>
4740
4741 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4742 * gdb.base/gnu_vector.c: New File.
4743 * gdb.base/gnu_vector.exp: Likewise.
4744
cb2e07a6
PM
47452010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4746
4747 * gdb.python/python.c: New File.
4748 * gdb.python/python-sl.c: New File.
4749 * gdb.python/python.exp: Test solib_address and decode_line
4750 * functions.
4751
5da1313b
JK
47522010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 * gdb.python/python.exp (show height, set height 10)
4755 (verify pagination beforehand, verify pagination beforehand: q)
4756 (gdb.execute does not page, verify pagination afterwards)
4757 (verify pagination afterwards: q): New.
4758
49c3ccf7
DE
47592010-08-02 Doug Evans <dje@google.com>
4760
4761 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4762 because of an older gcc, change test2
4763 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4764 to unsupported.
4765
42c0c4f1
KH
47662010-07-30 Kazu Hirata <kazu@codesourcery.com>
4767
4768 * gdb.base/break-always.exp: Do not expect full paths to file
4769 names.
4770 * gdb.base/commands.exp: Likewise.
4771
d3765805
DE
47722010-07-30 Doug Evans <dje@google.com>
4773
c98ee71b
DE
4774 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4775 xfail them when run with older gccs.
4776
fd961404
DE
4777 * lib/gdb.exp (build_executable): Forward "c++" option to
4778 get_compiler_info.
4779
999adef4
DE
4780 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4781 "python print ttype.template_argument(1)" and
4782 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4783 if using gcc 4.4 or earlier.
4784
d3765805
DE
4785 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4786 attach-to-debugger handling.
4787
1276c759
JK
47882010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4789
4790 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4791 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4792 (main): Use copyreloc.
4793 * gdb.base/prelink.exp (split debug of executable)
4794 (.dynbss vs. .bss address shift): New tests.
4795
88caa9b9
PA
47962010-07-29 Pedro Alves <pedro@codesourcery.com>
4797
4798 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4799 in gdb_test_multiple.
4800
c6f2ac43
PA
48012010-07-29 Pedro Alves <pedro@codesourcery.com>
4802
4803 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4804 environment.
4805
326fd672
TT
48062010-07-28 Tom Tromey <tromey@redhat.com>
4807
4808 PR python/11060:
4809 * gdb.python/py-type.c (Temargs): New template.
4810 (temvar): New variable.
4811 * gdb.python/py-type.exp (test_template): New proc.
4812
3ce3b1ba
PA
48132010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4814
4815 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4816 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4817
34eaf542
TT
48182010-07-28 Tom Tromey <tromey@redhat.com>
4819
4820 PR c++/9946:
4821 * gdb.cp/temargs.exp: New file.
4822 * gdb.cp/temargs.cc: New file.
4823
d41b819e
JK
48242010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4825
4826 * gdb.base/help.exp (help disassemble): Update the content.
4827
26ab7092
JK
48282010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4829
4830 * gdb.threads/ia64-sigill.exp: New file.
4831 * gdb.threads/ia64-sigill.c: New file.
4832
5283e9e1
TT
48332010-07-27 Tom Tromey <tromey@redhat.com>
4834
4835 * gdb.opt/inline-cmds.c (ATTR): New define.
4836 (func1): Use it.
4837 (func2): Likewise.
4838 (func3): Likewise.
4839 (outer_inline1): Likewise.
4840 (outer_inline2): Likewise.
4841 * gdb.opt/inline-bt.c (ATTR): New define.
4842 (func1): Use it.
4843 (func2): Likewise.
4844 * gdb.opt/inline-locals.c (ATTR): New define.
4845 (func1): Use it.
4846 (func2): Likewise.
4847
e992ef73
TT
48482010-07-27 Tom Tromey <tromey@redhat.com>
4849
4850 * gdb.stabs/gdb11479.c (hack): New function.
4851 (test): Use it.
4852 (test2): Use it.
4853 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4854 (int32_search_buf, int64_search_buf): No longer static.
4855 (x): Remove.
4856 * gdb.base/relocate.c (hack): New function.
4857
5374244e
PM
48582010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4859
4860 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4861 * gdb.python/py-value.c (func1): New function.
4862 (func2): Likewise.
4863
a99aee83
CV
48642010-07-26 Corinna Vinschen <vinschen@redhat.com>
4865
4866 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4867 as not to clash with .data section.
4868
a04ba985
JG
48692010-07-26 Jerome Guitton <guitton@adacore.com>
4870
4871 * gdb.base/code_elim.exp: New file.
4872 * gdb.base/code_elim1.c: New file.
4873 * gdb.base/code_elim2.c: New file.
4874
23bd0f7c
PA
48752010-07-21 Pedro Alves <pedro@codesourcery.com>
4876
4877 PR symtab/11827
4878
4879 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4880 (some_volatile_enum): New variable.
4881 * gdb.base/printcmds.exp (test_print_enums): New.
4882 <top level>: Call it.
4883
883df6dd
SW
48842010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4885
4886 * gdb.cp/fpointer.cc: New test.
4887 * gdb.cp/fpointer.exp: New test.
4888
569b05a5
JK
48892010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.base/solib-nodir.exp: New file.
4892 * lib/gdb.exp (runto): New case for a GDB internal error.
4893
51d7d803
JK
48942010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4895 Ulrich Weigand <uweigand@de.ibm.com>
4896 Tom Tromey <tromey@redhat.com>
4897
4898 * gdb.base/charset-malloc.c: New file.
4899 * gdb.base/charset.c (malloc_stub): New prototype.
4900 (main): Call it instead of malloc itself.
4901 * gdb.base/charset.exp: Use only prepare_for_testing.
4902 (binfile): Remove the variable.
4903
c0edd9ed
JK
49042010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4905
4906 Make core files the process_stratum.
4907 * gdb.base/corefile.exp (run: load core again)
4908 (run: sanity check we see the core file, run: with core)
4909 (run: core file is cleared, attach: load core again)
4910 (attach: sanity check we see the core file, attach: with core)
4911 (attach: core file is cleared): New tests.
4912 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4913
3cbaedff
KW
49142010-07-14 Ken Werner <ken.werner@de.ibm.com>
4915
4916 * gdb.arch/altivec-abi.exp: New tests.
4917
91158a56
TT
49182010-07-13 Tom Tromey <tromey@redhat.com>
4919
4920 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4921 (main): Use it.
4922 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4923
0f5238ed
TT
49242010-07-13 Tom Tromey <tromey@redhat.com>
4925
4926 * gdb.base/label.exp: New file.
4927 * gdb.base/label.c: New file.
4928
add265ae
L
49292010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4930 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * lib/gdb.exp (is_ilp32_target): New.
4933 (is_lp64_target): Likewise.
4934
4935 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4936 target.
4937 * gdb.arch/amd64-disp-step.exp: Likewise.
4938 * gdb.arch/amd64-dword.exp: Likewise.
4939 * gdb.arch/amd64-i386-address.exp: Likewise.
4940 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4941
add265ae
L
4942 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4943 target.
4944 * gdb.arch/i386-bp_permanent.exp: Likewise.
4945 * gdb.arch/i386-byte.exp: Likewise.
4946 * gdb.arch/i386-disp-step.exp: Likewise.
4947 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4948 * gdb.arch/i386-prologue.exp: Likewise.
4949 * gdb.arch/i386-size-overlap.exp: Likewise.
4950 * gdb.arch/i386-size.exp: Likewise.
4951 * gdb.arch/i386-sse.exp: Likewise.
4952 * gdb.arch/i386-unwind.exp: Likewise.
4953 * gdb.arch/i386-word.exp: Likewise.
4954
4955 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4956 test only when building 64-bit executables. Do not hard-code
4957 -m64 option.
4958
2dfb8c17
DE
49592010-07-07 Doug Evans <dje@google.com>
4960
4961 * lib/gdb.exp (gdb_test_list_exact): New function.
4962 * gdb.base/default.exp (show convenience): Call it, add tests for
4963 $_sdata = void, $_thread = 0.
4964
4e5799b6
JK
49652010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4966 Joel Brobecker <brobecker@adacore.com>
4967
4968 Fix re-run of PIE executable, PR shlibs/11776.
4969 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4970 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4971 and re-"run" of the inferior.
4972
1a219cc7
JK
49732010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4974 Joel Brobecker <brobecker@adacore.com>
4975
4976 Cope with missing /usr/sbin/prelink.
4977 * lib/prelink-support.exp (prelink_no):
4978 <result == 1 && $output is "no such file or directory">: New.
4979 (prelink_yes): Likewise. Return on failed prelink_no.
4980
5e3b36f8
JK
49812010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4982 Joel Brobecker <brobecker@adacore.com>
4983
4984 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4985 build_executable by build_executable_own_libs. Replace "prelink -R"
4986 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4987 change.
4988 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4989 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4990 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4991 Replace build_executable by build_executable_own_libs's function
4992 build_executable_own_libs.
4993 (prelinkNO): Create new stub to call prelink_no.
4994 (prelinkYES): Create new stub to call prelink_yes.
4995 (test_attach): Rename calls of copy to file_copy.
4996 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4997 (copy): Move to ...
4998 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4999 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5000 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5001 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5002 special flags by gdb_compile_shlib. Replace second gdb_compile by
5003 build_executable_own_libs. Replace "prelink -R" execution by a call of
5004 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5005 a second call of prelink_yes. Replace restart commands by
5006 clean_restart.
5007 (prelink): Rename to ...
5008 (seen displacement message): ... this test. Extend its expectation
5009 strictness.
5010
86e4bafc
JK
50112010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5012
5013 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5014 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5015 displacement message exactly once.
5016
3cd07d20
JK
50172010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5018 Joel Brobecker <brobecker@adacore.com>
5019
5020 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5021 its restore after the <$relink_args != ""> loop. new comment.
5022
0a1e94c7
JK
50232010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5024 Joel Brobecker <brobecker@adacore.com>
5025
5026 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5027 code for it. New variable relink_args.
5028 (prelinkYES): Call prelinkNO.
5029 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5030 in such case. Move the core code to ...
5031 (test_attach_gdb): ... a new function. Send GDB command "file".
5032 Extend expected "Attaching to " string.
5033
2f70bcfb
TT
50342010-07-02 Tom Tromey <tromey@redhat.com>
5035
5036 * gdb.base/bitops.exp: Remove extraneous "pass".
5037
a17ac5b0
TT
50382010-07-02 Ken Werner <ken.werner@de.ibm.com>
5039
5040 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5041
dc10affe
PA
50422010-07-01 Pedro Alves <pedro@codesourcery.com>
5043
d41c0fc8
PA
5044 * gdb.base/help.exp: Adjust expected output.
5045
50462010-07-01 Pedro Alves <pedro@codesourcery.com>
5047
5048 * gdb.base/help.exp: Adjust expected output.
dc10affe 5049
0a600c36
JK
50502010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5051
5052 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5053 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5054 c++/11702.
5055
37cc8bfe
JK
50562010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5057 Doug Evans <dje@google.com>
5058
5059 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5060 add .dynamic entry'.
5061
254e6b9e
DE
50622010-06-29 Doug Evans <dje@google.com>
5063
5064 Test PR c++/11702.
5065 * gdb.cp/m-static.exp: Add testcase.
5066 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5067
595939de 50682010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5069 Tom Tromey <tromey@redhat.com>
5070 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5071
5072 * gdb.python/py-inferior.c: New File.
5073 * gdb.python/py-infthread.c: New File.
5074 * gdb.python/py-inferior.exp: New File.
5075 * gdb.python/py-infthread.exp: New File.
5076
98751a41
JK
50772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5078
5079 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5080 (ptype ::C::OtherFileClass typedefs): New.
5081 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5082 (C::OtherFileClass::cOtherFileClassVar2): New.
5083 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5084 cOtherFileClassVar2.
5085 (C::cOtherFileType2, C::cOtherFileVar2): New.
5086 (C::cOtherFileVar_use): use also cOtherFileVar2.
5087 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5088
41f62f39
JK
50892010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5090
5091 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5092 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5093 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5094 (print ::C::cOtherFileVar)
5095 (whatis C::OtherFileClass::cOtherFileClassType)
5096 (whatis ::C::OtherFileClass::cOtherFileClassType)
5097 (print C::OtherFileClass::cOtherFileClassVar)
5098 (print ::cOtherFileClassVar)
5099 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5100 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5101 trailing content.
5102 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5103 (C::OtherFileClass::cOtherFileClassVar)
5104 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5105 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5106
af53d231
JK
51072010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5108
5109 Test PR c++/11703 and PR gdb/1448.
5110 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5111 gdb/1448.
5112
9655fd1a
JK
51132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5116 (main) <rtti_data>: New.
5117 * gdb.cp/virtbase.exp (print rtti_data): New.
5118
824cc8dd
JK
51192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5120 Joel Brobecker <brobecker@adacore.com>
5121
5122 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5123
6036c742
JK
51242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5125
5126 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5127
de6a0421
DE
51282010-06-28 Doug Evans <dje@google.com>
5129
5130 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5131
b2dae948
DE
51322010-06-27 Doug Evans <dje@google.com>
5133
5134 * gdb.cp/m-static.exp: Update expected test output.
5135
0f3bb72e
PH
51362010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5137
889bf7c5
PA
5138 * gdb.gdb/selftest.exp: Adjust expected message for
5139 capturing start-up runtime.
0f3bb72e 5140
bc9f0842
TT
51412010-06-25 Tom Tromey <tromey@redhat.com>
5142
5143 PR python/10808:
5144 * gdb.python/python.exp: Add new tests.
5145
099ef718
SW
51462010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5147
5148 * gdb.cp/operator.cc: Created an import loop.
5149 * gdb.cp/operator.exp: Added testcase for import loop.
5150
5868a632
JK
51512010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 Test PR python/11407.
5154 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5155 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5156 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5157 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5158 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5159 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5160 binfile. Call gdb_compile with clean_restart twice.
5161 (func_nofb print, func_nofb backtrace, func_loopfb print)
5162 (func_loopfb backtrace): New.
5163
af76db58
JK
51642010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5167 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5168 by a hand made one.
5169 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5170 i?86 requirement. Remove variables srcfile and binfile. New variable
5171 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5172
f2c7657e
UW
51732010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5174
5175 * gdb.cell/dwarfaddr.exp: New file.
5176 * gdb.cell/dwarfaddr.S: New file.
5177
628fe4e4
JK
51782010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 Test PR 9436.
5181 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5182
f1421989
HZ
51832010-06-24 Hui Zhu <teawater@gmail.com>
5184
5185 * gdb.base/eval.exp: New file.
5186
d03285ec
UW
51872010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5188
5189 * gdb.cell/fork.exp: New file.
5190 * gdb.cell/fork.c: Likewise.
5191 * gdb.cell/fork-spu.c: Likewise.
5192
41b2c92d
PM
51932010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5194
5195 * lib/gdb.exp (banned_variables_traced): New global variable.
5196 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5197 (gdb_init): Use `trace add variable' instead of obsolete
5198 `trace variable'.
5199
d5bc977f
DE
52002010-06-21 Doug Evans <dje@google.com>
5201
5202 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5203
d2ed6730
UW
52042010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5205
5206 * gdb.arch/spu-ls.exp: New file.
5207 * gdb.arch/spu-ls.c: Likewise.
5208
6aed2dbc
SS
52092010-06-18 Stan Shebs <stan@codesourcery.com>
5210
5211 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5212
e0756905
UW
52132010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5214
5215 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5216 * gdb.base/watch-cond.exp: Likewise.
5217 * gdb.python/py-breakpoint.exp: Likewise.
5218
d8053d4d
PA
52192010-06-18 Pedro Alves <pedro@codesourcery.com>
5220
5221 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5222 clean_restart, make sure every test has a distinct message, and
5223 that messages don't include the executable' full path.
5224
81ce510c
DE
52252010-06-17 Doug Evans <dje@google.com>
5226
5227 * gdb.arch/i386-size.exp: Updated expected output for
5228 DISASSEMBLY_OMIT_FNAME.
5229
65d79d4b
SDJ
52302010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5231 Sergio Durigan Junior <sergiodj@redhat.com>
5232
5233 * gdb.base/watch-notconst.c: New file.
5234 * gdb.base/watch-notconst.S: New file.
5235 * gdb.base/watch-notconst2.c: New file.
5236 * gdb.base/watch-notconst2.S: New file.
5237 * gdb.base/watch-notconst.exp: New file.
5238 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5239 (func4): Add operations on `global_ptr_ptr'.
5240 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5241 routine to test watchpoints created with a constant expression.
5242 (test_inaccessible_watchpoint): Include tests for watchpoints
5243 created with a constant expression.
5244
df0f4836
KB
52452010-06-14 Kevin Buettner <kevinb@redhat.com>
5246
5247 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5248 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5249 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5250 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5251 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5252 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5253 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5254 of `_start'.
5255
b769def5
UW
52562010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5257
5258 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5259 not supported on the target.
5260 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5261 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5262 * gdb.mi/mi-nsintrall.exp: Likewise.
5263 * gdb.mi/mi-nsmoribund.exp: Likewise.
5264 * gdb.mi/mi-nsthrexec.exp: Likewise.
5265
d914c394
SS
52662010-06-11 Stan Shebs <stan@codesourcery.com>
5267
5268 * gdb.base/permissions.exp: New file.
5269
52702010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5271
5272 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5273 does not support ELF executable class.
5274
f3ce5b9c
UW
52752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5276
5277 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5278
8e46892c
JK
52792010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5280
5281 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5282 (runto): Catch "The target does not support running in non-stop mode.".
5283
6cc55c64
MS
52842010-06-11 Michael Snyder <msnyder@vmware.com>
5285
5286 * gdb.base/setshow.exp (set language asm): Don't use
5287 gdb_test_no_output, fails on some targets.
5288
caddefa4
UW
52892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5290
5291 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5292 * gdb.cp/pr9167.exp: Likewise.
5293
468b1aa7
UW
52942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5295
5296 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5297
5c3552dc
UW
52982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5299
5300 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5301
02e6fe6a
UW
53022010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5303
5304 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5305
0e03807e
TT
53062010-06-11 Tom Tromey <tromey@redhat.com>
5307
5308 PR gdb/9977, PR exp/11636::
5309 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5310 (pieces_test_f6): Update expected output.
5311
2bdf28a0
JK
53122010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5313
5314 * gdb.base/moribund-step.exp: New.
5315
f6978de9
MS
53162010-06-08 Michael Snyder <msnyder@vmware.com>
5317
5318 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5319 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5320 * gdb.ada/frame_args.exp: Ditto.
5321 * gdb.ada/lang_switch.exp: Ditto.
5322 * gdb.ada/ptype_arith_binop.exp: Ditto.
5323 * gdb.ada/ref_param.exp: Ditto.
5324 * gdb.ada/type_coercion.exp:Ditto.
5325
5326 * gdb.asm/asm-source.exp: Ditto.
5327
5328 * gdb.base/attach.exp: Ditto.
5329 * gdb.base/bitfields2.exp: Ditto.
5330 * gdb.base/call-signal-resume.exp: Ditto.
5331 * gdb.base/callfuncs.exp: Ditto.
5332 * gdb.base/commands.exp: Ditto.
5333 * gdb.base/dbx.exp: Ditto.
5334 * gdb.base/default.exp: Ditto.
5335 * gdb.base/dump.exp: Ditto.
5336 * gdb.base/exprs.exp: Ditto.
5337 * gdb.base/freebpcmd.exp: Ditto.
5338 * gdb.base/interrupt.exp: Ditto.
5339 * gdb.base/list.exp: Ditto.
5340 * gdb.base/long_long.exp: Ditto.
5341 * gdb.base/maint.exp: Ditto.
5342 * gdb.base/ptype.exp: Ditto.
5343 * gdb.base/return.exp: Ditto.
5344 * gdb.base/setshow.exp: Ditto.
5345 * gdb.base/sigbpt.exp: Ditto.
5346 * gdb.base/sigrepeat.exp: Ditto.
5347
5348 * gdb.cp/classes.exp: Ditto.
5349
5350 * gdb.dwarf2/dw2-restore.exp: Ditto.
5351
5352 * gdb.gdb/selftest.exp: Ditto.
5353
5354 * gdb.multi/base.exp: Ditto.
5355 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5356
5357 * gdb.python/py-block.exp: Ditto.
5358 * gdb.python/py-prettyprint.exp: Ditto.
5359 * gdb.python/py-template.exp: Ditto.
5360
5361 * gdb.server/ext-attach.exp: Ditto.
5362 * gdb.server/ext-run.exp: Ditto.
5363 * gdb.server/server-mon.exp: Ditto.
5364
5365 * gdb.threads/fork-thread-pending.exp: Ditto.
5366 * gdb.threads/hand-call-in-threads.exp: Ditto.
5367 * gdb.threads/interrupted-hand-call.exp: Ditto.
5368 * gdb.threads/linux-dp.exp: Ditto.
5369 * gdb.threads/manythreads.exp: Ditto.
5370 * gdb.threads/print-threads.exp: Ditto.
5371 * gdb.threads/pthreads.exp: Ditto.
5372 * gdb.threads/schedlock.exp: Ditto.
5373 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5374 * gdb.threads/threadapply.exp: Ditto.
5375
de7ff789
MS
53762010-06-08 Michael Snyder <msnyder@vmware.com>
5377
889bf7c5 5378 * gdb.ada/exec_changed.exp:
de7ff789
MS
5379 Use ".*" instead of "" as wildcard regexp.
5380
5381 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5382 * gdb.base/call-ar-st.exp: Ditto.
5383 * gdb.base/checkpoint.exp: Ditto.
5384 * gdb.base/default.exp: Ditto.
5385 * gdb.base/dump.exp: Ditto.
5386 * gdb.base/ending-run.exp: Ditto.
5387 * gdb.base/fileio.exp: Ditto.
5388 * gdb.base/miscexprs.exp: Ditto.
5389 * gdb.base/pointers.exp: Ditto.
5390 * gdb.base/readline.exp: Ditto.
5391 * gdb.base/reread.exp: Ditto.
5392 * gdb.base/restore.exp: Ditto.
5393 * gdb.base/shlib-call.exp: Ditto.
5394 * gdb.base/valgrind-db-attach.exp: Ditto.
5395 * gdb.base/volatile.exp: Ditto.
5396 * gdb.base/watchpoints.exp: Ditto.
5397
5398 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5399
5400 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5401 * gdb.python/py-value.exp: Ditto.
5402
5403 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5404 * gdb.trace/circ.exp: Ditto.
5405 * gdb.trace/collection.exp: Ditto.
5406 * gdb.trace/packetlen.exp: Ditto.
5407 * gdb.trace/passc-dyn.exp: Ditto.
5408 * gdb.trace/report.exp: Ditto.
5409 * gdb.trace/tfile.exp: Ditto.
5410 * gdb.trace/tfind.exp: Ditto.
5411 * gdb.trace/while-dyn.exp: Ditto.
5412
3bebe2f2
JK
54132010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5414
5415 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5416
5c631832
JK
54172010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5418
5419 Test PR 10640.
5420 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5421
4c3376c8
SW
54222010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5423
5424 * gdb.cp/koenig.exp: Test for ADL operators.
5425 * gdb.cp/koenig.cc: Added ADL operators.
5426 * gdb.cp/operator.exp: New test.
5427 * gdb.cp/operator.cc: New test.
5428
dc226d5a
MS
54292010-06-04 Michael Snyder <msnyder@vmware.com>
5430
dfb88a23
MS
5431 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5432 * gdb.base/pending.exp: Ditto.
f7ae76b3 5433
dc226d5a
MS
5434 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5435
967cf477
DE
54362010-06-04 Doug Evans <dje@google.com>
5437
5438 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5439 disabled printers.
5440 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5441 (enable_lookup_function): New function.
5442
eb801841
TT
54432010-06-04 Tom Tromey <tromey@redhat.com>
5444
5445 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5446 of hash and id.
5447
38979823
JK
54482010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5451 newline.
5452 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5453 (empty verbose non-noisy clear, empty verbose noisy clear)
5454 (empty non-verbose noisy clear): Likewise.
5455
35ec993f
MS
54562010-06-03 Michael Snyder <msnyder@vmware.com>
5457
5458 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5459 * gdb.base/display.exp: Ditto.
5460 * gdb.base/find.exp: Ditto.
5461 * gdb.base/ifelse.exp: Ditto.
5462 * gdb.base/multi-forks.exp: Ditto.
5463 * gdb.base/recurse.exp: Ditto.
5464 * gdb.base/setshow.exp: Ditto.
5465 * gdb.base/value-double-free.exp: Ditto.
5466 * gdb.base/watch-vfork.exp: Ditto.
5467 * gdb.base/watch_thread_num.exp: Ditto.
5468 * gdb.base/watchpoint-solib.exp: Ditto.
5469 * gdb.base/watchpoint.exp: Ditto.
5470 * gdb.base/watchpoints.exp: Ditto.
5471
5472 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5473 * gdb.cp/overload.exp: Ditto.
5474 * gdb.cp/virtfunc.exp: Ditto.
5475
5476 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5477
889bf7c5 5478 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5479 Replace gdb_test with gdb_test_no_output.
5480
889bf7c5 5481 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5482 Replace gdb_test with gdb_test_no_output.
5483 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5484 * gdb.threads/watchthreads.exp: Ditto.
5485 * gdb.threads/watchthreads2.exp: Ditto.
5486
5487 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5488 * gdb.trace/tfind.exp: Ditto.
5489
c22decce
JB
54902010-06-03 Joel Brobecker <brobecker@adacore.com>
5491
5492 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5493 successful test if message is the empty string.
5494
fd5700c7
JK
54952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5496
5497 * gdb.fortran/module.exp (stopped language detection): New test.
5498
f55ee35c
JK
54992010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5500
5501 Support DW_TAG_module as separate namespaces.
5502 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5503 gdb.fortran/library-module-lib.f90: New.
5504 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5505 (print i): Remove.
5506 (continue to breakpoint: i-is-1, print var_i value 1)
5507 (continue to breakpoint: i-is-2, print var_i value 2)
5508 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5509 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5510 (complete `modmany, complete `modmany`, complete `modmany`var)
5511 (show language, setting breakpoint at module): New tests.
5512 * gdb.fortran/module.f90 (module mod): Remove.
5513 (module mod1, module mod2, module modmany, subroutine sub1)
5514 (subroutine sub2, program module): New.
5515
b8e8282f
JK
55162010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5517
5518 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5519 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5520 * gdb.cp/anon-union.exp (pass): Rename to ...
5521 (print z 2): ... here.
b8e8282f 5522
019ebafc
MS
55232010-06-02 Michael Snyder <msnyder@vmware.com>
5524
e68d8fd4
MS
5525 * gdb.trace/actions.exp: Use gdb_test_no_output.
5526 * gdb.trace/circ.exp: Ditto.
5527 * gdb.trace/packetlen.exp: Ditto.
5528 * gdb.trace/save-trace.exp: Ditto.
5529 * gdb.trace/tracecmd.exp: Ditto.
5530 * gdb.trace/tsv.exp: Ditto.
5531
12b5d08a
MS
5532 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5533 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5534 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5535 * gdb.threads/manythreads.exp: Ditto.
5536 * gdb.threads/print-threads.exp: Ditto.
5537 * gdb.threads/pthreads.exp: Ditto.
5538 * gdb.threads/schedlock.exp: Ditto.
5539 * gdb.threads/staticthreads.exp: Ditto.
5540 * gdb.threads/thread-specific.exp: Ditto.
5541 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5542 * gdb.threads/threadapply.exp: Ditto.
5543 * gdb.threads/watchthreads.exp: Ditto.
5544 * gdb.threads/watchthreads2.exp: Ditto.
5545
89493308
MS
5546 * gdb.python/py-block.exp: Use gdb_test_no_output.
5547 * gdb.python/py-prettyprint.exp: Ditto.
5548 * gdb.python/py-template.exp: Ditto.
5549 * gdb.python/py-value.exp: Ditto.
5550
5551 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5552 * gdb.reverse/watch-reverse.exp: Ditto.
5553
5554 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5555 * gdb.server/ext-run.exp: Ditto.
5556
019ebafc
MS
5557 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5558 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5559 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5560 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5561 * gdb.dwarf2/dw2-producer.exp: Ditto.
5562 * gdb.dwarf2/mac-fileno.exp: Ditto.
5563
5564 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5565 * gdb.gdb/selftest.exp: Ditto.
5566
5567 * gdb.multi/base.exp: Use gdb_test_no_output.
5568
5569 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5570
3e0ca3a5
JK
55712010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5572
5573 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5574
9db70545
MS
55752010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5576
a8d52276
MS
5577 * gdb.cp/class2.exp: Use gdb_test_no_output.
5578 * gdb.cp/classes.exp: Ditto.
5579 * gdb.cp/extern-c.exp: Ditto.
5580 * gdb.cp/inherit.exp: Ditto.
5581 * gdb.cp/maint.exp: Ditto.
5582 * gdb.cp/mb-inline.exp: Ditto.
5583 * gdb.cp/mb-templates.exp: Ditto.
5584 * gdb.cp/method2.exp: Ditto.
5585 * gdb.cp/misc.exp: Ditto.
5586 * gdb.cp/ovldbreak.exp: Ditto.
5587 * gdb.cp/punctuator.exp: Ditto.
5588 * gdb.cp/templates.exp: Ditto.
5589 * gdb.cp/virtbase.exp: Ditto.
5590
889bf7c5 5591 * gdb.threads/attach-stopped.exp:
9db70545 5592 Replace uses of send_gdb / gdb_expect.
889bf7c5 5593 * gdb.threads/attachstop-mt.exp:
9db70545 5594 Replace uses of send_gdb / gdb_expect.
889bf7c5 5595 * gdb.threads/gcore-thread.exp:
9db70545 5596 Replace uses of send_gdb / gdb_expect.
889bf7c5 5597 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5598 Replace uses of send_gdb / gdb_expect.
5599 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5600 * gdb.threads/print-threads.exp:
9db70545
MS
5601 Replace uses of send_gdb / gdb_expect.
5602 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5603 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5604 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5605
5606 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5607 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5608 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5609 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5610 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5611 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5612 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5613 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5614 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5615 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5616 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5617
359cc68c
JK
56182010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5619
5620 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5621
7d3fe98e
SW
56222010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5623
5624 * gdb.cp/koenig.exp: Added new test case.
5625 * gdb.cp/koenig.cc: Ditto.
5626
27d3a1a2
MS
56272010-06-01 Michael Snyder <msnyder@vmware.com>
5628
5629 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5630 * gdb.base/arrayidx.exp: Ditto.
5631 * gdb.base/attach.exp: Ditto.
5632 * gdb.base/auxv.exp: Ditto.
5633 * gdb.base/bigcre.exp: Ditto.
5634 * gdb.base/break-always.exp: Ditto.
5635 * gdb.base/break-interp.exp: Ditto.
5636 * gdb.base/break.exp: Ditto.
5637 * gdb.base/breakpoint-shadow.exp: Ditto.
5638 * gdb.base/call-ar-st.exp: Ditto.
5639 * gdb.base/call-sc.exp: Ditto.
5640 * gdb.base/call-signal-resume.exp: Ditto.
5641 * gdb.base/callfuncs.exp: Ditto.
5642 * gdb.base/catch-syscall.exp: Ditto.
5643 * gdb.base/charset.exp: Ditto.
5644 * gdb.base/code-expr.exp: Ditto.
5645 * gdb.base/commands.exp: Ditto.
5646 * gdb.base/cond-expr.exp: Ditto.
5647 * gdb.base/condbreak.exp: Ditto.
5648 * gdb.base/cursal.exp: Ditto.
5649 * gdb.base/cvexpr.exp: Ditto.
5650 * gdb.base/default.exp: Ditto.
5651 * gdb.base/del.exp: Ditto.
5652 * gdb.base/detach.exp: Ditto.
5653 * gdb.base/display.exp: Ditto.
5654 * gdb.base/ena-dis-br.exp: Ditto.
5655 * gdb.base/eval-skip.exp: Ditto.
5656 * gdb.base/foll-fork.exp: Ditto.
5657 * gdb.base/foll-vfork.exp: Ditto.
5658 * gdb.base/frame-args.exp: Ditto.
5659 * gdb.base/funcargs.exp: Ditto.
5660 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5661 * gdb.base/gdbvars.exp: Ditto.
5662 * gdb.base/help.exp: Ditto.
5663 * gdb.base/ifelse.exp: Ditto.
5664 * gdb.base/included.exp: Ditto.
5665 * gdb.base/list.exp: Ditto.
5666 * gdb.base/macscp.exp: Ditto.
5667 * gdb.base/maint.exp: Ditto.
5668 * gdb.base/multi-fork.exp: Ditto.
5669 * gdb.base/overlays.exp: Ditto.
5670 * gdb.base/page.exp: Ditto.
5671 * gdb.base/pending.exp: Ditto.
5672 * gdb.base/pointers.exp: Ditto.
5673 * gdb.base/pr11022.exp: Ditto.
5674 * gdb.base/prelink.exp: Ditto.
5675 * gdb.base/printcmds.exp: Ditto.
5676 * gdb.base/psymtab.exp: Ditto.
5677 * gdb.base/randomize.exp: Ditto.
5678 * gdb.base/relational.exp: Ditto.
5679 * gdb.base/relocate.exp: Ditto.
5680 * gdb.base/remote.exp: Ditto.
5681 * gdb.base/sepdebug.exp: Ditto.
5682 * gdb.base/set-lang-auto.exp: Ditto.
5683 * gdb.base/setshow.exp: Ditto.
5684 * gdb.base/setvar.exp: Ditto.
5685 * gdb.base/signals.exp: Ditto.
5686 * gdb.base/signull.exp: Ditto.
5687 * gdb.base/sigstep.exp: Ditto.
5688 * gdb.base/sizeof.exp: Ditto.
5689 * gdb.base/solib-disc.exp: Ditto.
5690 * gdb.base/store.exp: Ditto.
5691 * gdb.base/structs.exp: Ditto.
5692 * gdb.base/structs2.exp: Ditto.
5693 * gdb.base/subst.exp: Ditto.
5694 * gdb.base/term.exp: Ditto.
5695 * gdb.base/trace-commands.exp: Ditto.
5696 * gdb.base/unwindonsignal.exp: Ditto.
5697 * gdb.base/valgrind-db-attach.exp: Ditto.
5698 * gdb.base/varargs.exp: Ditto.
5699 * gdb.base/watch-cond.exp: Ditto.
5700 * gdb.base/watch_thread_num.exp: Ditto.
5701 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5702 * gdb.base/watchpoint.exp: Ditto.
5703 * gdb.base/whatis-exp.exp: Ditto.
5704
f8d3bf8f
MS
57052010-06-01 Michael Snyder <msnyder@vmware.com>
5706
5707 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5708 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5709 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5710 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5711 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5712 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5713 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5714 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5715 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5716 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5717 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5718 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5719 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5720 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5721 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5722
3f9e0d32
JK
57232010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5726 trailing newline.
5727 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5728 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5729 (p *args): ... here and remove excessive trailing newline.
5730
f629457d
JB
57312010-05-31 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5734
09eef106
JK
57352010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5736
5737 Accept the new Linux kernel "t (tracing stop)" string.
5738 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5739 Update comment.
5740 (state_wait) <T (tracing stop)>: New.
5741 (main): Update the state_wait expect string.
5742
94f31136
PA
57432010-05-28 Pedro Alves <pedro@codesourcery.com>
5744
5745 * limits.c, limits.exp: Delete files.
5746 * Makefile.in (clean mostlyclean): Adjust.
5747 * tracecmd.exp: Adjust.
5748
096554ab
JK
57492010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5750
5751 * gdb.base/tui-layout.exp: New.
5752
27d3a1a2 57532010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5754
889bf7c5 5755 * gdb.reverse/break-precsave.exp:
bcd2dc50 5756 Replace uses of send_gdb / gdb_expect.
889bf7c5 5757 * gdb.reverse/break-reverse.exp:
bcd2dc50 5758 Replace uses of send_gdb / gdb_expect.
889bf7c5 5759 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5760 Replace uses of send_gdb / gdb_expect.
889bf7c5 5761 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5762 Replace uses of send_gdb / gdb_expect.
889bf7c5 5763 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5764 Replace uses of send_gdb / gdb_expect.
889bf7c5 5765 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5766 Replace uses of send_gdb / gdb_expect.
889bf7c5 5767 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5768 Replace uses of send_gdb / gdb_expect.
889bf7c5 5769 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5770 Replace uses of send_gdb / gdb_expect.
889bf7c5 5771 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5772 Replace uses of send_gdb / gdb_expect.
889bf7c5 5773 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5774 Replace uses of send_gdb / gdb_expect.
889bf7c5 5775 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5776 Replace uses of send_gdb / gdb_expect.
889bf7c5 5777 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5778 Replace uses of send_gdb / gdb_expect.
889bf7c5 5779 * gdb.reverse/machinestate.exp:
bcd2dc50 5780 Replace uses of send_gdb / gdb_expect.
889bf7c5 5781 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5782 Replace uses of send_gdb / gdb_expect.
889bf7c5 5783 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5784 Replace uses of send_gdb / gdb_expect.
889bf7c5 5785 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5786 Replace uses of send_gdb / gdb_expect.
889bf7c5 5787 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5788 Replace uses of send_gdb / gdb_expect.
889bf7c5 5789 * gdb.reverse/step-precsave.exp:
bcd2dc50 5790 Replace uses of send_gdb / gdb_expect.
889bf7c5 5791 * gdb.reverse/step-reverse.exp:
bcd2dc50 5792 Replace uses of send_gdb / gdb_expect.
889bf7c5 5793 * gdb.reverse/until-precsave.exp:
bcd2dc50 5794 Replace uses of send_gdb / gdb_expect.
889bf7c5 5795 * gdb.reverse/until-reverse.exp:
bcd2dc50 5796 Replace uses of send_gdb / gdb_expect.
889bf7c5 5797 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5798 Replace uses of send_gdb / gdb_expect.
889bf7c5 5799 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5800 Replace uses of send_gdb / gdb_expect.
5801
3def43e0
JK
58022010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5803
5804 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5805 excessive newline.
5806
27d3a1a2 58072010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5808
5809 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5810 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5811 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5812 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5813 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5814 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5815 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5816 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5817 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5818 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5819 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5820 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5821 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5822 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5823 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5824 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5825 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5826 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5827 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5828
27d3a1a2 58292010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5830
22454424
MS
5831 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5832 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5833
5834 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5835 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5836 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5837
889bf7c5 5838 * gdb.reverse/consecutive-reverse.exp:
22454424 5839 Replace uses of send_gdb / gdb_expect.
889bf7c5 5840 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5841 Replace uses of send_gdb / gdb_expect.
5842
5843 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5844 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5845 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5846 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5847 Replace uses of send_gdb / gdb_expect.
5848 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5849 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5850 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5851 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5852 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5853 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5854 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5855 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5856 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5857
58582010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5859
22454424 5860 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5861
22454424 5862 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5863
22454424
MS
5864 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5865 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5866 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5867 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5868 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5869 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5870 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5871 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5872 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5873
6e5f2c59
TT
58742010-05-25 Tom Tromey <tromey@redhat.com>
5875
5876 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5877
bbc8b958
TT
58782010-05-25 Tom Tromey <tromey@redhat.com>
5879
5880 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5881 argument order.
5882 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5883 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5884 order.
5885 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5886 order.
5887 * gdb.base/call-sc.exp (setup_kfails): Remove.
5888 (setup_compiler_kfails): Remove.
5889 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5890 argument order.
5891 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5892 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5893 (advancei): Fix setup_kfail argument order.
5894 * gdb.base/radix.exp: Fix setup_kfail argument order.
5895 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5896 order.
5897 * gdb.base/structs.exp (setup_kfails): Remove.
5898 (setup_compiler_kfails): Fix setup_kfail argument order.
5899 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5900 order.
5901 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5902 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5903 setup_kfail argument order.
5904 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5905
83d1babf
TT
59062010-05-25 Tom Tromey <tromey@redhat.com>
5907
5908 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5909
6acb16a2
MS
59102010-05-25 Michael Snyder <msnyder@vmware.com>
5911
5912 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5913 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5914 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5915 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5916 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5917 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5918 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5919 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5920 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5921 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5922 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5923 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5924 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5925 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5926 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5927 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5928 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5929 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5930 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5931 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5932 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5933 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5934 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5935 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5936 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5937 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5938 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5939 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5940 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5941 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5942 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5943 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5944 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5945 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5946 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5947 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5948 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5949 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5950 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5951 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5952 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5953 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5954 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5955 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5956 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5957 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5958 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5959 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5960
59612010-05-25 Doug Evans <dje@google.com>
5962
5963 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5964 gdb.string_to_argv.
ad3986f0 5965
d3b1e874
TT
59662010-05-21 Tom Tromey <tromey@redhat.com>
5967
5968 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5969 Call it.
5970 * gdb.dwarf2/pieces.S: Update.
5971 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5972
cb826367
TT
59732010-05-21 Tom Tromey <tromey@redhat.com>
5974
5975 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5976 Call it.
5977 * gdb.dwarf2/pieces.c (struct C): New.
5978 (f6): New function.
5979 * gdb.dwarf2/pieces.S: Replace.
5980
74de6778
TT
59812010-05-21 Tom Tromey <tromey@redhat.com>
5982
5983 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5984 Call it.
5985
afd74c5f
TT
59862010-05-21 Tom Tromey <tromey@redhat.com>
5987
5988 * gdb.dwarf2.pieces.exp: New file.
5989 * gdb.dwarf2.pieces.S: New file.
5990 * gdb.dwarf2.pieces.c: New file.
5991
a7b75dfd 59922010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5993 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5994
5995 * lib/gdb.exp (gdb_test_no_output): New function.
5996 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5997 when testing commands that should produce no output.
5998
c81c812a
JB
59992010-05-17 Joel Brobecker <brobecker@adacore.com>
6000
6001 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6002 parameter that we want to watch being a constant.
6003
0cce5bd9
JB
60042010-05-17 Joel Brobecker <brobecker@adacore.com>
6005
6006 * gdb.ada/cond_lang: New testcase.
6007
47050449
JB
60082010-05-17 Joel Brobecker <brobecker@adacore.com>
6009
6010 * lib/gdb.exp (banned_variables): New variable/constant.
6011 (gdb_init): Add write trace on variables listed in banned_variables.
6012 (gdb_finish): Remove write traces on variables listed in
6013 banned_variables.
6014
77c01586
JB
60152010-05-17 Joel Brobecker <brobecker@adacore.com>
6016
6017 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6018 * gdb.cp/koenig.exp: Likewise.
6019
88d4aea7
PM
60202010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6021
889bf7c5 6022 PR python/11482
88d4aea7
PM
6023
6024 * gdb.python/py-value.exp (test_value_hash): New function.
6025
f5a010c0
PM
60262010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6027
6028 PR exp/11530.
6029 * gdb.base/gdb11530.c: New file.
6030 * gdb.base/gdb11530.exp: New file.
6031
8ef4892f
JK
60322010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6033
6034 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6035 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6036
7322dca9
SW
60372010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6038
6039 * gdb.cp/koenig.exp: New test.
6040 * gdb.cp/koenig.cc: New test program.
6041
02e7ea18
JB
60422010-05-05 Joel Brobecker <brobecker@adacore.com>
6043
6044 Remove the use of prms_id and bug_id throughout the testsuite.
6045
e1c34c5d
PM
60462010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6047
6048 PR exp/11349.
6049 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6050 use a reference local variable.
6051
8e1d0c49
JK
60522010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6055 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6056 variable different_dir. Move debugfile into a full directory pathname
6057 under DIFFERENT_DIR.
6058 * lib/gdb.exp (separate_debug_filename): Remove.
6059 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6060 variable debug_dir and mkdir of it. Update function comments.
6061
e66408ed
PA
60622010-04-29 Pedro Alves <pedro@codesourcery.com>
6063
6064 PR gdb/11557
6065
6066 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6067 files.
6068
d7b32ed3
PM
60692010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6070
889bf7c5 6071 * gdb.python/py-param.exp: New File.
d7b32ed3 6072
6aecb9c2
JB
60732010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6074
6075 * gdb.base/default.exp: Fix "set language" test.
6076
bdf92a1c
PM
60772010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6078
6079 PR breakpoints/11531.
6080 * gdb.base/gdb11531.c: New file.
6081 * gdb.base/gdb11531.exp: New file.
6082
3f172e24
TT
60832010-04-26 Tom Tromey <tromey@redhat.com>
6084
6085 * gdb.base/completion.exp: Add tests for completion and deprecated
6086 commands.
6087
64af4c92
JK
60882010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6091 (print /x char_array): Escape curly brackets.
6092
492928e4
JK
60932010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6094
6095 Fix deadlock on looped list of loaded shared objects.
6096 * gdb.base/solib-corrupted.exp: New.
6097
66d09542
DE
60982010-04-23 Doug Evans <dje@google.com>
6099
6100 * gdb.python/py-section-script.c: New file.
6101 * gdb.python/py-section-script.exp: New file.
6102 * gdb.python/py-section-script.py: New file.
6103
8bd10a10
CM
61042010-04-20 Chris Moller <cmoller@redhat.com>
6105
6106 PR 10179
6107
6108 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6109 * gdb.base/pr10179-a.c:
6110 * gdb.base/pr10179-b.c:
6111 * gdb.base/pr10179.exp: New files.
6112
c0201579
JK
61132010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6114
6115 Fix crashes on dangling display expressions.
6116 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6117 is SEP.
6118 (lib_flags): Remove the "debug" keyword.
6119 (libsepdebug): New variable for iterating new loop.
6120 (save_pf_prefix): New variable wrapping the loop.
6121 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6122 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6123
793b0ff8
PM
61242010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6125
6126 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6127
097f51f7
PM
61282010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6129
6130 PR stabs/11479.
6131 * gdb.stabs/gdb11479.exp: New file.
6132 * gdb.stabs/gdb11479.c: New file.
6133
9a22f0d0
PM
61342010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6135
6136 * gdb.base/charset.c (Strin16, String32): New variables.
6137 * gdb.base/charset.exp (gdb_test): Test correct display
6138 of 16 or 32 bit strings.
6139
61402010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6141
6142 PR 9167
6143 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6144 * gdb.cp/pr9167.cc: New file.
6145 * gdb.cp/pr9167.exp: New file.
6146
6147
6e354e5e
PM
61482010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6149
6150 PR pascal/11492.
6151 * gdb.pascal/gdb11492.pas: New file.
6152 * gdb.pascal/gdb11492.exp: New file.
6153
be942545
JB
61542010-04-20 Joel Brobecker <brobecker@adacore.com>
6155
1667e6e3 6156 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6157
0c3acc09
JB
61582010-04-20 Joel Brobecker <brobecker@adacore.com>
6159
6160 * gdb.ada/dyn_loc: New testcase.
6161
ec31cde5
CM
61622010-04-20 Chris Moller <cmoller@redhat.com>
6163
6164 PR 10867
889bf7c5 6165
ec31cde5
CM
6166 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6167 * gdb.cp/pr10687.cc: New file.
6168 * gdb.cp/pr10687.exp: New file.
6169
6170
ce4b0682
SDJ
61712010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6172 Sergio Durigan Junior <sergiodj@redhat.com>
6173
6174 * gdb.fortran/logical.exp: New testcase.
6175 * gdb.fortran/logical.f90: New file.
6176
3436961f
DE
61772010-04-19 Doug Evans <dje@google.com>
6178
6179 * gdb.base/help.exp (help source): Update expected output.
6180
4d836c09
JK
61812010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6184 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6185 gdb_exit and return.
6186 (executable): New variable.
6187 (binfile): Use it.
6188
6149aea9
PA
61892010-04-19 Pedro Alves <pedro@codesourcery.com>
6190
6191 PR breakpoints/8554.
6192
6193 * gdb.trace/save-trace.exp: Adjust.
6194
ed41462c
L
61952010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6196
6197 PR corefiles/11511
6198 * gdb.arch/system-gcore.exp: New.
6199 * gdb.arch/gcore.c: Likewise.
6200
3f7b2faa
DE
62012010-04-15 Doug Evans <dje@google.com>
6202
fa33c3cd
DE
6203 * gdb.python/py-progspace.c: New file.
6204 * gdb.python/py-progspace.exp: New file.
6205
3f7b2faa
DE
6206 * gdb.base/source.exp: Add tests for "source -s".
6207
79f283fe
PM
62082010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6209
6210 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6211 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6212 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6213 * gdb.python/py-mi.exp: New test for to_string returning None.
6214
fc8eb08a
PM
62152010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6216
6217 * gdb.python/py-breakpoint.c: Make result global.
6218
26e197f6
JK
62192010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6220
6221 Fix non-GNU make compatibility.
6222 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6223
adc36818
PM
62242010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6225
6226 * gdb.python/py-breakpoint.exp: New File.
6227 * gdb.python/py-breakpoint.C: Ditto.
6228
64e17368
SS
62292010-04-08 Stan Shebs <stan@codesourcery.com>
6230
6231 * gdb.trace/actions.exp: Clear default-collect.
6232 * gdb.trace/save-trace.exp: Clear default-collect.
6233
fff5cc64
PM
62342010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6235
6236 * gdb.python/py-value: Add null string variable.
6237 (test_lazy_string): Test zero length, NULL address lazy
6238 strings.
6239
a055a187
L
62402010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 * gdb.arch/i386-avx.c: New.
6243 * gdb.arch/i386-avx.exp: Likewise.
6244
6245 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6246
96e39866
DE
62472010-04-06 Doug Evans <dje@google.com>
6248
6249 * gdb.base/source-test.gdb: New file.
6250 * gdb.base/source.exp: Test source -v.
6251
5984a431
UW
62522010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6253
6254 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6255
ec8a089a
PM
62562010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6257
6258 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6259 within one line, unless it is followed by a double quote.
6260 * gdb.stabs/hppa.sed: Idem.
6261 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6262 * gdb.stabs/weird.exp: Check for correct parsing of
6263 char and string constants.
ec8a089a
PM
6264 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6265 in .stabs to .stabx substitution.
6266
fce3c1f0
SS
62672010-04-05 Stan Shebs <stan@codesourcery.com>
6268
6269 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6270 constant global.
6271 * gdb.trace/tfile.exp: Try to print them.
6272
d77f58be
SS
62732010-04-04 Stan Shebs <stan@codesourcery.com>
6274
6275 * gdb.base/completion.exp: Update for new "info watchpoints".
6276 * gdb.base/default.exp: Ditto.
6277 * gdb.base/help.exp: Ditto.
6278 * gdb.base/watchpoint.exp: Ditto.
6279 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6280
af54718e
SS
62812010-04-04 Stan Shebs <stan@codesourcery.com>
6282
6283 * gdb.trace/tfile.exp: Sharpen tfind test.
6284
74d1f91e
JK
62852010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6286
6287 * gdb.base/break-entry.exp: New.
6288
eb8e76db 62892010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6290 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6291
6292 * gdb.reverse/i386-sse-reverse.exp: New file.
6293 * gdb.reverse/i386-sse-reverse.c: New file.
6294
bf65cad8
PA
62952010-04-02 Pedro Alves <pedro@codesourcery.com>
6296
6297 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6298
fff87407
SS
62992010-04-01 Stan Shebs <stan@codesourcery.com>
6300
6301 * gdb.trace/actions.exp: Tweak expected output.
6302 * gdb.trace/while-stepping.exp: Tweak expected output.
6303
fe01d668
L
63042010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6307
86b17b60
PA
63082010-04-01 Pedro Alves <pedro@codesourcery.com>
6309
6310 * gdb.base/commands.exp: Adjust.
6311 * gdb.cp/extern-c.exp: Adjust.
6312
2c58c0a9
PA
63132010-04-01 Pedro Alves <pedro@codesourcery.com>
6314
6315 * gdb.trace/collection.c (local_test_func): Define a local struct,
6316 and instanciate it.
6317
0db9b91c
PA
63182010-04-01 Pedro Alves <pedro@codesourcery.com>
6319
6320 * gdb.trace/collection.exp (gdb_collect_args_test)
6321 (gdb_collect_argarray_test): XFAIL the tests that assume the
6322 argarray argument's elements are collected.
6323
8072405b
JK
63242010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6325
6326 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6327 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6328
8bf6485c
SS
63292010-03-31 Stan Shebs <stan@codesourcery.com>
6330
6331 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6332 and tracepoint conditionals.
6333 (gdb_verify_tracepoints): Delete unused return.
6334
fd7f724a
KS
63352010-03-26 Keith Seitz <keiths@redhat.com>
6336
6337 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6338 appear in the output before main.
6339 Remove KFAIL for gdb/2215 aka bz 9320.
6340
8d9e7719
DE
63412010-03-30 Doug Evans <dje@google.com>
6342
0906dd0b
DE
6343 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6344 by dejagnu.
6345 * gdb.arch/amd64-dword.exp: Ditto.
6346
8d9e7719
DE
6347 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6348 match.
6349 (break printf): Ditto.
6350
1da644f0
SW
63512010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6352
6353 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6354 gcc < 4.4.
6355 * gdb.cp/shadow.exp: Ditto.
6356
a8121990
PA
63572010-03-29 Pedro Alves <pedro@codesourcery.com>
6358
6359 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6360 "tstart" is silent.
6361
6e79d367
PA
63622010-03-29 Pedro Alves <pedro@codesourcery.com>
6363
6364 * gdb.trace/collection.exp (executable): New.
6365 (binfile): Use it.
6366 (fpreg, spreg, pcreg): New.
6367 (test_register): Use gdb_test_multiple. Pass /x to print.
6368 (prepare_for_trace_test): New.
6369 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6370 (gdb_collect_args_test, gdb_collect_argstruct_test)
6371 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6372 prepare_for_trace_test.
6373 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6374 fpreg, spreg and pcreg.
6375 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6376 prepare_for_trace_test.
6377 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6378 try to detect tracing support here. Don't set breakpoints at
6379 `begin' or `end' here.
6380 <global scope>: Use clean_restart. Run to main before checking
6381 for tracing support. Check for for tracing support here.
6382
09248348
JK
63832010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6384
6385 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6386 " as $displacement" to "seen displacement message".
6387
d350db38
PA
63882010-03-28 Pedro Alves <pedro@codesourcery.com>
6389
6390 * gdb.trace/while-dyn.exp (executable): New variable.
6391 (binfile): Use it.
6392 (test_while_stepping): New function. Move most tests here. Call
6393 it once for each of the while-stepping, stepping and ws aliases.
6394
907af001
UW
63952010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6396
6397 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6398 that do not provide the tagless_struct type name at all.
6399 (test_print_anon_union): Do not check value of uninitialized
6400 union member. Do not use cp_test_ptype_class, so we can accept
6401 "long" as well as "long int".
6402
610197fd
PA
64032010-03-26 Pedro Alves <pedro@codesourcery.com>
6404
6405 * gdb.trace/tfile.c (tohex, bin2hex): New.
6406 (write_error_trace_file): Hexify error description.
6407
6c28cbf2
SS
64082010-03-25 Stan Shebs <stan@codesourcery.com>
6409
6410 * gdb.trace/tfile.c: Generate an additional trace file, improve
6411 portability.
6412 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6413 files in a better way.
6414
e62b8c7e
KS
64152010-03-25 Keith Seitz <keiths@redhat.com>
6416
6417 * gdb.java/jprint.exp: XFAIL printing of static class members
6418 because of GCC debuginfo problem.
6419
82ccf5a5
JK
64202010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6421
6422 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6423
293e2f9e
DJ
64242010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6425
6426 * gdb.base/completion.exp: Allow long instead of long int.
6427 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6428 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6429 variable p.
6430 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6431 * gdb.base/pointers.exp: Allow long instead of long int.
6432 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6433 * gdb.base/step-line.exp: Allow a directory before the source file name.
6434
95a42b64
TT
64352010-03-24 Tom Tromey <tromey@redhat.com>
6436
6437 PR breakpoints/9352:
6438 * gdb.base/default.exp: Update.
6439 * gdb.base/commands.exp: Update.
6440 * gdb.cp/extern-c.exp: Test setting commands on multiple
6441 breakpoints at once.
6442
2390201f
DJ
64432010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6444
6445 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6446 if gdb,nosignals.
6447 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6448 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6449 exited".
6450
8c9a6790
SS
64512010-03-24 Stan Shebs <stan@codesourcery.com>
6452
6453 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6454
a6c727b2
DJ
64552010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6456
6457 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6458 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6459 argument. Handle "short" and "long".
6460 (Top level): Pass overprototyped output for old_fptr and xptr.
6461
4dfd5423
PA
64622010-03-23 Pedro Alves <pedro@codesourcery.com>
6463
6464 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6465 format strings and add casts to avoid compiler warnings.
6466
64672010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6468
6469 * lib/trace-support.exp (gdb_trace_setactions):
6470 Don't expect whitespace after ">" prompt.
6471 * gdb.trace/actions.exp: Adjust for output changes.
6472 * gdb.trace/while-stepping.exp: Likewise.
6473
c847d045
JK
64742010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6475
6476 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6477 and r157645).
6478
5f717f1d
JK
64792010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6480
6481 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6482 New.
6483
7d6d51d5
DJ
64842010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6485
6486 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6487 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6488
3b11a015
SS
64892010-03-19 Stan Shebs <stan@codesourcery.com>
6490
6491 * gdb.trace/ax.exp: New file.
6492
d7d158ed
DE
64932010-03-19 Doug Evans <dje@google.com>
6494
6bb85cd1
DE
6495 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6496 output from gcc.
6497
d7d158ed
DE
6498 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6499 named /usr/sbin/prelink<foo>.
6500
4daf5ac0
SS
65012010-03-18 Stan Shebs <stan@codesourcery.com>
6502
6503 * gdb.trace/circ.exp: Test circular-trace-buffer.
6504 * gdb.trace/tfile.exp: Update tstatus test.
6505
e8d05480
JB
65062010-03-18 Joel Brobecker <brobecker@adacore.com>
6507
6508 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6509 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6510
441b986a
UW
65112010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6512
6513 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6514
4247603b
PA
65152010-03-18 Pedro Alves <pedro@codesourcery.com>
6516
6517 * gdb.base/default.exp: Adjust the expected output of the finish
6518 and until commands when the inferior is not being run.
6519
13387711
SW
65202010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6521
6522 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6523 * gdb.cp/nsusing.exp: Ditto.
6524
6e31430b
TT
65252010-03-15 Tom Tromey <tromey@redhat.com>
6526
6527 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6528 * gdb.cp/userdef.cc (operator==): New function.
6529 (main): New locals mem1, mem2.
6530
e2d69cb5
JZ
65312010-03-15 Jie Zhang <jie@codesourcery.com>
6532
6533 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6534 Declare and use new loadtimeout variable.
6535
f572f0a9
DJ
65362010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6537
6538 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6539 Use gdb_load later.
6540
51f4c0b0
PA
65412010-03-14 Pedro Alves <pedro@codesourcery.com>
6542
6543 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6544 literal. Add missing endlines to prints to stderr.
6545
1c809c68
TT
65462010-03-12 Tom Tromey <tromey@redhat.com>
6547
6548 PR c++/9708:
6549 * gdb.cp/m-static.exp: Add regression test.
6550 * gdb.cp/m-static.cc (method): New method.
6551 (main): Call it.
6552
00ae8fef
SW
65532010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6554
6555 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6556 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6557
759f0f0b
PA
65582010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6559
21e24d21
PA
6560 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6561
65622010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6563
759f0f0b
PA
6564 * lib/gdb.exp (skip_stl_tests): New.
6565 (gdb_compile): Symbian needs -ldl.
6566 (shlib_target_file): New.
6567 (shlib_symbol_file): New.
6568 (gdb_load_shlibs): Use shlib_target_file.
6569 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6570 * gdb.cp/exception.exp: Use skip_stl_tests.
6571 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6572 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6573 * gdb.cp/mb-templates.exp: Ditto.
6574 * gdb.base/commands.exp: Relax regexes.
6575 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6576 shlib_target_file and shlib_symbol_file.
6577 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6578 sections.
6579 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6580 * gdb.base/solib-disc.exp: Use
6581 shlib_target_file and shlib_symbol_file.
6582 * gdb.base/unload.exp: Don't skip on symbian. Use
6583 shlib_target_file and shlib_symbol_file.
6584 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6585
6a8f2671 65862010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6587
6a8f2671
PA
6588 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6589 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6590 Issue a tfind end before looking for a tracepoint frame.
6591 * gdb.trace/tfind.exp: Adjust tstatus output.
6592 Adjust disassembly output.
6593 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6594
ccf26247
JK
65952010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 * gdb.base/break-interp.exp: Create new displacement parameter value
6598 for the test_ld calls.
6599 (reach): New parameter displacement, verify its content. New push of
6600 pf_prefix "reach-$func:". Import global expect_out.
6601 (test_core): New parameter displacement, verify its content. New push
6602 of pf_prefix "core:". New command "set verbose on". Import global
6603 expect_out.
6604 (test_attach): New parameter displacement, verify its content. New
6605 push of pf_prefix "attach:". New command "set verbose on". Import
6606 global expect_out.
6607 (test_ld): New parameter displacement, pass it to the reach, test_core
6608 and test_attach calls and verify its content in the "ld.so exit" test.
6609 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6610 (prelink): Update expected text, use gdb_test.
6611
e469c7fb
DE
66122010-03-10 Doug Evans <dje@google.com>
6613
6614 * gdb.base/checkpoint.exp: Fix comment.
6615 Lengthen timeout while doing >600 checkpoints test.
6616 Rename duplicate "kill all one" test to keep test names unique.
6617
60e1c644
PA
66182010-03-10 Pedro Alves <pedro@codesourcery.com>
6619
6620 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6621
cec808ec
KS
66222010-03-08 Keith Seitz <keiths@redhat.com>
6623
889bf7c5
PA
6624 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6625 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6626 (dm_type_long): New function.
6627 (dm_type_unsigned_short): New function.
6628 (dm_type_unsigned_long): New function.
6629 (myint): New typedef.
6630 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6631 long, unsigned shor and long, operator char*, and typedef.
6632 (test_lookup_operator_functions): Add operator char* test.
6633 (test_paddr_operator_functions): Likewise.
6634 (test_paddr_overloaded_functions): Use probe values for
6635 short, long, and unsigned short and long.
6636 (test_paddr_hairy_functions): If the demangler probe detected
6637 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6638 demangler.
6639 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6640 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6641 and "print null_pmf".
6642 Add test "ptype a.*pmf".
6643 * gdb.cp/overload.exp: Allow optional "int" to appear with
6644 "short" and "long".
6645 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6646 long expect value for men_overload1arg.
6647 Allow "int" to appear with "short" and "long".
6648 When testing "info break", add argument for main (void).
6649 Also allow "int" to appear with "short" and "long".
6650 Ditto with "unsigned" and "long long".
cec808ec
KS
6651 * gdb.java/jmain.exp: Do not enclose methods names in single
6652 quotes.
6653 * gdb.java/jmisc.exp: Likewise.
6654 * gdb.java/jprint.exp: Likewise.
6655 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6656
6657 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6658 * gdb.cp/exception.exp (backtrace after first throw)
6659 (backtrace after second throw): Allow a namespace before __cxa_throw.
6660 (backtrace after first catch, backtrace after second catch): Allow
6661 a namespace before __cxa_begin_catch.
6662
6663 * gdb.cp/cpexprs.exp: New file.
6664 * gdb.cp/cpexprs.cc: New file.
6665
6666 From Daniel Jacobowitz <dan@codesourcery.com>
6667 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6668 to use string_to_regexp.
6669 (ctor, dtor): New functions. Use them to match constructor
6670 and destructor function types.
6671 (Top level): Use runto_main.
6672
f870a310
TT
66732010-03-05 Tom Tromey <tromey@redhat.com>
6674
6675 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6676 gdb.target_charset.
6677 (pp_ns.to_string): Likewise.
6678
0c199f28
KS
66792010-03-04 Keith Seitz <keiths@redhat.com>
6680
6681 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6682 can be quoted. Test that both the filename and function/line
6683 portions can be quoted at the same time.
6684
c7437ca6
PA
66852010-03-04 Pedro Alves <pedro@codesourcery.com>
6686
6687 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6688
b111b805
DE
66892010-03-03 Doug Evans <dje@google.com>
6690
24486cb7
DE
6691 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6692 libc contains libpthread.
6693
b111b805
DE
6694 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6695 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6696 of gdb_compile. Add another pattern to match android backtrace.
6697
a0e0ef55
TT
66982010-03-03 Tom Tromey <tromey@redhat.com>
6699
6700 PR gdb/11345:
6701 * gdb.base/printcmds.exp (test_printf): Add test.
6702
1ba53b71
L
67032010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6704
6705 * gdb.arch/amd64-byte.exp: New.
6706 * gdb.arch/amd64-dword.exp: Likewise.
6707 * gdb.arch/amd64-pseudo.c: Likewise.
6708 * gdb.arch/amd64-word.exp: Likewise.
6709 * gdb.arch/i386-byte.exp: Likewise.
6710 * gdb.arch/i386-pseudo.c: Likewise.
6711 * gdb.arch/i386-word.exp: Likewise.
6712
f5dff777
DJ
67132010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6714
6715 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6716 types. Add structreg, bitfields, and flags registers.
6717 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6718 registers.
6719
90884b2b
L
67202010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6721
6722 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6723 (load_description): Set architecture if defined.
6724
dc00d89f
PM
67252010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6726
6727 * gdb.python/py-frame.exp: Add read_var block tests.
6728 * gdb.python/py-frame.c (block): New function.
6729
0e095b7e
JK
67302010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6731 Daniel Jacobowitz <dan@codesourcery.com>
6732
6733 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6734
624f1a65
DM
67352010-02-25 David S. Miller <davem@davemloft.net>
6736
6737 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6738 fix logic for setting all_syscalls_numbers.
6739
f3e9a817
PM
67402010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6741
6742 * Makefile.in: Add py-block and py-symbol.
6743 * gdb.python/py-symbol.exp: New File.
6744 * gdb.python/py-symtab.exp: New File.
6745 * gdb.python/py-block.exp: New File.
6746 * gdb.python/py-symbol.c: New File.
6747 * gdb.python/py-block.c: New File.
6748
f6bbabf0
PM
67492010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6750
6751 PR python/11314
6752 * lib/gdb.exp (skip_python_tests): New function.
6753 * gdb.python/py-cmd.exp: Use skip_python_tests.
6754 * gdb.python/py-frame.exp: Likewise.
6755 * gdb.python/py-function.exp: Likewise.
6756 * gdb.python/py-prettyprint.exp: Likewise.
6757 * gdb.python/py-template.exp: Likewise.
6758 * gdb.python/py-type.exp: Likewise.
6759 * gdb.python/py-value.exp: Likewise.
6760
85d721b8
PA
67612010-02-22 Pedro Alves <pedro@codesourcery.com>
6762
6763 PR9605
6764
6765 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6766
48e32051
TT
67672010-02-19 Tom Tromey <tromey@redhat.com>
6768
6769 PR c++/8693, PR c++/9496:
6770 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6771 regression tests.
6772
ac9c0048
JK
67732010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6774
6775 Fix compatibility with m68k as.
6776 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6777 Use only /* comments */.
6778
57bb97a4
UW
67792010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6780
6781 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6782 * configure: Regenerate.
6783
7d1bf85c
DJ
67842010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6785
6786 * gdb.python/py-type.exp: Check for Python support.
6787
061b5285
PA
67882010-02-17 Pedro Alves <pedro@codesourcery.com>
6789
6790 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6791 `regsub' syntax available.
6792
f8a8bc2c
PA
67932010-02-17 Pedro Alves <pedro@codesourcery.com>
6794
6795 * gdb.base/shmain.c (main): Remove printf call.
6796 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6797 * gdb.base/unload.c (main): Make format of fprintf a string
6798 literal. Add missing endlines to prints to stderr.
6799 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6800
6f451e5e
TT
68012010-02-17 Tom Tromey <tromey@redhat.com>
6802
6803 * gdb.java/jprint.java (jprint.props): New field.
6804 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6805
12d79008
PA
68062010-02-17 Pedro Alves <pedro@codesourcery.com>
6807
ef801a0e 6808 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6809 available.
6810
d252f7e5
DJ
68112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6812
6813 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6814 creation to support remote host testing.
6815
67bdab6c
DJ
68162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6817
6818 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6819 Recognize "command not found".
6820
bb391223
DJ
68212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6822
6823 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6824 single-stepping.
6825
70362913
DJ
68262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6827
6828 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6829 if arguments are not supported.
6830
493f3c00
DJ
68312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6832
6833 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6834 be const or non-const.
6835
8034c749
DJ
68362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6837
6838 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6839 mi_send_resuming_command to send -exec-continue.
6840
791dfb64
DJ
68412010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6842
6843 * gdb.base/list.exp (test_list_filename_and_function): Add test
6844 with single quotes.
6845 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6846 matching.
6847 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6848 Add KFAIL'd tests for PR gdb/11289.
6849
7c5fe868
DJ
68502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6851
6852 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6853
fdc498b8
DJ
68542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6855
6856 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6857 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6858 a temporary directory.
6859
b519e2a6
DJ
68602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6861
6862 * gdb.base/charset.exp: Use a single regular expression to match
6863 show host-charset and show target-charset output.
6864
74164c56
JK
68652010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6866
6867 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6868 "Illegal process-id" expect string more exact.
6869 (attach to digits-starting nonsense is prohibited): New.
6870
701ed6dc
JK
68712010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 * gdb.base/prelink.exp (set verbose on): New.
6874
889bf7c5 68752010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6876
6877 * mi-reverse.exp: New file. Test for reverse option to the
6878 following MI commands: exec-continue, exec-finish, exec-next,
6879 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6880
dadf0e9c
JB
68812010-02-09 Joel Brobecker <brobecker@adacore.com>
6882
6883 * gdb.ada/ptype_tagged_param: New testcase.
6884
714f19d5
TT
68852010-02-08 Tom Tromey <tromey@redhat.com>
6886
6887 PR c++/8017:
6888 * gdb.cp/overload.exp: Add tests.
6889 * gdb.cp/overload.cc (struct K): New.
6890 (namespace N): New.
6891 (main): Call new functions.
6892 (K::staticoverload): Define.
6893
889bf7c5 68942010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6895
6896 PR gdb/10728
6897 * gdb.cp/pr10728-x.h: New file.
6898 * gdb.cp/pr10728-x.cc: New file.
6899 * gdb.cp/pr10728-y.cc: New file.
6900 * gdb.cp/pr10728.exp: New file.
6901 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6902
889bf7c5 69032010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6904
6905 PR gdb/9067
6906 * gdb.cp/pr9067.exp: New
6907 * gdb.cp/pr9067.cc: New
6908 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6909
7b356089
JB
69102010-02-08 Joel Brobecker <brobecker@adacore.com>
6911
6912 * lib/gdb.exp (gdb_test_timeout): New global variable.
6913 Set it to timeout if not already set.
6914 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6915
1be00882
DE
69162010-02-05 Doug Evans <dje@google.com>
6917
6918 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6919 user.
6920
82856980
SW
69212010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6922
6923 PR c++/7935:
6924 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6925
1a334831
TT
69262010-02-04 Tom Tromey <tromey@redhat.com>
6927
6928 * gdb.cp/virtbase.exp: Make test case names unique.
6929
9c3c02fd
TT
69302010-02-02 Tom Tromey <tromey@redhat.com>
6931
6932 * gdb.cp/virtbase.exp: Add regression tests.
6933 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6934 (main): Instantiate RHC.
6935
0cc2414c
TT
69362010-02-02 Tom Tromey <tromey@redhat.com>
6937
6938 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6939 type-printing change.
6940
edf3d5f3
TT
69412010-02-02 Tom Tromey <tromey@redhat.com>
6942
6943 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6944 * gdb.cp/virtbase.cc: New file.
6945 * gdb.cp/virtbase.exp: New file.
6946 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6947
e4b7f41c
JK
69482010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6949
6950 PR libc/11214:
6951 * gdb.threads/current-lwp-dead.c: Include features.h.
6952 (HAS_NOMMU): New.
6953 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6954
b381ea14
JK
69552010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6956
6957 * gdb.base/symbol-without-target_section.exp,
6958 gdb.base/symbol-without-target_section.c: New.
6959
c593ac0e
DJ
69602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6961
6962 * gdb.base/bigcore.exp: Reset increased timeout.
6963 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6964
db25f29d
DJ
69652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6966
6967 * gdb.base/gcore.exp (capture_command_output): Use
6968 gdb_test_multiple.
6969
f9d67f43
DJ
69702010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6971
6972 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6973 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6974 (Top level): Call it.
6975
177321bd
DJ
69762010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6977
6978 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6979
97f2ed50
DJ
69802010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6981
6982 * gdb.base/call-strs.exp, gdb.base/default.exp,
6983 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6984 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6985 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6986 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6987 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6988 * gdb.base/ending-run.exp: Correct restore of timeout.
6989 * gdb.base/page.exp: Remove unnecessary timeout setting.
6990
e4e2711a
JB
69912010-01-29 Joel Brobecker <brobecker@adacore.com>
6992
6993 * gdb.ada/rec_return: New testcase.
6994
ba581dc1
JB
69952010-01-29 Joel Brobecker <brobecker@adacore.com>
6996
6997 * gdb.ada/call_pn: New testcase.
6998
4ea95be9
DJ
69992010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7000
7001 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7002 (Top level): Use it to resume.
7003 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7004 the Thumb mode displaced stepping error as unsupported.
7005
df83a9bf
SW
70062010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7007
889bf7c5
PA
7008 * gdb.cp/nsusing.exp: Added more tests.
7009 * gdb.cp/nsrecurs.exp: Ditto.
7010 * gdb.cp/nsusing.cc: Added test functions.
7011 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7012
40b27cdc
JK
70132010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7014
7015 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7016 absolute directory pathnames in gdb.sum file.
7017
de958931
SW
70182010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7019
7020 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7021 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7022
708ead4e
TT
70232010-01-26 Tom Tromey <tromey@redhat.com>
7024
7025 PR exp/7643:
7026 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7027 setup_kfail.
7028
b14e635e
SW
70292010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7030
7031 * gdb.cp/nsrecurs.exp: New test.
7032 * gdb.cp/nsrecurs.cc: New test program.
7033 * gdb.cp/nsstress.exp: New test.
7034 * gdb.cp/nsstress.cc: New test program.
7035 * gdb.cp/nsdecl.exp: New test.
7036 * gdb.cp/nsdecl.cc: New test program.
7037
8540c487
SW
70382010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7039
7040 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7041 imported into file scope.
7042 Marked test as xfail.
7043 * gdb.cp/namespace-using.cc (marker5): New function.
7044 * gdb.cp/shadow.exp: New test.
7045 * gdb.cp/shadow.cc: New test program.
7046 * gdb.cp/nsimport.exp: New test.
7047 * gdb.cp/nsimport.cc: New test program.
7048
421d5d99
TT
70492010-01-25 Tom Tromey <tromey@redhat.com>
7050
7051 PR gdb/11049:
7052 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7053 with "set print null-stop on".
7054
691f8dc1
JK
70552010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7056
7057 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7058 Adjust it for DISASSEMBLY_OMIT_FNAME.
7059
0b92b5bb
TT
70602010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7061
7062 PR symtab/11199:
7063 * gdb.dwarf2/member-ptr-forwardref.exp,
7064 gdb.dwarf2/member-ptr-forwardref.S: New.
7065
23787403
JK
70662010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7067
7068 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7069 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7070 thread1_tid_mutex. Remove gdbstop_mutex handling.
7071 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7072 thread2_tid_mutex. Remove gdbstop_mutex handling.
7073 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7074 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7075 pthread_cond_wait conditionalizations by while loops.
7076
b966cb8a
TT
70772010-01-20 Tom Tromey <tromey@redhat.com>
7078
7079 PR backtrace/10770:
7080 * gdb.dwarf2/pr10770.exp: New file.
7081 * gdb.dwarf2/pr10770.c: New file.
7082 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7083
fcae584b
VP
70842010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7085
7086 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7087 that target was removed, and the test always runs native anyway.
7088
a0f49112
JK
70892010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7090
7091 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7092 gdb.base/watchpoint-cond-gone-stripped.c: New.
7093
ceeb3d5a
TT
70942010-01-19 Tom Tromey <tromey@redhat.com>
7095
7096 PR c++/8000:
7097 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7098 existing tests.
7099 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7100 (main): Use AAA::SomeEnum.
7101
dd322c54
JK
71022010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7103
7104 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7105 (test_ignore_count): Declare line_callme_body global.
7106 (run to breakpoint with ignore count): Use line_callme_body.
7107 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7108 (set line_main_hello, set line_main_return): Reindent.
7109 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7110 New.
7111 (continue to callee4): Use line_callee4_body.
7112 (check *stopped from CLI command): Use line_callee4_next.
7113 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7114 (set line_main_hello, set line_main_return): Reindent.
7115 (set line_callee4_head, set line_callee4_body): New.
7116 (continue to callee4): Use line_callee4_body.
7117
4e8f195d
TT
71182010-01-18 Tom Tromey <tromey@redhat.com>
7119
7120 PR c++/9680:
7121 * gdb.cp/casts.cc: Add new classes and variables.
7122 * gdb.cp/casts.exp: Test new operators.
7123
9e14a9ba
JB
71242010-01-18 Tom Tromey <tromey@redhat.com>
7125 Thiago Jung Bauermann <bauerman@br.ibm.com>
7126
7127 * gdb.python/source2.py: New file.
7128 * gdb.python/source1: New file.
7129 * gdb.python/python.exp: Test "source" command.
7130
00bf0b85
SS
71312010-01-15 Stan Shebs <stan@codesourcery.com>
7132
7133 * gdb.trace/tfile.c: New file.
7134 * gdb.trace/tfile.exp: New file.
889bf7c5 7135
55235ad7
JK
71362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7137
7138 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7139
9f2982ff
JK
71402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7141
7142 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7143
bbfba9ed
JK
71442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7145
7146 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7147 (libfunc): New parameter action. Implement also selectable "sleep".
7148 * gdb.base/break-interp-main.c: Include assert.h.
7149 (libfunc): New parameter action.
7150 (main): New parameters argc and argv. Assert argc. Pass argv.
7151 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7152 (test_attach): New proc.
7153 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7154 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7155
61f0d762
JK
71562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7157
7158 * gdb.base/break-interp.exp (test_core): New proc.
7159 (test_ld): Call it.
7160
06a6f270
JK
71612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7162
7163 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7164 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7165 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7166 and gdb_compile_shlib. Use new -Wl compiler options.
7167 (dl bt, main bt): New tests.
7168
51bee8e9
JK
71692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 Support PIEs with no symfile_objfile.
7172 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7173 (test_ld): New parameter trynosym.
7174 (test_ld <$trynosym>): New block.
7175
b8040f19
JK
71762010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 * gdb.base/break-interp.exp: New file.
7179
be759fcf
PM
71802010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7181
7182 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7183 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7184 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7185 test.
7186 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7187 * gdb.python/py-mi.exp: Add lazy string test.
7188
dc146f7c
VP
71892010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7190
7191 * lib/mi-support.exp (mi_check_thread_states): Handle
7192 core number in thread listing.
7193
b4ba55a1
JB
71942010-01-12 Joel Brobecker <brobecker@adacore.com>
7195
7196 * gdb.base/maint.exp: Adjust the expected output for the
7197 "maint print type" test. Use gdb_test_multiple instead of
7198 gdb_sent/gdb_expect.
7199
08e24bd4
DE
72002010-01-11 Doug Evans <dje@google.com>
7201
6496a609
DE
7202 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7203 from gdbserver_download. All callers updated.
7204
08e24bd4
DE
7205 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7206
b5cfddf5
JK
72072010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7208
7209 Implement binary numbers parsing.
7210 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7211 (test_integer_literals_rejected): New binary tests.
7212
3725885a
RW
72132010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7214
7215 * gdb.cell/configure: Regenerate.
7216
37aeb5df
JK
72172010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7218
7219 * gdb.base/corefile.exp: Move the core finding block out and call it as
7220 core_find, new variable $corefile, replace corefile by $corefile and
7221 [file tail $corefile] for usage vs. test names resp.
7222 * lib/gdb.exp (core_find): Move it as a new function here. New
7223 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7224 $destcore. Return "" on error.
7225
d521f563
JK
72262010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7227
7228 Workaround PR binutils/10802.
7229 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7230 (twice).
7231
28f24826
DJ
72322010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7233
7234 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7235
2de75e71
JB
72362010-01-08 Joel Brobecker <brobecker@adacore.com>
7237
7238 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7239 call, to avoid interruption.
7240
fe00719b 72412010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7242
7243 * gdb.stabs/weird.def (args93): New.
7244
d0ef5df8
DE
72452010-01-07 Doug Evans <dje@google.com>
7246
7247 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7248
3a08d52f
TT
72492010-01-07 Tom Tromey <tromey@redhat.com>
7250
7251 * gdb.base/source.exp: Use correct line number.
7252
7a697b8d
SS
72532010-01-05 Stan Shebs <stan@codesourcery.com>
7254
7255 * gdb.trace/tracecmd.exp: Test ftrace.
7256
7803799a
UW
72572010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7258
7259 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7260
c54eabfa
JK
72612010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7262
7263 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7264 "uint_for_mi_testing".
7265
02e7ef19
JB
72662010-01-01 Joel Brobecker <brobecker@adacore.com>
7267
7268 Test indented comment in file being sourced.
7269 * gdb.base/commands.exp: Test indented comment in file being sourced.
7270
abd775ce
JB
72712010-01-01 Joel Brobecker <brobecker@adacore.com>
7272
7273 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7274 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7275 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7276 notice.
7277
79b55b82
JB
72782010-01-01 Joel Brobecker <brobecker@adacore.com>
7279
7280 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7281 notice.
7282
8997583e
JK
72832010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7286 missing $after_stopped and comma (,) expectation.
7287
6da95a67
SS
72882009-12-31 Stan Shebs <stan@codesourcery.com>
7289
7290 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7291
218d2fc6
TJB
72922009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7293
7294 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7295 (top level): Call test_watchpoint_in_big_blob.
7296 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7297 watchpoints.
7298 (func3): Write to buf.
7299
236f1d4d
SS
73002009-12-29 Stan Shebs <stan@codesourcery.com>
7301
7302 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7303
f61e138d
SS
73042009-12-28 Stan Shebs <stan@codesourcery.com>
7305
7306 * gdb.trace/tsv.exp: New file.
7307 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7308
0219b378
DJ
73092009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7310
7311 * gdb.base/find.c (main): Reference search buffers.
7312 * gdb.base/included.c (main): Reference integer.
7313 * gdb.base/ptype.c (charfoo): Declare.
7314 (intfoo): Call charfoo.
7315 * gdb.base/scope0.c (useitp): New function.
7316 (usestatics): Use useitp.
7317 (useit): Add a type for val.
7318 * gdb.base/scope1.c (useit1): Take a pointer argument.
7319 (usestatics1): Update calls to useit1.
7320 * gdb.cp/call-c.cc: Declare foo.
7321 (main): Call foo.
7322 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7323 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7324 (main): Call C::ensureRefs and ensureOtherRefs.
7325 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7326 variables.
7327 (ensureOtherRefs): New function.
7328 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7329 * gdb.cp/templates.cc (main): Call t5i.value.
7330
3f78692f
JK
73312009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7332
7333 Fix compatibility with G++-4.5.
7334 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7335 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7336 (uncaught return): Remove.
7337
429374b8
JK
73382009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7339 Phil Muldoon <pmuldoon@redhat.com>
7340
7341 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7342 (bp_location13, bp_location14, bp_location17, bp_location18)
7343 (marker3_proto, marker4_proto): New variables.
7344 (breakpoint info): Update output.
7345 (run until breakpoint at marker3, run until breakpoint at marker4): New
7346 tests.
7347
859825b8
JK
73482009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7349
7350 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7351 Replace the printf call of Y by provided "y-set-1" label. New block
7352 for the second shared library.
7353 * gdb.base/unload.exp: Compile also the second library, call
7354 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7355 (single pending breakpoint info): Rename to ...
7356 (pending breakpoint info before run): ... this extended test.
7357 (libfile2, libname2, libsrcfile2, libsrc2)
7358 (lib_sl2): New variables.
7359 (exec_opts): Set also SHLIB_NAME2.
7360 (pending breakpoint info on first run at shrfunc1)
7361 (pending breakpoint info on second run at shrfunc1)
7362 (pending breakpoint info on second run at shrfunc2)
7363 (print y from libfile, print y from libfile2): New tests.
7364 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7365 * gdb.base/unloadshr2.c: New.
7366
e6a386cd
HZ
73672009-12-22 Hui Zhu <teawater@gmail.com>
7368
7369 * gdb.reverse/sigall-reverse.exp: Adjust.
7370
9e19b45e
VP
73712009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7372
7373 PR gdb/10884
7374
7375 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7376 (main): Call do_bitfield_tests.
aacf5b1e 7377 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7378
d53a7b30
JB
73792009-12-20 Joel Brobecker <brobecker@adacore.com>
7380
7381 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7382 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7383 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7384 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7385 gdb.modula2/unbounded1.c: Update copyright header.
7386
191ca0a1
CM
73872009-12-10 Chris Moller <moller@mollerware.com>
7388
7389 PR gdb/9399
7390 * gdb.cp/virtfunc2.exp: New tests
7391 * gdb.cp/virtfunc2.cc: New tests
7392 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7393
0fa6cf1b
MS
73942009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7395
7396 * gdb.reverse/i387-env-reverse.c: New file.
7397 * gdb.reverse/i387-env-reverse.exp: New file.
7398 * gdb.reverse/i387-stack-reverse.c: New file.
7399 * gdb.reverse/i387-stack-reverse.exp: New file.
7400
361ae042
PM
74012009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7402
7403 * gdb.python/py-type.exp (test_range): New test.
7404
bfd31e71
PM
74052009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7406
7407 PR python/10805
7408
7409 * gdb.python/py-type.exp: New file.
7410 * gdb.python/py-type.c: New file.
7411 * Makefile.in: Add py-type.
7412
57a1d736
TT
74132009-12-03 Tom Tromey <tromey@redhat.com>
7414
7415 * gdb.python/py-value.exp (test_parse_and_eval): New
7416 function.
7417
1f3b5d1b
PP
74182009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7419
7420 PR gdb/11022
7421
7422 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7423 * gdb.base/pr11022.c: New test.
7424
8b7dbdc9
JK
74252009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 Fix spurious false FAILs.
7428 * gdb.base/structs.c (chartest): New.
7429 (main): Fill-in chartest.
7430 * gdb.base/structs.exp (anychar_re, first): New.
7431 (start_structs_test): Import global anychar_re and first.
7432 New gdb_test call "set print elements 300; ${testfile}"
7433 (start_structs_test <$first>): New block.
7434 (any): Import global anychar_re. New variable ac. Use ${ac}.
7435
6a53b2ec
JK
74362009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7437
7438 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7439
d7167b4c
JK
74402009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7441
7442 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7443 Force $srcfile file.
7444 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7445
b1798462
UW
74462009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7447
7448 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7449 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7450 * gdb.threads/watchthreads-reorder.exp: Likewise.
7451
b6199126
DJ
74522009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7453
7454 PR gdb/8704
7455
7456 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7457 "if", and "thread". Correct matching in the previous test.
7458
b22a0510
DJ
74592009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7460
7461 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7462
930636d2
MS
74632009-11-23 Michael Snyder <msnyder@vmware.com>
7464
7465 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7466 * gdb.reverse-watch-precsave.exp: Ditto.
7467
21a0512e
PP
74682009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7469
7470 * gdb.asm/asm-source.exp: Adjust.
7471 * gdb.base/help.exp: Adjust.
889bf7c5 7472
fc30d5e0
PA
74732009-11-22 Pedro Alves <pedro@codesourcery.com>
7474
7475 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7476 (do_syscall_tests_without_xml): Set data-directory to
7477 /the/path/to/nowhere.
7478
f6bc2008
PA
74792009-11-21 Pedro Alves <pedro@codesourcery.com>
7480
7481 * gdb.threads/local-watch-wrong-thread.c,
7482 gdb.threads/local-watch-wrong-thread.exp: New files.
7483
8c2fb5de
PA
74842009-11-21 Pedro Alves <pedro@codesourcery.com>
7485
7486 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7487 assume new `regsub' syntax available.
7488
ebec9a0f
PA
74892009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7490
a79d3c27
JK
7491 * gdb.base/watchpoint-hw-hit-once.exp,
7492 gdb.base/watchpoint-hw-hit-once.c: New.
7493
74942009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7495
7496 * gdb.threads/watchthreads-reorder.exp,
7497 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7498
276a961b
MK
74992009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7500
7501 * gdb.xml/tdesc-regs.exp: Use for m68k.
7502
4867c1fb
PA
75032009-11-15 Pedro Alves <pedro@codesourcery.com>
7504
7505 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7506
f6838f81
DJ
75072009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7508
7509 * lib/gdb.exp (current_target_name): New procedure.
7510 (gdb_wrapper_target): New variable.
7511 (gdb_wrapper_init): Set gdb_wrapper_target.
7512 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7513 wrapper.
7514
4ac4dd3f
DJ
75152009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7516
7517 * gdb.base/remote.exp: Delete the slowest load test.
7518 Do not load with fixed packet sizes.
7519
a7881759
DJ
75202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7521
7522 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7523
97a5b505
DJ
75242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7525
7526 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7527 srcfile when setting a breakpoint.
7528
d3e1fc54
DJ
75292009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7530
7531 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7532 macros.
7533
7cbcbded
DJ
75342009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7535
7536 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7537 to be in memory.
7538 * gdb.base/display.c (force_mem): New.
7539 (do_loops): Use it. Add breakpoint comments.
7540 (do_vars): Add a breakpoint comment.
7541 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7542 line numbers.
7543
bdea3a92
NF
75442009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7545
7546 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7547 instead of a bare "run".
7548
269f82e5
PP
75492009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7550
7551 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7552
a69b7d9d
DJ
75532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7554
7555 * lib/cell.exp (skip_cell_tests): Clean up test files before
7556 returning.
7557
b598bfda
DJ
75582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7559
7560 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7561 and the breakpoint menu. Do not call perror if a prompt is seen.
7562 Consume the following GDB prompt.
7563 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7564 * gdb.cp/namespace.exp: Use gdb_test.
7565 * gdb.cp/templates.exp: Use gdb_test.
7566 (test_template_breakpoints): Use gdb_test_multiple.
7567
87728fa0
DJ
75682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7569
7570 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7571 (marker4): Reference values.
7572
b67c692f
DJ
75732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7574
7575 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7576 is missing.
7577
f0df251a
DJ
75782009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7579
7580 * gdb.base/break.c (need_malloc): New.
7581 * gdb.base/constvars.c (main): Reference crass and crisp.
7582 * gdb.base/gdb1821.c (main): Reference bar.
7583 * gdb.cp/gdb1355.cc (main): Reference s1.
7584 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7585 (main): Call them.
7586 * gdb.cp/hang2.cc (dummy2): Define.
7587 * gdb.cp/hang3.cc (dummy3): Define.
7588 * gdb.cp/m-data.cc (main): Reference shadow.
7589
bdf7534a
NF
75902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7591 Nathan Froyd <froydnj@codesourcery.com>
7592
7593 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7594 remote host.
7595
f24fce77
NF
75962009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7597
7598 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7599 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7600 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7601 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7602 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7603 * gdb.dwarf2/dw2-producer.exp: Likewise.
7604 * gdb.dwarf2/mac-fileno.exp: Likewise.
7605 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7606 py-prettyprint.py to the remote host.
7607 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7608
40f0318e
KS
76092009-11-11 Keith Seitz <keiths@redhat.com>
7610
7611 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7612 use it instead of "Foo".
7613 * gdb.cp/classes.exp (do_tests): Add a test to access
7614 a method through a typedef'd class name.
7615
f3d9f7fb
NF
76162009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7617
7618 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7619 exponents.
7620 * gdb.base/pointers.exp: Likewise.
7621 * gdb.cp/ref-types.exp: Likewise.
7622
a4216f37
KS
76232009-11-11 Keith Seitz <keiths@redhat.com>
7624
7625 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7626 new[] and delete[].
7627 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7628 "void".
7629 (probe_demangler): Remove all single-quoting of
7630 method and variable names.
7631 (info_func_regexp): Remove the word "void" from any
7632 occurrence of "(void)".
7633 (print_addr_2): Remove all single-quoting of
7634 method names.
7635 (print_addr_2_kfail): Likewise.
7636 (print_addr): Single-quote C function names before
7637 passing to print_addr_2.
7638 (test_paddr_operator_functions): Remove single-quoting
7639 for method names.
7640 Add tests for operator new[] and operator delete[].
7641
9b14d7aa
JK
76422009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7643
7644 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7645
85feb311
KS
76462009-11-09 Keith Seitz <keiths@redhat.com>
7647
7648 * gdb.cp/overload.exp: Add tests for resolving overloaded
7649 methods in expression parsing/evaluation.
7650
fa335448
DJ
76512009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7652
7653 * lib/gdb.exp (default_gdb_version): Use --version instead of
7654 --command.
7655
ec3c07fc
NS
76562009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7657
7658 * lib/gdb.exp (gdb_compile_test): New.
7659 (skip_ada_tests, skip_java_tests): New.
7660 (gdb_compile): Use gdb_compile_test for f77.
7661 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7662 * lib/java.exp (compile_java_from_source): Remove runtests check,
7663 use gdb_compile_test to record result.
7664 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7665 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7666 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7667 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7668 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7669 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7670 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7671 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7672 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7673 adjust gdb_compile invocations.
7674
b8b4e42b
JK
76752009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 * Makefile.in (abs_builddir): New.
7678 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7679 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7680 `$(abs_builddir)/site.exp'.
7681
f8b7eaf3
DJ
76822009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7683
7684 * config/m68k-emc.exp, lib/emc-support.exp,
7685 gdb.trace/gdb_c_test.c: Delete.
7686 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7687 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7688 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7689 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7690 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7691 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7692 casing for m68k-*-elf.
7693
c4187697
NS
76942009-11-03 Pedro Alves <pedro@codesourcery.com>
7695
7696 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7697 * gdb.arch/i386-prologue.exp: Likewise.
7698 * gdb.arch/i386-unwind.exp: Likewise.
7699
db16b772
DJ
77002009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7701
7702 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7703
bcf71277
DJ
77042009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7705
7706 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7707
0105cee2
DJ
77082009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7709
7710 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7711
24ddea62
JK
77122009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7715
287ccc17
JK
77162009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7717
7718 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7719 * gdb.base/sepdebug2.c: New file.
7720
08bca259 77212009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7722
7723 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7724 the modified warnings for catch syscall. Verify if GDB was compiled
7725 with support for lib expat, and choose which tests to run depending
7726 on this.
7727
5d4e2b76
VP
77282009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7729
7730 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7731 that composite commands are parsed OK. And also test
7732 that breakpoint commands do work.
7733
240e538a
MS
77342009-10-23 Michael Snyder <msnyder@vmware.com>
7735
7736 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7737 to allow for new disassembly style.
7738
9c419145
PP
77392009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7740
7741 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7742
02506ff1
MS
77432009-10-22 Michael Snyder <msnyder@vmware.com>
7744
7745 * gdb.reverse/break-precsave.exp: New test.
7746 * gdb.reverse/consecutive-precsave.exp: Ditto.
7747 * gdb.reverse/finish-precsave.exp: Ditto.
7748 * gdb.reverse/i386-precsave.exp: Ditto.
7749 * gdb.reverse/machinestate-precsave.exp: Ditto.
7750 * gdb.reverse/sigall-precsave.exp: Ditto.
7751 * gdb.reverse/solilb-precsave.exp: Ditto.
7752 * gdb.reverse/step-precsave.exp: Ditto.
7753 * gdb.reverse/until-precsave.exp: Ditto.
7754 * gdb.reverse/watch-precsave.exp: Ditto.
7755
4cf866a3
MS
77562009-10-22 Michael Snyder <msnyder@vmware.com>
7757
7758 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7759 for gdb_expect. Adjust one test's expect strings for the new
7760 format of disassemble.
7761 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7762 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7763 gdb_test_multiple.
7764 * gdb.reverse/step-reverse.exp: Delete 'return'.
7765 * gdb.reverse/until-reverse.exp: Delete blank lines.
7766 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7767
2b28d209
PP
77682009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7769
7770 * gdb.base/consecutive.exp: Adjust.
7771 * gdb.base/display.exp: Likewise.
7772 * gdb.base/pc-fp.exp: Likewise.
7773 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7774
33b9c32b
MS
77752009-10-19 Michael Snyder <msnyder@vmware.com>
7776
7777 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7778 * gdb.reverse/finish-reverse.c: Ditto.
7779 * gdb.reverse/sigall-reverse.c: Ditto.
7780 * gdb.reverse/solib-reverse.c: Ditto.
7781 * gdb.reverse/step-reverse.c: Ditto.
7782 * gdb.reverse/watch-reverse.c: Ditto.
7783
6c95b8df
PA
77842009-10-19 Pedro Alves <pedro@codesourcery.com>
7785 Stan Shebs <stan@codesourcery.com>
7786
7787 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7788 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7789 "Executing new program".
7790 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7791 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7792 left listed after having been killed.
7793 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7794 * gdb.base/maint.exp: Adjust test.
7795
7796 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7797 * gdb.multi/Makefile.in: New.
7798 * gdb.multi/base.exp: New.
7799 * gdb.multi/goodbye.c: New.
7800 * gdb.multi/hangout.c: New.
7801 * gdb.multi/hello.c: New.
7802 * gdb.multi/bkpt-multi-exec.c: New.
7803 * gdb.multi/bkpt-multi-exec.exp: New.
7804 * gdb.multi/crashme.c: New.
7805
279017b7
TG
78062009-10-13 Tristan Gingold <gingold@adacore.com>
7807
7808 * gdb.base/sepdebug.exp: Check debug info are found.
7809
0413d738
PA
78102009-10-08 Pedro Alves <pedro@codesourcery.com>
7811
7812 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7813 bits.
7814
c628eecc
JK
78152009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7816
7817 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7818
38af1bfe
JB
78192009-10-07 Joel Brobecker <brobecker@adacore.com>
7820
7821 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7822 of the comments.
7823
2b0adecd
PM
78242009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7825
7826 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7827 * gdb.base/annota3.exp: Idem.
7828 * gdb.base/maint.exp: Idem.
7829
8d417781
PM
78302009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7831
889bf7c5 7832 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7833 to default.
7834
bb61102d
PM
78352009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7836
889bf7c5 7837 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7838 mingw and cygwin targets.
7839
ace5c364
PM
78402009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7841 Pedro Alves <pedro@codesourcery.com>
7842
889bf7c5 7843 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7844 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7845
c2d494a0
PM
78462009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7847
e1b52ce2
PM
7848 * gdb.base/shr1.c: Use %p in format string.
7849 * gdb.base/unload.c: Avoid warning in fprintf.
7850 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7851
209f53f5
PM
78522009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7853
7854 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7855 long type.
7856 (test_unlink): Correct printf string.
7857 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7858 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7859
8172766a
JK
78602009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7861
7862 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7863 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7864 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7865
0f73703c
UW
78662009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7867
7868 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7869 * gdb.objc/nondebug.exp: Likewise.
7870
b32306ca
UW
78712009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7872
7873 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7874 target_info setting.
7875
7876 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7877 that detect new threads during "info threads".
7878
0057022f
UW
78792009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7880
7881 * gdb.threads/manythreads.c (main): Increase thread stack size
7882 to 2*PTHREAD_STACK_MIN.
7883 * gdb.threads/multi-create.c (main): Likewise.
7884 (create_function): Likewise.
7885
f29c0325
UW
78862009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7887
7888 * gdb.base/dump.exp: Pass difference of pointer types instead
7889 of integer types as offset to restore in intarr3.srec case.
7890
fcb34849
UW
78912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7892
7893 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7894
d5142e3b
UW
78952009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7896
7897 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7898
087b74b2 78992009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7900
087b74b2
PM
7901 New test for two watchpoints, with disabling of
7902 the first inserted.
7903 * testsuite/gdb.base/watchpoints.c: New file.
7904 * testsuite/gdb.base/watchpoints.exp: New file.
7905
96c07c5b
TT
79062009-09-25 Tom Tromey <tromey@redhat.com>
7907
7908 * gdb.base/charset.exp: Test utf-16 strings with Python.
7909
b8899f2b
TT
79102009-09-25 Tom Tromey <tromey@redhat.com>
7911
7912 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7913 UCS-4.
7914 * gdb.base/charset.c (utf_32_string): Rename.
7915 (init_utf32): Rename.
7916 (main): Update.
7917
329719ec
TT
79182009-09-22 Tom Tromey <tromey@redhat.com>
7919
7920 * gdb.python/py-function.exp: Add regression tests.
7921
11ef0d76
KS
79222009-09-21 Keith Seitz <keiths@redhat.com>
7923
7924 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7925 with invalid operator.
7926
3fe8f3b3
KS
79272009-09-21 Keith Seitz <keiths@redhat.com>
7928
7929 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7930 and destructor using typedef name of class.
7931 * gdb.cp/classes.cc (class Base1): Add a destructor.
7932 (base1): New typedef.
7933 (use_methods): Instanitate an object of type base1.
7934 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7935 (do_tests): Call test_template_typedef.
7936 * gdb.cp/templates.cc (Baz::~Baz): New method.
7937 (intBazOne): New typedef.
7938 (main): Instantiate intBazOne.
7939
7a9fe101
PM
79402009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7941
7942 PR python/10633
7943
7944 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7945 Function.
7946 (run_lang_tests): Add print elements test.
7947
2e4d963f
PM
79482009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7949
7950 * gdb.python/py-value.exp (test_subscript_regression): New
7951 function. Test for invalid subscripts.
7952 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7953 (ptr_ref): New function.
7954
ec7e75e7
PP
79552009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7956
7957 * gdb.base/default.exp: Fix "show convenience".
7958
0cc7d26f
TT
79592009-09-15 Tom Tromey <tromey@redhat.com>
7960
7961 * lib/mi-support.exp (mi_create_varobj): Update.
7962 (mi_create_floating_varobj): Likewise.
7963 (mi_create_dynamic_varobj): New proc.
7964 (mi_varobj_update): Update.
7965 (mi_varobj_update_with_type_change): Likewise.
7966 (mi_varobj_update_kv_helper): New proc.
7967 (mi_varobj_update_dynamic_helper): Rewrite.
7968 (mi_varobj_update_dynamic): New proc.
7969 (mi_list_varobj_children): Update.
7970 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7971 * gdb.python/python-prettyprint.py (pp_outer): New class.
7972 (pp_nullstr): Likewise.
7973 (lookup_function): Register new printers.
7974 * gdb.python/python-prettyprint.c (struct substruct): New type.
7975 (struct outerstruct): Likewise.
7976 (substruct_test): New function.
7977 (struct nullstr): New type.
7978 (string_1, string_2): New globals.
7979 (main): Add new tests.
7980 * gdb.python/python-mi.exp: Added regression tests.
7981 * gdb.mi/mi2-var-display.exp: Update.
7982 * gdb.mi/mi2-var-cmd.exp: Update.
7983 * gdb.mi/mi2-var-child.exp: Update.
7984 * gdb.mi/mi2-var-block.exp: Update.
7985 * gdb.mi/mi-var-invalidate.exp: Update.
7986 * gdb.mi/mi-var-display.exp: Update.
7987 * gdb.mi/mi-var-cmd.exp: Update.
7988 * gdb.mi/mi-var-child.exp: Update.
7989 * gdb.mi/mi-var-block.exp: Update.
7990 * gdb.mi/mi-break.exp: Update.
7991 * gdb.mi/gdb701.exp: Update.
7992
a96d9b2e
SDJ
79932009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7994
7995 * Makefile.in: Inclusion of catch-syscall object.
7996 * gdb.base/catch-syscall.c: New file.
7997 * gdb.base/catch-syscall.exp: New file.
7998
b43b923a
MS
79992009-09-12 Michael Snyder <msnyder@vmware.com>
8000
8001 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8002 that can support reverse debuggnig.
8003
cec03d70
TT
80042009-09-11 Tom Tromey <tromey@redhat.com>
8005
8006 * gdb.dwarf2/valop.S: New file.
8007 * gdb.dwarf2/valop.exp: New file.
8008
e23bb3fc
MK
80092009-09-11 Mark Kettenis <kettenis@gnu.org>
8010
8011 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8012
37c3696d
DE
80132009-09-10 Doug Evans <dje@google.com>
8014
8015 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8016 Add $gdb_prompt to second breakpoint regexp.
8017
5172aecb
JB
80182009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8019
8020 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8021 names, add missing ones.
8022 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8023 * gdb.python/py-frame.c: Rename from python-frame.c.
8024 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8025 testfile name.
8026 * gdb.python/py-function.exp: Rename from python-function.exp.
8027 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8028 testfile name.
8029 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8030 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8031 Adjust testfile name.
8032 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8033 * gdb.python/py-template.cc: Rename from python-template.cc.
8034 * gdb.python/py-template.exp: Rename from python-template.exp.
8035 Adjust testfile name.
8036 * gdb.python/py-value.c: Rename from python-value.c.
8037 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8038 testfile name.
8039
b554e4bd
JK
80402009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8041
8042 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8043 $bpt2address.
8044 (Second breakpoint address is valid on ia64)
8045 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8046
9a68ae16
JM
80472009-09-03 Joseph Myers <joseph@codesourcery.com>
8048
8049 * gdb.base/ending-run.exp: Restrict regular expression matching
8050 line number to require closing brace following.
8051
146b9145
DE
80522009-09-03 Doug Evans <dje@google.com>
8053
8054 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8055
787d21e1
TT
80562009-09-02 Tom Tromey <tromey@redhat.com>
8057
8058 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8059
e7802207
TT
80602009-09-02 Tom Tromey <tromey@redhat.com>
8061
8062 * gdb.dwarf2/callframecfa.exp: New file.
8063 * gdb.dwarf2/callframecfa.S: New file.
8064
817aadd2
JK
80652009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8066
8067 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8068 gdb.base/solib-overlap-main.c: New.
8069
4a76eae5
DJ
80702009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8071
8072 PR gdb/10565
8073
8074 * gdb.base/bitfields.c (struct container, container): New.
8075 (main): Initialize it and call break5.
8076 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8077
d4b96c9a
JK
80782009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8079
8080 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8081 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8082
4e22772d
JK
80832009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8084
8085 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8086
2efab443
MS
80872009-08-26 Michael Snyder <msnyder@vmware.com>
8088
8089 * gdb.base/i386-reverse.c: New file.
8090 * gdb.base/i386-reverse.exp: New file.
8091 * gdb.base/Makefile.in: Add new files to be removed.
8092
07ab73a0
JM
80932009-08-26 Joseph Myers <joseph@codesourcery.com>
8094
8095 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8096 environment-pwd for remote host.
8097 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8098
676accff
KS
80992009-08-24 Keith Seitz <keiths@redhat.com>
8100
8101 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8102 Add two new C++ completer tests which limit the output to a
889bf7c5 8103 given class.
676accff 8104
f9f7ad22
MS
81052009-08-24 Michael Snyder <msnyder@vmware.com>
8106
8107 * gdb.base/del.exp: Fix typo in comment.
8108 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8109
81ecdfbb
RW
81102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8111
8112 * configure: Regenerate.
8113 * gdb.hp/configure: Likewise.
8114 * gdb.hp/gdb.aCC/configure: Likewise.
8115 * gdb.hp/gdb.base-hp/configure: Likewise.
8116 * gdb.hp/gdb.compat/configure: Likewise.
8117 * gdb.hp/gdb.defects/configure: Likewise.
8118 * gdb.hp/gdb.objdbg/configure: Likewise.
8119 * gdb.stabs/configure: Likewise.
8120
cab0c772
UW
81212009-08-19 Doug Evans <dje@google.com>
8122
8123 * gdb.base/gdbvars.c: New file.
8124 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8125
b8fa0bfa
PA
81262009-08-14 Pedro Alves <pedro@codesourcery.com>
8127
8128 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8129 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8130
b84aa90a
PA
81312009-08-13 Pedro Alves <pedro@codesourcery.com>
8132
8133 * gdb.base/default.exp: Adjust "set language test": it's now an
8134 enum command. Larger help string moved to "help set language".
8135 * gdb.base/help.exp: Adjust "help set language" expected output,
8136 now lists all known languages.
8137
0d8f9b2c
NF
81382009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8139
8140 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8141 all frame arguments.
8142 * gdb.arch/altivec-regs.exp: Likewise.
8143
bda180e0
TT
81442009-08-07 Tom Tromey <tromey@redhat.com>
8145
8146 * gdb.base/setshow.exp: Add tests for changes to set language, set
8147 check range, and set check type.
8148
48cb2d85
VP
81492009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8150
8151 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8152 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8153 Call it.
48cb2d85 8154
1ea34204
UW
81552009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8156
8157 * configure.ac: Run gdb.cell tests when appropriate.
8158 * configure: Regenerate.
8159 * lib/cell.exp: New file.
8160 * gdb.cell: New directory.
8161 * gdb.cell/configure.ac: New file.
8162 * gdb.cell/configure: New file.
8163 * gdb.cell/Makefile.in: New file.
8164 * gdb.cell/arch.exp: New file.
8165 * gdb.cell/break.c: New file.
8166 * gdb.cell/break.exp: New file.
8167 * gdb.cell/break-spu.c: New file.
8168 * gdb.cell/bt.c: New file.
8169 * gdb.cell/bt2-spu.c: New file.
8170 * gdb.cell/bt-spu.c: New file.
8171 * gdb.cell/bt.exp: New file.
8172 * gdb.cell/coremaker.c: New file.
8173 * gdb.cell/coremaker-spu.c: New file.
8174 * gdb.cell/core.exp: New file.
8175 * gdb.cell/gcore.exp: New file.
8176 * gdb.cell/data.c: New file.
8177 * gdb.cell/data.exp: New file.
8178 * gdb.cell/data-spu.c: New file.
8179 * gdb.cell/ea-cache.exp: New file.
8180 * gdb.cell/ea-cache.c: New file.
8181 * gdb.cell/ea-cache-spu.c: New file.
8182 * gdb.cell/ea-standalone.c: New file.
8183 * gdb.cell/ea-standalone.exp: New file.
8184 * gdb.cell/ea-test.c: New file.
8185 * gdb.cell/ea-test.exp: New file.
8186 * gdb.cell/f-regs.exp: New file.
8187 * gdb.cell/mem-access.c: New file.
8188 * gdb.cell/mem-access.exp: New file.
8189 * gdb.cell/mem-access-spu.c: New file.
8190 * gdb.cell/ptype.exp: New file.
8191 * gdb.cell/registers.exp: New file.
8192 * gdb.cell/size.c: New file.
8193 * gdb.cell/sizeof.exp: New file.
8194 * gdb.cell/size-spu.c: New file.
8195 * gdb.cell/solib.exp: New file.
8196 * gdb.cell/solib-symbol.exp: New file.
8197
85e747d2
UW
81982009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8199
8200 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8201
58d6951d
DJ
82022009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8203
8204 * gdb.base/float.exp: Handle VFP registers.
8205
6e0a4f15
MS
82062009-07-14 Michael Snyder <msnyder@vmware.com>
8207
dcd5da87
MS
8208 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8209 to bring gdb to the beginning of the calling line.
8210
6e0a4f15
MS
8211 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8212 confusing the i386 epilogue unwinder.
8213
782b2b07
SS
82142009-07-14 Stan Shebs <stan@codesourcery.com>
8215
8216 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8217
f662c3bc
MS
82182009-07-14 Michael Snyder <msnyder@vmware.com>
8219
8220 * gdb.reverse/step-reverse.exp (stepi into function call):
8221 Call instruction may not be first instruction in the line.
8222 (reverse stepi from a function call): Used wrong line number.
8223
8f313923
JK
82242009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8225
8226 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8227
4662c76e
JK
82282009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8229
8230 Fix gdb.base/macscp.exp when using custom inputrc.
8231 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8232 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8233 env(TERM) set.
8234 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8235 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8236
aa81e255
JK
82372009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8240 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8241 Change the compilation target to match the testcase name.
8242 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8243 testcase name.
8244 * a2-run.exp: Use for setup prepare_for_testing. Change the
8245 compilation target to match the testcase name.
8246 * gdb.base/commands.exp: Likewise.
8247 * gdb.base/finish.exp: Likewise.
8248 * gdb.base/float.exp: Likewise.
8249 * gdb.base/info-target.exp: Likewise.
8250 * gdb.base/relational.exp: Likewise.
8251 * gdb.base/term.exp: Likewise.
8252 * gdb.base/until.exp: Likewise.
8253 * gdb.base/volatile.exp: Likewise.
8254 * gdb.base/whatis-exp.exp: Likewise.
8255
4c93b1d7
HZ
82562009-07-11 Hui Zhu <teawater@gmail.com>
8257
8258 * gdb.base/help.exp (disassemble): Update expected help text.
8259
812f7342
TT
82602009-07-09 Tom Tromey <tromey@redhat.com>
8261
8262 * lib/gdb.exp: Handle TRANSCRIPT.
8263 (remote_spawn, remote_close, send_gdb): New procs.
8264
fbb8f299
PM
82652009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8266
8267 * gdb.python/python-prettyprint.c: Add counted null string
8268 structure.
8269 * gdb.python/python-prettyprint.exp: Print null string. Test for
8270 embedded nulls.
8271 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8272 * gdb.python/python-value.exp (test_value_in_inferior): Add
8273 variable length string fetch tests.
8274 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8275
c0ac0ec7
JK
82762009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8277
8278 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8279
30b66ecc
TT
82802009-07-07 Tom Tromey <tromey@redhat.com>
8281
8282 * gdb.base/call-rt-st.exp: Update for change to escape output.
8283 * gdb.base/callfuncs.exp: Likewise.
8284 * gdb.base/charset.exp: Likewise.
8285 * gdb.base/constvars.exp: Likewise.
8286 * gdb.base/long_long.exp: Likewise.
8287 * gdb.base/pointers.exp: Likewise.
8288 * gdb.base/printcmds.exp: Likewise.
8289 * gdb.base/setvar.exp: Likewise.
8290 * gdb.base/store.exp: Likewise.
8291 * gdb.cp/ref-types.exp: Likewise.
8292 * gdb.mi/mi-var-child.exp: Likewise.
8293 * gdb.mi/mi-var-display.exp: Likewise.
8294 * gdb.mi/mi2-var-display.exp: Likewise.
8295 * gdb.base/charset.exp: Test octal escape sequence length.
8296 Update for change to escape output.
8297
187c4a2b
JK
82982009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8299
8300 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8301
d80a43f9
DJ
83022009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8303
8304 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8305
047427a8
JK
83062009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8309 gdbserver increasing $portnum if "Can't bind address" has been seen.
8310
8b5a0f4f
PA
83112009-07-05 Pedro Alves <pedro@codesourcery.com>
8312
8313 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8314 mingw32ce.
8315
7d93ba58
PA
83162009-07-05 Pedro Alves <pedro@codesourcery.com>
8317
8318 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8319 VFP format.
8320
2277426b
PA
83212009-07-02 Pedro Alves <pedro@codesourcery.com>
8322
8323 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8324 linux. Adjust to use "inferior", "info inferiors", "detach
8325 inferior" and "kill inferior" instead of "restart", "info fork",
8326 "detach fork" and "delete fork".
8327 * gdb.base/ending-run.exp: Spell out "info".
8328 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8329 the "kill" command.
8330
5af949e3
UW
83312009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8332
8333 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8334 change to prefix TLS offset in hex with 0x.
8335
5d3729b5
UW
83362009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8337
8338 * gdb.base/default.exp: Update test case for "x" changes.
8339
af589bd0
TG
83402009-07-01 Tristan Gingold <gingold@adacore.com>
8341
8342 * gdb.base/bigcore.exp: Make darwin untested.
8343
40974f91
JK
83442009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 * gdb.base/completion.exp (directory completion): Create the directory.
8347 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8348 escapeuniquesub.
8349 (directory completion 2): Expect now ${escapeuniquesub}.
8350 (Glob remaining of directory test): Remove one excessive newline.
8351 Expect the real output.
8352
59dd3af6
JK
83532009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8354
8355 Fix `make check//%' target after `make check' has been ran.
8356 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8357 a mkdir call.
8358 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8359 (%/.dir): Remove.
8360
f4e164aa
JK
83612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8364 the expected result record.
8365
69af2122
JK
83662009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 Remove racy FAILs relying just on the timeouts.
8369 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8370 (annotation_level 2): Remove racy FAILs.
8371
2fd481e1
PP
83722009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8373
8374 gdb/10275
889bf7c5
PA
8375 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8376
c38f313d
DJ
83772009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8378
8379 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8380
8b777f02
VP
83812009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8382
8383 * gdb.mi/mi-stack.exp: Testing symbolic options
8384 to -stack-list-locals and -stack-list-arguments.
8385
00c7eacf
JK
83862009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8389
6bc80edc
TT
83902009-06-29 Tom Tromey <tromey@redhat.com>
8391
8392 * dg-extract-results.sh: New file.
8393 * Makefile.in (FORCE_PARALLEL): New variable.
8394 (CHECK_TARGET): New conditional variable.
8395 (check): Use CHECK_TARGET.
8396 (DO_RUNTEST): New variable.
8397 (check-single): New target.
8398 (TEST_DIRS): New variable.
8399 (TEST_TARGETS): Likewise.
8400 (check-parallel): New target.
8401 (check-gdb.%): New pattern.
8402 (BASE1_FILES): New variable.
8403 (BASE2_FILES): Likewise.
8404 (check-gdb.base%): New pattern.
8405 (%/.dir): New pattern.
8406 * configure: Rebuild.
8407 * aclocal.m4 (AM_CONDITIONAL): New defun.
8408 * configure.ac: Check whether user is using GNU make.
8409 (GMAKE): New conditional.
8410
794684b6
SW
84112009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8412
8413 * gdb.cp/namespace-nested-import.cc: New test.
8414 * gdb.cp/namespace-nested-import.exp: New test.
8415
edb3359d
DJ
84162009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8417
8418 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8419 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8420 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8421 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8422 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8423 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8424 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8425 gdb.opt/inline-markers.c: New files.
8426 * lib/gdb.exp (skip_inline_frame_tests): New function.
8427 (skip_inline_var_tests): New function.
8428
cf657a0c
AS
84292009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8430
8431 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8432 backtrace.
8433
28d41a99
MS
84342009-06-27 Michael Snyder <msnyder@vmware.com>
8435
8436 * gdb.reverse: New directory.
8437 * gdb.reverse/break-reverse.c: New test.
8438 * gdb.reverse/break-reverse.exp: New test.
8439 * gdb.reverse/consecutive-reverse.c: New test.
8440 * gdb.reverse/consecutive-reverse.exp: New test.
8441 * gdb.reverse/finish-reverse.c: New test.
8442 * gdb.reverse/finish-reverse.exp: New test.
8443 * gdb.reverse/machinestate.c: New test.
8444 * gdb.reverse/ms1.c: New test.
8445 * gdb.reverse/machinestate.exp: New test.
8446 * gdb.reverse/Makefile.in: New file.
8447 * gdb.reverse/shr2.c: New test.
8448 * gdb.reverse/solib-reverse.c: New test.
8449 * gdb.reverse/solib-reverse.exp: New test.
8450 * gdb.reverse/step-reverse.c: New test.
8451 * gdb.reverse/step-reverse.exp: New test.
8452 * gdb.reverse/until-reverse.c: New test.
8453 * gdb.reverse/ur1.c: New test.
8454 * gdb.reverse/until-reverse.exp: New test.
8455 * gdb.reverse/watch-reverse.c: New test.
8456 * gdb.reverse/watch-reverse.exp: New test.
8457 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8458 * configure: Regenerate.
8459
fe3c8b0d
DE
84602009-06-26 Doug Evans <dje@google.com>
8461
8462 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8463
3a72a602
PM
84642009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8465
8466 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8467 windows problem for 'file delete $binfile'.
8468
27aa8d6a
SW
84692009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8470
8471 * gdb.cp/namespace-using.exp: New test.
8472 * gdb.cp/namespace-using.cc: New test.
8473
8ac055f8
JB
84742009-05-20 Joel Brobecker <brobecker@adacore.com>
8475
8476 * gdb.ada/variant_record_packed_array: New testcase.
8477
85e306ed
TT
84782009-06-23 Tom Tromey <tromey@redhat.com>
8479
8480 * gdb.base/charset.exp (test_combination): Regression test.
8481 * gdb.base/charset.c (my_wchar_t): New typedef.
8482 (myvar): New global.
8483 (main): Set myvar.
8484
56643c5e
PM
84852009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8486
8487 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8488 target.
8489
1fac167a
UW
84902009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8491
8492 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8493
7ccb0be9
UW
84942009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8495
8496 * gdb.mi/gdb680.exp: Update test for error message.
8497
568d6575
UW
84982009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8499
8500 * gdb.base/annota1.exp: Allow multiple occurrences of the
8501 frames-invalid annotation.
8502 * gdb.cp/annota2.exp: Likewise.
8503
7cd1089b
PM
85042009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8505
8506 * gdb.cp/gdb2495.cc: New file.
8507 * gdb.cp/gdb2495.exp: New file.
8508
72c63395
JK
85092009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8510
8511 Report error on GDB crash during runto.
8512 * lib/gdb.exp (runto <eof>): New.
8513
3788363d
DJ
85142009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8515
8516 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8517 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8518 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8519 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8520 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8521 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8522 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8523 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8524 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8525 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8526 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8527 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8528 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8529 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8530 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8531 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8532 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8533 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8534 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8535 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8536 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8537 gdb.trace/passcount.exp, gdb.trace/report.exp,
8538 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8539 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8540 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8541 executable.
8542
17592de3
PA
85432009-06-07 Pedro Alves <pedro@codesourcery.com>
8544
8545 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8546 defined before referencing it.
8547
701e355d
DE
85482009-06-03 Doug Evans <dje@google.com>
8549
8550 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8551 * gdb.arch/i386-see.c: Ditto.
8552
f2292c65
PM
85532009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8554
8555 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8556 (check_macro): Return 1 if undefined.
8557 If first test fails, check if macro debug information is available,
8558 and report unsupported test if no macro information is found.
8559
5a437975
DE
85602009-05-29 Doug Evans <dje@google.com>
8561
8562 * gdb.threads/hand-call-in-threads.exp: New.
8563 * gdb.threads/hand-call-in-threads.c: New.
8564
c141c696
MS
85652009-05-29 Michael Snyder <msnyder@vmware.com>
8566
8567 * gdb.base/break-always.exp: Change "1" to "on".
8568 Add confirmation check.
8569
b3444185
PA
85702009-05-28 Pedro Alves <pedro@codesourcery.com>
8571
8572 * gdb.threads/threxit-hop-specific.c: New.
8573 * gdb.threads/threxit-hop-specific.exp: New.
8574 * gdb.threads/thread-execl.c: New.
8575 * gdb.threads/thread-execl.exp: New.
8576
b6313243
TT
85772009-05-27 Tom Tromey <tromey@redhat.com>
8578 Thiago Jung Bauermann <bauerman@br.ibm.com>
8579
8580 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8581 (mi_child_regexp): Likewise.
8582 (mi_list_varobj_children_range): Likewise.
8583 (mi_get_features): Likewise.
8584 (mi_list_varobj_children): Rewrite.
8585 * gdb.python/python-mi.exp: New file.
8586
a6bac58e
TT
85872009-05-27 Tom Tromey <tromey@redhat.com>
8588 Thiago Jung Bauermann <bauerman@br.ibm.com>
8589 Phil Muldoon <pmuldoon@redhat.com>
8590 Paul Pluzhnikov <ppluzhnikov@google.com>
8591
8592 * gdb.python/python-prettyprint.exp: New file.
8593 * gdb.python/python-prettyprint.c: New file.
8594 * gdb.python/python-prettyprint.py: New file.
8595 * gdb.base/display.exp: print/r is now valid.
8596
2c74e833
TT
85972009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8598 Tom Tromey <tromey@redhat.com>
8599 Pedro Alves <pedro@codesourcery.com>
8600 Paul Pluzhnikov <ppluzhnikov@google.com>
8601
8602 * gdb.python/python-template.exp: New file.
8603 * gdb.python/python-template.cc: New file.
8604 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8605 tests.
8606 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8607 Call it.
8608 (test_value_after_death): New proc.
8609 * gdb.python/python-value.c (PTR): New typedef.
8610 (main): New variable 'x'.
8611
89c73ade
TT
86122009-05-27 Tom Tromey <tromey@redhat.com>
8613
8614 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8615 tests.
8616 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8617 Call it.
8618
a75724bc
PA
86192009-05-27 Pedro Alves <pedro@codesourcery.com>
8620
8621 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8622
e58b0e63
PA
86232009-05-24 Pedro Alves <pedro@codesourcery.com>
8624
8625 * gdb.threads/fork-thread-pending.c: New.
8626 * gdb.threads/fork-thread-pending.exp: New.
8627
4ac36638
JK
86282009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8629
8630 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8631 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8632
889bf7c5 86332009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8634
889bf7c5 8635 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8636
b242c3c2
PA
86372009-05-17 Pedro Alves <pedro@codesourcery.com>
8638
8639 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8640 `gdb_get_line_number'. Call `callee' in both parent and child.
8641 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8642 `gdb_get_line_number' instead of hardcoding line numbers.
8643 (catch_fork_unpatch_child): New procedure to test detaching
8644 breakpoints from child fork.
8645 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8646 hardcoding line numbers.
8647 (do_fork_tests): Run `catch_fork_unpatch_child'.
8648
ee342b23
VP
86492009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8650
8651 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8652 of structure type enters or leaves the scope, it
8653 is reported by -var-update.
8654
e2009e98
DE
86552009-05-11 Doug Evans <dje@sebabeach.org>
8656
8657 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8658 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8659 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8660
00903456
JK
86612009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8662
8663 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8664
dc621c35
DE
86652009-04-30 Doug Evans <dje@google.com>
8666
8667 * gdb.threads/watchthreads2.exp: New testcase.
8668 * gdb.threads/watchthreads2.c: New testcase.
8669
9ab4e744
DE
86702009-04-29 Doug Evans <dje@google.com>
8671
8672 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8673 * gdb.cp/mb-ctor.cc: Ditto.
8674 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8675 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8676 * gdb.cp/mb-inline1.cc: Call it.
8677 * gdb.cp/mb-inline2.cc: Ditto.
8678 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8679 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8680
484086b7
JK
86812009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8682
8683 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8684 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8685 Replace all uses of `decimal' by `nonzero'.
8686 (info macro FROM_COMMANDLINE): New test.
8687
379a77b5
TT
86882009-04-27 Tom Tromey <tromey@redhat.com>
8689
8690 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8691
b92b73c2
DE
86922009-04-27 Doug Evans <dje@google.com>
8693
8694 * gdb.threads/watchthreads.c (main): Initialize args before starting
8695 the threads. Plus formatting cleanup.
8696 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8697 biased scheduling of one thread.
8698
945a118d
JG
86992009-04-27 Jerome Guitton <guitton@adacore.com>
8700
8701 * gdb.cp/templates.cc (GetMax): New template.
8702 (main): Declare two instances of GetMax.
8703 * gdb.cp/templates.exp: Add new test.
8704
d389af10
JK
87052009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8706
8707 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8708
e7f86de9
JM
87092009-04-22 Joseph Myers <joseph@codesourcery.com>
8710
8711 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8712
334cc82d
TT
87132009-04-15 Tom Tromey <tromey@redhat.com>
8714
8715 * gdb.base/charset.exp: Add regression test.
8716
d12672cc
JB
87172009-04-14 Joel Brobecker <brobecker@adacore.com>
8718
8719 * gdb.base/exe-lock.exp: New testcase.
8720
18e8c3bc
TT
87212009-04-13 Tom Tromey <tromey@redhat.com>
8722
8723 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8724 operator on Frame.
8725
5ecd5cbe
UW
87262009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8727
8728 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8729 * gdb.server/ext-attach.exp: Likewise.
8730
7309f756
VP
87312009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8732
8733 Eliminate some sleep usage.
8734
889bf7c5
PA
8735 * gdb.mi/basics.c (do_nothing): New.
8736 (main): Use do_nothing instead of printf, so that
8737 not to introduce race condition between output of
8738 inferiour and output of gdb. Do not use sleep as it
8739 is not generally available on embedded targets.
7309f756 8740
f4b95f6f
PA
87412009-04-02 Pedro Alves <pedro@codesourcery.com>
8742
8743 * gdb.server/ext-attach.exp: Expect an optional process id after
8744 "Detached from remote process".
8745
de40b933
JK
87462009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8747
8748 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8749 gdb.dwarf2/dw2-unresolved.exp: New.
8750
2ae101a4
PA
87512009-04-02 Pedro Alves <pedro@codesourcery.com>
8752
8753 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8754 mi_run_to_main.
8755
56a8e183
PA
87562009-04-02 Pedro Alves <pedro@codesourcery.com>
8757
8758 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8759 mi_run_to_main. Skip thread exit test on remote targets.
8760 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8761 mi_run_to_main.
8762 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8763 mi_run_to_main.
8764 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8765 when expecting ^connected. Detect when the target doesn't support
8766 non-stop mode.
8767 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8768 supported. Return -1 on error, 0 on success.
8769 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8770 (mi_runto): Return mi_runto_helper's result explicitly.
8771
c35fafde
PA
87722009-04-01 Pedro Alves <pedro@codesourcery.com>
8773
8774 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8775
f8a8dce6
JB
87762009-04-01 Tom Tromey <tromey@redhat.com>
8777
8778 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8779 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8780 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8781 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8782
71c25dea
TT
87832009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8784 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 PR gdb/931
8787 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8788 output.
8789 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8790 for gdb/931.
8791 * dw2-strp.S (DW_AT_language): Change to C++.
8792 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8793
02d9a9ce
JB
87942009-03-31 Joel Brobecker <brobecker@adacore.com>
8795
8796 * gdb.ada/tasks: New testcase.
8797
1042e4c0
SS
87982009-03-30 Stan Shebs <stan@codesourcery.com>
8799
8800 * gdb.trace/actions.exp: Update to match new info trace format.
8801 * gdb.trace/deltrace.exp: Ditto.
8802 * gdb.trace/infotrace.exp: Ditto.
8803 * gdb.trace/passcount.exp: Ditto.
8804 * gdb.trace/save-trace.exp: Ditto.
8805 * gdb.trace/while-stepping.exp: Ditto.
8806 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8807
f8f6f20b
TJB
88082009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8809
8810 * gdb.python/python-frame.c: New file.
8811 * gdb.python/python-frame.exp: New file.
8812
c0c6f777
TJB
88132009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8814
8815 * gdb.python/python-value.exp: Add tests for the address
8816 attribute.
8817
3cb51905
AS
88182009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8819
8820 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8821
88fc996f
DE
88222009-03-26 Doug Evans <dje@google.com>
8823
8824 * gdb.mi/mi-nonstop-exit.exp: New file.
8825 * gdb.mi/non-stop-exit.c: New file.
8826
56ef84b1
TT
88272009-03-26 Tom Tromey <tromey@redhat.com>
8828
8829 Update for change to prologue skipping:
8830 * gdb.mi/mi2-simplerun.exp: Update.
8831 * gdb.mi/mi2-break.exp: Update.
8832 * gdb.mi/mi-simplerun.exp: Update.
8833 * gdb.mi/mi-break.exp: Update.
8834 * gdb.base/ending-run.exp: Update.
8835
def2b000
TJB
88362009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8837
8838 * gdb.python/python-value.exp (test_value_in_inferior): Test
8839 gdb.Value.is_optimized_out attribute.
8840
442ddf59
JK
88412009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8842
8843 * gdb.dwarf2/dw2-noloc-main.c: New file.
8844 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8845 (.text): Remove.
8846 (.data): New.
8847 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8848 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8849 (DW_TAG_subprogram func_cu1, noloc): Remove.
8850 (main): New.
8851 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8852 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8853 (file_symbols): New procedure.
8854
a8df5de4
TT
88552009-03-25 Tom Tromey <tromey@redhat.com>
8856
8857 * gdb.base/charset.exp (valid_target_charset): New proc.
8858 Use it to skip tests on invalid charsets.
8859
cc1d7add
PM
88602009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8861
8862 * gdb.base/completion.exp: Add a test for directory completion.
8863
bcd5727b
JK
88642009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8865
8866 Fix a racy FAIL.
8867 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8868 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8869
cc924cad
TJB
88702009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8871
8872 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8873 * gdb.python/python-function.exp: Add test for function returning
8874 a GDB value.
8875
bc3b79fd
TJB
88762009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8877
8878 * gdb.python/python-function.exp: New file.
8879
6c7a06a3
TT
88802009-03-20 Tom Tromey <tromey@redhat.com>
8881
8882 * gdb.base/store.exp: Update for change to escape output.
8883 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8884 to escape output.
8885 * gdb.base/pointers.exp: Update for change to escape output.
8886 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8887 to escape output.
8888 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8889 escape output.
8890 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8891 to escape output.
8892 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8893 escape output.
8894 * gdb.base/setvar.exp: Update for change to escape output.
8895 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8896 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8897 to escape output.
8898 (test_print_string_constants): Likewise.
8899 * gdb.base/charset.exp (valid_host_charset): Check size of
8900 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8901 cases. Handle "auto"-related output.
8902 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8903 (uvar, Uvar): New globals.
8904
c31af87b
JG
89052009-03-19 Jerome Guitton <guitton@adacore.com>
8906
8907 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8908 deltas.
8909 * gdb.ada/fixed_points.exp: Ditto.
8910
51272cf2
PA
89112009-03-18 Pedro Alves <pedro@codesourcery.com>
8912
8913 * return-nodebug.c: Don't include stdio.h.
8914 (init): Delete.
8915 (func): Delete definition and provide extern declaration.
8916 (t): New.
8917 (main): Don't call printf. Call func and store its result in t.
8918 * return-nodebug1.c: New.
8919 * return-nodebug.exp: Don't expect stdio output. Instead, print
8920 the global variable t. Drop printf formatters and cast types from
8921 foreach loop. Don't use prepare_for_testing. Compile
8922 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8923 define FORMAT or CAST.
8924
d24948ac
PP
89252009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8926
8927 * gdb.base/solib-display.exp: Disable test for remote targers.
8928
61ff14c6
JK
89292009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8930
8931 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8932
cb4dce93
JK
89332009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8934
8935 Fix a racy FAIL.
8936 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8937 code from `follow parent, print pids'.
8938 (`follow child, print pids', `follow parent, print pids'): Call it.
8939 Replace `gdb_test "break..."' by gdb_breakpoint.
8940
f7c60c5e
VP
89412009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8942
8943 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8944 sync and async modes.
f7c60c5e 8945
383ace49
JB
89462009-03-12 Joel Brobecker <brobecker@adacore.com>
8947
8948 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8949 that was checked in by mistake. Remove loading of ada.exp, since
8950 this is not necessary in this case.
8951
4ce102af
JB
89522009-03-12 Joel Brobecker <brobecker@adacore.com>
8953
8954 * gdb.ada/ptype_arith_binop.exp: New testcase.
8955
529a2aef
JB
89562009-03-12 Joel Brobecker <brobecker@adacore.com>
8957
8958 * gdb.ada/mod_from_name: New testcase.
8959
8a38181c
JB
89602009-03-12 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.ada/tick_last_segv: New testcase.
8963
11436dee
VP
89642009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8965
61ff14c6 8966 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8967
1f31650a
VP
89682009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8969
61ff14c6
JK
8970 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8971 include the token in ^running and frame info in *stopped.
1f31650a 8972
a3247a22
PP
89732009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8974
8975 * solib-display.exp: New file.
8976 * solib-display-main.c: New file.
8977 * solib-display-lib.c: New file.
61ff14c6 8978
aae64587
PA
89792009-03-05 Pedro Alves <pedro@codesourcery.com>
8980
8981 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8982
44aabfbc
JK
89832009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8984
8985 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8986 (list_and_check_macro): Use more specific test name.
8987 (next to definition): Make the test names unique.
8988
c087fcd3
PM
89892009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8990
8991 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8992
c86cf029
VP
89932009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8994
8995 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8996 notifications.
8997 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8998 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8999 * lib/mi-support.exp (library_loaded_re): New.
9000 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9001
3ea85240
VP
90022009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9003
9004 * gdb.gdb/observer.exp: Use test_notification observer, not
9005 normal_stop, everywhere.
9006 (test_normal_stop_notifications): Rename to...
9007 (test_notifications): ...this.
9008 (test_observer_normal_stop): Rename to...
9009 (test_observer): ...this.
9010
1903f0e6
DE
90112009-02-16 Doug Evans <dje@google.com>
9012
9013 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9014 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9015 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9016 (test_prefixed_syscall,test_int3): New tests.
9017 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9018 (test_prefixed_syscall,test_int3): New tests.
9019
1d33d6ba
VP
90202009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9021
3cb51905
AS
9022 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9023 (mi_expect_interrupt): Likewise.
9024 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9025 response.
1d33d6ba 9026
faafb047
PM
90272009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9028
9029 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9030 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9031 Replace calls to get_valueofx by get_hexadecimal_valueof.
9032
417e16e2
PM
90332009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9034
9035 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9036 (get_integer_valueof): New procedure.
9037 (get_sizeof): Use new get_integer_value_of.
9038 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9039 by get_integer_valueof.
9040
7065b901
TT
90412009-02-13 Tom Tromey <tromey@redhat.com>
9042
9043 * gdb.base/remote.exp (get_sizeof): Remove.
9044 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9045 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9046 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9047 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9048 (get_sizeof): Likewise.
9049
5d7cb8df
JK
90502009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9051
9052 PR fortran/9806
9053 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9054
b2febfff
PP
90552009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9056
9057 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9058
4aa995e1
PA
90592009-02-06 Pedro Alves <pedro@codesourcery.com>
9060
9061 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9062
d8906c6f
TJB
90632009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9064
9065 * gdb.python/python-cmd.exp: New file.
9066
ff4ab08d
TG
90672009-02-06 Tristan Gingold <gingold@adacore.com>
9068
9069 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9070
aacd552b
TG
90712009-02-05 Tristan Gingold <gingold@adacore.com>
9072
9073 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9074 pointer is dereferenced and use this signal name in regexp.
9075 * gdb.base/signull.exp: Ditto.
9076 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9077 * gdb.base/signull.c (main): Ditto.
9078
08c637de
TJB
90792009-02-04 Tom Tromey <tromey@redhat.com>
9080 Thiago Jung Bauermann <bauerman@br.ibm.com>
9081
9082 * gdb.python/python-value.exp: Use `gdb.history' instead of
9083 `gdb.value_from_history'.
9084 (test_value_numeric_ops): Add test for conversion of enum constant.
9085 * gdb.python/python-value.c (enum e): New type.
9086 (evalue): New global.
9087 (main): Use argv.
9088
20261af8
JG
90892009-02-04 Jerome Guitton <guitton@adacore.com>
9090
9091 * gdb.ada/uninitialized_vars: New test program.
9092 * gdb.ada/uninitialized_vars.exp: New testcase.
9093
52e44b43
TT
90942009-02-02 Tom Tromey <tromey@redhat.com>
9095
9096 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9097 * gdb.cp/pr2489.cc: Rename...
9098 * gdb.cp/pr9594.cc: ... to this.
9099
1c71341a
TT
91002009-02-02 Tom Tromey <tromey@redhat.com>
9101
9102 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9103 * gdb.cp/pr2489.cc: New file.
9104 * gdb.cp/cpcompletion.exp: New file.
9105
a4295225
TT
91062009-02-02 Tom Tromey <tromey@redhat.com>
9107
9108 PR exp/9059:
9109 * gdb.cp/call-c.exp: Add regression test.
9110 * gdb.cp/call-c.cc (FooHandle): New typedef.
9111 (main): New variable 'handle'.
9112
592375cd
VP
91132009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9114
9115 * lib/mi-support.exp (et_mi_thread_list)
9116 (check_mi_and_console_threads): Adjust for current thread in
9117 -thread-list-ids output.
9118
41447f92
VP
91192009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9120
889bf7c5
PA
9121 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9122 Call it.
41447f92 9123
35669430
DE
91242009-01-28 Doug Evans <dje@google.com>
9125
9126 * gdb.arch/amd64-disp-step.S: New file.
9127 * gdb.arch/amd64-disp-step.exp: New file.
9128 * gdb.arch/i386-disp-step.S: New file.
9129 * gdb.arch/i386-disp-step.exp: New file.
9130
09f00d9a
PM
91312009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9132
9133 * gdb.base/find.exp: Set newline variable
9134 using quotes instead of braces to fix cygwin failures.
9135
1e8fb976
PA
91362009-01-23 Pedro Alves <pedro@codesourcery.com>
9137
9138 * gdb.base/radix.exp: Add tests to ensure that that set
9139 input-radix 0 and set output-radix 0 are really rejected.
9140
da061712
PA
91412009-01-23 Pedro Alves <pedro@codesourcery.com>
9142
9143 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9144 copyright years.
9145
dd7e2d2b
PA
91462009-01-23 Pedro Alves <pedro@codesourcery.com>
9147
9148 PR gdb/9664:
9149 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9150
392452f6
PA
91512009-01-22 Pedro Alves <pedro@codesourcery.com>
9152
9153 PR c++/9631:
9154 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9155
8653e71c
PM
91562009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9157
9158 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9159 binfile definition to fix Windows OS failure.
9160
a12cc160
DJ
91612009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9162
9163 PR gdb/9346
9164 * gdb.base/interrupt.c (sigint_handler): New.
9165 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9166 on error.
9167 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9168 Test "signal SIGINT".
9169
b89667eb
DE
91702009-01-19 Doug Evans <dje@google.com>
9171
9172 * gdb.base/break.exp: Update expected gdb output.
9173 * gdb.base/sepdebug.exp: Ditto.
9174 * gdb.mi/mi-syn-frame.exp: Ditto.
9175 * gdb.mi/mi2-syn-frame.exp: Ditto.
9176 * gdb.base/call-signal-resume.exp: New file.
9177 * gdb.base/call-signals.c: New file.
9178 * gdb.base/unwindonsignal.exp: New file.
9179 * gdb.base/unwindonsignal.c: New file.
9180 * gdb.threads/interrupted-hand-call.exp: New file.
9181 * gdb.threads/interrupted-hand-call.c: New file.
9182 * gdb.threads/thread-unwindonsignal.exp: New file.
9183
adb483fe
DJ
91842009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9185
9186 * gdb.base/define.exp: Test defining and hooking prefix commands.
9187 * gdb.python/python.exp: Update test for "show user" output.
9188
60023297
JK
91892009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9190
9191 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9192 now the output exactly, using less wildcards. Expect also the output
9193 of gfortran-4.3. Update for the f-valprint.c modification from
9194 2008-04-22.
9195 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9196 Remove gdb_test test names where matching the command.
9197
ccc57cf9
PA
91982009-01-01 Pedro Alves <pedro@codesourcery.com>
9199
9200 PR breakpoints/9681:
9201 * gdb.base/watchpoint.exp: Add regression test.
9202
c7a6ca08
PA
92032008-12-31 Pedro Alves <pedro@codesourcery.com>
9204
9205 * gdb.threads/attach-into-signal.exp: Don't use
9206 gdb_suppress_entire_file.
9207 * gdb.threads/attach-stopped.exp: Ditto.
9208 * gdb.threads/attachstop-mt.exp: Ditto.
9209
3a031f65
PA
92102008-12-31 Pedro Alves <pedro@codesourcery.com>
9211
9212 PR gdb/8812:
9213 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9214
09e6485f
PA
92152008-12-29 Pedro Alves <pedro@codesourcery.com>
9216
9217 PR gdb/7536:
9218 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9219 and unsupported output radices are really rejected.
9220
0cd53049
JK
92212008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9222
9223 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9224
ba163c7e
TT
92252008-12-22 Tom Tromey <tromey@redhat.com>
9226
9227 * gdb.cp/punctuator.exp: New file.
9228
6f4de6c9
JK
92292008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * gdb.base/completion.exp (Completing non-existing component): New test.
9232
0f34d0b4
JK
92332008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9234
9235 Fix for PR gdb/8648.
9236 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9237 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9238 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9239 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9240
db2ad4c3
JK
92412008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9242
9243 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9244
bb5ef15e
DP
92452008-12-16 Christophe Lyon <christophe.lyon@st.com>
9246
9247 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9248 compiler actually generate code at the expected line number.
9249
90142adc
JZ
92502008-12-15 Jie Zhang <jie.zhang@analog.com>
9251
9252 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9253
fad6eecd
TT
92542008-12-12 Tom Tromey <tromey@redhat.com>
9255
9256 * gdb.base/commands.exp (redefine_hook_test): New proc.
9257 Call it.
9258
17c8aaf5
TT
92592008-12-11 Tom Tromey <tromey@redhat.com>
9260
9261 * gdb.base/macscp.exp: New regression test.
9262
7c8adf68
TT
92632008-12-11 Tom Tromey <tromey@redhat.com>
9264
9265 * gdb.base/macscp.exp: Print "address.addr".
9266 * gdb.base/macscp1.c (struct outer): New struct.
9267 (address): New global.
9268
b05dcbb7
TT
92692008-12-09 Tom Tromey <tromey@redhat.com>
9270
9271 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9272 Call it.
9273
2d476de1
DE
92742008-12-04 Doug Evans <dje@google.com>
9275
9276 * gdb.server/ext-run.exp: Relax regexp for init program.
9277
87bdc959
TG
92782008-12-03 Tristan Gingold <gingold@adacore.com>
9279
9280 * gdb.base/macscp.exp: Generate an object file during compilation
9281 to work around Darwin dsymutil limitations.
9282
e0740f77
JK
92832008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9284
9285 Test resolving external references to TLS variables.
9286 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9287 FILE2_THREAD_LOCAL.
9288 (testfile2, srcfile2): New variables.
9289 * gdb.threads/tls.c (file2_thread_local)
9290 (function_referencing_file2_thread_local): New.
9291 * gdb.threads/tls2.c: New file.
9292
67f0aac5
JB
92932008-11-28 Joel Brobecker <brobecker@adacore.com>
9294
9295 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9296 rather than integer, as integer might not be big enough when
9297 on 64bit targets.
67f0aac5 9298
c332165e
JG
92992008-11-27 Jerome Guitton <guitton@adacore.com>
9300
9301 * gdb.cp/formatted-ref.exp: Add equality test.
9302 * gdb.ada/formatted_ref.exp: Ditto.
9303
fc9b693c
JK
93042008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9305
9306 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9307 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9308
a9c64011
AS
93092008-11-20 Andreas Schwab <schwab@suse.de>
9310
9311 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9312 matching syscall entry point.
9313 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9314 (tcatch_vfork_then_child_follow): Likewise. Finish through
9315 vfork even if we stopped at the syscall trampoline.
9316
e2fd701e
DE
93172008-11-20 Doug Evans <dje@google.com>
9318
9319 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9320
69abc51c
TJB
93212008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9322
9323 * gdb.arch/ppc-dfp.exp: New file.
9324 * gdb.arch/ppc-dfp.c: New file.
9325
c14c28ba
PP
93262008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9327
9328 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9329
2e74121d
DE
93302008-11-17 Doug Evans <dje@google.com>
9331
9332 * gdb.mi/mi-syn-frame.exp: Update expected output.
9333 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9334
66bb093b
VP
93352008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9336
9337 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9338 "thread N" results in =thread-selected.
9339 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9340 (mi_send_resuming_command_raw): Be prepared for
9341 =thread-selected.
9342
3d043ef6
VP
93432008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9344
a9c64011
AS
9345 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9346 * lib/mi-support.exp: Likewise.
3d043ef6 9347
808104c8
JB
93482008-11-16 Joel Brobecker <brobecker@adacore.com>
9349
9350 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9351 commands from the expected output for "help catch".
9352
00b22944
JB
93532008-11-15 Joel Brobecker <brobecker@adacore.com>
9354
9355 * gdb.ada/int_deref.exp: New testcase.
9356
59669435
TT
93572008-11-14 Nick Roberts <nickrob@snap.net.nz>
9358
9359 * gdb.mi/gdb2549.exp: New file.
9360
de04a248
DE
93612008-11-11 Doug Evans <dje@google.com>
9362
9363 * gdb.base/callexit.exp: New file.
9364 * gdb.base/callexit.c: New file.
9365
6b8ce727
DE
93662008-11-10 Doug Evans <dje@google.com>
9367
9368 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9369 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9370 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9371 (default_gdb_start,default_gdb_exit): Ditto.
9372 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9373 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9374 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9375 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9376 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9377 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9378
1b14b8aa
AS
93792008-11-03 Andreas Schwab <schwab@suse.de>
9380
9381 * gdb.base/hashline2.exp: Fix typo.
9382 * gdb.base/hashline3.exp: Likewise.
9383
f3134b88
TT
93842008-10-30 Tom Tromey <tromey@redhat.com>
9385
9386 * gdb.base/pointers.exp: Add test.
9387 * gdb.base/pointers.c (k, S): New typedefs.
9388 (instance): New global.
9389
c2226152
AS
93902008-10-30 Andreas Schwab <schwab@suse.de>
9391
9392 * gdb.base/args.exp: Add tests for newlines.
9393
462f405c
JB
93942008-10-30 Joel Brobecker <brobecker@adacore.com>
9395
9396 gdb.base/foll-exec.exp: Update the expected output of a couple
9397 of "info breakpoints" tests.
9398
79a45b7d
TT
93992008-10-28 Tom Tromey <tromey@redhat.com>
9400
9401 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9402
adc13a14
PA
94032008-10-24 Pedro Alves <pedro@codesourcery.com>
9404
9405 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9406 gdb_start_cmd.
9407 Use runto_main before any test that requires execution.
9408
252fbfc8
PA
94092008-10-23 Pedro Alves <pedro@codesourcery.com>
9410
9411 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9412 instead of SIGINT.
9413
28148e3d
JB
94142008-10-22 Joel Brobecker <brobecker@adacore.com>
9415
9416 * gdb.base/completion.exp: Update expected output following
9417 the addition of the "info tasks" command.
9418
c209f847
TT
94192008-10-22 Tom Tromey <tromey@redhat.com>
9420
9421 * gdb.base/exprs.exp (test_expr): Add test for string
9422 concatenation.
9423
f177e350
PA
94242008-10-19 Pedro Alves <pedro@codesourcery.com>
9425
9426 * configure.ac: Output gdb.python/Makefile.
9427 * configure: Regenerate.
9428 * gdb.python/Makefile.in: New.
9429
cce89356
JB
94302008-10-16 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.base/foll-fork.exp: Adjust the expected output to match
9433 the new description for fork/vfork catchpoints in the "info
9434 breakpoints" output.
9435
176d289d
TJB
94362008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9437
9438 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9439
a08702d6
TJB
94402008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9441
9442 * gdb.python/python-value.c: New file.
9443 * gdb.python/python-value.exp: New file.
9444
1c5cfe86
PA
94452008-10-15 Pedro Alves <pedro@codesourcery.com>
9446
9447 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9448
5a98ad69
DP
94492008-10-15 Denis Pilat <denis.pilat@st.com>
9450
41702f1b 9451 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9452
dcb1a1e2
TT
94532008-10-09 Tom Tromey <tromey@redhat.com>
9454
9455 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9456 'fprintf' and 'stderr'.
9457
9124fe48
JB
94582008-10-07 Joel Brobecker <brobecker@adacore.com>
9459
9460 * gdb.ada/ref_tick_size.exp: New testcase.
9461
45452591
DE
94622008-10-06 Doug Evans <dje@google.com>
9463
9464 * gdb.dwarf2/dw2-cu-size.exp: New file.
9465 * gdb.dwarf2/dw2-cu-size.S: New file.
9466
9467 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9468 .Ltype_int for clarity.
9469
4fc5b208
PP
94702008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9471
9472 PR gdb/2384:
9473 * gdb.cp/gdb2384.exp: Extended to test more cases.
9474 * gdb.cp/gdb2384.cc: Likewise.
9475 * gdb.cp/gdb2384-base.h: Likewise.
9476 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9477
d78df370
JK
94782008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.base/maint.exp (maint print type): Remove printing
9481 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9482
9a044a89
TT
94832008-09-30 Tom Tromey <tromey@redhat.com>
9484
9485 * gdb.base/macscp.exp: Add completion tests.
9486 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9487 (TWENTY_THREE): Likewise.
9488 (FORTY_EIGHT): Likewise.
9489
506800a9
TT
94902008-09-30 Tom Tromey <tromey@redhat.com>
9491
9492 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9493 everywhere.
9494 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9495
1a6f01b5
JK
94962008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9497
9498 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9499 testcase is derived from. Fix racy dependency on an expected PID
9500 number. No longer support the testcase on Linux kernel 2.4.x.
9501
2fae03e8
TT
95022008-09-27 Tom Tromey <tromey@redhat.com>
9503
9504 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9505 and varargs.
9506
1ad15515
PA
95072008-09-22 Pedro Alves <pedro@codesourcery.com>
9508
9509 * lib/mi-support.exp (mi_expect_interrupt): New.
9510 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9511 from gdb.mi/mi-nonstop.exp.
9512 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9513 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9514 lib/mi-support.exp.
9515 Use mi_check_thread_states throughout. Avoid ".*" and do not
9516 require an anchor after -exec-run.
9517
d0b76dc6
DJ
95182008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9519
9520 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9521 stop is pending. Avoid ".*" when two stops are pending.
9522 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9523 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9524 newlines in fullnames.
9525 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9526 (mi_expect_stop): Update comments. Only anchor in sync mode.
9527 Do not match newlines.
9528 (mi_send_resuming_command_raw): Always return status.
9529 (mi_get_stop_line): Do not match more than one line by accident.
9530 Only anchor in sync mode.
9531 (mi_run_inline_test): If -exec-next fails, give up.
9532
9990c830
UW
95332008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9534
9535 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9536 on SPU.
9537
ebcf6f00
JB
95382008-09-10 Joel Brobecker <brobecker@adacore.com>
9539
9540 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9541
b6db24e5
JB
95422008-09-10 Joel Brobecker <brobecker@adacore.com>
9543
9544 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9545 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9546 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9547 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9548 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9549 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9550 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9551 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9552 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9553 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9554 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9555 Include the "= " sequence in the expected output of print tests.
9556
2bf448e0
JB
95572008-09-10 Joel Brobecker <brobecker@adacore.com>
9558
9559 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9560 description for boolean types.
9561
d51fd4c8
PA
95622008-09-09 Pedro Alves <pedro@codesourcery.com>
9563
9564 * gdb.base/hook-stop-continue.c: New.
9565 * gdb.base/hook-stop-continue.exp: New.
9566
694182d2
DJ
95672008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9568
9569 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9570
3b8a7fc0
JG
95712008-09-08 Jerome Guitton <guitton@adacore.com>
9572
9573 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9574 (stack_check_probe_2, stack_check_probe_loop_1)
9575 (stack_check_probe_loop_2): New functions.
9576 (main): Add call to these new functions.
9577 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9578 functions, check that the breakpoint is inserted at the appropriate
9579 location.
9580 (insert_breakpoint): Slightly refine this procedure so that it can
9581 be called several times in the test.
9582
96cc0ae8
JG
95832008-09-08 Jerome Guitton <guitton@adacore.com>
9584
9585 * gdb.base/stack-checking.c: New file.
9586 * gdb.base/stack-checking.exp: New file.
9587
1f08b409
TJB
95882008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9589
9590 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9591 * gdb.arch/altivec-regs.exp: Likewise.
9592 * gdb.arch/vsx-regs.exp: Likewise.
9593
3099e1c4
TJB
95942008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9595
9596 * gdb.arch/ppc-fp.exp: New file.
9597 * gdb.arch/ppc-fp.c: New file.
9598
cc69bfc1
PP
95992008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9600
9601 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9602 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9603
b02a33db
MS
96042008-09-04 Michael Snyder <msnyder@vmware.com>
9605
9606 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9607 as "at" (for non-debug functions such as _start).
9608
2992cbe0
UW
96092008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9610
9611 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9612 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9613 software watchpoints.
9614 * gdb.base/watch_thread_num.exp: Likewise.
9615
514f746b
AR
96162008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9617
9618 * gdb.arch/i386-bp_permanent.exp: New test.
9619
876cecd0
TT
96202008-08-24 Tom Tromey <tromey@redhat.com>
9621
9622 * gdb.base/maint.exp: Update "maint print type".
9623
80f73d71
VP
96242008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9625
9626 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9627 support. Adjust the order of "*running" notifications.
9628 * gdb.mi/non-stop.c: Don't cast from int to void* and
9629 back.
9630
d9c78d7d
MK
96312008-08-20 Mark Kettenis <kettenis@gnu.org>
9632
9633 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9634 expect to find it in the "info frame" output.
9635
97a2d1d3
DJ
96362008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9637
9638 * gdb.base/interp.exp: Always consume both prompts.
9639
b96e2927
PA
96402008-08-20 Pedro Alves <pedro@codesourcery.com>
9641
9642 * gdb.base/pending.exp: Test pending breakpoints without symbols
9643 loaded.
9644
8cf6e61a
VP
96452008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9646
9647 * lib/mi-support.exp (mi_expect_stop): Produce
9648 more details on failures.
9649 * gdb.mi/mi-nonstop.exp: New.
9650 * gdb.mi/non-stop.c: New.
9651
c6ebd6cf
VP
96522008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9653
a9c64011
AS
9654 * gdb.mi/mi-async.exp: Use 'set target-async'.
9655 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9656
46a9b8ed
DJ
96572008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9658
9659 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9660
44feb3ce
TT
96612008-08-17 Tom Tromey <tromey@redhat.com>
9662
9663 * gdb.base/help.exp (help catch): Rewrite.
9664
311a4e6b
TJB
96652008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9666
9667 * gdb.base/define.exp: Test indented command documentation.
9668 * gdb.python/python.exp: Test indented multi-line command.
9669
604c2f83
LM
96702008-08-15 Luis Machado <luisgpm@br.ibm.com>
9671
9672 * testsuite/gdb.arch/vsx-regs.c: New source file.
9673 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9674 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9675
886a217c
TT
96762008-08-14 Tom Tromey <tromey@redhat.com>
9677
9678 * gdb.base/macscp.exp: Add regression test for "macro define" or
9679 "macro undef" with no arguments.
9680
c814a4f3
PP
96812008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9682
9683 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9684
12ab8a60
UW
96852008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9686
9687 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9688
d57a3c85
TJB
96892008-08-06 Tom Tromey <tromey@redhat.com>
9690
9691 * gdb.python/python.exp: New file.
9692
c7b778ff
JK
96932008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9694
9695 Fix for PR gdb/1543.
9696 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9697 $LOCATION.
9698 (location): New variable.
9699 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9700 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9701 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9702 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9703 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9704 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9705 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9706 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9707 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9708 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9709 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9710 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9711 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9712 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9713 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9714 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9715 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9716 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9717 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9718 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9719 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9720 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9721 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9722 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9723 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9724 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9725 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9726 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9727 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9728 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9729 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9730 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9731 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9732 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9733 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9734 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9735 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9736 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9737 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9738 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9739 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9740 gdb.base/type-opaque.exp, gdb.base/until.exp,
9741 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9742 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9743 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9744 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9745 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9746 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9747 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9748 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9749 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9750 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9751 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9752 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9753 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9754 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9755 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9756 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9757 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9758 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9759 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9760 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9761 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9762 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9763 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9764 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9765 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9766 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9767 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9768 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9769 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9770 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9771 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9772 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9773 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9774 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9775 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9776 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9777 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9778 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9779 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9780 to bug-gdb@prep.ai.mit.edu .
9781
5e06a3d1
VP
97822008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9783
9784 * lib/mi-support.exp (mi_load_shlibs): New.
9785 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9786
9d81d21b
VP
97872008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9788
9789 * lib/mi-support.exp (get_mi_thread_list)
9790 (check_mi_and_console_threads): New, moved from ...
9791 * gdb.mi/mi-pthread.exp: ...here.
9792 * gdb.mi/gdb669.exp (get_mi_thread_list)
9793 (check_mi_and_console_threads): Delete.
9794 * gdb.mi/mi2-pthread.exp: Likewise.
9795
bae98fe0
TT
97962008-07-28 Tom Tromey <tromey@redhat.com>
9797
9798 * Makefile.in (just-check): Remove. Move body to...
9799 (check): ... here.
9800
57380f4e
DJ
98012008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9802
9803 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9804 Add a test for duplicated SIGINTs.
9805
e09490f1
DJ
98062008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9807
9808 * gdb.threads/schedlock.exp (get_args): Update to work for any
9809 value of NUM.
9810 (Top level): Report the number of threads that did not resume.
9811
6387b45f
DJ
98122008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9813
9814 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9815
62f64ff2
DJ
98162008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9817
9818 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9819 non-MI prompt.
9820
fa8de41e
TT
98212008-07-26 Tom Tromey <tromey@redhat.com>
9822
9823 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9824 (function_struct, function_struct_ptr): New globals.
9825 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9826 function pointer in a struct.
9827
ccb3ac8a
TT
98282008-07-26 Tom Tromey <tromey@redhat.com>
9829
9830 * gdb.base/macscp.exp: Add test for macro lexing bug.
9831
d7d9f01e
TT
98322008-07-18 Tom Tromey <tromey@redhat.com>
9833
9834 * gdb.base/macscp.exp: Add macro tests.
9835
9bf07184
PP
98362008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9837
9838 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9839
becf6477
PP
98402008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9841
9842 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9843
0709f7d3
PP
98442008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9845
9846 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9847
7093c834
PP
98482008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9849
9850 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9851
b432ffe3
JK
98522008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9853
9854 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9855
b1a268e5
VP
98562008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9857
9858 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9859
e2995f8e
KB
98602008-07-11 Kevin Buettner <kevinb@redhat.com>
9861
9862 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9863 of regexp to account for changes made to GDB in the printing of
9864 byte vectors.
9865
14032a66
TT
98662008-07-11 Tom Tromey <tromey@redhat.com>
9867
9868 * gdb.base/completion.exp: Add 'help' completion test.
9869
981505ef
JK
98702008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9871
9872 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9873
10568435
JK
98742008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9875
9876 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9877
4487aabf
PA
98782008-07-09 Pedro Alves <pedro@codesourcery.com>
9879
9880 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9881
a4a9b1c4
PA
98822008-07-09 Pedro Alves <pedro@codesourcery.com>
9883
9884 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9885
3c3185ac
JK
98862008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9887
9888 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9889
7ebd49dc
VP
98902008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9891
9892 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9893 previous commit. Add a comment.
9894
84e46146
PA
98952008-06-28 Pedro Alves <pedro@codesourcery.com>
9896
9897 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9898
0f8d4a2f
VP
98992008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9900
9901 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9902
f747e0ce
PA
99032008-06-27 Pedro Alves <pedro@codesourcery.com>
9904
9905 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9906 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9907 compiling an executable, link in an object that forces unbuffered
9908 output.
9909 * lib/set_unbuffered_mode.c: New file.
9910
734a5c36
JK
99112008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9914
a2840c35
VP
99152008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9916
a9c64011
AS
9917 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9918 mi_expect_stop.
9919 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9920 Demand that *running is output.
9921 (detect_async): Perform checking every time.
9922 (mi_send_resuming_command): Extract everything into...
9923 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9924 (mi_expect_stop): Don't accept any output before *stopped.
9925
6ae37fef
VP
99262008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9927
9928 Robustify mi-simplerun.
a9c64011
AS
9929 * gdb.mi/basics.c (main): Add a call to sleep.
9930 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9931 * gdb.mi/mi2-cli.exp: Likewise.
9932 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9933
b4aa76f0 99342008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9935
9936 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9937
e1ac3328
VP
99382008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9939
a9c64011
AS
9940 * gdb.mi/mi-console.exp: Adjust.
9941 * gdb.mi/mi-syn-frame.exp: Adjust.
9942 * gdb.mi/mi2-console.exp: Adjust.
9943 * gdb.mi/mi2-syn-frame.exp: Adjust.
9944 * lib/mi-support.exp (mi_run_cmd): Adjust.
9945 (mi_send_resuming_command): Adjust.
e1ac3328 9946
f7f9a841
VP
99472008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9948
9949 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9950 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9951 testing of stopped.
9952 * gdb.mi/mi2-syn-frame.exp: Likewise.
9953 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9954 (async, detect_async): New.
9955 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9956 depending on if we're running in sync or async mode.
f7f9a841 9957
37cd5d19
TT
99582008-06-09 Tom Tromey <tromey@redhat.com>
9959
9960 * gdb.base/completion.exp: New tests for field name completion
9961 with spaces, and field name completion with '->'.
9962
65d12d83
TT
99632008-06-06 Tom Tromey <tromey@redhat.com>
9964
9965 * gdb.base/break1.c (struct some_struct): New struct.
9966 (values): New global.
9967 * gdb.base/completion.exp: Add field name completion test.
9968
ebfe2e3f
PP
99692008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9970
9971 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9972 to pointer.
9973 * gdb.cp/call-c.cc: Likewise.
9974
bcf6fc3a
NR
99752008-06-06 Nick Roberts <nickrob@snap.net.nz>
9976
9977 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9978 annotation.
9979
49fd4a42 99802008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9981 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9982
9983 * gdb.threads/execl.c, gdb.threads/execl1.c,
9984 gdb.threads/execl.exp: New tests.
a9c64011 9985
8a34ac3f
AR
99862008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9987 Daniel Jacobowitz <dan@codesourcery.com>
9988
9989 * gdb.cp/exception.exp: Activate test, make it work with pending
9990 catchpoints.
9991
86ae69ef
JK
99922008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9993
9994 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9995
f7f9ae2c
VP
99962008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9997
a9c64011
AS
9998 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9999 now printed.
10000 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10001
2a2d4dc3
AS
100022008-05-27 Andreas Schwab <schwab@suse.de>
10003
10004 * gdb.base/frame-args.exp: Handle arguments that are optimized
10005 out.
10006
5099e4d9
LM
100072008-05-26 Luis Machado <luisgpm@br.ibm.com>
10008
10009 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10010 quiet for ppc32 and group options into a single variable.
10011
d9c36a91
JB
100122008-05-23 Joel Brobecker <brobecker@adacore.com>
10013
10014 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10015 of zero-size elements.
10016 * gdb.ada/null_array.exp: Test printing this new array.
10017
103a8671
JK
100182008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10019
10020 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10021
07a4cc1a 100222008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10023
10024 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10025 of the "finish" command.
10026
55f996a7
NR
100272008-05-21 Nick Roberts <nickrob@snap.net.nz>
10028
10029 * gdb.base/annota1.exp: Test for new annotation.
10030
907fc202
UW
100312008-05-16 Pedro Alves <pedro@codesourcery.com>
10032
10033 * gdb.base/fixsection.exp: New file.
10034 * gdb.base/fixsection0.c: New file.
10035 * gdb.base/fixsection1.c: New file.
10036
e8f97270
UW
100372008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10038
10039 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10040 * gdb.base/annota3.exp: Likewise.
10041
ac0bb574
NF
100422008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10043
10044 * gdb.base/watch_thread_num.exp: Don't run tests that require
10045 watchpoints if the target doesn't support them.
10046
6fadd07a
DE
100472008-05-12 Doug Evans <dje@google.com>
10048
10049 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10050
6e9a4a30
JB
100512008-05-09 Joel Brobecker <brobecker@adacore.com>
10052
10053 * gdb.ada/assign_1.exp: New testcase.
10054
08388c79
DE
100552008-05-09 Doug Evans <dje@google.com>
10056
a3c83fae
DE
10057 * gdb.base/find.exp: New file.
10058 * gdb.base/find.c: New file.
08388c79 10059
bd5ddfe8
DJ
100602008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10061
10062 * gdb.base/commands.exp (watchpoint_command_test): Handle
10063 gdb,no_hardware_watchpoints.
10064 * gdb.base/float.exp: Allow ARM targets without floating point.
10065 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10066
b5dd68e2 100672008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10068 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10069
10070 * gdb.ada/lang_switch: New test program.
10071 * gdb.ada/lang_switch.exp: New testcase.
10072
382d13d1
DE
100732008-05-05 Doug Evans <dje@google.com>
10074
10075 * gdb.base/help.exp (disassemble): Update expected help text.
10076
9dd789d0
PA
100772008-05-04 Pedro Alves <pedro@codesourcery.com>
10078
10079 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10080
611c83ae
PA
100812008-05-04 Pedro Alves <pedro@codesourcery.com>
10082
10083 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10084 different times.
10085
ff013f42
JK
100862008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10087
10088 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10089 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10090 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10091 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10092
96dff6a2
VP
100932008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10094
10095 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10096 notification to appear.
10097
55cd6f92
DJ
100982008-05-04 Daniel Jacobowitz <dan@debian.org>
10099
10100 * gdb.base/fullname.c: New file.
10101 * gdb.base/fullname.exp: New file.
10102 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10103
d705c43c
PA
101042008-05-03 Pedro Alves <pedro@codesourcery.com>
10105
10106 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10107 expressions with macros.
10108
333222e1
JK
101092008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10110
10111 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10112
5ac01682
DJ
101132008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10114
10115 * gdb.base/completion.exp: Handle lack of other symbols beginning
10116 with "a".
10117
10118 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10119
237fc4c9
PA
101202008-05-02 Jim Blandy <jimb@codesourcery.com>
10121
10122 * gdb.asm/asmsrc1.s: Add scratch space.
10123
ed5e9466
DJ
101242008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10125 Daniel Jacobowitz <dan@codesourcery.com>
10126
10127 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10128 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10129 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10130
b39cc962
DJ
101312007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10132
10133 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10134
36d520f5
JB
101352008-05-01 Joel Brobecker <brobecker@adacore.com>
10136
10137 * gdb.base/info-target.exp: New testcase.
10138
8d4e3071
DJ
101392008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10140
10141 * gdb.cp/hang.exp: Use .cc instead of .C.
10142 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10143 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10144
6f3f3097
DJ
101452008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10146
10147 * gdb.base/gdb1250.exp: Remove perror.
10148 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10149
5550a914
PA
101502008-04-30 Pedro Alves <pedro@codesourcery.com>
10151
10152 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10153 .2byte.
10154
d848e687
DJ
101552008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10158 (maybe_kfail): New.
10159
93b5768b
PA
101602008-04-25 Pedro Alves <pedro@codesourcery.com>
10161
10162 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10163
721c02de
VP
101642008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10165
a9c64011
AS
10166 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10167 * gdb.mi/mi2-syn-frame.exp: Likewise.
10168 * lib/mi-support.exp: Likewise.
721c02de 10169
74960c60
VP
101702008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10171
10172 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10173 to specify regexp for the location to stop at.
10174 * gdb.base/break-always.c: New.
10175 * gdb.base/break-always.exp: New.
10176
d24317b4
VP
101772008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10178
10179 * lib/mi-support.exp (mi_runto_helper): Adjust
10180 for the original-location field.
10181 (mi_create_breakpoint, mi_list_breakpoints): New.
10182 * gdb.mi/mi-break.exp: Adjust.
10183 * gdb.mi/mi2-break.exp: Adjust.
10184 * gdb.mi/mi-pending.exp: Adjust.
10185 * gdb.mi/mi-simplerun.exp: Adjust.
10186 * gdb.mi/mi2-simplerun.exp: Adjust.
10187 * gdb.mi/mi-syn-frame.exp: Adjust.
10188 * gdb.mi/mi2-syn-frame.exp: Adjust.
10189 * gdb.mi/mi-until.exp: Adjust.
10190 * gdb.mi/mi2-until.exp: Adjust.
10191 * gdb.mi/mi-var-display.exp: Adjust.
10192 * gdb.mi/mi2-var-display.exp: Adjust.
10193 * gdb.mi/mi-watch.exp: Adjust.
10194 * gdb.mi/mi2-watch.exp: Adjust.
10195
fdc59709 101962008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10197
a9c64011
AS
10198 * aclocal.m4: Add override.m4.
10199 * configure: Regenerate.
fdc59709 10200
8e91f023
VP
102012008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10202
10203 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10204 '-var-update --all-values' reports new value even the type
10205 of a variable object has changed.
10206
233a11ab
CS
102072008-04-18 Craig Silverstein <csilvers@google.com>
10208
10209 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10210 files.
d24317b4 10211
9c1137ad
JB
102122008-04-18 Joel Brobecker <brobecker@adacore.com>
10213
10214 * gdb.ada/atomic_enum: New test program.
10215 * gdb.ada/atomic_enum.exp: New testcase.
10216
66d0bbc7
DE
102172008-04-17 Doug Evans <dje@google.com>
10218
10219 * gdb.opt/Makefile.in: Fix whitespace.
10220
100906b0
UW
102212008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10222
10223 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10224
4584e32e
DE
102252008-04-17 Doug Evans <dje@google.com>
10226
10227 * gdb.base/hashline1.exp: New testcase.
10228 * gdb.base/hashline2.exp: New testcase.
10229 * gdb.base/hashline2.exp: New testcase.
10230
0a320680
PA
102312008-04-17 Pedro Alves <pedro@codesourcery.com>
10232
10233 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10234
18ac113b
AR
102352008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10236
10237 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10238 temporary breakpoint to match "Temporary breakpoint".
10239 * gdb.base/break.exp (delete_breakpoints): Likewise.
10240 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10241 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10242 * gdb.base/display.exp: Likewise.
10243 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10244 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10245 * gdb.base/restore.exp (restore_tests): Likewise.
10246 * gdb.base/sepdebug.exp: Likewise.
10247 * gdb.base/watchpoint.exp: Likewise.
10248 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10249 * gdb.mi/mi-pending.exp: Likewise.
10250 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10251 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10252 * gdb.mi/mi-var-cmd.exp: Likewise.
10253 * gdb.mi/mi-var-display.exp: Likewise.
10254 * gdb.mi/mi2-cli.exp: Likewise.
10255 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10256 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10257 * gdb.mi/mi2-var-display.exp: Likewise.
10258 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10259 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10260 new "disp" field.
a9c64011 10261 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10262 reason. This is to support fix for PR2424.
10263
add38693
JK
102642008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10265
10266 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10267
fcacd99f
VP
102682008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10269
10270 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10271 field. Add more floating varobj tests.
fcacd99f 10272 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10273 field.
10274 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10275 (main): Call do_at_tests.
10276 * lib/mi-support.exp (mi_create_floating_varobj)
10277 (mi_varobj_update_with_type_change): New.
fcacd99f 10278
de051565
MK
102792008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10280
10281 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10282 option of -var-evaluate-expression.
10283 * gdb.mi/mi2-var-display.exp: Likewise.
10284
dbc52822
VP
102852008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10286
10287 Introduce test setup helpers.
a9c64011
AS
10288 * lib/gdb.exp (build_executable, clean_restart)
10289 (prepare_for_testing): New.
10290 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10291 * gdb.base/return.exp: Likewise.
10292 * gdb.base/ending-run.exp: Likewise.
dbc52822 10293
473591da
NR
102942008-04-07 Nick Roberts <nickrob@snap.net.nz>
10295
10296 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10297 Interface (MI) responses.
10298
2b2d9e11
VP
102992008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10300
a9c64011
AS
10301 * gdb.cp/breakpoint.cc: New code to test conditions involving
10302 member variables.
10303 * gdb.cp/breakpoint.exp: Test condition involving member
10304 variables.
2b2d9e11 10305
bb378428
VP
103062008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10307
10308 * lib/mi-support.exp (mi_expect_stop): New.
10309 (mi_run_cmd): Change the
10310 token. Use mi_send_resuming_command, use
10311 mi_expect_stop.
10312 (mi_execute_to_helper): Rename to mi_execute_to.
10313 (mi_send_resuming_command): Add more error patterns.
10314 (mi_wait_for_stop): Renamed to...
10315 (mi_get_stop_line): ...this.
10316 (mi_run_inline_test): Adjust.
10317
10318 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10319 * gdb.mi/mi-console.exp: Likewise.
10320 * gdb.mi/mi-pending.exp: Likewise.
10321 * gdb.mi/mi-simplerun.exp: Likewise.
10322 * gdb.mi/mi-stack.exp: Likewise.
10323 * gdb.mi/mi-stepi.exp: Likewise.
10324 * gdb.mi/mi-syn-frame.exp: Add comment.
10325 * gdb.mi/mi-until.exp: Likewise.
10326 * gdb.mi/mi-var-display.exp: Likewise.
10327 * gdb.mi/mi-watch.exp: Likewise.
10328 * gdb.mi/mi2-cli.exp: Likewise.
10329 * gdb.mi/mi2-console.exp: Likewise.
10330 * gdb.mi/mi2-simplerun.exp: Likewise.
10331 * gdb.mi/mi2-stack.exp: Likewise.
10332 * gdb.mi/mi2-stepi.exp: Likewise.
10333 * gdb.mi/mi2-until.exp: Likewise.
10334 * gdb.mi/mi2-var-display.exp: Likewise.
10335 * gdb.mi/mi2-watch.exp: Likewise.
10336
62172bb9
UW
103372008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10338
10339 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10340
10341 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10342
a13e061a
PA
103432008-04-04 Pedro Alves <pedro@codesourcery.com>
10344
10345 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10346 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10347 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10348 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10349 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10350 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10351 expect an mi error duplicated in stderr.
10352
eae06beb
JB
103532008-04-03 Joel Brobecker <brobecker@adacore.com>
10354
10355 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10356 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10357 Add a couple of tests that verify the behavior when the new setting
10358 is set to "cancel" and "all".
10359 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10360 "ask" before we start the testing.
10361
79c6ced6
AR
103622008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10363
10364 * gdb.cp/casts.cc: Add class reference variables.
10365 * gdb.cp/casts.exp: New test cases for up/down casting references.
10366
6c2d1a6b
MK
103672008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10368
10369 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10370 instead of beginning to make an extra test pass.
10371 * gdb.mi/mi2-var-display.exp: Likewise.
10372
55b411d9
MR
103732008-03-31 Maciej W. Rozycki <macro@mips.com>
10374
10375 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10376
c6140da2
MD
103772008-03-31 Markus Deuling <deuling@de.ibm.com>
10378 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10379
10380 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10381 value. Add xfail for older kernels.
10382
79732189
AR
103832008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10384
10385 Bring mi-support in line with gdb.exp.
10386 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10387 (mi_gdb_start): New function.
10388
33c3676e
MR
103892008-03-28 Maciej W. Rozycki <macro@mips.com>
10390
10391 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10392
92e28119
VP
103932008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10394
10395 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10396 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10397
9e8e3afe
VP
103982008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10399
10400 * lib/mi-support.exp (mi_create_varobj_checked): New.
10401 (mi_list_varobj_children): Allow to check for a
10402 value.
10403 (mi_list_array_varobj_children): New.
10404
10405 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10406 and mi_list_varobj_children, as opposed to hardcoding
10407 expected strings.
10408 * gdb.mi/gdb701.exp: Likewise.
10409 * gdb.mi/gdb792.exp: Likewise.
10410 * gdb.mi/mi-var-block.exp: Likewise.
10411 * gdb.mi/mi-var-cmd.exp: Likewise.
10412 * gdb.mi/mi-var-invalidate.exp: Likewise.
10413 * gdb.mi/mi2-var-block.exp: Likewise.
10414 * gdb.mi/mi2-var-child.exp: Likewise.
10415 * gdb.mi/mi2-var-cmd.exp: Likewise.
10416 * gdb.mi/mi2-var-display.exp: Likewise.
10417
9df50351
JK
104182008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10419
10420 Fix random false FAILs on i386.
10421 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10422
31e5d73a
DJ
104232008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10424
10425 PR gdb/544
10426 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10427
12f4afab
DJ
104282008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10429
10430 PR gdb/544
10431 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10432
b562a0cb
DJ
104332008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10434
10435 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10436 fixed PR gdb/544.
10437
17faa917
DJ
104382008-03-21 Pedro Alves <pedro@codesourcery.com>
10439
10440 * gdb.threads/fork-child-threads.exp: Test next over fork.
10441
6214f497
DJ
104422008-03-21 Chris Demetriou <cgd@google.com>
10443
10444 * gdb.base/break.exp (rbreak junk): New test for rbreak
10445 "Junk at end of arguments" issue.
10446
63092375
DJ
104472008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10448
10449 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10450 *& to work on created array elements.
10451 (Top level): Test print $pc with a file. Test string operations
10452 without a target.
10453 * gdb.base/ptype.exp: Do not expect *& to work on created array
10454 elements.
10455
b21991b0
DJ
104562008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10457
10458 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10459 gdb.threads/staticthreads.exp: Update exit query.
10460
c4b347c7
SL
104612008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10462
10463 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10464
fa4727a6
DJ
104652008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10466
10467 * gdb.base/watchpoint.c (global_ptr, func4): New.
10468 (main): Call func4.
10469 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10470 (test_inaccessible_watchpoint): New.
10471
2f34202f
MR
104722008-02-29 Maciej W. Rozycki <macro@mips.com>
10473
10474 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10475 select the largest.
10476
0d6ba1b1
DJ
104772008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10478
10479 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10480 frames-invalid annotations.
10481
e691325a
PM
104822008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10483
a9c64011 10484 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10485
f85b5ecc
DE
104862008-02-27 Doug Evans <dje@google.com>
10487
10488 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10489 for bug 1738.
10490 (breakpoint_to_handler_entry): Ditto.
10491
b40e7bf3
JB
104922008-02-27 Joel Brobecker <brobecker@adacore.com>
10493
10494 * gdb.base/ending-run.exp: Use the first line of code inside
10495 function body to test breakpoints.
10496 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10497 location where the breakpoint is inserted when using the line
10498 where a function is declared. Fix typo in the description of
10499 one of the tests.
10500 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10501
2faca73a
PM
105022008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10503
10504 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10505 tests.
2faca73a 10506
6f439c36
PM
105072008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10508
10509 * gdb.base/args.exp: avoid same output for tests
10510 with single quotes.
10511
54e52265
VP
105122008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10513
a9c64011
AS
10514 * gdb.base/annota1.exp: Adjust for 'info break'
10515 format changes.
10516 * gdb.base/annota3.exp: Likewise.
10517 * gdb.base/break.exp: Likewise.
10518 * gdb.base/condbreak.exp: Likewise.
10519 * gdb.base/pending.exp: Likewise.
10520 * gdb.base/sepdebug.exp: Likewise.
10521 * gdb.base/unload.exp: Likewise.
10522 * gdb.cp/ovldbreak.exp: Likewise.
10523 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10524
897b09ca
DE
105252008-02-07 Doug Evans <dje@google.com>
10526
10527 * gdb.cp/mb-inline.exp: New.
10528 * gdb.cp/mb-inline.h: New.
10529 * gdb.cp/mb-inline1.cc: New.
10530 * gdb.cp/mb-inline2.cc: New.
10531
b1c32d35
PM
105322008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10533
10534 * gdb.pascal/floats.pas: New test program.
10535 * gdb.pascal/floats.exp: New testcase.
10536
1a4ca44a
TJB
105372008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10538
10539 * gdb.base/callfuncs.c (t_float_many_args): New function.
10540 (t_double_many_args): New function.
10541 * gdb.base/callfuncs.exp: Add tests for exceeding float
10542 and double parameters passed through the stack.
10543
439048e8
JB
105442008-02-05 Joel Brobecker <brobecker@adacore.com>
10545
10546 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10547 gdb.ada/complete/foo.adb: New files.
10548 * gdb.ada/complete.exp: New testcase.
10549
81fe8080
DE
105502008-02-03 Doug Evans <dje@google.com>
10551
301f0ecf
DE
10552 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10553
81fe8080
DE
10554 * gdb.cp/gdb2384.exp: New file.
10555 * gdb.cp/gdb2384.cc: New file.
10556 * gdb.cp/gdb2384-base.h: New file.
10557 * gdb.cp/gdb2384-base.cc: New file.
10558
4b071aec
DE
105592008-02-02 Doug Evans <dje@google.com>
10560
10561 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10562
61137ba6
JB
105632007-02-01 Joel Brobecker <brobecker@adacore.com>
10564
10565 * gdb.ada/sym_print_name: New test program.
10566 * gdb.ada/sym_print_name.exp: New testcase.
10567
105682007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10569
10570 * gdb.ada/nested/hello.adb: New file.
10571 * gdb.ada/nested.exp: New testcase.
10572 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10573
98deb0da
VP
105742008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10575
10576 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10577 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10578 don't cause future evaluations of function to report
10579 creation of internal breakpoints.
98deb0da 10580
723a2275
VP
105812008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10582
10583 * gdb.mi/mi-break.exp (test_error): New.
10584 Call it.
10585
fb546a2f
LM
105862008-01-31 Luis Machado <luisgpm@br.ibm.com>
10587
10588 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10589 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10590
2d8fd90a
PM
105912008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10592
10593 * gdb.pascal/integers.pas: New test program.
10594 * gdb.pascal/integers.exp: New testcase.
10595
a7fa0ded
PM
105962008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10597
10598 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10599
5e1a1926
TJB
106002008-01-30 Luis Machado <luisgpm@br.ibm.com>
10601
10602 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10603 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10604
8d04f9f0
JB
106052008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10606
10607 * gdb.ada/formatted_ref: New test program.
10608 * gdb.ada/formatted_ref.exp: New testcase.
10609
10610 * gdb.cp/formatted-ref.cc: New file.
10611 * gdb.cp/formatted-ref.exp: New testcase.
10612
ce75a98f
JB
106132008-01-30 Joel Brobecker <brobecker@adacore.com>
10614
10615 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10616
e835f6bf
NR
106172008-01-30 Nick Roberts <nickrob@snap.net.nz>
10618
10619 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10620 (test_file_list_exec_source_file): Update to new macro-info field.
10621
d118ef87
PH
106222008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10623
10624 * gdb.ada/exprs: New test program.
10625 * gdb.ada/exprs.exp: New testcase.
10626
7d35ab09
TJB
106272008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10628
10629 * dfp-test.c (DELTA, DELTA_B): New definitions.
10630 (double_val1, double_val2, double_val3, double_val4, double_val5,
10631 double_val6, double_val7, double_val8, double_val9, double_val10,
10632 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10633 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10634 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10635 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10636 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10637 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10638 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10639 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10640 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10641 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10642 dec128_val16): New global variables.
10643 (decimal_dec128_align): New function.
10644 (decimal_mixed): Likewise.
10645 (decimal_many_args_dec32): Likewise.
10646 (decimal_many_args_dec64): Likewise.
10647 (decimal_many_args_dec128): Likewise.
10648 (decimal_many_args_mixed): Likewise.
10649 * dfp-test.exp: Add tests calling new inferior functions.
10650
2d717e4f
DJ
106512008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10652
10653 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10654 gdb.server/ext-run.exp: New files.
10655 * lib/gdbserver-support.exp (gdbserver_download): New.
10656 (gdbserver_start): New. Update gdbserver expected
10657 output.
10658 (gdbserver_spawn): Use them.
10659 (gdbserver_start_extended): New.
10660
e85a822c
DJ
106612008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10662
10663 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10664 Run on GNU/Linux.
10665 (do_exec_tests): Check for systems which do not support catchpoints.
10666 Do not match START.
10667 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10668 Run on GNU/Linux. Enable verbose output.
10669 (check_fork_catchpoints): New.
10670 (explicit_fork_child_follow, catch_fork_child_follow)
10671 (tcatch_fork_parent_follow): Update expected messages.
10672 (do_fork_tests): Use check_fork_catchpoints.
10673 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10674 Run on GNU/Linux. Enable verbose output.
10675 (check_vfork_catchpoints): New.
10676 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10677 expected messages.
10678 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10679
401ea829
JB
106802008-01-29 Jim Blandy <jimb@red-bean.com>
10681
10682 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10683 host' errors.
10684 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10685
aceaf3ad
JB
106862008-01-29 Jim Blandy <jimb@red-bean.com>
10687
10688 * gdb.threads/sigthread.c: Use barriers to ensure that
10689 child_thread and child_thread_two are always initialized before we
10690 start to use them.
10691
a5606eee
VP
106922008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10693
10694 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10695 * gdb.base/watchpoint-solib.c: New.
10696 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10697
c55a82bb
PM
106982008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10699
10700 * gdb.base/gdb1056.exp: Add unsigned integer test.
10701
0993fe05
DE
107022008-01-28 Doug Evans <dje@google.com>
10703
10704 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10705
4fe42e7f
JB
107062008-01-27 Jim Blandy <jimb@codesourcery.com>
10707
c7a69933
JB
10708 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10709
4fe42e7f
JB
10710 * gdb.base/expand-psymtabs.exp: Doc fix.
10711
5def8285
MK
107122008-01-26 Mark Kettenis <kettenis@gnu.org>
10713
10714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10715
5313c911
NR
107162008-01-24 Nick Roberts <nickrob@snap.net.nz>
10717
a9c64011 10718 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10719 -var-set-format.
10720
93815fbf
VP
107212008-01-23 Chris Demetriou <cgd@google.com>
10722
10723 * gdb.threads/thread_events.c: New testcase source file.
10724 * gdb.threads/thread_events.exp: New testcase expect file.
10725
467a88ee
NR
107262008-01-23 Nick Roberts <nickrob@snap.net.nz>
10727
10728 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10729
10730 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10731 -var-set-format.
10732
d8f82aba
DJ
107332008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10734 Vladimir Prus <vladimir@codesourcery.com>
10735
10736 * gdb.base/float.exp: Allow missing floating point for m68k and
10737 PowerPC.
10738
60c46647
VP
107392008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10740
10741 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10742 ignore count.
10743 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10744 * gdb.mi/mi-cli.exp: Adjust.
10745 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10746
c7dd36a1
PA
107472008-01-17 Pedro Alves <pedro@codesourcery.com>
10748
10749 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10750 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10751 with dummy_ptr's address.
10752 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10753 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10754 all targets.
10755 * gdb.mi/mi2-var-child.exp: Likewise.
10756
39d5313e
JB
107572008-01-09 Joel Brobecker <brobecker@adacore.com>
10758
10759 * gdb.ada/null_array: New test program.
10760 * gdb.ada/null_array.exp: New testcase.
10761
0aea4bf3
LM
107622008-01-09 Luis Machado <luisgpm@br.ibm.com>
10763
10764 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10765 with required float modifiers.
10766
0b354900
JB
107672008-01-08 Joel Brobecker <brobecker@adacore.com>
10768
10769 * gdb.ada/funcall_param: New test program.
10770 * gdb.ada/funcall_param.exp: New testcase.
10771
cdb7f5d4
JB
107722008-01-08 Joel Brobecker <brobecker@adacore.com>
10773
10774 * gdb.ada/arrayparam: New test program.
10775 * gdb.ada/arrayparam.exp: New testcase.
10776
88e2547f
JB
107772008-01-08 Joel Brobecker <brobecker@adacore.com>
10778
10779 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10780 landed. Should also fix random failures in the test following it.
10781
f6867ce0
TJB
107822008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10783
10784 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10785 for expressions with decimal float values.
10786 (test_dfp_conversions): New function to test casts to and from
10787 decimal float types.
10788 Call test_dfp_conversions.
10789 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10790 elements.
10791 (main): Initialize ds.float4 and ds.double8 elements.
10792 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10793 string to new error message.
10794 (d64_set_tests): Likewise.
10795 (d128_set_tests): Likewise.
10796 Add tests for expressions with decimal float variables. Add tests for
10797 conversions to and from decimal float types.
10798
f9c11282
JB
107992008-01-05 Joel Brobecker <brobecker@adacore.com>
10800
10801 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10802 * gdb.ada/packed_tagged.exp: New testcase.
10803
0ecbca72
JB
108042008-01-04 Joel Brobecker <brobecker@adacore.com>
10805
10806 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10807 gdb.ada/homonym/homonym_main.adb: New files.
10808 * gdb.ada/homonym.exp: New testcase.
10809
c18d3d89
JB
108102008-01-04 Joel Brobecker <brobecker@adacore.com>
10811
10812 * gdb.ada/packed_array.exp: Add testing of references to
10813 a packed array.
10814
ecc7085b
JB
108152008-01-04 Joel Brobecker <brobecker@adacore.com>
10816
10817 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10818 New files.
10819 * gdb.ada/type_coercion.exp: New testcase.
10820
c474c922
JB
108212008-01-04 Joel Brobecker <brobecker@adacore.com>
10822
10823 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10824 gdb.ada/tagged/foo.adb: New file.
10825 * gdb.ada/tagged.exp: New testcase.
10826
9005b927
JB
108272008-01-04 Joel Brobecker <brobecker@adacore.com>
10828
10829 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10830 gdb.ada/ptype_field/foo.adb: New files.
10831 * gdb.ada/ptype_field.exp: New testcase.
10832
1a6aaad8
JB
108332008-01-03 Joel Brobecker <brobecker@adacore.com>
10834
10835 * gdb.ada/print_pc.exp: New testcase.
10836
0ef22f53
JB
108372008-01-03 Joel Brobecker <brobecker@adacore.com>
10838
10839 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10840 gdb.ada/taft_type/p.adb: New files.
10841 * gdb.ada/taft_type.exp: New testcase.
10842
1689ecf8
JB
108432008-01-03 Joel Brobecker <brobecker@adacore.com>
10844
10845 * gdb.ada/array_bounds/bar.adb: New file.
10846 * gdb.ada/array_bounds.exp: New testcase.
10847
a4d0b9c3
JB
108482008-01-03 Joel Brobecker <brobecker@adacore.com>
10849
10850 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10851 gdb.ada/arrayptr/foo.adb: New files.
10852 * gdb.ada/arrayptr.exp: New testcase.
10853
a31ace00
JB
108542008-01-03 Joel Brobecker <brobecker@adacore.com>
10855
10856 * gdb.base/set-lang-auto.exp: New testcase.
10857
a97fced3
JB
108582008-01-03 Joel Brobecker <brobecker@adacore.com>
10859
10860 * gdb.ada/fun_addr/foo.adb: New file.
10861 * gdb.ada/fun_addr.exp: New testcase.
10862
ef29ce1a
JK
108632008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10864
10865 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10866 New files
10867
0fafefe3
JB
108682008-01-02 Joel Brobecker <brobecker@adacore.com>
10869
10870 * array_subscript_addr/p.adb: New file.
a9c64011 10871 * array_subscript_addr.exp: New testcase.
0fafefe3 10872
c4359f8d
JB
108732008-01-02 Joel Brobecker <brobecker@adacore.com>
10874
a9c64011 10875 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10876 New files.
10877 * gdb.ada/str_cmp_ref.exp: New testcase.
10878
1aa1b15b
JB
108792008-01-01 Joel Brobecker <brobecker@adacore.com>
10880
10881 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10882 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10883 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10884
81c9b2cf
JB
108852008-01-01 Joel Brobecker <brobecker@adacore.com>
10886
10887 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10888 gdb.ada/ref_param/pck.ads: New files.
10889 * gdb.ada/ref_param.exp: New testcase.
10890
319e4674
JB
108912008-01-01 Joel Brobecker <brobecker@adacore.com>
10892
10893 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10894 gdb.ada/interface/foo.adb: New files.
10895 * gdb.ada/interface.exp: New testcase.
10896
ef682c56
JB
108972007-12-31 Jim Blandy <jimb@codesourcery.com>
10898
10899 * gdb.base/multi-forks.exp: Consume all output from child
10900 processes before proceeding to next test.
10901
f6f3eb6c
JB
109022007-12-29 Jim Blandy <jimb@codesourcery.com>
10903
10904 * configure: Regenerated.
10905
f652e42f
JB
109062007-12-27 Joel Brobecker <brobecker@adacore.com>
10907
10908 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10909 gdb.ada/fixed_cmp/fixed.adb: New files.
10910 * gdb.ada/fixed_cmp.exp: New testcase.
10911
6943e596
JB
109122007-12-27 Joel Brobecker <brobecker@adacore.com>
10913
10914 * gdb.ada/boolean_expr.exp: New testcase.
10915
aad9a193
JB
109162007-12-26 Jim Blandy <jimb@codesourcery.com>
10917
10918 * gdb.base/multi-forks.exp: Doc fix.
10919
fb5f3683
JB
109202007-12-26 Joel Brobecker <brobecker@adacore.com>
10921
10922 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10923 * gdb.ada/char_param.exp: Do not compile our test program with
10924 -gnata, this is unnecessary.
10925 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10926
384e4a9c
JB
109272007-12-24 Joel Brobecker <brobecker@adacore.com>
10928
10929 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10930 gdb.ada/print_chars/foo.adb: New files.
10931 * gdb.ada/print_chars.exp: New testcase.
10932
01e044f7
JB
109332007-12-24 Joel Brobecker <brobecker@adacore.com>
10934
10935 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10936 gdb.ada/char_param/foo.adb: New files.
10937 * gdb.ada/char_param.exp: New testcase.
10938
0ce17860
JB
109392007-12-22 Jim Blandy <jimb@codesourcery.com>
10940
10941 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10942 hard-coding source line numbers into the test.
10943 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10944 gdb_get_line_number to find.
10945
919809b9
JB
109462007-12-22 Joel Brobecker <brobecker@adacore.com>
10947
10948 * gdb.base/ptype.c (highest): New struct type.
10949 (the_highest): New variable of that type.
10950 (main): Add dummy assignment to a field of variable the_highest.
10951 * gdb.base/ptype.exp: Test type printing of our new variable.
10952
abc8a88d
PM
109532007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10954
10955 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10956 and record first explicitly generated thread number.
abc8a88d
PM
10957 Use that thread number for thread specific watchpoint test.
10958 Add iteration number to repetitive tests.
10959
5158f3e3
CES
109602007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10961 Jim Blandy <jimb@codesourcery.com>
10962
10963 * gdb.base/expand-psymtabs.c: New testcase
10964 source file.
10965 * gdb.base/expand-psymtabs.exp: New testcase
10966 expect file.
10967
37e4754d
LM
109682007-12-17 Luis Machado <luisgpm@br.ibm.com>
10969
10970 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10971 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10972
551e5d04
JB
109732007-12-17 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.ada/frame_args/foo.adb: New file.
10976 * gdb.ada/frame_args/pck.ads: New file.
10977 * gdb.ada/frame_args/pck.adb: New file.
10978 * gdb.ada/frame_args.exp: New testcase.
10979
a05ee097
JB
109802007-12-17 Joel Brobecker <brobecker@adacore.com>
10981
10982 * gdb.base/frame-args.c: New file.
10983 * gdb.base/frame-args.exp: New testcase.
10984
c162e8c9 109852007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10986 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10987
10988 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10989
afe8ab22 109902007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10991
afe8ab22
VP
10992 * gdb.mi/mi-pending.exp: New.
10993 * gdb.mi/mi-pending.c: New.
10994 * gdb.mi/mi-pendshr.c: New.
10995
dfdfb3ca
JB
109962007-12-06 Jim Blandy <jimb@codesourcery.com>
10997
10998 * gdb.base/default.exp: Update expected output for 'info catch'.
10999
b7fca990
JK
110002007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11001
11002 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11003 must be set to binary.
11004
6a1afc1e
PA
110052007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11006
11007 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11008
a6b151f1
DJ
110092007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11010
11011 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11012 gdb.mi/mi-file-transfer.exp: New.
11013
43039443
JK
110142007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11015
11016 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11017
0ef2251b
MR
110182007-11-22 Maciej W. Rozycki <macro@mips.com>
11019
11020 * gdb.trace/backtrace.exp: Fix a typo.
11021 * gdb.trace/circ.exp: Likewise.
11022 * gdb.trace/collection.exp: Likewise.
11023 * gdb.trace/limits.exp: Likewise.
11024 * gdb.trace/report.exp: Likewise.
11025 * gdb.trace/tfind.exp: Likewise.
11026 * gdb.trace/while-dyn.exp: Likewise.
11027
5443631e
NR
110282007-11-21 Nick Roberts <nickrob@snap.net.nz>
11029
11030 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11031 objects of pointers that can't be dereferenced are now
11032 "noneditable".
11033
a4ce5b0d
UW
110342007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11035
11036 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11037 (target_cpu): Remove.
11038
d6e956e5
VP
110392007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11040
11041 * gdb.base/ending-run.exp: Expect the list of cleared
11042 breakpoint to come in natural order, not the reversed one.
a9c64011 11043
214270ab
VP
110442007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11045
11046 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11047 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11048
1a619819
LM
110492007-11-05 Luis Machado <luisgpm@br.ibm.com>
11050
11051 * gdb.base/printcmds.exp: New function
11052 test_printf_with_dfp.
11053
5b01a6fa
DE
110542007-11-02 Doug Evans <dje@google.com>
11055
11056 * gdb.disasm/t01_mov.s: Remove carriage returns.
11057 * gdb.disasm/t02_mova.s: Ditto.
11058 * gdb.disasm/t03_add.s: Ditto.
11059 * gdb.disasm/t04_sub.s: Ditto.
11060 * gdb.disasm/t05_cmp.s: Ditto.
11061 * gdb.disasm/t06_ari2.s: Ditto.
11062 * gdb.disasm/t07_ari3.s: Ditto.
11063 * gdb.disasm/t08_or.s: Ditto.
11064 * gdb.disasm/t09_xor.s: Ditto.
11065 * gdb.disasm/t10_and.s: Ditto.
11066 * gdb.disasm/t11_logs.s: Ditto.
11067 * gdb.disasm/t12_bit.s: Ditto.
11068 * gdb.disasm/t13_otr.s: Ditto.
11069
ec33ab7f
JK
110702007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11071
11072 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11073
ae0d01ff
UW
110742007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11075
11076 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11077 provide DFP support.
11078
55eddb0f
DJ
110792007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11080
11081 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11082 Test "set powerpc vector-abi". Skip auto-detection tests for old
11083 toolchains.
11084
7020f05c
PA
110852007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11086
11087 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11088 with [string compare].
11089
84bc3db9
PA
110902007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11091
11092 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11093 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11094
5876dc88
LM
110952007-10-25 Luis Machado <luisgpm@br.ibm.com>
11096
11097 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11098 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11099 * gdb.opt/Makefile.in: New makefile.
11100 * Makefile.in: Create new directory "gdb.opt".
11101 * configure.ac: Add "gdb.opt" directory.
11102 * configure: Regenerated.
a9c64011 11103
c3ea9a14
DE
111042007-10-25 Doug Evans <dje@google.com>
11105
11106 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11107 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11108
a9c64011 111092007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11110 Thiago Jung Bauermann <bauerman@br.ibm.com>
11111
11112 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11113 Floating Point expressions.
11114 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11115 Floating Point variables.
11116 * gdb.base/dfp-test.c: new file containing program with Decimal
11117 Floating variables, used by gdb.base/dfp-test.exp.
11118
62a24a2b
DJ
111192007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11120
11121 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11122
e7b1eae6
UW
111232007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11124
11125 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11126 compiling test case with GCC.
11127 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11128
c641edcc
UW
111292007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11130
11131 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11132 format changes.
11133
5e5ebfe6
MS
111342007-10-18 Michael Snyder <msnyder@specifix.com>
11135
11136 * gdb.base/dbx.exp: Add missing "-re " operator.
11137
e831e7b6
GM
111382007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11139
11140 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11141 * configure.ac: Removed trailing spaces after backslash.
11142 * gdb.modula2: New directory.
11143 * gdb.modula2/Makefile.in: New file.
11144 * gdb.modula2/unbounded-array.exp: New file.
11145 * gdb.modula2/unbounded1.c: New file.
11146
7cc46491
DJ
111472007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11148
11149 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11150
111512007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11152
11153 * gdb.base/sigstep.c (main): Add checks for
11154 return values for setitimer call.
11155 Call setitimer again with itimer = ITIMER_REAL
11156 if first call to setitimer fails.
11157
e91528f0
KH
111582007-10-11 Kazu Hirata <kazu@codesourcery.com>
11159
11160 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11161 of $timeout.
11162
2ec9a4f8
DJ
111632007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11164
11165 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11166
111672007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11168
11169 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11170 of gdb_expect call, to avoid interruption.
11171
64b2fa04
PA
111722007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11173
11174 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11175 (v_unsigned_long_long, v_long_long_array)
11176 (v_signed_long_long_array, v_unsigned_long_long_array)
11177 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11178 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11179 [!NO_LONG_LONG]: New.
11180 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11181 v_long_long_member.
11182
11183 (v_long_long_func, v_signed_long_long_func)
11184 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11185 (main) [!NO_LONG_LONG]: Initialize long long variants.
11186
11187 * gdb.base/whatis.exp: If board file requests no_long_long, build
11188 test with NO_LONG_LONG defined. Test long long, signed long long,
11189 and unsigned long long variants but only if board file doesn't
11190 disable it.
11191
a912286e 111922007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11193 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11194
11195 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11196 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11197 * configure: Regenerated.
11198 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11199 gdb.pascal/types.exp, lib/pascal.exp: New files.
11200
471ba8c9
DJ
112012007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11202
11203 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11204 call.
11205 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11206 to return to the call.
11207 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11208 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11209 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11210 * gdb.mi/mi-until.exp (test_until): Likewise.
11211 * gdb.mi/mi2-until.exp (test_until): Likewise.
11212
fef8a650
DJ
112132007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11214
11215 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11216 two-char array.
11217 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11218
d983da9c
DJ
112192007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11220
11221 * gdb.threads/watchthreads.c (thread_function): Sleep between
11222 iterations.
11223 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11224 at once for S/390. Generate matching fails and passes.
11225
17f62551
VP
112262007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11227
11228 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11229 the 'struct_declarations' variable to zeros.
a9c64011 11230
ed0616c6
VP
112312007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11232
11233 * gdb.cp/mb-ctor.cc: New.
11234 * gdb.cp/mb-ctor.exp: New.
11235 * gdb.cp/mb-templates.cc: New.
11236 * gdb.cp/mb-templates.exp: New.
11237
41f1b697
DJ
112382007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11239
11240 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11241
3f213f78
PA
112422007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11243
11244 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11245 targets.
11246 * configure: Regenerate.
11247
0d381245 112482007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11249
0d381245
VP
11250 * gdb.base/annota1.exp: Adjust for 'info break'
11251 format changes.
11252 * gdb.base/annota3.exp: Likewise.
11253 * gdb.base/break.exp: Likewise.
11254 * gdb.base/condbreak.exp: Likewise.
11255 * gdb.base/pending.exp: Likewise.
11256 * gdb.base/sepdebug.exp: Likewise.
11257 * gdb.base/unload.exp: Likewise.
11258 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11259
fe3f5fa8
VP
112602007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11261
11262 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11263 messages.
11264 * gdb.base/chng-syms.exp: Likewise.
11265 * gdb.base/unload.exp: Likewise.
a9c64011 11266
a75cf6c0
DJ
112672007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11268
11269 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11270
18ecae38
DJ
112712007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11272
11273 * schedlock.c (NUM): Change to 1.
11274 (main): Use args[0] for the main thread.
11275 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11276 regardless of the number of threads.
11277
5509918f
MR
112782007-09-14 Maciej W. Rozycki <macro@mips.com>
11279
4a543daf
MR
11280 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11281 type down.
11282 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11283 test.
11284 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11285 watchpoint type down.
11286 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11287 test.
11288
112892007-09-14 Maciej W. Rozycki <macro@mips.com>
11290
5509918f
MR
11291 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11292 Move all the tests here and run them twice, once using software
11293 watchpoints and once using hardware watchpoints.
11294 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11295
40b53987
DJ
112962007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11297
11298 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11299 test.
11300
695e2681
MK
113012007-09-10 Mark Kettenis <kettenis@gnu.org>
11302
8b3fc8d8
MK
11303 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11304 build-id.
11305
695e2681
MK
11306 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11307 know about $ORIGIN. Calculate output dir from $dest instead of
11308 using ${objdir}/{$subdir}.
11309
58d69f29
MK
113102007-09-09 Mark Kettenis <kettenis@gnu.org>
11311
11312 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11313 gcore, before continuing with the test.
11314
3e347599
DJ
113152007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11316
11317 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11318 * gdb.mi/mi-watch.exp: Likewise.
11319
ea37ba09
DJ
113202007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11321 Jim Blandy <jimb@codesourcery.com>
11322
11323 * gdb.arch/i386-sse.exp: Do not expect character constants.
11324 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11325 * gdb.base/display.exp: Allow print/s.
11326 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11327 and unsigned char array changes.
11328
2025a643
DJ
113292007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11330
11331 * gdb.base/display.exp: Add tests for printf %p.
11332
26669a27
PA
113332007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11334
11335 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11336 the dll name to unicode.
11337
c8f021f8
JK
113382007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11339
11340 * gdb.base/default.exp (show version): Update the version text.
11341 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11342
4cf31eea
JK
113432007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11344
11345 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11346 New files.
11347
4935890f
JK
113482007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11349
11350 * lib/gdb.exp (build_id_debug_filename_get): New function.
11351 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11352 Remove the generate DEBUG file for the future testcase runs.
11353 New testcase for the NT_GNU_BUILD_ID retrieval.
11354 Move the final testing step to ...
11355 (test_different_dir): ... a new function.
11356 New parameter XFAIL to XFAIL all the tests performed.
11357 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11358 New parameter TYPE to PF_PREFIX all the tests performed.
11359
02142340
VP
113602007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11361
11362 * gdb.mi/mi-var-cp.cc (path_expression): New
11363 function.
11364 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11365
36acd84e
UW
113662007-08-27 Markus Deuling <deuling@de.ibm.com>
11367
11368 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11369 to fit into SPU Local Store memory.
11370
a896d121
JB
113712007-08-23 Joel Brobecker <brobecker@adacore.com>
11372
11373 * gdb.base/default.exp: Adjust the expected output of "info
11374 warranty" after the switch to GPLv3.
11375
7b433602
JB
113762007-08-23 Joel Brobecker <brobecker@adacore.com>
11377
11378 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11379 to 30000 (from 20000).
11380
e22f8b7c
JB
113812007-08-23 Joel Brobecker <brobecker@adacore.com>
11382
11383 Switch the license of all .exp files to GPLv3.
11384 Switch the license of all .f and .f90 files to GPLv3.
11385 Switch the license of all .s and .S files to GPLv3.
11386
5a0e3bd0
JB
113872007-08-23 Joel Brobecker <brobecker@adacore.com>
11388
11389 * configure.ac: Switch license to GPLv3.
11390
cc00619d
JB
113912007-08-23 Joel Brobecker <brobecker@adacore.com>
11392
11393 Switch the licensing to GPLv3 for all .ads and .adb files.
11394
8d26208a
DJ
113952007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11396
11397 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11398 and t_int_double.
11399 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11400
4fcb9948
JB
114012007-08-17 Joel Brobecker <brobecker@adacore.com>
11402
11403 * gdb.base/step-line.c: Switch license to GPL version 3, and
11404 update copyright year.
11405 * gdb.base/step-line.inp: Likewise.
11406
b9c34f67
JB
114072007-08-17 Joel Brobecker <brobecker@adacore.com>
11408
11409 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11410 changes inside gdb1555.c.
11411 * gdb.base/pending.exp: Likewise.
11412
2cc17678
DJ
114132007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11414
11415 * config/default.exp: New file.
11416
e48883f7
DJ
114172007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11418
11419 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11420 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11421
1ab80e5b
MR
114222007-07-30 Maciej W. Rozycki <macro@mips.com>
11423
11424 * gdb.base/dump.exp: Force the correct endianness for binary
11425 formats not carrying this information.
11426
aba471f5
DJ
114272007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11428
11429 * gdb.threads/staticthreads.exp: Match .*sem_post.
11430
d4e07204
DJ
114312007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11432
11433 * gdb.base/readline.exp (operate_and_get_next): Match the final
11434 prompt.
11435
2b97317d
KB
114362007-07-23 Kevin Buettner <kevinb@redhat.com>
11437
11438 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11439 to restarting SID.
11440
44efa07a
KB
114412007-07-18 Kevin Buettner <kevinb@redhat.com>
11442
11443 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11444 prior to `gdb_start'.
11445
7b5ebade
KB
114462007-07-18 Kevin Buettner <kevinb@redhat.com>
11447
11448 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11449 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11450 Remove call to gdb_unload.
11451
255e7678
DJ
114522007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11453 Daniel Jacobowitz <dan@codesourcery.com>
11454
11455 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11456 for __WIN32__.
11457 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11458 * gdb.base/unload.exp: Use shared library test routines.
11459
3a40aaa0
UW
114602007-07-03 Markus Deuling <deuling@de.ibm.com>
11461
11462 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11463 * gdb.base/solib-symbol-lib.c: Likewise.
11464 * gdb.base/solib-symbol-main.c: Likewise.
11465
b0f4b84b
DJ
114662007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11467
11468 * config/gdbserver.exp (gdb_reconnect): New.
11469 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11470 gdb.base/solib-disc.exp: New files.
11471 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11472 remote debugging".
11473 (gdb_compile): Add shlib_load flag.
11474 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11475 port.
11476 (gdbserver_reconnect): New.
11477
1b05479a
DJ
114782007-07-01 Nick Roberts <nickrob@snap.net.nz>
11479 Daniel Jacobowitz <dan@codesourcery.com>
11480
11481 * gdb.base/annota3.exp: Test for if construct.
11482
86f78eb2
DJ
114832007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11484
11485 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11486
6a2eb474 114872007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11488 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11489
11490 * gdb.base/display.exp: Allow a newline after display/i.
11491 * gdb.base/pc-fp.exp: Likewise.
11492 * gdb.base/sigbpt.exp: Likewise.
11493
f8b73d13
DJ
114942007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11495
11496 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11497 required features to be included.
11498
4339e69e
DJ
114992007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11500
11501 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11502 in info threads output.
11503
23d964e7
UW
115042007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11505 Markus Deuling <deuling@de.ibm.com>
11506
11507 * gdb.arch/spu-info.exp: New testcase.
11508 * gdb.arch/spu-info.c: New file.
11509
fd20f75b
DJ
115102007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11511
11512 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11513 tpcs_offset. Restore lr after the call.
11514 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11515
2226f861
DJ
115162007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11517
11518 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11519 (gdbserver_run): Kill any running gdbserver.
11520 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11521
d12371a9
MR
115222007-05-17 Maciej W. Rozycki <macro@mips.com>
11523
11524 * gdb.base/sigbpt.exp: Preset segv_addr.
11525
93f02886
DJ
115262007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11527
11528 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11529 (gdb_compile_shlib): Likewise.
11530 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11531 (default_gdb_init): Clear cleanfiles.
11532 (gdb_finish): Delete recorded cleanfiles.
11533 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11534
11535 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11536 Do not use isnative.
11537 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11538 gdb.base/so-impl-ld.exp: Likewise.
11539 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11540 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11541 gdb_compile.
11542
b04e06d7
VP
115432007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11544
11545 * config/unknown.exp: Remove.
11546
069ed931
UW
115472007-05-15 Markus Deuling <deuling@de.ibm.com>
11548
11549 * gdb.base/info-proc.exp: Check is_remote.
11550
09db0d03
UW
115512007-05-14 Markus Deuling <deuling@de.ibm.com>
11552
11553 * gdb.base/gcore.exp: Initialize variable core_supported.
11554
af2cbe8c
DJ
115552007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11556
11557 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11558
027c0295
DJ
115592007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11560
11561 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11562 * gdb.threads/print-threads.exp (test_all_threads): Allow
11563 negative and hexadecimal thread IDs.
11564
dc5000e7
DJ
115652007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11566
11567 * gdb.java/jprint.java (public): Avoid invalid call to static
11568 method.
11569
2e74ed18
DP
115702007-05-14 Denis Pilat <denis.pilat@st.com>
11571
11572 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11573 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11574 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11575 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11576 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11577
83547f02
UW
115782007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11579
11580 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11581 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11582 this mode.
11583 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11584 * gdb.base/spu.ld: New file.
11585
b18be20d
DJ
115862007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11587
11588 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11589
be444858
DJ
115902007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11591
11592 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11593
b1d53152
DJ
115942007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11595
11596 * gdb.java/jmain.exp: Handle demangled names with and without method
11597 signatures.
11598
d084b331
DJ
115992007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11600
11601 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11602 (have_a_very_merry_interrupt): Remove calls to puts.
11603 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11604 inferior output.
11605 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11606 test names.
11607
db9d7fc5
DJ
116082007-04-29 Markus Deuling <deuling@de.ibm.com>
11609 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 * gdb.base/auxv.exp (core_works): Also check is_remote.
11612 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11613
ef783a7d 116142007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11615
ef783a7d
VP
11616 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11617 message, not the undefined 'module' variable.
11618 * gdb.base/siginfo.exp: Likewise.
11619 * gdb.base/sigstep.exp: Likewise.
11620 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11621 serialport.
11622 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11623
b7b73cae
CV
116242007-04-25 Corinna Vinschen <vinschen@redhat.com>
11625
11626 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11627 target sim fails. Return 0 otherwise.
11628 (gdb_load): Return prematurely if gdb_target_sim fails.
11629
7d90fdfa
DP
116302007-04-16 Denis Pilat <denis.pilat@st.com>
11631
11632 * gdb.base/setshow.exp: Reset height after having set it to 100.
11633
5d3e9c85
DP
116342007-04-16 Denis Pilat <denis.pilat@st.com>
11635
11636 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11637
18e75969
DP
116382007-04-16 Denis Pilat <denis.pilat@st.com>
11639
11640 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11641
25d5ea92
VP
116422007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11643
11644 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11645 tests. Run the frozen varobjs test.
11646 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11647 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11648
0b49cb80
JK
116492007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11650
11651 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11652 gdb.base/type-opaque.exp: New files.
11653
a73bafbc 116542007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11655
11656 * gdb.mi/mi-var-child.c
a73bafbc
VP
11657 (do_children_tests): User char[2] instead of
11658 char so that automatic printing of pointers to char
11659 don't give unpredicable result.
11660 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11661 local variables.
11662 * gdb.mi/mi-var-child.exp: Step to right line
11663 of do_children_tests.
11664 * gdb.mi/mi2-var-child.exp: Likewise.
11665 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11666 do_locals_tests.
a73bafbc
VP
11667 (do_children_tests): User char[2] instead of
11668 char so that automatic printing of pointers to char
a9c64011 11669 don't give unpredicable result.
a73bafbc 11670 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11671 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11672 Pass test name to mi_wait_for_stop.
11673
7ce59000
DJ
116742007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11675
11676 * gdb.asm/asm-source.exp: Remove d10v case.
11677 * lib/gdb.exp (skip_cplus_tests): Likewise.
11678 * gdb.asm/d10v.inc: Deleted.
11679
20389057
DJ
116802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11681
11682 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11683
8807d78b
DJ
116842007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11685
11686 * config/netware.exp: Delete file.
11687
aa3edb8e
JB
116882007-03-29 Joel Brobecker <brobecker@adacore.com>
11689
11690 * gdb.dwarf2/dw2-noloc.S: New file.
11691 * gdb.dwarf2/dw2-noloc.exp: New file.
11692
297561ac
PA
116932007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11694
11695 * gdb.cp/method2.cc: New test.
11696 * gdb.cp/method2.exp: New test.
11697 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11698
1f81bd39
DJ
116992007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11700
11701 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11702
9453113a
DJ
117032007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11704
11705 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11706
b741e217
DJ
117072007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11708
11709 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11710 (gdb_load): Delete, replace with...
11711 (gdb_reload): ...this.
11712 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11713 * gdb.server/server-mon.exp: Likewise.
11714 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11715 (gdb_start_cmd): New.
11716 (gdb_file_cmd): Save the last loaded file.
11717 (gdb_reload): New.
11718 (gdb_gnu_strip_debug): Use transform.
11719 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11720 support here. Use new $last_loaded_file. Check mtime.
11721 (gdb_target_cmd): Handle ObjC failure case.
11722 (infer_host_exec): Delete.
11723 (gdbserver_load): Rename to...
11724 (gdbserver_run): ...this. Simplify.
11725 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11726 (mi_gdb_load): Move most contents to a new function...
11727 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11728 (mi_run_cmd): Use mi_gdb_target_load.
11729 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11730 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11731 Use gdb_run_cmd.
11732 * gdb.base/charsign.exp: Remove incorrect comment.
11733 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11734 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11735 gdb.base/start.exp: Use gdb_start_cmd.
11736
446ab585 117372007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11738 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11739
11740 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11741 * gdb.base/signull.exp: Similarly.
11742
bbb88ebf
UW
117432007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11744
11745 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11746 messages available to test cases (like chng-sym.exp).
11747
cb8c4a99
AS
117482007-03-14 Andreas Schwab <schwab@suse.de>
11749
11750 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11751 format changes.
11752
4e463ff5
DJ
117532007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11754
11755 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11756 (optimized_1): New.
11757 (main): Call optimized_1.
11758 (gdb2029): Correct typos. Call gdb2029_marker.
11759 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11760 for gdb2029.
11761
b6db2c47
MK
117622007-03-12 Mark Kettenis <kettenis@gnu.org>
11763
11764 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11765 as tabs. Remove redundant test pattern.
11766
70ed3737
UW
117672007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11768
11769 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11770 for /a format output.
11771
47b67b60
DJ
117722007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11773
11774 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11775 collect output incrementally.
11776
b8953b0e
UW
117772007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11778
11779 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11780 for -var-create lpcharacter test.
11781 * gdb.mi/mi2-var-cmd.exp: Likewise.
11782
7acd5c40
UW
117832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11784
11785 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11786 pass on targets where address zero is readable.
11787
9c6759c1
UW
117882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11789
11790 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11791 just a single architecture.
11792
a2f1aeb4
UW
117932007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11794
11795 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11796 (fetch_all_registers): New function, uses gdb_test_multiple and
11797 exp_continue to fetch inferior output line-by-line.
11798 Replace all uses of do_get_all_registers by fetch_all_registers.
11799
46579ac2
UW
118002007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11801
11802 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11803 in target_info.
11804
fc133f24
MS
118052007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11806
a9c64011 11807 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11808 consistancy; add a default (timeout) case.
11809
7646a51d
MS
118102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11811
11812 * gdb.base/watchpoint.exp: Fix truncated comment.
11813
dcfff61f
MS
118142007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11815
11816 * Makefile.in: Remove spurious single-quotes from sed command.
11817
664e3ee9
DJ
118182007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11819
11820 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11821 func.
11822 * gdb.mi/mi2-var-cmd.exp: Likewise.
11823
d7cc6f2f
JB
118242007-02-27 Joel Brobecker <brobecker@adacore.com>
11825
a9c64011
AS
11826 * gdb.dwarf2/dw2-producer.S: New file.
11827 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11828
118292007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11830
11831 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11832 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11833 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11834 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11835 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11836 Revert tests to use mi_gdb_test and include value field in output
11837 of -var-create.
11838
93d42b30
DJ
118392007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11840
11841 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11842
c499ed39
DJ
118432007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11844
11845 * gdb.base/maint.exp: Remove full paths from test names.
11846 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11847 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11848
9836f81b
JB
118492007-02-27 Joel Brobecker <brobecker@adacore.com>
11850
11851 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11852
c74d0ad8
DJ
118532007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11854
11855 * gdb.server/server-mon.exp: New test.
11856
2711e456
DJ
118572007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11858
11859 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11860
ff6f572f
DJ
118612007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11862
11863 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11864 register capitalization.
11865
fada3feb
DP
118662007-02-13 Denis Pilat <denis.pilat@st.com>
11867
11868 * gdb.mi/mi-var-invalidate.exp: New file.
11869
fb1e4ffc
DJ
118702007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11871
11872 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11873
3da939d7
DJ
118742007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11875
11876 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11877
123dc839
DJ
118782007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11879
11880 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11881 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11882
877e3645 118832007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11884
11885 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11886 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11887 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11888 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11889 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11890 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11891 Update tests to include value field in output of -var-create.
a9c64011 11892
3c0a2960
AS
118932007-02-08 Andreas Schwab <schwab@suse.de>
11894
11895 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11896
108546a0
DJ
118972007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11898
11899 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11900 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11901
d701dcab
DP
119022007-02-02 Denis Pilat <denis.pilat@st.com>
11903
11904 * gdb.threads/threadapply.exp: check that frame is not changed by
11905 the thread apply all command.
11906
783e3e2f
AS
119072007-01-31 Andreas Schwab <schwab@suse.de>
11908
6d9c3a87
AS
11909 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11910
3c50d7b9
AS
11911 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11912 in the dwarf sections.
11913 * gdb.dwarf2/mac-fileno.S: Likewise.
11914
783e3e2f
AS
11915 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11916 bspstore register on ia64.
11917
78ff580e
AS
119182007-01-29 Andreas Schwab <schwab@suse.de>
11919
cc8e9b12
AS
11920 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11921 "frame-begin" annotation.
11922
78ff580e
AS
11923 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11924 number of "frames-invalid" annotations.
11925
704a4f78
DJ
119262007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11927
11928 * gdb.base/commands.exp: Call if_commands_test.
11929 (gdb_test_no_prompt, if_commands_test): New.
11930
e741bf94
MK
119312007-01-28 Mark Kettenis <kettenis@gnu.org>
11932
11933 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11934
474d0ad3
AS
119352007-01-27 Andreas Schwab <schwab@suse.de>
11936
11937 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11938 .short/.int/.quad in the dwarf sections.
11939 * gdb.dwarf2/dw2-intercu.S: Likewise.
11940 * gdb.dwarf2/dw2-intermix.S: Likewise.
11941
e784b426
JK
119422007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11943
11944 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11945 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11946 array.
e784b426
JK
11947 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11948 * gdb.base/setvar.exp: Likewise.
11949
37f08e04
AS
119502007-01-26 Andreas Schwab <schwab@suse.de>
11951
9a01813a
AS
11952 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11953 test.
11954
37f08e04
AS
11955 * gdb.base/multi-forks.exp ("restart $i"): Also match
11956 __kernel_syscall_via_break.
11957
6e2a9270
VP
119582007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11959
11960 * lib/mi-support.exp (mi_delete_varobj): New.
11961 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11962 testcase.
11963 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11964 (main): Call the above.
11965 (reference_update_test, base_in_reference_test)
11966 (reference_to_pointer): Delete the created varobjs.
a9c64011 11967
e515b470
DJ
119682007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11969
11970 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11971 * configure: Regenerated.
11972 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11973 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11974 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11975 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11976 * lib/gdb.exp (gdb_skip_xml_test): New function.
11977
08d8bcd7
DJ
119782007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11979
11980 * gdb.base/sigrepeat.exp: Correct error message.
11981
119822007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11983 Daniel Jacobowitz <dan@codesourcery.com>
11984
11985 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11986 gdb.arch/i386-gnu-cfi-asm.S: New files.
11987
97c3f1f3
JK
119882007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11989
11990 * lib/gdb.exp: Abort on missing `site.exp'.
11991
cb1df416
DJ
119922007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11993 Daniel Jacobowitz <dan@codesourcery.com>
11994
11995 * gdb.base/included.c, gdb.base/included.exp,
11996 gdb.base/included.h: New files.
11997
35990120
DJ
119982007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11999
12000 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12001 (maximize_rlimit): Reduce limits on 64-bit systems.
12002
6e81a116 120032007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12004
12005 From Marcus Deuling <deuling@de.ibm.com>:
12006 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12007 every case.
12008
6c3c41f3
NR
120092007-01-13 Nick Roberts <nickrob@snap.net.nz>
12010
12011 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12012 (test_path_specification): Use objdir instead of srcdir to always
12013 get an absolute filename.
12014
2f12c312
DJ
120152007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12016
12017 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12018
81121995
VP
120192007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12020
12021 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12022 Make sure the variable we're using is in scope.
12023 (reference_to_pointer): Likewise.
12024
4741b737
DJ
120252007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12026
12027 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12028 has no debug information.
12029
054410c3
DJ
120302007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12031
12032 * gdb.base/annota1.exp: Remove extra send_gdb.
12033
818f79f6
DJ
120342007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12035
12036 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12037
f7a6bb70
DJ
120382007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12039
12040 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12041
57e66780
DJ
120422007-01-08 Nick Roberts <nickrob@snap.net.nz>
12043 Daniel Jacobowitz <dan@codesourcery.com>
12044
12045 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12046 lcharacter or linteger change. Correct duplicated test name.
12047 * gdb.mi/mi2-var-cmd.exp: Likewise.
12048
3d799a95
DJ
120492007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12050
12051 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12052
120532007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12054
a9c64011
AS
12055 * gdb.base/nofield.c: New file.
12056 * gdb.base/nofield.exp: New testcase.
51679ba9 12057
eafb94e8
NR
120582007-01-05 Nick Roberts <nickrob@snap.net.nz>
12059
12060 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12061
12062 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12063 test.
12064
5e572bb4
DJ
120652007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12066
12067 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12068
74a44383
DJ
120692007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12070
12071 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12072 when continuing.
12073
1b572db9
DJ
120742007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12075
12076 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12077 Expect ".exe" extension.
12078
381bc39b
DJ
120792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12080
12081 * gdb.base/charset.exp: Add explicit filename to break.
12082 * gdb.base/dbx.exp: Add explicit filename to breaks.
12083
2b70e4c6
DJ
120842007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12085
12086 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12087 * gdb.mi/mi2-file.exp: Likewise.
12088
303b6f5d
DJ
120892007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12090
12091 Implement specification of MI tests as comments
12092 in C and C++ sources.
12093 * lib/mi-support.exp (mi_autotest_data): New variable.
12094 (mi_autotest_source): New variable.
12095 (count_newlines, mi_prepare_inline_tests)
12096 (mi_get_inline_test, mi_continue_to_line)
12097 (mi_run_inline_test, mi_tbreak)
12098 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12099 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12100 Run inline tests.
12101 * gdb.mi/mi-var-cp.cc: Define tests here.
12102
23da0d94
VP
121032007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12104
12105 Simplify usage of mi_continue_to.
12106 * lib/mi-support.exp (mi_runto_helper): Renamed
12107 from mi_runto, added new parameter 'run_or_continue'.
12108 (mi_runto): Use mi_runto_helper.
12109 (mi_continue_to): Accept just function name as parameter.
12110 Use mi_runto_helper.
12111 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12112 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12113
f9e18282
JB
121142006-01-04 Joel Brobecker <brobecker@adacore.com>
12115
12116 Make this testcase a bit more realistic. The current code
12117 is too simplistic, and allows the compiler to optimize out
12118 some of the entities we need for this testcase.
12119 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12120 (Do_Nothing): Add extra parameter.
12121 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12122 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12123 by using a variable of type Void_Star.
12124
fd678c65
JB
121252006-01-04 Joel Brobecker <brobecker@adacore.com>
12126
12127 * gdb.ada/catch_ex/foo.adb: New file.
12128 * gdb.ada/catch_ex.exp: New testcase.
12129
05cfdb42
DJ
121302007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12131
12132 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12133 pass --image-base to linker.
12134
2e03ee74
DJ
121352007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12136 Daniel Jacobowitz <dan@codesourcery.com>
12137
12138 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12139 secondary prompts.
12140
0d5de010
DJ
121412007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12142
12143 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12144 output. Test the types of members and member pointers.
12145 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12146 gdb/2092.
12147 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12148 statement. Enable for GCC. Update expected output for some tests
12149 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12150 layout.
12151 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12152 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12153 (Diamond::vget_base): New.
12154 (main): Add new tests.
12155 * gdb.cp/printmethod.exp: Update expected output for member functions.
12156 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12157 print pEe->D::vg().
12158
61a771aa
DJ
121592007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12160
12161 * gdb.threads/tls.exp: Allow stops in sem_post.
12162
2fa63963
DJ
121632006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12164
12165 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12166 * gdb.base/annota3.exp: Likewise.
12167 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12168 again (instead of timing out).
12169 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12170 GCC bug 26475.
12171 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12172 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12173 test from jmisc1.exp.
12174 * gdb.java/jmisc1.exp: Delete.
12175 * gdb.java/jprint.exp: Adjust to work with method signatures including
12176 return types.
12177 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12178 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12179 * lib/java.exp (compile_java_from_source): Pass the correct type
12180 to target_compile.
12181
5eefc2b7
JB
121822006-12-31 Joel Brobecker <brobecker@adacore.com>
12183
12184 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12185 (stack_align_edx): New function.
12186 (stack_align_eax): New function.
12187 (main): Add calls to stack_align_edx and stack_align_eax.
12188 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12189 Add testing for the cases where the register used during a stack
12190 realignment is edx. Same for eax.
12191
227c54da
DJ
121922006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12193
12194 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12195 and generic PE targets.
12196
cab8ac94
JB
121972006-12-29 Joel Brobecker <brobecker@adacore.com>
12198
12199 * gdb.ada/array_return.exp: Update copyright date list.
12200
ba54f318
JB
122012006-12-27 Joel Brobecker <brobecker@adacore.com>
12202
12203 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12204 (Create_Small_Float_Vector): New function.
12205 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12206 function body.
12207 * gdb.ada/array_return/p.adb: Use new type and function from
12208 package Pck.
12209 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12210 able to print the value returned by a function returning an
12211 array of float.
12212
6b7a35dd
JB
122132006-12-20 Joel Brobecker <brobecker@adacore.com>
12214
12215 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12216 The associated tests should be PASSing.
12217
038224f6
VP
122182006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12219
12220 Test for base in references.
12221 * gdb.mi/mi-var-cp.cc: Add test code.
12222 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12223 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12224 * gdb.mi/mi2-watch.exp: Likewise.
12225 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12226 (mi_list_varobj_children): New function.
12227
b26ed50d
VP
122282006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12229
12230 * lib/mi-support.exp
12231 (mi_runto): Accept "()" after function name.
12232 (mi_create_varobj): New function.
12233 (mi_varobj_update): New function.
12234 (mi_Check_varobj_value): New function.
12235 * gdb.mi/mi-var-cp.exp: New file.
12236 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12237
08232497
DJ
122382006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12239
12240 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12241 gdb.base/weaklib2.c: New files.
12242
d394c993 122432006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12244
ac6c2fba
NS
12245 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12246 info. Adjust test names.
12247
8ec659a0 12248 * gdb.base/break.c (main): Move position of malloc.
d394c993 12249 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12250
acd65feb
VP
122512006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12252
12253 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12254 assignement of arrays and function pointers.
12255 * gdb.mi/var-cmd.c: Add declaration necessary for above
12256 tests.
12257
f556d5e5
NS
122582006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12259
12260 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12261
12262 * gdb.threads/linux-dp.exp: Read thread table before and after
12263 creating each philosopher and verify it.
12264
697bc68d
NS
122652006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12266 Paul Brook <paul@codesourcery.com>
12267 Daniel Jacobowitz <dan@codesourcery.com>
12268
12269 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12270 main to remove duplication. Add start function of the form
697bc68d
NS
12271 '_*start[1-9]*'. Add RVDS start function.
12272
29d73ae4
DJ
122732006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12274
12275 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12276
c1d88655
UW
122772006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12278
12279 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12280 * gdb.asm/spu.inc: New file.
12281 * gdb.base/term.exp: Disable if [target_info exists noargs].
12282 * gdb.gdb/complaints.exp: Disable if ![isnative].
12283 * gdb.gdb/selftest.exp: Likewise.
12284 * gdb.gdb/observer.exp: Likewise.
12285 * gdb.gdb/xfullpath.exp: Likewise.
12286 * gdb.base/attach.exp: Disable on SPU target.
12287 * gdb.cp/bs145503.exp: Likewise.
12288 * gdb.cp/exception.exp: Likewise.
12289 * gdb.cp/userdef.exp: Likewise.
12290
32a13b1a
DJ
122912006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12292
12293 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12294
d8295fe9
VP
122952006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12296
12297 * gdb.base/completion.exp: Fix completion tests for
12298 'info' and 'info '.
12299 * gdb.base/help.exp (help_test_raw, test_class_help)
12300 (test_prefix_command_help): Move...
12301 * lib/gdb.exp: Here.
12302 * gdb.base/main.exp: Adjust.
12303 * gdb.cp/maint.exp: Adjust.
12304 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12305
8c394015
VP
123062006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12307
12308 * gdb.stabs/weird.exp (print_weird_var): Use
12309 gdb_test_multiple instead of gdb_expect.
12310
027fc1bc
VP
123112006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12312
12313 * gdb.base/help.exp (help_test_raw): New.
12314 (test_class_help): New.
12315 (test_prefix_command_help): New.
12316 Adjust testcases.
12317
67609209
FR
123182006-11-09 Christophe Lyon <christophe.lyon@st.com>
12319
12320 * gdb.base/constvars.c (main): Write to crass and crips, so that
12321 they are allocated by the compiler.
12322
f73adfeb
AS
123232006-10-27 Andreas Schwab <schwab@suse.de>
12324
12325 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12326 "detach-fork".
12327
2f83a18e
DJ
123282006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12329
12330 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12331 of patterns.
12332
94277a38
DJ
123332006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12334
12335 * gdb.base/sepdebug.exp: Remove debug format test.
12336 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12337 Handle no-symtab.
12338 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12339
5bd2f6e2
DJ
123402006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12341
12342 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12343 int to pointer or pointer to int.
12344 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12345
8c008720
DJ
123462006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12347
12348 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12349
9e35dae4
DJ
123502006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12351
12352 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12353
d9639e13
DJ
123542006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12355
12356 PR c++/2116
12357 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12358
390a1bd0
JB
123592006-10-06 Joel Brobecker <brobecker@adacore.com>
12360
12361 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12362 the corresponding bug has been fixed in GDB (PR/2018).
12363
dd920c33
JB
123642006-10-06 Joel Brobecker <brobecker@adacore.com>
12365
12366 * gdb.base/subst.exp: New testcase.
12367
53bbefe9
JB
123682006-10-06 Joel Brobecker <brobecker@adacore.com>
12369
12370 * gdb.ada/array_return/pck.ads: Add copyright notice.
12371 * gdb.ada/array_return/pck.adb: Likewise.
12372 * gdb.ada/array_return/p.adb: Likewise.
12373 * gdb.ada/exec_changed/first.adb: Likewise.
12374 * gdb.ada/exec_changed/second.adb: Likewise.
12375
09851417
JB
123762006-10-06 Joel Brobecker <brobecker@adacore.com>
12377
12378 * gdb.ada/watch_arg/watch.adb: New file.
12379 * gdb.ada/watch_arg.exp: New testcase.
12380
041bf30d
VP
123812006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12382
12383 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12384 via string_to_regexp.
041bf30d 12385 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12386
f286fbdd 123872006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12388
12389 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12390 Remove unused / obsolete files.
12391
7c07f349
NR
123922006-09-19 Nick Roberts <nickrob@snap.net.nz>
12393
12394 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12395
cd5ff84a
VP
123962006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12397
12398 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12399 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12400 the number of frames.
cd5ff84a 12401
ae018d1a
DJ
124022006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12403
12404 * gdb.base/args.c (main): Add breakpoint marker.
12405 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12406 really test empty arguments.
12407 (args_load): Delete.
12408 (args_test): New.
12409
b399c549
NR
124102006-09-13 Nick Roberts <nickrob@snap.net.nz>
12411
12412 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12413 check for one file.
b399c549 12414
2ab1eb7a
VP
124152006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12416
12417 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12418 HIGH_FRAME argument to -stack-list-locals can be larger than
12419 the number of frames.
a9c64011 12420
476308bf
FF
124212006-08-18 Fred Fish <fnf@specifix.com>
12422
12423 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12424 '$' in front of skip_vmx_tests_saved when setting that.
12425
8625200f
AS
124262006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12427
12428 * gdb.base/trace-commands.exp: New file.
12429
089ec8f1
DJ
124302006-08-10 Joel Brobecker <brobecker@adacore.com>
12431 Daniel Jacobowitz <dan@codesourcery.com>
12432
12433 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12434 expected output of the backtrace commands.
12435
b60f0898
JB
124362006-08-09 Joel Brobecker <brobecker@adacore.com>
12437
12438 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12439 untested followed by return combination.
12440 * gdb.arch/altivec-regs.exp: Likewise.
12441 * gdb.arch/e500-abi.exp: Likewise.
12442 * gdb.arch/e500-regs.exp: Likewise.
12443 * gdb.arch/gdb1291.exp: Likewise.
12444 * gdb.arch/gdb1431.exp: Likewise.
12445 * gdb.arch/gdb1558.exp: Likewise.
12446 * gdb.arch/i386-prologue.exp: Likewise.
12447 * gdb.arch/i386-unwind.exp: Likewise.
12448 * gdb.asm/asm-source.exp: Likewise.
12449 * gdb.base/a2-run.exp: Likewise.
12450 * gdb.base/advance.exp: Likewise.
12451 * gdb.base/all-bin.exp: Likewise.
12452 * gdb.base/annota1.exp: Likewise.
12453 * gdb.base/annota3.exp: Likewise.
12454 * gdb.base/args.exp: Likewise.
12455 * gdb.base/arithmet.exp: Likewise.
12456 * gdb.base/assign.exp: Likewise.
12457 * gdb.base/async.exp: Likewise.
12458 * gdb.base/attach.exp: Likewise.
12459 * gdb.base/bang.exp: Likewise.
12460 * gdb.base/bigcore.exp: Likewise.
12461 * gdb.base/bitfields.exp: Likewise.
12462 * gdb.base/bitfields2.exp: Likewise.
12463 * gdb.base/break.exp: Likewise.
12464 * gdb.base/call-sc.exp: Likewise.
12465 * gdb.base/call-strs.exp: Likewise.
12466 * gdb.base/callfuncs.exp: Likewise.
12467 * gdb.base/checkpoint.exp: Likewise.
12468 * gdb.base/chng-syms.exp: Likewise.
12469 * gdb.base/code-expr.exp: Likewise.
12470 * gdb.base/commands.exp: Likewise.
12471 * gdb.base/completion.exp: Likewise.
12472 * gdb.base/cond-expr.exp: Likewise.
12473 * gdb.base/condbreak.exp: Likewise.
12474 * gdb.base/consecutive.exp: Likewise.
12475 * gdb.base/constvars.exp: Likewise.
12476 * gdb.base/corefile.exp: Likewise.
12477 * gdb.base/cvexpr.exp: Likewise.
12478 * gdb.base/dbx.exp: Likewise.
12479 * gdb.base/define.exp: Likewise.
12480 * gdb.base/detach.exp: Likewise.
12481 * gdb.base/display.exp: Likewise.
12482 * gdb.base/dump.exp: Likewise.
12483 * gdb.base/ena-dis-br.exp: Likewise.
12484 * gdb.base/ending-run.exp: Likewise.
12485 * gdb.base/environ.exp: Likewise.
12486 * gdb.base/eval-skip.exp: Likewise.
12487 * gdb.base/exprs.exp: Likewise.
12488 * gdb.base/fileio.exp: Likewise.
12489 * gdb.base/finish.exp: Likewise.
12490 * gdb.base/float.exp: Likewise.
12491 * gdb.base/foll-exec.exp: Likewise.
12492 * gdb.base/foll-fork.exp: Likewise.
12493 * gdb.base/foll-vfork.exp: Likewise.
12494 * gdb.base/freebpcmd.exp: Likewise.
12495 * gdb.base/funcargs.exp: Likewise.
12496 * gdb.base/gcore.exp: Likewise.
12497 * gdb.base/gdb1090.exp: Likewise.
12498 * gdb.base/gdb1250.exp: Likewise.
12499 * gdb.base/huge.exp: Likewise.
12500 * gdb.base/info-proc.exp: Likewise.
12501 * gdb.base/interrupt.exp: Likewise.
12502 * gdb.base/jump.exp: Likewise.
12503 * gdb.base/langs.exp: Likewise.
12504 * gdb.base/lineinc.exp: Likewise.
12505 * gdb.base/list.exp: Likewise.
12506 * gdb.base/logical.exp: Likewise.
12507 * gdb.base/long_long.exp: Likewise.
12508 * gdb.base/macscp.exp: Likewise.
12509 * gdb.base/maint.exp: Likewise.
12510 * gdb.base/mips_pro.exp: Likewise.
12511 * gdb.base/miscexprs.exp: Likewise.
12512 * gdb.base/multi-forks.exp: Likewise.
12513 * gdb.base/opaque.exp: Likewise.
12514 * gdb.base/overlays.exp: Likewise.
12515 * gdb.base/pc-fp.exp: Likewise.
12516 * gdb.base/pointers.exp: Likewise.
12517 * gdb.base/printcmds.exp: Likewise.
12518 * gdb.base/psymtab.exp: Likewise.
12519 * gdb.base/ptype.exp: Likewise.
12520 * gdb.base/recurse.exp: Likewise.
12521 * gdb.base/relational.exp: Likewise.
12522 * gdb.base/relocate.exp: Likewise.
12523 * gdb.base/remote.exp: Likewise.
12524 * gdb.base/reread.exp: Likewise.
12525 * gdb.base/restore.exp: Likewise.
12526 * gdb.base/return.exp: Likewise.
12527 * gdb.base/return2.exp: Likewise.
12528 * gdb.base/scope.exp: Likewise.
12529 * gdb.base/sect-cmd.exp: Likewise.
12530 * gdb.base/sep.exp: Likewise.
12531 * gdb.base/sepdebug.exp: Likewise.
12532 * gdb.base/setshow.exp: Likewise.
12533 * gdb.base/setvar.exp: Likewise.
12534 * gdb.base/sigall.exp: Likewise.
12535 * gdb.base/sigbpt.exp: Likewise.
12536 * gdb.base/signals.exp: Likewise.
12537 * gdb.base/signull.exp: Likewise.
12538 * gdb.base/sizeof.exp: Likewise.
12539 * gdb.base/solib.exp: Likewise.
12540 * gdb.base/step-line.exp: Likewise.
12541 * gdb.base/step-test.exp: Likewise.
12542 * gdb.base/structs.exp: Likewise.
12543 * gdb.base/structs2.exp: Likewise.
12544 * gdb.base/term.exp: Likewise.
12545 * gdb.base/twice.exp: Likewise.
12546 * gdb.base/until.exp: Likewise.
12547 * gdb.base/varargs.exp: Likewise.
12548 * gdb.base/volatile.exp: Likewise.
12549 * gdb.base/watchpoint.exp: Likewise.
12550 * gdb.base/whatis-exp.exp: Likewise.
12551 * gdb.base/whatis.exp: Likewise.
12552 * gdb.cp/ambiguous.exp: Likewise.
12553 * gdb.cp/annota2.exp: Likewise.
12554 * gdb.cp/annota3.exp: Likewise.
12555 * gdb.cp/bool.exp: Likewise.
12556 * gdb.cp/breakpoint.exp: Likewise.
12557 * gdb.cp/casts.exp: Likewise.
12558 * gdb.cp/class2.exp: Likewise.
12559 * gdb.cp/classes.exp: Likewise.
12560 * gdb.cp/cplusfuncs.exp: Likewise.
12561 * gdb.cp/ctti.exp: Likewise.
12562 * gdb.cp/derivation.exp: Likewise.
12563 * gdb.cp/exception.exp: Likewise.
12564 * gdb.cp/gdb1355.exp: Likewise.
12565 * gdb.cp/hang.exp: Likewise.
12566 * gdb.cp/inherit.exp: Likewise.
12567 * gdb.cp/local.exp: Likewise.
12568 * gdb.cp/m-data.exp: Likewise.
12569 * gdb.cp/m-static.exp: Likewise.
12570 * gdb.cp/member-ptr.exp: Likewise.
12571 * gdb.cp/method.exp: Likewise.
12572 * gdb.cp/misc.exp: Likewise.
12573 * gdb.cp/namespace.exp: Likewise.
12574 * gdb.cp/overload.exp: Likewise.
12575 * gdb.cp/ovldbreak.exp: Likewise.
12576 * gdb.cp/pr-1023.exp: Likewise.
12577 * gdb.cp/pr-1210.exp: Likewise.
12578 * gdb.cp/pr-574.exp: Likewise.
12579 * gdb.cp/printmethod.exp: Likewise.
12580 * gdb.cp/psmang.exp: Likewise.
12581 * gdb.cp/ref-params.exp: Likewise.
12582 * gdb.cp/ref-types.exp: Likewise.
12583 * gdb.cp/rtti.exp: Likewise.
12584 * gdb.cp/templates.exp: Likewise.
12585 * gdb.cp/try_catch.exp: Likewise.
12586 * gdb.cp/userdef.exp: Likewise.
12587 * gdb.cp/virtfunc.exp: Likewise.
12588 * gdb.disasm/am33.exp: Likewise.
12589 * gdb.disasm/h8300s.exp: Likewise.
12590 * gdb.disasm/mn10300.exp: Likewise.
12591 * gdb.disasm/sh3.exp: Likewise.
12592 * gdb.disasm/t01_mov.exp: Likewise.
12593 * gdb.disasm/t02_mova.exp: Likewise.
12594 * gdb.disasm/t03_add.exp: Likewise.
12595 * gdb.disasm/t04_sub.exp: Likewise.
12596 * gdb.disasm/t05_cmp.exp: Likewise.
12597 * gdb.disasm/t06_ari2.exp: Likewise.
12598 * gdb.disasm/t07_ari3.exp: Likewise.
12599 * gdb.disasm/t08_or.exp: Likewise.
12600 * gdb.disasm/t09_xor.exp: Likewise.
12601 * gdb.disasm/t10_and.exp: Likewise.
12602 * gdb.disasm/t11_logs.exp: Likewise.
12603 * gdb.disasm/t12_bit.exp: Likewise.
12604 * gdb.disasm/t13_otr.exp: Likewise.
12605 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12606 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12607 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12608 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12609 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12610 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12611 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12612 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12613 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12614 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12615 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12616 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12617 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12618 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12619 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12620 * gdb.mi/gdb701.exp: Likewise.
12621 * gdb.mi/gdb792.exp: Likewise.
12622 * gdb.mi/mi-basics.exp: Likewise.
12623 * gdb.mi/mi-break.exp: Likewise.
12624 * gdb.mi/mi-cli.exp: Likewise.
12625 * gdb.mi/mi-console.exp: Likewise.
12626 * gdb.mi/mi-disassemble.exp: Likewise.
12627 * gdb.mi/mi-eval.exp: Likewise.
12628 * gdb.mi/mi-file.exp: Likewise.
12629 * gdb.mi/mi-read-memory.exp: Likewise.
12630 * gdb.mi/mi-regs.exp: Likewise.
12631 * gdb.mi/mi-return.exp: Likewise.
12632 * gdb.mi/mi-simplerun.exp: Likewise.
12633 * gdb.mi/mi-stack.exp: Likewise.
12634 * gdb.mi/mi-stepi.exp: Likewise.
12635 * gdb.mi/mi-syn-frame.exp: Likewise.
12636 * gdb.mi/mi-until.exp: Likewise.
12637 * gdb.mi/mi-var-block.exp: Likewise.
12638 * gdb.mi/mi-var-child.exp: Likewise.
12639 * gdb.mi/mi-var-cmd.exp: Likewise.
12640 * gdb.mi/mi-var-display.exp: Likewise.
12641 * gdb.mi/mi-watch.exp: Likewise.
12642 * gdb.mi/mi2-basics.exp: Likewise.
12643 * gdb.mi/mi2-break.exp: Likewise.
12644 * gdb.mi/mi2-cli.exp: Likewise.
12645 * gdb.mi/mi2-console.exp: Likewise.
12646 * gdb.mi/mi2-disassemble.exp: Likewise.
12647 * gdb.mi/mi2-eval.exp: Likewise.
12648 * gdb.mi/mi2-file.exp: Likewise.
12649 * gdb.mi/mi2-read-memory.exp: Likewise.
12650 * gdb.mi/mi2-regs.exp: Likewise.
12651 * gdb.mi/mi2-return.exp: Likewise.
12652 * gdb.mi/mi2-simplerun.exp: Likewise.
12653 * gdb.mi/mi2-stack.exp: Likewise.
12654 * gdb.mi/mi2-stepi.exp: Likewise.
12655 * gdb.mi/mi2-syn-frame.exp: Likewise.
12656 * gdb.mi/mi2-until.exp: Likewise.
12657 * gdb.mi/mi2-var-block.exp: Likewise.
12658 * gdb.mi/mi2-var-child.exp: Likewise.
12659 * gdb.mi/mi2-var-cmd.exp: Likewise.
12660 * gdb.mi/mi2-var-display.exp: Likewise.
12661 * gdb.mi/mi2-watch.exp: Likewise.
12662 * gdb.stabs/exclfwd.exp: Likewise.
12663 * gdb.stabs/weird.exp: Likewise.
12664 * gdb.threads/gcore-thread.exp: Likewise.
12665 * gdb.trace/actions.exp: Likewise.
12666 * gdb.trace/backtrace.exp: Likewise.
12667 * gdb.trace/circ.exp: Likewise.
12668 * gdb.trace/collection.exp: Likewise.
12669 * gdb.trace/deltrace.exp: Likewise.
12670 * gdb.trace/infotrace.exp: Likewise.
12671 * gdb.trace/limits.exp: Likewise.
12672 * gdb.trace/packetlen.exp: Likewise.
12673 * gdb.trace/passc-dyn.exp: Likewise.
12674 * gdb.trace/passcount.exp: Likewise.
12675 * gdb.trace/report.exp: Likewise.
12676 * gdb.trace/save-trace.exp: Likewise.
12677 * gdb.trace/tfind.exp: Likewise.
12678 * gdb.trace/tracecmd.exp: Likewise.
12679 * gdb.trace/while-dyn.exp: Likewise.
12680 * gdb.trace/while-stepping.exp: Likewise.
12681
f4b618d1
JB
126822006-08-08 Joel Brobecker <brobecker@adacore.com>
12683
12684 * gdb.base/step-bt.c: New file.
12685 * gdb.base/step-bt.exp: New testcase.
12686
3d00d119
DJ
126872006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12688
12689 * config/monitor.exp (gdb_load): Remove support for obsolete
12690 download-write-size.
12691 * gdb.base/remote.exp: Likewise. Update all callers of
12692 gdb_timed_load.
12693
017b5bd4
DJ
126942006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12695
12696 * cursal.exp: Pass binfile to gdb_load.
12697
837c599d
DJ
126982006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12699
12700 * gdb.base/cursal.exp: Add "" to gdb_load call.
12701
8dd4540b
MK
127022006-07-29 Mark Kettenis <kettenis@gnu.org>
12703
12704 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12705 NetBSD/ELF targets.
12706
ab5c9f60
DJ
127072006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12708
12709 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12710 operator*.
12711
4c42eaff
DJ
127122006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12713
12714 * gdb.base/completion.exp: Update for change in "file" behavior.
12715 * gdb.stabs/weird.exp: Likewise.
12716 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12717 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12718
0155cc76
NS
127192006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12720
12721 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12722 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12723
16026cd7
AS
127242006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12725
12726 * gdb.base/default.exp: Update source command error message.
12727 * gdb.base/help.exp: Update 'help source' message.
12728
16963cb6
DJ
127292006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12730
12731 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12732 test.
12733
6d7fd486
AS
127342006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12735
12736 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12737
29e8a844
DJ
127382006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12739
12740 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12741
6afcfa39
DJ
127422006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12743
12744 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12745
267a692b
MK
127462006-07-17 Mark Kettenis <kettenis@gnu.org>
12747
12748 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12749 *-*-openbsd* from targets for wich we expect ARM FPA floating
12750 point format.
12751
85d2fec4
NR
127522006-07-17 Nick Roberts <nickrob@snap.net.nz>
12753
12754 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12755
127562006-07-17 Mark Kettenis <kettenis@gnu.org>
12757
12758 * gdb.base/annota3.exp: Expect frame-begin annotation.
12759
85b4c6e8
JB
127602006-07-14 Joel Brobecker <brobecker@adacore.com>
12761
12762 * gdb.base/help.exp: Adjust "help unset" test to accept
12763 any list of unset commands.
12764
fb933624
DJ
127652006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12766 Daniel Jacobowitz <dan@codesourcery.com>
12767
12768 * gdb.cp/ref-params.exp: New test.
12769 * gdb.cp/ref-params.cc: New source file.
12770 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12771
1dff4b64
MK
127722006-07-08 Mark Kettenis <kettenis@gnu.org>
12773
12774 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12775 spaces/tabs in regular expressions since they might not be there.
12776
40d2e0e3
AS
127772006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12778
12779 * gdb.base/ifelse.exp: New file.
12780
f6c957d2
NS
127812006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12782
12783 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12784 line.
12785 * gdb.base/huge.exp: Loop over compilation to find a size that
12786 is acceptable.
12787 * gdb.base/remote.exp: Correct expected strings.
12788 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12789
b9c5a23d
DJ
127902006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12791
12792 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12793
9af2e58d
DJ
127942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12795
12796 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12797 native.
12798
30930ca5
DJ
127992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12800
12801 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12802 enable stabs testing.
12803
aa32fa1d
DJ
128042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12805
bd4a4c80 12806 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12807 gdb_test_multiple does.
12808
321fef15
DJ
128092006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12810
12811 * Makefile.in (host_alias): Remove.
12812 (target_alias): Use @target_noncanonical@.
12813 (site.exp): Don't set host_alias.
12814 * aclocal.m4: Remove contents. Include acx.m4.
12815 * configure: Regenerated.
12816 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12817
e1c2defa
NS
128182006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12819
e63b55d1
NS
12820 * lib/gdb.exp (gdb_load_cmd): New.
12821
5600ea19
NS
12822 * gdb.base/fileio.c: Add system(NULL) test.
12823 * gdb.base/fileio.exp: Check it.
12824
e1c2defa
NS
12825 * gdb.base/break.c: Add 10a breakpoint at }
12826 * gdb.base/break.exp: Add test for breakpoint at }
12827 * gdb.cp/anon-union.cc: Add code at end of function.
12828 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12829 * gdb.mi/var-cmd.c: Add code at end of function.
12830 * gdb.mi/mi-var-display.exp: Adjust end of next.
12831 * gdb.mi/mi2-var-display.exp: Likewise.
12832 * gdb.base/fileio.c: Add stop function and insert calls at
12833 stopping places.
12834 * gdb.base/fileio.exp: Breakpoint stop function and remove
12835 explicit line number references.
12836
6c0112ec
JB
128372006-05-19 Joel Brobecker <brobecker@adacore.com>
12838
a9c64011
AS
12839 * gdb.base/del.exp (test_delete_alias): New function.
12840 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12841
154189a4
FF
128422006-05-18 Fred Fish <fnf@specifix.com>
12843
12844 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12845 required. Check for spurious output after program exits normally.
12846
582e64c2
FF
128472006-05-17 Fred Fish <fnf@specifix.com>
12848
12849 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12850 gdb_load, so it works in the simulator.
12851
8ef6493a
FF
128522006-05-11 Fred Fish <fnf@specifix.com>
12853
12854 * gdb.base/bang.exp: Ignore unexpected output between the
12855 "program exited normally" and the gdb prompt, as many other
12856 tests do.
12857
692b141c
MK
128582006-05-07 Mark Kettenis <kettenis@gnu.org>
12859
12860 * gdb.base/help.exp: Make "delete checkpoint" part option for
12861 "help d" and "help delete" tests.
12862
540b8a30
UW
128632006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12864
a9c64011 12865 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12866 expected output in some mi_gdb_test statements.
12867 * gdb.mi/mi2-basics.exp: Likewise.
12868
9b6462d9
JB
128692006-05-05 Joel Brobecker <brobecker@adacore.com>
12870
12871 * gdb.base/del.c: New file.
12872 * gdb.base/del.exp: New testcase.
12873
954de43b
DM
128742006-05-05 David S. Miller <davem@sunset.davemloft.net>
12875
12876 * gdb.base/break.exp: Do not assume a breakpoint on
12877 main will actually be in $srcfile when optimizing.
1303f75e
DM
12878 * gdb.base/savedregs.exp: Do not require that the dummy
12879 frame location match up to a symbol and source file location.
c3242428
DM
12880 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12881 will get printed without a mi_cmd_data_list_register_values prefix.
12882 (*-data-list-register-*): Correct regular expressions to expect the new
12883 pseudo d? floating point registers.
12884 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12885
c7e64c9a
DJ
128862006-05-05 Christophe Lyon <christophe.lyon@st.com>
12887
12888 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12889 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12890 is allocated by the compiler.
12891 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12892 anons, e, anone to force their allocation by the compiler.
12893
128942006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12895
12896 * gdb.base/help.exp: Update expected text for help d and
12897 help delete.
12898
27ce9a6d
MK
128992006-05-02 Mark Kettenis <kettenis@gnu.org>
12900
12901 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12902 NetBSD/ELF targets.
12903
8608915f
MK
129042006-04-30 Mark Kettenis <kettenis@gnu.org>
12905
12906 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12907 single-step breakpoint fails; make this a KFAIL on
12908 sparc*-*-openbsd*.
12909 * gdb.base/siginfo.exp: Likewise.
12910 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12911
b8db102d
MS
129122006-04-26 Michael Snyder <msnyder@redhat.com>
12913
12914 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12915 which may have to consume output from other forks.
12916 Add tests to make sure that "delete fork" succeeded.
12917
c702009a
MS
129182006-04-20 Michael Snyder <msnyder@redhat.com>
12919
12920 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12921 Add support for the Renesas M32C and M16C.
12922
12923 * gdb.asm/asm-source.exp: Add m32c target.
12924 * gdb.asm/m32c.inc: Support for m32c target.
12925
e28493f2
AS
129262006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12927
12928 * gdb.base/commands.exp (recursive_source_test): New test.
12929
880da185
DM
129302006-04-04 David S. Miller <davem@sunset.davemloft.net>
12931
12932 * gdb.base/float.exp: Add pattern for sparc targets.
12933
61d9b92f
DJ
129342006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12935
12936 * gdb.base/commands.exp (stray_arg0_test): New test.
12937
bd717df8
PB
129382006-03-30 Paul Brook <paul@codesourcery.com>
12939
12940 * gdb.mi/mi-until.exp: kfail broken until command.
12941 * gdb.mi/mi2-until.exp: Ditto.
12942
ec793d3c
NR
129432006-03-27 Nick Roberts <nickrob@snap.net.nz>
12944
12945 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12946
831004b7
AO
129472006-03-08 Alexandre Oliva <aoliva@redhat.com>
12948
12949 * gdb.base/prelink.exp: Anchor tested-for regular expression
12950 on gdb prompt.
12951
effe49a0
PB
129522006-03-07 Paul Brook <paul@codesourcery.com>
12953
12954 * gdb.base/assign.exp: Correct fail message.
12955
e5461016
PB
129562006-03-07 Paul Brook <paul@codesourcery.com>
12957
12958 * lib/compiler.c: Extract armcc version number.
12959 * lib/compiler.cc: Ditto.
12960
fc91c6c2
PB
129612006-03-07 Paul Brook <paul@codesourcery.com>
12962
12963 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12964 additional_flags=-w.
12965 * gdb.arch/altivec-regs.exp: Ditto.
12966 * gdb.arch/e500-abi.exp: Ditto.
12967 * gdb.arch/e500-regs.exp: Ditto.
12968 * gdb.base/all-bin.exp: Ditto.
12969 * gdb.base/annota1.exp: Ditto.
12970 * gdb.base/annota3.exp: Ditto.
12971 * gdb.base/args.exp: Ditto.
12972 * gdb.base/arithmet.exp: Ditto.
12973 * gdb.base/assign.exp: Ditto.
12974 * gdb.base/async.exp: Ditto.
12975 * gdb.base/bang.exp: Ditto.
12976 * gdb.base/break.exp: Ditto.
12977 * gdb.base/call-rt-st.exp: Ditto.
12978 * gdb.base/completion.exp: Ditto.
12979 * gdb.base/cond-expr.exp: Ditto.
12980 * gdb.base/condbreak.exp: Ditto.
12981 * gdb.base/consecutive.exp: Ditto.
12982 * gdb.base/define.exp: Ditto.
12983 * gdb.base/display.exp: Ditto.
12984 * gdb.base/ena-dis-br.exp: Ditto.
12985 * gdb.base/environ.exp: Ditto.
12986 * gdb.base/eval-skip.exp: Ditto.
12987 * gdb.base/info-proc.exp: Ditto.
12988 * gdb.base/jump.exp: Ditto.
12989 * gdb.base/logical.exp: Ditto.
12990 * gdb.base/long_long.exp: Ditto.
12991 * gdb.base/maint.exp: Ditto.
12992 * gdb.base/miscexprs.exp: Ditto.
12993 * gdb.base/pc-fp.exp: Ditto.
12994 * gdb.base/pointers.exp: Ditto.
12995 * gdb.base/relational.exp: Ditto.
12996 * gdb.base/reread.exp: Ditto.
12997 * gdb.base/sect-cmd.exp: Ditto.
12998 * gdb.base/sep.exp: Ditto.
12999 * gdb.base/sepdebug.exp: Ditto.
13000 * gdb.base/until.exp: Ditto.
13001 * gdb.base/whatis-exp.exp: Ditto.
13002 * gdb.cp/annota2.exp: Ditto.
13003 * gdb.cp/annota3.exp: Ditto.
13004 * gdb.trace/actions.exp: Ditto.
13005 * gdb.trace/backtrace.exp: Ditto.
13006 * gdb.trace/circ.exp: Ditto.
13007 * gdb.trace/collection.exp: Ditto.
13008 * gdb.trace/deltrace.exp: Ditto.
13009 * gdb.trace/infotrace.exp: Ditto.
13010 * gdb.trace/limits.exp: Ditto.
13011 * gdb.trace/packetlen.exp: Ditto.
13012 * gdb.trace/passc-dyn.exp: Ditto.
13013 * gdb.trace/passcount.exp: Ditto.
13014 * gdb.trace/report.exp: Ditto.
13015 * gdb.trace/save-trace.exp: Ditto.
13016 * gdb.trace/tfind.exp: Ditto.
13017 * gdb.trace/tracecmd.exp: Ditto.
13018 * gdb.trace/while-dyn.exp: Ditto.
13019 * gdb.trace/while-stepping.exp: Ditto.
13020 * lib/gdb.exp: Ditto.
13021 (gdb_compile): Handle nowarning option.
13022
5f4a23d9
AO
130232006-03-07 Alexandre Oliva <aoliva@redhat.com>
13024
13025 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13026 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13027 Rename executable to prelinkt. Don't re-prelink if we didn't
13028 get a core file. Test prelink -u exit status to tell whether
13029 prelinking failed. Use gdb_test_multiple.
13030
9733fc94
DJ
130312006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13032
13033 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13034 (do_tests): Call it.
13035
cc10cae3
AO
130362006-02-28 Alexandre Oliva <aoliva@redhat.com>
13037
13038 * gdb.base/prelink.exp: New test.
13039 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13040
15c46491
WZ
130412006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13042
13043 * gdb.fortran/derived-type.f90: New file.
13044 * gdb.fortran/derived-type.exp: New testcase.
13045
5c9f7ded
DJ
130462006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13047
13048 * gdb.base/default.exp: Allow ';' as a directory separator.
13049
5b96932b
AS
130502006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13051
13052 * gdb.base/help.exp (help add-symbol-file): Update.
13053
1986bccd
AS
130542006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13055
13056 * gdb.base/help.exp (help load): Update expected results.
13057
a8b7528f
FF
130582006-02-19 Fred Fish <fnf@specifix.com>
13059
13060 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13061 specifix hex value as part of results.
13062 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13063
f8261448
FF
130642006-02-16 Fred Fish <fnf@specifix.com>
13065
13066 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13067 ushort_addr, and slong_addr, so the typedefs are not optimized
13068 away.
13069 * gdb.base/whatis.exp: Add tests using type name for struct type,
13070 union type, enum type, and typedef.
a9c64011 13071
31d8bdd2
MK
130722006-02-13 Mark Kettenis <kettenis@gnu.org>
13073
13074 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13075
34e41e63
JB
130762006-02-13 Jim Blandy <jimb@redhat.com>
13077
13078 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13079 case where it takes two "next" commands to skip past the init
13080 call.
13081
ac6e4f31
FF
130822006-02-12 Fred Fish <fnf@specifix.com>
13083
13084 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13085 to handle cases where it takes two "next" commands to skip
13086 past the init call.
13087
2db2d571
JB
130882006-02-07 Joel Brobecker <brobecker@adacore.com>
13089
13090 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13091 on hppa32 targets.
13092
38fcd64c
DJ
130932006-02-06 Vladimir Prus <ghost@cs.msu.su>
13094
13095 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13096 field.
13097
1315ad46
MK
130982006-01-29 Mark Kettenis <kettenis@gnu.org>
13099
13100 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13101
5625b943
DJ
131022006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13103
13104 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13105 files.
13106
80df1bbe
DJ
131072006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13108
13109 * gdb.cp/maint.exp: Set complaints to a positive value.
13110
9078e690
DJ
131112006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13112
13113 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13114 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13115 function name.
13116
9c903399
DJ
131172006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13118
13119 * gdb.base/checkpoint.c: Update copyright notice. Include
13120 <stdlib.h>.
13121
761ae4d6
JB
131222006-01-04 Jim Blandy <jimb@redhat.com>
13123
13124 * gdb.asm/asm-source.exp: Independently provide default values for
13125 asm-flags and debug-flags. Use 'string equal' to do the
13126 comparison, not the implicit expr's '==' operator. Remove
13127 now-unneeded assignments to asm-flags. In h8300 case, place
13128 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13129
099ac3dd
MS
131302006-01-04 Michael Snyder <msnyder@redhat.com>
13131
13132 * gdb.base/checkpoint.c: New file.
13133 * gdb.base/checkpoint.exp: New file.
13134 * gdb.base/multi-fork.c: New file.
13135 * gdb.base/multi-fork.exp: New file.
13136 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13137
f4d85314
FF
131382006-01-04 Fred Fish <fnf@specifix.com>
13139
13140 * gdb.base/ptype.c (foo): Add typedef.
13141 (intfoo): Add function.
13142 * gdb.base/ptype1.c: New file.
13143 * gdb.base/ptype.exp: Handle compilation and linking with two
13144 source files. Test that proper type for "foo" is found based
13145 on source context rather than first match found in symtabs.
13146
a1b06f35
MK
131472005-12-28 Mark Kettenis <kettenis@gnu.org>
13148
13149 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13150 * gdb.asm/openbsd.inc: Indent commands.
13151
d082a1e2
MK
131522005-12-26 Mark Kettenis <kettenis@gnu.org>
13153
c65016bd
MK
13154 * gdb.base/freebpcmd.exp: Increase timeout.
13155
d082a1e2
MK
13156 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13157
d3c32a0e
DJ
131582005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13159
13160 * gdb.base/default.exp: Update check for "show version".
13161
9fdb1f50
RC
131622005-12-09 Randolph Chung <tausq@debian.org>
13163
13164 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13165 * gdb.asm/pa64.inc: New file.
13166
5f2c56f7
RC
131672005-12-09 Randolph Chung <tausq@debian.org>
13168
13169 * gdb.asm/common.inc: Indent commands.
13170 * gdb.asm/asmsrc1.s: Likewise.
13171 * gdb.asm/asmsrc2.s: Likewise.
13172
8117349c
RC
131732005-12-09 Randolph Chung <tausq@debian.org>
13174
13175 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13176 (get_addr_of_sym): Remove duplicate print.
13177 (gen_core): xfail hppa*-*-hpux*, update expected output.
13178 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13179 * gdb.arch/pa64-nullify.s: New file.
13180
8f07f25a
RC
131812005-12-09 Randolph Chung <tausq@debian.org>
13182
13183 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13184
55b39184
DJ
131852005-12-07 Christophe Lyon <christophe.lyon@st.com>
13186
13187 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13188 code generation for these functions.
13189 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13190 error message.
13191
31e2b00f
AS
131922005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13193
13194 * gdb.base/help.exp (help b, help br, help bre, help brea)
13195 (help break): Update the expected message.
13196
c3d0b56e
SC
131972005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13198
13199 * gdb.asm/m68hc11.inc: Setup the data section.
13200 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13201 script for this test.
13202 (m6812-*-*): Likewise.
13203
36ae0ea9
RC
132042005-11-09 Randolph Chung <tausq@debian.org>
13205
13206 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13207
9d6f42e9
WZ
132082005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13209
13210 * gdb.base/break.exp: Fix a comment typo.
13211
e2126a14
EZ
132122005-11-03 Jim Blandy <jimb@redhat.com>
13213
a9c64011
AS
13214 Checked in by Elena Zannoni <ezannoni@redhat.com>
13215
889bf7c5 13216 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13217
e0ac7199
CV
132182005-11-02 Corinna Vinschen <vinschen@redhat.com>
13219
13220 * gdb.arch/gdb1558.c: Include stdio.h.
13221
31d3fb18
MK
132222005-10-31 Mark Kettenis <kettenis@gnu.org>
13223
13224 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13225
e52b687c
MK
132262005-10-31 Mark Kettenis <kettenis@gnu.org>
13227
13228 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13229
f4711d79
PG
132302005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13231
a9c64011
AS
13232 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13233 vscr" tests to better match output.
f4711d79 13234
987a9106
JB
132352005-10-12 Jim Blandy <jimb@redhat.com>
13236
13237 * gdb.base/structs.exp (any): New function.
13238 (test_struct_returns): Don't make any assumptions at all about
13239 what value the function returns when GDB can't set the return
13240 value.
13241
2336bb58
JB
132422005-10-09 Joel Brobecker <brobecker@adacore.com>
13243
13244 * gdb.ada/arrayidx/p.adb: New file.
13245 * gdb.ada/arrayidx.exp: New testcase
13246
132472005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13248
13249 * gdb.ada/array_return/pck.ads: New file.
13250 * gdb.ada/array_return/pck.adb: New file.
13251 * gdb.ada/array_return/p.adb: New file.
13252 * gdb.ada/array_return.exp: New testcase.
13253
705335ea
JB
132542005-10-03 Joel Brobecker <brobecker@adacore.com>
13255
a9c64011
AS
13256 * gdb.base/arrayidx.c: New file.
13257 * gdb.base/arrayidx.exp: New testcase.
705335ea 13258
11ee9940
NR
132592005-09-29 Nick Roberts <nickrob@snap.net.nz>
13260
13261 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13262 frames-invalid and breakpoints-invalid are no longer generated
13263 with level 3 so don't expect them in the output.
13264
39fb8e9e
BR
132652005-09-27 Bob Rossi <bob@brasko.net>
13266
a9c64011 13267 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13268 from test. Escape the | in mi_gdb_test call.
13269 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13270 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13271 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13272 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13273 expected regex's in mi_gdb_test calls.
13274 * lib/mi-support.exp: Remove arbitrary .* from tests.
13275 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13276 Fully anchor GDB/MI expected results in mi_gdb_test.
13277 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13278 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13279
2af48f68
PB
132802005-09-26 Paul Brook <paul@codesourcery.com>
13281
13282 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13283
f34502bc
WZ
132842005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13285
13286 * bfp-test.c: New file.
13287 * bfp-test.exp: New testcase.
13288
ca929517
WZ
132892005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13290
13291 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13292 of subarray and substring variable.
13293 * gdb.fortran/subarray.f: New source file for the test of subarray
13294 and substring variable evaluation.
13295 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13296 of string constant.
13297
c761af65
DJ
132982005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13299
13300 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13301 copyright dates.
13302
561d7a1d
PG
133032005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13304
13305 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13306 powerpc altivec' test with an almost identical 'info vector' test.
13307
b2b64cc9
PG
133082005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13309
a9c64011
AS
13310 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13311 vscr" tests to match output.
b2b64cc9 13312
6ac4d15a
PG
133132005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13314
a9c64011
AS
13315 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13316 output.
6ac4d15a 13317
40e55bef
BR
133182005-09-11 Bob Rossi <bob@brasko.net>
13319
889bf7c5
PA
13320 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13321 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13322 commands that return an MI output command and an asyncronous MI output
13323 command.
40e55bef
BR
13324 * gdb.mi/mi-console.exp: Ditto.
13325
3c7385ec
BR
133262005-09-11 Bob Rossi <bob@brasko.net>
13327
13328 * gdb.mi/mi-var-child.c: Include <string.h>.
13329
a6cd0eb3
DJ
133302005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13331
13332 * killed.exp: Correct gdb_expect syntax.
13333
2f168eed
CV
133342005-08-09 Corinna Vinschen <vinschen@redhat.com>
13335
13336 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13337
ecd3fd0f
BR
133382005-08-02 Bob Rossi <bob@brasko.net>
13339
13340 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13341 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13342 Change tests to inferior-tty-set/show.
13343 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13344 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13345 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13346 inferior. Use mi_gdb_test to get GDB and Inferior output.
13347 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13348 descriptor.
13349 (mi_inferior_tty_name): Add inferior PTY file name.
13350 (mi_gdb_start): Add INFERIOR_PTY parameter.
13351 (mi_gdb_test): Add IPATTERN parameter.
13352
f1ea48cb 133532005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13354
f1ea48cb
BR
13355 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13356 parameter to mi_gdb_test.
13357 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13358
6e650a67
DJ
133592005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13360
13361 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13362 struct_declarations.
13363 * gdb.mi/mi-var-child.exp: Step over the initialization of
13364 struct_declarations.
13365
8be260b6
DJ
133662005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13367
13368 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13369 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13370 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13371 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13372 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13373 file.
13374
4e660f07
NR
133752005-07-27 Nick Roberts <nickrob@snap.net.nz>
13376
13377 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13378 (do_children_tests): Assign values to the extra elements.
13379
13380 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13381 them for tests for "-var-update --no-values" and
a9c64011 13382 "-var-update --all-values".
4e660f07
NR
13383 Add test for "-var-list-children --simple-values".
13384
13385 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13386
13387 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13388 "-stack-list-locals --simple-values" Improve doc strings and
13389 comments.
13390
6bdae935
MK
133912005-07-18 Mark Kettenis <kettenis@gnu.org>
13392
598b7a6f
MK
13393 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13394 *-*-openbsd*.
13395 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13396
6bdae935
MK
13397 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13398 sigaltsatck'.
13399
1323e929 134002005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13401
1323e929
BR
13402 * gdb.base/default.exp (tty): Changed output of command.
13403 * gdb.base/help.exp (help tty): Ditto.
13404
b1a9c082
MK
134052005-07-12 Mark Kettenis <kettenis@gnu.org>
13406
13407 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13408
10a844a2
MK
134092005-07-10 Mark Kettenis <kettenis@gnu.org>
13410
13411 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13412 -stack-select-frame without arguments.
13413 (test_stack_frame_listing): Add test for newly implemented command
13414 -stack-info-frame.
13415
3cb3b8df
BR
134162005-07-06 Bob Rossi <bob@brasko.net>
13417
13418 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13419 command.
13420 (Copyright): Update copyright.
13421
a0c5fbcf
WZ
134222005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13423
13424 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13425 tests to evaluate exponentiation expression.
13426
984971d0
AS
134272005-06-29 Andreas Schwab <schwab@suse.de>
13428
13429 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13430 main to avoid warnings.
13431
13432 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13433
fe03833f
NR
134342005-06-20 Nick Roberts <nickrob@snap.net.nz>
13435
13436 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13437 -stack-select-frame without arguments.
13438 (test_stack_frame_listing): Add test for newly implemented command
13439 -stack-info-frame.
a9c64011 13440
7a55f279
WZ
134412005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13442
0ffa0ea5
DJ
13443 * gdb.fortran/array-element.f: New file.
13444 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13445
26585198
DJ
134462005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13447
13448 * gdb.base/bigcore.exp: Correct checks for systems which can
13449 not dump a large core file.
13450
c1bd25fd
DJ
134512005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13452
13453 * gdb.base/relocate.c: Add a copyright notice.
13454 (dummy): Remove.
13455 * gdb.base/relocate.exp: Test printing the values of variables
13456 from a relocatable file.
13457
589e074d
DJ
134582005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13459
13460 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13461 excess MI output after an error.
13462
0915f927
JB
134632005-05-29 Joel Brobecker <brobecker@adacore.com>
13464
13465 * gdb.arch/alpha-step.c: New file.
13466 * gdb.arch/alpha-step.exp: New testcase.
13467
76ff342d
DJ
134682005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13469 Dennis Brueni <dennis@slickedit.com>
13470
13471 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13472 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13473 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13474 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13475 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13476 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13477 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13478
96b0c7ac
DJ
134792005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13480 Wu Zhou <woodzltc@cn.ibm.com>
13481
13482 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13483 IBM's xlc compiler.
13484 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13485 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13486
f21565d2
JB
134872005-05-13 Jim Blandy <jimb@redhat.com>
13488
13489 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13490 calling gdb_suppress_entire_file.
13491 * gdb.base/charset.exp: Same.
13492 * gdb.base/call-rt-st.exp: Same.
13493
6006a3a1
BR
134942005-05-05 Bob Rossi <bob_rossi@cox.net>
13495
13496 * lib/gdb.exp (fullname_syntax): Added global regex.
13497 (fullname_syntax_POSIX): Ditto.
13498 (fullname_syntax_UNC): Ditto.
13499 (fullname_syntax_DOS_CASE): Ditto.
13500 (fullname_syntax_DOS): Ditto.
13501 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13502 fullname_syntax variable to scope and use it.
13503 (test_file_list_exec_source_files): Ditto.
13504 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13505
c3b69c04
DJ
135062005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13507
13508 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13509
3c95e6af
PG
135102004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13511
a9c64011
AS
13512 * lib/gdb.exp (skip_altivec_tests): New function, based on
13513 check_vmx_hw_available from the GCC testsuite.
13514 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13515 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13516
78df6c56
JB
135172005-05-02 Jim Blandy <jimb@redhat.com>
13518
13519 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13520 calling gdb_suppress_entire_file.
13521
1690f9cf
DJ
135222005-04-30 Randolph Chung <tausq@debian.org>
13523
13524 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13525 Slightly relax "sem_post" name checking.
13526
5ea106f7
PG
135272005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13528
13529 * gdb.base/unload.exp: Use new shared library infrastructure.
13530
bf7234cf
PG
135312005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13532
13533 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13534 infrastructure.
bf7234cf 13535
547b869a
CV
135362005-04-29 Corinna Vinschen <vinschen@redhat.com>
13537
13538 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13539 * gdb.asm/h8300.inc: New file.
13540
f07e55f0
PG
135412005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13542
13543 * gdb.base/shlib-call.exp: Change to use new shared library
13544 infrastructure.
13545
3cbba3d1
PG
135462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13547
a9c64011
AS
13548 * gdb.base/pending.exp: Change to use new shared library
13549 infrastructure.
3cbba3d1 13550
ed6df200
PG
135512005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13552
a9c64011
AS
13553 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13554 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13555
8c8f4ebe
PG
135562005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13557
a9c64011
AS
13558 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13559 shared objects being adjusted and update copyright years.
8c8f4ebe 13560
607fbc54
DJ
135612005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13562
13563 * ChangeLog: Correct some 2003-01-13 dates.
13564 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13565 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13566 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13567 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13568 gdb.trace/tfind.exp: Update copyright years.
13569
57bf0e56
DJ
135702005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13571 Daniel Jacobowitz <dan@codesourcery.com>
13572
13573 * lib/gdb.exp (gdb_compile): Handle shlib=.
13574 (gdb_compile_shlib): New function.
13575
9b593790
PG
135762005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13577
a9c64011 13578 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13579
9494c6a5
DJ
135802005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13581
13582 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13583 gdb.server.
13584 * configure.ac: Likewise.
13585 * configure: Regenerated.
13586 * gdb.gdbserver/Makefile.in: Moved to...
13587 * gdb.server/Makefile.in: ... here.
13588 * gdb.gdbserver/server.c: Moved to...
13589 * gdb.server/server.c: ... here.
13590 * gdb.gdbserver/server-run.exp: Moved to...
13591 * gdb.server/server-run.exp: ... here.
13592
6f8eac0e
DJ
135932005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13594
13595 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13596 * configure.ac: Create gdb.gdbserver/Makefile.
13597 * configure: Regenerated.
13598 * lib/gdbserver-support.exp: New file, derived from
13599 config/gdbserver.exp.
13600 * config/gdbserver.exp: Use gdbserver-support.exp.
13601 * gdb.gdbserver/Makefile.in: New file.
13602 * gdb.gdbserver/server.c: New file.
13603 * gdb.gdbserver/server-run.exp: New file.
13604
6e87504d
PG
136052005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13606
a9c64011
AS
13607 * lib/gdb.exp (test_compiler_info): Return compiler_info
13608 if no arguments are given.
6e87504d 13609
d1779be4
PG
136102005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13611
13612 * gdb.arch/altivec-abi.exp: Check for compiler and set
13613 use altivec' flag accordingly.
13614 * gdb.arch/altivec-regs.exp: Likewise.
13615
88750304
DJ
136162005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13617
13618 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13619
f3fb768d
AS
136202005-03-27 Andreas Schwab <schwab@suse.de>
13621
13622 * gdb.base/bigcore.c (main): Add missing mode argument in open
13623 call.
13624
7e813ac5
DJ
136252005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13626
13627 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13628 downloads.
13629 * config/gdbserver.exp (gdb_load): Likewise.
13630
8e3049aa
PB
136312005-03-14 Paul Brook <paul@codesourcery.com>
13632
13633 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13634 targets.
13635
a9df7c44
JB
136362005-03-09 Joel Brobecker <brobecker@adacore.com>
13637
13638 * gdb.dwarf2/dup-psym.S: New file.
13639 * gdb.dwarf2/dup-psym.exp: New testcase.
13640
9f0d94e8
JB
136412005-03-09 Joel Brobecker <brobecker@adacore.com>
13642
13643 * gdb.ada/exec_changed/first.adb: New file.
13644 * gdb.ada/exec_changed/second.adb: New file.
13645 * gdb.ada/exec_changed.exp: New testcase.
13646
5f579bc5
NS
136472005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13648
36e9969c
NS
13649 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13650 (A2): New class.
13651 (main): Test operator+.
13652 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13653 breakpoint test.
13654
5f579bc5
NS
13655 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13656 * gdb.base/signull.exp: Disable if gdb,nosignals.
13657 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13658 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13659 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13660 * gdb.mi/mi2-console.exp: Likewise.
13661 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13662 continue output at start.
13663 (gdb_collect_locals_test): Robustify regexp.
13664 * gdb.trace/passc-dyn.exp: Fix comment typo.
13665 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13666
be46087e
CV
136672005-03-08 Corinna Vinschen <vinschen@redhat.com>
13668
13669 * gdb.asm/asm-source.exp: Add iq2000 case.
13670 * gdb.asm/iq2000.inc: New file.
13671
384e1a61 136722005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13673
384e1a61
MI
13674 * gdb.base/command.exp: Change hardcoded value to regular expression.
13675 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13676
584b6e9e
DJ
136772005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13678
13679 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13680 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13681 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13682 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13683 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13684
ab5b5d61
MK
136852005-03-05 Mark Kettenis <kettenis@gnu.org>
13686
13687 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13688 changes.
13689
ae051c1b
PG
136902004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13691
a9c64011
AS
13692 * lib/compiler.c: Add test for IBM's xlc compiler.
13693 * lib/compiler.cc: Likewise.
ae051c1b 13694
3f0f6ed2
JB
136952004-02-24 Joel Brobecker <brobecker@adacore.com>
13696
13697 * gdb.ada/fixed_points.exp: Create compilation object directory
13698 before running the test.
13699 * gdb.ada/null_record.exp: Likewise.
13700 * gdb.ada/packed_array.exp: Likewise.
13701 * gdb.ada/start.exp: Likewise.
13702
724f452b
JB
137032005-02-15 Joel Brobecker <brobecker@adacore.com>
13704
13705 * gdb.ada/packed_array/pa.adb: New file.
13706 * gdb.ada/packed_array.exp: New testcase.
13707
57f5cdfb 137082005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13709
1f393151
MK
13710 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13711 files.
13712
ebdda337
MK
13713 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13714 on *-*-openbsd*. Correctly match whitespace in regukar
13715 expressions.
13716
cf309262
DJ
137172005-02-10 Daniel Jacobowitz <dan@debian.org>
13718
13719 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13720 PR exp/1821
13721 * gdb.base/gdb1821.c: New test file.
13722 * gdb.base/gdb1821.exp: New test file.
13723
3be49e7a
JB
137242005-02-09 Joel Brobecker <brobecker@adacore.com>
13725
13726 * gdb.base/start.c: New file.
13727 * gdb.base/start.exp: New testcase.
13728
e292e67d
JB
137292005-02-09 Joel Brobecker <brobecker@adacore.com>
13730
13731 * gdb.ada/start/dummy.adb: New file.
13732 * gdb.ada/start.exp: New testcase.
13733
dbdfa66c
CV
137342005-02-09 Corinna Vinschen <vinschen@redhat.com>
13735
13736 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13737 for printing symbols and statistics.
13738 Add test for using relative pathnames in "maint print msymbols" test.
13739 Mark "maint info sections DATA" XFAIL on Cygwin.
13740 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13741 tests.
13742
d7941671
AC
137432005-02-09 Andreas Schwab <schwab@suse.de>
13744
13745 Committed by Andrew Cagney <cagney@gnu.org>
13746 * gdb.base/remotetimeout.exp: New file.
13747
74e5ef44
MK
137482005-02-07 Mark Kettenis <kettenis@gnu.org>
13749
13750 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13751
464dd14d
JB
137522005-02-03 Joel Brobecker <brobecker@adacore.com>
13753
13754 * gdb.ada/gnat_ada.gpr: New file.
13755 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13756 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13757 * configure.ac: No longer generate gnat_ada.gpr.
13758 * configure: Regenerate.
13759 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13760 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13761 * gdb.ada/null_record/bar.ads: Likewise.
13762 * gdb.ada/null_record/bar.adb: Likewise.
13763 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13764 * gdb.ada/null_record.exp (testdir): New variable.
13765 (testfile): executable is now in testdir subdirectory.
13766 (srcfile): Use full path to the main compilation unit.
13767 * gdb.ada/fixed_points.exp: Same changes as above.
13768
30d756ae
NR
137692005-02-03 Nick Roberts <nickrob@snap.net.nz>
13770
13771 * gdb.base/interp.exp: New test.
13772
9d799f85
AC
137732005-01-24 Andrew Cagney <cagney@gnu.org>
13774
13775 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13776
15656118
AC
137772005-01-19 Andrew Cagney <cagney@gnu.org>
13778
a892c31b
AC
13779 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13780 configure.ac not configure.in.
13781
15656118
AC
13782 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13783 of powerpc*-*-*.
13784 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13785 * gdb.base/list.exp (test_list_function)
15656118
AC
13786 (test_list_filename_and_function): Ditto.
13787 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13788
a7b01baf
AC
137892005-01-16 Andrew Cagney <cagney@gnu.org>
13790
17d92a02
AC
13791 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13792
a7b01baf
AC
13793 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13794
bc8332bb
AC
137952005-01-14 Andrew Cagney <cagney@gnu.org>
13796
13797 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13798 * gdb.mi/mi2-var-cmd.exp: Ditto.
13799
4d074752
CV
138002005-01-10 Corinna Vinschen <vinschen@redhat.com>
13801
13802 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13803
bec39cab
AC
138042005-01-07 Andrew Cagney <cagney@gnu.org>
13805
13806 * configure.ac: Rename configure.in, require autoconf 2.59.
13807 * configure: Re-generate.
13808 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13809 * gdb.stabs/configure: Re-generate.
13810 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13811 * gdb.hp/configure: Re-generate.
13812 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13813 autoconf 2.59.
13814 * gdb.hp/gdb.objdbg/configure: Re-generate.
13815 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13816 autoconf 2.59.
13817 * gdb.hp/gdb.defects/configure: Re-generate.
13818 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13819 autoconf 2.59.
13820 * gdb.hp/gdb.compat/configure: Re-generate.
13821 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13822 autoconf 2.59.
13823 * gdb.hp/gdb.base-hp/configure: Re-generate.
13824 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13825 autoconf 2.59.
13826 * gdb.hp/gdb.aCC/configure: Re-generate.
13827
f10b16d4
JB
138282004-12-15 Jim Blandy <jimb@redhat.com>
13829
13830 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13831 under NPTL when there is debugging info available for libpthread.
13832
fb6e1814
JG
138332004-12-13 Jerome Guitton <guitton@gnat.com>
13834
13835 * gdb.ada/fixed_points.c: New file.
13836 * gdb.ada/fixed_points.exp: New file.
13837
fe46cd3a
RC
138382004-12-03 Randolph Chung <tausq@debian.org>
13839
13840 * gdb.arch/pa-nullify.exp: New file.
13841 * gdb.arch/pa-nullify.s: New file.
13842
8de0841b
RC
138432004-11-30 Randolph Chung <tausq@debian.org>
13844
13845 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13846 instead of "tbug". Fix regexp to work properly with gdb_test.
13847
c8170782
PH
138482004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13849
13850 * gdb.base/bitfields2.exp: New test.
13851 * gdb.base/bitfields2.c: New file.
13852
954269c2
RE
138532004-11-28 Richard Earnshaw <rearnsha@arm.com>
13854
13855 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13856
0107feed
RC
138572004-11-16 Randolph Chung <tausq@debian.org>
13858
13859 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13860
f073ae8c
DJ
138612004-11-14 Daniel Jacobowitz <dan@debian.org>
13862
13863 * gdb.threads/threadapply.exp: Correct "macro details" test.
13864
19ad59e7
JJ
138652004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13866
13867 * gdb.threads/threadapply.exp: New test.
13868 * gdb.threads/threadapply.c: New file.
13869
9cf0961b
MK
138702004-11-07 Mark Kettenis <kettenis@gnu.org>
13871
13872 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13873 frames.
13874
c789492a
FL
138752004-11-05 Felix Lee <felix+log1@specifixinc.com>
13876
13877 * gdb.base/cursal.exp: New file.
13878 * gdb.base/cursal.c: New file.
13879
a1e167bb
AC
138802004-11-03 Andrew Cagney <cagney@gnu.org>
13881
13882 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13883
b7cbf173
MK
138842004-10-30 Mark Kettenis <kettenis@gnu.org>
13885
13886 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13887 NetBSD/ELF targets.
13888
88f9d34f
JB
138892004-10-29 Joel Brobecker <brobecker@gnat.com>
13890
13891 * gdb.threads/bp_in_thread.c: New file, copied from
13892 pthread_cond_wait.c.
13893 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13894 file, rather than reusing the .c file from another testcase.
13895
ca7d6a0c
JB
138962004-10-20 Joel Brobecker <brobecker@gnat.com>
13897
13898 * gdb.ada/null_record.exp: Check where we stopped after
13899 sending the start command, instead of where the associated
13900 temporary breakpoint was inserted.
13901
0d863d03
AC
139022004-10-14 Andrew Cagney <cagney@gnu.org>
13903
13904 * gdb.mi/gdb701.c (main): Return 0.
13905
d11e72cb
DJ
139062004-10-13 Daniel Jacobowitz <dan@debian.org>
13907
d40539a4 13908 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13909
e1923096
JJ
139102004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13911
13912 * gdb.threads/schedlock.c: Add comment markers to use to find
13913 line numbers.
13914 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13915 comments.
13916 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13917 breakpoint lines.
13918
ec8ba2c9
DJ
139192004-10-12 Daniel Jacobowitz <dan@debian.org>
13920
13921 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13922
0eb3658b
DJ
139232004-10-12 Daniel Jacobowitz <dan@debian.org>
13924
13925 * configure.in: Add gdb.dwarf2.
13926 * configure: Regenerated.
13927 * Makefile.in: Add gdb.dwarf2.
13928 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13929 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13930 gdb.dwarf2/file1.txt: New files.
13931
a271cc33
OF
139322004-10-11 Orjan Friberg <orjanf@axis.com>
13933
a9c64011 13934 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13935 of "run", since the latter doesn't work with remote targets. Adjust
13936 the breakpoint numbering accordingly.
13937 * gdb.threads/pthread_cond_wait.exp: Ditto.
13938
895ce074
MC
139392004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13940
13941 * gdb.base/overlays.exp: Update copyright years.
13942
6be3092d
KI
139432004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13944
13945 * gdb.base/overlays.exp: Disable if target is Linux.
13946
e05389b8
FL
139472004-10-06 Felix Lee <felix+log1@specifixinc.com>
13948
13949 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13950
73cb587d
KI
139512004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13952
13953 * gdb.asm/asm-source.exp: Add m32r-linux target.
13954 * gdb.asm/m32r-linux.inc: New file.
13955
3c0edcdc
AC
139562004-09-24 Andrew Cagney <cagney@redhat.com>
13957 David Anderson <anderson@redhat.com>
13958
13959 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13960 command fails, assume things will work.
13961 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13962 (_GNU_SOURCE): Define.
13963 (print_unsigned, print_hex): Change parameter to "long long".
13964 (print_byte_count): New function, use to print byte counts.
13965 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13966 O_LARGEFILE.
13967 (main): Compute an upper bound on a corefile in max_core_size.
13968 Limit memory chunk size to max_core_size. Limit total memory
13969 allocated to max_core_size.
13970
4bb3667f
AC
139712004-09-23 Andrew Cagney <cagney@gnu.org>
13972
13973 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13974 from a separate process with code that creates a corefile by
13975 making the inferior dump core.
13976
60fe1a51
MK
139772004-09-23 Mark Kettenis <kettenis@gnu.org>
13978
13979 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13980 block.
13981
8e937346
MC
139822004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13983
13984 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13985 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13986 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13987 Likewise.
13988
7213f6d6
JJ
139892004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13990
13991 * gdb.java/jprint.exp: New test case for java inferior call.
13992 * gdb.java/jprint.java: Ditto.
13993
eac69dca
JB
139942004-09-15 Joel Brobecker <brobecker@gnat.com>
13995
13996 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13997
22227696
MC
139982004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13999
14000 * gdb.threads/killed.c: Include <stdlib.h>.
14001 * gdb.threads/pthreads.c: Likewise.
14002
7dd403a4
MC
140032004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14004
14005 * gdb.threads/killed.c: Add copyright notice.
14006
33f2d567
JM
140072004-09-10 Jason Molenda (jmolenda@apple.com)
14008
a9c64011
AS
14009 * gdb.base/define.exp: Two new tests to verify zero space chars
14010 after 'if' and 'while' commands in a user-defined command is correctly
14011 parsed.
33f2d567 14012
e05b62ac
AC
140132004-09-08 Andrew Cagney <cagney@gnu.org>
14014
14015 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14016 delivery test with duplicate at end of file.
14017
9cbe82da
MK
140182004-09-06 Mark Kettenis <kettenis@jive.nl>
14019
14020 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14021
564803d9
MC
140222004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14023
14024 * config/hppro.exp: Removed.
14025
7c6807ce
MC
140262004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14027
14028 * config/sparclet.exp: Removed.
14029
bf7e26dd
MC
140302004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14031
14032 * config/udi.exp: Removed.
14033
714e341b
MC
140342004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14035
14036 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14037 of "exp_continue".
14038 (advancei): Likewise.
14039
1236e623
JJ
140402004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14041
14042 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14043
3bdcad15
MI
140442004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14045
228af206 14046 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14047 to check for nodebug in executable.
14048 * gdb.gdb/observer.exp (setup_test): Likewise.
14049 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14050 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14051
c72b934c
AC
140522004-09-01 Andrew Cagney <cagney@gnu.org>
14053
14054 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14055 files.
14056
edd9b715
JJ
140572004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14058
14059 * gdb.base/unload.exp: Fix expected warning message to match
14060 latest format.
14061
fb4ce06b
CV
140622004-09-01 Corinna Vinschen <vinschen@redhat.com>
14063
14064 * gdb.base/call-rt-st.exp: Fix typos.
14065
ce78e7c3
MI
140662004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14067
14068 * gdb.threads/thread_check.exp: New testcase.
14069 * gdb.threads/thread_check.c: New testcase.
14070
2dedb159
AC
140712004-08-31 Andrew Cagney <cagney@gnu.org>
14072
14073 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14074 (skip_to_handler_entry): New procedures. Test stepping into a
14075 handler when the breakpoint is at the handler's entry point.
14076
68f53502
AC
140772004-08-30 Andrew Cagney <cagney@gnu.org>
14078
14079 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14080 gdb/1757.
14081
3e3ffd2b
MC
140822004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14083
14084 With code from Manoj Iyer <manjo@austin.ibm.com>:
14085 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14086 return value. Add an arm for "no debugging symbols found".
14087 Change a stray "error" to "perror".
14088 (gdb_run_cmd): Adapt to new return value.
14089 * gdb.base/remote.exp: Adapt to new return value.
14090 * gdb.gdb/complaints.exp: Likewise.
14091 * gdb.gdb/observer.exp: Likewise.
14092 * gdb.gdb/selftest.exp: Likewise.
14093 * gdb.gdb/xfullpath.exp: Likewise.
14094
4b6f5fd2
JB
140952004-08-27 Joel Brobecker <brobecker@gnat.com>
14096
14097 * gdb.threads/bp_in_thread.exp: New testcase.
14098
e5b25496
MC
140992004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14100
14101 Fix PR testsuite/1735.
14102 * gdb.threads/schedlock.c (thread_function): Add a cast
14103 to suppress a gcc warning.
14104 * gdb.threads/thread-specific.c (thread_function): Likewise.
14105
934353d6
MC
141062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14107
14108 * gdb.base/unload.c: Include <stdlib.h>.
14109
f98a0aef 141102004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14111
f98a0aef 14112 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14113 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14114 synchronized after the "return".
14115
5a2e8882
MC
141162004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14117
14118 * gdb.mi/basics.c: Include <stdio.h>.
14119 * gdb.mi/pthreads.c: Include <stdlib.h>.
14120 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14121
a9640423
MC
141222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14123
14124 * gdb.threads/schedlock.c: Add copyright notice.
14125
b04e311d
AC
141262004-08-25 Andrew Cagney <cagney@gnu.org>
14127
14128 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14129 (skip_over_handler, breakpoint_over_hander): New test procedures.
14130 (advance, advancei): Add a proper prefix, do not use
14131 rerun_to_main.
14132 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14133
7c27f15b
MC
141342004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14135
14136 * gdb.mi/basics.c: Add copyright notice.
14137 * gdb.mi/var-cmd.c: Add copyright notice.
14138
fffc87ae
MC
141392004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14140
14141 * lib/gdb.exp: Remove signed_keyword_not_used.
14142 * lib/compiler.c: Likewise.
14143 * lib/compiler.cc: Likewise.
14144
d782e0bf
MC
141452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14146
14147 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14148 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14149
96033e83
MC
141502004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14151
14152 * gdb.base/whatis.c: Add copyright notice.
14153
cf38c229
MK
141542004-08-20 Mark Kettenis <kettenis@gnu.org>
14155
14156 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14157 it to skip the breakpoints encoded in the inline assembly.
14158
f4b49756
MC
141592004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14160
14161 * Makefile.in: Add gdb.fortran.
14162
2f193b69
MC
141632004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14164
14165 * gdb.base/call-sc.exp (test_scalar_returns):
14166 Fix cut-and-paste glitch in "Make fun return now".
14167
89a237cb
MC
141682004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14169
14170 * configure.in: Add gdb.fortran.
14171 * configure: Regenerate.
14172 * gdb.fortran/Makefile.in: New file.
14173 * lib/gdb.exp (skip_fortran_tests): New procedure.
14174
469aff8e
MC
141752004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14176
14177 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14178 reference to bug-gnu@prep.ai.mit.edu.
14179 * gdb.mi/mi-var-child.exp: Likewise.
14180 * gdb.mi/mi-var-cmd.exp: Likewise.
14181 * gdb.mi/mi-var-display.exp: Likewise.
14182 * gdb.mi/mi2-var-block.exp: Likewise.
14183 * gdb.mi/mi2-var-child.exp: Likewise.
14184 * gdb.mi/mi2-var-cmd.exp: Likewise.
14185 * gdb.mi/mi2-var-display.exp: Likewise.
14186
00b51b9f
MK
141872004-08-15 Mark Kettenis <kettenis@gnu.org>
14188
14189 * gdb.base/unload.c (main): Make local variable msg const.
14190
45f07fef
MC
141912004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14192
14193 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14194 to bug-gnu@prep.ai.mit.edu.
14195 * gdb.mi/mi-disassemble.exp: Likewise.
14196 * gdb.mi/mi-eval.exp: Likewise.
14197 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14198 default line number.
14199 * gdb.mi/mi-return.exp: Likewise.
14200 * gdb.mi/mi-simplerun.exp: Likewise.
14201 * gdb.mi/mi-stack.exp: Likewise.
14202 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14203 number with explicit range test.
14204 * gdb.mi/mi-watch.exp: Likewise.
14205 * gdb.mi/mi2-break.exp: Likewise.
14206 * gdb.mi/mi2-cli.exp: Likewise.
14207 * gdb.mi/mi2-disassemble.exp: Likewise.
14208 * gdb.mi/mi2-eval.exp: Likewise.
14209 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14210 default line number.
14211 * gdb.mi/mi2-return.exp: Likewise.
14212 * gdb.mi/mi2-simplerun.exp: Likewise.
14213 * gdb.mi/mi2-stack.exp: Likewise.
14214 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14215 number with explicit range test.
14216 * gdb.mi/mi2-watch.exp: Likewise.
14217
dd8c8ee7
MC
142182004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14219
14220 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14221 * gdb.cp/m-static.exp: Likewise.
14222 * gdb.cp/rtti.exp: Likewise.
14223
4e838464
MK
142242004-08-14 Mark Kettenis <kettenis@gnu.org>
14225
14226 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14227
8d8cb839
EZ
142282004-08-14 Eli Zaretskii <eliz@gnu.org>
14229
14230 * ChangeLog: Prefix Local Variables with semi-colons and indent
14231 the reference to older ChangeLog files, to fix fontification in
14232 Emacs.
14233
deea8bb0
MC
142342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14235
14236 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14237 * gdb.mi/mi2-break.exp: Likewise.
14238
c3297504
MC
142392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14240
14241 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14242
25808999
MC
142432004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14244
14245 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14246
226a8d71
MC
142472004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14248
14249 * gdb.cp/classes.exp: Remove unused declarations. Just let
14250 test names default instead of providing special names. Remove
14251 extraneous demangler test.
14252
37fdf854
JJ
142532004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14254
14255 * gdb.base/unload.exp: New test for breakpoints in dynamically
14256 loaded libraries.
14257 * gdb.base/unload.c: Ditto.
14258 * gdb.base/unloadshr.c: Ditto.
14259
2d3a7986
MC
142602004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14261
14262 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14263 cp_test_ptype_class.
14264 (test_enums): Likewise.
14265
c72b934c
AC
142662004-08-10 Andrew Cagney <cagney@gnu.org>
14267
14268 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14269 files.
14270
cc503c8a
AC
142712004-08-10 Andrew Cagney <cagney@gnu.org>
14272
14273 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14274 init_malloc call.
14275
902f2ccb
MC
142762004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14277
14278 * ChangeLog: Add copyright notice. The notice is copied
14279 from emacs 21.3 top level ChangeLog.
14280
78c90502
MC
142812004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14282
14283 * lib/cp-support.exp: New file.
14284 * lib/cp-support.exp (cp_test_type_class): New function.
14285 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14286 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14287 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14288 cp_test_ptype_class.
14289
88e5ea78
MC
142902004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14291
14292 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14293 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14294 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14295 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14296 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14297 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14298 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14299 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14300 gdb.mi/mi2-watch.exp: Update copyright years.
14301
6a89fc9c
MK
143022004-08-09 Mark Kettenis <kettenis@gnu.org>
14303
14304 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14305
1482e0de
MC
143062004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14307
14308 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14309 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14310 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14311 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14312 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14313 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14314 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14315 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14316 gdb.mi/mi-watch.exp: Update copyright years.
14317
1a5ce3f3
DJ
143182004-08-08 Daniel Jacobowitz <dan@debian.org>
14319
14320 PR gdb/1738
14321 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14322 from a breakpoint with a pending signal.
14323
04f6ecf2
DJ
143242004-08-08 Daniel Jacobowitz <dan@debian.org>
14325
14326 PR gdb/1736
14327 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14328 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14329 the prompt.
14330 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14331
54d90d35
DJ
143322004-08-08 Daniel Jacobowitz <dan@debian.org>
14333
14334 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14335
d2f6abb0
DJ
143362004-08-08 Daniel Jacobowitz <dan@debian.org>
14337
14338 PR gdb/1736
14339 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14340 for i?86-*-linux*.
14341
5598c03d
DJ
143422004-08-08 Daniel Jacobowitz <dan@debian.org>
14343
14344 * gdb.arch/i386-prologue.exp: Compile without debug information.
14345
c6fee705
MC
143462004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14347
14348 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14349 rather than asking gdb to search.
14350
dd90efdb
MC
143512004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14352
14353 * gdb.base/gcore.c: Include <string.h>.
14354
1e84bec1
MC
143552004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14356
14357 * gdb.base/gcore.c: Add copyright notice.
14358
e425eb2b
MC
143592004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14360
14361 * gdb.base/freebpcmd.c: Include <stdio.h>.
14362 * gdb.base/long_long.c: Include <string.h>.
14363 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14364 * gdb.base/siginfo.c: Include <string.h>.
14365 * gdb.base/sigstep.c: Include <string.h>.
14366
cb9aaed5
MC
143672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14368
14369 * gdb.base/complex.c: Include <stdlib.h>.
14370
55944f3d
MC
143712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14372
14373 * gdb.base/complex.c: Add copyright notice.
14374
7b2953d9
MC
143752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14376
14377 * gdb.base/charset.c: Include <stdlib.h>.
14378
c9133d23
MC
143792004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14380
14381 * gdb.base/auxv.c: Include <stdlib.h>.
14382
0a8490ad
MC
143832004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14384
14385 * gdb.base/auxv.c: Add copyright notice.
14386
3426d5ec
MC
143872004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14388
14389 * gdb.base/coremaker.c: Add copyright notice.
14390 * gdb.base/coremaker2.c: Add copyright notice.
14391
8da195dd
AC
143922004-08-04 Andrew Cagney <cagney@gnu.org>
14393
14394 * gdb.base/store.exp: Update copyright.
14395 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14396 names, do not import gdb_prompt.
14397
8d394f98
AC
143982004-08-01 Andrew Cagney <cagney@gnu.org>
14399
14400 Fix PR testsuite/1729.
14401 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14402 not use capture_value with value 4.
14403 (capture_value): Add optional test name parameter.
14404 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14405 the prefix, pass to capture_value.
14406
b6702b23
MK
144072004-08-01 Mark Kettenis <kettenis@gnu.org>
14408
14409 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14410 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14411 (main): Call new function.
14412
c203e0ca
MC
144132004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14414
14415 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14416
a7995a30
MC
144172004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14418
14419 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14420
9366563b
MC
144212004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14422
b6eeaf26 14423 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14424 Accept more values of vtbl pointer. Remove some messages
14425 about "obsolete gcc or gdb".
14426
2fc1f950
MC
144272004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14428
14429 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14430
c724d49b
MC
144312004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14432
14433 * gdb.base/asm-source.exp: Properly convert target board
14434 debug flags from gcc format to binutils format.
14435
736b0fce
MK
144362004-07-28 Mark Kettenis <kettenis@gnu.org>
14437
14438 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14439 gdb1718". PR backtrace/1718 partially fixed.
14440
5633ea5c
JJ
144412004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14442
14443 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14444
575eebb1
NC
144452004-07-26 Nick Clifton <nickc@redhat.com>
14446
14447 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14448 good default value for a specific architecture is available then
14449 set it to that value. Otherwise default to the -gstabs switch.
14450 Remove the -g... switches from the asm-flags variable. Allow the
14451 target board info to override the value if it wants to. Pass the
14452 switch on the assembler command line.
14453
62104619
MK
144542004-07-23 Mark Kettenis <kettenis@gnu.org>
14455
14456 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14457 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14458 (main): Call new function.
14459
4a1135b8
MC
144602004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14461
14462 Test for PR exp/1715.
14463 * gdb.base/radix.exp: Refactor common procedures. Make all
14464 test names unique. Change XFAIL to KFAIL.
14465
8a12c1f0
MC
144662004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14467
14468 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14469 * gdb.ada/gnat_ada.gin: ... to here.
14470 * configure.in: Use gnat_ada.gin.
14471 * configure: Regenerate.
14472
23b451cf
AC
144732004-07-20 Andrew Cagney <cagney@gnu.org>
14474
14475 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14476 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14477 XFAILs. Clean up test messages and comments. Check backtraces.
14478 Delete re-sync code.
14479
ab618a02
MC
144802004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14481
14482 Fix PR cli/740.
14483 * gdb.base/annota1.exp: Honor gdb,nosignals.
14484 * gdb.base/annota3.exp: Likewise.
14485
46dad340
MC
144862004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14487
14488 * lib/java.exp: Update copyright notice.
14489
756d8c70
AC
144902004-07-19 Andrew Cagney <cagney@gnu.org>
14491
14492 * gdb.base/selftest.exp: Copy file from here ...
14493 * gdb.gdb/selftest.exp: ... to here.
14494
586027e6
AC
144952004-07-16 Andrew Cagney <cagney@redhat.com>
14496
14497 * lib/insight-support.exp: Delete file.
14498 * lib/java.exp (java_init): Fix copyright.
14499
029d2200
AC
145002004-07-16 Andrew Cagney <cagney@gnu.org>
14501
14502 * gdb.base/restore.c: Append "prologue" to comments marking the a
14503 function's prologue.
14504 * gdb.base/restore.exp: Update copyright, re-indent.
14505 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14506 callerN" prefix where needed. Update patterns that match a
14507 function's prologue.
14508
653b62c5
MC
145092004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14510
14511 * gdb.base/restore.c: Add copyright notice.
14512
f7d690e5
AC
145132004-07-16 Andrew Cagney <cagney@gnu.org>
14514
14515 * gdb.base/logical.exp: Update copyright.
14516 (evaluate): New procedure. Use to re-implement tests using
14517 several tables.
14518
d629a7cb
MH
145192004-07-14 Martin Hunt <hunt@redhat.com>
14520
14521 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14522 which fixes some problems where init.tcl was not found.
14523
9c7bb332
AC
145242004-07-13 Andrew Cagney <cagney@gnu.org>
14525
6bf46641
AC
14526 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14527 (check_sizeof, check_valueof): Do not include the output in the
14528 test name. Use gdb_test.
14529 (get_valueof): Use gdb_test_multiple.
14530
c4ffd4c0
AC
14531 * gdb.base/step-test.exp: Update copyright. Use
14532 gdb_test_multiple. Ensure that test names do not include
14533 architecture dependent output.
14534
ab89363a
AC
14535 * gdb.gdb/observer.exp: Update copyright.
14536 (setup_test): Use gdb_test_multiple.
14537 (attach_first_observer, attach_second_observer)
14538 (attach_third_observer, detach_first_observer)
14539 (detach_second_observer, detach_third_observer)
14540 (reset_counters, check_counters): Make $message a prefix.
14541 (test_normal_stop_notifications): Add "args" parameter - a list of
14542 init functions to be called. Make $message a prefix,
14543 (test_observer_normal_stop): Change the message prefixes so that
14544 they are unique, pass the attach / detach procedures to
14545 test_normal_stop_notifications.
14546
ec58997a
AC
14547 * gdb.base/signull.exp (test_segv): Prefix all tests with
14548 "${name}". Clean up test messages.
14549
b475183b
AC
14550 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14551
9c7bb332
AC
14552 * gdb.base/ena-dis-br.exp: Update copyright.
14553 (break_at): New function. Replace send_gdb with gdb_test,
14554 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14555 ignore count, not stopped at bpt", with KFAIL.
14556
2dd95497
CV
145572004-07-13 Corinna Vinschen <vinschen@redhat.com>
14558
14559 * gdb.base/attach.exp: Remove cleanupfile handling.
14560
419e626b
AC
145612004-07-12 Andrew Cagney <cagney@gnu.org>
14562
14563 * gdb.base/annota1.exp: Cleanup corefile test name.
14564 * gdb.base/annota3.exp: Ditto.
14565
8b1b3228
AC
145662004-07-12 Andrew Cagney <cagney@gnu.org>
14567
78650829
AC
14568 * gdb.base/signals.exp: Clean up copyright, re-indent.
14569
8b1b3228
AC
14570 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14571 gdb_test and gdb_test_multiple.
14572
935c2760
JJ
145732004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14574
14575 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14576 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14577 provide line number info for first statement in main.
14578
1544280f
AC
145792004-07-08 Andrew Cagney <cagney@gnu.org>
14580
1279f4ff
AC
14581 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14582
1544280f
AC
14583 * gdb.base/sigbpt.exp: Make the common part of each test name a
14584 prefix instead of suffix.
14585
bcc82369
BR
145862004-07-07 Bob Rossi <bob_rossi@cox.net>
14587
14588 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14589 test from test_tbreak_creation_and_listing to
14590 test_file_list_exec_source_file
14591 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14592 Changed name of test from test_tbreak_creation_and_listing to
14593 test_file_list_exec_source_file
14594
23f4b0aa
JJ
145952004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14596
14597 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14598 the jmisc() constructor instead of <init>.
14599 * gdb.java/jmisc1.exp: Ditto.
14600
56401cd5
AC
146012004-07-07 Andrew Cagney <cagney@gnu.org>
14602
14603 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14604 corrupting the PC.
14605
44ae2f6a
MC
146062004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14607
14608 * gdb.cp/templates.exp: Accept whitespace change in demangler
14609 output.
14610
45a83408
AC
146112004-07-06 Andrew Cagney <cagney@gnu.org>
14612
14613 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14614
d205ad70
MC
146152004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14616
14617 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14618 * lib/compiler.cc: Likewise.
14619
06ea1a61
MC
146202004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14621
14622 * lib/compiler.cc: Work around string preprocessing problem
14623 with old hp c++ compiler.
14624 * lib/compiler.c: Likewise.
14625
daab1251
CV
146262004-06-29 Corinna Vinschen <vinschen@redhat.com>
14627
14628 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14629 directives to conditionalize symbol prefixing.
14630 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14631 additional_flags handling. Add underscore prefix for Cygwin.
14632 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14633 conditionalize symbol prefixing.
14634 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14635 additional_flags handling. Add underscore prefix for Cygwin.
14636
cc984116
CV
146372004-06-29 Corinna Vinschen <vinschen@redhat.com>
14638
14639 * gdb.base/bigcore.exp: Skip test on Cygwin.
14640
c279b077
MC
146412004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14642
14643 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14644 formats for "info register". Use gdb_test_multiple. Fix
14645 the "invalid register" test.
14646
0e915747
CV
146472004-06-28 Corinna Vinschen <vinschen@redhat.com>
14648
14649 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14650 PID for Cygwin. Add Cygwin specific strings to check for in some
14651 tests.
14652 (do_attach_tests): Add a test for user interaction when attaching
14653 to a process with no matching symbol table already loaded.
14654
11422c86
AC
146552004-06-26 Andrew Cagney <cagney@gnu.org>
14656
14657 Test PR java/1567 and PR java/1565.
14658 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14659 * gdb.java/jmisc2.exp: Delete file.
14660
cefbce26
MC
146612004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14662
14663 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14664
e19f872c
CV
146652004-06-25 Corinna Vinschen <vinschen@redhat.com>
14666
14667 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14668 attach process.
14669
d931ba3b
MC
146702004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14671
14672 * gdb.cp/pr-1553.exp: Remove.
14673
aef68c48
MC
146742004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14675
14676 * gdb.cp/pr-1553.cc: Remove.
14677 * gdb.cp/pr-1553.exp: Disable this test.
14678
8d5df71a
JB
146792004-06-20 Jim Blandy <jimb@redhat.com>
14680
a9c64011 14681 Fix PR testsuite/1680.
8d5df71a
JB
14682 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14683 regular expressions.
14684
4ac6f39d
MC
146852004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14686
14687 Fix PR testsuite/1679.
14688 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14689 Issue an UNSUPPORTED result instead.
14690
1b413552
JB
146912004-06-18 Jim Blandy <jimb@redhat.com>
14692
14693 * gdb.base/charset.exp: Only send a control-C if we see a new
14694 prompt and incomplete command.
14695
6daa6ebd
MC
146962004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14697
14698 * gdb.cp/pr-574.cc: Add copyright notice.
14699
51fa4ae0
JB
147002004-06-17 Jim Blandy <jimb@redhat.com>
14701
14702 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14703 cases where the regexp has no groups; this grabs random text from
14704 the previous test suite, whatever that was.
14705
8fea26c5
MC
147062004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14707
14708 * gdb.cp/printmethod.cc: Add copyright notice.
14709
1e3aeb41
MC
147102004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14711
14712 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14713
9d9030bc
AC
147142004-06-16 Andrew Cagney <cagney@gnu.org>
14715
14716 * gdb.base/signull.c: Update copyright. Include <string.h>.
14717 (bowler): Replace data_pointer with data_read
14718 and data_write cases. Add code_descriptor case.
14719 (zero, desc): New array and pointer.
14720 (data, code): Change to simple pointers.
14721 * gdb.base/signull.exp: Fix probe pattern matching a function
14722 descriptor SIGSEGV. Replace data_pointer with data_read and
14723 data_write tests.
14724
acd4ad44
AC
147252004-06-16 Andrew Cagney <cagney@gnu.org>
14726
14727 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14728
08fd625c
MC
147292004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14730
14731 * gdb.base/long_long.c: Add copyright notice.
14732
1903502c
MC
147332004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14734
14735 * gdb.base/long_long.exp: Remove reference to
14736 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14737 to gdb_breakpoint and gdb_continue_to_breakpoint.
14738
83313cb1
JB
147392004-06-14 Jim Blandy <jimb@redhat.com>
14740
14741 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14742 endian case.
14743
1bf404ef
AC
147442004-06-14 Andrew Cagney <cagney@gnu.org>
14745
14746 * gdb.base/gcore.exp (capture_command_output): Delete the always
14747 passing tests containing inferior values.
14748 * gdb.base/ending-run.exp: Do not include the breakpoint address
14749 in the test message. Update copyright.
14750 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14751 size in the test name, use gdb_test_multiple. Update copyright.
14752
ef220b33
MC
147532004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14754
14755 * gdb.cp/ref-types.cc: Add copyright notice.
14756
4f70a4c9
MC
147572004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14758
14759 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14760 hp_aCC_compiler.
14761 * lib/compiler.cc: Likewise.
14762 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14763 'set' commands. Log diagnostics for other lines. Set
14764 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14765
335928ac
MC
147662004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14767
14768 * gdb.cp/try_catch.cc: Add copyright notice.
14769
2efb12e8
MC
147702004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14771
14772 * gdb.cp/userdef.cc: Add copyright notice.
14773
0bbed51a
MC
147742004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14775
14776 * gdb.cp/virtfunc.cc: Add copyright notice.
14777
e12a46c9
RC
147782004-06-11 Randolph Chung <tausq@debian.org>
14779
14780 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14781 problem.
14782
338e05af
AC
147832004-06-10 Andrew Cagney <cagney@gnu.org>
14784
14785 * lib/compiler.cc, lib/compiler.c: Append either
14786 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14787 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14788 instead of gcc-3-3.
14789
dc3f10cb
AC
147902004-06-09 Andrew Cagney <cagney@gnu.org>
14791
b4d946af
AC
14792 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14793 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14794
dc3f10cb
AC
14795 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14796 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14797 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14798 fixed.
14799
b5c0bfa2
AC
148002004-06-09 Andrew Cagney <cagney@gnu.org>
14801
14802 * gdb.base/structs.exp (test_struct_returns): Replace
14803 "return_value_unknown" and "finish_value_unknown" by
14804 "return_value_known" and "finish_value_known". Instead of
14805 "return_value_unknown" iff "finish_value_unknown", check
14806 "return_value_known" implies "finish_value_known".
14807
caeb605f
MH
148082004-06-08 Martin Hunt <hunt@redhat.com>
14809
14810 * gdb.base/float.exp: Add pattern for mips targets.
14811
c892bb64
RC
148122004-06-08 Randolph Chung <tausq@debian.org>
14813
14814 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14815 message for unknown architectures more clear.
14816
48306d3e
JB
148172004-06-08 Joel Brobecker <brobecker@gnat.com>
14818
14819 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14820 start the execution of the program.
14821
83ecb59f
JB
148222004-06-07 Jim Blandy <jimb@redhat.com>
14823
14824 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14825 * gdb.arch/i386-cpuid.h: New helper file.
14826
55264cb4
RC
148272004-06-07 Randolph Chung <tausq@debian.org>
14828
14829 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14830 has started.
14831
23cadb28
RM
148322004-06-04 Roland McGrath <roland@redhat.com>
14833
14834 Fix PR gdb/1647.
14835 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14836 differently to be robust to output buffering differences.
14837
51d01eda
MC
148382004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14839
14840 * gdb.threads/pthreads.exp: Update copyright years.
14841 (check_control_c): Change asynchronous 'after' to synchronous.
14842
f4fc3b93
RM
148432004-06-04 Roland McGrath <roland@redhat.com>
14844
14845 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14846 next gdb prompt.
14847
4013522b
MC
148482004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14849
14850 Fix PR gdb/1636.
14851 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14852 calls to synchronous.
14853
7a8f1e6b
JB
148542004-05-26 Jim Blandy <jimb@redhat.com>
14855
14856 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14857
81bb3443
RC
148582004-05-24 Randolph Chung <tausq@debian.org>
14859
14860 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14861 * gdb.asm/pa.inc: New file.
14862
8f5a3103
MK
148632004-05-22 Mark Kettenis <kettenis@gnu.org>
14864
14865 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14866
734b8fe8 148672004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14868 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14869
14870 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14871 GDB prompt.
14872
725603e1
UW
148732004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14874
f4fc3b93 14875 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14876 setjmp/longjmp. Use sigaction instead of signal.
14877
8b923272 148782004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14879 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14880
14881 * gdb.threads/pthread_cond_wait.c: New file.
14882 * gdb.threads/pthread_cond_wait.exp: New testcase.
14883
8bfabb04
AC
148842004-05-13 Andrew Cagney <cagney@redhat.com>
14885
14886 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14887 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14888
42edda50
AC
148892004-05-11 Andrew Cagney <cagney@redhat.com>
14890
14891 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14892 fixed but revealed gdb/1639.
14893
d303a6c7
AC
148942004-05-10 Andrew Cagney <cagney@redhat.com>
14895
14896 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14897 func1" and "next to 2nd alarm", kernel bug avoided.
14898
bf08c2a1
DJ
148992004-05-10 Daniel Jacobowitz <dan@debian.org>
14900
14901 PR external/1568
14902 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14903 XFAIL if it is smaller than bytes_allocated.
14904 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14905 (main): Make chunks_allocated unsigned. Correct comment.
14906
c0586a34
JB
149072004-05-07 Joel Brobecker <brobecker@gnat.com>
14908
14909 * gdb.arch/powerpc-aix-prologue.c: New file.
14910 * gdb.arch/powerpc-aix-prologue.exp: New file.
14911
f2785d12
JB
149122004-05-07 Jim Blandy <jimb@redhat.com>
14913
14914 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14915 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14916
bd7f6e30
JB
149172004-05-06 Joel Brobecker <brobecker@gnat.com>
14918
14919 * gdb.base/sep.exp: No longer setup_kfail when the program was
14920 built with dwarf2.
14921
0a5e7efe
JI
149222004-05-05 Jim Ingham <jingham@apple.com>
14923
14924 * gdb.base/pending.exp: Make sure pending breakpoints
14925 preserve the ignore count.
f4fc3b93 14926
a8958849
MK
149272004-04-27 Jerome Guitton <guitton@gnat.com>
14928
14929 * i386-prologue.exp: Add testcase for jump instruction as first
14930 instruction of the real code.
14931 * i386-prologue.c (jump_at_beginning): New function.
14932
7e103f5b
MK
149332004-04-28 Mark Kettenis <kettenis@gnu.org>
14934
14935 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14936 x86_64-*-*.
14937
5d38b224
MK
149382004-04-28 Mark Kettenis <kettenis@gnu.org>
14939
14940 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14941 i*86-*-*.
14942
0ef32fd9
MK
149432004-04-25 Mark Kettenis <kettenis@gnu.org>
14944
14945 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14946 expression that checks the return type.
14947
71d7dd7c
AC
149482004-04-23 Andrew Cagney <cagney@redhat.com>
14949
14950 * gdb.base/call-sc.exp: New test of scalar call/return values.
14951 * gdb.base/call-sc.c: Ditto.
14952
1e9f977e
JJ
149532004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14954
14955 * gdb.threads/manythreads.c: Reduce thread stack size.
14956
899d9e3a
JJ
149572004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14958
14959 * gdb.threads/manythreads.c: Add copyright notice.
14960
61bcae62
AC
149612004-04-23 Andrew Cagney <cagney@redhat.com>
14962
14963 * gdb.base/siginfo.exp: Better handle step out of signal.
14964 * gdb.base/sigstep.exp: Ditto.
14965
7339a42e 149662004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14967 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14968
14969 * gdb.threads/manythreads.c: New testcase.
14970 * gdb.threads/manythreads.exp: Ditto.
14971
5c98409b
JB
149722004-04-22 Jim Blandy <jimb@redhat.com>
14973
14974 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14975 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14976
3b611f1a
MC
149772004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14978
14979 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14980
f0fd9238
AC
149812004-04-21 Andrew Cagney <cagney@redhat.com>
14982
14983 * gdb.base/sigstep.c: New file.
14984 * gdb.base/sigstep.exp: New file.
14985
90990674
JB
149862004-04-16 Joel Brobecker <brobecker@gnat.com>
14987
14988 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14989 call to observer_notify_normal_stop.
14990
78cef34b
AC
149912004-04-15 Andrew Cagney <cagney@redhat.com>
14992
14993 * gdb.base/siginfo.c: New file.
14994 * gdb.base/siginfo.exp: New file.
14995
d2343407
JB
149962004-04-12 J. Brobecker <brobecker@gnat.com>
14997
14998 * gdb.base/sep.exp: Fix typo in comment.
14999
a2dba3c8
JB
150002004-04-12 J. Brobecker <brobecker@gnat.com>
15001
15002 * gdb.base/sep.c: New file.
15003 * gdb.base/sep-proc.c: New file.
15004 * gdb.base/sep.exp: New testcase.
15005
15f7b60e
MK
150062004-04-09 Mark Kettenis <kettenis@gnu.org>
15007
15008 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15009 support.
15010
44f4de1a
AC
150112004-04-05 Andrew Cagney <cagney@redhat.com>
15012
15013 * gdb.base/sigaltstack.c: New file.
15014 * gdb.base/sigaltstack.exp: New file.
15015
ef04f396
JB
150162004-04-04 Joel Brobecker <brobecker@gnat.com>
15017
15018 * gdb.base/foll-fork.exp: Update the expected output for
15019 "help set follow-fork-mode", to match a change that was made
15020 to the help of this variable on 2004-01-13.
15021
d40d2c92
JB
150222004-04-01 Joel Brobecker <brobecker@gnat.com>
15023
15024 * lib/ada.exp: Add copyright notice.
15025 * bar.ads: Likewise.
15026 * bar.adb: Likewise.
15027 * null_record.adb: Likewise.
15028 * null_record.exp: Likewise.
15029 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15030
f86ef5a3
JB
150312004-04-01 Joel Brobecker <brobecker@gnat.com>
15032
15033 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15034 * configure: Regenerate.
15035
414e70e3
JB
150362004-04-01 Joel Brobecker <brobecker@gnat.com>
15037
15038 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15039 to build the application. Remove the message printed when in
15040 verbose mode, redundant with the UNSUPPORTED message above.
15041
f0aaee49
JB
150422004-03-31 Joel Brobecker <brobecker@gnat.com>
15043
15044 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15045 * gdb.ada (null_record.exp): New testcase.
15046
ac81cb54
JB
150472004-03-31 Joel Brobecker <brobecker@gnat.com>
15048
15049 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15050
854af2f7
JB
150512004-03-31 Joel Brobecker <brobecker@gnat.com>
15052
15053 * gdb.ada: New subdirectory.
15054 * gdb.ada/Makefile.in: New file.
15055 * gdb.ada/gnat_ada.gpr.in: New file.
15056
034cb681
JB
150572004-03-31 Joel Brobecker <brobecker@gnat.com>
15058
15059 * lib/ada.exp: New file.
15060
78a1a894
DJ
150612004-03-24 Daniel Jacobowitz <drow@mvista.com>
15062
15063 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15064 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15065
4b2b3b3e
AC
150662004-03-22 Andrew Cagney <cagney@redhat.com>
15067
15068 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15069 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15070 Problem identified by Ulrich Weigand.
15071
23c73aa3
DC
150722004-03-17 David Carlton <carlton@kealia.com>
15073
15074 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15075 PR c++/826.
15076
d63a86f8
RM
150772004-03-16 Roland McGrath <roland@redhat.com>
15078
15079 * gdb.base/auxv.exp: New file.
15080 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15081
0e02aa50
DC
150822004-03-12 David Carlton <carlton@kealia.com>
15083
15084 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15085 * gdb.cp/pr-1553.cc: Ditto.
15086 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15087 pass branch.
15088
c20b71be
MC
150892004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15090
15091 * gdb.cp/templates.exp: Accept more template types.
15092
c7414a01
MC
150932004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15094
15095 From Corinna Vinschen with modifications.
15096 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15097 local variable obj_with_enum.
15098 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15099 results with obj_with_enum.
15100
ed69573c
MC
151012004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15102
15103 * gdb.cp/classes.cc: New file, copied from misc.cc.
15104 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15105
28301461
MC
151062004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15107
15108 * gdb.cp/misc.cc: Add copyright notice.
15109
1198ecbe
DC
151102004-03-05 David Carlton <carlton@kealia.com>
15111
15112 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15113 * gdb.cp/rtti.h: Update copyright.
15114 (namespace n2::n3): New.
15115 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15116 (n2::n3::func3): New.
15117 (main): Call n2::n3::func3.
15118 * gdb.cp/rtti2.cc: Update copyright.
15119 (n2::create3): New.
15120
9e08c470
MK
151212004-03-04 Mark Kettenis <kettenis@gnu.org>
15122
15123 * gdb.asm/openbsd.inc: Fix typo.
15124
4bebc3aa
FF
151252004-03-03 Fred Fish <fnf@redhat.com>
15126
15127 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15128 "val" instead of unused "size". Update copyright year.
15129
6ea9fb37
DJ
151302004-02-29 Daniel Jacobowitz <drow@mvista.com>
15131
15132 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15133 to use unsigned char.
15134 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15135 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15136
23b23974
DJ
151372004-02-29 Daniel Jacobowitz <drow@mvista.com>
15138
15139 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15140 line of output.
15141
7574fd53
DJ
151422004-02-28 Daniel Jacobowitz <drow@mvista.com>
15143
15144 * gdb.base/relocate.c (dummy): Initialize.
15145
a195357f
DJ
151462004-02-28 Daniel Jacobowitz <drow@mvista.com>
15147
15148 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15149 a breakpoint at exit.
15150
72fd54a9
FF
151512004-02-27 Fred Fish <fnf@redhat.com>
15152
15153 * gdb.base/chng-syms.exp: Add expect condition to match failing
15154 case that isn't a timeout.
15155
b9d23137
AC
151562004-02-27 Andrew Cagney <cagney@redhat.com>
15157
15158 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15159 support.
15160
15d208f6 151612004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15162
15d208f6
FF
15163 * gdb.arch/gdb1431.c: Remove.
15164 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15165 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15166 of "until" incorrectly.
15167
98f9cd2d
JB
151682004-02-26 J. Brobecker <brobecker@gnat.com>
15169
15170 * gdb.cp/class2.cc (empty): New class.
15171 (refer): New function.
15172 (main): Declare an object of type empty and use it.
15173 * gdb.cp/class2.exp: Print the value of an object of type empty.
15174
9b50c11b
JJ
151752004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15176
15177 * gdb.base/langs.exp: Update query string to match the
15178 new nquery format used for pending breakpoints.
15179
0dcd613f
AC
151802004-02-26 Andrew Cagney <cagney@redhat.com>
15181
15182 Fix PR i18n/1570.
15183 * gdb.base/charset.c: Update copyright notice.
15184 (main, init_string): Remove the escape character '\e' tests.
15185 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15186 * gdb.base/charset.exp (valid_host_charset): Ditto.
15187 * gdb.base/setvar.exp: Ditto.
15188
b8a56647
AC
151892004-02-24 Andrew Cagney <cagney@redhat.com>
15190
90d59e34
AC
15191 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15192 mmapped data in core file" PASS and FAIL messages consistent.
15193
b8a56647
AC
15194 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15195 setting a breakpoint. Work around PR java/1565.
15196
9f27c604
JJ
151972004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15198
15199 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15200 new nquery format.
15201 * gdb.base/pending.exp: Ditto.
15202
3224a706
MK
152032004-02-22 Mark Kettenis <kettenis@gnu.org>
15204
15205 * configure.in: Run stabs tests on *BSD.
15206 * configure: Regenerated.
15207
41e0a9ca
MK
152082004-02-21 Mark Kettenis <kettenis@gnu.org>
15209
15210 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15211
1e1b3428
FF
152122004-02-20 Fred Fish <fnf@redhat.com>
15213
15214 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15215 blank in test for "returns short", for consistency with other
15216 "returns xxx" tests. Update copyright year.
15217
f9a7572a
FF
152182004-02-19 Fred Fish <fnf@redhat.com>
15219
15220 New testcase for PR breakpoint/1558.
15221 * gdb.arch/gdb1558.exp: New file.
15222 * gdb.arch/gdb1558.c: New file.
15223
b2ce2854
EZ
152242004-02-19 Elena Zannoni <ezannoni@redhat.com>
15225
15226 * gdb.base/nodebug.exp: Fix typo.
15227
e7c9ff01
JB
152282004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15229
15230 Committed by Jim Blandy <jimb@redhat.com>.
15231
62f4b920
JB
15232 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15233
2db536a1
JB
15234 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15235
e7c9ff01
JB
15236 * gdb.base/float.exp: Support s390*-*-* targets.
15237
f3205b34
AF
152382004-02-17 Adam Fedor <fedor@gnu.org>
15239
15240 * gdb.base/gdb1555.exp: New file.
15241 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15242
9d62932d
EZ
152432004-02-17 Elena Zannoni <ezannoni@redhat.com>
15244
15245 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15246
344c9711
FF
152472004-02-16 Fred Fish <fnf@redhat.com>
15248
15249 * gdb.arch/gdb1291.c: Remove
15250 * gdb.arch/gdb1291.s: New test input file.
15251 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15252 fail. Test for correct result, known incorrect result, other
15253 failures and timeouts.
15254
2d822687
AC
152552004-02-16 Andrew Cagney <cagney@redhat.com>
15256
15257 * gdb.base/bigcore.exp: New file.
15258 * gdb.base/bigcore.c: New file.
15259
dac15b66
AC
152602004-02-13 Andrew Cagney <cagney@redhat.com>
15261
15262 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15263 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15264 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15265 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15266 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15267 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15268 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15269 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15270 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15271 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15272
6bdfc2c4
JJ
152732004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15274
15275 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15276 executed is an alloc instruction.
15277
87b3ede8
DC
152782004-02-11 David Carlton <carlton@kealia.com>
15279
15280 * gdb.cp/breakpoint.exp: New.
15281 * gdb.cp/breakpoint.cc: New.
15282
6e19e2bf
MC
152832004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15284
15285 Partial fix for PR gdb/1543.
15286 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15287 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15288 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15289 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15290 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15291 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15292 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15293 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15294 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15295 to bug-gdb@prep.ai.mit.edu .
15296 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15297 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15298 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15299 Likewise.
15300
5c5455dc
AC
153012004-02-10 Andrew Cagney <cagney@redhat.com>
15302
15303 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15304 using gdb_internal_error_resync.
15305
9cf689d7
DJ
153062004-02-09 Daniel Jacobowitz <drow@mvista.com>
15307
15308 * gdb.threads/thread-specific.exp: Stop early if no threads are
15309 found.
15310
d2dc51db
MC
153112004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15312
15313 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15314
14b1a056
DJ
153152004-02-08 Daniel Jacobowitz <drow@mvista.com>
15316
15317 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15318 breakpoints.
15319
83f66e8f
DJ
153202004-02-07 Daniel Jacobowitz <drow@mvista.com>
15321
15322 * config/sim.exp (gdb_load): Handle $arg == "".
15323 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15324 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15325
30fc0091
EZ
153262004-02-07 Elena Zannoni <ezannoni@redhat.com>
15327
a9c64011
AS
15328 * gdb.base/maint.exp: Update test to reflect
15329 obstack changes.
30fc0091 15330
4d806929
JJ
153312004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15332
15333 * gdb.base/pendshr.c (pendfunc): New function that calls
15334 pendfunc1.
15335 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15336
7bfdd688
FF
153372004-02-04 Fred Fish <fnf@redhat.com>
15338
15339 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15340 function symbols and update copyright years.
15341 * gdb.arch/gdb1291.c: Ditto.
15342
aaa08ee4
MC
153432004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15344
15345 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15346
dbad7755
MC
153472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15348
15349 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15350
ec4646ef
MC
153512004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15352
15353 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15354
1b802196
FF
153552004-02-02 Fred Fish <fnf@redhat.com>
15356
15357 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15358 remote targets. Update copyright years.
15359
18fe2033
JJ
153602004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15361
15362 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15363 support.
15364 * gdb.base/langs.exp: Fix test which attempts to create
15365 breakpoint on non-existent function to handle new pending
15366 support.
15367 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15368 a breakpoint.
15369 * gdb.base/pending.exp: New test.
15370 * gdb.base/pending.c: New file.
15371 * gdb.base/pendshr.c: Ditto.
15372
8d577d32
DC
153732004-02-02 David Carlton <carlton@kealia.com>
15374
15375 * gdb.cp/overload.exp: Add overloadNamespace tests.
15376 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15377 (overloadNamespace, XXX): New.
15378 (main): Call XXX::marker2.
15379
3ad13771
FF
153802004-02-01 Fred Fish <fnf@redhat.com>
15381
15382 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15383 * gdb.base/finish.exp: Ditto.
15384 * gdb.base/gcore.exp: Ditto.
15385 * gdb.base/huge.exp: Ditto.
15386 * gdb.base/info-proc.exp: Ditto.
15387 * gdb.base/return2.exp: Ditto.
15388 * gdb.threads/gcore-thread.exp: Ditto.
15389
44c75849
DJ
153902004-02-01 Daniel Jacobowitz <drow@mvista.com>
15391
15392 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15393
005bc093
MK
153942004-02-01 Mark Kettenis <kettenis@gnu.org>
15395
15396 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15397 that opening the file succeeds on OpenBSD.
15398
c47cebdb
DJ
153992004-02-01 Daniel Jacobowitz <drow@mvista.com>
15400
15401 * gdb.threads/thread-specific.c: New file.
15402 * gdb.threads/threads-specific.exp: New test script.
15403 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15404 to expect_out.
15405
5a01311c
MK
154062004-02-01 Mark Kettenis <kettenis@gnu.org>
15407
15408 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15409 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15410 only on the "print_small_structs from print_long_arg_list" test.
15411
ce22a4f1
DJ
154122004-02-01 Daniel Jacobowitz <drow@mvista.com>
15413
15414 * gdb.base/completion.exp: Kill a stray backslash.
15415
15416 From Jim Ingham <jingham@apple.com>:
15417 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15418 agrees with the result from sending a tab.
15419
abbab9d3
DJ
154202004-01-31 Daniel Jacobowitz <drow@mvista.com>
15421
15422 * gdb.base/chng-syms.exp: Remove stray newline.
15423
53904d1e
MK
154242004-01-31 Mark Kettenis <kettenis@gnu.org>
15425
15426 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15427 *-*-openbsd*.
15428 * gdb.asm/openbsd.inc: New file.
15429
3a4b3aac
MK
154302004-01-30 Mark Kettenis <kettenis@gnu.org>
15431
15432 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15433 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15434 *-*solaris2*. Remove commented out default settings for
15435 asm-flags. Replace gdb_compile with target_link.
15436
ebac27b4
MC
154372004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15438
15439 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15440 for all tests. Remove old hp-ux and cygnus xfail cases.
15441
d8679d84
PH
154422004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15443
15444 * gdb.base/chng-syms.exp: New file.
15445 * gdb.base/chng-syms.c: New file.
15446
0a55bc22
MC
154472004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15448
15449 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15450 Provide arms for current output in all my configurations.
15451
94b8e876
MC
154522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15453
15454 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15455 * lib/compiler.cc: Likewise.
15456 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15457 get the right preprocessor. Eval the output directly. Remove
15458 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15459 hp_f77_compiler and hp_f90_compiler completely.
15460 (gdb_preprocess): Delete.
15461 (get_compiler): Delete.
15462
7cf03d44
MK
154632004-01-24 Mark Kettenis <kettenis@gnu.org>
15464
15465 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15466 <string.h>.
15467
68b6dce9
NR
154682004-01-24 Nick Roberts <nick@nick.uklinux.net>
15469
15470 * gdb.mi/mi-stack.exp: Update copyright.
15471
b368761e
DC
154722004-01-23 David Carlton <carlton@kealia.com>
15473
15474 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15475 test for cp_lookup_transparent_type.
15476 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15477 call them.
15478
f2061b53
DJ
154792004-01-23 Daniel Jacobowitz <drow@mvista.com>
15480
15481 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15482 after -var-update.
15483
37fc574a
DC
154842004-01-23 David Carlton <carlton@kealia.com>
15485
15486 * gdb.cp/namespace.cc (C::ensureRefs): New.
15487 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15488
8e94b928
NR
154892004-01-20 Nick Roberts <nick@nick.uklinux.net>
15490
15491 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15492 case "-stack-list-locals 2".
15493 * gdb.mi/mi-var-child.exp: Test for case
15494 "-var-list-children --all-values NAME".
15495
997b0952
MC
154962004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15497
15498 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15499
52470da3
MK
155002004-01-18 Mark Kettenis <kettenis@gnu.org>
15501
7049b4b8
MK
15502 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15503 used with gdb_test_multiple.
15504
52470da3
MK
15505 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15506 read at address 0. This fixes PR testsuite/1504.
15507
da6012e5
DJ
155082004-01-18 Daniel Jacobowitz <drow@mvista.com>
15509
15510 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15511 Remove downloading, guessing the host executable, the calls to
15512 gdb_file_cmd and gdb_target_cmd, and "load" support.
15513 (infer_host_exec): New function broken out from gdb_load.
15514 (gdb_load): New wrapper for gdbserver_gdb_load.
15515 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15516 gdb_target_cmd. Use -target-select.
15517 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15518 Download binaries to the host. Clear last_mi_remote_file when
15519 we load a new binary.
15520 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15521 call gdbserver_gdb_load and mi_gdb_target_cmd.
15522
32c70722
MC
155232004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15524
15525 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15526 type patterns.
15527
b0cecf36
MC
155282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15529
15530 * gdb.cp/templates.exp: Fix typo in test name of
15531 "print Foo<volatile char*>::foo".
15532
4120d7e6
MC
155332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15534
15535 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15536
f679e530
BE
155372004-01-16 Ben Elliston <bje@wasabisystems.com>
15538
15539 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15540 (clean mostlyclean): Remove empty rm.
15541
091c48f6
MC
155422004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15543
15544 * gdb.base/setvar.exp: Add copyright years.
15545
3e5fc8d2
DC
155462004-01-14 David Carlton <carlton@bactrian.org>
15547
15548 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15549 PR c++/1511 and update coment.
15550 * gdb.cp/templates.exp: Update patterns to match current output.
15551 If changes involve something other than whitespace, KFAIL
15552 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15553
63d06c5c
DC
155542004-01-14 David Carlton <carlton@kealia.com>
15555
15556 * gdb.cp/namespace.exp: Add tests involving classes defined within
15557 namespaces.
15558 * gdb.cp/namespace.cc (C::CClass): New.
15559 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15560
a51dab88
EZ
155612004-01-14 Elena Zannoni <ezannoni@redhat.com>
15562
15563 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15564 what debug info we have. Print a better message if something goes
15565 wrong while producing the separate debug info file.
15566
a476ccc9
MC
155672004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15568
15569 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15570
f453692c
MC
155712004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15572
15573 * gdb.base/callfuncs.c: Add copyright notice.
15574
f40063a5
MC
155752004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15576
15577 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15578 inheritance. PR gdb/1498, PR gcc/13539.
15579
19ac3974
EZ
155802004-01-13 Elena Zannoni <ezannoni@redhat.com>
15581
a9c64011
AS
15582 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15583 test specific name.
15584 * gdb.mi/gdb669.exp: Ditto.
15585 * gdb.mi/mi-pthreads.exp: Ditto.
15586 * gdb.mi/mi1-pthreads.exp: Ditto.
15587 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15588
56c97c6e
MC
155892004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15590
15591 * gdb.cp/member-ptr.cc: Add copyright notice.
15592
a0644324
MC
155932004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15594
15595 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15596 some patterns for recent versions of gcc and hpacc. Delete
15597 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15598 Delete tests that access a NULL pointer-to-member-data. This
15599 script is still disabled for gcc.
15600
32fabe09
EZ
156012004-01-12 Elena Zannoni <ezannoni@redhat.com>
15602
15603 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15604 escaped correctly.
32fabe09 15605
1f8a6abb
EZ
156062004-01-12 Elena Zannoni <ezannoni@redhat.com>
15607
15608 * gdb.base/sepdebug.exp: New file.
15609 * gdb.base/sepdebug.c: New file.
15610 * lib/gdb.exp (separate_debug_filename): New procedure.
15611 (gdb_gnu_strip_debug): New procedure.
15612
48efe704
AC
156132004-01-12 Andrew Cagney <cagney@redhat.com>
15614
15615 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15616 * gdb.mi/ChangeLog-1999-2003: New file.
15617
a9415475
AC
156182004-01-12 Andrew Cagney <cagney@redhat.com>
15619
15620 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15621 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15622 or EEXIST", treat EBUSY as an XFAIL.
15623
83b8cf9d
MC
156242004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15625
15626 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15627 hp_cc_compiler.
15628
9939d2a8
MC
156292004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15630
15631 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15632 decorations.
15633
1ff8cadf
MC
156342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15635
15636 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15637 and "(aCC)" decorations. Remove obsolete doco about old
15638 test results.
15639
6fa9022e
MC
156402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15641
15642 * gdb.cp/exception.exp: Fix typo in doco.
15643
209721fe
MK
156442004-01-09 Mark Kettenis <kettenis@gnu.org>
15645
15646 * gdb.base/gdb1476.exp: Fix typo.
15647
ef11303e
MC
156482004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15649
15650 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15651 file.
15652
041ab88c
MC
156532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15654
15655 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15656 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15657 Use gdb_compile. Remove restriction on gcc. Add some patterns
15658 for recent version of gdb. Delete second half, which was a copy
15659 of the first half with different build flags. This test is
15660 still disabled because it is still not ready for production.
15661
e36d075a
MC
156622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15663
15664 * gdb.cp/exception.cc: Add copyright notice.
15665 * gdb.cp/exception.exp: Add a notice that this file is broken
15666 because of line number changes caused by addition of copyright
15667 notice.
15668
42b190ad
MC
156692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15670
15671 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15672 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15673
8f25f06b
MC
156742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15675
15676 * gdb.cp/classes.exp: Accept gnu abi 2.
15677 * gdb.cp/derivation.exp: Likewise.
15678 * gdb.cp/overload.exp: Likewise.
15679 * gdb.cp/virtfunc.exp: Likewise.
15680
06ded8b8
MC
156812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15682
15683 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15684 semicolon after end of function.
15685
77c26ae3
MC
156862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15687
15688 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15689 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15690 boilerplate code for compiling and running the program under
15691 test. Add some string method tests.
15692
20757486
MC
156932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15694
15695 * gdb.cp/bs15503.cc: Add copyright notice.
15696 * gdb.cp/bs15503.exp: Adjust line number.
15697
0fd3b503
MC
156982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15699
15700 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15701 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15702
10d1bea8
MC
157032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15704
15705 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15706 hp_cc_compiler.
15707
2789202a
MC
157082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15709
15710 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15711 * gdb.cp/ctti.exp: Use the marker instead of "next".
15712 With gcc, run further before bailing.
15713
b862f14c
MC
157142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15715
15716 * gdb.cp/cttiadd.cc: Add copyright notice.
15717 * gdb.cp/cttiadd1.cc: Likewise.
15718 * gdb.cp/cttiadd2.cc: Likewise.
15719 * gdb.cp/cttiadd3.cc: Likewise.
15720
96da2469
MC
157212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15722
15723 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15724 Use gdb_test, gdb_test_multiple. Use floating-point values that
15725 have exact representations in IEEE-ish formats.
15726
053248ff
MC
157272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15728
15729 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15730 compilers. Delete duplicate call to get_compiler_info.
15731 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15732 * gdb.base/volatile.exp: Likewise.
15733
84acecdd
MK
157342004-01-07 Mark Kettenis <kettenis@gnu.org>
15735
15736 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15737 memory at address 0.
15738
fe11a27f
MC
157392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15740
15741 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15742 to test for hp-ux assembler. Fix copyright years.
15743
60ad077b
AC
157442004-01-07 Andrew Cagney <cagney@redhat.com>
15745
15746 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15747
1c9b8f33
AC
157482004-01-07 Andrew Cagney <cagney@redhat.com>
15749
15750 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15751 when creating the read-only file. From analysis by Roland McGrath
15752 and Elena Zannoni.
15753
753ccc7a
MC
157542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15755
15756 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15757
eca3e36b
MC
157582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15759
15760 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15761 data pointers.
15762
f8d4bac4
MC
157632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15764
15765 * gdb.cp/m-static.exp: Compile one source file at a time.
15766 Delete unused call to get_compiler_info.
15767
9b4e0f94
MC
157682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15769
15770 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15771 * gdb.base/call-rt-st.exp: Likewise.
15772 * gdb.base/nodebug.exp: Likewise.
15773 * gdb.base/volatile.exp: Likewise.
15774 * gdb.cp/ref-types.exp: Likewise.
15775 * gdb.cp/templates.exp: Likewise.
15776
023c1024
MK
157772004-01-05 Mark Kettenis <kettenis@gnu.org>
15778
15779 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15780
19703c4a
MC
157812004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15782
15783 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15784 hppa*-hp-hpux*.
15785
18b67037
MK
157862004-01-04 Mark Kettenis <kettenis@gnu.org>
15787
ba6219c8
MK
15788 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15789 x86_64-*-*.
15790
18b67037
MK
15791 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15792 sparc64-*-* and sparc*-solaris2*.
15793
1bfbbb9d
MK
157942004-01-04 Mark Kettenis <kettenis@gnu.org>
15795
15796 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15797 return ${tests}" test. The ${tests} already mentions the
15798 filename.
15799
06846494
MC
158002004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15801
15802 * gdb.cp/local.exp: Accept gcc abi 2.
15803
3b0cb202
MC
158042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15805
15806 * gdb.cp/templates.exp: Accept gcc abi 2.
15807
0643ec3f
MC
158082004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15809
15810 * lib/compiler.cc: Remove supports_template_debugging.
15811 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15812
d231d0b1
MC
158132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15814
15815 * gdb.cp/namespace.exp: Accept gcc abi 2.
15816
44ffb27c
MC
158172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15818
15819 * gdb.cp/method.exp: Accept gcc abi 2.
15820
184ad485
MC
158212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15822
15823 * gdb.cp/classes.exp: Generate identical results as old version.
15824 * gdb.cp/derivation.exp: Likewise.
15825 * gdb.cp/overload.exp: Likewise.
15826 * gdb.cp/virtfunc.exp: Likewise.
15827
116f09e7
MC
158282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15829
15830 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15831 mysterious bug with sourceware version of expect.
15832
b1379776
MC
158332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15834
15835 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15836 current versions of gcc, including gcc abi 2. Remove gratuitous
15837 restart of test program. Use gdb_test_multiple and gdb_test for
15838 all tests. Add patterns to xfail missing "const" in "const char *"
15839 and kfail PR gdb/1155.
15840
6b7a4c0e
MC
158412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15842
15843 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15844 current versions of gcc, including gcc abi 2. Remove gratuitous
15845 restart of test program. Use gdb_test_multiple and gdb_test for
15846 all tests. Add patterns to kfail PR gdb/1498.
15847
51615d72
MC
158482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15849
15850 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15851 current versions of gcc, including gcc abi 2. Use "breakpoint"
15852 and "continue" instead of restarting the target program. Use
15853 gdb_test_multiple and gdb_test for all tests.
15854
7b79a9d7
MK
158552004-01-01 Mark Kettenis <kettenis@gnu.org>
15856
15857 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15858 for *-*-solaris2*.
15859
1cd3489f
MC
158602003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15861
15862 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15863 current versions of gcc, including gcc abi 2. Use "breakpoint"
15864 and "continue" instead of restarting the target program several
15865 times. Use gdb_test_multiple and gdb_test for all tests.
15866
850742db
MC
158672003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15868
15869 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15870 source files.
15871
eb4bbda8
MC
158722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15873
15874 * gdb.base/environ.exp: Handle compiling test case from multiple
15875 source files.
15876
e42c7771
MC
158772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15878
15879 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15880
80e4b428
JB
158812003-12-17 Jim Blandy <jimb@redhat.com>
15882
5f06973a
JB
15883 * gdb.base/freebpcmd.c: Add copyright notice.
15884
80e4b428
JB
15885 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15886
0ab84fb7
MC
158872003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15888
15889 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15890
1b3bb3d0
JB
158912003-12-13 Jim Blandy <jimb@redhat.com>
15892
15893 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15894
3a4c9371
KB
158952003-12-12 Kevin Buettner <kevinb@redhat.com>
15896
15897 * gdb.asm/frv.inc: New file.
15898 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15899
a1dea79a
FF
159002003-12-09 Fred Fish <fnf@redhat.com>
15901
15902 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15903 functions to break1.c and leave prototypes behind. Add more
15904 "set breakpoint NN here" comments.
15905 * gdb.base/break1.c: New file.
15906
15907 * gdb.base/break.exp: Handle compiling test case from multiple
15908 source files and change source file references as needed.
15909 * gdb.base/completion.exp: Ditto.
15910 * gdb.base/condbreak.exp: Ditto.
15911 * gdb.base/define.exp: Ditto.
15912 * gdb.base/ena-dis-br.exp: Ditto.
15913 * gdb.base/info-proc.exp: Ditto.
15914 * gdb.base/maint.exp: Ditto.
15915 * gdb.base/until.exp: Ditto.
15916
15917 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15918 hardcoded line numbers.
15919 * gdb.base/define.exp: Ditto.
15920 * gdb.base/ena-dis-br.exp: Ditto.
15921 * gdb.base/maint.exp: Ditto.
15922 * gdb.base/until.exp: Ditto.
15923
15924 * gdb.base/completion.exp: Use "break1" for completion tests since
15925 "break" is no longer a unique prefix.
15926
5266b69c
AC
159272003-12-06 Andrew Cagney <cagney@redhat.com>
15928
15929 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15930 "return_value_unimplemented". When an unimplemented struct return
15931 architecture, report incorrect values as a KFAIL
15932
374451f0
MC
159332003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15934
15935 * gdb.cp/rtti.exp: Accept new wording of warning from
15936 cp_lookup_rtti_type.
15937
ba9b20a7
MC
159382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15939
15940 Partial fix for PR testsuite/1456.
15941 * gdb.base/scope.exp (test_at_main): Replace references to
15942 gcc_compiled with calls to test_compiler_info.
15943 (test_at_foo): Likewise.
15944 (test_at_bar): Likewise.
15945
b74b6d0b
MC
159462003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15947
15948 Partial fix for PR testsuite/1456.
15949 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15950 to test_compiler_info.
15951
ccfa3402
MC
159522003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15953
15954 * gdb.base/so-impl-ld.exp: Update copyright notice.
15955
f6246aba
MC
159562003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15957
15958 Partial fix for PR testsuite/1456.
15959 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15960 to test_compiler_info.
15961
13ae734a
MC
159622003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15963
15964 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15965 from current versions of gdb. Clean up regular expressions.
15966 Delete redundant timeout case.
15967
d8e1cdee
MC
159682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15969
15970 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15971 from current versions of gdb. Clean up regular expressions.
15972 Delete redundant timeout case.
15973
96457b64
MC
159742003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15975
15976 Partial fix for PR testsuite/1456.
15977 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15978 gcc_compiled with call to test_compiler_info.
15979
f35309fc
MC
159802003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15981
15982 Partial fix for PR testsuite/1456.
15983 * gdb.base/list.exp (test_list_function): Delete unused declaration
15984 of gcc_compiled.
15985
d7afdf9b
MC
159862003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15987
15988 Partial fix for PR testsuite/1456.
15989 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15990 call to test_compiler_info.
15991
71507b56
MK
159922003-11-29 Mark Kettenis <kettenis@gnu.org>
15993
15994 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15995 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15996 it to create the appropriate note.inc.
15997 * gdb.asm/asmsrc1.s: Include "note.inc".
15998 * gdb.asm/netbsd.inc: New file.
15999 * gdb.asm/empty.inc: New file.
16000
f81f93f7
MC
160012003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16002
16003 Partial fix for PR testsuite/1456.
16004 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16005 calls to test_compiler_info.
16006
9a77938e
MC
160072003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16008
16009 Partial fix for PR testsuite/1456.
16010 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16011 calls to test_compiler_info.
16012
e8367dc7
MK
160132003-11-27 Mark Kettenis <kettenis@gnu.org>
16014
16015 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16016 pattern for the KFAILs.
16017
526c61ee
AF
160182003-11-25 Adam Fedor <fedor@gnu.org>
16019
16020 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16021 * gdb.objc/objcdecode.m: New file.
16022
28f2d600
AF
160232003-11-25 Adam Fedor <fedor@gnu.org>
16024
16025 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16026 * gdb.objc/nondebug.m: New file.
16027
a3895cee
BE
160282003-11-26 Ben Elliston <bje@wasabisystems.com>
16029
16030 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16031 NetBSD as it does on FreeBSD. Modelled on a similar change by
16032 Mark Kettenis on 2003-05-30.
16033 (link-flags): Set to "--entry _start" regardless of target.
16034 Special linker flags are to be appended to $link-flags.
16035 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16036
c9f2c8a3
MC
160372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16038
16039 * gdb.cp/method.exp: Accept output of new demangler.
16040
15a0587a 160412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16042
16043 * gdb/class2.exp: New file.
16044 * gdb/class2.cc: New file.
16045
3c00b570
MC
160462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16047
16048 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16049 of new demangler.
16050
7027acc7
MK
160512003-11-23 Mark Kettenis <kettenis@gnu.org>
16052
16053 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16054 of gdb_test "run".
16055
b0e1598a
MK
160562003-11-23 Mark Kettenis <kettenis@gnu.org>
16057
16058 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16059 "continue" into "run".
16060
4d9eda44
MC
160612003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16062
16063 Partial fix for PR testsuite/1456.
16064 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16065 call to test_compiler_info.
16066 * gdb.cp/ctti.exp: Likewise.
16067 * gdb.cp/derivation.exp: Likewise.
16068 * gdb.cp/member-ptr.exp: Likewise.
16069 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16070 reference to gcc_compiled.
16071
160722003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16073
16074 Fix PR testsuite/1463.
16075 * gdb.base/structs.exp (start_structs_test): Call
16076 get_debug_format before using the debug format.
16077
d422fe19
AC
160782003-11-22 Andrew Cagney <cagney@redhat.com>
16079
16080 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16081 * gdb.base/structs.exp: Use gdb_test_multiple.
16082
039cf96d
AC
160832003-11-20 Andrew Cagney <cagney@redhat.com>
16084
6882279b
AC
16085 * gdb.base/structs.exp: Handle and recover from internal errors.
16086 Replace "foo${n}" with "foo<n>" in test messages.
16087
e53890ae
AC
16088 * gdb.base/structs.exp: Update copyright. Rewrite.
16089 * gdb.base/structs.c: Update copyright. Rewrite.
16090
2b211c59
AC
16091 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16092 resync count exceeded.
d63a86f8 16093
039cf96d
AC
16094 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16095 from the internal error.
16096 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16097 Original from Jim Blandy.
16098 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16099
eac98b22
AC
161002003-11-19 Andrew Cagney <cagney@redhat.com>
16101
16102 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16103 KFAIL.
16104
67455b2a
MK
161052003-11-17 Mark Kettenis <kettenis@gnu.org>
16106
16107 New testcase for PR backtrace/1435.
16108 * gdb.arch/i386-unwind.exp: New file.
16109 * gdb.arch/i386-unwind.c: New file.
16110
853d6e5b
AC
161112003-11-17 Andrew Cagney <cagney@redhat.com>
16112
16113 * lib/gdb.exp (compiler_info): New global.
16114 (test_compiler_info): New function.
16115 (get_compiler_info): Set compiler_info.
16116 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16117 "compiler_info" to gcc-<major>-<minor>.
16118
38cf6e11
MC
161192003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16120
16121 * gdb.trace/configure: Remove.
16122
a50d3602
EZ
161232003-11-13 Elena Zannoni <ezannoni@redhat.com>
16124
16125 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16126 breakpoints.
a50d3602
EZ
16127 * gdb.base/break.exp: Remove all references to explicit line
16128 numbers.
16129
d9407aaa
NC
161302003-11-11 Nick Clifton <nickc@redhat.com>
16131
16132 * gdb.base/shreloc.exp: Do not run for targets which do not
16133 support shared objects.
16134
db488fc1
CV
161352003-11-10 Corinna Vinschen <vinschen@redhat.com>
16136
16137 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16138 Don't run tests if nofileio flag is given.
16139
6a90a18e
EZ
161402003-11-07 Elena Zannoni <ezannoni@redhat.com>
16141
16142 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16143 as well as 'Watchpoint'.
6a90a18e 16144
0b915e9c
EZ
161452003-11-06 Elena Zannoni <ezannoni@redhat.com>
16146
16147 Reported by Jim Ingham <jingham@apple.com>:
16148 * gdb.base/annota1.exp: Match at least one occurrence of the
16149 signal handler annotation.
16150
d7e4b55f
EZ
161512003-11-06 Elena Zannoni <ezannoni@redhat.com>
16152
a9c64011
AS
16153 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16154 as well as 'Watchpoint'.
d7e4b55f 16155
2fe4e8d0
MC
161562003-11-05 Michael Chastain <mec@shout.net>
16157
16158 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16159
6ef88553
KW
161602003-11-03 Kris Warkentin <kewarken@qnx.com>
16161
16162 * gdb.arch/gdb1291.c: New test file.
16163 * gdb.arch/gdb1291.exp: New test script.
16164 * gdb.arch/gdb1431.c: New test file.
16165 * gdb.arch/gdb1431.exp: New test script.
16166
ae7dc4d8
MC
161672003-10-22 Michael Chastain <mec@shout.net>
16168
16169 * gdb.mi/pthreads.c: Add copyright notice.
16170
c39d7427
MC
161712003-10-22 Michael Chastain <mec@shout.net>
16172
16173 * gdb.threads/pthreads.c: Add copyright notice.
16174
8b7d96c1
MC
161752003-10-20 Michael Chastain <mec@shout.net>
16176
16177 * gdb.base/gdb1056.exp: New test script.
16178
d1d69fdd
DJ
161792003-10-13 Daniel Jacobowitz <drow@mvista.com>
16180
16181 * gdb.threads/killed.exp: Use gdb_run_cmd.
16182
7d605576
DJ
161832003-10-13 Daniel Jacobowitz <drow@mvista.com>
16184
16185 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16186 create a core file.
16187 * gdb.threads/gcore-thread.exp: Likewise.
16188
618ec112
CV
161892003-10-13 Corinna Vinschen <vinschen@redhat.com>
16190
16191 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16192 type, based on char type.
16193 (struct bit_flags_short_t): New bitfield type, based on short type.
16194 (init_bit_flags_char): New fuction.
16195 (init_bit_flags_short): Ditto.
16196 (print_bit_flags_char): Ditto.
16197 (print_bit_flags_short): Ditto.
16198 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16199
9367a73c
MC
162002003-10-11 Michael Chastain <mec@shout.net>
16201
16202 * gdb.base/call-rt-st.exp: Update copyright year.
16203
1decf120
KI
162042003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16205
16206 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16207 * gdb.disasm/sh3.s: Ditto.
16208
5445b2ae
DJ
162092003-10-07 Daniel Jacobowitz <drow@mvista.com>
16210
16211 * gdb.threads/switch-threads.exp: New test.
16212 * gdb.threads/switch-threads.c: New source file.
16213
aec24853
CV
162142003-10-07 Corinna Vinschen <vinschen@redhat.com>
16215
16216 * gdb.base/ending-run.exp: Add sh specific case.
16217
adc7428d
AC
162182003-10-06 Andrew Cagney <cagney@redhat.com>
16219
16220 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16221 * gdb.disasm/mn10200.exp: Delete obsolete file.
16222
c9d37158
DJ
162232003-09-29 Daniel Jacobowitz <drow@mvista.com>
16224
16225 * ChangeLog: Correct an entry command.exp -> commands.exp.
16226 * gdb.base/commands.exp (bp_deleted_in_command_test)
16227 (temporary_breakpoint_commands): Check noargs.
16228
79c2c32d
DC
162292003-09-25 David Carlton <carlton@kealia.com>
16230
16231 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16232 of some print tests, where appropriate. Add tests for C::D::cd,
16233 E::ce, F::cXfX, G::XgX.
16234 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16235
594e6d67
RE
162362003-09-25 Richard Earnshaw <rearnsha@arm.com>
16237
16238 * lib/java.exp (java_init): Import target_alias before using it.
16239
10f0d451
DC
162402003-09-25 David Carlton <carlton@kealia.com>
16241
16242 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16243
274bcba0
EZ
162442003-09-23 Elena Zannoni <ezannoni@redhat.com>
16245
d63a86f8 16246 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16247 weirdness.
274bcba0 16248
cdbf20f7
MC
162492003-09-17 Michael Chastain <mec@shout.net>
16250
16251 * gdb.cp/gdb1355.exp: New file.
16252 * gdb.cp/gdb1355.c: New file.
16253
71e06f80
CV
162542003-09-15 Corinna Vinschen <vinschen@redhat.com>
16255
16256 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16257 * gdb.asm/sh.inc: New file.
16258
5c4e30ca
DC
162592003-09-11 David Carlton <carlton@kealia.com>
16260
bd45b7af
DC
16261 * gdb.cp/namespace.exp: Add tests for namespace types.
16262 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16263 (test_namespace): New.
16264
1c199746
EZ
162652003-09-11 Elena Zannoni <ezannoni@redhat.com>
16266
a9c64011 16267 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16268 * gdb.stabs/weird.exp: Ditto.
1c199746 16269
04ed252f
MC
162702003-09-08 Michael Chastain <mec@shout.net>
16271
16272 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16273
d8a2d9e7
MC
162742003-09-07 Michael Chastain <mec@shout.net>
16275
16276 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16277 'parse error'.
16278
161afb24
MK
162792003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16280
16281 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16282
49f2741a
MC
162832003-08-30 Michael Chastain <mec@shout.net>
16284
16285 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16286 * gdb.gdb/observer.exp: Ditto.
16287 * gdb.gdb/xfullpath.exp: Ditto.
16288
8afa723e
MK
162892003-08-29 Mark Kettenis <kettenis@gnu.org>
16290
16291 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16292 *-*-*bsd*.
16293
f31dfe3b
JJ
162942003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16295
16296 * gdb.base/dump.exp: Skip for ia64.
16297
4630e498
JJ
162982003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16299
16300 * gdb.asm/asm-source.exp: Add ia64 support.
16301 * gdb.asm/ia64.inc: New file.
16302
1105b7ef
MC
163032003-08-22 Michael Chastain <mec@shout.net>
16304
16305 * gdb.cp: New directory.
16306 * gdb.cp/*: Copy from gdb.c++/*.
16307 * gdb.c++/*: Remove.
16308 * Makefile.in: Change gdb.c++ to gdb.cp.
16309 * configure.in: Ditto.
16310 * configure: Regnerate.
16311
c945b932
MK
163122003-08-18 Mark Kettenis <kettenis@gnu.org>
16313
16314 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16315 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16316
2b66634b
DJ
163172003-08-17 Daniel Jacobowitz <drow@mvista.com>
16318
16319 * mi-var-display.exp (-var-list-children weird): Accept function
16320 pointers with argument types.
16321 * mi1-var-display.exp (-var-list-children weird): Likewise.
16322 * mi2-var-display.exp (-var-list-children weird): Likewise.
16323
a356f73b
DJ
163242003-08-17 Daniel Jacobowitz <drow@mvista.com>
16325
16326 * gdb.base/annota3.exp: Add missing newline.
16327
483417b8
MC
163282003-08-06 Michael Chastain <mec@shout.net>
16329
16330 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16331
c99c59c3
MS
163322003-08-12 Michael Snyder <msnyder@redhat.com>
16333
16334 * gdb.base/float.exp: Add test for SH.
16335
55ed7501
MK
163362003-08-10 Mark Kettenis <kettenis@gnu.org>
16337
16338 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16339
1a371f2e
EZ
163402003-08-07 Elena Zannoni <ezannoni@redhat.com>
16341
16342 * gdb.base/completion.exp: Remove reduntant completion test
16343 on filename.
16344
e0f353ce
EZ
163452003-08-07 Elena Zannoni <ezannoni@redhat.com>
16346
a9c64011
AS
16347 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16348 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16349 gdb.trace/save-trace.exp: Make sure that full pathnames are
16350 escaped correctly.
e0f353ce 16351
5710a1af 163522003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16353
a9c64011
AS
16354 * configure.in: Don't generate config.h from config.hin.
16355 * configure: Regenerate.
16356 * config.hin: Remove file.
16357 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16358 * gdb.threads/pthreads.c: Ditto.
5710a1af 16359
dcd81ce9
DJ
163602003-08-07 Daniel Jacobowitz <drow@mvista.com>
16361
16362 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16363 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16364 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16365 Replace ld24 with seth/add3.
16366
6009d884
AC
163672003-08-02 Andrew Cagney <cagney@redhat.com>
16368
16369 * gdb.base/annota3.exp: New file.
16370 * gdb.base/annota3.c: New file.
16371 * gdb.c++/annota3.exp: New file.
16372 * gdb.c++/annota3.cc: New file.
16373
51514e06
MC
163742003-07-29 Michael Chastain <mec@shout.net>
16375
16376 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16377 actually failed.
16378 (do_pass): Likewise.
16379 * gdb.threads/tls.exp: Always initialize no_of_threads.
16380
4ee6625b
DJ
163812003-07-27 Daniel Jacobowitz <drow@mvista.com>
16382
16383 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16384 pattern.
16385 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16386 * gdb.threads/tls.exp: Recognize one case of the host library not
16387 supporting TLS.
16388
225f2bf6
AC
163892003-07-27 Andrew Cagney <cagney@redhat.com>
16390
16391 * gdb.base/fileio.exp: Use SH when running commands using
16392 remote_exec.
16393
bcb27c9f
DJ
163942003-07-24 Daniel Jacobowitz <drow@mvista.com>
16395
16396 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16397 * gdb.base/relocate.c (dummy): New padding array.
16398
3d67be83
MS
163992003-07-22 Michael Snyder <msnyder@redhat.com>
16400
d63a86f8 16401 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16402
16403 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16404 patterns to be more general, accepting old and new output.
16405 Some output chars (such as '+') also must be quoted.
d63a86f8 16406 Some addresses are displayed numerically instead of
3d67be83
MS
16407 symbolically.
16408
57ba3b85
MS
164092003-07-23 Michael Snyder <msnyder@redhat.com>
16410
686d097c
MS
16411 * gdb.base/return2.exp: Don't test long-long return.
16412
57ba3b85
MS
16413 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16414 * gdb.disasm/t01_mov.exp: Ditto.
16415 * gdb.disasm/t02_mova.s: Ditto.
16416 * gdb.disasm/t02_mova.exp: Ditto.
16417 * gdb.disasm/t03_add.s: Ditto.
16418 * gdb.disasm/t03_add.exp: Ditto.
16419 * gdb.disasm/t04_sub.s: Ditto.
16420 * gdb.disasm/t04_sub.exp: Ditto.
16421 * gdb.disasm/t05_cmp.s: Ditto.
16422 * gdb.disasm/t05_cmp.exp: Ditto.
16423 * gdb.disasm/t06_ari2.s: Ditto.
16424 * gdb.disasm/t06_ari2.exp: Ditto.
16425 * gdb.disasm/t07_ari3.s: Ditto.
16426 * gdb.disasm/t07_ari3.exp: Ditto.
16427 * gdb.disasm/t08_or.s: Ditto.
16428 * gdb.disasm/t08_or.exp: Ditto.
16429 * gdb.disasm/t09_xor.s: Ditto.
16430 * gdb.disasm/t09_xor.exp: Ditto.
16431 * gdb.disasm/t10_and.s: Ditto.
16432 * gdb.disasm/t10_and.exp: Ditto.
16433 * gdb.disasm/t11_logs.s: Ditto.
16434 * gdb.disasm/t11_logs.exp: Ditto.
16435 * gdb.disasm/t12_bit.s: Ditto.
16436 * gdb.disasm/t12_bit.exp: Ditto.
16437 * gdb.disasm/t13_otr.s: Ditto.
16438 * gdb.disasm/t13_otr.exp: Ditto.
16439
e00759ef
EZ
164402003-07-22 Elena Zannoni <ezannoni@redhat.com>
16441
16442 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16443
8bc2021f
EZ
164442003-07-22 Elena Zannoni <ezannoni@redhat.com>
16445
a9c64011
AS
16446 * gdb.threads/tls.c : New file.
16447 * gdb.threads/tls.exp : New file.
16448 * gdb.threads/tls-main.c : New file.
16449 * gdb.threads/tls-shared.c : New file.
16450 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16451
89320c4c
AS
164522003-07-22 Andreas Schwab <schwab@suse.de>
16453
16454 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16455
180dea7c
AS
164562003-07-20 Andreas Schwab <schwab@suse.de>
16457
16458 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16459 due to insn reordering.
16460
0714963c
AC
164612003-07-15 Andrew Cagney <cagney@redhat.com>
16462
16463 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16464
98a23b3f
MC
164652003-07-15 Michael Chastain <mec@shout.net>
16466
16467 * gdb.base/gdb1250.exp: New file.
16468 * gdb.base/gdb1250.c: New file.
16469
27e417a2
ML
164702003-07-09 Michal Ludvig <mludvig@suse.cz>
16471
16472 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16473 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16474
8bc2021f
EZ
164752003-07-09 Elena Zannoni <ezannoni@redhat.com>
16476
a9c64011
AS
16477 * gdb.threads/tls.c: New file.
16478 * gdb.threads/tls.exp: New file.
16479 * gdb.threads/tls-main.c: New file.
16480 * gdb.threads/tls-shared.c: New file.
16481 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16482
d99968dc
EZ
164832003-07-09 Elena Zannoni <ezannoni@redhat.com>
16484
16485 * gdb.base/annota1.exp: Make sure that we properly escape the
16486 full path of the source file. Xfail more permissive patterns,
d63a86f8 16487 due to a compiler debug info problem.
d99968dc 16488
83876b3b
AS
164892003-07-07 Andreas Schwab <schwab@suse.de>
16490
2705e972
AS
16491 * gdb.asm/m68k.inc: New file.
16492 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16493
83876b3b
AS
16494 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16495 arguments"): Also match negative number.
16496
16497 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16498
3a871b37
DJ
164992003-07-03 Daniel Jacobowitz <drow@mvista.com>
16500
16501 * gdb.base/store.c (charest): New typedef.
16502 (add_char): Rename to add_charest, update.
16503 (wack_char): Rename to wack_charest, update types. Return l + r
16504 to keep r live across the call.
16505 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16506 (wack_double, wack_doublest): Return l + r to keep r live across
16507 the call.
16508 * gdb.base/store.exp: Accomodate store.c changes.
16509
b2a7f303
DC
165102003-06-30 David Carlton <carlton@kealia.com>
16511
16512 * gdb.c++/maint.exp (test_invalid_name): New.
16513 (test_first_component): Add tests for invalid names.
16514
3c6cb4a1
MC
165152003-06-29 Michael Chastain <mec@shout.net>
16516
16517 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16518 output of '<VTT for class>' for virtual base classes.
16519
f1c2644b
DJ
165202003-06-29 Daniel Jacobowitz <drow@mvista.com>
16521
16522 * gdb.base/completion.exp: Tab-complete "complet" instead of
16523 "compl".
16524 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16525
18080350
DJ
165262003-06-29 Daniel Jacobowitz <drow@mvista.com>
16527
16528 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16529 * gdb.base/volatile.exp: Likewise.
16530
f56973f8
DJ
165312003-06-29 Daniel Jacobowitz <drow@mvista.com>
16532
16533 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16534 gdb/1265.
16535
165362003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16537 Daniel Jacobowitz <drow@mvista.com>
16538
16539 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16540 initial line count of 'captured_main' from 26 to 32.
16541 (test_with_self): Allow xmalloc call to be interleaved with the
16542 preceding two lines.
16543
e766d4d6
JB
165442003-06-24 Joel Brobecker <brobecker@gnat.com>
16545
16546 * gdb.base/bang.exp: New testcase.
16547
f125c9a4
JB
165482003-06-23 Joel Brobecker <brobecker@gnat.com>
16549
16550 * gdb.base/langs.exp: Add some tests for the "minimal" language
16551 support.
16552
6e25beaf
EZ
165532003-06-23 Elena Zannoni <ezannoni@redhat.com>
16554
16555 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16556 the testcase.
16557
2f816dda
DJ
165582003-06-22 Daniel Jacobowitz <drow@mvista.com>
16559
16560 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16561 offset.
16562
db5a5748
DJ
165632003-06-22 Daniel Jacobowitz <drow@mvista.com>
16564
16565 * gdb.c++/pr-1210.cc: New file.
16566 * gdb.c++/pr-1210.exp: New file.
16567
1df0c130
DJ
165682003-06-21 Daniel Jacobowitz <drow@mvista.com>
16569
16570 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16571 000-exec-continue.
16572
a92feac0
MK
165732003-06-15 Mark Kettenis <kettenis@gnu.org>
16574
16575 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16576 on *-*-*bsd* instead of *-*-freebsd*.
16577
81a58f5b
AC
165782003-06-14 Andrew Cagney <cagney@redhat.com>
16579
16580 * gdb.base/store.exp: Test longest and doublest. Test all
16581 parameters. Weaken return statement match.
16582 * gdb.base/store.c: Add longest and doublest - aka long long and
16583 long double functions. Put all parameters into local register
16584 variables. Use negative values.
16585
b257a0d3
AC
165862003-06-14 Andrew Cagney <cagney@redhat.com>
16587
16588 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16589 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16590 exit status.
16591 * gdb.base/fileio.exp: Disable target when nointerrupts and
16592 noinferiorio, instead of limiting it to remote. Use remote_exec
16593 instead of system.
d63a86f8 16594
21c38304
JJ
165952003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16596
16597 * gdb.base/float.exp: Add ia64 support.
16598
1bcdb424
CV
165992003-06-12 Corinna Vinschen <vinschen@redhat.com>
16600
16601 * gdb.base/fileio.exp: Run only on remote targets.
16602
6aeb981f
CV
166032003-06-10 Corinna Vinschen <vinschen@redhat.com>
16604
16605 * gdb.base/fileio.c: New file, testing File-I/O.
16606 * gdb.base/fileio.exp: Ditto.
16607
53df362e
RG
166082003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16609
16610 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16611 shared objects after relocation at load time (gdb PR/1132).
16612 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16613 as above, part of the shared object relocation test.
53df362e 16614
ffee1b46
MK
166152003-06-08 Mark Kettenis <kettenis@gnu.org>
16616
b5ca3722
MK
16617 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16618 fully filled history list.
16619 * gdb.base/gdb_history: New file.
16620
03ed860d
MK
16621 * gdb.base/signals.exp: XFAIL "continue to func1" on
16622 i*86-*-freebsd*.
16623
ffee1b46
MK
16624 * gdb.base/attach.exp: When trying to attach to a nonexistent
16625 process, make it possible to specify the PID based on the target,
16626 and do so for *-*-freebsd*.
16627
d80dbb52
RH
166282003-06-02 Richard Henderson <rth@redhat.com>
16629
16630 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16631
6dd77b81
RH
166322003-06-02 Richard Henderson <rth@redhat.com>
16633
16634 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16635
f6347e16
RH
166362003-06-02 Richard Henderson <rth@redhat.com>
16637
16638 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16639
2c161407
DJ
166402003-06-01 Daniel Jacobowitz <drow@mvista.com>
16641
16642 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16643 of globalvar.
16644
572eb746
MK
166452003-06-01 Mark Kettenis <kettenis@gnu.org>
16646
16647 * gdb.asm/asm-source.exp: Check for memory read errors in
16648 disassembler test on *BSD too.
16649
9e9617a5
RH
166502003-06-01 Richard Henderson <rth@redhat.com>
16651
16652 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16653 for .frame.
16654 (gdbasm_call): Lose ldgp.
16655 (gdbasm_startup): Add frame information.
16656 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16657
7b34ad4e
MK
166582003-05-31 Mark Kettenis <kettenis@gnu.org>
16659
16660 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16661 i?86-*-*.
16662
10059fdf
MK
166632003-05-30 Mark Kettenis <kettenis@gnu.org>
16664
16665 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16666 FreeBSD.
16667
acf4b816
RH
166682003-05-29 Richard Henderson <rth@redhat.com>
16669
16670 * gdb.asm/alpha.inc: New file.
16671 * gdb.asm/asm-source.exp: Use it.
16672
e9ecd949
JB
166732003-05-29 Jim Blandy <jimb@redhat.com>
16674
16675 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16676 'core.PID'.
16677
e3e5a4f3
JB
166782003-05-22 Jim Blandy <jimb@redhat.com>
16679
16680 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16681 backtrace.
d63a86f8 16682
72fe3d25
DC
166832003-05-20 David Carlton <carlton@math.stanford.edu>
16684
16685 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16686 this time.
16687
58da2eb2
DC
166882003-05-19 David Carlton <carlton@bactrian.org>
16689
16690 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16691 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16692
1fcb5155
DC
166932003-05-19 David Carlton <carlton@bactrian.org>
16694
16695 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16696 namespace tests.
16697 Bump copyright date.
16698 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16699 (main): Call C::D::marker2.
16700 * gdb.c++/namespace1.cc: New file.
16701
85e85163
JJ
167022003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16703
16704 Roland McGrath <roland@redhat.com>
d63a86f8 16705 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16706 there is no manager thread.
16707
a25fbfec
JJ
167082003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16709
d63a86f8
RM
16710 * gdb.threads/schedlock.exp: Remove assumption that all threads
16711 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16712 in one of the child threads rather than the main thread.
16713
be375bae
JB
167142003-05-07 Jim Blandy <jimb@redhat.com>
16715
09bf6082
JB
16716 Add support for assembly source testing on the s390x.
16717 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16718 architecture.
16719 * gdb.asm/s390x.inc: New file.
16720
be375bae
JB
16721 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16722 succession of 'if' statements.
16723
00905d52
AC
167242003-05-05 Andrew Cagney <cagney@redhat.com>
16725
16726 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16727
b1e29e33
AC
167282003-05-05 Andrew Cagney <cagney@redhat.com>
16729
16730 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16731 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16732
e33d66ec
EZ
167332003-05-02 Elena Zannoni <ezannoni@redhat.com>
16734
16735 * gdb.base/charset.exp: Update based on new behavior of set/show
16736 charset commands.
16737
2b6fd0d8
AC
167382003-05-01 Andrew Cagney <cagney@redhat.com>
16739
16740 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16741 variable do not give memory errors.
16742
130cacce
AF
167432003-04-30 Adam Fedor <fedor@gnu.org>
16744
16745 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16746 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16747 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16748 gdb.objc/basicclass.m: : New files
16749
16750 * lib/gdb.exp (gdb_compile_objc): New procedure.
16751
bea71854
DJ
167522003-04-27 Daniel Jacobowitz <drow@mvista.com>
16753
16754 * gdb.base/signals.exp: Make backtrace tests more specific.
16755
0f20eeea
DC
167562003-04-23 David Carlton <carlton@bactrian.org>
16757
16758 * gdb.c++/maint.exp (test_first_component): Add tests for
16759 'operator' in more locations.
16760
c8c4d8dc
KB
167612003-04-16 Kevin Buettner <kevinb@redhat.com>
16762
16763 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16764
3fe60e3c
EZ
167652003-04-16 Elena Zannoni <ezannoni@redhat.com>
16766
16767 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16768 func marke' instead. Update test name.
3fe60e3c 16769
9219021c
DC
167702003-04-15 David Carlton <carlton@math.stanford.edu>
16771
16772 * gdb.c++/maint.exp: New file.
16773
5dd55bdd
EZ
167742003-04-14 Elena Zannoni <ezannoni@redhat.com>
16775
16776 * gdb.threads/schedlock.c: Change type of thread function argument
16777 to long, to avoid warnings on 64-bit platforms.
16778
00890572
EZ
167792003-04-14 Elena Zannoni <ezannoni@redhat.com>
16780
a9c64011
AS
16781 * gdb.base/attach.exp: Add new message from ptrace in case of
16782 attaching to nonexistent process.
d63a86f8 16783
93201743
JB
167842003-04-11 Jim Blandy <jimb@redhat.com>
16785
16786 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16787 gdb.c++/userdef.cc: Place comments on the lines to which the
16788 marker function might return.
16789 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16790 gdb.c++/userdef.exp: Look for those comments to check that we've
16791 returned to the right place, instead of checking line numbers.
16792
2a11c64d
EZ
167932003-04-11 Elena Zannoni <ezannoni@redhat.com>
16794
a9c64011
AS
16795 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16796 match on sourcefile name, instead of directory name.
2a11c64d 16797
68ab8fc5
EZ
167982003-04-10 Elena Zannoni <ezannoni@redhat.com>
16799
d63a86f8 16800 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16801 working directory name.
16802
5624293a
JB
168032003-04-09 Jim Blandy <jimb@redhat.com>
16804
16805 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16806 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16807 after an inferior function call, report the failure, but allow the
16808 test to continue.
16809
f1f02ee4
SC
168102003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16811
16812 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16813 with -DPROTOTYPES.
16814
6eb79af0
SC
168152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16816
16817 * gdb.base/break.exp: Revert last patch.
16818
8dfb4cf0
SC
168192003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16820
16821 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16822 with -DPROTOTYPES.
16823
ed4c619a
AC
168242003-04-02 Andrew Cagney <cagney@redhat.com>
16825
16826 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16827 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16828 matching directories by the name breakpoint.
16829 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16830 Make "continue to marker1" consistent.
16831 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16832 message consistent.
16833 * lib/gdb.exp: Put "the program is no longer running", and "the
16834 program exited" in parenthesis.
16835 * lib/mi-support.exp: Ditto.
d63a86f8 16836
4e35d5f0 168372003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16838
4e35d5f0
BR
16839 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16840
71900fe8
AC
168412003-03-29 Andrew Cagney <cagney@redhat.com>
16842
16843 * gdb.base/sizeof.c (main): Print the value of '\377'.
16844 * gdb.base/sizeof.exp: Check the sign of '\377'.
16845
c0655a16
MC
168462003-03-27 Michael Chastain <mec@shout.net>
16847
16848 * gdb.base/gdb1090.exp: New file.
16849 * gdb.base/gdb1090.cc: New file.
16850
5b2a3989
JB
168512003-03-27 J. Brobecker <brobecker@gnat.com>
16852
16853 * gdb.gdb/observer.exp: New regression test.
16854
79876890
MC
168552003-03-27 Michael Chastain <mec@shout.net>
16856
16857 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16858 * gdb.base/ptype.exp: Likewise.
16859
6eac95e3
CV
168602003-03-27 Corinna Vinschen <vinschen@redhat.com>
16861
16862 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16863
e8c71839
MC
168642003-03-26 Michael Chastain <mec@shout.net>
16865
16866 * gdb.base/ptype.exp: Actually use some typedef'd types.
16867
71b10041
SC
168682003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16869
16870 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16871 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16872
2512cf80
CV
168732003-03-20 Corinna Vinschen <vinschen@redhat.com>
16874
16875 * gdb.base/default.exp: Fix regular expression.
16876
0d195a4f
CV
168772003-03-20 Corinna Vinschen <vinschen@redhat.com>
16878
16879 * gdb.base/args.exp: Fix regular expression.
16880
8a2dbca8
CV
168812003-03-20 Corinna Vinschen <vinschen@redhat.com>
16882
16883 * gdb.base/help.exp: Allow Win32 child process.
16884
bf028682
CV
168852003-03-20 Corinna Vinschen <vinschen@redhat.com>
16886
16887 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16888 when stepping out of main().
16889
182dbe85
CV
168902003-03-20 Corinna Vinschen <vinschen@redhat.com>
16891
16892 * gdb.base/default.exp: Check for win32 specific message when calling
16893 "run" without executable.
16894
d67a6ba5
CV
168952003-03-20 Corinna Vinschen <vinschen@redhat.com>
16896
16897 * gdb.base/args.exp: Expect .exe in output.
16898
a955b5bb
CV
168992003-03-20 Corinna Vinschen <vinschen@redhat.com>
16900
16901 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16902 Cygwin native.
16903
bf6bad4b
AC
169042003-03-17 Andrew Cagney <cagney@redhat.com>
16905
16906 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16907 vector registes.
16908 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16909 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16910
293e9a31
DC
169112003-03-17 David Carlton <carlton@math.stanford.edu>
16912
16913 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16914 test, for PR breakpoints/38.
16915 Call test_watchpoint_and_breakpoint.
16916 * gdb.base/watchpoint.c (func3): New function.
16917 (main): Call func3.
16918
5330f2db
DC
169192003-03-04 David Carlton <carlton@math.stanford.edu>
16920
16921 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16922 Garply<Garply<char> >:: garply".
16923 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16924 with respect to PR c++/1111; note also PR c++/1113.
16925 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16926 respect to PR c++/1062.
16927 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16928
6ece72da
DC
169292003-03-03 David Carlton <carlton@math.stanford.edu>
16930
16931 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16932 with respect to PR c++/57.
16933 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16934 c++/826.
16935 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16936 respect to PR c++/57.
16937
85ca1584
DC
169382003-03-03 David Carlton <carlton@math.stanford.edu>
16939
16940 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16941 respect to PR c++/33 into FAILs.
16942
98e9c5b8
MC
169432003-03-03 Michael Chastain <mec@shout.net>
16944
7bedbf27
MC
16945 * configure.in: Update copyright years.
16946
169472003-03-03 Michael Chastain <mec@shout.net>
16948
16949 * Makefile.in: Update copyright years.
98e9c5b8 16950
f683e100
DC
169512003-02-28 David Carlton <carlton@math.stanford.edu>
16952
16953 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16954 print class instead of struct and/or superfluous protection
16955 specifiers, as long as the resulting output is equivalent to the
16956 source code.
16957 Delete FIXME from end of messages on tests that don't need
16958 fixing.
16959
a9e0cf2c
DC
169602003-02-28 David Carlton <carlton@math.stanford.edu>
16961
16962 * gdb.c++/templates.exp (do_tests): Allow const in the two
16963 Foo<volatile char *>::foo tests.
16964
e8d359df
MS
169652003-02-27 Michael Snyder <msnyder@redhat.com>
16966
d63a86f8 16967 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16968 will be consistant.
16969
0b71dc91
DC
169702003-02-26 David Carlton <carlton@math.stanford.edu>
16971
16972 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16973 char *>::foo" test with respect to PR c++/33. Create a new test
16974 which is identical to that one except that it doesn't put the
16975 space between the "char" and the "*"; KFAIL it, too.
16976
dd14ab43
DC
169772003-02-26 David Carlton <carlton@math.stanford.edu>
16978
16979 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16980 template types into either PASSes or KFAILs (corresponding to PR
16981 c++/57). Tweak indentation. Update copyright.
16982
1146c7f1
SC
169832003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16984
16985 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16986
74641dfb
MC
169872003-02-13 Michael Chastain <mec@shout.net>
16988
16989 * gdb.base/exprs.exp: Remove i960 remnants.
16990 * gdb.base/funcargs.exp: Likewise.
16991 * gdb.base/list.exp: Likewise.
16992 * gdb.base/ptype.exp: Likewise.
16993
559cd2d0
DC
169942003-02-14 David Carlton <carlton@math.stanford.edu>
16995
16996 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16997 pEe->D::vg()" from XFAIL to KFAIL.
16998
c4f90d87
JM
169992003-02-13 Jason Molenda (jmolenda@apple.com)
17000
17001 * gdb.base/maint.exp: Update maint print statistics regexp to include
17002 new entries.
17003
cbc4d97c
MC
170042003-02-13 Michael Chastain <mec@shout.net>
17005
17006 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17007
40f235b7
MC
170082003-02-12 Michael Chastain <mec@shout.net>
17009
17010 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17011 * gdb.c++/inherit.exp: Likewise.
17012 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17013 * gdb.c++/templates.exp: Likewise.
17014 * gdb.c++/virtfunc.exp: Likewise.
17015
c56716b0
JM
170162003-02-06 Jason Molenda (jason-cl@molenda.com)
17017
17018 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17019 why the code is written that way.
17020
070afcf8
MC
170212003-02-05 Michael Chastain <mec@shout.net>
17022
17023 * gdb.base/dump.exp: Add missing copyright line.
17024
5d0331e5
JM
170252003-02-05 Jason Molenda (jason-cl@molenda.com)
17026
f7ae6d3e 17027 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17028 at the beginning so the breakpoint doesn't get set on the loop.
17029
92851186
MC
170302003-02-05 Michael Chastain <mec@shout.net>
17031
17032 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17033 output for configurations with gcc 2.95.3.
17034
cbf1e085
AC
170352003-02-05 Keith Seitz <keiths@redhat.com>
17036 Andrew Cagney <ac131313@redhat.com>
17037
17038 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17039
29518e1e
MC
170402003-02-04 Michael Chastain <mec@shout.net>
17041
17042 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17043 Call perror and then continue.
17044
5af1d5f3
MC
170452003-02-03 Michael Chastain <mec@shout.net>
17046
17047 * gdb.c++/pr-1023.cc: New file.
17048 * gdb.c++/pr-1023.exp: New file.
17049
6b549786
JB
170502003-02-05 Jim Blandy <jimb@redhat.com>
17051
17052 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17053 it's local to foobar. Check for it there, and check that it's not
17054 present in main.
17055 * gdb.c++/local.cc (marker2): New function.
17056 (foobar): Call marker1.
17057 (main): Call marker2 instead of marker1.
17058
67f16606
AC
170592003-02-04 Andrew Cagney <ac131313@redhat.com>
17060
17061 * gdb.disasm/mn10200.exp: Obsolete file.
17062 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17063 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17064 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17065
1c5cb38e
DC
170662003-02-04 David Carlton <carlton@math.stanford.edu>
17067
17068 * gdb.c++/overload.exp: Test intToChar(1).
17069 * gdb.c++/overload.cc (intToChar): New.
17070 (main): Call intToChar.
17071
d1fe6965
DC
170722003-02-03 David Carlton <carlton@math.stanford.edu>
17073
17074 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17075 'might_kfail' arg.
17076 KFAIL some of the continue_to_bp_overloaded calls, according to
17077 PR c++/1025.
17078
9ba61c5d
MC
170792003-02-01 Michael Chastain <mec@shout.net>
17080
17081 * gdb.base/advance.c (marker1): New marker function.
17082 * gdb.base/advance.exp: When the 'advance' command lands on the
17083 return breakpoint, it can legitimately stop on either the
17084 current line or the next line. Accommodate both outcomes.
17085 * gdb.base/until.exp: Likewise.
17086
e7494ffb
AC
170872003-02-02 Andrew Cagney <ac131313@redhat.com>
17088
17089 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17090 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17091 now a list, not a tuple.
17092 * gdb.mi/mi-var-display.exp: Ditto.
17093 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17094
075559bc
AC
170952003-02-01 Andrew Cagney <ac131313@redhat.com>
17096
17097 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17098 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17099 stack backtraces.
17100 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17101
2bd4c7b1
MK
171022003-02-01 Mark Kettenis <kettenis@gnu.org>
17103
17104 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17105 gdb.mi/mi1-pthreads.exp: Return instead of calling
17106 gdb_suppress_entire_file.
17107
eabd8992
MS
171082003-02-01 Mark Salter <msalter@redhat.com>
17109
17110 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17111
71469e2f
MS
171122003-01-31 Mark Salter <msalter@redhat.com>
17113
17114 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17115 Support empty arg.
17116
38a94d44
MC
171172003-01-30 Michael Chastain <mec@shout.net>
17118
17119 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17120 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17121 has been fixed in gdb/readline on 2003-01-09.
17122
19ea9e73
MS
171232003-01-29 Michael Snyder <msnyder@redhat.com>
17124
e8d359df
MS
17125 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17126 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17127 * gdb.base/args.exp: Skip if target does not support args passing.
17128
2307bd6a
DJ
171292003-01-22 Daniel Jacobowitz <drow@mvista.com>
17130
19ea9e73 17131 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17132 gdb_test. Accept a list of expect arguments as the third
17133 parameter.
17134 (gdb_test): Use it.
17135
f2dd3617
EZ
171362003-01-20 Elena Zannoni <ezannoni@redhat.com>
17137
17138 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17139 allow for different test tree configurations. Update some
17140 tescases accordingly.
17141 * gdb.arch/altivec-regs.exp: Ditto.
17142 * gdb.asm/asm-source.exp: Ditto.
17143 * gdb.base/advance.exp: Ditto.
17144 * gdb.base/display.exp: Ditto.
d63a86f8 17145 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17146 * gdb.base/mips_pro.exp: Ditto.
17147 * gdb.base/overlays.exp: Ditto.
17148 * gdb.base/relocate.exp: Ditto.
17149 * gdb.base/setshow.exp: Ditto.
17150 * gdb.base/step-line.exp: Ditto.
17151 * gdb.base/step-test.exp: Ditto.
17152 * gdb.base/until.exp: Ditto.
17153 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17154
c71cdefd
DC
171552003-01-17 David Carlton <carlton@math.stanford.edu>
17156
17157 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17158 corresponding to PR c++/945.
17159 Update copyright.
17160
fdba05d7
DC
171612003-01-17 David Carlton <carlton@math.stanford.edu>
17162
17163 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17164 corresponding to PR c++/68.
17165
171662003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17167
17168 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17169 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17170 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17171
c362c33a
EZ
171722003-01-15 Elena Zannoni <ezannoni@redhat.com>
17173
0fbc361c
EZ
17174 * gdb.base/break.exp: Fix change of default location, because of
17175 removal of until tests.
17176 * gdb.base/help.exp: Update test for new 'until' help message.
17177 Add test for help on 'advance'.
a9c64011 17178 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17179
dabf8a35
MK
171802003-01-15 Mark Kettenis <kettenis@gnu.org>
17181
17182 * gdb.base/default.exp: Adapt "info float" test for recent changes
17183 to that command. Add test for "info vector".
17184 * gdb.base/float.exp: New file. Add test for "info float" that
17185 resembles the old test in gdb.base/default.exp.
17186
a1769aca
DC
171872003-01-15 David Carlton <carlton@math.stanford.edu>
17188
17189 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17190
82025e13
EZ
171912003-01-15 Elena Zannoni <ezannoni@redhat.com>
17192
17193 * gdb.base/break.exp: Move the tests of until command from here...
17194 * gdb.base/until.exp: ... to here. New file. Add other tests.
17195 * gdb.base/advance.c: New file.
17196 * gdb.base/advance.exp: New file.
17197
8f9ab801
EZ
171982003-01-14 Elena Zannoni <ezannoni@redhat.com>
17199
a9c64011
AS
17200 * gdb.base/args.c: New file.
17201 * gdb.base/args.exp: New file.
8f9ab801 17202
9ae66589
DJ
172032003-01-14 Daniel Jacobowitz <drow@mvista.com>
17204
17205 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17206
8d77e5c3
DJ
172072003-01-14 Daniel Jacobowitz <drow@mvista.com>
17208
17209 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17210
12d2f0a1
DJ
172112003-01-14 Daniel Jacobowitz <drow@mvista.com>
17212
17213 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17214 dates.
17215
6ca37014
DJ
172162003-01-13 Daniel Jacobowitz <drow@mvista.com>
17217
17218 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17219
b0023472
DJ
172202003-01-13 Daniel Jacobowitz <drow@mvista.com>
17221
17222 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17223 (ptype &*"foo").
17224 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17225
607fbc54 172262003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17227
17228 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17229 * gdb.mi/mi1-console.exp: Likewise.
17230
607fbc54 172312003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17232
17233 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17234 * gdb.mi/mi1-console.exp: Likewise.
17235
a1fb14a2
DJ
172362003-01-13 Daniel Jacobowitz <drow@mvista.com>
17237
17238 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17239
c4cf40b7
DJ
172402003-01-09 Daniel Jacobowitz <drow@mvista.com>
17241
17242 * gdb.base/detach.exp: New test.
17243
696d5a5b
DJ
172442003-01-09 Daniel Jacobowitz <drow@mvista.com>
17245
17246 * Makefile.in (ALL_SUBDIRS): New variable.
17247 (subdirs, clean, distclean): Use it.
17248 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17249 regenerating Makefile, since it is generated from the top level.
17250 * gdb.asm/Makefile.in: Likewise.
17251 * gdb.base/Makefile.in: Likewise.
17252 * gdb.c++/Makefile.in: Likewise.
17253 * gdb.disasm/Makefile.in: Likewise.
17254 * gdb.java/Makefile.in: Likewise.
17255 * gdb.mi/Makefile.in: Likewise.
17256 * gdb.threads/Makefile.in: Likewise.
17257 * gdb.trace/Makefile.in: Likewise.
17258
754533e4
DC
172592003-01-09 David Carlton <carlton@math.stanford.edu>
17260
17261 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17262 Add copyright year 2003.
17263
d8b3e9ee
MC
172642003-01-06 Michael Chastain <mec@shout.net>
17265
17266 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17267 When selecting a thread, 'line' and 'file' are optional.
17268 * gdb.mi/mi1-pthreads.exp: Likewise.
17269
8e9e0fe6
AS
172702003-01-06 Andreas Schwab <schwab@suse.de>
17271
17272 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17273 failures.
17274
b5ab8ff3
DJ
172752003-01-04 Daniel Jacobowitz <drow@mvista.com>
17276
17277 Fix PR gdb/844
17278 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17279 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17280
17281 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17282 instead of calling gdb_suppress_entire_file.
17283 * gdb.threads/print-threads.exp: Likewise.
17284 * gdb.threads/schedlock.exp: Likewise.
17285
17286 * gdb.threads/killed.exp: Return instead of calling
17287 gdb_suppress_entire_file.
17288 * gdb.threads/linux-dp.exp: Likewise.
17289 * gdb.threads/pthreads.exp: Likewise.
17290
1e698235
DJ
172912003-01-04 Daniel Jacobowitz <drow@mvista.com>
17292
17293 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17294 stabs.
17295 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17296 * gdb.base/whatis.exp: Always allow (void) after function names.
17297
147ff08c
DJ
172982003-01-04 Daniel Jacobowitz <drow@mvista.com>
17299
17300 * gdb.c++/casts.exp: Correct regexp.
17301
dc62bfc2
MK
173022003-01-04 Mark Kettenis <kettenis@gnu.org>
17303
17304 * configure.in: Call AC_CONFIG_HEADER. Don't call
17305 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17306 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17307 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17308 aforementioned directories in the AC_OUPUT call.
17309 * config.hin: New file.
17310 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17311 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17312 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17313 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17314 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17315 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17316 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17317 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17318 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17319 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17320 gdb.threads/configure.in, gdb.threads/configure,
17321 gdb.threads/config.in, gdb.trace/configure.in,
17322 gdb.trace/configure: Removed.
17323
77afa639
MC
173242003-01-03 Michael Chastain <mec@shout.net>
17325
17326 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17327 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17328
7634bb6e
DJ
173292003-01-03 Daniel Jacobowitz <drow@mvista.com>
17330
17331 * gdb.base/store.exp: Fix regular expressions.
17332
b39c905e
MK
173332002-12-28 Mark Kettenis <kettenis@gnu.org>
17334
17335 * configure.in: Rewrite.
17336 * configure: Regenerated.
17337
0a8551dd
DC
173382003-01-03 David Carlton <carlton@math.stanford.edu>
17339
17340 * gdb.base/psymtab.exp: New file.
17341 * gdb.base/psymtab1.c: Ditto.
17342 * gdb.base/psymtab2.c: Ditto.
17343
c60b7188
AF
173442002-12-23 Adam Fedor <fedor@gnu.org>
17345
17346 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17347
ee73db83
DC
173482002-12-23 David Carlton <carlton@math.stanford.edu>
17349
17350 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17351 and current_directory initialization.
17352
d6c1774e
JB
173532002-12-22 Jim Blandy <jimb@redhat.com>
17354
f0a847b8
JB
17355 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17356 rather than as part of the output file name.
17357
d6c1774e
JB
17358 * gdb.base/attach.exp: There's no need to copy the test program to
17359 /tmp; that was only ever necessary on HP/UX, and this test is
17360 entirely disabled there anyway.
17361
f0708dbb
JB
173622002-12-21 Jim Blandy <jimb@redhat.com>
17363
4c2acfea
JB
17364 * gdb.c++/psmang.exp: Doc fix.
17365
f0708dbb
JB
17366 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17367 test.
17368
9579e000
DC
173692002-12-20 David Carlton <carlton@math.stanford.edu>
17370
17371 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17372
d1810171
MC
173732002-12-18 Michael Chastain <mec@shout.net>
17374
17375 * gdb.c++/annota2.exp: Add copyright year 2002.
17376
76565097
DC
173772002-12-17 David Carlton <carlton@math.stanford.edu>
17378
17379 * gdb.c++/try_catch.cc: Add marker comments.
17380 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17381 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17382 * gdb.c++/m-static.cc: Ditto.
17383 * gdb.c++/m-static1.cc: Ditto.
17384 * gdb.c++/try_catch.cc: Ditto.
17385
da81390b
JJ
173862002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17387
17388 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17389 to see whether we are using the new -environment-directory
17390 command which resets via -r or the old version of the command
17391 which may prompt the user. Part of fix for gdb/741.
17392
b304d130
AC
173932002-12-13 Andrew Cagney <ac131313@redhat.com>
17394
17395 * gdb.fortran/types.exp: Update obsolete comment.
17396 * gdb.fortran/exprs.exp: Ditto.
17397 * lib/gdb.exp: Delete obsolete code.
17398 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17399 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17400 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17401 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17402 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17403 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17404 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17405 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17406 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17407 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17408 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17409 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17410 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17411 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17412 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17413 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17414 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17415 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17416 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17417 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17418 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17419 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17420 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17421 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17422 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17423 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17424 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17425 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17426 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17427 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17428 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17429 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17430 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17431 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17432 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17433 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17434 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17435
a23b6e6a
DC
174362002-12-11 David Carlton <carlton@math.stanford.edu>
17437
17438 * gdb.c++/m-data.exp: Add test for members that shadow global
17439 variables: see PR gdb/804.
17440 * gdb.c++/m-data.cc: Ditto.
17441
6604731b
DJ
174422002-12-10 Daniel Jacobowitz <drow@mvista.com>
17443
17444 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17445
de46ecd7
DC
174462002-12-06 David Carlton <carlton@math.stanford.edu>
17447
17448 * gdb.base/store.c: Don't declare functions static.
17449
27e829d0
AC
174502002-12-04 Andrew Cagney <ac131313@redhat.com>
17451
17452 * gdb.base/store.exp, gdb.base/store.c: New files.
17453
92806416
DJ
174542002-12-03 Daniel Jacobowitz <drow@mvista.com>
17455
17456 * gdb.base/selftest.exp: Update for current gdb.
17457
3bcbaac5
DJ
174582002-12-03 Daniel Jacobowitz <drow@mvista.com>
17459
17460 * gdb.base/maint.exp: Only dump symbols from one source file
17461 or objfile.
17462
f4f00b1f
DJ
174632002-12-03 Daniel Jacobowitz <drow@mvista.com>
17464
17465 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17466 function call.
17467
f1c8a949
JB
174682002-11-25 Jim Blandy <jimb@redhat.com>
17469
17470 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17471 function appearing in error message.
17472
9e297a97
DJ
174732002-11-21 Daniel Jacobowitz <drow@mvista.com>
17474
17475 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17476
1f312e79
JJ
174772002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17478
d63a86f8
RM
17479 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17480 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17481 should be in mi console format. This is part of fix for PR gdb/604.
17482
83c31e7d
FN
174832002-09-18 Fernando Nasser <fnasser@redhat.com>
17484
17485 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17486 which explicitly prints the zero offset as "+0".
17487
322b3f65
DJ
174882002-10-22 Daniel Jacobowitz <drow@mvista.com>
17489
17490 * gdb.threads/schedlock.c (args): Make unsigned.
17491
174922002-10-21 Daniel Jacobowitz <drow@mvista.com>
17493
17494 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17495 numbers. Allow "foo2|selected stack frame".
17496 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17497 * gdb.asm/asmsrc2.s: Likewise.
17498 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17499 comments.
17500 * gdb.asm/mips.inc: New file.
17501
5e2fe5b8
AF
175022002-10-18 Adam Fedor <fedor@gnu.org>
17503
17504 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17505 * gdb.base/help.exp: Likewise.
17506
abe1a5d0
KB
175072002-10-17 Kevin Buettner <kevinb@redhat.com>
17508
17509 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17510 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17511
10abb1d4
JB
175122002-10-02 Jim Blandy <jimb@redhat.com>
17513
17514 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17515
1f609b42
AC
175162002-10-01 Andrew Cagney <ac131313@redhat.com>
17517
17518 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17519 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17520 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17521 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17522 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17523 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17524 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17525
0aee02e4
AC
175262002-09-29 Andrew Cagney <ac131313@redhat.com>
17527
17528 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17529 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17530 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17531 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17532 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17533 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17534 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17535
6fde09ad
KB
175362002-09-27 Kevin Buettner <kevinb@redhat.com>
17537
17538 * gdb.base/annota1.exp (info break): Make directory components of
17539 path optional since not all compilers emit this debug information.
17540
889bf7c5
PA
17541 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17542 step ends up stepping out of the function instead of stopping on
17543 the epilogue.
6fde09ad 17544
9e8aab75
KS
175452002-09-26 Keith Seitz <keiths@redhat.com>
17546
17547 * lib/insight-support.exp (gdbtk_start): Figure out where
17548 the insight executable is based on where gdb is. Use this
17549 executable to start insight instead of gdb.
17550
e36180d7
AC
175512002-09-25 Andrew Cagney <cagney@redhat.com>
17552
17553 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17554
9dd34b2b
AC
175552002-09-24 Andrew Cagney <ac131313@redhat.com>
17556
17557 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17558 test_isolated_complaints.
17559 (test_empty_complaint): New function.
17560 (test_empty_complaints): New function. Check no output when no
17561 complaints.
d63a86f8 17562
dea97812
KB
175632002-09-19 Jim Blandy <jimb@redhat.com>
17564
a9c64011 17565 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17566
54951bd7
AC
175672002-09-19 Andrew Cagney <ac131313@redhat.com>
17568
17569 * gdb.gdb/complaints.exp: New file.
17570
dec43320
AC
175712002-09-18 Andrew Cagney <ac131313@redhat.com>
17572
17573 * gdb.base/maint.exp: Check `help maint internal-warning'.
17574
e70d6e3f
DC
175752002-09-18 David Carlton <carlton@math.stanford.edu>
17576
17577 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17578 numbers, and replace them by a single breakpoint after the
17579 constructors are all finished.
17580 Add test 4.
17581 * gdb.c++/m-static.cc: Add test 4.
17582 * gdb.c++/m-static.h: New file.
17583 * gdb.c++/m-static1.cc: New file.
17584
17585 * gdb.c++/printmethod.exp: New file.
17586 * gdb.c++/printmethod.cc: New file.
17587
17588 * gdb.c++/pr-574.exp: New file.
17589 * gdb.c++/pr-574.cc: New file.
17590
afb5c968
CV
175912002-09-18 Corinna Vinschen <vinschen@redhat.com>
17592
17593 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17594 embedded targets which never actually exit.
17595
31e45dee
FN
175962002-09-18 Fernando Nasser <fnasser@redhat.com>
17597
17598 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17599 "don't step after run" as unresolved or unsupported, instead of xfail.
17600
a283c5a1
CV
176012002-09-18 Corinna Vinschen <vinschen@redhat.com>
17602
17603 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17604 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17605 Add newline to expected string in "step out of main (status wrapper)"
17606 case.
17607
11350d2a
CV
176082002-09-18 Corinna Vinschen <vinschen@redhat.com>
17609
17610 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17611 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17612
0deec7d6
TT
176132002-09-17 Tom Tromey <tromey@redhat.com>
17614
17615 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17616 \000, not \0, in double-quoted string.
17617
b2b4a1b5
CV
176182002-09-14 Corinna Vinschen <vinschen@redhat.com>
17619
c9d37158 17620 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17621 string after running the commands execution on breakpoint tests.
17622
1c56143a
CV
176232002-09-13 Corinna Vinschen <vinschen@redhat.com>
17624
17625 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17626
37f8da45
JB
176272002-09-12 Joel Brobecker <brobecker@gnat.com>
17628
17629 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17630
08b468e0
KS
176312002-09-10 Keith Seitz <keiths@redhat.com>
17632
17633 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17634 runto proc.
17635 (mi_run_to_main): Use mi_runto.
17636 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17637
dc360f58
KS
176382002-09-10 Keith Seitz <keiths@redhat.com>
17639
17640 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17641 regexp for stopping at main. Could have multiple event notifications.
17642 Don't assume that main was declared with no parameters.
17643 (mi_next): Use mi_step_to.
17644 (mi_step): Use mi_next_to.
17645
ce3abcfb
CV
176462002-09-09 Corinna Vinschen <vinschen@redhat.com>
17647
17648 * gdb.base/default.exp: Fix expected string in `info float' test.
17649
d1f5b980
BE
176502002-09-09 Ben Elliston <bje@redhat.com>
17651
17652 * config/mips.exp: Update comments.
17653 * config/mips-idt.exp: Likewise.
17654 * config/nind.exp: Likewise.
17655 * config/slite.exp: Likewise.
17656 * config/sparclet.exp: Likewise.
17657 * config/udi.exp: Likewise.
17658 * config/vx.exp: Likewise.
17659 * config/vxworks29k.exp: Likewise.
17660
2f71430b
JB
176612002-09-05 Jim Blandy <jimb@redhat.com>
17662
17663 * gdb.threads/killed.exp: Fix test failure message.
17664
7ddebc7e
KS
176652002-09-04 Keith Seitz <keiths@redhat.com>
17666
17667 * lib/mi-support.exp: Update copyright.
17668 (mi_gdb_test): Increase the priority of the expected pattern
17669 so that it matches gdb_test.
17670
0ae67eb3
KS
176712002-09-03 Keith Seitz <keiths@redhat.com>
17672
17673 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17674 Use integer comparison instead of string comparison for testing
17675 whether binary was built.
17676
38fc42c8
JB
176772002-09-03 Jim Blandy <jimb@redhat.com>
17678
17679 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17680
b6ff0e81
JB
176812002-08-29 Jim Blandy <jimb@redhat.com>
17682
17683 * gdb.threads/pthreads.exp: Move the portable thread compilation
17684 code into a function in lib/gdb.exp, and call that from here.
17685 * lib/gdb.exp (gdb_compile_pthreads): New function.
17686
07c98896
KS
176872002-08-29 Keith Seitz <keiths@redhat.com>
17688
17689 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17690 expect_out so that callers can get at it.
17691
0312286c
DJ
176922002-08-23 Daniel Jacobowitz <drow@mvista.com>
17693
17694 * gdb.threads/print-threads.c: New file.
17695 * gdb.threads/print-threads.exp: New file.
17696 * gdb.threads/schedlock.c: New file.
17697 * gdb.threads/schedlock.exp: New file.
17698
dd039bc4
EZ
176992002-08-22 Elena Zannoni <ezannoni@redhat.com>
17700
a9c64011
AS
17701 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17702 not altivec.c.
dd039bc4 17703
1f36144c
MK
177042002-08-17 Mark Kettenis <kettenis@gnu.org>
17705
17706 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17707 targets. The problem should be fixed now.
17708
16057ec7 177092002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17710
17711 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17712 2002-07-24 change that removes final dots from error messages.
17713
3c1499ad
TT
177142002-08-13 Tom Tromey <tromey@redhat.com>
17715
17716 * gdb.base/readline.exp: New file.
17717
a20ce2c3
AC
177182002-08-01 Andrew Cagney <ac131313@redhat.com>
17719
17720 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17721 supress message.
17722
db034ac5
AC
177232002-08-01 Andrew Cagney <cagney@redhat.com>
17724
17725 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17726 CHILL_FOR_TARGET and CHILL_LIB.
17727 * configure.in (configdirs): Remove gdb.chill.
17728 * configure: Regenerate.
17729 * lib/gdb.exp: Obsolete references to chill.
17730 * gdb.fortran/types.exp: Ditto.
17731 * gdb.fortran/exprs.exp: Ditto.
17732
3e000b18
KB
177332002-07-30 Kevin Buettner <kevinb@redhat.com>
17734
17735 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17736 set Irix-specific compile and link flags.
17737
28f4966b
KB
177382002-07-29 Kevin Buettner <kevinb@redhat.com>
17739
17740 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17741 source files. The ``-o'' option doesn't work with the ``-E'' option
17742 when using the Irix compiler.
17743
46c0d5a6
DJ
177442002-07-19 Daniel Jacobowitz <drow@mvista.com>
17745
17746 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17747 Improve support for reusing an exec file. Copy exec file
17748 to target, and run gdbserver on the target instead of on the host.
17749
eecf4bed
JB
177502002-07-18 Jim Blandy <jimb@redhat.com>
17751
0f815cdf
JB
17752 * gdb.base/ending-run.exp: Don't expect to see the program end in
17753 some orderly fashion when we're running on a real stand-alone
17754 board.
17755
eecf4bed
JB
17756 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17757 targets that don't support interrupts.
17758
52d309e4
JB
177592002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17760
17761 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17762 systems.
17763 Move comments in expect statements to inside the actions, so that they
17764 don't get matched against.
17765
ff683d9e
MK
177662002-07-10 Mark Kettenis <kettenis@gnu.org>
17767
17768 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17769 function when asleep" test.
17770
b5356753
AC
177712002-07-10 Andrew Cagney <ac131313@redhat.com>
17772
17773 * gdb.base/page.exp: Rewrite to handle problems with very long
17774 `info set' output. Update copyright.
17775
6aa4d13a
AC
177762002-06-26 Andrew Cagney <ac131313@redhat.com>
17777
17778 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17779 gdb.threads-hp.
17780 * gdb.hp/configure: Regenerate.
17781 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17782 * gdb.hp/gdb.threads-hp/configure: Delete file.
17783 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17784
8cf8c2b8
AC
177852002-06-22 Andrew Cagney <ac131313@redhat.com>
17786
17787 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17788 setlocale, bindtextdomain and textdomain.
17789
6827a8f8
JB
177902002-06-11 Jim Blandy <jimb@redhat.com>
17791
919d772c
JB
17792 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17793 preprocessor macro information is present.
17794
6827a8f8
JB
17795 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17796 tests.
17797
c15b0d21
MS
177982002-06-06 Michael Snyder <msnyder@redhat.com>
17799
c5984d70
MS
17800 * gdb.base/overlays.exp: Record addresses of overlay
17801 functions in TCL variables rather than in GDB variables,
17802 to avoid having GDB convert them to pointers (with loss
17803 of information).
17804
d63a86f8 17805 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17806 default linker script changes.
c15b0d21
MS
17807 * gdb.base/long_long.exp: Add check for sizeof (long double).
17808
be26fe0d
ML
178092002-06-06 Michal Ludvig <mludvig@suse.cz>
17810
17811 * gdb.asm/asm-source.exp: Add x86-64 target.
17812 * gdb.asm/x86_64.inc: New.
d63a86f8 17813
258093ca 178142002-05-30 Michael Chastain <mec@shout.net>
258093ca 17815
4b3153f1 17816 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17817 * gdb.c++/m-static.cc: New file.
17818 * gdb.c++/m-static.exp: New file.
17819
241264c6
MS
178202002-05-28 Michael Snyder <msnyder@redhat.com>
17821
17822 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17823 precision.
17824
9bba8c8f 178252002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17826
4b3153f1 17827 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17828 * gdb.c++/m-data.cc: New file.
17829 * gdb.c++/m-data.exp: New file.
17830
178312002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17832
4b3153f1 17833 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17834 * gdb.c++/try_catch.cc: New file.
d63a86f8 17835 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17836
def1b996
MC
178372002-05-27 Michael Chastain <mec@shout.net>
17838
17839 * gdb.c++/local.exp: Accept more nested types in output.
17840
522ba268
MC
178412002-05-26 Michael Chastain <mec@shout.net>
17842
17843 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17844
277254ba
MS
178452002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17846
17847 * lib/gdb.exp (gdb_wrapper_init): Just because
17848 gdb_wrapper_file exists, this does not mean that the file
17849 should not be rebuilt. That is what gdb_wrapper_initialized
17850 is for.
17851 (default_gdb_init): Reset gdb_wrapper_initialized.
17852
b61a8733
MS
178532002-05-23 Michael Snyder <msnyder@redhat.com>
17854
d63a86f8 17855 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17856 the precision of the floating point test results.
17857 * gdb.base/call-rt-st.exp: Ditto.
17858
b61a8733
MS
17859 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17860 * gdb.base/call-rt-st.exp: Ditto.
17861
56f6e910
MC
178622002-05-19 Michael Chastain <mec@shout.net>
17863
17864 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17865
ad0b0016
EZ
178662002-05-19 Elena Zannoni <ezannoni@redhat.com>
17867
a9c64011
AS
17868 * configure.in (configdirs): Add gdb.arch.
17869 * configure: Regenerate.
ad0b0016 17870
f617d2b6
JB
178712002-05-17 Jim Blandy <jimb@redhat.com>
17872
17873 * gdb.base/completion.exp: Recognize the more detailed error
17874 messages produced by the macro expander's lexical analyzer.
17875
eac2a696
EZ
178762002-05-14 Elena Zannoni <ezannoni@redhat.com>
17877
a9c64011
AS
17878 * gdb.arch/altivec-abi.c: New file.
17879 * gdb.arch/altivec-abi.exp: New file.
17880 * gdb.arch/altivec-regs.c: New file.
17881 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17882
2fdde8f8
DJ
178832002-05-14 Daniel Jacobowitz <drow@mvista.com>
17884
17885 * gdb.base/maint.exp (maint print type): Update for new type
17886 structure.
d63a86f8 17887
e31f1a7c
EZ
178882002-05-14 Elena Zannoni <ezannoni@redhat.com>
17889
17890 * gdb.arch: New directory.
17891 * gdb.arch/configure.in: New file.
17892 * gdb.arch/configure: New file.
17893 * gdb.arch/Makefile.in: New file.
17894
db589741
CV
178952002-05-13 Corinna Vinschen <vinschen@redhat.com>
17896
17897 * gdb.asm/asm-source.exp: Add v850 as supported target.
17898 * gdb.asm/v850.inc: New file.
17899
8ce2a7dc
DJ
179002002-05-13 Daniel Jacobowitz <drow@mvista.com>
17901
17902 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17903
df763c7f
DJ
179042002-05-12 Daniel Jacobowitz <drow@mvista.com>
17905
17906 * gdb.base/break.exp: Check 'break "marker2"'.
17907
377daeed
MS
179082002-05-10 Michael Snyder <msnyder@redhat.com>
17909
17910 * gdb.base/long_long.exp: Fix typo.
17911
c4b7bc2b
JB
179122002-05-10 Jim Blandy <jimb@redhat.com>
17913
ecac9a4e
JB
17914 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17915 a bug.
17916
c4b7bc2b
JB
17917 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17918 Recognize more detailed error message produced by the macro
17919 expander's lexical analyzer.
17920 * lib/gdb.exp (test_print_reject): Same.
17921
e71019a1
MK
179222002-05-09 Mark Kettenis <kettenis@gnu.org>
17923
17924 * gdb.c++/method.exp: Fix typo.
17925
fedfc8e6
MS
179262002-05-08 Michael Snyder <msnyder@redhat.com>
17927
166a1957
MS
17928 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17929 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17930 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17931 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17932 Add iftarget clause for strongarm.
d63a86f8 17933
f1c47eb2
MS
179342002-05-06 Michael Snyder <msnyder@redhat.com>
17935
cb9a9d3e
MS
17936 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17937 (gdb_continue_to_end): Accept output from status wrapper.
17938 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17939 Clean up fail messages to match pass messages.
17940
f1c47eb2
MS
17941 Enable the "needs_status_wrapper" testsuite feature.
17942 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17943 (gdb_compile): Conditionally call gdb_wrapper_init.
17944 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17945 * gdb.c++/method.exp: Recognize output from status wrapper.
17946
6079c749
BE
179472002-05-06 Ben Elliston <bje@redhat.com>
17948From Graydon Hoare <graydon@redhat.com>
17949
17950 * config/sid.exp: Include support for "rawsid" protocol.
17951
188baff3
JB
179522002-05-03 Jim Blandy <jimb@redhat.com>
17953
17954 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17955 * gdb.c++/hang3.C: New file.
17956
b9c07f0f
AC
179572002-05-04 Andrew Cagney <ac131313@redhat.com>
17958
17959 * gdb.base/default.exp: Remove obsolete code.
17960 * gdb.c++/misc.exp: Ditto. Update copyright.
17961 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17962 * gdb.base/whatis.exp: Ditto. Update copyright.
17963 * gdb.base/scope.exp: Ditto. Update copyright.
17964 * gdb.base/ptype.exp: Ditto. Update copyright.
17965 * gdb.base/printcmds.exp: Ditto. Update copyright.
17966 * gdb.base/opaque.exp: Ditto. Update copyright.
17967 * gdb.base/list.exp: Ditto.
17968 * gdb.base/funcargs.exp: Ditto. Update copyright.
17969 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17970 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17971 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17972 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17973 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17974 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17975
5c7a0397
MS
179762002-05-02 Michael Snyder <msnyder@redhat.com>
17977
d6dcc264 17978 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17979 * gdb.base/long_long.exp: Add xscale target.
17980 * gdb.base/default.exp: Add xscale target.
17981
eb7f1c48
JB
179822002-05-01 Jim Blandy <jimb@redhat.com>
17983
17984 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17985 gdb.c++/hang.exp: New test.
17986
a6befae8
FF
179872002-05-01 Fred Fish <fnf@redhat.com>
17988
17989 * gdb.base/completion.exp: Handle completions of "./Make" for
17990 more than one completion possibility, as is the case when we
17991 build and test in the source tree.
17992
0a310277
AG
179932002-04-29 Anthony Green <green@redhat.com>
17994
17995 * gdb.java/jmisc1.exp: New file.
17996 * gdb.java/jmisc2.exp: New file.
17997
6ff9af88
DJ
179982002-04-24 Daniel Jacobowitz <drow@mvista.com>
17999
18000 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18001
96b3d632
EZ
180022002-04-23 Elena Zannoni <ezannoni@redhat.com>
18003
18004 * gdb.base/help.exp: Change 'help status' to allow for target
18005 dependent output differences.
18006
5019bb54
MC
180072002-04-22 Michael Chastain <mec@shout.net>
18008
18009 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18010
a805a116
MC
180112002-04-22 Michael Chastain <mec@shout.net>
18012
18013 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18014
a1706bfd
DM
180152002-04-17 David S. Miller <davem@redhat.com>
18016
18017 * gdb.asm/sparc64.inc: New file.
18018 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18019
a73a20a2
EZ
180202002-04-19 Elena Zannoni <ezannoni@redhat.com>
18021
18022 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18023 instruction file directly into the build tree. Clean up at end of
18024 test.
18025
ba678339
DM
180262002-04-18 David S. Miller <davem@redhat.com>
18027
18028 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18029 handle 64-bit platforms correctly.
18030 * gdb.base/maint.exp: Likewise.
18031
b03399da
KB
180322002-04-18 Kevin Buettner <kevinb@redhat.com>
18033
18034 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18035 ``-fpic'' when compiling files comprising a shared library, but
18036 it does need additional linker flags in order to find shared
18037 libraries at run time.
18038
e2004992
KB
180392002-04-18 Kevin Buettner <kevinb@redhat.com>
18040
18041 * gdb.base/cvexpr.c (use): New function.
18042 (main): Invoke use() on all global variables to prevent
18043 some linkers from deleting these otherwise unused symbols.
18044
d8937120
MC
180452002-04-17 Michael Chastain <mec@shout.net>
18046From David S. Miller <davem@redhat.com>
18047
18048 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18049 handle 64-bit platforms correctly.
18050
ffd61a58
MS
180512002-04-12 Michael Snyder <msnyder@redhat.com>
18052From Jim Blandy <jimb@redhat.com>
a9c64011 18053 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18054 script can handle this instead.
18055 * gdb.base/bar.c (barx): Same.
18056 * gdb.base/baz.c (bazx): Same.
18057 * gdb.base/grbx.c (grbxx): Same.
18058
18059 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18060 manager doesn't automatically unmap overlays unnecessarily.
18061
6b8426a6
MH
180622002-04-10 Martin M. Hunt <hunt@redhat.com>
18063
18064 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18065 stepping out of main.
18066
34af4875
MC
180672002-04-09 Michael Chastain <mec@shout.net>
18068
18069 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18070 scope so that the nested scope tests will make sense.
18071 * gdb.c++/local.exp: Write patterns that actually work with gcc
18072 (the HP patterns "were never known to work with gcc").
18073 Keep the old aCC patterns too.
18074
2d1676a0
DJ
180752002-04-09 Daniel Jacobowitz <drow@mvista.com>
18076
18077 * gdb.base/attach.exp: Correct target board test.
18078
3a63e3f9
MC
180792002-04-08 Michael Chastain <mec@shout.net>
18080
18081 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18082 in a const method. Add some xfail and fail cases for configurations
18083 that do not emit the "const ...".
18084
f18dabd2
MC
180852002-04-07 Michael Chastain <mec@shout.net>
18086
18087 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18088 Accept "A * const" and "const A * const" as type of "this".
18089 Fix spelling of getFunky throughout. Make messages uniform.
18090
0fcddd82
EZ
180912002-04-07 Elena Zannoni <ezannoni@redhat.com>
18092
a9c64011 18093 Work around for PR gdb/285:
0fcddd82
EZ
18094 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18095
16a8534a
EZ
180962002-04-07 Elena Zannoni <ezannoni@redhat.com>
18097
18098 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18099 instructions file at run time instead of configure time.
18100 Sometimes we run the test in a directory that is not the one we
18101 configured in.
18102 * gdb.asm/configure.in: Delete creation of symlink.
18103 * gdb.asm/configure: Regenerate.
18104
24181d81
JB
181052002-04-05 J. Brobecker <brobecker@gnat.com>
18106
18107 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18108 xfullpath () function.
18109
7cdb7107
DJ
181102002-04-04 Daniel Jacobowitz <drow@mvista.com>
18111
18112 * gdb.asm/Makefile.in: Correct dependencies.
18113
18114 * gdb.asm/powerpc.inc: New file.
18115 * gdb.asm/asm-source.exp: Add PowerPC.
18116 * gdb.asm/configure.in: Likewise.
18117 * gdb.asm/configure: Regenerated.
18118
a7d17088
DJ
181192002-04-04 Daniel Jacobowitz <drow@mvista.com>
18120
18121 * gdb.base/relocate.exp: New file.
18122 * gdb.base/relocate.c: New file.
18123
cd721503
FF
181242002-04-04 Fred Fish <fnf@redhat.com>
18125
18126 * gdb.base/step-test.exp: Update comment regarding stopping in
18127 memcpy/bcopy calls inserted as part of the compiler runtime.
18128
b22ad7a7
MS
181292002-04-04 Michael Snyder <msnyder@redhat.com>
18130
18131 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18132
5f279fa6
DJ
181332002-04-03 Daniel Jacobowitz <drow@mvista.com>
18134
18135 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18136 (gdb_expect): Remove $notransfer hack.
18137
dd0fd3ce
DJ
181382002-04-02 Daniel Jacobowitz <drow@mvista.com>
18139
18140 * gdb.c++/classes.exp ("calling method for small class"): Match
18141 updated register output.
18142
1e50cda1
DJ
181432002-03-30 Daniel Jacobowitz <drow@mvista.com>
18144
18145 Fix PR gdb/452
18146 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18147 when finished. Make gdb_file_cmd send "exec-file" when
18148 appropriate.
18149
24015922
DJ
181502002-03-30 Daniel Jacobowitz <drow@mvista.com>
18151
18152 * gdb.base/attach.exp: Remove extra setup_xfail.
18153
dd7dfd64
MS
181542002-03-26 Michael Snyder <msnyder@redhat.com>
18155
18156 * gdb.base/default.exp: Add tests for dump, append, and restore.
18157 * gdb.base/help.exp: Add tests for dump, append, and restore.
18158 * gdb.base/dump.exp: New file, test dump, append and restore.
18159 * gdb.base/dump.c: New file.
18160
48b2f8d7
MS
181612002-03-27 Michael Snyder <msnyder@redhat.com>
18162
d63a86f8 18163 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18164 clean-ups in help messages.
18165
05b4d525
FF
181662002-03-26 Fred Fish <fnf@redhat.com>
18167
18168 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18169 have debugging info for those functions and the compiler uses them
18170 internally to copy structs around.
18171
d7679631
FF
181722002-03-26 Fred Fish <fnf@redhat.com>
18173
18174 * gdb.base/list.exp: Revert the change made yesterday and add note
18175 about why we don't list the default lines for remote targets.
18176
523ac3f9
MS
181772002-03-25 Michael Snyder <msnyder@redhat.com>
18178
18179 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18180
754b2b8d
FF
181812002-03-25 Fred Fish <fnf@redhat.com>
18182
18183 * gdb.base/list.exp: This test works on remote targets so remove
18184 the short circuit for remote targets. Update copyright.
18185
33c3e192
FF
181862002-03-25 Fred Fish <fnf@redhat.com>
18187
18188 * gdb.base/attach.exp: Fix logic error that was suppressing this
18189 test for all non hppa*-*-hpux* targets, instead of the hp target.
18190 Move comments closer to the suppression point. Also now need to
18191 check that we are running natively.
18192
d43e73ee
MS
181932002-03-22 Michael Snyder <msnyder@redhat.com>
18194
882c8f02
MS
18195 * gdb.base/default.exp: Add test for gcore. Update copyright.
18196 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18197
04c12f60
FF
181982002-03-06 Fred Fish <fnf@redhat.com>
18199
18200 * gdb.base/funcargs.c: Remove extraneous ';' character.
18201 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18202
b43df995
MC
182032002-03-04 Michael Chastain <mec@shout.net>
18204
18205 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18206 accommodate gcc v3 function signature.
18207 * gdb.mi/mi0-var-cmd-exp: Ditto.
18208
92362027
AC
182092002-02-24 Andrew Cagney <ac131313@redhat.com>
18210
18211 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18212 ``GNU/Linux'' or ``Linux kernel''
18213 * testsuite/gdb.threads/pthreads.c: Ditto.
18214
258ad32d
MC
182152002-02-24 Michael Chastain <mec@shout.net>
18216
18217 * gdb.threads/pthreads.c (thread1): Add a return statement.
18218 (thread2): Likewise.
18219 (foo): Likewise.
18220
04c3b3d4
MC
182212002-02-23 Michael Chastain <mec@shout.net>
18222
18223 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18224 to placate gcc.
18225
5a2a0a20
MC
182262002-02-23 Michael Chastain <mec@shout.net>
18227
18228 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18229 test "ptype bint". The test passes on all my stabs configurations.
18230
a640f7fc
JB
182312002-02-21 Jim Blandy <jimb@redhat.com>
18232
27924826
JB
18233 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18234 filename at a time, and watch for the ones we want to see.
18235
a640f7fc
JB
18236 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18237 types of pointers to prototyped functions.
18238
edcc8c75
AC
182392002-02-20 Andrew Cagney <ac131313@redhat.com>
18240
18241 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18242 signed, unsigned and straight char.
18243 (padding_char, padding_short, padding_int, padding_long,
18244 padding_long_long, padding_float, padding_double,
18245 padding_long_double): New global variables.
18246 (fill, fill_structs): New functions.
18247
18248 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18249 for correctly sized writes. Update copyright.
18250 (get_valueof): New procedure.
18251 (get_sizeof): Call get_valueof.
18252 (check_valueof): New procedure.
18253 (check_padding): New procedure.
18254
ac57ea44
MC
182552002-02-20 Michael Chastain <mec@shout.net>
18256
18257 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18258 to setup_xfail. Document some of the remaining calls.
18259
7a10c941
MC
182602002-02-18 Michael Chastain <mec@shout.net>
18261
18262 * gdb.c++/userdef.exp: Update copyright year.
18263
fb8acdcc
DJ
182642002-02-18 Daniel Jacobowitz <drow@mvista.com>
18265
18266 * gdb.c++/userdef.exp: Test overloaded operators properly.
18267 Remove xfails.
18268
fda6ae12
MS
182692002-02-14 Michael Snyder <msnyder@redhat.com>
18270
18271 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18272
676a0442
DJ
182732002-02-14 Daniel Jacobowitz <drow@mvista.com>
18274
18275 * gdb.base/a2-run.exp: Check for a remote target properly.
18276 * gdb.base/annota1.exp: Likewise.
18277 * gdb.base/list.exp: Likewise.
18278 * gdb.base/reread.exp: Likewise.
18279 * gdb.base/scope.exp: Likewise.
18280 * gdb.base/shlib-call.exp: Likewise.
18281 * gdb.base/term.exp: Likewise.
18282 * gdb.c++/annota2.exp: Likewise.
18283
78b4f468
RE
182842002-02-13 Richard Earnshaw <rearnsha@arm.com>
18285
18286 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18287
9a81ba51
MC
182882002-02-10 Michael Chastain <mec@shout.net>
18289
18290 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18291 (call_after_alloca): Ditto.
18292
004af6c7
DJ
182932002-02-10 Daniel Jacobowitz <drow@mvista.com>
18294
18295 * gdb.base/ending-run.exp: Guard "cont" test with
18296 gdb_skip_stdio_test.
18297
37225f62
JB
182982002-02-06 Jim Blandy <jimb@redhat.com>
18299
18300 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18301 from here...
18302 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18303 To here. Disable this test on non-HP platforms. Add big comment.
18304
fe6fdd96
MS
183052002-02-04 Michael Snyder <msnyder@redhat.com>
18306
18307 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18308 other than d10v and m32r.
18309
036fad3f
RE
183102002-02-02 Richard Earnshaw <rearnsha@arm.com>
18311
18312 * gdb.base/default.exp: Rewrite test patterns to reduce time
18313 taken to match them.
18314
7148ab62
DJ
183152002-01-30 Daniel Jacobowitz <drow@mvista.com>
18316
18317 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18318 Allow a start function above main.
18319 * gdb.threads/linux-dp.exp: Fix copyright date.
18320
396cc255
DJ
183212002-01-30 Daniel Jacobowitz <drow@mvista.com>
18322
a9c64011
AS
18323 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18324 (check_philosopher_stack): Check for manager thread before checking
18325 for a just-starting thread.
396cc255 18326
f038d31b
DJ
183272002-01-30 Daniel Jacobowitz <drow@mvista.com>
18328
18329 From Neil Booth <neil@daikokuya.demon.co.uk>:
18330 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18331 warnings.
18332
b3ff9d9a
FF
183332002-01-21 Fred Fish <fnf@redhat.com>
18334
18335 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18336 not caller.
18337
39ad761d
JB
183382002-01-21 Jim Blandy <jimb@redhat.com>
18339
18340 * gdb.base/reread.exp: Check that GDB properly re-reads the
18341 executable file when it changes while no inferior is running.
18342
aaf320fa
FF
183432002-01-21 Fred Fish <fnf@redhat.com>
18344
a9c64011
AS
18345 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18346 optionally accept the "shlib events" variation.
aaf320fa 18347
808a31f5
JB
183482002-01-21 Jim Blandy <jimb@redhat.com>
18349
18350 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18351 call `fflush' after every `printf', so that the output is produced
18352 at predictable points, regardless of whatever buffering does (or
18353 doesn't) take place.
18354 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18355 at different points.
18356
4420d5e2
DJ
183572002-01-20 Daniel Jacobowitz <drow@mvista.com>
18358
18359 * gdb.c++/inherit.exp: Update copyright years.
18360 * gdb.c++/method.exp: Likewise.
18361
3e36a0f4
DJ
183622002-01-20 Daniel Jacobowitz <drow@mvista.com>
18363
18364 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18365 artificial methods/arguments.
18366 * gdb.c++/derivation.exp: Likewise.
18367 * gdb.c++/inherit.exp: Likewise.
18368 * gdb.c++/method.exp: Likewise.
18369 * gdb.c++/virtfunc.exp: Likewise.
18370
b4ceaee6
AC
183712002-01-18 Andrew Cagney <ac131313@redhat.com>
18372
18373 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18374 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18375 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18376 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18377 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18378 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18379
ecace851
JB
183802002-01-17 Jim Blandy <jimb@redhat.com>
18381
18382 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18383 anchoring the pattern matching the entry point symbol's name.
18384
375fc983
AC
183852002-01-17 Andrew Cagney <ac131313@redhat.com>
18386
18387 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18388 continue/quit query. Update copyright.
18389
fe6fdd96
MS
183902002-01-14 Michael Snyder <msnyder@redhat.com>
18391
18392 * gdb.base/gcore.exp: Remove extra debugging output.
18393
e017c81f
DJ
183942002-01-13 Daniel Jacobowitz <drow@mvista.com>
18395
18396 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18397 for slightly dubious v2 mangled string.
18398
37ab3bf8
DJ
183992002-01-13 Daniel Jacobowitz <drow@mvista.com>
18400
18401 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18402
1bc05c3a 184032002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18404
1bc05c3a 18405 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18406
1bc05c3a
JM
18407 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18408 constructors.
18409 * gdb.c++/derivation.exp: Likewise.
18410 * gdb.c++/templates.exp: Likewise.
18411 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18412
1bc05c3a
JM
184132002-01-10 Michael Snyder <msnyder@redhat.com>
18414
18415 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18416
a911c360
MS
184172002-01-08 Michael Snyder <msnyder@redhat.com>
18418
18419 * gdb.base/gcore.exp: New test for generate-core-file command.
18420 * gdb.base/gcore.c: Testcase for above.
18421 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18422
ea2119ec
JM
184232002-01-08 Jason Merrill <jason@redhat.com>
18424
18425 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18426
68203136
FF
184272002-01-07 Fred Fish <fnf@redhat.com>
18428
18429 * gdb.c++/overload.exp: Remove unconditional xfails for:
18430 print foo_instance1.overloadargs(1)
18431 print foo_instance1.overloadargs(1, 2)
18432 print foo_instance1.overloadargs(1, 2, 3)
18433 print foo_instance1.overloadargs(1, 2, 3, 4)
18434 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18435 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18436 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18437 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18438 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18439 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18440 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18441 print foo_instance1.overload1arg()
18442 print foo_instance1.overload1arg((char)arg2)
18443 print foo_instance1.overload1arg((signed char)arg3)
18444 print foo_instance1.overload1arg((unsigned char)arg4)
18445 print foo_instance1.overload1arg((int)arg7)
18446 print foo_instance1.overload1arg((unsigned int)arg8)
18447 print foo_instance1.overload1arg((float)arg11)
18448 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18449
21b9b5b1
MS
184502002-01-07 Michael Snyder <msnyder@redhat.com>
18451
18452 * gdb.base/huge.exp: New test. Print a very large target data object.
18453 (skip_huge_test): New test variable. Define if you want to skip this
18454 test. The test reads an 8 megabyte data object from the target, so it
18455 might be very time consuming on remote targets with a slow connection.
18456 * gdb.base/huge.c: New file. Test case for above.
18457
725f922e
FF
184582002-01-07 Fred Fish <fnf@redhat.com>
18459
18460 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18461 g_instance.bfoo, and g_instance.cfoo.
18462
889bf7c5 184632002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18464
889bf7c5
PA
18465 * gdb.base/break.c (multi_line_if_conditional): New function.
18466 (multi_ilne_while_conditional): Likewise.
18467 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18468 IF or WHILE condition puts the breakpoint at the start of
18469 the condition.
f286b2c3 18470
634d57ec
JL
18471 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18472 hppa*-*-hpux* expected failure.
18473 * gdb.base/structs.exp (do_function_calls): Similarly.
18474
18475 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18476 watchpoints.
18477
9fbfe2dc
AC
184782002-01-06 Andrew Cagney <ac131313@redhat.com>
18479
18480 Fix PR gdb/66.
18481 * gdb.base/structs.exp: Replace skip for a29k with skip for
18482 gdb,cannot_call_functions.
18483 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18484 * gdb.base/callfuncs.exp: Ditto.
18485 * gdb.base/call-rt-st.exp: Ditto.
18486 * gdb.base/call-strs.exp: Ditto.
18487 * gdb.base/callfwmall.exp: Ditto.
18488 * gdb.base/scope.exp: Obsolete xfail a29k.
18489 * gdb.c++/misc.exp: Ditto.
18490 * gdb.c++/cplusfuncs.exp: Ditto.
18491 * gdb.base/ptype.exp: Ditto.
18492 * gdb.base/printcmds.exp: Ditto.
18493 * gdb.base/opaque.exp: Ditto.
18494 * gdb.base/list.exp: Ditto.
18495 * gdb.base/funcargs.exp: Ditto.
18496 * gdb.base/default.exp: Ditto.
18497
8ddad156
MS
184982002-01-04 Michael Snyder <msnyder@redhat.com>
18499
ca4976a6 18500 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18501 * gdb.base/maint.exp: Add tests for maint info sections options.
18502
1b074332
JL
18503Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18504
18505 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18506
7d159115
CV
185072001-12-20 Corinna Vinschen <vinschen@redhat.com>
18508
18509 * gdb.asm/arm.inc: New file.
18510 * gdb.asm/asm-source.exp: Add arm targets.
18511 * gdb.asm/configure.in: Ditto.
18512 * gdb.asm/configure: Recreated from configure.in.
18513
8fb87725
JL
18514Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18515
afabe08c
JL
18516 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18517 with HP's compiler.
18518 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18519 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18520 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18521 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18522
18523 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18524 either HP's compilers or GCC.
18525
db521deb
JL
18526 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18527 a SIGBUS or SIGSEGV.
18528
18529 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18530
18531 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18532 can be compiled with either HP's compiler or GCC.
18533
cfa88ab7
JL
18534 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18535 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18536 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18537
ca344dff
JL
18538 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18539 to match current gdb output. Update due to using auto-solib-limit
18540 for limiting instead of overloading auto-solib-add.
18541 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18542 test program.
18543
3f3c6e55 18544 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18545 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18546 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18547 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18548 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18549 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18550 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18551 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18552 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18553 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18554 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18555 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18556 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18557
8fb87725
JL
18558 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18559 a SIGTRAP to the inferior.
18560
cf599fa7
CV
185612001-12-19 Corinna Vinschen <vinschen@redhat.com>
18562
18563 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18564 Substitute call to target_link by call to gdb_compile.
18565
2cd045cd
JL
18566Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18567
a9c64011
AS
18568 * gdb.base/break.exp: Fix HP specific search string when testing
18569 backtracing in a called function.
2cd045cd 18570
a9c64011
AS
18571 * gdb.base/constvars.exp: Only set lang to C++ if we're
18572 compiling the test with HP's compilers.
18573 * gdb.base/volatile.exp: Similarly.
2cd045cd 18574
99ebe9ac
JB
185752001-12-19 Jim Blandy <jimb@redhat.com>
18576
18577 * gdb.base/printcmds.exp: Expect the null character to be printed
18578 as '\0', and the '\013' to be printed as '\v'.
18579 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18580 * gdb.base/setvar.exp: Same.
18581
b9891b29
JB
185822001-12-17 Jim Blandy <jimb@redhat.com>
18583
0eba65ab
JB
18584 * gdb.base/completion.exp: Rather than completing very long
18585 filenames, which can make the readline library produce output we
18586 don't recognize, cd to the directory first, and then complete
18587 using nice, short relative paths.
18588
6970b5b1
JB
18589 * gdb.base/completion.exp: On some systems, there is, in fact, a
18590 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18591 variables as being in scope. So use `no_var_named_this'
18592 instead of `b'.
6970b5b1 18593
b9891b29 18594 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18595 can't find the core file's registers as a failure.
b9891b29 18596
e6ccd35f
JSC
185972001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18598
a9c64011
AS
18599 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18600 test expect string more specific.
e6ccd35f 18601
105ba819
CV
186022001-12-13 Corinna Vinschen <vinschen@redhat.com>
18603
18604 * gdb.asm/asm-source.exp: Add support for xstormy16.
18605 * gdb.asm/configure.in: Ditto.
18606 * gdb.asm/configure: Rebuild.
18607 * gdb.asm/xstormy16.inc: New file.
18608
e9e79dd9
FF
186092001-12-10 Fred Fish <fnf@redhat.com>
18610
18611 * gdb.base/maint.exp: Update to match changes in type dumping code.
18612
347dc97d
JB
186132001-12-10 Jim Blandy <jimb@redhat.com>
18614
18615 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18616 matching the entry point symbol's name at the beginning of the
18617 line.
347dc97d 18618
5178b9d6
DJ
186192001-12-07 Daniel Jacobowitz <drow@mvista.com>
18620
18621 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18622 gdb.c++/inherit.exp, gdb.c++/method.exp,
18623 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18624 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18625 and class layout support.
18626
af890c52
DJ
186272001-12-07 Daniel Jacobowitz <drow@mvista.com>
18628
18629 * gdb.c++/classes.exp: Add test for static member function.
18630 * gdb.c++/misc.cc: Add class with static member function.
18631
7a345fb3
JB
186322001-12-07 Jim Blandy <jimb@redhat.com>
18633
f2e54a80 18634 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18635 those tests as `unsupported'.
18636 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18637 Rewrite subsequent tests to use it.
18638
18639 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18640 those tests as `unsupported'.
18641 * gdb.base/structs.exp (call_struct_func): New function.
18642 (do_function_calls): Use call_struct_func to call the functions
18643 returning structs.
18644
0bc69509
JB
18645 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18646 whether functions are prototyped or not, so we can't possibly pass
18647 arguments to t_float_values2 properly.
18648
7a345fb3
JB
18649 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18650 value of `timeout' for targets other than the mips*tx39-*.
18651
edb6ede1
MS
186522001-12-06 Michael Snyder <msnyder@redhat.com>
18653
d63a86f8 18654 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18655 and detect whether the start symbol has a leading underscore.
18656
2d842f13
JB
186572001-12-04 Jim Blandy <jimb@redhat.com>
18658
18659 * gdb.base/completion.exp: Clarify indentation.
18660
68550daf
JB
186612001-12-03 Jim Blandy <jimb@redhat.com>
18662
18663 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18664 variables on the S/390, not `.word'.
18665
cd5195a8
JB
186662001-11-30 Jim Blandy <jimb@redhat.com>
18667
18668 Add assembly-source tests for s390-ibm-linux.
18669 * gdb.asm/s390.inc: New file.
18670 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18671 the S/390 architecture.
a9c64011 18672 * gdb.asm/configure: Regenerated.
cd5195a8 18673
ca9efc90
MS
186742001-11-30 Michael Snyder <msnyder@redhat.com>
18675
18676 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18677 next, info source, info sources, info line, global and static
18678 variables, and static functions.
18679 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18680 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18681 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18682 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18683 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18684 (gdbasm_leave): Restore frame pointer.
18685 (gdbasm_startup): Copy stack set-up from crt0.S.
18686
d0e66976
FN
186872001-11-26 Fernando Nasser <fnasser@redhat.com>
18688
18689 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18690 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18691 to a local (non-static) variable. Copy tstruct.a to a static buffer
18692 and return a pointer to that buffer.
18693 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18694
e2334072
MK
186952001-11-24 Mark Kettenis <kettenis@gnu.org>
18696
18697 * gdb.asm/configure.in: Fix recognition of ix86 target.
18698 * gdb.asm/configure: Regenerate.
18699
756caa3d
MS
187002001-11-21 Michael Snyder <msnyder@redhat.com>
18701
18702 * gdb.asm/sparc.inc: New file.
18703 * gdb.asm/asm-source.exp: Recognize sparc target.
18704 * gdb.asm/configure.in: Recognize sparc target.
18705 * gdb.asm/configure: Regenerate.
d63a86f8 18706
9a4d72d5
MS
187072001-11-21 Michael Snyder <msnyder@redhat.com>
18708
18709 * gdb.asm/m32r.inc: New file.
18710 * gdb.asm/asm-source.exp: Recognize m32r target.
18711 * gdb.asm/configure.in: Recognize m32r target.
18712 * gdb.asm/configure: Regenerate.
18713
a773d1cd
MS
187142001-11-20 Michael Snyder <msnyder@redhat.com>
18715
017ac23d
MS
18716 * gdb.asm/i386.inc: New file.
18717 * gdb.asm/asm-source.exp: Recognize ix86 target.
18718 * gdb.asm/configure.in: Recognize ix86 target.
18719 * gdb.asm/configure: Regenerate.
18720
a773d1cd
MS
18721 * gdb.c++/namespace.exp: Fix quotes in output messages.
18722
bb632afb
MS
187232001-11-14 Michael Snyder <msnyder@redhat.com>
18724
25d559ca 18725 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18726 qualifier in a type cast expression, to designate an address
18727 in the instruction space (Harvard architecture).
18728
4749e309
MS
187292001-11-13 Michael Snyder <msnyder@redhat.com>
18730
18731 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18732 Tests for expressions using 'const' and 'volatile'.
18733
25050984
CV
187342001-11-13 Corinna Vinschen <vinschen@redhat.com>
18735
18736 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18737
1902c51f
DJ
187382001-11-12 Daniel Jacobowitz <drow@mvista.com>
18739
18740 * lib/mi-support.exp (mi_run_to_helper): Move comments
18741 outside of gdb_expect.
18742
dcf95b47
DJ
187432001-11-11 Daniel Jacobowitz <drow@mvista.com>
18744
18745 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18746 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18747 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18748 mi0_run_to): New functions.
18749 * gdb.mi/mi-simplerun.exp: Use them.
18750 * gdb.mi/mi0-simplerun.exp: Likewise.
18751 * gdb.mi/mi-var-cmd.exp: Likewise.
18752 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18753
45b074e1
AC
187542001-11-10 Andrew Cagney <ac131313@redhat.com>
18755
18756 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18757 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18758
bf50d346
AC
187592001-11-09 Andrew Cagney <ac131313@redhat.com>
18760
18761 * gdb.base/restore.exp: Include $expected value in restored test
18762 message.
18763
9383332c
AC
187642001-11-09 Andrew Cagney <ac131313@redhat.com>
18765
18766 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18767 implemented.
18768
db62520a
MS
187692001-11-08 Michael Snyder <msnyder@redhat.com>
18770
18771 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18772 Add pass/fail message for stop at breakpoint in call dummy function.
18773
b5703437
MS
187742001-11-07 Michael Snyder <msnyder@redhat.com>
18775
d63a86f8
RM
18776 * gdb.c++/templates.exp (test_template_breakpoints):
18777 If we get an overload menu, but it does not match what
760f6330 18778 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18779 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18780 making the whitespace optional. Argument for "new" may be
18781 "unsigned" as well as "unsigned int/long".
d63a86f8 18782 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18783 making the whitespace optional. Also replace "(void) with
18784 "((void|)), making the keyword "void" optional.
d63a86f8 18785 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18786 making the whitespace optional. Also replace "(void) with
18787 "((void|)), making the keyword "void" optional.
3bf40917
MS
18788 * gdb.base/callfuncs.c (t_float_values): This function must
18789 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18790 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18791 can be tested against both cases. Usually one case involves
18792 promotion of float to double, while the other does not.
18793 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18794 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18795 includes a stack frame for "start".
18796
c8ab4e6d
JB
187972001-11-05 Jim Blandy <jimb@redhat.com>
18798
18799 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18800 pointers are 32 bits long, and that offsets of relocs are always
18801 stored in the data (REL-style), and not in the reloc entry itself
18802 (RELA-style).
18803 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18804 stabs.
18805
3f08ced9
MS
188062001-11-01 Michael Snyder <msnyder@redhat.com>
18807
18808 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18809 and regular expression operators by using quoting.
18810
cbfa24cd
MS
188112001-10-31 Michael Snyder <msnyder@redhat.com>
18812
18813 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18814 depending on what the symbol table contains.
18815 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18816 the output of the ptype command. Similarly, accept both "const &"
18817 and "const&".
18818
aaa68313
CV
188192001-10-31 Corinna Vinschen <vinschen@redhat.com>
18820
18821 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18822 symbol `STORAGE' to allow to choose the storage class of
18823 the local datastructures.
18824 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18825 compiler directive.
18826
91740388
MS
188272001-10-30 Michael Snyder <msnyder@redhat.com>
18828
18829 * gdb.base/jump.exp: Allow it to run for all targets.
18830
1b7c05e7
CV
188312001-10-29 Corinna Vinschen <vinschen@redhat.com>
18832
18833 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18834 with new double_array size.
18835 (main): Change storage class of all local variables to static.
18836 Reduce size of double_array to 9.
18837 * gdb.base/call-ar-st.exp: Increase timeout value.
18838 Change expected output for double array to match new size in
18839 call-ar-st.c.
18840
36a22261
CV
188412001-10-29 Corinna Vinschen <vinschen@redhat.com>
18842
18843 * gdb.base/ending-run.exp: Create identical output when passing
18844 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18845 Stormy16 target.
36a22261 18846
92b8ae91
MK
188472001-10-28 Mark Kettenis <kettenis@gnu.org>
18848
18849 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18850 that we catch the expected failure under Linux/x86.
18851
cb135b83
OF
188522001-10-29 Orjan Friberg <orjanf@axis.com>
18853
18854 * gdb.base/setvar.exp: Escape curly braces.
18855 * gdb.stabs/weird.exp: Ditto.
18856
6884aa54
DJ
188572001-10-27 Daniel Jacobowitz <drow@mvista.com>
18858
18859 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18860 * gdm.mi/mi0-hack-cli.exp: Likewise.
18861
0398c9aa
AC
188622001-10-25 Andrew Cagney <ac131313@redhat.com>
18863
18864 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18865 messages.
18866
d20bf2e8
AC
188672001-10-21 Andrew Cagney <ac131313@redhat.com>
18868
18869 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18870 checking MI enabled.
18871
03dd63aa
CV
188722001-10-09 Corinna Vinschen <vinschen@redhat.com>
18873
18874 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18875
1d9d99f3
FCE
188762001-10-04 Frank Ch. Eigler <fche@redhat.com>
18877
18878 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18879 if gdb child process crashes, just signal an error.
18880
838ae6c4
JB
188812001-10-02 Jim Blandy <jimb@redhat.com>
18882
18883 * lib/gdb.exp (test_xfail_format): Simplify.
18884
18885 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18886 front of the variable name `format'. Simplify `if'.
18887
8f0cbc1c
DJ
188882001-10-01 Daniel Jacobowitz <drow@mvista.com>
18889
18890 * gdb.threads/pthreads.exp: Wait for output and delay
18891 before sending ^C.
18892
1f08dafd
DJ
188932001-10-01 Daniel Jacobowitz <drow@mvista.com>
18894
18895 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18896 some incorrect output instead of timing out.
18897 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18898
674f90ff
CV
188992001-09-28 Corinna Vinschen <vinschen@redhat.com>
18900
18901 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18902 check to allow additional `int'.
18903
9b284272
DJ
189042001-09-27 Daniel Jacobowitz <drow@mvista.com>
18905
18906 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18907 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18908
b55a4771
MS
189092001-09-27 Michael Snyder <msnyder@redhat.com>
18910
18911 * lib/gdb.exp (test_debug_format): New proc.
18912 (setup_xfail_format): Use new proc test_debug_format.
18913 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18914 proc; use new service proc test_debug_format.
18915 Replace all other "gcc_compiled" tests with this test.
18916 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18917 proc; use new service proc test_debug_format.
18918 Replace all other "gcc_compiled" tests with this test.
18919
189202001-09-27 Michael Snyder <msnyder@redhat.com>
18921
18922 * gdb.base/cvexpr.exp: New file.
18923 * gdb.base/cvexpr.c: New file
18924 Test for expressions using const and volatile keywords.
18925
4e6667ac
CV
189262001-09-26 Corinna Vinschen <vinschen@redhat.com>
18927
18928 * gdb.base/constvars.exp: Check for different orders of keywords
18929 and additional "int" strings in output.
18930
4f337972
AC
189312001-09-22 Andrew Cagney <ac131313@redhat.com>
18932
18933 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18934 responses from "help maint".
18935
2015650d
FCE
189362001-09-19 Frank Ch. Eigler <fche@redhat.com>
18937
18938 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18939 to localhost:NNN instead of :NNN, in case Xvfb is listening
18940 only on TCP.
18941
f3bcedc1
CV
189422001-09-19 Corinna Vinschen <vinschen@redhat.com>
18943
18944 * gdb.base/recurse.exp: When checking leaving the watchpoint
18945 scope, recognize when gdb is in function's epilogue and pass.
18946
6b819c92
KS
189472001-09-18 Keith Seitz <keiths@redhat.com>
18948
18949 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18950 support for running tests against sid targets.
18951 (gdbtk_done): Ditto.
18952
a10c9419
CV
189532001-09-18 Corinna Vinschen <vinschen@redhat.com>
18954
18955 * gdb.base/ending-run.c (main): Set stdout buffersize
18956 to the same reasonable value for any target.
18957 * gdb.base/ending-run.exp: Add a regular expression
18958 to make testsuite happy on Sanyo Stormy16 target.
18959
739d0d99
CV
189602001-09-17 Corinna Vinschen <vinschen@redhat.com>
18961
18962 * gdb.base/display.c (do_loops): Add float variable `f'.
18963 Increment f in loop.
18964 * gdb.base/display.exp: Increment timeout by 60 seconds.
18965 Change float display test to use variable `f'.
18966
1b8947f0
JB
189672001-09-17 Jim Blandy <jimb@redhat.com>
18968
18969 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18970 overflowing the limited breakpoint tables on some ROM monitors
18971 (like the ROM68K).
18972
9890ac81
FCE
189732001-09-15 Frank Ch. Eigler <fche@redhat.com>
18974
18975 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18976 the "-ac" (disable access control) flag.
18977
6db765ea
JH
189782001-08-30 Jeff Holcomb <jeffh@redhat.com>
18979
18980 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18981 ints.
18982
4c32cc04
KS
189832001-08-30 Keith Seitz <keiths@redhat.com>
18984
18985 * lib/gdb.exp: Move all insight-related functionality into
18986 separate file.
18987 * lib/insight-support.exp: New file.
18988
8d6e6f81
FCE
189892001-08-29 Frank Ch. Eigler <fche@redhat.com>
18990
18991 * config/sid.exp (sid_start): Never set sid verbosity; disable
18992 expect_background {} that consumed its stdout; tolerate </dev/null.
18993 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18994
6a90e1d0
AC
189952001-08-18 Andrew Cagney <ac131313@redhat.com>
18996
18997 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18998 CLI jump command to start it.
18999 (mi_run_to_main): Fail immediatly when unexpected output.
19000
1759b3c3
AC
190012001-08-18 Andrew Cagney <ac131313@redhat.com>
19002
19003 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19004 beginning of function. Fix PR gdb/191.
19005
61d11d80
FCE
190062001-08-16 Frank Ch. Eigler <fche@redhat.com>
19007
19008 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19009 what to force sid endianness to.
19010
942a4df2
KS
190112001-08-15 Keith Seitz <keiths@redhat.com>
19012
19013 * lib/gdb.exp (gdbtk_start): Don't set environment
19014 variables for TCL_LIBRARY and friends. Insight will
19015 now figure these out for itself.
19016
0521c418
MS
190172001-08-02 Michael Snyder <msnyder@redhat.com>
19018
19019 * gdb.base/completion.exp: Remove the symbol "a64l" from
19020 the expect string; this is target-specific, and not related
19021 to what is being tested.
19022
74a9a58a
DB
190232001-08-02 Dave Brolley <brolley@redhat.com>
19024
19025 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19026
c70819fa
MS
190272001-07-25 Michael Snyder <msnyder@redhat.com>
19028
c2b8fa57
MS
19029 * gdb.base/consecutive.exp: New file. Test stepping over
19030 breakpoints on consecutive instructions.
19031 * gdb.base/consecutive.c: New file.
19032
c70819fa
MS
19033 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19034 curly braces in regular expressions.
19035
2b1a1355
MS
190362001-07-25 Michael Snyder <msnyder@redhat.com>
19037
19038 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19039 legitimate output from stepping out of main.
19040
413eca6f
KS
190412001-07-22 Keith Seitz <keiths@redhat.com>
19042
19043 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19044 the empty string, do not run the tests.
19045
7e5a9322
SC
190462001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19047
19048 * gdb.base/long_long.exp: Detect size of pointer. Take into
19049 account 2-byte pointers when testing for p/a results.
19050
de58f10f
SC
190512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19052
d63a86f8 19053 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19054 and defined to 1K for m68hc11.
19055 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19056 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19057 (sizeof_random_data): New variable to tell the size of the data table;
19058 don't test past this size; always run to main.
19059
d6f5fea1
SC
190602001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19061
19062 * gdb.base/return2.exp: return of long long and double fails for
19063 68HC11; don't execute these tests on that platform.
19064 * gdb.base/return.exp: Return of a double fails for 68hc11.
19065
c477543d
SC
190662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19067
19068 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19069 tests that print a float.
19070 * call-rt-st.exp: Likewise.
19071
63cf1c79
MK
190722001-07-12 Mark Kettenis <kettenis@gnu.org>
19073
19074 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19075 running this test on Linux.
19076
112f9ab5
MC
190772001-06-24 Michael Chastain <chastain@redhat.com>
19078
19079 * gdb.base/arithmet.exp: Remove some tests to make all test names
19080 unique.
19081
4970cb0f
MS
190822001-07-03 Michael Snyder <msnyder@redhat.com>
19083
19084 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19085 the output of the ptype command.
19086
d85da69f
MS
190872001-07-02 Michael Snyder <msnyder@redhat.com>
19088
4c8a82de
MS
19089 * gdb.base/completion.exp: Don't assume that break.c is the only
19090 source file that may contain functions named "marker".
d85da69f
MS
19091 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19092
8afc772b
AC
190932001-06-28 Andrew Cagney <ac131313@redhat.com>
19094
19095 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19096 of files to delete.
19097
19098 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19099 * gdb.disasm/h8300s.exp: New file.
19100 gdb.disasm/h8300s.s: Likewise.
19101
cff22675
AC
191022001-06-27 Andrew Cagney <ac131313@redhat.com>
19103
19104 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19105 empty breakpoint tables.
19106
68c81b54
AC
191072001-06-25 Andrew Cagney <ac131313@redhat.com>
19108
19109 * lib/mi-support.exp: Update args=... part of stop-reason
19110 patterns. Accept either a list or a tuple.
19111
2dd62704
AC
191122001-06-23 Andrew Cagney <ac131313@redhat.com>
19113
19114 * lib/mi-support.exp: Remove local emacs variable defining
19115 change-log-default-name.
19116
b4127474
MC
191172001-06-22 Michael Chastain <chastain@redhat.com>
19118
19119 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19120 This is operationally compatible with the previous version.
19121
8dbfb380
JB
191222001-06-13 Jim Blandy <jimb@redhat.com>
19123
19124 * lib/gdb.exp (gdb_test): Doc fix.
19125
f2d8c86d
MC
191262001-06-10 Michael Chastain <chastain@redhat.com>
19127
19128 * gdb.base/exprs.exp: Remove a duplicate test.
19129
81564d34
JB
191302001-06-06 Jim Blandy <jimb@redhat.com>
19131
19132 * gdb.base/return2.exp (main): Use values to test float and double
19133 returns that are not NaN's, to avoid being confused by IEEE
19134 comparison rules.
19135
da55addb
MS
191362001-06-04 Michael Snyder <msnyder@redhat.com>
19137
19138 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19139 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19140 rather than wait for 12 more tests to time out.
19141
42c65987
JB
191422001-06-06 Jim Blandy <jimb@redhat.com>
19143
b18bced9 19144 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19145 Don't forget to match the GDB prompt.
b18bced9 19146
42c65987
JB
19147 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19148
5b41e5f0
JB
191492001-06-04 Jim Blandy <jimb@redhat.com>
19150
19151 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19152 command.
19153
015e046f
KB
191542001-05-31 Kevin Buettner <kevinb@redhat.com>
19155
19156 * gdb.base/annota1.exp (info break): Match four or more spaces
19157 after "Address".
19158
fb1ffbbe
MC
191592001-05-31 Michael Chastain <chastain@redhat.com>
19160
19161 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19162 (dm_type_int_star): Likewise.
19163 (dm_type_long_star): Likewise.
19164 (dm_type_void_star): Likewise.
19165
5ea2a32c
KB
191662001-05-29 Kevin Buettner <kevinb@redhat.com>
19167
19168 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19169 to a known value in order to get consistent results regardless
19170 of the setting of INPUTRC or the presence or contents of .inputrc.
19171
ae23c492
MS
191722001-05-24 Michael Snyder <msnyder@redhat.com>
19173
ac55707e
MS
19174 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19175 Don't require that the main thread and the manager thread are the
19176 first in the list.
19177
ae23c492
MS
19178 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19179 debugging. If test fails, issue an "unsupported" not a "fail".
19180
400071f1
JB
191812001-05-24 Jim Blandy <jimb@redhat.com>
19182
19183 Don't assume that short is shorter than int.
19184 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19185 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19186 this isn't true.
400071f1
JB
19187 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19188 an int, is not equal to ~0 stored in an unsigned char. This tests
19189 the same thing that the previous test meant to, but works on
19190 16-bit machines, too.
19191 ("print unsigned char != (~0)"): Same test, complemented.
19192
0816a3e5
MS
191932001-05-24 Michael Snyder <msnyder@redhat.com>
19194
19195 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19196 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19197 and prevents dejagnu getting out of step.
19198
f6dc23a9
KB
191992001-05-23 Kevin Buettner <kevinb@redhat.com>
19200
19201 * gdb.base/finish.exp (finish_void): Revise pattern for
19202 stopping on the call statement to not permit stopping at
19203 the start of the instructions comprising the call sequence.
19204
7dbd117d
MC
192052001-05-19 Michael Chastain <chastain@redhat.com>
19206
19207 * gdb.base/callfuncs.exp: Make all test names unique.
19208 * gdb.base/commands.exp: Make all test names unique.
19209 * gdb.base/condbreak.exp: Make all test names unique.
19210 * gdb.base/dbx.exp: Make all test names unique.
19211 * gdb.base/default.exp: Make all test names unique.
19212 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19213 and TIMEOUT messages to their corresponding PASS message.
19214 * gdb.base/ending-run.exp: Make all test names unique.
19215 * gdb.base/long_long.exp: Remove duplicate test.
19216
6b0b0a9e
KB
192172001-05-21 Kevin Buettner <kevinb@redhat.com>
19218
19219 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19220 stop on the call statement as well as the statement after the
19221 call.
19222
2caa35cb
MS
192232001-05-21 Michael Snyder <msnyder@redhat.com>
19224
19225 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19226
40713331
EZ
192272001-05-10 Elena Zannoni <ezannoni@redhat.com>
19228
a9c64011
AS
19229 * gdb.base/completion.exp: Revamp test. Make it execute on all
19230 platforms.
40713331 19231
c2c1be8d
EZ
192322001-05-10 Elena Zannoni <ezannoni@redhat.com>
19233
a9c64011
AS
19234 * config/gdbserver.exp (gdb_load): Handle the case
19235 in which the arguments to gdbserver are given in the
19236 baseboard configuration file.
19237 Also handle the case in which the server needs to do a
19238 load.
2c9cd303 19239
9671de48
KS
192402001-05-07 Keith Seitz <keiths@cygnus.com>
19241
a9c64011
AS
19242 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19243 set up the display for testing.
19244 (gdbtk_start): Convert all paths to paths that tcl will like.
19245 Export target information to environment.
19246 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19247 necessary.
19248 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19249 (to_tcl_path): New proc to convert a given pathname into
19250 a path acceptible as an argument to a tcl command.
19251 (_gdbtk_export_target_info): New proc to export target info
19252 into the environment for gdbtk testing.
19253 (gdbtk_done): New proc to signal end-of-test.
9671de48 19254
5a360f47
JB
192552001-05-06 Jim Blandy <jimb@redhat.com>
19256
19257 * restore.c: Make the code of caller0 correspond to its comment.
19258
66c756c6
MS
192592001-05-03 Michael Snyder <msnyder@redhat.com>
19260
19261 * config/sid.exp (gdb_target_sid): Check for error messages.
19262 On error or timeout, don't make expect exit (which will terminate
19263 all subsequent tests); instead just make gdb exit.
d63a86f8 19264 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19265 return a negative value.
19266
a966fde5
JB
192672001-04-24 Jim Blandy <jimb@redhat.com>
19268
851c18e0
JB
19269 * gdb.c++/templates.exp: If we see the prompt for the overload
19270 list, but we haven't recognized any of the longer patterns,
19271 arrange for this test to fail, not hang.
19272
a966fde5
JB
19273 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19274 variations.
19275
db144853
MC
192762001-04-22 Michael Chastain <chastain@redhat.com>
19277
19278 * gdb.c++/local.exp: Use the 'runto' library function.
19279 * gdb.c++/namespace.exp: Likewise.
19280 * gdb.c++/overload.exp: Likewise.
19281
3207ec21
KB
192822001-03-26 Kevin Buettner <kevinb@redhat.com>
19283
19284 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19285 * gdb.base/step-line.exp: New file. Test step/next in presence of
19286 #line directives.
19287 * gdb.base/step-line.c: New file. Test program for the above.
19288 * gdb.base/step-line.inp: New file. We pretend that this file has
19289 been transformed by some other tool into step-line.c.
19290
13b57657
JB
192912001-03-21 Jim Blandy <jimb@redhat.com>
19292
19293 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19294 unmangled operator names.
19295
754cbe1c
JB
192962001-03-20 Jim Blandy <jimb@redhat.com>
19297
19298 * gdb.threads/linux-dp.exp: Recognize an additional message
19299 generated by GDB when it doesn't understand how to debug threads
19300 on the target system.
19301
177495c9
AC
193022001-03-19 Andrew Cagney <ac131313@redhat.com>
19303
19304 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19305
f266096b
MC
193062001-03-12 Michael Chastain <chastain@redhat.com>
19307
19308 * gdb.c++/derivation.exp: Use the 'runto' library function.
19309
cac3c2ff
MC
193102001-03-12 Michael Chastain <chastain@redhat.com>
19311
19312 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19313
b6c11a24
MC
193142001-02-24 Michael Chastain <chastain@redhat.com>
19315
19316 * gdb.c++/ref-types.exp: Change handwritten code to library
19317 function 'runto'.
19318
6bae5bce
OF
193192001-03-16 Orjan Friberg <orjanf@axis.com>
19320
19321 * gdb.base/signals.exp: Set count to 0 explicitly.
19322
0015fd9a
MS
193232001-03-15 Mark Salter <msalter@redhat.com>
19324
19325 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19326 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19327 (gdb_load): Add support for additional target_info: gdb_download_size
19328 and gdb_load_timeout.
0015fd9a 19329
fc33412a
DT
19330Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19331
19332 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19333 file -- to prevent failing when the compile fails but we have no
19334 intention of running the tests anyway.
fc33412a
DT
19335
19336 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19337 tests if set.
19338
19339 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19340 integers.
fc33412a
DT
19341
19342 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19343 * gdb.c++/namespace.exp: Ditto.
19344
115f06de
OF
193452001-03-07 Orjan Friberg <orjanf@axis.com>
19346
19347 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19348 * gdb.base/pointers.exp: Relax pattern match of decimals.
19349
b6ba6518
KB
193502001-03-06 Kevin Buettner <kevinb@redhat.com>
19351
19352 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19353 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19354 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19355 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19356 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19357 config/sh.exp, config/sid.exp, config/slite.exp,
19358 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19359 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19360 config/vxworks.exp, config/vxworks29k.exp,
19361 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19362 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19363 gdb.base/arithmet.exp, gdb.base/assign.exp,
19364 gdb.base/async.exp, gdb.base/attach.exp,
19365 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19366 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19367 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19368 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19369 gdb.base/commands.exp, gdb.base/completion.exp,
19370 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19371 gdb.base/constvars.exp, gdb.base/corefile.exp,
19372 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19373 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19374 gdb.base/ending-run.exp, gdb.base/environ.exp,
19375 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19376 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19377 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19378 gdb.base/funcargs.exp, gdb.base/help.exp,
19379 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19380 gdb.base/logical.exp, gdb.base/long_long.exp,
19381 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19382 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19383 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19384 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19385 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19386 gdb.base/regs.exp, gdb.base/relational.exp,
19387 gdb.base/remote.exp, gdb.base/reread.exp,
19388 gdb.base/restore.exp, gdb.base/return2.exp,
19389 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19390 gdb.base/selftest.exp, gdb.base/setshow.exp,
19391 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19392 gdb.base/sigall.exp, gdb.base/signals.exp,
19393 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19394 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19395 gdb.base/step-test.exp, gdb.base/structs.c,
19396 gdb.base/structs.exp, gdb.base/structs2.exp,
19397 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19398 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19399 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19400 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19401 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19402 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19403 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19404 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19405 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19406 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19407 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19408 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19409 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19410 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19411 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19412 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19413 gdb.trace/circ.exp, gdb.trace/collection.exp,
19414 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19415 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19416 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19417 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19418 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19419 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19420 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19421 notices.
19422
dc96c6c7 194232001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19424
19425 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19426 first arg is int not float.
19427
dc96c6c7 194282001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19429
19430 * gdb.base/reread.exp: Unsupported for non-native targets;
19431 doesn't work for remote debugging.
19432
9b0c4aeb
FN
194332001-02-19 Fernando Nasser <fnasser@redhat.com>
19434
19435 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19436 * gdb.base/ending-run.exp: Properly handle the BSP state when
19437 stepping past the end of main.
9b0c4aeb 19438
02aa71d5
MC
194392001-02-19 John Moore <jmoore@redhat.com>
19440
19441 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19442 Converted HPUX fix for non-expected items following multiple
19443 step commands into general solution for all platforms.
19444
1fa449a4
MC
194452001-02-18 Michael Chastain <chastain@redhat.com>
19446
19447 * gdb.c++/classes.exp (do_tests): Change runto statements
19448 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19449 statements demangler agnostic.
19450 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19451 (gdb_virtfunc_restart): Likewise.
19452
b2f9ec70
MC
194532001-02-14 Michael Chastain <chastain@redhat.com>
19454
19455 * gdb.c++/inherit.exp (do_tests): Change runto statements
19456 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19457 statements demangler agnostic.
19458
cf74b8ca
AC
19459Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19460
19461 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19462 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19463 before calling common_routine 15 times'' tests.
cf74b8ca 19464
99f78f56
MC
194652001-02-11 Michael Chastain <chastain@redhat.com>
19466
19467 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19468 Helps the test script figure out which demangler is in use.
19469 (dm_type_foo_ref): Ditto.
19470 (dm_type_int_star): Ditto.
19471 (dm_type_long_star): Ditto.
19472 (dm_type_unsigned_int): Ditto.
19473 (dm_type_void): Ditto.
19474 (dm_type_void_star): Ditto.
99707966 19475 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19476 Probe the gdb demangler and set variables to accommodate
19477 formatting differences.
19478 (info_func_regexp): New function. Same as info_func, but
19479 matches against a regexp.
19480 (info_func): Match against a literal string.
19481 (print_addr_2): New function. Match against a literal string,
19482 which can be different from the input to gdb.
19483 (print_addr): Simply call print_addr_2 with the same argument twice.
19484 (test_lookup_operator_functions): Use demangler formatting variables.
19485 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19486 the tests in the same order as the C++ class declaration.
19487 (test_paddr_operator_functions): Ditto.
19488 (test_paddr_overloaded_functions): Ditto.
19489 (test_paddr_hairy_functions): Use demangler formatting variables.
19490 Add reference to gdb/19 for related tests.
19491 (do_tests): Call probe_demangler.
19492
1de8f023
KB
194932001-01-30 Kevin Buettner <kevinb@redhat.com>
19494
19495 * gdb.c++/templates.cc (printf): Remove unused function definition.
19496
ca3f91ed
MS
194972001-01-26 Felix Lee <flee@redhat.com>
19498
19499 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19500
195012001-01-25 matthew green <mrg@redhat.com>
19502
19503 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19504 up sid.
19505 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19506
195072001-01-25 matthew green <mrg@redhat.com>
19508
19509 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19510 Deprecate $sid_spawn_id.
ca3f91ed
MS
19511 (sid_exit): Remove code necessary only for `spawn.'
19512
195132001-01-25 matthew green <mrg@redhat.com>
19514
19515 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19516
fb18ec4a
MC
195172001-01-28 Michael Chastain <chastain@redhat.com>
19518
19519 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19520 to call when tests fail. It takes gdb out of the overloaded
19521 function choice menu back to the main prompt, so that the test
19522 program stays synchronized.
19523 (set_bp_overloaded): New proc to collect all the common
19524 code for setting a breakpoint on an overloaded name. Calls
19525 take_gdb_out_of_choice_menu when needed.
19526 (menu_overload1arg): New variable to collect the repeated
19527 instances of the expected menu for an overloaded name. Change
19528 the regular expression to handle changes in g++ type encoding:
19529 "void" can be either "void" or "", and "unsigned int" can be
19530 either "unsigned int" or "unsigned".
19531 (continue_to_bp_overloaded): Change regular expressions to handle
19532 changes in g++ type encoding.
19533 (no proc): Call take_gdb_out_of_choice_menu when needed.
19534 Remove redundant calls to "info break". Accept either "canceled"
19535 or "cancelled". Change regular expressions in "info break"
19536 calls to handle changes in g++ type encoding. Give all tests
19537 unique strings.
19538
9c646a6e
BE
195392001-01-17 Ben Elliston <bje@redhat.com>
19540
19541 * config/sid.exp: New file.
19542
9549d9c1
AC
19543Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19544
19545 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19546
dc96c6c7 195472000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19548
19549 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19550 Add a RE to accept a non-ascii char if one is ever presented.
19551
b4df4f68
FN
195522000-12-20 Fernando Nasser <fnasser@redhat.com>
19553
297dd0fd 19554 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19555
dc96c6c7 195562000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19557
d63a86f8 19558 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19559 in regexp. One '\' does not suffice on Linux.
19560
4a7bddb6
MC
195612000-12-09 Michael Chastain <chastain@redhat.com>
19562
19563 * gdb.base/break.exp (test_clear_command): Use a marker function
19564 rather than 'main' for the test function. Also move this
19565 test to an execution point where the marker function names are
19566 guaranteed to be bound to functions. (Executing tests after a
19567 'finish' from main runs into name conflicts with local names
19568 in __libc_start_main).
19569
dc96c6c7 195702000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19571
19572 * gdb.base/finish.exp: New test for gdb's "finish" command.
19573 * gdb.base/return2.exp: New test for gdb's "return" command.
19574 * gdb.base/return2.c: New source file for above.
19575
dc96c6c7 195762000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19577
19578 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19579 * gdb.base/miscexprs.exp: Ditto.
19580 * gdb.base/pointers.exp: Ditto.
19581 * gdb.c++/derivation.exp: Ditto.
19582 * gdb.c++/local.exp: Ditto.
19583 * gdb.c++/namespace.exp: Ditto.
19584 * gdb.c++/overload.exp: Ditto.
19585 * gdb.c++/ref-types.exp: Ditto.
19586
dc96c6c7 195872000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19588
19589 * gdb.base/constvars.exp: Test result of "up" command.
19590 * gdb.base/miscexprs.exp: Ditto.
19591 * gdb.base/pointers.exp: Ditto.
19592 * gdb.base/scope.exp: Ditto.
19593 * gdb.c++/derivation.exp: Ditto.
19594 * gdb.c++/local.exp: Ditto.
19595 * gdb.c++/namespace.exp: Ditto.
19596 * gdb.c++/overload.exp: Ditto.
19597 * gdb.c++/ref-types.exp: Ditto.
19598
44097287
FN
195992000-11-22 Michael Chastain <chastain@redhat.com>
19600
19601 * mips_pro.exp: Accept either "middle -> top -> main" or
19602 "middle -> main" in the backtrace, because gcc can optimize
19603 tail calls to jumps. Remove setup_xfail for the hppa case.
19604 Add a comment with the original warning messages from PR 3016,
19605 which was filed in 1993, to preserve them for posterity.
19606
9d2e1bab
ND
196072000-11-17 Nick Duffek <nsd@redhat.com>
19608
19609 * lib/gdb.exp (gdb_test): Override timeout with board info.
19610
1aca8eb7
ND
196112000-11-17 Nick Duffek <nsd@redhat.com>
19612
19613 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19614 the second kill and detach messages.
19615
93076499
ND
196162000-11-17 Nick Duffek <nsd@redhat.com>
19617
19618 * configure.in: Add AC_EXEEXT.
19619 * configure: Regenerate.
19620 * Makefile.in (just-check): Export EXEEXT.
19621 * lib/gdb.exp ($EXEEXT): Import from environment.
19622 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19623 expect "maint dump-me" on Cygwin.
19624 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19625 $EXEEXT.
19626
30e87cd3
ND
196272000-11-17 Nick Duffek <nsd@redhat.com>
19628
19629 * gdb.base/break.exp: Test backtrace and finish from called
19630 function on all platforms, not just HP-UX.
19631
dc96c6c7 196322000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19633
19634 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19635 code from gdb_target_monitor, so it can be used independantly
19636 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19637
dc96c6c7 196382000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19639
19640 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19641 * gdb.base/corefile.exp: Expect the message "Program is being
19642 debugged already" when we send the "corefile" command, since
19643 the preceeding gdb_load may have connected gdb to a remote target.
19644 * gdb.base/display.exp: Disable hardware watchpoints if new
19645 board info variable "no_hardware_watchpoints" is true.
19646 Replace single-letter commands with more readable ones.
19647 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19648 if new board info variable "no_hardware_watchpoints" is true.
19649 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19650 to see if stdio (printf) testing is possible.
19651 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19652 board info variable "no_hardware_watchpoints" is true. Use new
19653 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19654
39124dea
FN
196552000-11-13 Fernando Nasser <fnasser@redhat.com>
19656
19657 From Orjan Friberg <orjanf@axis.com>:
19658 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19659 in array print pattern match.
19660
a9e2e984
FN
196612000-11-09 Fernando Nasser <fnasser@redhat.com>
19662
19663 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19664 spelling "cancelled" to U.S. spelling "canceled" to match changes
19665 made to gdb.
19666 * gdb.c++/ovldbreak.exp: Ditto.
19667
c7db355b
PS
196682000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19669
19670 * gdb.base/callfuncs.c (main): Moved to end of file, call
19671 t_double_values to initialize the FPU before inferior calls are made.
19672 * gdb.base/callfuncs.exp: Test for register preservation after calling
19673 inferior functions. Add tests for continuining, finishing and
19674 returning from a stop in a call dummy.
19675
dc96c6c7 196762000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19677
19678 * gdb.base/commands.exp: Break up long lines, and re-indent.
19679
dc96c6c7 196802000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19681
19682 * config/gdbserver.exp: Rewritten from the ground up, to make it
19683 compatible with the current dejagnu tree, and to make it work with
19684 the new "gdbserver" in libremote.
19685
dc96c6c7 196862000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19687
19688 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19689 * gdb.base/varargs.exp: Skip entire test if no printf support.
19690 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19691 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19692
dc96c6c7 196932000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19694
19695 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19696 no floating point support.
19697 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19698 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19699 * gdb.base/call-rt-st.exp: Ditto.
19700 * gdb.base/call-strs.exp: Ditto.
19701
bac5fc66
JG
197022000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19703
19704 * gdb.base/sizeof.c: include <stdio.h>.
19705
19706 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19707 'finish', otherwise uncaptured gdb_prompt would potentially
19708 throw remaining test points out of sync.
bac5fc66 19709
b22a6027
SB
197102000-07-26 Scott Bambrough <scottb@netwinder.org>
19711
19712 * gdb.base/recurse.exp: Run tests for all targets.
19713 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19714 gnu-oldld case on ARM.
19715 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19716 for ARM targets.
d63a86f8 19717
d8231941
AG
19718Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19719
19720 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19721 * gdb.java/configure: Rebuild.
19722
8caabe69
AG
19723Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19724
19725 * gdb.java/jv-exp.exp: New file.
19726
9d273ca3
AG
19727Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19728
19729 * configure: Rebuilt.
19730 * configure.in (configdirs): Add gdb.java.
19731 * gdb.java/jmisc.java: New file.
19732 * gdb.java/jmisc.exp: New file.
19733 * gdb.java/Makefile.in: New file.
19734 * gdb.java/configure: Rebuilt.
19735 * gdb.java/configure.in: New file.
19736 * lib/java.exp: New file.
19737
4f823a66
AC
19738Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19739
19740 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19741 underflow.
4f823a66 19742
2391e11d
AC
19743Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19744
19745 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19746 and the compilers sizes.
2391e11d 19747
54602222
ND
197482000-07-09 Nick Duffek <nsd@redhat.com>
19749
19750 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19751 (use_methods): New function.
19752 (main): Call use_methods().
19753 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19754 (do_tests): Call test_method_param_class.
19755
2bec0572
ND
197562000-07-09 Nick Duffek <nsd@redhat.com>
19757
19758 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19759 spelling.
19760 (test_enums): New procedure. Move enum tests from end of script
19761 to here. Set breakpoint on function name instead of line number.
19762 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19763 (enums2): New marker function.
19764 (enums1): New function.
19765 (main): Call enums1(). Move enum tests to enums1().
19766
78492fde
AC
19767Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19768
19769 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19770 compile/link program. Update line numbers.
78492fde
AC
19771 * gdb.asm/d10v.inc: Define ``startup''.
19772 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19773
49a2cef8
AC
19774Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19775
19776 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19777
3e6c8688
EZ
197782000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19779
19780 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19781 of 'help maint print' command.
3e6c8688 19782
9ff5cbe9
AC
19783Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19784
19785 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19786 they use gdb_expect_list.
9ff5cbe9 19787
17c579bd
AC
19788Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19789
19790 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19791 memory-read-packet-size'' instead of ``set endian big'' to test
19792 long commands.
17c579bd 19793
e6d71bf3
DB
197942000-06-03 Daniel Berlin <dan@cgsoftware.com>
19795
19796 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19797 g++, and stop skipping them.
e6d71bf3
DB
19798
19799 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19800 work under g++.
19801
d63a86f8 19802 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19803 initialization.
19804
dc96c6c7 198052000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19806
19807 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19808 the regular expression: accept an (almost) arbitrary sequence of
19809 "frames-invalid" and "breakpoints-invalid" messages both before
19810 and after the "starting" message.
19811
dc96c6c7 198122000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19813
19814 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19815
dc96c6c7 198162000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19817
19818 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19819 Relax the regular expression a little, make it pass on Solaris 8.
19820
8216cda9
KB
198212000-05-12 Kevin Buettner <kevinb@redhat.com>
19822
19823 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19824 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19825 Instead, it is permissible for gdb to stop on the line of the
19826 call itself.
19827
1a570b2f
MS
198282000-05-12 Michael Snyder <msnyder@.cygnus.com>
19829
19830 * gdb.base/break.exp (bp on small function, optimized file):
19831 Add a second pass pattern. The behavior differs here between stabs
19832 and dwarf for one-line functions. Stabs preserves two line symbols
19833 (one before the prologue and one after) with the same line number,
19834 but dwarf regards these as duplicates and discards one of them.
19835 Therefore the address after the prologue (where the breakpoint is)
19836 has no exactly matching line symbol, and GDB reports the breakpoint
19837 as if it were in the middle of a line rather than at the beginning.
19838
dc96c6c7 198392000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19840
d63a86f8 19841 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19842 rather than "send_gdb" (for consistancy).
19843
7d418785
AC
19844Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19845
19846 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19847 * gdb.c++/templates.cc: Properly check for GCC version number.
19848 * lib/compiler.cc: Likewise
19849
dc96c6c7 198502000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19851
d63a86f8 19852 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19853 gdb may not stop at the first line of main, due to code motion.
19854
dc96c6c7 198552000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19856
19857 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19858 This test depends on parsing the printf output from the target.
19859 Since the sparclet stub doesn't do stdio, this will never work.
19860 * gdb.base/call-rt-st.exp: ditto.
19861 * gdb.base/call-strs: ditto.
19862
dc96c6c7 198632000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19864
19865 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19866
19867 * gdb.base/ending-run.exp: After connecting to a remote target,
19868 but before running, the target will appear to be in a random
19869 location. Specify both a file and a line for breakpoints.
19870 Also, the function that calls main may be called 'init'
19871 rather than 'start'.
19872
a5a51225
EZ
198732000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19874
19875 * gdb.base/help.exp: Update output for add-symbol-file command.
19876
7930cc7c
FN
198772000-04-10 Fernando Nasser <fnasser@cygnus.com>
19878
19879 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19880 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19881
23e37ab1
C
198822000-04-07 J.T. Conklin <jtc@redback.com>
19883
e93c542c
C
19884 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19885
23e37ab1
C
19886 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19887
591b8fa3
PDM
19888Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19889
19890 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19891 values that can be represented exactly.
591b8fa3
PDM
19892 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19893 above change, and to not check against the directory part of the source
19894 file name.
19895 (step into print_long_arg_list): Likewise.
19896 (print print_small_structs from print_long_arg_list): Likewise.
19897 (print print_long_arg_list): Likewise.
19898
7a495180
EZ
198992000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19900
30b53638 19901 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19902
beb998c6
AC
19903Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19904
19905 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19906
1c689132
DB
199072000-03-25 Daniel Berlin <dan@cgsoftware.com>
19908
19909 * gdb.base/commands.exp (deprecated_command_test): Add test for
19910 deprecate with no arguments.
19911
c1790a9d
JL
199122000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19913
19914 * gdb.base/break.exp: Add new test for setting breakpoints on
19915 optimized code so we can test breakpoints work even when function
19916 prologues may be optimized away
19917
003ba290
FN
199182000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19919
19920 From David Whedon <dwhedon@gordian.com>
a9c64011 19921 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19922
6837a0a2
DB
199232000-03-22 Daniel Berlin <dan@cgsoftware.com>
19924
19925 * gdb.base/help.exp: Added test for new apropos command.
19926
b9593231
KB
199272000-03-21 Kevin Buettner <kevinb@redhat.com>
19928
19929 * gdb.base/pointers.c (usevar): New function.
19930 (main): Make sure that global variables v_int_pointer2, rptr,
19931 and y are all referenced someplace in the program by calling
19932 usevar() on them. [Some linkers delete symbols which are
19933 never referenced. The space remains, but there's no way to
19934 get a (symbolic) handle on the variable from the debugger.]
19935
751a959b
EZ
199362000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19937
19938 * gdb.base/printcmds.c: Add typedeffed arrays.
19939
19940 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19941 procedure to test arrays that are typedef'd.
751a959b 19942
73a93a32
JI
199432000-03-13 James Ingham <jingham@leda.cygnus.com>
19944
19945 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19946 the library directories.
73a93a32 19947
fb40c209
AC
19948Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19949
19950 * configure.in (configdirs): Add sub directory gdb.mi.
19951 * configure: Re-generate.
19952
19953 * gdb.mi: New directory.
d63a86f8 19954
ee4dd2c9
AC
199552000-02-25 Scott Bambrough <scottb@netwinder.org>
19956
19957 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19958 a long long value as a double on ARM platforms.
ee4dd2c9 19959
70f0cc22
JB
199602000-02-16 Jim Blandy <jimb@redhat.com>
19961
19962 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19963 default source file is set properly before running this test.
19964
853819b8
EZ
199652000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19966
19967 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19968 gdbtk/library directory, not in gdbtcl2.
853819b8 19969
dfcd3bfb
JM
199702000-02-04 Jim Blandy <jimb@redhat.com>
19971
19972 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19973 backslash from regexp pattern.
19974
19975 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19976 procedure. Use it to run all the "continue to bp overloaded"
19977 tests. Note that this changes the names of the tests slightly.
19978 If the breakpoint hit message includes a hex PC value, because
19979 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19980 from the real source code, still consider that a pass.
19981
19982 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19983 XFAIL here if the breakpoint message contains a hex address. Note
19984 similar change on 1999-11-02.
19985
19986 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19987
19988 * gdb.base/ptype.exp: Establish a default source file before
19989 calling get_debug_format.
19990
199912000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19992
19993 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19994
8b93c638
JM
199952000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19996
19997 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19998 of successive stepi commands -- while in the prologue we should see
19999 the function entry bracket.
20000
200012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20002
20003 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20004 reach __change_mode() when stepping through the end of main().
20005
c5394b80
JM
200062000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20007
20008 * gdb.base/default.exp: Fix expected pattern.
20009 * gdb.base/help.exp: Same.
20010
0d06e24b
JM
200112000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20012
20013 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20014 Don't use xfail's because that affects only the following test.
d63a86f8 20015
0d06e24b 20016 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20017 solaris or linux.
0d06e24b
JM
20018
20019 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20020
dc96c6c7 200212000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20022
d63a86f8 20023 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20024 "A syntax error" rather than "A parse error". Accept both.
20025
200262000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20027
20028 * gdb.base/default.exp: Remove OS dependent string from "target
20029 remote" test.
20030 * gdb.base/help.exp: Same for "help target remote" test.
20031
c3f6f71d
JM
200322000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20033
20034 From Jim Kingdon <kingdon@redhat.com>:
20035
20036 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20037 prompt (cleanup rather than necessity, but still might keep output
20038 from spilling to next test).
c3f6f71d
JM
20039
200402000-01-02 Fred Fish <fnf@cygnus.com>
20041
20042 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20043 AIX, which defines them in <sys/types.h>.
20044
ed9a39eb 200451999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20046
ed9a39eb 20047 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20048 float" test.
ed9a39eb
JM
20049
200501999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20051
ed9a39eb 20052 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20053
20054 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20055 outermost frame disallowed".
20056
200571999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20058
20059 * gdb.base/setvar.exp: New tests for setting the value of a struct
20060 with a constant list.
20061
200621999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20063
20064 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20065 require the user to type a cast before setting the value of a struct.
20066
de57eccd
JM
200671999-12-06 Jim Blandy <jimb@cygnus.com>
20068
20069 * gdb.base/default.exp: Expect the new 'info float' command on
20070 all i386 platforms.
20071
20072 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20073 LinuxThreads libraries that don't support debugging.
20074
c2d11a7d
JM
20075Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20076
20077 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20078 Change the buffer type to ``unsigned char'' to simplify size
20079 arithmetic.
c2d11a7d
JM
20080
20081 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20082 stub only handles 400-1 byte packets. Verify that the download
20083 worked.
c2d11a7d
JM
20084
200851999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20086
20087 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20088 tests, using UNRESOLVED for the untested cases. Also, does not wait
20089 for a timeout if the prompt was received before a recognizable pattern.
20090
200911999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20092
20093 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20094
200951999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20096
20097 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20098 watchpoints.
c2d11a7d
JM
20099
201001999-11-24 Jason Merrill <jason@casey.cygnus.com>
20101
20102 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20103
20104 * gdb.c++/local.exp: Be more flexible in recognizing local class
20105 name mangling. Don't allow horribly truncated method names.
20106 * gdb.c++/derivation.exp: Expect protected inheritance.
20107 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20108 * gdb.c++/virtfunc.exp: Likewise.
20109 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20110 when printing a nested enum.
20111
201121999-11-22 Jim Blandy <jimb@cygnus.com>
20113
20114 * gdb.base/step-test.exp: Properly await GDB's response to setting
20115 a breakpoint on the call to large_struct_by_value.
20116
20117 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20118 just because we have debug info for the `start' function.
20119
201201999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20121
20122 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20123 "Unknown signal" messages, which indicate (on LinuxThreads) that
20124 GDB doesn't know how to debug threads on this system. This is
20125 better than hanging while philosopher 0 dumps chatter into gdb.log.
20126
201271999-11-18 Tom Tromey <tromey@cygnus.com>
20128
20129 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20130
201311999-11-18 Fred Fish <fnf@cygnus.com>
20132
20133 * gdb.base/coremaker2.c: Add sample program for generating
20134 cores that is more self contained than coremaker.c. Eventually
20135 I'll add more code to this and tie it into the testsuite.
20136
4ce44c66
JM
201371999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20138
20139 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20140
201411999-11-10 Jimmy Guo <guo@cup.hp.com>
20142
20143 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20144 from $srcdir/lib/.
4ce44c66 20145 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20146 and gdb.c++/.
4ce44c66
JM
20147
20148 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20149
d63a86f8 20150 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20151 'continue with watch' test point.
20152
201531999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20154
20155 Merged from p2linux-990323-branch:
d63a86f8 20156
4ce44c66
JM
20157 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20158
11cf8741
JM
20159Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20160
20161 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20162 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20163
20164Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20165
20166 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20167 gdb_expect_list.
11cf8741
JM
20168
20169Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20170
20171 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20172
201731999-11-03 Mark Salter <msalter@cygnus.com>
20174
20175 * gdb.base/break.exp: Fix "stub continue" pattern.
20176
201771999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20178
20179 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20180
201811999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20182
20183 * gdb.base/display.exp ("finish"): Add timeout clause.
20184
20185 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20186 plain prompt clause, so this doesn't have to time out in order to
20187 fail.
20188
20189 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20190 breakpoint hit messages include an address.
11cf8741
JM
20191
20192 * gdb.base/display.exp: Don't forget to escape parens in regular
20193 expressions. Unix regexp notatation sucks.
20194
201951999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20196
20197 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20198 order for 'signalled' message.
11cf8741 20199
5c44784c
JM
202001999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20201
20202 From Jimmy Guo <guo@cup.hp.com>:
20203 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20204 * gdb.base/annota1.c: Add code for tests to work with.
20205
202061999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20207
20208 * gdb.base/remote.exp: New test for remote downloading settings.
20209 * gdb.base/remote.c: New file with large .data.
20210
917317f4
JM
202111999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20212
20213 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20214 for LinuxThreads support, merged from the Code Fusion branch.
20215
20216Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20217
20218 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20219 containing exp_continue into a while within an expect. Don't
20220 attempt a start more than three times. Check return value from
20221 gdb_load.
d63a86f8 20222
2df3850c
JM
20223Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20224
20225 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20226 a pass case.
2df3850c 20227
2acceee2
JM
202281999-10-01 Kevin Buettner <kevinb@cygnus.com>
20229
20230 * gdb.base/break.c (main): Added a statement that we can step
20231 off of.
20232 * gdb.base/break.exp: Added tests for setting a breakpoint
20233 at an offset and stepping onto a breakpoint.
20234
202351999-10-01 Fred Fish <fnf@cygnus.com>
20236
d63a86f8 20237 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20238 gdb output.
20239
c2c6d25f
JM
202401999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20241
20242 * gdb.base/break.exp: Code locations are in hex, don't forget!
20243 (For HP-UX.)
20244
202451999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20246
20247 * condbreak.exp: Use break.c as test program.
20248 * condbreak.c: Remove, redundant with break.c.
20249
202501999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20251
20252 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20253 Z-packets if the target needs it.
c2c6d25f
JM
20254
202551999-09-13 James Ingham <jingham@leda.cygnus.com>
20256
20257 * gdb.c++/overload.exp: Added tests for listing overloaded
20258 functions with function pointers in the arg, explicitly calling
20259 out the version you want.
20260
cff3e48b
JM
202611999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20262
20263 * long_long.exp: Add variations of test cases that work for
20264 targets with 16-bit ints and 32-bit doubles.
20265
d4f3574e
SS
202661999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20267
20268 * break.c (main): Compare a possibly-uninitialized argc with an
20269 unlikely value that fits in 16 bits.
20270
202711999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20272
20273 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20274 0xfeeb, don't want negative numbers if ints are 16 bits.
20275
20276 * lib/gdb.exp (skip_cplus_tests): New proc.
20277 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20278 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20279 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20280 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20281 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20282 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20283 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20284 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20285
20286 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20287
20288Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20289
20290 * gdb.base/corefile.exp (up): Allow a parameter to appear
20291 in the frame that we're going up to.
20292
20293 From Jim Blandy <jimb@cygnus.com>:
20294
20295 * gdb.base/default.exp (info float): Expect some output now.
20296
20297 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20298 returning floating-point values to fail on the x86.
20299 * gdb.base/callfwmall.exp (do_function_calls): Same.
20300
20301 * gdb.base/list.exp (test_listsize): Correct expectations for
20302 listing line 1 with listsize 2. Also, listing a single line
20303 works now, as does listing three lines. [Kevin's note: There
20304 were a number of other cases fixed too where the expectations
20305 differed...]
20306
203071999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20308
20309 * gdb.base/selftest.exp: Add case for when version prints as
20310 constant string instead of char pointer.
20311
104c1213
JM
203121999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20313
20314 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20315 stepping out of main.
104c1213
JM
20316
20317 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20318 G++ used.
20319
20320 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20321 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20322
20323 * gdb.c++/ovldbreak.exp: Update match string in test that
20324 includes a warning of multiple breakpoints.
20325
203261999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20327
20328 * gdb.base/display.exp: Improve precision of step-after-finish
20329 added yesterday.
20330
20331 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20332 test.
104c1213
JM
20333
20334 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20335 configs when using G++, not just hppa*.
20336
203371999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20338
20339 * gdb.base/async.c: New file.
20340 * gdb.base/async.exp: New file.
20341
20342Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20343
20344 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20345 PA64.
20346
53a5351d
JM
20347Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20348
104c1213
JM
20349 * gdb.base/display.exp: "finish" can leave us mid-line on many
20350 targets, deal with it. Add a small constant to main, instead of
20351 1000 since main+1000 may not be a valid address in the target.
20352
53a5351d
JM
20353 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20354 on hpux11.
20355
20356 * gdb.base/attach.exp: Handle another hpux11 error message variant
20357 when attaching to a process that does not exist.
20358
203591999-08-19 J.T. Conklin <jtc@redback.com>
20360
20361 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20362 characters in 'continue to 1241' test.
53a5351d
JM
20363
203641999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20365
20366 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20367 stop in print_long_arg_list, define and use a whitespace
20368 variable in print_small_structs test, add an XFAIL for Solaris.
20369 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20370 interested enough to fix.
20371
7be570e7
JM
203721999-08-13 Keith Seitz <keiths@cygnus.com>
20373
20374 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20375 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20376 proc knows about targets other than the natives.
20377 (test_assign): Use "gdb_run_cmd" to "run" the target.
20378 Check that we've actually hit the breakpoint at main.
20379 When we attempt to assign a value to a local variable, check
20380 that the variable is in the current scope, i.e., don't use
20381 a test with an empty result.
20382
20383Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20384
20385 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20386 command.
7be570e7
JM
20387
203881999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20389
20390 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20391 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20392 gdb.compat, gdb.threads-hp.
20393 gdb.hp/configure, gdb.hp/configure.in: New files.
20394 gdb.hp/Makefile.in: Recurse into new subdirs.
20395 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20396 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20397 in object files.
20398 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20399
96baa820
JM
204001999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20401
20402 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20403 funky printf, remove a bogus p/a test.
96baa820
JM
20404
204051999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20406
20407 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20408 connected to the target. This is necessary when running not
20409 natively.
96baa820
JM
20410
204111999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20412
20413 * gdb.base/step-test.exp: Removed some extraneous messages.
20414
20415 * gdb.base/long_long.exp: Don't run memory examination tests
20416 on little-endian targets (they will need a different set of
20417 results to match).
20418
204191999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20420
20421 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20422 until somebody decides to fix GDB.
20423
20424 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20425 constant as "ULL".
96baa820
JM
20426 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20427 matches for a couple x/2 commands.
20428
a0b3c4fd
JM
204291999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20430
20431 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20432 by merging in ref-types2 tests.
20433 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20434
20435 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20436 * gdb.c++/Makefile.in: Add standard actions.
20437 (EXECUTABLES): Rename from PROGS, update list.
20438 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20439 from gdb.hp.
20440 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20441 foo and bar locals.
20442 * gdb.c++/anon-union.exp: Fix tests to match.
20443 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20444 expect matches to handle output variations.
20445 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20446 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20447 output, add HP alternatives for new and delete prints.
a0b3c4fd 20448 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20449 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20450 * gdb.c++/demangle.exp: Use $style when reporting failure.
20451 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20452 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20453 match alternatives.
20454 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20455 compilers.
a0b3c4fd
JM
20456 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20457 * gdb.c++/method.exp: Add match alternatives.
20458 * gdb.c++/misc.cc: Add bool types.
20459 * gdb.c++/misc.exp: Add tests for bool types.
20460 * gdb.c++/overload.exp: Add xfails.
20461 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20462 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20463 add some more template parameter tests (only for HP currently).
20464 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20465 * gdb.c++/virtfunc.cc: Add return type and value for main.
20466 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20467 match alternatives.
d63a86f8 20468
a0b3c4fd
JM
204691999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20470
20471 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20472
204731999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20474
20475 * gdb.base/signals.exp: Don't expect getting a backtrace from
20476 within a signal handler to fail on Linux.
20477
204781999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20479
20480 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20481 * lib/gdb.exp: Remove some gratuitious semicolons.
20482 (delete_breakpoints): Increase timeout.
20483 (gdb_expect): Add -notransfer option.
20484 (gdb_test): Use -notransfer option.
20485 (get_compiler_info): Add f77 case.
20486 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20487 case.
a0b3c4fd
JM
20488 (gdb_preprocess): Call get_compiler.
20489
20490 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20491 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20492 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20493 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20494 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20495 third arg to gdb_test.
a0b3c4fd
JM
20496 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20497 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20498 HP-UX xfails, add others.
a0b3c4fd
JM
20499 * gdb.base/completion.exp: Reflect name change of self-test.
20500 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20501 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20502 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20503 HP failure number.
a0b3c4fd
JM
20504 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20505 useless HP-UX 10.30 references.
20506 * gdb.base/maint.exp: Loosen matches.
20507 * gdb.base/pointers.c (main): Declare more_code.
20508 * gdb.base/pointers.exp: Match on output of a `next'.
20509 * gdb.base/structs.c: Add prototypes.
20510 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20511 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20512
205131999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20514
20515 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20516 command.
a0b3c4fd
JM
20517
205181999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20519
20520 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20521 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20522
20523 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20524 debug info. Deal with lack of signal hanlder info in stack.
20525
a9c64011 20526 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20527 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20528
5a2468f5
JM
205291999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20530
20531 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20532 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20533
adf40b2e
JM
20534Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20535
20536 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20537 a1-selftest.exp.
adf40b2e
JM
20538 * gdb.base/configure: Re-generate.
20539
205401999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20541
20542 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20543 in trying to run first and name is too long.
20544
20545 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20546 pointers2.c and pointers2.exp, respectively.
20547 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20548 doschk happier.
20549
43e526b9
JM
205501999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20551
20552 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20553 callfuncs2.c and callfuncs2.exp.
20554
20555 * gdb.base/list.exp: Remove mistaken xfails.
20556 * gdb.base/list0.h: Add optional prototypes.
20557
9846de1b
JM
20558Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20559
a9c64011 20560 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20561 calling malloc.
a9c64011
AS
20562 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20563 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20564 use.
9846de1b
JM
20565
205661999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20567
20568 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20569 * gdb.base/annota2.cc, annota2.exp: Move from here.
20570 * gdb.c++/annota2.cc, annota2.exp: To here.
20571 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20572
43ff13b4
JM
20573Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20574
20575 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20576 a consistent format.
43ff13b4 20577
085dd6e6
JM
205781999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20579
20580 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20581 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20582 HP compilers, also set the globals $true and $false.
20583
20584 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20585 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20586 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20587 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20588 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20589 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20590 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20591 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20592 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20593 whatis.c} Add C++ compatible function definitions and return
20594 types, add includes for library functions.
085dd6e6
JM
20595 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20596 * gdb.base/step-test.c (myglob): Rename from glob.
20597 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20598 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20599 files, move here from gdb.hp.
085dd6e6 20600 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20601 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20602 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20603 Adjust line numbers in regexps.
085dd6e6
JM
20604
20605 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20606 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20607 instead of 0/1.
20608
20609 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20610 foll-vfork.exp: New files, move here from gdb.hp.
20611 * gdb.base/page.exp: New file, test of pagination command.
20612
20613 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20614 recursion test.
20615 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20616
20617 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20618 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20619
20620 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20621 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20622 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20623 watchpoint test.
085dd6e6
JM
20624 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20625 them work.
20626 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20627 expressions properly.
20628 * gdb.base/corefile.exp: Loosen the match slightly.
20629 * gdb.base/default.exp: Allow "Error accessing memory" message
20630 also.
20631 * gdb.base/display.exp: Skip over x/0 j if PA64.
20632 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20633 * gdb.base/interrupt.exp: Ditto.
20634 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20635 in use.
20636 * gdb.base/list.exp: Add xfails for HP-UX.
20637 * gdb.base/long_long.exp: Refine some of the numeric matches.
20638 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20639 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20640 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20641 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20642 * gdb.base/ptype.exp: Succeed on more varieties of output.
20643 * gdb.base/scope.exp: Add xfails for HP-UX.
20644 * gdb.base/sect-cmd.exp: Add more cases.
20645 * gdb.base/setvar.exp: Add xfails for HP-UX.
20646 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20647 * gdb.base/signals.exp: Match on void symbolically.
20648 * gdb.base/step-test.exp: Add case for PA64.
20649 * gdb.base/term.exp: Add exit and restart.
20650 * gdb.base/twice.exp: Clean up after self.
20651 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20652 * gdb.base/whatis.exp: Allow more ways to pass tests.
20653
20654 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20655 no longer useful.
085dd6e6
JM
20656
20657Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20658
20659 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20660 list of patterns.
085dd6e6 20661 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20662 print_double_array(double_array)", "continuing to breakpoint
20663 1018", "print print_double_array(array_d)" and "continuing to
20664 1034" tests.
d63a86f8 20665
085dd6e6
JM
206661999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20667
a9c64011 20668 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20669
206701999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20671
20672 * config/mt-*: Remove, these haven't been used since 1996.
20673
206741999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20675
20676 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20677 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20678 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20679
9e0b60a8
JM
206801999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20681
20682 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20683 simpler match case for the ptype of the big class.
20684
206851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20686
20687 * gdb.exp: Fix test for gdb_prompt existence.
20688
206891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20690
20691 * gdb.exp (gdb_test): Add fail after calls to perror.
20692
206931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20694
20695 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20696
206971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20698
20699 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20700
0f71a2f6
JM
20701Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20702
20703 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20704 malloc() is linked in.
0f71a2f6
JM
20705
207061999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20707
20708 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20709 step at end.
20710
20711 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20712
207131999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20714
20715 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20716
cce74817
JM
20717Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20718
20719 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20720 * gdb.base/mips_pro.exp: Likewise.
20721
207221999-06-02 Keith Seitz <keiths@cygnus.com>
20723
20724 * gdb.c++/templates.cc: Change all "new" operators to throw
20725 an exception.
20726 * gdb.c++/cplusfuncs.cc: Likewise.
20727
20728 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20729
20730Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20731
20732 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20733 * gdb.base/ending-run.exp: When stepping out of main, accept a
20734 step into an arbitrary assembler file.
cce74817 20735
392a587b
JM
207361999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20737
d63a86f8 20738 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20739 "breakpoint-invalid" to be printed.
d63a86f8 20740 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20741 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20742 * gdb.base/annota2.cc: Initialize a.x to 0.
20743
9e086581
JM
207441999-05-17 Keith Seitz <keiths@cygnus.com>
20745
20746 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20747 when "skip_float_tests" set.
20748 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20749 "print print_ten_doubles", and "step into print_long_arg_list".
20750 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20751 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20752 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20753 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20754 "skip_float_tests" is set.
20755 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20756 when "skip_float_tests" set.
d63a86f8 20757
cd0fc7c3
SS
207581999-05-06 Keith Seitz <keiths@cygnus.com>
20759
20760 * gdb.base/annota2.cc: Include stdio.h.
20761
20762Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20763
20764 * gdb.base/crossload.exp: Remove, this has been disabled ever
20765 since BFD stopped including all targets, and cross-GDB gets
20766 plenty of testing anyway.
20767 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20768 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20769 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20770 * gdb.base/README: Remove, was doc for this.
20771 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20772 needed.
cd0fc7c3 20773
b83266a0
SS
207741999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20775
20776 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20777 output.
20778
20779 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20780 * gdb.base/annota2.exp: New file. More annotation tests.
20781 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20782 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20783
207841999-04-23 Angela Marie Thomas <angela@cygnus.com>
20785
20786 * config/cfdbug.exp: New file.
20787
7a292a7a
SS
207881999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20789
20790 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20791 Marcus Daniel's and Dale Hawkins's demangler crashes.
20792
20793 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20794 test_lucid_style_demangling, test_arm_style_demangling,
20795 test_hp_style_demangling): Try Tom Tromey's core-dumping
20796 identifier under each demangling style.
7a292a7a
SS
20797
207981999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20799
20800 * gdb.c++/demangle.exp: Include the current demangling style
20801 in all test names.
20802 (current_demangling_style): New global variable.
20803 (set_demangling_style, test_demangling_core, test_demangling,
20804 test_demangling_exact): New functions.
20805 (test_gnu_style_demangling, test_lucid_style_demangling,
20806 test_arm_style_demangling, test_hp_style_demangling): Use those,
20807 instead of calling gdb_test and gdb_test_exact directly.
20808 (catch_demangling_errors): New function, which reports errors
20809 signalled by the demangling test functions in an orderly way.
20810 (do_tests): Use catch_demangling_errors.
20811
208121999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20813
20814 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20815 grouping in expressions, not {}.
7a292a7a
SS
20816
20817 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20818 initialized yet.
7a292a7a
SS
20819
208201999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20821
20822 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20823 are listed.
20824
208251999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20826
20827 * gdb.stabs/weird.exp: Test for CC being defined before
20828 looking at its value.
20829
208301999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20831
20832 * gdb.base/call-ar-st.exp: Remove stray '#'.
20833 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20834 "short int" and "long int".
20835 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20836 change, to mollify finicky HP compiler.
7a292a7a
SS
20837 * gdb.hp/reg-test.exp (testfile): Fix file name.
20838 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20839
7a292a7a
SS
20840 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20841 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20842 alternate form of enum ptype.
20843
c906108c
SS
208441999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20845
7a292a7a
SS
20846 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20847 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20848 passing skip_hp_tests, so as not to waste time on guaranteed
20849 failure.
7a292a7a 20850
c906108c
SS
20851 * gdb.c++/overload.cc: Pass string instead of char addr, always
20852 init ccpfoo.
20853 * gdb.c++/templates.cc: Fix syntax error.
20854
7a292a7a
SS
20855Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20856
20857 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20858 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20859 command.
20860
208611999-03-18 James Ingham <jingham@cygnus.com>
20862
20863 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20864
20865 * gdb.c++/method.exp: It was testing an uninitialized int on the
20866 stack and assuming it was positive.
20867
20868 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20869
20870 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20871 keep it from killing the rest of the tests.
7a292a7a
SS
20872 Use gdb_continue_to_end.
20873
20874 * gdb.base/sigall.exp: use gdb_continue_to_end.
20875
20876 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20877
20878 * gdb.base/display.exp: use runto_main, not run.
20879
d63a86f8
RM
20880 * gdb.base/default.exp: Check for the current error message in the
20881 r abbreviation test.
7a292a7a
SS
20882 Add strongarm to the targets that know info float.
20883
d63a86f8 20884 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20885 run which doesn't work with monitors.
20886
20887 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20888
20889 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20890
20891 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20892 program. Traps the case (in Cygmon) when the program never really
20893 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20894 more places, so I used my name. Sorry Mark...
20895
20896 * config/monitor.exp (gdb_target_monitor): added another
20897 target_info parameter: remotebinarydownload. This will set the
20898 remotebinarydownload flag if this is causing some boards trouble.
20899
209001999-03-18 Mark Salter <msalter@cygnus.com>
20901
20902 * lib/gdb.exp (continue_to_exit): New function.
20903
20904 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20905 * gdb.base/ending-run.exp: Ditto.
20906 * gdb.base/step-test.exp: Ditto.
20907
209081999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20909
20910 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20911 (suggested by Art Haas <ahaas@neosoft.com>).
20912
209131999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20914
889bf7c5 20915 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20916
20917Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20918
20919 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20920 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20921
209221999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20923
20924 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20925 a call to strlen; sometimes we do have sources.
20926
209271999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20928
20929 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20930 character, so GDB won't print garbage after its end.
d63a86f8 20931
c906108c
SS
20932 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20933 breakpoint there instead. Sometimes GCC emits memcpy to handle
20934 the large structures being passed by value, so we step into that
20935 instead of sum_array_print, which obscures what we're really testing.
20936 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20937 the bizarre steps into memcpy, so do that here. Add check for
20938 stepping into function calls that pass large structures by value.
20939 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20940 Remove all references to specific line numbers.
20941 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20942 New type and function.
20943 (main): Call large_struct_by_value, passing it a large struct by value.
20944 * lib/gdb.exp (gdb_get_line_number): New function.
20945
20946 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20947 more portable.
20948
7a292a7a
SS
209491999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20950
c906108c
SS
20951 * lib/gdb.exp: Doc fixes.
20952
7a292a7a
SS
209531999-03-05 Nick Clifton <nickc@cygnus.com>
20954
d63a86f8 20955 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20956
209571999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20958
c906108c 20959 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20960 commands. They're not germane to this test, and they don't work
20961 that way on remote targets.
c906108c 20962
3fc11d3e
JM
209631999-03-01 James Ingham <jingham@cygnus.com>
20964
20965 * Changelog entries merged over from gdb development branch.
20966
3fc11d3e
JM
20967 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20968
20969 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20970 for outputting results of test run.
20971
2d4a1622 20972 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20973
20974 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20975
7a292a7a
SS
209761999-02-25 Felix Lee <flee@cygnus.com>
20977
20978 * lib/gdb.exp (debug_format): initialize
20979
c906108c
SS
209801999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20981
20982 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20983 * gdb.base/call-rt-st.c: Ditto.
20984
c906108c
SS
209851999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20986
20987 * gdb.threads/pthreads.exp (horiz): New variable.
20988 (test_startup): Fix regexps that capture thread numbers.
20989
209901999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20991
20992 * gdb.base/smoke.exp: Disambiguate two test case names (both
20993 called ``print'').
20994
20995Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20996
20997 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20998 compilation.
c906108c
SS
20999
210001999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21001
21002 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21003 actual output formatting.
21004 * gdb.base/smoke.exp: GDB removes leading 0's.
21005 * gdb.base/volatile.exp: Don't check type of remuneration;
21006 that variable is no longer defined in constvars.c.
21007 * gdb.base/step-test.c (main): Exit with explicit exit code.
21008 * gdb.base/step-test.exp: Remove two nexti checks--they are
21009 not portable.
21010
210111999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21012
21013 * gdb.base/help.exp ("help delete display"): Fix test to match
21014 gdb's output.
21015
21016 * gdb.base/long_long.c (known_types): Initialize values to zero.
21017 * gdb.base/long_long.exp: Step one more line
21018 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21019 leading zeros. Explicitly ask for hex formatting. Use
21020 unique test case names.
c906108c
SS
21021
21022Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21023
d63a86f8 21024 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21025
21026 * gdb.c++/method.exp: Add missing close brace.
21027
210281999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21029
21030 * gdb.base/maint.exp: Use 'set height 0' to disable page
21031 prompting, not 'set height 400'.
21032
21033 Fix a bunch of timeouts.
21034 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21035 four separate tests, so expect doesn't take forever to match a ton
21036 of text against a regexp with lots of .* forms.
21037 ("maint print psymbols", "maint print symbols"): Make some of
21038 these greps more selective, so that expect doesn't try to wade
21039 through huge piles of output and time out.
21040
21041 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21042
21043 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21044 tests: one which doesn't expect shlib events to be reported, and
21045 another which does, but is XFAIL for all platforms other than
21046 HP/UX.
c906108c
SS
21047
21048 * gdb.base/break.exp: Teach the test suite that the `catch
21049 fork', `catch vfork', and `catch exec' commands produce error
21050 messages on platforms that don't provide these features.
21051
21052Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21053
21054 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21055 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21056 (shortening names from solib_threshold.exp etc), won't run on
21057 anything but HP-UX for the foreseeable future.
c906108c 21058 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21059 reflect move.
c906108c
SS
21060
21061Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21062
21063 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21064 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21065
21066Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21067
21068 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21069 successfully re-sets breakpoints in shared libraries.
21070 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21071
21072Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21073
d63a86f8
RM
21074 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21075 and compiled w/o GCC.
c906108c
SS
21076
21077 * gdb.hp/watch-cmd.exp: ditto.
21078
21079 * gdb.hp/watch-hp.exp: ditto.
21080
21081 * gdb.hp/xdb1.exp: ditto.
21082
21083 * gdb.hp/xdb2.exp: ditto.
21084
21085 * gdb.hp/dbx.exp: ditto.
21086
21087Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21088
21089 * constvars.c: Remove C++-isms.
21090 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21091 with GCC.
c906108c
SS
21092
21093Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21094
21095 The following changes are part of the HP merge.
21096
21097 * gdb.base/break.exp: new tests to verify that catchpoints for
21098 fork, vfork, and exec don't trigger inappropriately.
21099
21100 * gdb.base/opaque.exp: compile one file at a time, then link.
21101
21102 * gdb.base/signals.exp: be more restrictive about which hppa
21103 systems receive a setup_xfail. new tests.
21104
21105 * gdb.base/solib_threshold.build: new file.
21106 * gdb.base/solib_threshold.exp: new file.
21107 * gdb.base/solib_threshold.link_opts: new file.
21108 * gdb.base/solib_threshold.mk: new file.
21109 * gdb.base/gen_solib_threshold.c: new file.
21110
21111 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21112 tests. New tests for enums inside classes.
21113
21114 * gdb.c++/compiler.cc: indicate support of template debugging.
21115
21116 * gdb.c++/demangle.exp: run hp style demangling tests.
21117
21118 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21119 tests.
21120
21121 * gdb.c++/misc.cc: changes to support new tests.
21122
21123 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21124 to support new tests.
21125
21126 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21127 gcc, then skip these tests.
21128
21129Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21130
21131 The following files are part of the HP merge; some had longer
21132 names at HP, but have been renamed to be no more than 14
21133 characters in length.
21134
21135 * gdb.hp/ambiguous.cc: new file.
21136 * gdb.hp/ambiguous.exp: new file.
21137 * gdb.hp/attach.exp: new file.
21138 * gdb.hp/attach2.exp: new file.
21139 * gdb.hp/classes-hp.exp: new file.
21140 * gdb.hp/ctti.exp: new file.
21141 * gdb.hp/ctti-add.cc: new file.
21142 * gdb.hp/ctti-add1.cc: new file.
21143 * gdb.hp/ctti-add2.cc: new file.
21144 * gdb.hp/ctti-add3.cc: new file.
21145 * gdb.hp/dbx.exp: new file.
21146 * gdb.hp/exception.cc: new file.
21147 * gdb.hp/exception.exp: new file.
21148 * gdb.hp/foll-exec.c: new file.
21149 * gdb.hp/foll-exec.exp: new file.
21150 * gdb.hp/foll-fork.c: new file.
21151 * gdb.hp/foll-fork.exp: new file.
21152 * gdb.hp/foll-vfork.c: new file.
21153 * gdb.hp/foll-vfork.exp: new file.
21154 * gdb.hp/inherit-hp.exp: new file.
21155 * gdb.hp/more-steps.exp: new file.
21156 * gdb.hp/namespace.cc: new file.
21157 * gdb.hp/namespace.exp: new file.
21158 * gdb.hp/optimize.exp: new file.
21159 * gdb.hp/pxdb.c: new file.
21160 * gdb.hp/pxdb.exp: new file.
21161 * gdb.hp/quicksort.exp: new file.
21162 * gdb.hp/reg-test.exp: new file.
21163 * gdb.hp/reg-test.s: new file.
21164 * gdb.hp/sized-enum.c: new file.
21165 * gdb.hp/sized-enum.exp: new file.
21166 * gdb.hp/start-stop.exp: new file.
21167 * gdb.hp/templ-hp.cc: new file.
21168 * gdb.hp/templ-hp.exp: new file.
21169 * gdb.hp/thr-lib.c: new file.
21170 * gdb.hp/thr-lib.exp: new file.
21171 * gdb.hp/thr-lib.h: new file.
21172 * gdb.hp/thr-liblib.c: new file.
21173 * gdb.hp/virtfun-hp.c: new file.
21174 * gdb.hp/virtfun-hp.exp: new file.
21175 * gdb.hp/watch-cmd.exp: new file.
21176 * gdb.hp/watch-hp.exp: new file.
21177 * gdb.hp/xdb1.exp: new file.
21178 * gdb.hp/xdb2.exp: new file.
21179 * gdb.hp/xdb3.exp: new file.
21180
21181Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21182
21183 The following files are part of the HP merge; some had longer
21184 names at HP, but have been renamed to be no more than 14
21185 characters in length.
21186
21187 * gdb.base/ss.h: new file.
21188 * gdb.base/call-ar-st.c: new file.
21189 * gdb.base/call-ar-st.exp: new file.
21190 * gdb.base/call-rt-st.c: new file.
21191 * gdb.base/call-rt-st-exp: new file.
21192 * gdb.base/call-strs.exp: new file.
21193 * gdb.base/ena-dis-br.exp: new file.
21194 * gdb.base/environ.exp: new file.
21195 * gdb.base/long_long.exp: new file.
21196 * gdb.base/sect-cmd.exp: new file.
21197 * gdb.base/shlib-cl2.exp: new file.
21198 * gdb.base/smoke.exp: new file.
21199 * gdb.base/so-impl-ld.c: new file.
21200 * gdb.base/so-impl-ld.exp: new file.
21201 * gdb.base/so-indr-cl.c: new file.
21202 * gdb.base/so-indr-cl.exp: new file.
21203 * gdb.base/varargs.exp: new file.
21204 * gdb.base/volatile.exp: new file.
21205 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21206 * gdb.base/display.exp: new file.
c906108c
SS
21207 * gdb.c++/derivation.exp: new file.
21208 * gdb.c++/local.exp: new file.
21209 * gdb.c++/member-ptr.exp: new file.
21210 * gdb.c++/overload.exp: new file.
21211 * gdb.c++/ovldbreak.exp: new file.
21212 * gdb.c++/ref-types.exp: new file.
21213 * gdb.c++/ref-types2.exp: new file.
21214 * gdb.c++/userdef.exp: new file.
d63a86f8 21215
c906108c
SS
21216Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21217
21218 * gdb.base/default.exp: Reflect wording change in remote.c.
21219
dc96c6c7 21220Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21221
21222 * gdb.base/help.exp: Update to reflect current text.
21223
21224Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21225
21226 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21227 they're stack variables and contain garbage.
21228 * gdb.c++/anon-union.exp: new file.
21229
21230 The following changes were made by David Taylor
889bf7c5
PA
21231 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21232 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21233 in changes by HP.
c906108c
SS
21234
21235 * gdb.base/bitops.exp: new file.
21236 * gdb.base/default.exp: change expected messages for catch and
21237 info catch tests to reflect HP merge changes.
21238 * gdb.base/enable-disable-break.exp
21239 * gdb.base/ending-run.c: new file.
21240 * gdb.base/long_long.c: new file.
21241 * gdb.base/maint.exp: new file.
21242 * gdb.base/pointers2.exp: new file.
21243 * gdb.base/shlib-call2.exp: new file.
21244 * gdb.base/solib.exp: new file.
21245 * gdb.base/step-test.c: new file.
21246 * gdb.c++/anon-union.cc: new file.
21247 * gdb.c++/local.cc: new file.
21248 * gdb.c++/member-pointer.cc: new file.
21249 * gdb.c++/method.cc: new file.
21250 * gdb.c++/ref-types.cc: new file.
21251 * gdb.c++/ref-types2.cc: new file.
21252 * gdb.c++/userdef.cc: new file.
d63a86f8 21253
c906108c
SS
21254 * gdb.base/scope.exp: compile one file at a time, then link.
21255 * gdb.base/langs.exp: ditto.
21256 * gdb.base/list.exp: ditto.
d63a86f8 21257
c906108c
SS
21258Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21259
21260 The following changes were made by David Taylor
889bf7c5
PA
21261 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21262 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21263 in changes by HP.
d63a86f8 21264
c906108c
SS
21265 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21266 skip tests. When compiling pass c++ flag to gdb_compile.
21267 * gdb.c++/
d63a86f8 21268
c906108c
SS
21269 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21270 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21271 (skip_hp_tests): new function.
21272 (gdb_preprocess): new function.
21273
21274 * configure.in (hpdir): decide whether to configure gdb.hp.
21275 * configure: regenerated.
21276
21277 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21278 to delete on clean.
21279 (EXECUTABLES): update to reflect new additions.
21280 * gdb.base/commands.exp: update message expected.
21281 * gdb.base/default.exp: add copyright notice.
21282 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21283 * gdb.base/help.exp: update messages to reflect current text.
21284 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21285 targets for recurse tests.
21286 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21287 skip this file.
21288
21289 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21290 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21291 compilation.
21292 * gdb.c++/misc.exp: ditto.
21293 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21294 run the tests. tell gdb_compile that it's a c++ compilation.
21295
21296 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21297
c906108c
SS
21298 * gdb.base/all-bin.exp: new file.
21299 * gdb.base/arithmet.exp: new file.
21300 * gdb.base/assign.exp: new file.
21301 * gdb.base/completion.exp: new file.
21302 * gdb.base/cond-expr.exp: new file.
21303 * gdb.base/condbreak.exp: new file.
21304 * gdb.base/define.exp: new file.
21305 * gdb.base/dollar.exp: new file.
21306 * gdb.base/environment.exp: new file.
21307 * gdb.base/eval-skip.exp: new file.
21308 * gdb.base/jump.exp: new file.
21309 * gdb.base/logical.exp: new file.
21310 * gdb.base/pointers.exp: new file.
21311 * gdb.base/relational.exp: new file.
21312 * gdb.base/section_command.exp: new file.
21313 * gdb.base/whatis-expr.exp: new file.
21314
21315 * gdb.base/all-types.c: new file.
21316 * gdb.base/call-array-struct.c: new file.
21317 * gdb.base/call-return-struct.c: new file.
21318 * gdb.base/call-strings.c: new file.
21319 * gdb.base/callfuncs2.c: new file.
21320 * gdb.base/condbreak.c: new file.
21321 * gdb.base/constvars.c: new file.
21322 * gdb.base/display.c: new file.
21323 * gdb.base/int-type.c: new file.
21324 * gdb.base/jump.c: new file.
21325 * gdb.base/miscexprs.c: new file.
21326 * gdb.base/pointers.c: new file.
21327 * gdb.base/pointers2.c: new file.
21328 * gdb.base/shmain.c: new file.
21329 * gdb.base/shr1.c: new file.
21330 * gdb.base/shr2.c: new file.
21331 * gdb.base/solib.c: new file.
21332 * gdb.base/solib1.c: new file.
21333 * gdb.base/solib2.c: new file.
21334 * gdb.base/varargs.c: new file.
21335 * gdb.c++/derivation.cc: new file.
21336 * gdb.c++/overload.cc: new file.
21337 * gdb.c++/ovldbreak.cc: new file.
21338 * gdb.hp/attach.c: new file.
21339 * gdb.hp/attach2.c: new file.
21340 * gdb.hp/average.c: new file.
21341 * gdb.hp/compiler.c: new file.
21342 * gdb.hp/compiler.cc: new file.
21343 * gdb.hp/execd-program.c: new file.
21344 * gdb.hp/follow-exec.c: new file.
21345 * gdb.hp/follow-fork.c: new file.
21346 * gdb.hp/follow-vfork-and-exec.c: new file.
21347 * gdb.hp/misc-hp.cc: new file.
21348 * gdb.hp/more-steps.c: new file.
21349 * gdb.hp/optimize.c: new file.
21350 * gdb.hp/quicksort.c: new file.
21351 * gdb.hp/run-hp.c: new file.
21352 * gdb.hp/start-stop.c: new file.
21353 * gdb.hp/sum.c: new file.
21354 * gdb.hp/templates-hp.cc: new file.
21355 * gdb.hp/thread-local-in-lib.c: new file.
21356 * gdb.hp/thread-local-in-lib.h: new file.
21357 * gdb.hp/thread-local-in-lib.lib.c: new file.
21358 * gdb.hp/vforked-program.c: new file.
21359 * gdb.hp/virtfunc-hp.cc: new file.
21360 * gdb.hp/watchpoint-hp.c: new file.
21361 * gdb.hp/xdb.c: new file.
21362 * gdb.hp/xdb0.c: new file.
21363 * gdb.hp/xdb0.h: new file.
21364 * gdb.hp/xdb1.c: new file.
21365
21366Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21367
21368 The following change was made by Edith Epstein
889bf7c5
PA
21369 <eepstein@cygnus.com> as part of a project to merge in changes
21370 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21371
21372 * gdb.c++/demangle.exp: changed the expected output for some
21373 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21374 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21375 T1<char>::~T1<char>(void)
c906108c 21376 becomes,
a9c64011
AS
21377 maint demangle __dt__11T1__pt__2_cFv
21378 T1<char>::~T1(void)
c906108c 21379
889bf7c5 21380 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21381
c906108c
SS
21382Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21383
21384 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21385 * gdb.trace/backtrace.exp: Likewise.
21386 * gdb.trace/circ.exp: Likewise.
21387 * gdb.trace/collection.exp: Likewise.
21388 * gdb.trace/deltrace.exp: Likewise.
21389 * gdb.trace/infotrace.exp: Likewise.
21390 * gdb.trace/limits.exp: Likewise.
21391 * gdb.trace/packetlen.exp: Likewise.
21392 * gdb.trace/passc-dyn.exp: Likewise.
21393 * gdb.trace/passcount.exp: Likewise.
21394 * gdb.trace/report.exp: Likewise.
21395 * gdb.trace/save-trace.exp: Likewise.
21396 * gdb.trace/tfind.exp: Likewise.
21397 * gdb.trace/tracecmd.exp: Likewise.
21398 * gdb.trace/while-dyn.exp: Likewise.
21399 * gdb.trace/while-stepping.exp: Likewise.
21400
214011998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21402
21403 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21404
21405Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21406
21407 From Brendan Kehoe:
21408 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21409 int return types.
21410
21411Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21412
21413 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21414 remote dos host testing right.
c906108c
SS
21415
21416Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21417
21418 * gdb.base/corefile.exp: remove some xfails.
21419
21420Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21421
21422 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21423 have different timestamps.
c906108c
SS
21424
21425Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21426
21427 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21428 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21429
21430Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21431
21432 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21433 delta.
c906108c
SS
21434
21435Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21436
21437 * gdb.base/default.exp: Add brace missing from previous delta.
21438
21439Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21440
21441 * gdb.base/default.exp: Support test for info float for all
21442 varieties of arm toolchain.
21443
dc96c6c7 21444Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21445
21446 * gdb.trace/*.exp: remove "remote_download" command.
21447
dc96c6c7 21448Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21449
21450 * gdb.trace/*.exp: remove -gdwarf from compile.
21451
21452Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21453
21454 * gdb.trace/configure.in(AC_INIT): typo
21455 * gdb.trace/configure: regenerated
21456
dc96c6c7 21457Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21458
21459 * config/m68k-emc.exp: New file.
21460 * lib/<emc-support.exp trace-support.exp}: New files.
21461 * configure.in: add new test directory gdb.trace.
21462 * gdb.trace/{configure configure.in Makefile.in}: New files.
21463 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21464 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21465 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21466 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21467 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21468 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21469 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21470
dc96c6c7 21471Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21472
21473 * gdb.c++/classes.exp: Change all regular expressions to match
21474 arbitrary combinations of newline/carriage-return, so that they
21475 will work equally well on Unix and Windows.
21476 * gdb.c++/inherit.exp: ditto.
21477 * gdb.c++/virtfunc.exp: ditto.
21478
214791998-08-11 Dawn Perchik <dawn@cygnus.com>
21480
21481 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21482
c2d11a7d
JM
21483Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21484
21485 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21486 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21487 to use a0-a3/d0-d3 as needed.
21488
21489Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21490
21491 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21492 * gdb.disasm/am33.exp: Corresponding changes.
21493
c906108c
SS
214941998-07-11 Felix Lee <flee@cygnus.com>
21495
21496 * gdb.base/callfuncs.exp: add cmp10 test.
21497 * gdb.base/callfuncs.c (cmp10): new function.
21498
21499Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21500
d63a86f8 21501 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21502 into two parts to get around a synchronization problem in expect.
21503
3fc11d3e
JM
21504Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21505
21506 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21507
21508 * configure.in: Add options for gdbtk testsuite.
21509
21510 * configure: Regenerate.
21511
21512 * gdb.gdbtk: New directory to hold gdbtk tests.
21513
c906108c
SS
21514Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21515
21516 * gdb.fortran/types.exp: Escape brackets in expect patterns
21517 for test_float_literal_types_accepted tests.
21518 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21519 before run test.
21520
c2d11a7d
JM
21521Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21522
21523 * am33.exp: Just compile, do not link the testcase.
21524 * am33.s: Add ".am33" pseudoop to force am33 mode.
21525
c906108c
SS
215261998-06-25 Felix Lee <flee@cygnus.com>
21527
21528 * gdb.base/setshow.exp: make sure $pc is sane.
21529
21530 * gdb.stabs/weird.exp: split expect patterns properly.
21531
c2d11a7d
JM
21532Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21533
21534 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21535 * gdb.disasm/am33.exp: Run it.
21536
dc96c6c7 21537Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21538
21539 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21540 match processing (and eliminate spurious timeouts when running).
21541
dc96c6c7 21542Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21543
21544 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21545 exception test, but conditionalize it on target [mach | gnu].
21546
dc96c6c7 21547Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21548
21549 * gdb.base/overlays.exp: fixup compile line for linker script.
21550
21551Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21552
21553 * gdb.fortran/types.exp: don't guess at float size.
21554
21555Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21556
21557 * gdb.base/exprs.exp: delete test that depends on int size.
21558
21559Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21560
21561 * config/sim.exp: Removed checks for target triplets.
21562 (gdb_target_sim): Use gdb,target_sim_options.
21563
21564Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21565
21566 * gdb.base/reread.exp: New file.
21567 * gdb.base/reread1.c: New file.
21568 * gdb.base/reread2.c: New file.
21569
21570Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21571
21572 * config/sim.exp: Use 'target sim -sparclite' when running
21573 SPARClite programs.
21574
21575Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21576
21577 * gdb.base/structs2.exp: New file.
21578 * gdb.base/structs2.c: New file.
21579
21580Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21581
21582 * gdb.asm/common.inc: New file.
21583 * gdb.asm/d10v.inc: New file.
21584 * asm-source.exp: Pass -I's to gas to find .inc files.
21585 Update line numbers in expected output.
21586 * asmsrc1.s: Rewrite.
21587 * asmsrc2.s: Rewrite.
21588 * configure.in: Create arch.inc symlink.
21589 * configure: Regenerate.
21590 * Makefile.in (distclean): Delete arch.inc.
21591
21592Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21593
21594 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21595 (t_enum_value2): ditto
21596 (t_enum_value3): ditto
21597 (main): ditto
c906108c
SS
21598Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21599
21600 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21601 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21602 change.
21603 Use gdb_test instead of send_gdb/gdb_expect sequences.
21604
21605Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21606
21607 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21608 not void.
21609
21610Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21611
21612 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21613 subroutines. Used to test gdbs ability to single step through PC
21614 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21615
21616Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21617
21618 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21619 more rigorous EGCS C++ error checking.
21620
21621Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21622
a9c64011
AS
21623 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21624 tests.
21625 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21626 function when asleep.
21627 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21628 for i*86 Linux and SVR4 signal handling problems.
21629 Remove linux xfail for `next to handler in signals_tests_1', fixed
21630 by recent infrun.c change.
21631 Limit backtrace to 10 frames to avoid timeout problems with infinite
21632 stack backtraces.
21633 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21634 target.[ch] change.
c906108c
SS
21635
21636Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21637
21638 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21639 for a newline from gdb before continuing.
21640 (default_gdb_exit): Just look for y or n.
21641 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21642 it does, fail the rests of the tests in the file.
21643
21644Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21645
21646 * config/cygmon.exp: New file.
21647
21648Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21649
21650 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21651 main" test on remote targets.
c906108c
SS
21652
21653 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21654 run test on remote targets.
21655
21656Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21657
21658 * gdb.asm: New directory.
21659 * configure.in: Configure it.
21660 * configure: Regenerate.
21661 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21662 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21663
21664Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21665
21666 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21667
dc96c6c7 21668Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21669
a9c64011
AS
21670 * gdb.base/overlays (several files): Merge the two overlay
21671 managers into one. Change variables (foox, barx, bazx, grbxx)
21672 back into ints but force them to load in their proper sections.
c906108c
SS
21673
21674Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21675
21676 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21677 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21678 (D10VCopy): Handle memory regions crossing 16k boundaries.
21679 (D10VCopy): Transfer data in 32 bit chunks.
21680
21681Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21682
21683 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21684 correct.
c906108c
SS
21685
21686 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21687 map. Include space for printf in .text segment.
c906108c
SS
21688
21689 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21690 updated d10v memory VMA/LMA map.
c906108c 21691 (D10VCopy): Call D10VTranslate.
d63a86f8 21692
c906108c
SS
21693Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21694
21695 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21696
21697 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21698 that it won't be put into the .sdata - small data -
21699 section. Update reference.
c906108c
SS
21700 * gdb.base/baz.c (bazx, baz): Ditto.
21701 * gdb.base/foo.c (foox, foo): Ditto.
21702 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21703
21704 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21705 to be arrays.
d63a86f8 21706
dc96c6c7 21707Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21708
a9c64011
AS
21709 * gdb.base/overlays.exp: fix up and get working again.
21710 Add tests for backtraces from an overlay function.
d63a86f8 21711
c906108c
SS
21712Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21713
21714 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21715 "calling function with watchpoint enabled".
21716
21717Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21718
21719 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21720 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21721 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21722 pending review of whether it is useful or not.
21723
21724Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21725
21726 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21727
21728Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21729
21730 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21731 * config/dve.exp: New file to support Densan boards.
21732
21733Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21734
21735 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21736 reads and BSD.
c906108c
SS
21737
21738Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21739
21740 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21741 response.
21742
21743 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21744
21745Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21746
21747 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21748 test.
c906108c
SS
21749
21750 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21751 target_sizeof_long and target_bigendian_p.
c906108c 21752 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21753 to targets word size and endianess.
d63a86f8 21754
c906108c
SS
21755Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21756
21757 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21758 output.
c906108c
SS
21759
21760Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21761
21762 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21763 Update test of set args help to match source change.
c906108c
SS
21764
21765Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21766
21767 * gdb.base/default.exp: Expect help system output to be in
21768 alphabetical order.
21769 * gdb.base/help.exp: Ditto.
21770
21771Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21772
21773 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21774 "i*86-pc-linux-gnu*".
21775 * gdb.base/interrupt.exp: Ditto.
21776 * gdb.base/corefile.exp: Ditto.
21777
21778 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21779 define vxworks when building the testcase.
c906108c
SS
21780
21781 * gdb.base/ptype.exp: Fix testnames to be unique.
21782 * gdb.base/radix.exp: Ditto.
21783 * gdb.base/term.exp: Ditto.
21784 * gdb.base/whatis.exp: Ditto.
21785 * gdb.c++/classes.exp: Ditto.
21786
21787Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21788
21789 * gdb.base/callfuncs.exp: Fix indentation.
21790
21791 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21792 suppress_flag has been set.
21793 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21794 target feature.
21795
21796Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21797
21798 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21799 the testcase.
21800
21801 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21802 set_debug_traps() and breakpoint().
c906108c
SS
21803 * gdb.c++/misc.cc (main): Ditto.
21804 * gdb.c++/templates.cc (main): Ditto.
21805 * gdb.c++/virtfunc.cc (main): Ditto.
21806
21807Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21808
21809 * lib/gdb.exp(gdb_step_for_stub): New function.
21810 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21811 exists, reload the executable and do a "continue" instead of
21812 doing a jump.
21813 (runto_main): Use gdb_step_for_stub.
d63a86f8 21814
c906108c 21815 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21816 tests to have unique names.
c906108c
SS
21817 * gdb.base/callfuncs.exp: Ditto.
21818 * gdb.base/commands.exp: Ditto.
21819 * gdb.base/default.exp: Ditto.
21820 * gdb.base/help.exp: Ditto.
21821 * gdb.base/list.exp: Ditto.
21822 * gdb.base/opaque.exp: Ditto.
21823 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21824 similar tests.
d63a86f8 21825
c906108c
SS
21826 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21827 * gdb.c++/cplusfuncs.cc: Ditto.
21828 * gdb.c++/virtfunc.cc: Ditto.
21829
21830 * config/monitor.exp: Keep track of the last file we saw, rather
21831 than trying to get the info from gdb.
21832
21833 * gdb.fortran/types.exp: Move comment to previous line.
21834
21835Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21836
21837 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21838 target mode.
c906108c
SS
21839
21840Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21841
21842 From Bob Manson:
21843 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21844 string from GDB when it connects.
c906108c
SS
21845
21846 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21847
21848Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21849
21850 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21851 if we can't get a debug format from GDB (we may be testing an
21852 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21853
21854 * gdb.stabs/weird.exp: Fix quoting.
21855
21856 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21857
21858Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21859
21860 * config/arm-ice.exp: New file.
21861
21862Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21863
21864 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21865 until it has been modified to work with the new testsuite.
c906108c 21866
99707966 21867 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21868 testcase won't compile, cause all of the testcases in the file to
21869 fail instead.
c906108c
SS
21870
21871 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21872 (gdb_clear_suppressed): New procedure.
21873 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21874 it contains a positive value.
21875
21876Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21877
21878 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21879
21880 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21881
21882Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21883
21884 * lib/gdb.exp (setup_xfail_format): New function.
21885 (get_debug_format): New function to get debug format.
21886 (debug_format): New global variable to hold last value set
21887 by get_debug_format.
21888 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21889 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21890 * gdb.c++/ptype.exp: Ditto.
21891 * gdb.c++/classes.exp: Ditto.
21892 * gdb.c++/cplusfuncs.exp: Ditto.
21893 * gdb.c++/inherit.exp: Ditto.
21894 * gdb.c++/templates.exp: Ditto.
21895 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21896
c906108c
SS
21897Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21898
21899 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21900 host doesn't have a currently-open connection.
21901
21902 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21903 any gdb stub target. Handle cases where gdb doesn't respond when
21904 interrupted in a sane fashion.
c906108c
SS
21905
21906 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21907 same thing in a totally different way.
c906108c
SS
21908
21909 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21910 setting "timeout".
c906108c 21911 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21912 default_gdb_init now.
c906108c
SS
21913
21914Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21915
21916 * gdb.base/printcmds.exp: Fix "check for floating addition"
21917 regexp to accept results within approx +/- .01 of exact value.
21918 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21919
21920Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21921
21922 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21923 properly.
c906108c
SS
21924 (gdb_expect): Add optional timeout parameter, and add timeout
21925 value to various calls.
21926 (gdb_suppress_tests): Only give one warning message per group.
21927
21928Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21929
21930 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21931 global variables. Handle getting a value for $timeout more
21932 gracefully.
c906108c
SS
21933
21934Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21935
21936 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21937 initialize.
c906108c 21938 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21939 by a target configuration file.
c906108c
SS
21940 (gdb_expect): Pass the timeout to remote_expect.
21941
21942 * config/monitor.exp(gdb_load): Fix typo in regexp.
21943
21944Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21945
21946 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21947
21948Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21949
21950 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21951 here. Call gdb_target_exec before rebooting the target, to make
21952 sure the connection to the target is closed.
c906108c
SS
21953 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21954 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21955 Also detect "Timeout reading from remote" error.
21956
21957 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21958 gdb_target_monitor. Don't call gdb_file_cmd here; let
21959 gdb_target_monitor do it.
c906108c
SS
21960
21961 * gdb.disasm/hppa.exp: Don't use exec_output.
21962
21963Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21964
21965 * gdb.base/list.exp: If we're debugging a non-native target,
21966 try to set the pc register to point to the start of the
21967 program before doing the first list command.
21968
21969 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21970 test_calls after restarting.
c906108c
SS
21971
21972 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21973 reloading.
c906108c
SS
21974
21975 * gdb.base/watchpoint.exp: Fix typo.
21976
21977 * gdb.base/setshow.exp: Check for use_gdb_stub.
21978
21979 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21980 stub case.
c906108c
SS
21981 * gdb.base/langs.exp: Ditto.
21982
21983 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21984 gdb_load_offset. If we weren't given a file to load, figure out
21985 what the current file is and use it.
c906108c
SS
21986
21987 * config/i386-bozo.exp: New file.
21988
21989Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21990
21991 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21992 feature.
21993
21994 * config/proelf.exp: New entry.
21995
21996Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21997
21998 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21999 of regexps.
22000
22001 * gdb.base/watchpoint.exp: Don't run the test_stepping
22002 tests if gdb can't call functions on the target.
22003
22004 * gdb.base/setshow.exp: Don't run the set prompt tests if
22005 the board has gdb_prompt set.
22006
22007Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22008
22009 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22010 * gdb.base/commands.exp: Likewise.
22011 * gdb.base/setshow.exp: Likewise.
22012
22013Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22014
22015 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22016 feature.
22017
22018 * config/i960.exp: New file.
22019
22020Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22021
22022 * gdb.base/funcargs.exp: Check for gdb,short_int target
22023 feature instead of looking for explicit target triplets.
22024
dc96c6c7 22025Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22026
d63a86f8 22027 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22028 "p 123DEADBEEF", to check parse_number.
22029 * top.c: change "to enable to enable" to "to enable" in a couple
22030 of help strings.
22031
22032Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22033
22034 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22035 on the mn10300.
d63a86f8 22036
c906108c
SS
22037Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22038
22039 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22040 where the test executable is run with explicit args.
22041 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22042
22043Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22044
22045 * gdb.base/run.c: Use FAKEARGV to build test executable that
22046 does not require a command line arg, since most simulators
22047 don't currently support passing such an arg into the simulated
22048 program.
22049 * gdb.base/commands.exp: Change tests to insert the proper
22050 value as the arg to the first recursive factorial call. Change
22051 compilation line to define FAKEARGV at compile time.
22052
22053Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22054
22055 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22056 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22057 function with watchpoint enabled" test.
22058
22059Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22060
22061 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22062 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22063
22064 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22065 "Tests restarted" messages.
c906108c
SS
22066
22067Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22068
22069 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22070
dc96c6c7 22071Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22072
22073 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22074 for INFO SYMBOL; add help tests for OVERLAY commands.
22075 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22076 add tests for OVERLAY commands
22077 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22078 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22079 * gdb.base/sigall.c: add usestubs code frag
22080 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22081
c906108c
SS
22082Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22083
22084 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22085 failures.
22086 (gdb_stop_suppressing_tests): Note that tests have restarted.
22087
22088Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22089
22090 * config/h8300.exp: New file.
22091
22092Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22093
22094 * gdb.base/setshow.exp: Check for the existence of a
22095 feature, not its value.
22096
22097Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22098
22099 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22100
22101 * gdb.base/scope.exp: It's now init0(), not init().
22102
22103 * gdb.base/scope0.c: For now, change init() to be init0().
22104
22105 * config/monitor.exp: Use gdb_serial in preference to serial
22106 or netport.
22107
22108 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22109 and it's not already set.
c906108c
SS
22110
22111Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22112
22113 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22114 isn't using a stub and if it supports argument passing.
c906108c
SS
22115
22116Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22117
22118 * config/udi.exp(gdb_start): Make sure UDICONF is set
22119 properly before starting gdb.
22120
22121Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22122
22123 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22124 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22125 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22126
22127Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22128
22129 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22130 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22131
22132 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22133
22134 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22135
22136 * config/monitor.exp: Make sure we disconnect from the target.
22137 Also, try a reboot/reload cycle instead of failing if the
22138 load fails.
22139
22140Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22141
22142 * gdb.base/default.exp: Don't set match_max.
22143 * gdb.base/help.exp: Ditto.
22144 * gdb.base/list.exp: Ditto.
22145 * gdb.base/signals.exp: Ditto.
22146
22147 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22148 set, use remote_ld to download the testcase instead of
22149 the GDB loader.
22150
22151Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22152
22153 * config/vr5000.exp: New file.
22154
22155 * config/monitor.exp(gdb_target_monitor): Add pattern for
22156 "Ending remote" to detect errors in connecting.
22157
22158 * gdb.base/setshow.exp: Add .* within auto language test.
22159
22160 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22161 target feature.
22162
22163 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22164 and reboot the board if necessary.
c906108c
SS
22165
22166 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22167 a set of tests. Remove print.* from the patterns being checked.
22168
22169Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22170
22171 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22172 refer to gdb_spawn_id.
22173
22174 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22175 longer used.
22176 * config/sparclet.exp: Ditto.
22177 * config/sparclet-old.exp: Ditto.
22178 * config/slite.exp: Ditto.
22179 * config/sim.exp: Ditto.
22180 * gdb.base/funcargs.exp: Ditto.
22181
22182 * lib/gdb.exp:Remove references to gdb_spawn_id.
22183 (gdb_expect): Move to remote.exp.
22184
22185Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22186
22187 * config/monitor.exp: Detect the "Couldn't establish connection"
22188 message from GDB.
22189
22190Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22191
22192 * gdb.base/bitfields.exp: Use runto instead of explicit
22193 gdb_run_cmd/gdb_expect sequences.
22194
22195 * gdb.base/break.exp(text_next_with_recursion): Add match for
22196 gdb_expect call.
22197
22198 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22199 We also need to handle the "A program is being debugged already"
22200 prompt from gdb. Use gdb_test to set the baud rate.
22201
22202 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22203 to 20000. Really. I mean it.
22204
22205Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22206
22207 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22208 fails. If suppress_flag is set, skip perror message about not
22209 being able to send to GDB.
c906108c 22210 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22211 GDB.
c906108c
SS
22212 (gdb_expect): If suppress_flag is set, always fail immediately.
22213 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22214 (gdb_init): Call gdb_stop_suppressing_tests.
22215 (default_gdb_exit): Ditto.
22216 (default_gdb_start): Ditto.
22217
22218 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22219 gdb_stop_suppressing_tests as appropriate.
c906108c 22220 * gdb.base/break.exp: Ditto.
889bf7c5 22221 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22222 * gdb.base/commands.exp: Ditto.
22223 * gdb.base/exprs.exp: Ditto.
889bf7c5 22224 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22225 * gdb.base/list.exp: Ditto.
22226 * gdb.base/recurse.exp: Ditto.
889bf7c5 22227 * gdb.base/scope.exp: Ditto.
c906108c
SS
22228 * gdb.base/structs.exp: Ditto.
22229 * gdb.c++/inherit.exp: Ditto.
22230
22231Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22232
22233 * config/vr4300.exp: New file.
22234
99707966 22235 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22236
99707966 22237 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22238
22239Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22240
22241 * lib/gdb.exp(gdb_init): New function.
22242
22243 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22244 for each individual variable set.
c906108c
SS
22245
22246 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22247 name.
22248
22249 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22250
22251 * gdb.base/scope.exp: Use gdb_test.
22252
22253 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22254 aborting; the testsuite driver will do that for us (see
22255 gdb_finish). Also, use gdb_test in a few more places.
22256
22257Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22258
22259 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22260
22261Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22262
22263 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22264 and "add_tests" are not at the same address.
22265
22266Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22267
22268 * gdb.base/ptype.exp: Use gdb_test.
22269
22270Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22271
22272 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22273 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22274 left in. No longer expect them to fail.
22275
22276 * gdb.stabs/*.mt; Deleted, no longer used.
22277 * gdb.stabs/configure.in: Remove references to target makefile
22278 frags.
22279 * gdb.stabs/configure: Rebuilt.
22280
22281 * gdb.disasm/*.mt: Deleted, no longer used.
22282 * gdb.disasm/configure.in: Remove references to target makefile
22283 frags. Use "sh3.s" as the unique filename for this directory.
22284 * gdb.disasm/configure: Rebuilt.
22285
22286 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22287 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22288 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22289
22290Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22291
22292 * config/udi.exp: Use mondfe,name instead of remote_host.
22293
22294Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22295
22296 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22297 a function with a watchpoint enabled on the mn10200.
22298
22299 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22300 before trying to create it!
22301
22302Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22303
22304 * config/vx.exp: Use hostname instead of netport.
22305
22306 * config/vxworks.exp: New file.
22307
22308 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22309
22310 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22311 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22312 occurs.
22313
22314 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22315 $gdb_spawn_id directly.
22316 (gdb_run_cmd): Try _start as well as start. Use the target feature
22317 gdb,start_symbol as the symbol to start from when jumping.
22318
22319Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22320
22321 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22322 redundant) test.
22323
22324 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22325 it doesn't lose for 16bit integer systems.
22326
22327Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22328
22329 * gdb.fortran/types.exp: If the target doesn't support "double"
22330 data types, then expect "real" types to only be 4 bytes.
22331
22332 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22333 call tests if the target doesn't support inferior function calls.
22334
22335 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22336 in printf tests.
22337
22338Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22339
22340 * gdb.base/help.exp: Disable "help set", "help show", and
22341 "help support". Simplify regexp for "help stack".
22342
22343 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22344 to 60 seconds. Temporarily set match_max to 15000 around the
22345 "info copying" test.
22346
22347 * gdb.base/nodebug.exp: Don't try to do an inferior function
22348 call if the target doesn't support them.
22349 * gdb.base/printcmds.exp: Likewise.
22350 * gdb.base/setvar.exp: Likewise.
22351 * gdb.base/structs.exp: Likewise.
22352 * gdb.c++/templates.exp: Likewise.
22353 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22354
22355 * gdb.base/recurse.exp: Enable for the mn10200.
22356
22357 * configure.in: Do configure gdb.stabs directory for *-*-elf
22358 targets.
22359 * configure: Rebuilt.
22360
22361 * gdb.base/break.exp: Check for gdb,noresults before testing
22362 exit status and/or results from the target.
22363 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22364 * lib/gdb.exp: Remove old (now bogus) initialization of
22365 noinferior, noargs, noresults and nosignals.
22366
22367Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22368
22369 * config/sh.exp: New file.
22370
22371 * config/slite.exp: Try to connect multiple times to the board
22372 before rebooting. Only send a "monitor run" if need_monitor_run
22373 is set.
22374
22375 * gdb.base/break.exp: Don't do the "stub continue" test if
22376 the target has gdb_stub set.
22377
22378 * gdb.base/callfuncs.exp: Increase the timeout.
22379
22380 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22381 if the target has gdb,noinferiorio set.
22382
22383 * gdb.base/list.exp: Increase match_max to 10000 characters.
22384
22385 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22386
22387 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22388 target.
22389
22390 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22391
22392Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22393
22394 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22395 trying to delete the copy of gdb. Catch the file delete so we
22396 don't die if the delete fails; also, the file should be copied to
22397 the host, not to the build.
c906108c
SS
22398
22399Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22400
22401 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22402 parenthesis in case it contains multiple regexps separated
c906108c
SS
22403 with |.
22404
22405 * gdb.base/watchpoint.exp: Use gdb_test.
22406 * gdb.base/default.exp: Ditto.
22407
22408Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22409
99707966 22410 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22411
c906108c
SS
22412 * gdb.base/scope.exp: Use gdb_test.
22413 * gdb.c++/classes.exp: Ditto.
22414 * gdb.c++/inherit.exp: Ditto.
22415
22416Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22417
22418 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22419 remote_exec instead.
22420 * gdb.base/corefile.exp: Don't be ridiculous.
22421 * gdb.base/*.c: Add missing stub invocations.
22422
22423Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22424
22425 * config/slite.exp: Miscellaneous fixes.
22426
22427 * lib/gdb.exp: Fix runto.
22428
22429 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22430 the target.
22431
22432 * gdb.base/watchpoint.exp: Fix regexp.
22433
22434 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22435 close and wait commands, as the descriptor may now be
22436 invalid. Always call "remote_close host".
22437
22438Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22439
22440 Major rewrite for testsuite revision.
d63a86f8 22441
c906108c
SS
22442 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22443 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22444 instead of relying on spawn_id to always contain a valid
22445 spawn id.
22446 (get_compiler_info): New procedure to build the ${binfile}.ci
22447 file, instead of replicating this in N different places.
22448 (gdb_compile): New procedure.
d63a86f8 22449
c906108c 22450 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22451 appropriate arguments) instead of compile. Use gdb_test in a lot
22452 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22453 at the start of a testcase, as this is no longer done magically.
22454
22455 config/*-gdb.exp: Rename without the -gdb suffix.
22456
22457 config/mips.exp: Use remote_close instead of exit_remote_shell.
22458 config/monitor.exp: Use target_info instead of looking at
22459 baud, timeout, etc.
22460 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22461
22462Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22463
22464 * gdb.c++/templates.exp (test_ptype_of_templates),
22465 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22466 Update expect patterns for destructors and assignment operators
22467 to match corresponding c-typeprint.c changes.
22468 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22469 to destructor breakpoint test, GDB should be able to set the
22470 destructor breakpoint without specifying arguments.
22471
22472Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22473
22474 * gdb.threads/pthreads.exp: Change result for failure to compile due
22475 to lack of pthreads runtime support from an error to simply an
22476 unsupported test, per dejagnu standards.
22477
22478Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22479
22480 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22481 where GDB exits to reduce pattern match time.
22482 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22483
22484 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22485
dc96c6c7 22486Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22487
22488 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22489 * gdb.base/default.exp: ditto.
22490 * gdb.base/nodebug.exp: ditto.
22491 * gdb.base/printcmds.exp: ditto.
22492 * gdb.base/ptype.exp: ditto.
22493 * gdb.base/setvar.exp: ditto.
22494 * gdb.base/structs.exp: ditto.
22495 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22496
22497Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22498
22499 * configure, */configure: Rebuild with autoconf 2.12.
22500
22501Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22502
22503 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22504 use new i*86-pc-linux*-gnu quads.
22505 * gdb.base/corefile.exp: Ditto.
22506 * gdb.base/signals.exp: Ditto.
22507 * gdb.base/sigall.exp: Ditto.
22508 * gdb.base/interrupt.exp: Ditto.
22509
22510 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22511 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22512 RedHat 4.0.
d63a86f8 22513
c906108c 22514 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22515 linux. This allows the test case to at least compile on latest
22516 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22517
22518Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22519
22520 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22521 directory to search gdb directory. Accept and step over conditional
22522 stack alignment code. Consume $prompt in failure cases.
22523 Reset timeout to $oldtimeout instead of some arbitrary value.
22524 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22525 timeout problems with infinite stack backtraces.
22526 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22527 Accept function parameters for linkfunc member.
22528
22529Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22530
22531 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22532 (CXXFLAGS): Remove, unreferenced.
22533 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22534 previous -B options and also add -B option to pick up cross compiled
22535 runtime.
c906108c
SS
22536 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22537 doing cross compiles.
22538 (target_alias): Declare global.
22539 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22540 to verify that gcc exists in build tree, and if so set CC to that
22541 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22542
c906108c
SS
22543Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22544
22545 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22546 ptype test for anonymous union. Fixup testcase to match
22547 current gcc debug output.
22548
22549Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22550
22551 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22552 force argument to an unsigned long type.
22553
22554Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22555
22556 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22557 tests and anonymous union print/ptype tests.
c906108c
SS
22558 * gdb.base/list.exp (test_forward-search): Increase timeout by
22559 5 minutes for the "search extremely long line" case.
22560 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22561 completely optional and that the pass/fail messages use the command as
22562 the message if that third arg is a null string.
22563 (gdb_test_exact): Arrange that a null string pattern means match a
22564 null string output rather than any output, which might include random
889bf7c5 22565 errors.
c906108c
SS
22566 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22567 backtrace test.
22568 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22569 always failing and failure is now exposed by gdb.exp changes.
22570
22571Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22572
22573 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22574 weren't being noted.
22575
22576Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22577
22578 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22579 * gdb.stabs/weird.exp: Remove v_comb xfails.
22580
dc96c6c7 22581Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22582
22583 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22584 list.exp scope.exp watchpoint.exp]
c906108c 22585 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22586
dc96c6c7 22587Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22588
22589 * config/monitor.exp: Increase download timeout to 1000 seconds.
22590
dc96c6c7 22591Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22592
22593 * config/m32r.exp: Increase timeout to 120 seconds.
22594
22595Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22596
22597 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22598 and accept older ordering as obsolescent gcc or gdb.
22599 * gdb.c++/templates.exp: Ditto.
22600 * gdb.c++/virtfunc.exp: Ditto.
22601
22602Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22603
22604 * gdb.base/coremaker.c: Add code to mmap some data so we
22605 can check that it ends up in the core file.
22606 * gdb.base/corefile.exp: Add test to read mmapped data
22607 from core file.
22608
dc96c6c7 22609Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22610
22611 * config/m32r.exp: New file.
22612
22613Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22614
22615 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22616 that cflags can contains -gstabs, and work correctly for other tests.
22617
dc96c6c7 22618Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22619
22620 * gdb.base/setshow.exp: New file, tests show and set.
22621 * gdb.base/setshow.c: New file, tests show and set.
22622 * gdb.base/help.exp: Add test for help set|show annotate.
22623 * gdb.base/default.exp: Add test for set|show annotate.
22624
22625Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22626
22627 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22628 errors unique.
22629 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22630 explicitly.
22631
22632Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22633
22634 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22635 and width commands. This is done elsewhere.
22636 * (gdb_start): Don't call gdb_start_sim here. That's already
22637 done in gdb_load. This fixes lots of failures in default.exp.
22638
22639Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22640
22641 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22642 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22643 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22644 in the same we we treat other failures (since it may be an expected
889bf7c5 22645 condition), rather than as an error.
c906108c
SS
22646 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22647 old test format.
22648
22649Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22650
22651 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22652 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22653 twice. Nuke the duplicates.
c906108c 22654 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22655 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22656 Remove config.h along with other config files.
22657
22658Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22659
22660 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22661 "p func1 ()" and note that rests of tests are skipped.
22662 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22663 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22664 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22665 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22666 affected by the previous run test.
22667 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22668 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22669 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22670 "pass int powerset tuple" and "pass modeless int powerset tuple".
22671 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22672 "real write 4" and "real write 8".
22673 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22674 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22675 "print \$i after tuple assign 2", and
22676 "print vs2 after tuple assign 2".
22677 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22678 meaningful error message and return -1 so the caller can
22679 suppress further tests and avoid a cascade of errors.
d63a86f8 22680
c906108c
SS
22681Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22682
22683 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22684 format for printing version.
22685 * gdb.base/default.exp: Ditto.
22686 * gdb.base/interrupt.exp: Fix problem with cascade of
22687 errors if child process dies while calling a function.
d63a86f8 22688
c906108c
SS
22689Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22690
22691 * Makefile.in (VPATH): Add
22692 * Makefile.in (Makefile, config.status): Fix rules so things get
22693 remade when necessary.
22694
22695Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22696
22697 * Makefile.in (just-check): Add path to sibling expect dir
22698 to environment variable specified by RPATH_ENVVAR.
22699
22700Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22701
22702 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22703 (just-check): Add shared library paths for libstdc++, tk,
22704 tcl, bfd, and opcodes to the environment variable specified
22705 in RPATH_ENVVAR.
22706 * configure.in: Add support to recognize --enable-shared flag
22707 and generate correct value for RPATH_ENVVAR.
22708 * configure: Regenerated with autoconf.
22709
22710Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22711
22712 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22713 include all osf versions.
c906108c
SS
22714 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22715 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22716 when target is linux. When failing to build pthreads test
22717 executable, give more meaningful message.
22718 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22719 arg for pthread_create.
d63a86f8 22720
c906108c
SS
22721Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22722
22723 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22724 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22725 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22726 and -lpthreads (everybody else).
c906108c
SS
22727 (test_startup): Fail gracefully if threads are not supported.
22728 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22729 "p/c array_index("abcdef",2)" when not gcc compiled.
22730 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22731 "print func2::coremaker_local" when not gcc compiled.
22732 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22733 "ptype on opaque struct tagname (statically)",
22734 "ptype on opaque struct tagname (dynamically) 1", and
22735 "ptype on opaque struct tagname (dynamically) 2"
22736 for not compiled with gcc.
22737 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22738 backtrace when compiled with gcc.
d63a86f8 22739 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22740 than always return success.
22741
22742Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22743
22744 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22745
22746Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22747
22748 * gdb.base/structs.exp: Undo last change.
22749
22750Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22751
22752 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22753 encapsulate all the steps/nexts done during self test, starting
22754 at main, and makes them less sensitive to optimization issues.
22755 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22756 signal handler" test.
22757 * gdb.threads/pthreads.exp: Only run this for native configs.
22758 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22759 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22760 tests.
22761 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22762 for "runto test_calls(void)" test.
d63a86f8 22763
c906108c
SS
22764Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22765
22766 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22767 and don't expect address info in breakpoint confirmations.
22768
22769Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22770
22771 * gdb.base/list.exp (test_forward_search): Increase timeout
22772 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22773 and then reset to old value when done. Increase expect input
c906108c
SS
22774 buffer to 10000.
22775
22776Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22777
22778 * gdb.base/list.exp (test_forward_search): Fix to handle very
22779 long source line without overflowing expect's input buffer.
22780
22781Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22782
22783 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22784 "buffer_full".
22785
22786 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22787 "buffer_full".
22788
22789 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22790 "buffer_full".
22791
22792 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22793 "buffer_full".
22794
22795Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22796
22797 * configure.in (configdirs): Add gdb.threads.
22798 * configure: Regenerated with autoconf.
22799 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22800 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22801 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22802
c906108c
SS
22803Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22804
22805 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22806
22807Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22808
22809 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22810 each signal's status in the output of "handle all print".
22811 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22812 the \r\n sequence that immediately precedes the gdb prompt.
22813 * gdb.base/a1-selftest.exp: Save original timeout and restore
22814 after test.
22815
22816Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22817
22818 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22819 symbol.
22820
22821Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22822
22823 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22824
22825Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22826
22827 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22828 timeout by 60 seconds.
22829
22830Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22831
22832 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22833 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22834 error return.
22835
22836Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22837
22838 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22839 gdb initialization, also report how long dejagnu waited. Restore
22840 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22841 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22842
22843Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22844
22845 * lib/gdb.exp: Report timeout value for verbosity level 2.
22846 * config/gdbserver.exp: Ditto.
22847 * config/hppro.exp: Ditto.
22848 * config/mips-gdb.exp: Ditto.
22849 * config/monitor.exp: Ditto.
22850 * config/netware.exp: Ditto.
22851 * config/sim-gdb.exp: Ditto.
22852 * config/slite-gdb.exp: Ditto.
22853 * config/udi-gdb.exp: Ditto.
22854 * config/unix-gdb.exp: Ditto.
22855 * config/vx-gdb.exp: Ditto.
22856 * gdb.base/a1-selftest.exp: Ditto.
22857 * gdb.base/a2-run.exp: Ditto.
22858 * gdb.base/break.exp: Ditto.
22859 * gdb.base/corefile.exp: Ditto.
22860 * gdb.base/list.exp: Ditto.
22861 * gdb.base/recurse.exp: Ditto.
22862 * gdb.base/scope.exp: Ditto.
22863 * gdb.base/signals.exp: Ditto.
22864
22865Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22866
22867 * gdb.threads/Makefile.in (docdir): Removed.
22868
22869Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22870
22871 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22872 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22873 @srcdir@.
d63a86f8 22874 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22875 autoconf 2.5 or higher.
22876 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22877
22878Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22879
22880 * configure: Regenerated.
22881 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22882 avoid name clashes with SunOS headers.
22883
22884Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22885
22886 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22887
22888Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22889
22890 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22891 prototype information ends up in the compiler info file.
22892
22893Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22894
22895 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22896 attempting to regenerate it. Eliminate use of a temporary file
22897 and just generate the info file directly. Source it immediately,
22898 for consistency of use.
22899 * gdb.base/corefile.exp: Ditto
22900 * gdb.base/exprs.exp: Ditto.
22901 * gdb.base/funcargs.exp: Ditto.
22902 * gdb.base/langs.exp: Ditto.
22903 * gdb.base/list.exp: Ditto.
22904 * gdb.base/mips_pro.exp: Ditto.
22905 * gdb.base/nodebug.exp: Ditto.
22906 * gdb.base/opaque.exp: Ditto.
22907 * gdb.base/ptype.exp: Ditto.
22908 * gdb.base/scope.exp: Ditto.
22909 * gdb.base/setvar.exp: Ditto.
22910 * gdb.base/signals.exp: Ditto.
22911 * gdb.base/whatis.exp: Ditto.
22912 * gdb.c++/templates.exp: Ditto.
22913 * gdb.c++/virtfunc.exp: Ditto.
22914 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22915 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22916
22917Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22918
22919 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22920 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22921 Increase timeout, a lot of single stepping might be needed if the
22922 target has no hardware watchpoints.
22923
22924Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22925
22926 * gdb.base/break.exp: Ignore compiler warnings when compiling
22927 break.c.
22928 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22929 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22930 from remote-sim.
22931 * gdb.base/exprs.exp: Add h8300 xfails.
22932 * gdb.base/funcargs.exp: Likewise.
22933 * gdb.base/nodebug.exp: Likewise.
22934 * gdb.base/printcmds.exp: Likewise.
22935 * gdb.base/ptype.exp: Likewise.
22936 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22937 h8300 xfails.
d63a86f8 22938 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22939 on the h8300.
22940 * gdb.base/funcargs.c: Explicitly make last constant argument to
22941 call_after_alloca_subr an unsigned long type.
22942 * gdb.base/return.c: Include stdio.h.
22943
22944Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22945
22946 * config/abug.exp: New file for the older Motorola Bug monitor
22947 that runs on the mvme13x series VME boards.
22948 * config/monitor.exp: Use the new config array for target settings
22949 if they exist.
22950
22951Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22952
22953 * sim-gdb.exp: Make the SH simulator allocate less space when
22954 it is targeted.
22955
22956Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22957
22958 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22959 test.
22960
22961Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22962
22963 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22964 "rs6000-*-*" for "list function in include file" when gcc compiled.
22965 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22966 for "p ctable1[120]".
22967 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22968 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22969 Remove setup_xfail for "rs6000-*-*" for
22970 "print 'scope0.c'::filelocal before run".
22971 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22972 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22973 since some compilers don't allow both options to be given
22974 on the same command line. Create object file and move it.
d63a86f8 22975
c906108c
SS
22976Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22977
22978 * gdb.base/corefile.exp: Always regenerate the core file, since
22979 we always regenerate the coremaker program. Detect special case
22980 where registers cannot be read from core file.
d63a86f8 22981
c906108c
SS
22982Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22983
22984 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22985 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22986 * gdb.c++/templates.exp: Only match on basename of file since
22987 some formats like xcoff don't encode directory information.
22988 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22989 and rs6000 AIX xcoff targets.
22990 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22991 * configure: Regenerate.
22992 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22993 here, rather than in distclean.
d63a86f8 22994
c906108c
SS
22995Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22996
22997 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22998 defined, and use it to compile the test case with -O2. The
22999 native compilation still uses no optimization.
23000 * gdb.base/mips_pro.c: Remove inline assembly code since
23001 it is compiled PIC by default, which results in assembler
23002 warnings that make the testsuite think the compilation
23003 was unsuccessful.
23004
23005Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23006
23007 * gdb.c++/misc.exp: Add note to message for
23008 "print s.a for foo struct" that this is a known gcc 2.7.2
23009 and earlier bug.
23010
23011Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23012
23013 * gdb.base/break.exp: Fix pattern for matching "Delete all
23014 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23015 setup_xfail for deleting all breakpoints test. Fix various
23016 timeout messages to include "(timeout)".
23017 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23018 for "p t_float_values2(3.14159,float_val2)".
23019 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23020 for "continue to call2g" when gcc compiled.
23021 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23022 "up to foo in langs.exp", "show language at foo in langs.exp",
23023 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23024 and "show language at fsub in langs.exp".
23025 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23026 "list line 1 in include file", "list message for lines past EOF",
23027 "list function in include file", "list list0.h:foo", and
23028 "list filename:function; nonexistant function".
23029 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23030 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23031 and "ptype t_char_array" to be for native cc only.
d63a86f8 23032
c906108c
SS
23033Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23034
d63a86f8 23035 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23036 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23037 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23038
23039Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23040
23041 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23042 "bt in signals.exp". This problem only appears when running
23043 the testsuite, and then only intermittently.
23044
23045Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23046
23047 * gdb.base/return.exp (return_tests): Differentiate between
23048 two tests of continuing.
23049
23050Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23051
23052 * */Makefile.in (maintainer-clean): Remove config.log.
23053 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23054 * gdb.c++/Makefile.in (PROGS): Add inherit.
23055 (clean): Remove *.ci.
23056
23057Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23058
23059 * gdb.c++/misc.cc: Add test code from Mike Stump.
23060 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23061
23062Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23063
23064 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23065 to "alpha-*-osf2*" and add comment.
23066 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23067 setup_xfail for "step over execarg initialization" and
23068 "step over corearg initialization".
c906108c
SS
23069 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23070 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23071 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23072 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23073 "print func2::coremaker_local", and "backtrace in corefile.exp".
23074 * gdb.base/signals.exp: Build and source signals.ci.
23075 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23076 to be for gcc only.
23077 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23078
c906108c
SS
23079Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23080
23081 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23082 Feb 3 procfs.c change.
23083
23084Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23085
23086 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23087
23088Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23089
23090 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23091 from dejagnu's apparent default of 10 seconds, which gives random
23092 results when running the tests over NFS on moderately loaded systems.
23093 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23094
23095Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23096
23097 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23098 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23099 result reports.
c906108c
SS
23100
23101Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23102
23103 * configure.in (CY_AC_PATH_TCLH): Remove.
23104 * configure: Regenerate.
23105
23106Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23107
23108 * gdb.c++/Makefile.in (clean): Add missing '{'.
23109
23110Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23111
23112 * lib/gdb.exp: Provide a default value for noinferior.
23113
23114 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23115 Load libgloss.exp.
23116
23117Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23118
23119 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23120 the executable, not the .o to run the tests from.
23121
23122Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23123
23124 * gdb.base/break.exp: Don't test for program exit or exit status
23125 if $noresults if nonzero.
23126 * gdb.base/langs.exp: Likewise.
23127 * gdb.base/watchpoint.exp: Likewise.
23128
23129 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23130 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23131 trying to compile the testcase.
23132
23133Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23134
23135 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23136 * gdb.base/signals.exp (continue to handler): Likewise.
23137
23138Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23139
23140 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23141
23142 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23143
23144Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23145
23146 * gdb.base/corefile.exp: Recognize "not found" as failure
23147 when trying to determine if a core file was generated.
23148 If no core file was generate the first time, try again without
23149 the ulimit -c to work around braindamaged shells.
23150
23151Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23152
23153 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23154 [] tests with "test" and enclose string in quotes.
23155 * gdb.stabs/configure: Rebuild
d63a86f8 23156
c906108c
SS
23157Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23158
23159 Changes in sync with expect:
23160 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23161 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23162 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23163 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23164 argument to AC_REQUIRE.
23165 * configure: Regenerated.
23166
23167Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23168
23169 * gdb.base/corefile.exp: When generating a core, discard any
23170 error messages about ulimit not found and the "core dumped"
23171 message from the shell that runs the coredumper.
23172
23173Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23174
23175 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23176
23177 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23178 which sed script to run. Expect failure for v_comb test
23179 on PA targets too.
d63a86f8 23180
c906108c
SS
23181Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23182
23183 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23184 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23185
23186Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23187
23188 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23189 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23190 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23191 * lib/gdb.exp (default_gdb_start): Fix typo.
23192 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23193 messages to not include the full program name that caused
23194 the core dump since some systems (such as solaris) apparently
23195 truncate this path to about 80 characters.
23196 When generating a core file first try increasing the core file
23197 size limit to unlimited since some systems may default it to
23198 zero, and it is harmless to try it. Move the test for failing
23199 to generate a core file to where it will actually get executed.
23200 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23201 new gdb result from g++ debug info improvements and make old
23202 pattern obsolescent. Also account for size_t differences
23203 (may be int or long).
23204 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23205 initialization before function call is placed in the delay slot
23206 and thus appears to be skipped over by commands such as "next".
23207
23208Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23209
23210 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23211
23212Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23213
23214 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23215 input source file; fix code to compile test to deal with this
23216 convention.
23217 * gdb.c++/*.exp: Likewise.
23218
23219Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23220
23221 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23222 "bt in signals.exp".
23223
23224Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23225
23226 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23227 "step over execarg initialization" and
889bf7c5 23228 "step over corearg initialization".
c906108c
SS
23229
23230Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23231
23232 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23233 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23234
23235Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23236
23237 From Rob Savoye (rob@poseidon.cygnus.com)
23238 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23239 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23240 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23241 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23242 configure.in}: Major reworking for autoconfig.
c906108c
SS
23243 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23244 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23245 New files.
c906108c
SS
23246 * config/unix-gdb.exp: Make GDB global.
23247 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23248 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23249 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23250 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23251 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23252 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23253 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23254 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23255 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23256 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23257 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23258 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23259 to returns as necessary, arrange for test to compile own testcase
23260 executable.
c906108c 23261 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23262
c906108c
SS
23263Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23264
23265 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23266 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23267 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23268 "backtrace through signal handler".
23269
23270Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23271
23272 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23273 continuing from a job control stop signal.
23274 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23275
23276Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23277
23278 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23279 * gdb.base/corefile.exp: Likewise.
23280 * gdb.base/funcargs.exp: Likewise.
23281
23282Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23283
23284 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23285 * config/monitor.exp: Add support for setting baud rate.
23286
23287Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23288
23289 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23290 i*86-*-linux* xfails for "backtrace through signal handler".
23291 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23292 "print func2::coremaker_local".
23293 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23294 alpha-dec-osf2* xfail for
c906108c
SS
23295 "delete all breakpoints when none".
23296
23297Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23298
23299 * gdb.base/break.exp: Change test that deletes all breakpoints
23300 when no user breakpoints are installed. A post 4.15 change
23301 causes gdb to no longer prompt in this case.
23302
23303Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23304
23305 * gdb.base/return.exp (return_tests): Change xfail for test
23306 "correct value returned double test" to stop xfailing at
23307 Solaris 2.5. Apparently the bug has been fixed.
23308
23309Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23310
23311 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23312 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23313
23314Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23315
23316 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23317 * gdb.disasm/hppa.s: Corresponding changes.
23318
23319Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23320
23321 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23322 makefile fragment.
23323 * config/mt-hpux: Deleted.
23324
23325Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23326
d63a86f8 23327 * Many files: When warning about suppressed tests due to a
c906108c
SS
23328 nonexistant test binary, avoid incrementing the warning count.
23329
23330Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23331
23332 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23333
c906108c
SS
23334Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23335
23336 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23337 "sparc-*-solaris2*".
23338
23339Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23340
23341 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23342 Add global and local variables and initialize them.
23343 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23344 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23345 extracts the file name and terminating signal from the core file.
23346 * TODO: Remove note about tests for correct mapping of corefile.
23347 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23348 from optimizing it away.
23349 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23350 handles common blocks.
23351
23352Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23353
23354 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23355 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23356
23357Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23358
23359 * Makefile.in (maintainer-clean): New target, synonym for
23360 realclean.
23361 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23362 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23363 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23364 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23365 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23366 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23367
23368Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23369
23370 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23371 xfails when not gcc compiled for "print foo::funclocal".
23372 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23373 "print foo::funclocal at foo",
23374 "print 'scope1.c'::foo::funclocal at foo",
23375 "print foo::funclocal_bss at foo",
23376 "print 'scope1.c'::foo::funclocal_bss at foo",
23377 "print foo::funclocal_ro at foo",
23378 "print 'scope1.c'::foo::funclocal_ro at foo",
23379 "print bar::funclocal at foo" and
23380 "print 'scope1.c'::bar::funclocal at foo".
23381 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23382 gcc compiled for "print foo::funclocal at bar".
23383 Expand all messages to ensure that they identify that
23384 the test is at bar().
23385 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23386 gcc compiled for:
23387 "ptype on opaque struct pointer (statically)",
23388 "ptype on opaque struct tagname (statically)",
23389 "ptype on opaque struct pointer (dynamically) 1",
23390 "ptype on opaque struct tagname (dynamically) 1",
23391 "ptype on opaque struct pointer (dynamically) 2" and
23392 "ptype on opaque struct tagname (dynamically) 2
23393 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23394 gcc compiled for:
23395 "p datalocal"
23396 "whatis datalocal",
23397 "ptype datalocal",
23398 "p bsslocal",
23399 "whatis bsslocal", and
23400 "ptype bsslocal".
23401 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23402 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23403 when not gcc compiled.
23404 * gdb.base/funcargs.exp (float_and_integral_args): Add
23405 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23406 compiled.
23407 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23408 "backtrace from call6a" when not gcc compiled.
23409 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23410 "backtrace from call7a" when not gcc compiled.
23411 * gdb.base/callfuncs.exp (do_function_calls):
23412 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23413 "p t_char_array_values(char_array_val2,char_array_val1)",
23414 "p t_char_array_values(char_array_val1,char_array_val2)",
23415 "p t_char_array_values("carray 1","carray 2")",
23416 "p t_char_array_values("carray 1",char_array_val2)",
23417 "p t_char_array_values(char_array_val1,"carray 2")",
23418 "p sum_args(1,{2})",
23419 "p sum_args(2,{2,3})",
23420 "p sum_args(3,{2,3,4})",
23421 "p sum_args(4,{2,3,4,5})"
23422 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23423 "backtrace in corefile.exp" when not gcc compiled.
23424
23425Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23426
23427 * gdb.base/signals.exp: Rewrite `handle all print' test as
23428 a procedure. Accept blanks or TABs as whitespace, increase
23429 timeout and expect input buffer size for the large output
23430 from the command. Remove "i*86-*-bsdi2.0" xfail.
23431
23432Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23433
23434 * gdb.base/setvar.exp: Add new testcases for truncation when
23435 assigning invalid values to bitfields.
23436
23437Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23438
d63a86f8 23439 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23440 mips-sgi-irix* xfail for
23441 "call inferior func with struct - returns char *"
23442 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23443 accepted in the result.
c906108c
SS
23444
23445Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23446
23447 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23448 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23449 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23450 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23451 that accidentally got checked in.
23452
23453Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23454
d63a86f8 23455 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23456 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23457 compiled test.
23458 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23459 Add mips-sgi-irix5* xfail for not gcc compiled.
23460 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23461 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23462 "p top", "whatis top", "p middle", and "whatis middle".
23463 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23464 "whatis signed char" for not gcc compiled.
23465 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23466 "set variable signed char=-1 (-1)" and
23467 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23468 * gdb.base/funcargs.exp (float_and_integral_args):
23469 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23470 Add mips-sgi-irix* xfail when not gcc compiled for
23471 "continue to call2b".
23472 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23473 "continue to call2g".
23474 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23475 "backtrace from call6a"
23476 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23477 "backtrace from call7k".
23478 Add mips-sgi-irix5* xfail when not gcc compiled for
23479 "backtrace from call7a".
23480 (localvars_after_alloca): Fix gdb_test cmds for
23481 "print * after runto ...".
23482 Remove rs6000-*-* xfails for
23483 "print i after runto localvars_after_alloca" and
23484 "print l after runto localvars_after_alloca"
23485 for all compilers.
23486 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23487 when not compiled with gcc, for:
c906108c
SS
23488 "print signed char == (minus)",
23489 "print signed char != (minus)",
23490 "print signed char < (minus)",
23491 "print signed char > (minus)".
23492 * gdb.base/callfuncs.exp (do_function_calls):
23493 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23494 "call inferior func with struct - returns char *".
d63a86f8 23495 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23496 "correct value returned double test" to include Solaris 2.4.
23497 * gdb.base/funcargs.exp (float_and_integral_args):
23498 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23499
c906108c
SS
23500Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23501
23502 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23503 enumeration bitfields if compiling with GNU C.
23504 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23505 to empty' prompt.
23506
23507Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23508
23509 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23510 test for PRO targets.
23511
23512 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23513 breakpoints in the inferior at any given time by making
23514 two groups of breakpoints for call2*, call6* and call7*
23515 tests.
23516
23517Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23518
23519 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23520 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23521 from optimizing it away.
23522 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23523 "call inferior func with struct".
23524
23525Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23526
23527 * configure.in: Only configure gdb.chill for particular targets.
23528
23529Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23530
23531 * gdb.base/Makefile.in: Add action to .c.o transformation
23532 rule that generates a .ci file for each .o file and remove
23533 explicit .c.o rules except for callfuncs.o.
23534 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23535 generates a .ci file for each .o file and remove explicit
23536 .cc.o rules.
23537 (clean): Remove *.tmp *.ci files.
23538 (EXECUTABLES): Remove templ-info.exp.
23539 * gdb.base/compiler.c: New file.
23540 * gdb.c++/compiler.cc: New file
23541 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23542 Change rs6000-*-* xfail for
23543 "print 'scope0.c'::filelocal_ro" and
23544 "print 'scope1.c'::filelocal" and
23545 "print 'scope1.c'::filelocal_bss" and
23546 "print 'scope1.c'::filelocal_ro" and
23547 "print 'scope1.c'::foo::funclocal" and
23548 "print 'scope1.c'::foo::funclocal_ro" and
23549 "print 'scope1.c'::bar::funclocal" and
23550 "print 'scope0.c'::filelocal_ro" and
23551 "print 'scope1.c'::filelocal at foo" and
23552 "print 'scope1.c'::filelocal_bss at foo" and
23553 "print 'scope1.c'::filelocal_ro at foo" and
23554 "print 'scope1.c'::foo::funclocal at foo" and
23555 "print 'scope1.c'::foo::funclocal_bss at foo" and
23556 "print 'scope1.c'::foo::funclocal_ro at foo" and
23557 "print 'scope1.c'::bar::funclocal at foo" and
23558 "print 'scope0.c'::filelocal_ro" and
23559 "print 'scope1.c'::filelocal" and
23560 "print 'scope1.c'::filelocal_bss" and
23561 "print 'scope1.c'::filelocal_ro" and
23562 "print 'scope1.c'::foo::funclocal" and
23563 "print 'scope1.c'::foo::funclocal_bss" and
23564 "print 'scope1.c'::foo::funclocal_ro" and
23565 "print 'scope1.c'::bar::funclocal" and
23566 "print 'scope1.c'::bar::funclocal_bss"
23567 to only be xfail'd when not compiled with gcc.
d63a86f8 23568 Add rs6000-*-* xfail for
c906108c
SS
23569 "print 'scope0.c'::filelocal_bss before run"
23570 when compiled with gcc.
23571 (test_at_main): Add rs6000-*-* xfail for
23572 "print filelocal_ro in test_at_main"
23573 when compiled with gcc.
23574 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23575 Add rs6000-*-aix* xfail for
c906108c
SS
23576 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23577 "ptype t_char_array", not compiled with gcc.
23578 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23579 xfail for "list foo (in include file)" when gcc compiled.
23580 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23581 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23582 "run to call0a" if not compiled with gcc.
23583 (unsigned_integral_args): Add rs6000-*-* xfail for
23584 "run to call1a" if not compiled with gcc.
23585 (float_and_integral_args): Add rs6000-*-* xfail for
23586 "run to call2a" if not compiled with gcc and for
23587 "continue to call2b" for any compiler.
23588 Add rs6000-*-* xfail to
23589 "print f1 after run to call2a" for gcc compiled.
23590 (discard_and_shuffle): Add rs6000-*-* xfail for
23591 "run to call6a".
23592 (shuffle_round_robin): Add rs6000-*-* xfail for
23593 "backtrace from call7a" if not compiled with gcc.
23594 Add rs6000-*-* xfail for
23595 "backtrace from call7b" if compiled with gcc.
23596 (call_after_alloca): Add rs6000-*-* xfail for
23597 "print c in call_after_alloca" and
23598 "print s in call_after_alloca" and
23599 "backtrace from call_after_alloca_subr"
23600 if not compiled with gcc.
23601 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23602 "print c in localvars_in_indirect_call" and
23603 "print c in localvars_in_indirect_call" and
23604 "backtrace in indirectly called function" and
23605 "stepping into indirectly called function"
23606 if not compiled with gcc.
23607 (localvars_after_alloca): Add rs6000-*-* xfail for
23608 "print c after runto localvars_after_alloca" and
23609 "print s after runto localvars_after_alloca" and
23610 "print i after runto localvars_after_alloca" and
23611 "print l after runto localvars_after_alloca"
23612 for all compilers.
23613 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23614 than whatis-info.exp.
23615 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23616 than opaque-info.exp.
23617 Setup rs6000-*-* xfail for
d63a86f8 23618 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23619 "ptype on opaque struct pointer (dynamically)" when
23620 not compiled with gcc.
23621 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23622 rather than callf-info.exp.
23623 (do_function_calls): Add clear_xfail for rs6000-*-* for
23624 "p t_float_values2(3.14159,float_val2)". Seems to work
23625 fine there, both with xlc and gcc. Need to find out what
23626 it is doing right and fix other platforms.
23627 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23628 "call inferior func with struct - returns int",
23629 "call inferior func with struct - returns long",
23630 "call inferior func with struct - returns float",
23631 "call inferior func with struct - returns double",
23632 "call inferior func with struct - returns char *",
23633 but only if not gcc compiled (presumes xlc compiled).
23634 Change rs6000-*-* xfails for
23635 "call inferior func with struct - returns char" and
23636 " call inferior func with struct - returns short" to only
23637 xfail if not using gcc.
23638 (clean mostlyclean): Remove *.ci and *.tmp files.
23639 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23640 than templ-info.exp.
23641 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23642 Add rs6000-*-* xfail for "up to foo in langs.exp"
23643 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23644 when not gcc compiled.
d63a86f8 23645
c906108c
SS
23646Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23647
23648 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23649 * gdb.base/corefile.exp: Likewise.
23650 * gdb.base/list.exp: Likewise.
23651 * gdb.base/scope.exp: Likewise.
23652 * gdb.base/siganls.exp: Likewise.
23653
23654 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23655 compiler output.
23656 * gdb.base/whatis.exp: Likewise.
23657
23658Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23659
23660 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23661 failure (opcode table has been fixed to match reality).
23662
23663Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23664
23665 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23666 "call inferior func with struct - returns char",
23667 "call inferior func with struct - returns short"
23668
23669 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23670 "print 'scope0.c'::filelocal at main",
23671 "print 'scope0.c'::filelocal_bss in test_at_main",
23672 "print 'scope0.c'::filelocal at foo",
23673 "print 'scope0.c'::filelocal_bss in test_at_foo",
23674 "print 'scope0.c'::filelocal at bar",
23675 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23676
c906108c
SS
23677 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23678 in source file 1". This bug seems to have been fixed with both
23679 gcc and native cc (was native assembler bug?).
23680
23681Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23682
23683 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23684 "backtrace through signal handler" to "i*86-*-sysv4*".
23685 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23686 continue" case. Add "known SVR4 bug" to fail message.
23687 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23688 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23689 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23690 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23691 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23692 "up to foo in langs.exp", "show language at foo in
23693 langs.exp", "up to cppsub_ in langs.exp", "show
23694 language at cppsub_ in langs.exp", "up to fsub in
23695 langs.exp", and "show language at fsub in langs.exp".
23696 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23697 "bactrace in corefile.exp".
23698 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23699 "call inferior function with struct - returns float" and
23700 "call inferior function with struct - returns double".
d63a86f8 23701
c906108c
SS
23702Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23703
23704 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23705 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23706 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23707 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23708
23709Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23710
23711 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23712 (or overriden) "CHILL" macro rather then bare "gcc".
23713 Also look for ../../gcc/xgcc since that is what we will
23714 actually need, not "Makefile". Remove following assignment
23715 of CHILL to CHILL_FOR_TARGET because that results in
23716 recursive definition.
23717
23718Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23719
23720 * gdb.base/corefile.exp: Change xfail for backtrace in
23721 corefile.exp from linuxaout to all linux.
23722 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23723 cases where we miss the breakpoint at the signal handler
23724 for some reason. Setup xfail for linuxoldld/linuxaout and
23725 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23726 hitting SIGURG breakpoint.
23727 * gdb.base/signals.exp: Setup xfail for "next" acting like
23728 continue to add linuxoldld. Setup xfail for all linux for
23729 "next to handler in signals_tests_1", "backtrace in
23730 signals_tests_1", "continue to func1", "pass SIGUSR1",
23731 and continue to handler".
23732
23733Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23734
23735 * Update all FSF addresses except those in COPYING* files.
23736
23737Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23738
23739 * gdb.base/a2-run.exp: Change messages to be more explicit about
23740 the status of args, and quote binfile in results.
23741
23742Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23743
23744 * gdb.base/callfuncs.exp: Add tests for passing structs to
23745 inferior functions and return various types.
23746 * gdb.base/callfuncs.c: Add functions to receive a struct
23747 and return a member of the struct, in various types.
23748
23749Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23750
23751 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23752
23753Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23754
23755 * config/vxworks29k.exp: New file, sources vxworks.exp.
23756
23757Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23758
23759 * config/gdbremote.exp: New file. Testing framework using
23760 gdbserver.
23761
23762Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23763
23764 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23765 "call function when asleep" and "send end of file".
23766 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23767 for "backtrace in corefile.exp".
23768 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23769 for "backtrace through signal handler".
23770 * gdb.base/corefile.exp: Make sure we actually generate a core file
23771 before trying the core tests. Some systems allow the user to suppress
23772 generation of core files and default to that (linux for example).
23773 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23774 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23775
23776Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23777
23778 * gdb.threads: New directory with some crude multi-threaded
23779 gdb tests (step.exp and step2.exp).
23780 * config/mt-lynx (STEP_EXECUTABLE): Define.
23781 (THREADFLAGS): Define.
23782
23783Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23784
23785 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23786
23787 * gdb.base/signals.exp: Disable whole file for lynx until
23788 further notice.
23789
23790 * gdb.base/signals.exp: xfail test where "next" acts like
23791 "continue" for lynx.
23792
23793 * gdb.base/interrupt.exp: xfail test for calling function while
23794 inferior is asleep for lynx.
23795
23796 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23797 than one cr-lf after each command.
23798
23799Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23800
23801 * configure.in: Reinstate setting of stabsdirs variable, fix
23802 typo in setting up configdirs for native builds.
23803
23804 * gdb.base/return.exp: Fix typo in return double test.
23805 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23806 compiler from optimizing them away.
23807
23808Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23809
23810 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23811 sequences to be echo'd by gdb when using gdb_test.
23812 * gdb.chill/chexp.exp: Likewise.
23813 * gdb.fortran/exprs.exp: Likewise
23814
23815Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23816
23817 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23818 after the inferior gdb has started.
23819
23820 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23821 after each command.
23822 * gdb.base/funcargs.exp: Likewise.
23823 * gdb.base/gdbvars.exp: Likewise.
23824 * gdb.base/interrupt.exp: Likewise.
23825 * gdb.base/list.exp: Likewise.
23826 * gdb.base/watchpoint.exp: Likewise.
23827 * gdb.c++/demangle.exp: Likewise.
23828 * gdb.c++/inherit.exp: Likewise.
23829 * gdb.chill/chexp.exp: Likewise.
23830 * gdb.fortran/exprs.exp: Likewise.
23831
23832 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23833 test if we can't handle IO to/from the inferior.
23834
23835 * gdb.c++/misc.exp: Always check for a program already being
23836 started after sending a "run" command to gdb.
23837
23838 * gdb.base/twice.exp: Start with a fresh gdb.
23839
23840 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23841 only depend on gdb's expression code, not the chill runtime.
23842
23843 * gdb.base/return.c: Put return values into variables so we
23844 can have gdb print them rather than depending on the program
23845 to print them.
23846 * gdb.base/return.exp: Corresponding changes.
23847
23848 * lib/gdb.exp: Provide default value for noinferiorio.
23849 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23850 the inferior.
23851
23852 * gdb.base/break.exp: Always check for a program already being
23853 started after sending a "run" command to gdb.
23854 (text_next_with_recursion): Don't check the output from the
23855 program's printf statement. Instead just make sure the program
23856 exited.
23857
23858 * gdb.base/commands.exp: Protect tests which need arguments with
23859 $noargs conditionals.
23860
23861Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23862
23863 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23864 of structure member arrays to match gdb/valops.c:value_addr change.
23865
23866Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23867
23868 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23869 cases.
23870
23871Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23872
23873 * configure.in (configdirs): Remove gdb.chill from default list
23874 of subdirs and then add it back in only if doing a native build.
23875 The current chill compiler does not yet work in any cross build.
23876 * Revert all signal changes from Jul 6.
23877 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23878 for sh-hms targets, allowing these tests to link, with no other
23879 changes. Testing is suppressed by setting "nosignals" in site.exp.
23880
23881Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23882
23883 * configure.in (signaldirs): Define and add to configdirs for all
23884 targets except some specific ones that are known to not support signals.
23885 Also clean up formatting.
23886 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23887 (signals, sigall): Remove rules to build.
23888 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23889 Moved to new gdb.signals directory.
23890 * gdb.signals: New test directory.
23891 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23892 signals.c signals.exp}: New or moved files.
23893
23894Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23895
23896 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23897
23898Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23899
23900 * gdb.base/return.exp: Xfail `return double' test failure
23901 on at least Solaris 2.3 and handle future/past versions on
23902 a case by case basis as appropriate. Also update message
23903 to include i*86 failures.
23904
23905Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23906
23907 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23908
23909 * lib/gdb.exp: Fix comment which erroneously identified
23910 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23911 gdb_file_cmd not gdb_load).
23912 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23913
23914 * gdb.base/setvar.exp: Make test names consistent between pass and
23915 fail cases. Use gdb_test more.
23916
23917Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23918
23919 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23920
23921Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23922
23923 * gdb.base/help.exp: Fix expected help string for `show commands'.
23924
23925Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23926
23927 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23928
23929 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23930 of a text section.
23931
23932Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23933
23934 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23935 that loop eventually terminates. Fix Connection refused logic so
23936 that testsuite will expire nicely.
23937
23938Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23939
23940 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23941 config/rom68k.exp: New tcl glue for the appropriate monitors.
23942 These all just end up calling monitor.exp.
23943 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23944 refused' by retrying. Cleanup some timeout issues.
23945 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23946 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23947 callers don't have to set/restore global timeout variable.
23948
23949 * The following set of changes centralizes management of the global
23950 timeout variable. This way, it can be set in one target dependent
23951 place instead of dozens of places scattered throughout the test suite.
23952 If you need to lengthen a timeout, then you should either set timeout
23953 in one of the config/{target}.exp files, or multiply it by a factor.
23954 Setting it to an absolute value is always going to lose for some
23955 targets.
23956 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23957 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23958 * gdb.base/funcargs.exp: Don't set timeout.
23959 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23960 * gdb.base/printcmds.exp (test_print_string_constants
23961 test_print_array_constants): Don't set timeout.
23962 * gdb.base/ptype.exp: Don't set timeout.
23963 * gdb.base/recurse.exp: Don't set timeout.
23964 * gdb.base/return.exp: Don't set timeout.
23965 * gdb.base/watchpoint.exp: Don't set timeout.
23966 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23967 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23968
23969Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23970
23971 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23972
23973Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23974
23975 * lib/gdb.exp: Disable chill tests for irix5.
23976
23977Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23978
23979 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23980 each test pass or fail.
23981
23982Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23983
23984 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23985 xlc not gcc.
23986
23987Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23988
23989 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23990
23991Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23992
23993 * config/est.exp: Fix copyright and comments. Remove dead code.
23994 Use targetname, serialport and baud variables instead of fixed
23995 constants.
23996 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23997 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23998
23999Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24000
24001 * gdb.base/watchpoint.exp: Don't run
24002 test_watchpoint_triggered_in_syscall for sunos.
24003
24004Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24005
24006 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24007 they don't seem to exist. Do include stdio.h.
24008
24009Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24010
24011 * gdb.base/a1-selftest.exp: Add alpha xfail.
24012
24013Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24014
24015 * gdb.base/watchpoint.c (main): Prompt before calling read().
24016 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24017 Revise accordingly. Remove cruft about sending "123" several
24018 times, until it gets noticed. Clean up the "print buf[0]" stuff
24019 so that it passes or fails, and waits for prompts in the usual way.
24020
24021Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24022
24023 * gdb.base/recurse.exp: Fix comment.
24024
24025 * TODO: Remove item about printing variables in nodebug.exp. Add
24026 item about enabling tests which are only run on some targets.
24027
24028 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24029 fail, make test names unique, use new gdb_test convention
24030 regarding pattern, use gdb_test more, etc.).
24031
24032 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24033 fail, make test names unique, etc.).
24034
24035Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24036
24037 * gdb.base/nodebug.c: Change return type of top and middle to
24038 short.
24039 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24040 are fixed by the recent mdebugread.c changes. Allow `short ()'
24041 as type for top and middle.
24042
24043Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24044
24045 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24046 nearly as I can tell, the whole thing was an accident in Stu's
24047 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24048 to replace a send/expect pair with gdb_test, but ended up only
24049 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24050 of 30 Mar 1995 took care of it, but left this vestigial comment
24051 which I am now nuking.
24052
24053Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24054
24055 * gdb.base/break.exp: Look for different line number for
24056 breakpoint at main depending on usestubs.
24057
24058Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24059
24060 * gdb.base/list.exp: Adjust some alternate expect patterns to
24061 match recent list0.c change. Add alternate expect pattern for
24062 output from `list default lines around main' for optimizing
24063 compilers.
24064
24065Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24066
24067 * lib/gdb.exp: If nosignals is not set, set it to 0.
24068
24069Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24070
24071 * config/slite-gdb.exp: Responds to load symbol table prompt.
24072 * gdb.base/break.exp: Adjust line number, fix rerun.
24073 * gdb.base/langs0.c: Add #ifdef usestubs.
24074
24075Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24076
24077 * gdb.base/list.exp: Adjust line contents after adding new lines in
24078 list0.c. Also fix a syntax error.
24079
24080 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24081 * gdb.base/break.exp: ditto.
24082 * gdb.base/list.exp: ditto.
24083 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24084 * gdb.base/run.c: ditto.
24085 * gdb.base/list0.c: ditto.
24086 * gdb.base/funcargs.c: ditto.
24087
24088Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24089
24090 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24091 $targetname, $serialport and $baud instead of hardwired variables.
24092 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24093 target doesn't support signals.
24094
24095Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24096
24097 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24098
24099Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24100
24101 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24102 Don't rely on the value of an auto variable before it has been
24103 initialized. Use gdb_test more.
24104
24105Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24106
24107 * lib/gdb.exp (default_gdb_version): A version number must start
24108 with a digit, but other than that contains all characters up to
24109 the first whitespace character.
24110
24111Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24112
24113 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24114
24115Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24116
24117 * gdb.c++/*.exp: Warn if executable does not exist. The original
24118 reason for skipping the warning was that configure.in sometimes
24119 intentionally skipped building the executables but the tcl code
24120 had no way of knowing. That (a) was always bogus with respect to
24121 error handling, (b) is no longer true (right now there is no way
24122 to skip C++ tests).
24123
24124 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24125
24126Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24127
24128 * gdb.base/list.exp: Add expect patterns for output from
24129 SunPRO compiled executables.
24130 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24131 types.
24132
24133Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24134
24135 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24136 number (we are already testing that the correct source line text
24137 gets printed).
24138
24139 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24140 that is what is intended, but something needed to be done to get
24141 sunos4 native working again.
24142
24143 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24144
24145 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24146 apparently went with a (very) old xfail.
24147
24148Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24149
24150 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24151 runto_main is a proc in gdb.exp that will do 'step' for target use
24152 stubs.
24153 * gdb.base/exprs.exp: ditto.
24154 * gdb.base/interrupt.exp: ditto.
24155 * gdb.base/opaque.exp: ditto.
24156 * gdb.base/printcmds.exp: ditto.
24157 * gdb.base/ptype.exp: ditto.
24158 * gdb.base/scope.exp: ditto.
24159 * gdb.base/setvar.exp: ditto.
24160 * gdb.base/signals.exp: ditto.
24161 * gdb.base/twice.exp: ditto.
24162 * gdb.c++/classes.exp: ditto.
24163 * gdb.c++/inherit.exp: ditto.
24164 * gdb.c++/templates.exp: ditto.
24165 * gdb.base/break.exp: no run and hit main for stubs. Change line
24166 numbers for breakpoints and info breakpoint.
24167 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24168 breakpoint().
24169 * gdb.base/callfuncs.c: ditto.
24170 * gdb.base/exprs: ditto.
24171 * gdb.base/interrupt.c: ditto.
24172 * gdb.base/opaque0.c: ditto.
24173 * gdb.base/printcmds.c: ditto.
24174 * gdb.base/ptype.c: ditto.
24175 * gdb.base/scope0.c: ditto.
24176 * gdb.base/setvar.c: ditto.
24177 * gdb.base/signals.c: ditto.
24178 * gdb.base/twice.c: ditto.
24179 * gdb.c++/misc.cc: ditto.
24180 * gdb.c++/templates.cc: ditto.
24181
24182Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24183
24184 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24185
24186 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24187 somewhere between `read' and `main.c'. I'm pretty sure the
24188 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24189 and it isn't particularly useful.
24190
24191 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24192
24193Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24194
24195 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24196
24197Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24198
24199 * config/mt-slite: add LIBS and -nostdlib.
24200 * config/slite-gdb.exp: add this new file to support sparclite target.
24201
24202Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24203
24204 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24205
24206 * gdb.base/a2-run.exp: Change argument to istarget from
24207 "*-*-vxworks" to "*-*-vxworks*".
24208 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24209
24210Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24211
24212 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24213 will not runto main but do a 'step' to step out of breakpoint().
24214 * config/mt-slite: add -Dusestubs.
24215
24216Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24217
24218 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24219 instead of just @.
24220
24221 * gdb.base/signals.exp: Add test for "handle all print".
24222 * TODO: Remove "handle all print". Also remove item about
24223 checking copyright date (I don't like the idea of a spurious FAIL
24224 based on when we run the tests).
24225
24226 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24227 for SunOS4 (reason for failure not investigated). Remove
24228 redundant test for $binfile.
24229
24230 * gdb.base/nodebug.c (array_index): Call malloc.
24231
24232 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24233
24234Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24235
24236 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24237 conventions and slightly simplify the matching regexp.
24238
24239Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24240
24241 * gdb.base/break.exp: Update gdb_test invocation to use new
24242 convention.
24243
24244 * lib/gdb.exp: If noargs is not set, set it to 0.
24245
24246 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24247 tests unique.
24248
24249 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24250
24251Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24252
24253 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24254 one argument of type "<non-float parameter>".
24255
24256Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24257
24258 * config/rom68k.exp: New file to support Motorola IDP board.
24259 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24260 * gdb.base/break.c: Change things around so that this program
24261 doesn't depend upon args. This is necessary to make remote
24262 targets work (in general, they can't take args).
24263 * gdb.base/break.exp: Don't try to send args to program. Don't
24264 expect output. Also, replace lots of code with gdb_test.
24265
24266Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24267
24268 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24269 printing of '\'' (which is what the comment says we are testing,
24270 even though we were not), not '''.
24271 (test_integer_literals_rejected): Test that printing ''' is an error.
24272
24273 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24274 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24275 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24276 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24277 Use gdb_test not test_print_accept.
24278 * lib/gdb.exp: Remove test_print_accept.
24279
24280 * gdb.base/signals.exp (signal_tests_1): Make pass message
24281 consistent with fail message.
24282
24283 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24284 unsigned char; the bug (PR 1821) is fixed.
24285
24286 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24287
24288 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24289 successful tests--makes xfailing them work right.
24290
24291Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24292
24293 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24294 only \r\n, not .*. The test can pass .* as the last thing in
24295 $pattern if that is what it wants. In addition to providing this
24296 flexibility, this change should speed up pattern matching in cases
24297 where the pattern already ended with .* (there were a number of
24298 them). This change also helps catch bad patterns--in the old
24299 scheme the typo "char \*" instead of "char \\*" would pass. Now
24300 it is caught.
24301 * Many .exp files: Update callers.
24302
24303 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24304 clearer and does not spuriously match multiple ('s. Likewise for
24305 ) and *.
24306
24307 * gdb.base/nodebug.exp: Test ability to call a function and pass
24308 it a string (even with no debugging info).
24309
24310 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24311 "p '\'", which is the same as "p ''" once tcl gets done with
24312 quoting, to "p '\\'", which I suspect is what is intended (one
24313 backslash gets sent to GDB).
24314
24315 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24316
24317Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24318
24319 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24320 1817) was fixed literally years ago.
24321
24322Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24323
24324 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24325 test, it causes stepping out of call_after_alloca_subr with
24326 optimizing compilers.
24327 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24328 fails.
24329
24330 * gdb.c++/templates.exp: Source templ-info.exp only if
24331 the templates executable exists.
24332
24333 * gdb.c++/misc.cc (class Contains_static_instance,
24334 class Contains_nested_static_instance),
24335 gdb.c++/classes.exp (test_static_members): Test printing of
24336 a class that contains a static instance of the class.
24337
24338Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24339
24340 * gdb.base/langs2.c (cppsub_): Don't prototype.
24341 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24342 only, I believe).
24343
24344Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24345
24346 * lib/gdb.exp (skip_chill_tests): New procedure.
24347
24348 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24349
24350Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24351
24352 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24353 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24354
24355Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24356
24357 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24358
24359 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24360 disassemble 8, not 16, instructions for part 4.
24361
24362 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24363 support the latter anymore.
24364
24365 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24366 -DNO_PROTOTYPES.
24367 * gdb.base/callfuncs.c: Control use of prototypes based on
24368 NO_PROTOTYPES, not __STDC__.
24369 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24370 t_float_values2 tests if prototypes in use.
24371
24372 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24373 t_double_values): When checking differences against DELTA, check
24374 that difference is within the range (-DELTA,DELTA), not just
24375 (-infinity,DELTA).
24376
24377Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24378
24379 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24380 'file' command firts, then 'target', then 'load', this is due to gdb
24381 target set up.
24382 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24383
24384Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24385
24386 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24387 FP load/store variants.
24388 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24389
24390Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24391
24392 * gdb.base/term.exp: Do not give a warning if not native, it is
24393 not an abnormal condition.
24394
24395Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24396
24397 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24398 t_char_array".
24399
24400Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24401
24402 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24403 are getting the version number.
24404
24405 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24406 if not native, it is not an abnormal condition.
24407
24408Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24409
24410 * lib/gdb.exp: Just use "file exists", rather than undocumented
24411 dejagnu procedure "findfile".
24412
24413Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24414
24415 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24416 (LDFLAGS): Set to -Xlinker -Ur.
24417
24418 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24419 Removed, these values are set by lib/gdb.exp.
24420
24421 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24422
24423Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24424
24425 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24426 of replicating gdb startup code.
24427
24428 * config/mt-vxworks (LDFLAGS): Set to -r.
24429 (CFLAGS_FOR_TARGET): Removed.
24430
24431 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24432 (gdb) and gdb for vxworks uses (vxgdb).
24433
24434 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24435 executable is not in the tree and host != target, use sed and
24436 program_transform_name to determine the gdb name used by the
24437 target.
24438
24439 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24440 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24441
24442Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24443
24444 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24445 floats, chars, and shorts where there are ANSI-style function
24446 definitions.
24447
24448 * gdb.base/langs.exp, gdb.base/langs*: New test.
24449 * gdb.base/Makefile.in: Build it.
24450 * TODO: Remove item about checking that C names don't get C++
24451 demangling applied; this test tests it.
24452
24453Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24454
24455 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24456 went with the const70 xfail. The xfail went away a year ago.
24457
24458 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24459
24460 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24461 for hp300.
24462
24463 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24464
24465 * gdb.base/a1-selftest.exp: Don't run on hp300.
24466
24467Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24468
24469 * Makefile.in (site.exp): Set host_alias and target_alias as well
24470 as host_triplet and target_triplet.
24471
24472Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24473
24474 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24475
24476 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24477 places as other ecoff systems).
24478
24479 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24480 ultrix.
24481
24482Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24483
24484 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24485 remove them.
24486 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24487 variable and "variable" in addition to "data variable".
24488 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24489
24490 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24491 2.
24492 * gdb.base/list1.c (long_line): Add additional statement at start
24493 of function.
24494 * gdb.base/list.exp (test_forward_search): Update line number to
24495 reflect new statement.
24496
24497Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24498
24499 * gdb.base/signals.exp: Reinitialize searched source directories
24500 after gdb_start call.
24501
24502Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24503
24504 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24505 * gdb.stabs/Makefile.in: Likewise.
24506
24507 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24508 change. Instead split the tests into smaller pieces.
24509 * gdb.disasm/hppa.s: Corresponding changes.
24510
24511Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24512
24513 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24514 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24515
24516 * gdb.base/funcargs.exp: Modify many tests so that every test
24517 either passes or fails. Make some test names unique.
24518
24519Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24520
24521 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24522 Call stty to set interrupt character.
24523
24524 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24525 for HP assembler versus GNU assembler based on actual behavior of
24526 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24527
24528 * TODO: Suggest a few more stepping tests.
24529
24530Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24531
24532 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24533 restart GDB for h8300 after a continue.
24534 (return): Add pattern to match a29k-udi behavior.
24535 * gdb.base/nodebug.exp: Remove obsolete comment.
24536 * gdb.base/regs.exp: New file, testing of register displays.
24537 * gdb.base/return.exp: Fix typo in reference to $objdir.
24538 * gdb.base/whatis.exp: Always start with a fresh GDB.
24539
24540Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24541
24542 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24543 higher, these tests generate a lot of output.
24544
24545Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24546
24547 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24548 code following the catch silently ignored some errors; without the
24549 catch they should be thrown like any other tcl error. Also, the
24550 catch used "" instead of {} which meant all the callers who wanted
24551 to include one of the characters "[]$ had to quote it an extra time.
24552 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24553 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24554 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24555 Remove extra quoting.
24556
24557Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24558
24559 * gdb.base/commands.exp: Make test names unique; every test either
24560 passes or fails. Update some comments.
24561
24562 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24563
24564Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24565
24566 The following fixes a FAIL caused by the fact that the alpha stabs
24567 configuration didn't use the ".if alpha" code in weird.def.
24568 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24569 bit pointer, so the 32 bit version works even on the alpha.
24570 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24571 Remove the stuff which allowed us to have separate versions for
24572 alpha and everything else.
24573
24574 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24575 regexp which "info func operator\[\](" is supposed to match. Fix
24576 string to send to GDB. Note that GDB still doesn't work right. Add a
24577 new test for "info func .perator\[\](" which GDB does handle correctly.
24578
24579 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24580
24581Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24582
24583 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24584 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24585 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24586 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24587 it makes the tests harder to understand and confuses test-o-matic.
24588 The preferred style is that each test provides a PASS or a FAIL,
24589 and has a unique message (e.g. "continue #54" not just "continue")
24590 which is the same for the pass and the fail.
24591 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24592 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24593 to lib/gdb.exp.
24594 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24595 prt_accept which was basically the same thing. Likewise for
24596 test_print_reject and prt_reject.
24597 * lib/gdb.exp (test_print_reject): Add some more error message
24598 patterns to match from the former printcmds.exp (prt_reject).
24599 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24600 One defect of the passcount stuff is that some of it failed to
24601 report XPASS where appropriate.
24602 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24603 stuff before and after arg in expected pattern.
24604 (test_paddr_operator_functions): Re-do test without print_addr_of;
24605 this is the only test which seems to want extra stuff there.
24606
24607Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24608
24609 * gdb.base/nodebug.exp: Update new tests to reflect improved
24610 wording of gdb output.
24611
24612 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24613 and "ptype" work on variables in files compiled without -g.
24614 Replaces commented out "maint print msymbol" tests.
24615
24616Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24617
24618 * gdb.base/setvar.c (dummy): Call malloc.
24619
24620 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24621 losing with the irix4 sed.
24622
24623 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24624 ALRM" on irix4.
24625
24626Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24627
24628 * TODO: Remove items about corefile.exp testing new exec-file and
24629 backtrace; both are now done. Add items about printing enums.
24630
24631Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24632
24633 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24634 "get signal $thissig" test fails.
24635
24636 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24637
24638Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24639
24640 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24641 compiler warning with dec alpha compiler.
24642
24643 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24644 extra \n from gdb_test call (this explains why the prompt test
24645 that I removed yesterday was there).
24646 (user_defined_command_test): Remove extra \n and prompt test.
24647
24648 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24649 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24650 doesn't exist.
24651 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24652 Also remove alpha workaround, which turns out to be because
24653 SIGABRT == SIGLOST.
24654
24655 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24656
24657 * gdb.base/help.exp: Don't test "help show".
24658
24659Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24660
24661 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24662 "set print address" is on.
24663 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24664 pass prompt to gdb_test; gdb_test already looks for the prompt.
24665
24666 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24667
24668 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24669 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24670 was to make sure that gdb can read a core file. But (a) the "read
24671 the corefile" part didn't make it to a1-selftest.exp, we just
24672 delete the corefile after creating it, and (b) we test reading
24673 corefiles in corefile.exp anyway. Also, this test left around a
24674 xgdb process on Solaris.
24675
24676 * gdb.base/corefile.exp: Also test backtrace.
24677
24678Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24679
24680 * gdb.base/commands.exp: Test a simple user defined command with
24681 arguments and if/while statements; verify the full user command is
24682 printed by "show user".
24683
24684 * gdb.base/commands.exp: Test if/while commands as part of a
24685 breakpoint command list; verify they appear in breakpoint
24686 information.
24687
24688Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24689
24690 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24691 than by dividing by zero.
24692
24693Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24694
24695 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24696 performing an inferior call with watchpoints enabled.
24697 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24698 call.
24699
24700Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24701
24702 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24703 of "file" command.
24704
24705 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24706 Add additional pattern for when "int operator int(void);" appears
24707 in a different order.
24708
24709Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24710
24711 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24712
24713 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24714 and "signal" with ".*".
24715
24716Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24717
24718 * TODO: Add note about "handle all nostop".
24719
24720 * gdb.base/{sigall.c, sigall.exp}: New test.
24721 * gdb.base/Makefile.in: Add it.
24722
24723Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24724
24725 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24726 when invoking GDB, suppresses any windowing interface.
24727
24728Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24729
24730 * config/sim-gdb: New file, simulator testing support.
24731
24732Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24733
24734 * gdb.base/interrupt.exp: Test calling func1 twice.
24735
24736Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24737
24738 * gdb.base/list.exp (test_forward_search): Set timeout higher
24739 when we'll be getting lots of output from gdb.
24740
24741 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24742 "init_malloc" to after the expect statement. Run it if that
24743 regexp is taken, but also for two others which happen if source
24744 cannot be found.
24745
24746Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24747
24748 * gdb.base/printcmds.exp: New test, for printing register before
24749 program is running.
24750
24751Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24752
24753 * gdb.base/list.exp: Correct some alternate expect patterns
24754 to reflect changes in list1.c.
24755
24756Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24757
24758 * TODO: Add item regarding large frames.
24759
24760 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24761
24762 * TODO: Remove item about enabling return.exp; it
24763 is enabled. Suggest a few more "return" tests.
24764
24765Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24766
24767 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24768 anonymous unions.
24769
24770Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24771
24772 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24773 and pr-5646.o, so "make" is the same as "make all", not "make
24774 pr-4975.o".
24775
24776Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24777
24778 * gdb.base/list.exp: Adjust expectations to reflect changes in
24779 list1.c.
24780 (test_forward_search): New test proc.
24781 * gdb.base/list1.c (long_line): New function, has long source line.
24782
24783Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24784
24785 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24786 additional line of code that was added.
24787
24788Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24789
24790 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24791 tests so as not to overflow expect's input buffers.
24792 * gdb.disasm/hppa.exp: Corresponding changes.
24793
24794Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24795
24796 Beginnings of template debugging tests.
24797 * gdb.c++/templ-info.cc: New file to test for template
24798 debugging capability of the compiler.
24799 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24800 templ-info.cc.
24801 * gdb.c++/templates.cc: Add explicit template instantiations
24802 to enable compiling with -fno-implicit-templates. Add destructor
24803 and 'value' method to T5 class for template tests.
24804 * gdb.c++/templates.exp: Add testcases for printing of template
24805 types, setting breakpoints on template methods and calling a
d63a86f8 24806 template method.
c906108c
SS
24807
24808Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24809
24810 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24811 branch target since some assemblers (gas-2.5) may emit a
24812 relocation for the branch instead of resolving it in the
24813 assembler.
24814
24815Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24816
24817 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24818 through signal handler.
24819
24820Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24821
24822 * configure.in (*-*-netware): Use config/mt-netware.
24823
24824 * config/mt-netware: New file.
24825 * config/mt-i386-netware: Removed, separate configs for different
24826 netware architectures are no longer needed now that we have
24827 --with-headers.
24828
24829Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24830
24831 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24832 by the recent changes to use ANSI C arithmetic conversions.
24833
24834Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24835
24836 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24837 bug involving using inferior_pid to figure out whether to select a
24838 frame.
24839
24840Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24841
24842 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24843 match the current disassembler output.
24844
24845Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24846
24847 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24848 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24849 types, expect "int" as type of integer values (for now).
24850
24851Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24852
24853 * gdb.base/commands.exp: New tests for if/while commands.
24854
24855Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24856
24857 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24858 by .*, since hex values have different syntax in Chill mode.
24859
24860Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24861
24862 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24863 linefeed from expect pattern for repeated types with indices > 9.
24864
24865Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24866
24867 First part of Fortran test suite.
24868 * gdb.fortran: New directory.
24869 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24870
24871Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24872
24873 * gdb.base/default.exp: Update expect pattern for load command
24874 without arguments.
24875
24876Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24877
24878 * configure.in: Change i386 to i[345]86.
24879 * gdb.base/configure.in: Likewise.
24880 * gdb.c++/configure.in: Likewise.
24881 * gdb.chill/configure.in: Likewise.
24882
24883Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24884
24885 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24886 patterns, since that is not a valid context for comments.
24887
24888Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24889
24890 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24891 repeated types and repeated types with indices > 9.
24892
24893Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24894
24895 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24896 2417; old bug has been fixed.
24897
24898Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24899
24900 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24901 send the newline ourselves instead of assuming gdb_test will do
24902 so when passed an empty input string.
24903
24904 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24905 stabs testcode.
24906
24907Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24908
24909 * lib/gdb.exp (gdb_test): Don't send anything if the first
24910 argument is an empty string. This makes cases where we want to
24911 match output that is already in expect's buffers (for example,
24912 matching a breakpoint after gdb_run_cmd has been called) work
24913 reliably.
24914
24915Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24916
24917 * config/netware.exp: New file.
24918
24919Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24920
24921 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24922 the -B and -L prefixes so we can find the debugging stub.
24923
24924 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24925 there and we are using the gcc from the tree.
24926
24927 * gdb.base/types.c: Removed.
24928
24929 * gdb.base/configure.in: Look for makefile fragments in ../config.
24930 Recognize i386-*-netware.
24931 * gdb.c++/configure.in: Likewise.
24932
24933Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24934
24935 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24936 the correct TCL syntax.
24937
24938Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24939
24940 * gdb.base/opaque.exp: use runto instead of messing around with
24941 breakpoints. Simplify by using gdb_test.
24942
24943 * gdb.base/bitfields.exp: restart between tests on netware targets
24944 because breakpoints aren't relocated after target death. Run
24945 processes to completion.
24946
24947 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24948
24949Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24950
24951 * Makefile.in: Remove extra tabs that confuse some versions
24952 of "make". Use the newly built gdb to test with by default,
24953 rather than the first one in the tester's search path.
24954
24955Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24956
24957 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24958
24959 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24960 condition help.
24961
24962Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24963
24964 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24965
24966 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24967 running.
24968 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24969 * gdb.base/funcargs.exp: Likewise.
24970
24971 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24972 * gdb.base/funcargs.exp: Likewise.
24973
24974 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24975 message is "".
24976
24977Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24978
24979 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24980 return,signals,twice}.exp: Handle non-existant binaries
24981 consistantly.
24982
24983 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24984 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24985 might testing a cross development system.
24986
24987Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24988
24989 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24990 runtest script is relative to ${srcdir}, not ${rootdir}.
24991
24992Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24993
24994 * gdb.base/signals.exp: Allow for optionality of breakpoint
24995 address.
24996
24997Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24998
24999 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25000
25001Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25002
25003 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25004 for size_t definition.
25005 * gdb.c++/templates.cc: Likewise
25006
25007 * config/mt-i386-netware: New file.
25008
25009 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25010 defined.
25011
25012 * gdb.base/Makefile.in: Added support for systems that name core
25013 files by appending "core" to the program name.
25014 * gdb.base/a1-selftest.exp: Likewise.
25015
25016Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25017
25018 * gdb.base/return.exp: Add comment and message for `return double'
25019 test failure on Sparc Solaris.
25020
25021Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25022
25023 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25024
25025Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25026
25027 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25028 from optimizing them away.
25029 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25030 patterns to include default constructors and assignment operators,
25031 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25032 character in the output of the virtual base pointer.
25033
25034Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25035
25036 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25037 expression match in print_addr_of to avoid unintented matches.
25038 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25039 versions up to 2.5.8.
25040
25041Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25042
25043 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25044 included file to run under newer versions of expect.
25045 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25046 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25047 Remove xfail for the virtual table of BDDHookV.
25048
25049Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25050
25051 * lib/gdb.exp (string_to_regexp): Set a default result.
25052 (default_gdb_start): Fix misleading message.
25053
25054Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25055
25056 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25057 Remove all CC, etc definitions.
25058 * config/mt-hpux: New file.
25059 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25060 (CFLAGS, LDFLAGS): Define.
25061 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25062
25063 * Makefile.in (site.exp): Don't insert host_os, etc.
25064 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25065 (distclean): Check existence of subdir.
25066 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25067 * gdb.base/Makefile.in: General cleanup and simplification.
25068 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25069 to build executables. Use default rule to build .o files.
25070 (EXPECT, RUNTEST, CC): Fix relative pathname.
25071 (site.exp): Don't insert host_os, etc.
25072 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25073 and/or SIGUSR1 defined.
25074 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25075 * gdb.c++/Makefile.in: General cleanup and simplification.
25076 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25077 (CFLAGS): Remove.
25078 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25079
25080Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25081
25082 * gdb.base/recurse.exp: Misc changes to get tests running again
25083 after Kung's changes to the watchpoint code.
25084 * gdb.base/watchpoint.exp: Likewise.
25085
25086Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25087
25088 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25089
25090Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25091
25092 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25093 * lib/gdb.exp (default_gdb_start): Define.
25094 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25095 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25096 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25097 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25098 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25099 Don't call gdb_target_udi in between tests.
25100
25101Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25102
25103 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25104 (which was basically just a local version of the same thing). In
25105 addition to avoiding duplication, gdb_test_exact is faster.
25106 * lib/gdb.exp (gdb_test_exact): Fix typo.
25107
25108 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25109 don't give an error.
25110
25111 * gdb.base/term.exp: Call delete_breakpoints before starting.
25112
25113 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25114 (t10): Add comment.
25115
25116Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25117
25118 Reorganization of the GDB Test Suite.
25119
25120 * gdb.base: New directory, contains all the basic tests.
25121 * gdb.c++: New directory, tests specific to C++.
25122 * gdb.chill: New directory, tests specific to Chill.
25123 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25124 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25125 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25126 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25127 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25128 t30-31 to chill).
25129 * */gdbme.*: Rename to match appropriate expect scripts.
25130 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25131 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25132 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25133 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25134 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25135 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25136 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25137 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25138 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25139 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25140 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25141 gdb.c++/virtfunc.cc: New names of C++ files.
25142 * gdb.chill/chillvars.ch: New name of Chill file.
25143 * gdb.base/configure.in, gdb.c++/configure.in,
25144 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25145 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25146 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25147 * configure.in (configdirs): Update to reflect directory changes.
25148 (target_abbrev): No longer define for any configuration.
25149 * Makefile.in: Cosmetic improvements to header comments.
25150
25151Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25152
25153 Various changes to gdb.t31:
25154
25155 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25156 * gdbme.ch: Make all key-words and predefineds be upper-case.
25157 * chillvars.exp: Expect key-words and predefinds in upper-case.
25158
25159 * chillvars.exp: Use gdb_test_exact many places.
25160 Change expected output for arrays (which now includes index labels).
25161
25162 * pr-5020.exp, gdme.ch (module PR_5020):
25163 New test, for PR-5020.
25164
25165Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25166
25167 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25168 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25169
25170Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25171
25172 * Makefile.in: Fix bit-rot in definitions of CHILL,
25173 CHILL_FOR_TARGET and Chill_LIB.
25174 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25175 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25176 CHILL, and CHILL_LIB.
25177
25178Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25179
25180 * Revert the previous changes. Please see Rob's directory
25181 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25182
25183Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25184
25185 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25186 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25187 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25188 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25189 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25190 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25191 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25192 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25193 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25194 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25195 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25196 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25197 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25198 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25199 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25200 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25201 changes from 94Q1.
25202
25203Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25204
25205 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25206 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25207 Rob's new testing fragments.
25208
25209Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25210
25211 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25212 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25213
25214Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25215
25216 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25217 version also, match on casted version strings, and match on
25218 gdb startup case where the line numbers might be messed up.
25219
25220Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25221
25222 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25223 (CFLAGS): Delete it from here.
c906108c
SS
25224
25225Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25226
25227 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25228
25229Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25230
25231 * Makefile.in (RUNTEST): Default to just "runtest".
25232
25233Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25234
25235 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25236 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25237 the code has been restructured.
25238
25239Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25240
25241 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25242 \n, not just one of each.
25243
25244 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25245 /bin/cc gives a warning if you do.
25246
25247Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25248
d63a86f8 25249 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25250 __t10ListS_link1ZUiRCUiPT0
25251
25252Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25253
25254 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25255 on local variables in recursive functions.
25256
25257 * gdb.t07/Makefile.in: Build the new test.
25258
25259Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25260
25261 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25262 directly. Instead compare the return values from actual calls.
25263
25264Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25265
25266 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25267
25268Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25269
25270 * From Peter Schauer with minor modifications.
a9c64011
AS
25271 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25272 stops in mid-line in the caller. Add xfail for returning a float
25273 value on X86 targets.
c906108c
SS
25274
25275Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25276
25277 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25278 to avoid expect lossage.
25279 (fmem_LRbug_tests): Likewise.
25280 * gdb.disasm/hppa.s: Corresponding changes.
25281
25282 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25283 conditions to work with latest dejagnu/expect.
25284
25285 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25286 expected to fail on the PA.
25287 (backtrace in call with trampolines): Explicitly require main
25288 to be frame #1 (no trampolines should show up in backtrace).
25289
25290 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25291 "continue -expect".
25292 * gdb.t06/break.exp: Likewise.
25293 * gdb.t07/watchpoint.exp: Likewise.
25294 * gdb.t13/bitfields.exp: Likewise.
25295 * gdb.t15/{funcargs,return}.exp: Likewise.
25296 * gdb.stabs/weird.exp: Likewise.
25297 * config/{mips,udi}-gdb.exp: Likewise.
25298
25299 * hppa.sed: Enclose comments within a sed command to avoid
25300 losing with the old OSF1 sed.
25301
25302Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25303
25304 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25305 sequent dynix.
25306 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25307 * gdb.t15/funcargs.exp: Conditionally step again to really
25308 finish from marker_call_with_trampolines. Handle the case where
25309 the first step from within call_with_trampolines already steps
25310 us back to main.
25311 * gdb.t15/gdbme.c: Add comment to closing brace of
25312 call_with_trampolines for funcargs.exp.
25313
25314Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25315
d63a86f8 25316 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25317 Fix typo(s).
25318
25319Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25320
25321 * gdb.t07/gdbme.c: More code for watchpoint testing.
25322
25323 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25324 "Hardware watchpoint" throughout file.
25325 (test_watchpoint_triggered_in_syscall): New test.
25326 (test_complex_watchpoint): New test.
25327
25328Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25329
25330 * gdbme.c (call_with_trampolines): New function to try and step
25331 into. Tests trampoline problems on the PA.
25332
25333 * funcargs.exp (localvars_in_indirect_call): No longer expect
25334 stepping into indirect call to fail on PAs.
25335 (test_stepping_over_trampolines): New test.
25336
25337Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25338
25339 * TODO: Add suggestions for static member function tests, and
25340 completion tests.
25341
25342Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25343
25344 * TODO: Add suggestions for "p/a" tests.
25345
25346 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25347 (default_gdb_exit): Replace all the hair with sending "quit" to
25348 the process with a simple close.
25349
25350Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25351
25352 * TODO: Add suggestions for shared library tests.
25353
25354Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25355
25356 * TODO: Add suggestions for x/s tests.
25357
25358Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25359
25360 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25361 "enable once", and "enable breakpoints once" with ".*".
25362
25363Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25364
25365 * TODO: Add suggestions about structure passing tests.
25366
25367Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25368
25369 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25370 the primary1 test, use work around if __GNUC__ < 2.
25371 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25372 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25373 Test for bad output rather than waiting for timeout. Issue
25374 second continue only if first continue failed.
25375
25376Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25377
25378 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25379 operator[] test with gdb_test because the old code didn't seem to
25380 be getting the quoting right with the new dejagnu.
25381
25382Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25383
25384 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25385 one from the path.
25386 * Makefile.in: Use a fresh expect if there is one, use runtest
25387 from the src tree if there is one.
d63a86f8 25388
c906108c
SS
25389Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25390
25391 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25392 next over recursive call. Revise the tests from that point on
25393 (which had been skipped) to match GDB's actual (correct) output.
25394
25395 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25396 with next over a breakpoint whose condition is false.
25397
25398 * gdb.t00/help.exp: Comment out "help set print" tests just like
25399 (and for same reason as) "help set" test.
25400
25401Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25402
25403 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25404 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25405
25406Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25407
25408 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25409 necessary gdb_target_udi.
25410
25411 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25412
25413 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25414 1838 and 2417; they are fixed.
25415
25416 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25417 gdb.t03/ptype.exp (ptype structure, ptype union):
25418 Remove xfails; the test is looser than when the xfails were added.
25419
25420 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25421 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25422
25423 * gdb.t01/run.exp: Only run shell test if isnative.
25424
25425 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25426 since "run" automatically loads if necessary. Call gdb_target_udi
25427 after the "file" since "file" kills any execution target.
25428
25429 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25430 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25431 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25432 argument for UDI.
25433
25434Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25435
25436 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25437
25438 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25439
25440Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25441
25442 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25443 properly quoting regexps. This makes the second argument to
25444 demangle a fixed string, which matches the callers, instead of a
25445 shell-style pattern which is what the previous implementation
25446 used. Update some of the callers.
25447
25448Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25449
25450 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25451 (comib_nullified_tests): Fix typo.
25452 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25453 strings. No longer expected to fail.
25454
25455 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25456 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25457 strings. No longer expected to fail.
25458
25459 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25460 string. No longer expected to fail.
25461
25462Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25463
25464 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25465 No longer expected to fail.
25466
25467 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25468 string. No longer expected to fail.
25469
25470Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25471
25472 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25473 only in the names (I probably got most of them). I was even
25474 generous with some which differed in underscores in names, and
25475 probably missed a few, and I *still* was able to remove almost a
25476 third of the file with almost no impact on testsuite coverage.
25477
25478Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25479
25480 * gdb.t00/default.exp: Match udi_attach error message as well as
25481 the one from child_attach.
25482
25483 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25484
25485 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25486
25487 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25488 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25489
25490 * Move test with enums and partial symbols back to
25491 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25492 Reverts the change of 26 May 93. Per today's change to
25493 stabs.texinfo, the behavior that weird.exp was expecting was
25494 unreasonable; what is important is that the compiler+gdb get
25495 things right, which happens with a recent gcc. Also fix the test
25496 to deal with native compilers which put out the stab gdb can't
25497 deal with.
25498
25499Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25500
25501 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25502 in the names. The main thing these accomplish is to slow things down.
25503 Many more such duplicates surely remain.
25504
25505 * gdb.t00/help.exp: Comment out "help support" test just like
25506 (and for same reason as) "help set" test.
25507
25508Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25509
25510 * gdb.t06/break.exp: Remove setup_xfails for
25511 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25512 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25513 about known bug in gcc to include up through 2.5.8.
25514 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25515 well as "_vb$".
25516 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25517 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25518 with latest gcc and gdb.
25519 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25520 well as "_vb$".
25521
25522Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25523
25524 * configure.in (hppa*-*-*): Also configure and build stabs-only
25525 tests.
25526
25527Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25528
25529 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25530 * gdb.t10/configure.in (hppa*-*-*): Use it.
25531
25532Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25533
25534 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25535
25536Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25537
25538 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25539 versions prior to 1.13.5.
25540
25541Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25542
25543 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25544 the prompt is at the start of a line.
25545
25546Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25547
25548 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25549 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25550 in the copr tests now.
25551 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25552 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25553 expected to fail.
25554
25555Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25556
25557 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25558 gdb.t31/chillvars.exp, lib/gdb.exp:
25559 Tweak to run under either version of expect.
25560 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25561 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25562 * gdb.t11/list.exp: Remove extraneous whitespace.
25563
25564Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25565
25566 * gdb.t16/printcmds.exp (test_print_strings): Accept
25567 "(unsigned char *) " before the string.
25568
25569 * TODO: Add notes about printing of fancy types and GDB expressions.
25570
25571Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25572
25573 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25574 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25575 if doing mips-idt-ecoff.
c906108c
SS
25576
25577Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25578
25579 * Most .exp files: Tweak to run under either version of expect.
25580
25581Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25582
25583 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25584 xfails; I'm not sure why they are failing, but not because of PR 1806.
25585
25586Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25587
25588 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25589 defined in lib/gdb.exp.
25590
25591Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25592
25593 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25594 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25595 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25596 have to be typeless.
25597
25598Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25599
25600 * TODO: Add suggestion for copyright year test.
25601
25602Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25603
25604 * configure.in (*-*-lynxos*): Add stabs tests.
25605
25606Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25607
25608 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25609 so insert a tab before any assembler directive in column zero.
25610
25611 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25612 stores.
25613 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25614 stores.
25615 (fpu_short_memory_tests): Likewise.
25616
25617Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25618
25619 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25620 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25621 .stabs directives in comments.
25622
25623Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25624
25625 * TODO: New file, describing tests we could write.
25626 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25627
25628Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25629
25630 * gdb.t06/signals.exp: Add kludge to force re-sync.
25631
25632 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25633 to xgdb instead of gdb, get out of gdb.
25634
25635Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25636
25637 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25638 for info.
25639
25640Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25641
25642 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25643 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25644 * gdb.stabs/hppa.sed: New sed script for the PA.
25645
25646Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25647
25648 * gdb.stabs: Re-write weird.def and configuration to use sed
25649 instead of cpp. sed is portable and POSIX; cpp is neither.
25650
25651Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25652
25653 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25654
25655Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25656
25657 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25658
25659Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25660
25661 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25662 "_vb$".
25663 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25664 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25665
25666Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25667
25668 * lib/gdb.exp: Comment out code which depends on non-existent
25669 `transform' procedure.
25670
25671Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25672
25673 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25674 * lib/gdb.exp: Transform tool name.
25675 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25676 1.1's new error handling system.
25677
25678Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25679
25680 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25681
25682Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25683
25684 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25685 They made pattern matching so slow that timeouts happened on
25686 heavily loaded systems. Now any output from "show print" which
25687 gets us back to the GDB prompt is a PASS.
25688
25689Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25690
25691 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25692
25693Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25694
25695 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25696
25697 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25698 It is not from PR 3220.
25699
25700Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25701
25702 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25703 just started failing because they depended on the order the
25704 subcommands are presented, or exact docstring text. This kind of
25705 test is a pain and has minimal benefit.
25706
25707Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25708
25709 * gdb.t09/corefile.exp: At end of test, use "core" command with
25710 no arguments.
25711
25712Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25713
25714 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25715 17}/Makefile.in: Make it possible to run the testsuite with Sun
25716 make and CC = cross gcc by adding explicit build rules for .o
25717 files.
25718
25719Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25720
25721 * gdb.t15/funcargs.exp: Don't put comments on same line as
25722 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25723
c906108c
SS
25724Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25725
25726 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25727
25728Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25729
25730 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25731 * gdb.t20/inherit.exp: remove three dumplicate entries.
25732
25733Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25734
25735 * gdb.t06/break.exp: For "next over recursive call", fail on any
25736 incorrect output, not just on "factorial (value=2)".
25737
25738Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25739
25740 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25741 working now. Add an xfail if accesing a bss variable causes
25742 a memory error if the target is not yet run.
25743
25744Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25745
25746 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25747 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25748 name of __st* demangling (2 strings). Did Kung really get the
25749 more than 95 others right without testing them?
25750
25751Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25752
25753 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25754
25755Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25756
25757 * configure.in (configdirs): Add gdb.disasm
25758 * gdb.disasm: New directory for GDB disassembler tests.
25759 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25760
25761Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25762
25763 * gdb.t00/help.exp: Don't test "help set".
25764
25765 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25766 from within expect statements. None of these happen anymore and
25767 they cause regressions to be silently unnoticed.
25768
25769 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25770 messages) about known failures with gcc cygnus-2.4.5-930417.
25771
25772 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25773 comp-info.exp so it gets built if it doesn't exist.
25774
25775 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25776 it is no longer used.
25777 * gdb.t13/comp-info.c: Removed.
25778
25779Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25780
25781 * gdb.t06/signals.exp: Add xfail for sun3.
25782
25783Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25784
25785 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25786 relevant because ^C doesn't get sent but failure can be reproduced
25787 interactively).
25788
25789Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25790
25791 * gdb.stabs/alpha.mt: New configuration file for alpha.
25792 * gdb.stabs/configure.in: Use it.
25793 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25794 sharing with alpha.mt, redefine long to word via preprocessor.
25795 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25796 for alpha.
25797 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25798 native cc.
25799 * gdb.t00/teststrategy.exp: Change expect string so that we
25800 consume the `(xgdb)' from the command echo and from the gdb prompt.
25801 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25802 gdb currently compares all values as long, so this failure probably
25803 applies to any configuration where LONGEST is bigger than a target int.
25804 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25805 with gcc.
25806 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25807 to handle opaque pointers, gcc is.
25808 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25809 as first argument. Include <sys/types.h> and change all operator
25810 new definitions to use size_t.
25811 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25812 now that we use size_t.
25813
25814Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25815
a9c64011 25816 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25817 a long or float array cast all array members to the same type.
a9c64011 25818 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25819 with 64 bit longs.
a9c64011 25820 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25821 on alpha.
a9c64011 25822 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25823
25824Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25825
25826 * gdb.t24 (demangle.exp): Constructors of templates have names like
25827 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25828 section 14.6 of the ARM.
25829
25830 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25831 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25832 accomplish little and slow down the testsuite.
25833
25834 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25835 Accept spaces various places.
25836
25837Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25838
25839 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25840 with watchpoint enabled.
25841
25842 * Makefile.in: Remove definition of CC and remove the second
25843 definition of CXX (the "CXX = gcc" one remains). These definitions
25844 were causing backquotes to be expanded within backquotes, which
25845 doesn't work.
25846
25847Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25848
25849 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25850
25851Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25852
a9c64011
AS
25853 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25854 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25855 by mips cc and contains no stabs entries.
25856
25857Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25858
25859 * config/vx-gdb.exp: Use fake device to load files rather than
25860 NFS.
25861 * lib/gdb.exp: New proc to do "file" command.
25862 * config/unix-gdb.exp: Use new "file" proc.
25863
25864Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25865
25866 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25867 Rework board rebooting slightly.
25868 (gdb_exit): Don't exit from the remote shell; there isn't one.
25869 * gdb.stabs/weird.exp: If a program is being debugged already,
25870 kill it.
25871 * gdb.t04/setvar.exp: Stop and restart gdb.
25872 * gdb.t05/expr.exp: Likewise.
25873 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25874 restart gdb and reload the program.
25875 * gdb.t08/opaque.exp: Likewise.
25876 * gdb.t12/scope.exp: Likewise.
25877 * gdb.t13/bitfields.exp: Likewise.
25878 * gdb.t15/funcargs.exp: Likewise.
25879 * gdb.t20/classes.exp: Likewise.
25880 * gdb.t03/ptype.exp: Increase timeout.
25881 * gdb.t16/printcmds.exp (test_print_string_constants,
25882 test_print_array_constants): Likewise.
25883 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25884 * gdb.t20/classes.exp (do_tests): Likewise.
25885 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25886
25887Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25888
25889 * gdb.stabs: Renamed *wierd* to *weird*.
25890
25891Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25892
25893 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25894 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25895
25896Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25897
25898 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25899 (do_tests): Remove xfail for whatis on one_var and two_var.
25900
25901Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25902
25903 * Makefile.in: Made cross building work better by adding
25904 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25905
25906Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25907
25908 * gdb.t15/{return.c,return.exp,Makefile.in}:
25909 New test, currently commented out.
25910
25911Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25912
25913 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25914 still running and removes the leftover named socket so GDb can do
25915 clean restarts.
25916
25917Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25918
25919 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25920 console, not GDB.
25921 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25922 cross testing works better with "make check"
25923 * config/unix-gdb: Use default procedures for exit and version.
25924 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25925 with the newest VxWorks.
25926
25927Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25928
25929 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25930 old form.
25931
25932 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25933 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25934
25935 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25936
25937 * config/unix-gdb.exp: Remove this version of gdb_exit
25938 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25939 Rob says he'll look at it when he gets back to testing boards.
25940
25941Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25942
25943 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25944 an expected fail for certain ptype commands.
25945
25946 * gdb.t20/classes.exp: Update expected results of "ptype class
25947 Base1" to account for the constructor that now appears in the type.
25948
25949Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25950
25951 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25952 disappeared from list.
25953 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25954 "alldone" proc with call to cleanup and exit.
25955 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25956 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25957 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25958 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25959 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25960 "alldone" proc with simple returns that suppress remaining
25961 tests. The alldone proc went away many months ago.
25962
25963Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25964
25965 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25966
25967 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25968
25969Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25970
25971 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25972 as vax gdb will display them.
25973
25974Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25975
25976 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25977 optimizers.
25978
25979 * scope.exp: Change "bad value for localval" messages so each one
25980 is unique.
25981
25982 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25983 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25984
25985 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25986
25987Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25988
25989 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25990 doesn't exist (due to optimization).
25991
25992Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25993
25994 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25995 contains \r because the filename is long.
25996
25997 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25998 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25999
26000Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26001
26002 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26003 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26004 Ultrix.
26005 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26006 int tests.
26007 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26008
26009Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26010
26011 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26012
26013 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26014 to match does not match the passing case but still matches the
c906108c
SS
26015 failing case.
26016
26017Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26018
26019 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26020
26021Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26022
26023 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26024 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26025 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26026 Remove various versions of gdb_exit.
26027 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26028 gdb_exit.
26029 * config/unix-gdb.exp: gdb_exit remains here, and should override
26030 the generic version, since it's doing a lot of wierd stuff that
26031 the other versions aren't. FIXME, fold it in, or abandon this
26032 version.
26033
26034Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26035
26036 * gdb.t24/demangle.exp: Add tests for PR 3220.
26037
26038Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26039
26040 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26041
26042Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26043
26044 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26045 "i386-*-*". Works for i486 as well.
26046
26047 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26048 bug, and expand domain of xfail to all SVR4 systems, since the
26049 actual problem is likely to be in generic SVR4 /proc support.
26050
26051Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26052
26053 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26054
26055Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26056
26057 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26058 xfails for other systems. Match a missing 'Continuing.' as an
26059 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26060
26061 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26062 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26063 Only issue warning for missing executables if -all option is used.
26064
26065 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26066 file if -all option is used. It's like an unpredictable XFAIL.
26067
26068Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26069
26070 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26071 for dynamically linked binaries.
26072
26073 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26074
26075Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26076
26077 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26078 to state that this is a known bug in old versions of g++.
26079
26080Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26081
26082 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26083 while waiting for `Continuing'.
26084
26085Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26086
26087 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26088 in text, data, and bss.
26089 * gdb.t10/nodebug.c: Add local and global test variables for
26090 initialized and uninitialized data.
26091
26092Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26093
26094 * config/unix-gdb.exp (gdb_exit): Add "wait".
26095
26096Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26097
26098 * gdb.t06/signals.exp: xfail the continue from the handler for all
26099 targets.
26100
26101 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26102 function with watchpoints enabled, the i386 call dummy starts with
26103 a call.
26104
26105 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26106 386 bsd names its corefiles.
26107
26108Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26109
26110 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26111 compilers don't grok it.
26112 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26113 with small octal ints rather than character constants, which
26114 are signed and might not fit if first promoted to int.
26115
26116Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26117
26118 * gdb.t09/Makefile.in (clean): Remove corefile.
26119
26120Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26121
26122 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26123
26124Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26125 and Jim Kingdon (kingdon@cygnus.com)
26126
26127 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26128 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26129 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26130
26131Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26132
26133 * gdb.t17/interrupt.exp: Add xfail for hppa.
26134
26135Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26136
26137 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26138 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26139 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26140 to determine signed-ness of bitfields and use the result to setup
26141 the xfail.
26142 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26143 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26144 call line is reached if necessary.
26145
26146Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26147
26148 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26149
26150Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26151
26152 * gdb.t06/break.exp: Also test `clear' command.
26153
26154Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26155
26156 * gdb.t00/teststrategy.exp: Remove extra quote.
26157
26158 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26159 watchpoint enabled to be for all non-68k machines.
26160
26161 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26162
26163Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26164
26165 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26166 targets use aout.mt instead of ecoff.mt as gas understands
26167 standard aout format.
26168
26169Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26170
26171 * lib/gdb.exp (runto): Don't insist that function we are running to
26172 was compiled with -g.
26173
26174 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26175
26176 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26177 to get back into the read system call.
26178 Accept leading newline in case where we woke it up.
26179
26180Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26181
26182 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26183 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26184 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26185 enable ecoff configuration.
26186
26187Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26188
26189 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26190
26191Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26192
26193 * gdb.t16/printcmds.exp: Add another printf test.
26194
26195Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26196
26197 * configure.in: If configured -with-stabs on any target, add
26198 stabsdirs to configdirs.
26199
26200Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26201
26202 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26203 fun" so pattern does not match the command itself.
26204
26205Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26206
26207 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26208
26209Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26210
26211 * gdb.t17/interrupt.exp: Test for more things.
26212
26213Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26214
26215 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26216 compiler arranges the code and line numbers.
26217
26218 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26219
26220Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26221
26222 * gdb.t00/help.exp: Increase expect input buffer size.
26223
26224Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26225
26226 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26227
26228 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26229
26230 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26231
26232 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26233 [0-9]*, not just [0-9].
26234
26235Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26236
26237 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26238
26239 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26240
26241Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26242
26243 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26244
26245Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26246
26247 * gdb.t06/signals.c: Add xfails for sun3.
26248
26249 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26250
26251 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26252 test_stepping tests.
26253
26254Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26255
26256 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26257
26258 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26259
26260 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26261 rather than actually putting it through cpp twice.
26262
26263 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26264
26265Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26266
26267 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26268 no longer needed.
26269
26270Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26271
26272 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26273
26274 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26275 C++ features prints as "struct", make it a pass, not an xfail.
26276
26277Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26278
26279 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26280 Don't require VA to print as "class" rather than "struct".
26281
26282Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26283
26284 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26285
26286Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26287
26288 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26289
26290Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26291
26292 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26293 order.
26294
26295Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26296
26297 * gdb.t16/printcmds.exp: Add printf tests.
26298
26299 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26300
26301 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26302
26303Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26304
26305 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26306 pass counts, to counteract any existing or future setup_xfails.
26307
26308Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26309
26310 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26311 {BEGIN,END}_COMMON for common block instead of STAB.
26312 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26313
26314 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26315 intp_var should be N_GSYM not N_LSYM.
26316 wierd-aout.S: Use a label for the value of the N_SO.
26317 wierd.def: Remove all backslashes.
26318 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26319
26320Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26321
26322 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26323 get the expected next to inheritance3.
26324
26325Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26326
26327 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26328 now that gcc-2.4 gets it right.
26329
26330Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26331
26332 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26333
26334 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26335 generating comp-info.exp which works for cross-compilation.
26336
26337Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26338
26339 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26340 "*-*-sysv4.*".
26341
26342Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26343
26344 * gdb.t01/run.exp: Start with a fresh gdb.
26345 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26346 SVR4.x.
26347
26348Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26349
26350 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26351 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26352 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26353 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26354 things to remove.
26355
26356Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26357
26358 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26359 test cases from bug reports.
26360
26361Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26362
26363 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26364 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26365 avoid spurious xfails.
26366 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26367 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26368 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26369
26370Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26371
26372 * gdb.t00/teststrategy.exp: Rework to provide more useful
26373 description of each test, fix problem with systems that define
26374 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26375 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26376 results for "next over recursive call" so timeouts aren't taken
26377 by error.
26378
26379Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26380
26381 * gdb.t12/scope.exp: Test printing of variables before run.
26382
26383 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26384 printed in wrong order due to sorting.
26385
26386Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26387
26388 * gdb.t00/teststrategy.exp: Fix expected results for printing
26389 user entered string constant. Is array of char, prints with no
26390 address.
26391
26392 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26393 commands.
26394 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26395 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26396 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26397 of struct of char arrays.
26398 * gdb.t00/radix.exp: New tests for radix commands.
26399
26400Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26401
26402 * gdb.t16/printcmd.exp: Print a variable before running program
26403 (with xfail for AIX).
26404
26405Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26406
26407 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26408
26409 * gdb.t16/printcmd.exp: Don't print variables before running program.
26410
26411 * gdb.t06/break.exp: Don't require envp argument to main.
26412
26413 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26414
26415 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26416 Add xfails for rs6000.
26417
26418 * gdb.t02/whatis.exp: Change other tests not to re-test something
26419 we already tested.
26420
26421 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26422 each type used has a variable of that type.
26423
26424Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26425
26426 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26427
26428Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26429
26430 * configure.in: change srctrigger to be a file, not a directory
26431
26432Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26433
26434 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26435
26436 * gdb.t11/list.exp: Fixed a couple of typos.
26437
26438Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26439
26440 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26441 is fixed and PR is closed.
26442 * gdb.t16 (gdbme.c): Add simple test string variable.
26443 * gdb.t16 (printcmds.exp): Add tests with simple test string
26444 variable, primarily for boundaries on "set print elements".
26445
26446Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26447
26448 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26449 Make leading 0's optional and don't expect a tab in the middle
26450 of the number.
26451
26452 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26453
26454 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26455 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26456 don't end command passed to gdb_test with newline.
26457
26458 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26459 signed keyword away, don't expect signed bitfields to be signed.
26460
26461 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26462 printing with only as many 1's as are in the field as well as printing
26463 with 32 1's (see comment).
26464
26465Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26466
26467 * gdb.t00/default.exp: Start with a fresh gdb.
26468 * configure.in (configdirs): Remove gdb.t31 until the chill
26469 compiler works again. It no longer is able to find chillrt0
26470 since it isn't in libchill.a anymore.
26471 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26472 wierd.o, make more modular.
26473 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26474 spurious newlines that caused problems.
26475
26476Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26477
26478 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26479 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26480 gdb.stabs/wierd.{exp,def}: Many new tests.
26481
26482 * gdb.t00/default.exp: update info line for new message.
26483
26484 * gdb.t02/{whatis.exp,gdbme.c}:
26485 Test that "char *" doesn't print as "caddr_t".
26486
26487Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26488
26489 * gdb.t00/help.exp: Use .* in place of some help messages which
26490 just changed.
26491 gdb.t00/default.exp: Update "info frame" test for new message.
26492 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26493 Remove some xfails
26494
26495Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26496
26497 * gdb.t03/{gdbme.c,ptype.exp}:
26498 Add tests for typedef'd struct and union without tags.
26499 Also check "whatis" on a variable of a typedef'd enum without a tag.
26500
26501 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26502 PRMS 1823; the bug still exists but isn't reproduced by this test
26503 anymore), and remove rs6000 XFAIL (the bug is fixed).
26504
26505 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26506 duplicated from whatis.exp. For those that are left, accept
26507 "long", "long int", or "int" for long variables (whatis.exp already
26508 has an XFAIL for "int", so no need to fail it here).
26509
26510 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26511 Deal with GCC's names for types now that GDB uses the compiler's names.
26512
26513 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26514 setup_xfail's for sunos4. If we #defined the signed keyword away,
26515 don't expect GDB to know that char it is signed.
26516
26517 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26518
26519Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26520
26521 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26522 should work on any system, regardless of debugging format.
26523 * gdb.t21/demangle.exp: Move to gdb.t24.
26524 * gdb.t24/demangle.exp: Move from gdb.t21.
26525 * gdb.t24/{Makefile.in, configure.in}: New files.
26526
26527Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26528
26529 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26530 * gdb.stabs: New directory.
26531
26532Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26533
26534 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26535 not just "Quit anyway?".
26536
26537Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26538
26539 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26540 that all setup_xfails are immediately followed by clear_xfails.
26541
26542Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26543
26544 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26545 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26546 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26547 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26548 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26549 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26550 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26551 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26552 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26553 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26554 gdb.t31/chillvars.exp, lib/gdb.exp:
26555 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26556 bug-gdb@prep.ai.mit.edu.
26557
26558Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26559
26560 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26561 with 0.0, not integer 0.
26562
26563Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26564
26565 * gdb.t06/break.exp: Update for "Kill the program" message change.
26566
26567Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26568
26569 * Makefile.in (GDBFLAGS): Set to -nx.
26570 * Makefile.in (site.exp): Use GDBFLAGS.
26571
26572Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26573
26574 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26575 Makefiles.
26576 (check): depend on just-check.
26577 (just-check): added so that tests can be run without a noop
26578 build pass.
26579
26580Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26581
26582 Switch to using configure's configdirs.
26583 * Makefile.in (Makefile): add configure.in dependency.
26584 (SUBDIRS): removed redundant assignment.
26585 * configure.in: switch subdirs assignment to configdirs.
26586 * gdb.t*/configure.in: new files.
26587
26588Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26589
26590 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26591 works.
26592
26593Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26594
26595 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26596 in explicit rules. Apparently this is not supported by some makes.
26597
26598Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26599
26600 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26601
26602Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26603
26604 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26605 disappeared.
26606
26607Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26608
26609 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26610
26611Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26612
26613 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26614 watchpoint problem that is now fixed.
26615 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26616 uninitialized convenience variables.
26617 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26618 structures.
26619
26620Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26621
26622 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26623 which causes expect to get out of sync with gdb on long output
26624 from help set.
26625 * gdb.t09/corefile.exp: Make expected pattern for core file
26626 failing signal and frame output format less sun specific.
26627
26628Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26629
26630 * gdb.t31/chillvars.exp: Add and remove initial dummy
26631 breakpoint, so that symbol table is forced in.
26632 (Needed at least on Sunos4, though it seems not SVR4.)
26633 * gdb.t31/chillvars.exp: Update for changed output format.
26634
26635Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26636
a9c64011 26637 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26638
26639Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26640
26641 * Makefile.in: Added --srcdir when invoking runtest, removed the
26642 need for a local config file. (optional now)
26643
26644Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26645
26646 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26647 failure count used to force early termination. Add some more
26648 expected failures for gnu style demangling.
26649
26650Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26651
26652 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26653 pmi variable from gdb.t20/gdbme to get optimized away.
26654 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26655 Check for written corefile upon timeout _and_ eof.
26656
26657Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26658
26659 * config/unix-gdb.exp: Add missing return 0.
26660
26661Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26662
26663 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26664 test termination.
26665
26666Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26667
26668 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26669 disappeared.
26670
26671Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26672
26673 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26674 time as i860 support works.
26675
d63a86f8 26676 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26677 "backtrace 100\r" rather than just "backtrace\r", to match last
26678 change.
26679
26680Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26681
26682 * config/udi-gdb.exp (gdb_exit): Remove close command.
26683 (gdb_target_udi): New procedure to set the UDI target.
26684 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26685 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26686 Added waits for prompts after several question responses. Added
26687 some more responses used by a29k-amd-udi-gdb.
26688 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26689 pass different arguments, restart UDI connection after program
26690 completion.
26691 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26692 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26693 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26694 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26695 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26696 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26697 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26698 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26699 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26700 after program completion.
26701 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26702 compiled with a SELECT_VECS setting.
26703 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26704 infinite recursion.
26705
26706 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26707 Added checks for COFF results, and made them expected failures for
26708 all targets. It would be better to make them expected failures
26709 for COFF targets only.
26710
26711Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26712
26713 * Makefile.in: add null dvi target, don't bother to recurse
26714 through test directories for info and install-info; rename
26715 $(datadir) to be dejagnu instead of deja-gnu
26716
26717Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26718
26719 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26720 compiler to coredump.
26721 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26722 code.
26723
26724Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26725
26726 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26727 coredump.
26728 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26729 code.
26730
26731Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26732
26733 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26734 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26735 which in a shell. Deletes xgdb when done.
26736 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26737 Tests the return from the "set height" or "set width" commands.
26738 Added a few return codes where needed.
26739
26740Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26741
26742 * Makefile.in (SUBDIRS): Add gdb.t17.
26743 * configure.in (subdirs): Add gdb.t17.
26744 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26745 files to test gdb's calling of functions in the inferior with
26746 the correct arguments and gdb's ability to retrieve any
26747 result returned.
26748
26749Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26750
26751 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26752 may be called after gdb goes away. Previous versions of expect
26753 needed these to avoid file descriptor leaks, but they cause
26754 errors with the current revision of expect.
26755 * gdb.t00/gdbvars.exp: Use -re on expected output after
26756 setting sevenbit-strings.
26757 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26758 to set sevenbit-strings consistent across tests.
26759 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26760 set sevenbit-strings consistent across tests.
26761
26762Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26763
26764 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26765 expected output to match current "expect" expectations.
26766
26767Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26768
26769 * gdb.t00/default.exp: Change expected output for default "source"
26770 command, to match new gdb behavior which requires a filename to
26771 source.
26772
26773Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26774
26775 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26776 expected fail for i486-*-* that misses the marker2 function.
26777 * gdb.t10/crossload.exp (bfddefault): Allow successful
26778 recognition of a format to pass even if no symbols are found.
26779 Explicitly catch failures where the format is not recognized
26780 or is ambiguous, and add the reason to the fail message.
26781 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26782 the cause is and invalid target and add reason to failure message.
26783 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26784 elf32-i386, elf32-sparc, and elf32-i860.
26785 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26786 Set up expected failure for 'filename'::variable scope resolution,
26787 which is now apparently broken on all targets.
26788 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26789 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26790 gdb.t23/templates.exp: Change failure for missing binfile into
26791 just a warning.
26792 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26793 references.
26794
26795Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26796
26797 * gdb.t00/default.exp: Add expected output for default "source"
26798 command, to match new gdb behavior.
26799 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26800
26801Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26802
26803 * config/*-gdb.exp: returns an error, rather than exiting on
26804 internal errors.
26805
26806Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26807
26808 * gdb.t03/gdbme.c: Add pointer to struct variable.
26809 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26810 referencing struct members.
26811
26812Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26813
26814 * configure.in (mips-idt-ecoff): New target.
26815 * config/mips-gdb.exp: New file for remote board using MIPS remote
26816 debugging protocol.
26817
26818 * Redid configuration scheme. Removed gdb.t*/configure.in.
26819 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26820 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26821 distclean targets. Built executables via .o files. Adjusted
26822 tests to account for source files in $(srcdir) rather than
26823 $(objdir).
26824 * lib/gdb.exp (runto): Don't expect () after the function name,
26825 because it may have arguments.
26826
26827Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26828
26829 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26830 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26831 expected failures for mips-idt-* and mips-sgi-*.
26832 * gdb.t00/default.exp (attach): Kill process if requested.
26833 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26834 that does not read core files.
26835 * gdb.t01/run.exp: Removed checks for exit status code.
26836 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26837 it is linked in.
26838 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26839 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26840 appropriate, rather than doing it by hand.
26841 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26842 execution.
26843 * gdb.t10/crossload.exp: Kill existing program if needed.
26844 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26845 appropriate, rather than doing it by hand. Always increase
26846 timeout for this test, not just for VxWorks.
26847
26848Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26849
26850 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26851 of Chill STRUCT types and STRUCT values.
26852 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26853 than "char".
26854 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26855 struct2): New struct definitions and initializations to test
c906108c
SS
26856 simple Chill STRUCT types.
26857
26858Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26859
26860 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26861 the null byte at the end of strings.
26862 * gdb.t00/default.exp: Make show version insensitive to copyright
26863 date.
26864 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26865 to avoid dependencies on target char signedness.
26866 * gdb.t16/printcmds.exp: Update expected results for explicitly
26867 unsigned char.
26868 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26869 now work.
26870 * gdb.t21/demangle.exp: Add many more patterns for template
26871 demangling, most of them being expected failures.
26872 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26873 string we are matching for, to match on the whole string.
26874 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26875 and fix a whole bunch that had incorrect expected output but were
26876 passing anyway because of the bug in "proc demangle".
26877 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26878 type.
26879 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26880
26881Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26882
a9c64011
AS
26883 * gdb/testsuite: made modifications to testcases, etc., to allow
26884 them to work properly given the reorganization of deja-gnu and the
26885 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26886
26887Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26888
26889 * gdb/testsuite: Initial creation of gdb/testsuite.
26890 Migrated dejagnu testcases and support files for testing nm to
26891 gdb/testsuite from deja-gnu. These files were moved "as is"
26892 with no modifications. This migration is part of a major overhaul
26893 of dejagnu. The modifications to these testcases, etc., which
26894 will allow them to work with the new version of dejagnu will be
26895 made in a future update.
48efe704 26896
8d8cb839 26897 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26898\f
8d8cb839
EZ
26899;; Local Variables:
26900;; mode: change-log
26901;; left-margin: 8
26902;; fill-column: 74
26903;; version-control: never
26904;; End:
902f2ccb 26905
0b302171 26906 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26907 Copying and distribution of this file, with or without modification,
26908 are permitted provided the copyright notice and this notice are preserved.
This page took 3.595414 seconds and 4 git commands to generate.