]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Ada: ada_to_fixed_value should also unwrap_value
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2e6fda7d
JB
12012-02-29 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/whatis_array_val: New testcase.
4
9a7f938f
JK
52012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 Fix disp-step-syscall.exp: fork: single step over fork.
8 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
9 whitespaces.
10 (single step over $syscall): Remove its check.
11 (single step over $syscall final pc): New check.
12
8703a944
JK
132012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 Support processors without SSSE3.
16 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
17 pabsd into ...
18 (ssse3_test): ... a new function.
19 (main): Call ssse3_test.
20 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
21 Update expected values everywhere.
22 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
23 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
24 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
25 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
26 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
27 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
28 Move these tests lower.
29 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
30 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
31 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
32 New tests.
33
c03e6ccc
YQ
342012-02-29 Yao Qi <yao@codesourcery.com>
35 Pedro Alves <palves@redhat.com>
36
37 * gdb.trace/trace-mt.c: New.
38 * gdb.trace/trace-mt.exp: New.
39
7964b62a
TS
402012-02-28 Thomas Schwinge <thomas@codesourcery.com>
41
2c8910ba
TS
42 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
43 numbers instead of hardcoding them.
44 * gdb.base/annota1.c: Provide suitable markers.
45 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
46 numbers instead of hardcoding them.
47 * gdb.base/annota3.c: Provide suitable markers.
48
49 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
50 * gdb.base/annota3.c: Likewise.
51 * gdb.base/sigall.c: Likewise.
52 * gdb.base/signals.c: Likewise.
53 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 54
5a41c0b7
MR
552012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
56
57 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
58 failure return path.
59
ebbbe5c5
LM
602012-02-27 Luis Machado <lgustavo@codesourcery.com>
61
62 * gdb.base/save-bp.exp: Account for new condition evaluator output.
63
8d126d8a
LM
642012-02-24 Luis Machado <lgustavo@codesourcery.com>
65
66 * gdb.base/cond-eval-mode.exp: New file.
67
11337c2f
PA
682012-02-24 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
71 (top level): Use with_test_prefix.
72
13fc3e3c
PA
732012-02-24 Pedro Alves <palves@redhat.com>
74
75 * gdb.threads/attach-into-signal.exp (corefunc): Use
76 with_test_prefix.
77
07c1b626
JK
782012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
79
80 Fix false FAILs on old CPUs without SSE.
81 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
82 Return untested for Illegal instruction.
83
596ba138
JK
842012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
85
86 Fix false FAILs with glibc debug infos installed.
87 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
88 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
89
aeaa2474
SA
902012-02-22 Sterling Augustine <saugustine@google.com>
91
92 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
93 constant with cast.
94
aed555c9
PA
952012-02-21 Pedro Alves <palves@redhat.com>
96
97 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
98
78afebb4
PA
992012-02-21 Pedro Alves <palves@redhat.com>
100
101 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
102
fdcfef12
PA
1032012-02-21 Pedro Alves <palves@redhat.com>
104
105 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
106 with_test_prefix.
107
0f4d39d5
PA
1082012-02-21 Pedro Alves <palves@redhat.com>
109
110 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
111 with_test_prefix here.
112 (top level): Do it here instead. Remove `:' from the
113 with_test_prefix string.
114 * gdb.base/attach-pie-misread.exp: Remove the leading space the
115 the suffix `:' from the with_test_prefix prefix string.
116 * gdb.base/break-interp.exp: Ditto.
117 * gdb.base/catch-load.exp: Ditto.
118 * gdb.base/disp-step-syscall.exp: Ditto.
119 * gdb.base/jit-so.exp: Ditto.
120 * gdb.base/jit.exp: Ditto.
121 * gdb.base/sepdebug.exp: Ditto.
122 * gdb.base/solib-display.exp: Ditto.
123 * gdb.base/solib-overlap.exp: Ditto.
124 * gdb.base/watch-cond-infcall.exp: Ditto.
125 * gdb.base/watchpoint.exp: Ditto.
126 * gdb.dwarf2/dw2-noloc.exp: Ditto.
127 * gdb.mi/mi-watch.exp: Ditto.
128 * gdb.mi/mi2-watch.exp: Ditto.
129 * gdb.threads/non-ldr-exc-1.exp: Ditto.
130 * gdb.threads/non-ldr-exc-2.exp: Ditto.
131 * gdb.threads/non-ldr-exc-3.exp: Ditto.
132 * gdb.threads/non-ldr-exc-4.exp: Ditto.
133 * gdb.threads/watchpoint-fork.exp: Ditto.
134 * gdb.threads/watchthreads-reorder.exp: Ditto.
135 * gdb.trace/change-loc.exp: Ditto.
136 * gdb.trace/pending.exp: Ditto.
137 * gdb.trace/status-stop.exp: Ditto.
138 * gdb.trace/strace.exp: Ditto.
139 * gdb.trace/trace-break.exp: Ditto.
140 * gdb.trace/unavailable.exp: Ditto.
141 * lib/gdb.exp (with_test_prefix): Always prefix with space and
142 suffix with colon. Adjust leading comments.
143
6a5870ce
PA
1442012-02-21 Pedro Alves <palves@redhat.com>
145 Tom Tromey <tromey@redhat.com>
146
147 * lib/gdb.exp: Add description of test prefixes.
148 (with_test_prefix): New procedure.
149 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
150 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
151 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
152 instead of lappend to append to pf_prefix.
153 * gdb.base/catch-load.exp: Use with_test_prefix.
154 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
155 * gdb.base/jit-so.exp: Use with_test_prefix.
156 * gdb.base/jit.exp: Use with_test_prefix.
157 * gdb.base/return-nodebug.exp (do_test): Use append instead of
158 lappend to append to pf_prefix.
159 * gdb.base/sepdebug.exp: Use with_test_prefix.
160 * gdb.base/solib-display.exp: Use with_test_prefix.
161 * gdb.base/solib-overlap.exp: Use with_test_prefix.
162 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
163 * gdb.base/watchpoint.exp: Use with_test_prefix.
164 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
165 * gdb.mi/mi-watch.exp: Use with_test_prefix.
166 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
167 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
168 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
169 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
170 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
171 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
172 append instead of lappend to append to pf_prefix.
173 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
174 * gdb.trace/change-loc.exp: Use with_test_prefix.
175 * gdb.trace/pending.exp: Use with_test_prefix.
176 * gdb.trace/status-stop.exp: Use with_test_prefix.
177 * gdb.trace/strace.exp: Use with_test_prefix.
178 * gdb.trace/trace-break.exp: Use with_test_prefix.
179 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
180 instead of lappend to append to pf_prefix.
181
35dc4a6b
JK
1822012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 Fix racy FAILs.
185 * gdb.base/inferior-died.c (main): Add return of 0.
186 * gdb.base/inferior-died.exp (continue): Fix expectation of
187 asynchronous events.
188 (p 1): New test.
189
c5a006e6
PA
1902012-02-20 Pedro Alves <palves@redhat.com>
191
192 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
193 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
194 gdb's internal debug output. For the non-threaded case, look for
195 "Program received signal SIGLARM", for the threaded case, peek at
196 the thread's siginfo.
197
cc51a170
PA
1982012-02-20 Pedro Alves <palves@redhat.com>
199
200 General cleanup, make output test messages unique, and build
201 different executable files for the non-threaded and threaded
202 cases.
203
204 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
205 Delete.
206 (executable_nothr, executable_thr): New globals.
207 (top level): Adjust to delete both executables.
208 (corefunc): New parameter $executable. Set $pf_prefix instead of
209 hand writing a prefix in tests. Issue a clean_restart and enable
210 lin-lwp debug output here.
211 (top level): Adjust. Use build_executable. Don't start gdb here,
212 and don't enable lin-lwp debug output here.
213 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
214
c755f03d
JK
2152012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
216
217 Fix racy FAILs.
218 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
219 "continue" command.
220
6bec5e0a
JK
2212012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
222
223 Fix for gdbserver non-extended mode.
224 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
225 and gdb_run_cmd.
226
2e8265fd
TT
2272012-02-17 Tom Tromey <tromey@redhat.com>
228
229 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
230 * gdb.python/py-events.exp: Check 'dir' output.
231 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
232
9e507076
YQ
2332012-02-17 Yao Qi <yao@codesourcery.com>
234
235 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
236
32d22ab1
TT
2372012-02-16 Tom Tromey <tromey@redhat.com>
238
239 * gdb.base/inferior-died.c: Don't include stdio.h.
240
9addecb9
TT
2412012-02-16 Tom Tromey <tromey@redhat.com>
242
243 * gdb.base/inferior-died.c: New file.
244 * gdb.base/inferior-died.exp: New file.
245
4cb6da1c
AR
2462012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
247
248 * gdb.base/break-inline.exp: New file.
249 * gdb.base/break-inline.c: New file.
250
3af2590d
TT
2512012-02-15 Tom Tromey <tromey@redhat.com>
252
253 * gdb.base/pc-fp.exp: Add "info register" tests.
254
29988831
TT
2552012-02-15 Tom Tromey <tromey@redhat.com>
256
257 * gdb.base/regs.exp: Remove.
258
10010058
PA
2592012-02-15 Pedro Alves <palves@redhat.com>
260
261 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
262 the target doesn't support tracepoints.
263 * gdb.trace/circ.exp: Ditto.
264 * gdb.trace/collection.exp: Ditto.
265 * gdb.trace/packetlen.exp: Ditto.
266 * gdb.trace/passc-dyn.exp: Ditto.
267 * gdb.trace/report.exp: Ditto.
268 * gdb.trace/tfind.exp: Ditto.
269 * gdb.trace/tspeed.exp: Ditto.
270 * gdb.trace/tsv.exp: Ditto.
271 * gdb.trace/unavailable.exp: Ditto.
272 * gdb.trace/while-dyn.exp: Ditto.
273
a2e0062d
PA
2742012-02-15 Pedro Alves <palves@redhat.com>
275
276 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
277 gdb_test_multiple, and call unsupported instead of fail, if the
278 remote side does not support the request.
279
a1999d40
PA
2802012-02-15 Pedro Alves <palves@redhat.com>
281
282 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
283 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
284 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
285 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
286 * gdb.server/server-run.exp: Make sure gdb is disconnected.
287 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
288 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
289 doesn't start with "extended-" already.
290
7cee1e54
PA
2912012-02-15 Pedro Alves <palves@redhat.com>
292
293 Support extended-remote. Avoid cascading timeouts.
294
295 * gdb.base/attach.exp (do_attach_tests): Add expected output for
296 the extended-remote target. If attaching with no file fails, load
297 the file manually.
298 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
299
816338b5
SS
3002012-02-14 Stan Shebs <stan@codesourcery.com>
301
302 * gdb.base/ena-dis-br.exp: Add enable count test.
303
cc30c4bd
PA
3042012-02-13 Pedro Alves <palves@redhat.com>
305
306 * config/mips-idt.exp: Delete.
307 * gdb.base/a2-run.exp: Remove mips-idt xfails.
308 * gdb.base/bitfields.exp: Remove mips-idt restarts.
309 * gdb.base/break.exp: Remove mips-idt references.
310 * gdb.base/chng-syms.exp: Ditto.
311 * gdb.base/default.exp: Ditto.
312 * gdb.base/funcargs.exp (funcargs_reload): Delete.
313 (top level): Don't call it.
314 * gdb.base/opaque.exp: Remove mips-idt restarts.
315 * gdb.base/ptype.exp: Remove mips-idt xfails.
316 * gdb.base/scope.exp: Remove mips-idt restarts.
317 * gdb.base/sepdebug.exp: Remove mips-idt references.
318 * gdb.base/watchpoint.exp (maybe_clean_restart)
319 (maybe_reinitialize): Delete.
320 (test_disabling_watchpoints, test_disabling_watchpoints)
321 (test_watchpoint_triggered_in_syscall)
322 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
323 Don't call them.
324
57008375
JK
3252012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
326
327 * gdb.server/server-exec-info.exp: New file.
328
4a2d9c08
PA
3292012-02-10 Pedro Alves <palves@redhat.com>
330
331 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
332 always non-empty.
333 (test_attach): Always pass $exec to test_attach_gdb.
334
09fa21bd
TT
3352012-02-08 Tom Tromey <tromey@redhat.com>
336
337 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
338 before inferior is started.
339
f0823d2c
TT
3402012-02-07 Tom Tromey <tromey@redhat.com>
341
342 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
343 Symbol.value.
344 * gdb.python/py-symbol.c (qq): Set default value.
345
3462012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
347
348 * gdb.python/py-symbol.c (qq): New global.
349 * gdb.python/py-symbol.exp: Add test for frame-less
350 lookup_symbol.
351 * gdb.python/py-symtab.exp: Fix line number.
352
f7e44f65
JB
3532012-02-03 Joel Brobecker <brobecker@adacore.com>
354
355 * gdb.ada/mi_task_arg: New testcase.
356
4c9ed63c
PA
3572012-02-02 Pedro Alves <palves@redhat.com>
358
359 * gdb.reverse/until-precsave.exp: Also put "record save" under the
360 extended timeout.
361
c0b9f2c6
PA
3622012-02-02 Pedro Alves <palves@redhat.com>
363
364 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
365 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
366
5f8cefd7
PA
3672012-02-02 Pedro Alves <palves@redhat.com>
368
369 * gdb.base/term.exp: Rewrite.
370 * gdb.base/term.c: New.
371
2f3a2569
PA
3722012-02-02 Pedro Alves <palves@redhat.com>
373
374 * gdb.base/default.exp (run "r" abbreviation, run): Add
375 extended-remote expected output.
376
f149aabd
TT
3772012-02-02 Tom Tromey <tromey@redhat.com>
378
379 * gdb.cp/dispcxx.exp: New file.
380 * gdb.cp/dispcxx.cc: New file.
381
03bef283
TT
3822012-02-01 Tom Tromey <tromey@redhat.com>
383
384 * gdb.base/jit-simple.exp: New file.
385 * gdb.base/jit-simple.c: New file.
386
a79b18b5
YQ
3872012-01-30 Yao Qi <yao@codesourcery.com>
388
389 * gdb.base/skip.exp: Make test result unique.
390
f0d1a53e
JK
3912012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
394 compatibility with valgrind-3.7.0.
395
4b3c9f41
PA
3962012-01-27 Pedro Alves <palves@redhat.com>
397
398 * gdb.base/watchpoint.exp (no_hw): New global.
399 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
400 disable hw watchpoints.
401 (test_wide_location_1, test_wide_location_2): If no_hw is set,
402 don't expect hw watchpoints.
403 (no_hw_watchpoints): Always clean restart.
404 (do_tests): New procedure, factored out from the top level.
405 (top level): Run tests twice. Once with hw watchpoints enabled,
406 another time with hw watchpoints disabled.
407
a13491c8
PA
4082012-01-27 Pedro Alves <palves@redhat.com>
409
410 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
411 out from the top level.
412 (top level): Call it instead.
413
f2c8a051
PA
4142012-01-27 Pedro Alves <palves@redhat.com>
415
416 * gdb.base/watchpoint.exp (top level): Re-enable hardware
417 watchpoints sooner.
418
654d7a9e
PA
4192012-01-27 Pedro Alves <palves@redhat.com>
420
421 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
422
274f47f3
PA
4232012-01-27 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
426 "You may have requested too many hardware
427 breakpoints/watchpoints".
428
e4d63ba2
PA
4292012-01-27 Pedro Alves <palves@redhat.com>
430
431 * gdb.base/watchpoint.exp (maybe_clean_restart)
432 (maybe_reinitialize): New.
433 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
434 expect "hit N times".
435 (test_disabling_watchpoints, test_complex_watchpoint)
436 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
437 Call maybe_clean_restart.
438 (top level): Use clean_restart. Remove "mips-idt-*"
439 reinitialization.
440
dbd95daf
PA
4412012-01-27 Pedro Alves <palves@redhat.com>
442
443 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
444
f3ad2025
PA
4452012-01-27 Pedro Alves <palves@redhat.com>
446
447 * gdb.base/watchpoint.exp: Clean restart after tests that don't
448 require `initialize' anymore. Remove unnecessary `initialize'
449 calls.
450
100aa3ae
PA
4512012-01-27 Pedro Alves <palves@redhat.com>
452
453 * gdb.base/watchpoint.exp (wp_set): Delete.
454 (initialize, test_simple_watchpoint, top level): Remove dead code.
455
c79a8e11
PA
4562012-01-27 Pedro Alves <palves@redhat.com>
457
458 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
459 typo.
460
048fe15a
PA
4612012-01-27 Pedro Alves <palves@redhat.com>
462
463 * config/extended-gdbserver.exp: New file.
464 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
465 comment.
466 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
467 * boards/native-extended-gdbserver.exp: New file.
468
4033a6bf
PA
4692012-01-26 Pedro Alves <palves@redhat.com>
470
471 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
472 and gdb_test_multiple.
473
3d7f4b81
PA
4742012-01-26 Pedro Alves <palves@redhat.com>
475
476 Make test messages unique, and more identifiable.
477 * gdb.multi/watchpoint-multi.exp: Change test messages.
478
484abf42
TT
4792012-01-25 Tom Tromey <tromey@redhat.com>
480
481 * gdb.base/solib-disc.exp: Fix regexps.
482
edcc5120
TT
4832012-01-24 Tom Tromey <tromey@redhat.com>
484
485 * lib/mi-support.exp (mi_expect_stop): Add special case for
486 solib-event.
487 * gdb.base/catch-load-so.c: New file.
488 * gdb.base/catch-load.exp: New file.
489 * gdb.base/catch-load.c: New file.
490 * gdb.base/break-interp.exp (reach_1): Update regexp.
491
30b91c90
JK
4922012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
493
494 Fix fuzzy results.
495 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
496 lpsimple and func.
497
53fe1783
GB
4982012-01-24 Gary Benson <gbenson@redhat.com>
499
500 Delete #if 0'd out code.
501 * gdb.base/default.exp (info catch): Remove.
502 * gdb.base/gdb_history (info catch): Likewise.
503 * gdb.base/help.exp (info catch): Likewise.
504
d0d8b0c6
JK
5052012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
506
507 Fix watchpoints to be specific for each inferior.
508 * gdb.multi/watchpoint-multi.c: New file.
509 * gdb.multi/watchpoint-multi.exp: New file.
510
4403d8e9
JK
5112012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
512
513 Fix watchpoints across inferior fork.
514 * gdb.threads/watchpoint-fork-child.c: New file.
515 * gdb.threads/watchpoint-fork-mt.c: New file.
516 * gdb.threads/watchpoint-fork-parent.c: New file.
517 * gdb.threads/watchpoint-fork-st.c: New file.
518 * gdb.threads/watchpoint-fork.exp: New file.
519 * gdb.threads/watchpoint-fork.h: New file.
520
050a2e1d
PA
5212012-01-23 Pedro Alves <palves@redhat.com>
522
523 * gdb.base/call-signal-resume.exp: Allow output after "return".
524
6a52fb62
PA
5252012-01-20 Pedro Alves <palves@redhat.com>
526
527 * gdb.python/py-finish-breakpoint.py: Fix typo.
528
145b16a9
UW
5292012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
530
531 * gdb.base/info-proc.exp: Also run on remote targets. Main
532 "info proc" command is now always present; whether target supports
533 actual info proc operation is detected when attempting to issue
534 the command.
535
26f6125e
JK
5362012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
537
538 * .gdbinit: Remove.
539
eb5227ce
PA
5402012-01-19 Pedro Alves <palves@redhat.com>
541
542 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
543 look at the funtions' returns.
544 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
545 (jprint.print(int, int)): Change return type to int. Adjust.
546
1db33378
PP
5472012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
548
549 PR gdb/9538
550 * gdb.base/sepdebug.exp: New test.
551
b9736cf8
PA
5522012-01-18 Pedro Alves <palves@redhat.com>
553
554 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
555 Allow output before ^done.
556
4aac40c8
TT
5572012-01-16 Tom Tromey <tromey@redhat.com>
558
559 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
560 Add tests for relative directory.
561
cafec441
TT
5622012-01-16 Tom Tromey <tromey@redhat.com>
563
564 * gdb.base/printcmds.c (enum flag_enum): New.
565 (three): New global.
566 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
567 enum printing.
568 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
569 FlagEnumerationPrinter.
570 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
571 * gdb.python/py-pp-maint.c (enum flag_enum): New.
572 (fval): New global.
573
abcc4978
PA
5742012-01-16 Pedro Alves <palves@redhat.com>
575
576 * lib/gdb.exp (banned_procedures): New variable.
577 (banned_variables_traced): Rename to ...
578 (banned_traced): ... this.
579 (gdb_init): Also trace banned procedures.
580 (gdb_finish): Also untrace banned procedures.
581
97ccebe8
PA
5822012-01-16 Pedro Alves <palves@redhat.com>
583
584 Remove all calls to strace.
585
2af7517b
JK
5862012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
587
588 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
589 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
590
9241a8bc
PP
5912012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
592
593 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
594 * gdb.base/pie-execl.exp: Likewise.
595
3848a17f
KS
5962012-01-12 Keith Seitz <keiths@redhat.com>
597
598 PR mi/10586
599 * gdb.mi/var-cmd.c (struct anonymous): New structure.
600 (do_anonymous_type_tests): New function.
601 (main): Call do_anonymous_type_tests.
602 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
603 (verify_everything): New procedure.
604 * gdb.mi/mi-var-cp.cc (class A): New class.
605 (anonymous_structs_and_unions): New function.
606 (main): Call anonymous_structs_and_unions.
607 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
608 (verify_everything): New procedure.
609
440e2fca
KS
6102012-01-12 Keith Seitz <keiths@redhat.com>
611
612 * lib/mi-support.exp: Expand comments about PATH_EXPR.
613 (varobj_tree::get_path_expr): Assume that all varobjs are
614 compound unless they are known simple types.
615 Adjust path expressions based on parent type, path parent type,
616 and tree language.
617 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
618 the root varobj.
619 (mi_walk_varobj_tree): Add LANGUAGE parameter.
620
675399c9
PA
6212012-01-11 Pedro Alves <palves@redhat.com>
622
623 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
624 core files on this machine" anymore.
625
97ddaa9b
PH
6262012-01-11 Paul Hilfinger <hilfingr@adacore.com>
627
628 * gdb.base/watchpoint.c (recurser): Initialize local_x.
629 (main): Repeat recurser call.
630 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
631 equivalent to 'local_x'.
632
ea733575
PH
6332012-01-11 Paul Hilfinger <hilfingr@adacore.com>
634 Joel Brobecker <brobecker@adacore.com>
635
636 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
637
2ca0b532
PA
6382012-01-05 Pedro Alves <alves.ped@gmail.com>
639
640 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
641 * gdb.python/py-events.c (first): Add bits for new "step N" test.
642 * gdb.python/py-events.exp: Test that "step N" tripping on a
643 breakpoint emits a breakpoint event.
644
6e681866
JB
6452012-01-03 Joel Brobecker <brobecker@adacore.com>
646
647 * gdb.base/auxv.exp: Reformat the copyright notice.
648
3c2d6aff
YQ
6492012-01-03 Yao Qi <yao@codesourcery.com>
650
651 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
652 (strace_trace_on_diff_addr): New.
653 * gdb.trace/strace.c: (main): Add two local variables.
654
0852fee3
UW
6552011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
656
657 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
658 * gdb.cell/gcore.exp: Likewise.
659 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
660 to verify the correct instance of main is selected.
661
12c3e59c
JB
6622012-01-02 Joel Brobecker <brobecker@adacore.com>
663
664 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
665 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
666 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
667 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
668 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
669 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
670 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
671 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
672 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
673 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
674 gdb.threads/thread_check.c: Reformat copyright header.
675
c0f378ec
EBM
6762011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
677
e4a7ca93 678 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
679 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
680 is not enabled.
681
3bc96cfb
JK
6822011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
683
684 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
685 parameter to self_exec, adjust the function.
686 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
687 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
688 (set var do_exit = 0): Remove test.
689 (newline at end of file): Add one.
690
095bcf5e
JB
6912011-12-27 Joel Brobecker <brobecker@adacore.com>
692
693 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
694 New files.
695
18d19bd1
JK
6962011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
697
698 Fix racy FAILs.
699 * gdb.threads/fork-thread-pending.c (barrier): New variable.
700 (thread_function, thread_forker): Call pthread_barrier_wait for it.
701 (main): Call pthread_barrier_init for it.
702
e809353a
JK
7032011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
704
705 Fix double send_gdb leading to racy FAILs.
706 * gdb.base/break.exp (set silent break bp_location1): Replace
707 3x send_gdb and gdb_expect by gdb_test.
708 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
709 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
710 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
711 instead of send_gdb. Twice.
712 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
713 3x send_gdb and gdb_expect by gdb_test.
714 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
715
da8cb7ec
JK
7162011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
717
718 * gdb.linespec/linespec.exp: Compile using {c++}.
719
ae1a303e
JK
7202011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
721
722 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
723 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
724 (verify GCC PR debug/51668): New test.
725
cc72b2a2
KP
7262011-12-23 Kevin Pouget <kevin.pouget@st.com>
727
728 Introduce gdb.FinishBreakpoint in Python.
729 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
730 py-finish-breakpoint2
731 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
732 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
733 instead of line number.
734 * gdb.python/py-finish-breakpoint.c: New file.
735 * gdb.python/py-finish-breakpoint.exp: New file.
736 * gdb.python/py-finish-breakpoint.py: New file.
737 * gdb.python/py-finish-breakpoint2.cc: New file.
738 * gdb.python/py-finish-breakpoint2.exp: New file.
739 * gdb.python/py-finish-breakpoint2.py: New file.
740
3b7962f9
JK
7412011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
742
743 Partial fix of compatibility with gcc-4.7.
744 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
745 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
746 Add comment to add a PASS case in the future.
747
6538471c
JK
748 Fix compatibility with gcc-4.7.
749 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
750
7052e42c
UW
7512011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
752
753 PR tdep/12797
754 * gdb.base/callfuncs.exp: Remove KFAIL.
755
9ac7f98e
JB
7562011-12-21 Joel Brobecker <brobecker@adacore.com>
757
758 * gdb.ada/task_bp: New testcase.
759
f6eeced0
JK
7602011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
761
762 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
763 -DNO_SECTIONS.
764 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
765
72225e17
JK
7662011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
767
768 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
769 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
770 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
771 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
772 conditional for gcc <= 4.5.
773
13ac8d2c
JK
7742011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
775
776 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
777 by XFAIL.
778 * gdb.cp/static-method.exp (info addr A::func())
779 (list static-method.cc:xxx::(anonymous namespace)::A::func)
780 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
781 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
782 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
783 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
784 (test value of F in k3_m): Likewise.
785 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
786 Likewise.
787
049682ba
JK
7882011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
789
790 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
791 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
792 Remove.
793 * gdb.threads/attachstop-mt.c: Remove.
794 * gdb.threads/attachstop-mt.exp: Remove.
795
2c9d8796
MK
7962011-12-17 Mark Kettenis <kettenis@gnu.org>
797
798 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
799
e0f9f062
DE
8002011-12-16 Doug Evans <dje@google.com>
801
f4aa2101 802 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
803 * boards/native-gdbserver.exp: New file.
804
e0f9f062
DE
805 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
806 gdbserver output.
807 (gdbserver_default_get_remote_address): New function.
808 (gdbserver_start): Call gdb,get_remote_address to compute argument
809 to "target remote" command.
810
80b6e756
PM
8112011-12-16 Phil Muldoon <pmuldoon@redhat.com>
812
1c3ad6ab 813 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
814 python print-stack. Add set/show python print-stack
815 off|full|message tests.
816
1576bd00
YQ
8172011-12-15 Yao Qi <yao@codesourcery.com>
818
819 * gdb.trace/strace.c: New
820 * gdb.trace/strace.exp: New.
821
d6a0f6e0
TT
8222011-12-14 Tom Tromey <tromey@redhat.com>
823
824 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
825
31015e1d
DE
8262011-12-14 Doug Evans <dje@google.com>
827
828 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
829
7b50312a
PA
8302011-12-14 Pedro Alves <pedro@codesourcery.com>
831
832 PR threads/10729
833
834 * gdb.mi/watch-nonstop.c: New file.
835 * gdb.mi/mi-watch-nonstop.exp: New file.
836
924437bc
PA
8372011-12-13 Pedro Alves <pedro@codesourcery.com>
838 Doug Evans <dje@google.com>
839
840 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
841 (clean_restart): Remove references to the gdb_stub target board
842 variable.
843 (gdb_step_for_stub): Delete.
844
845 * gdb.base/annota1.exp: Remove all references to [target_info
846 exists gdb_stub], gdb_step_for_stub and usestubs.
847 * gdb.base/annota3.exp: Ditto.
848 * gdb.base/async.exp: Ditto.
849 * gdb.base/break.exp: Ditto.
850 * gdb.base/code-expr.exp: Ditto.
851 * gdb.base/commands.exp: Ditto.
852 * gdb.base/completion.exp: Ditto.
853 * gdb.base/condbreak.exp: Ditto.
854 * gdb.base/consecutive.exp: Ditto.
855 * gdb.base/cvexpr.exp: Ditto.
856 * gdb.base/define.exp: Ditto.
857 * gdb.base/display.exp: Ditto.
858 * gdb.base/ena-dis-br.exp: Ditto.
859 * gdb.base/environ.exp: Ditto.
860 * gdb.base/gnu-ifunc.exp: Ditto.
861 * gdb.base/maint.exp: Ditto.
862 * gdb.base/pending.exp: Ditto.
863 * gdb.base/sect-cmd.exp: Ditto.
864 * gdb.base/sepdebug.exp: Ditto.
865 * gdb.base/unload.exp: Ditto.
866 * gdb.base/watchpoint-solib.exp: Ditto.
867 * gdb.cp/annota2.exp: Ditto.
868 * gdb.cp/annota3.exp: Ditto.
869 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
870 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
871 * gdb.mi/mi-pending.exp: Ditto.
872 * gdb.trace/circ.exp: Ditto.
873 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
874 * gdb.base/list.exp: Ditto.
875
876 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
877 breakpoint function and all references to the usestubs macro.
878 * gdb.base/exprs.c: Ditto.
879 * gdb.base/freebpcmd.c: Ditto.
880 * gdb.base/bitfields.c: Ditto.
881 * gdb.base/bitfields2.c: Ditto.
882 * gdb.base/break.c: Ditto.
883 * gdb.base/call-sc.c: Ditto.
884 * gdb.base/call-signals.c: Ditto.
885 * gdb.base/callfuncs.c: Ditto.
886 * gdb.base/charset.c: Ditto.
887 * gdb.base/consecutive.c: Ditto.
888 * gdb.base/constvars.c: Ditto.
889 * gdb.base/funcargs.c: Ditto.
890 * gdb.base/int-type.c: Ditto.
891 * gdb.base/interrupt.c: Ditto.
892 * gdb.base/langs0.c: Ditto.
893 * gdb.base/list0.c: Ditto.
894 * gdb.base/mips_pro.c: Ditto.
895 * gdb.base/miscexprs.c: Ditto.
896 * gdb.base/nodebug.c: Ditto.
897 * gdb.base/opaque0.c: Ditto.
898 * gdb.base/pointers.c: Ditto.
899 * gdb.base/printcmds.c: Ditto.
900 * gdb.base/ptype.c: Ditto.
901 * gdb.base/recurse.c: Ditto.
902 * gdb.base/reread1.c: Ditto.
903 * gdb.base/reread2.c: Ditto.
904 * gdb.base/restore.c: Ditto.
905 * gdb.base/return.c: Ditto.
906 * gdb.base/run.c: Ditto.
907 * gdb.base/scope0.c: Ditto.
908 * gdb.base/sepdebug.c: Ditto.
909 * gdb.base/setshow.c: Ditto.
910 * gdb.base/setvar.c: Ditto.
911 * gdb.base/sigall.c: Ditto.
912 * gdb.base/signals.c: Ditto.
913 * gdb.base/structs.c: Ditto.
914 * gdb.base/structs2.c: Ditto.
915 * gdb.base/testenv.c: Ditto.
916 * gdb.base/twice.c: Ditto.
917 * gdb.base/unwindonsignal.c: Ditto.
918 * gdb.base/watchpoint.c: Ditto.
919 * gdb.base/watchpoints.c: Ditto.
920 * gdb.base/whatis.c: Ditto.
921 * gdb.cp/classes.cc: Ditto.
922 * gdb.cp/cplusfuncs.cc: Ditto.
923 * gdb.cp/derivation.cc: Ditto.
924 * gdb.cp/formatted-ref.cc: Ditto.
925 * gdb.cp/misc.cc: Ditto.
926 * gdb.cp/overload.cc: Ditto.
927 * gdb.cp/ovldbreak.cc: Ditto.
928 * gdb.cp/ref-params.cc: Ditto.
929 * gdb.cp/ref-types.cc: Ditto.
930 * gdb.cp/templates.cc: Ditto.
931 * gdb.cp/virtfunc.cc: Ditto.
932 * gdb.hp/gdb.aCC/run.c: Ditto.
933 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
934 * gdb.hp/gdb.compat/xdb0.c: Ditto.
935 * gdb.reverse/consecutive-reverse.c: Ditto.
936 * gdb.reverse/sigall-reverse.c: Ditto.
937 * gdb.reverse/until-reverse.c: Ditto.
938 * gdb.reverse/watch-reverse.c: Ditto.
939 * gdb.trace/actions.c: Ditto.
940 * gdb.trace/circ.c: Ditto.
941 * gdb.trace/collection.c: Ditto.
942
fabde485
PA
9432011-12-13 Pedro Alves <pedro@codesourcery.com>
944
945 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
946 (func6, func7): New.
947 (main): Call func6 and func7.
948 * gdb.base/watchpoint.exp (test_wide_location_1)
949 (test_wide_location_2): New.
950 (top level): Re-enable hardware watchpoints if necessary. Call
951 test_wide_location_1 and test_wide_location_2.
952
ff7d1690
YQ
9532011-12-11 Yao Qi <yao@codesourcery.com>
954
955 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
956
a6af7abe
JB
9572011-12-11 Joel Brobecker <brobecker@adacore.com>
958
959 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
960 expected output for unsupported case.
961
61638e15
JK
9622011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
963
964 PR testsuite/12649
965 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
966 Protect gdb_test_multiple by final $gdb_prompt match.
967
0a00efc3
JK
9682011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
969
970 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
971 New variable, new test.
972 (list static-method.cc:xxx::(anonymous namespace)::A::func)
973 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
974 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
975 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
976 them if HAVE_GCC_45682_FIXED is not set.
977
4511b1ba
YQ
9782011-12-10 Yao Qi <yao@codesourcery.com>
979
980 * gdb.trace/status-stop.exp: New.
981 * gdb.trace/status-stop.c: New.
982
27949e73
JK
9832011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
984
985 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
986 timeout.
987
d8ea7931
TT
9882011-12-08 Tom Tromey <tromey@redhat.com>
989
990 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
991 condition.
992
1cc310d2
SS
9932011-12-07 Stan Shebs <stan@codesourcery.com>
994
995 * gdb.trace/tfind.exp: Update for output changes.
996
d482a875
PA
9972011-12-07 Pedro Alves <pedro@codesourcery.com>
998
999 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1000 throws "Cannot insert catchpoints in this configuration".
1001 * gdb.ada/mi_catch_ex.exp: Likewise.
1002
f0ba3972
PA
10032011-12-06 Pedro Alves <pedro@codesourcery.com>
1004
1005 * gdb.base/break-always.exp: Test changing memory at addresses
1006 with breakpoints inserted.
1007
f8eba3c6
TT
10082011-12-06 Joel Brobecker <brobecker@acacore.com>
1009
1010 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1011 involving a fully qualified function name.
1012
10132011-12-06 Tom Tromey <tromey@redhat.com>
1014
1015 * gdb.ada/homonym.exp: Add three breakpoint tests.
1016
10172011-12-06 Tom Tromey <tromey@redhat.com>
1018
1019 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1020 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1021 * gdb.objc/objcdecode.exp: Update for output changes.
1022 * gdb.linespec/linespec.exp: New file.
1023 * gdb.linespec/lspec.cc: New file.
1024 * gdb.linespec/lspec.h: New file.
1025 * gdb.linespec/body.h: New file.
1026 * gdb.linespec/base/two/thefile.cc: New file.
1027 * gdb.linespec/base/one/thefile.cc: New file.
1028 * gdb.linespec/Makefile.in: New file.
1029 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1030 output changes.
1031 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1032 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1033 makes one breakpoint.
1034 * gdb.cp/method2.exp (test_break): Update for output changes.
1035 * gdb.cp/mb-templates.exp: Update for output changes.
1036 * gdb.cp/mb-inline.exp: Update for output changes.
1037 * gdb.cp/mb-ctor.exp: Update for output changes.
1038 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1039 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1040 has multiple matches.
1041 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1042 error message change.
1043 * gdb.base/list.exp (test_list_filename_and_number): Update for
1044 error message change.
1045 * gdb.base/break.exp: Disable pending breakpoints. Update for
1046 output changes.
1047 * configure.ac: Add gdb.linespec.
1048 * configure: Rebuild.
1049 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1050
c642a434
UW
10512011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1052
1053 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1054 last_break register on s390*-*-* targets.
1055
b18003d1
JB
10562011-12-06 Joel Brobecker <brobecker@adacore.com>
1057
1058 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1059 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1060 of parameter X in procedure Foo.
1061
fe96589c
SS
10622011-12-05 Stan Shebs <stan@codesourcery.com>
1063
1064 * gdb.trace/tfind.exp: Update help string matches.
1065
1820ab47
JK
10662011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1067
1068 * gdb.server/ext-run.exp (get process list): Accept also systemd
1069 as PID 1.
1070
e11ac3a3
JK
10712011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1072 Pedro Alves <pedro@codesourcery.com>
1073
1074 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1075 starting GDB.
1076 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1077 $use_gdb_stub.
1078 * gdb.base/display.exp: Likewise.
1079 * gdb.base/ending-run.exp: Likewise.
1080 * gdb.base/list.exp (test_listsize): Likewise.
1081 * gdb.base/setshow.exp: Likewise.
1082 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1083 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1084 check by global $use_gdb_stub.
1085 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1086 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1087 (default_gdb_init): Unset global $use_gdb_stub.
1088 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1089 by global $use_gdb_stub.
1090 * lib/gdbserver-support.exp: Extend comments for set_board_info
1091 gdb_protocol and gdb,socketport.
1092 (gdbserver_start_extended): Set global gdbserver_protocol and
1093 gdbserver_gdbport. Clear global use_gdb_stub.
1094 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1095 from target use_gdb_stub.
1096 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1097
1d41d75c
DE
10982011-12-03 Doug Evans <dje@google.com>
1099
1100 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1101 (gdb_step_for_stub): Add comments.
1102
d6d7a51a
MR
11032011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1104
1105 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1106 to the caller.
1107 (gdb_test_multiple): Likewise.
1108
05acf274
JK
11092011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1110
1111 Fix gdb.mi/mi-solib.exp without system debug info installed.
1112 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1113 expect attribute, return 0 for it. Update comments.
1114
2268b414
JK
11152011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1116
1117 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1118 (corrupted list): Adjust the expectation.
1119
585861ea
JK
11202011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1121
1122 PR threads/13448
1123 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1124 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1125 * gdb.threads/tls-var-main.c: New file.
1126 * gdb.threads/tls-var.c: New file.
1127 * gdb.threads/tls-var.exp: New file.
1128
968643aa
JK
11292011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 PR testsuite/12649
1132 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1133 Protect gdb_test_multiple by final $gdb_prompt match.
1134 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1135 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1136 (test_tracepoints): Likewise.
1137
9750bca9
JK
11382011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 PR breakpoints/13346
1141 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1142 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1143 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1144
ac1349b7
JB
11452011-12-01 Joel Brobecker <brobecker@adacore.com>
1146
1147 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1148 * gdb.ada/homonym/homonym.adb: For use of all types defined
1149 locally inside both Get_Value subprograms.
1150
26d44faf
JK
11512011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1152
1153 Fix racy FAILs.
1154 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1155 of send_gdb.
1156
514f6425
UW
11572011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1158
1159 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1160 environment variable after test completed.
1161
4255c8d2
UW
11622011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1163
1164 * gdb.base/solib-nodir.exp: Skip if remote target.
1165 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1166 application. Call gdb_load_shlibs.
1167 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1168
a35ad96a
JB
11692011-11-29 Joel Brobecker <brobecker@adacore.com>
1170
1171 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1172
1a1d5513
JB
11732011-11-28 Joel Brobecker <brobecker@adacore.com>
1174
1175 * gdb.ada/fullname_bp: New testcase.
1176
50b4ddf8
JK
11772011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 PR testsuite/12649
1180 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1181 Wrap send_gdb into a new gdb_test.
1182
fb0aec57
JK
1183 Code cleanup.
1184 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1185 Convert send_gdb and gdb_expect to gdb_test_multiple.
1186
2376d946
JK
11872011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1188
1189 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1190
1eec78bd
KS
11912011-11-23 Keith Seitz <keiths@redhat.com>
1192
1193 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1194 (mi_varobj_tree_test_children_callback): New proc.
1195 (mi_walk_varobj_tree): New proc.
1196
36dfb11c
TT
11972011-11-22 Tom Tromey <tromey@redhat.com>
1198
1199 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1200 Add "use_mi_command" argument.
1201 (mi_run_cmd, mi_run_with_cli): New procs.
1202 * gdb.mi/solib-lib.c: New file.
1203 * gdb.mi/solib-main.c: New file.
1204 * gdb.mi/mi-solib.exp: New file.
1205
0e965dd0
DE
12062011-11-21 Doug Evans <dje@google.com>
1207
1208 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1209 _Unwind_DebugHook is missing.
1210
f196051f
SS
12112011-11-20 Stan Shebs <stan@codesourcery.com>
1212
1213 * gdb.trace/tstatus.exp: New.
1214 * gdb.trace/actions.c: Include string.h.
1215
bfccc43c
YQ
12162011-11-18 Yao Qi <yao@codesourcery.com>
1217
1218 * gdb.trace/pending.exp: New.
1219 * gdb.trace/pending.c: New.
1220 * gdb.trace/pendshr1.c: New.
1221 * gdb.trace/pendshr2.c: New.
1222 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1223 tracepoint location becomes pending.
1224 (tracepoint_change_loc_2): New.
1225
73cd8ab1
DM
12262011-11-16 David S. Miller <davem@davemloft.net>
1227
1228 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1229 target is sparc*-*-linux*
1230
77426730
PK
12312011-11-15 Paul Koning <paul_koning@dell.com>
1232
1233 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1234 types.
1235
ed59ded5
DE
12362011-11-14 Doug Evans <dje@google.com>
1237
1238 * gdb.base/shell.exp: New file.
1239
405f8e94
SS
12402011-11-14 Stan Shebs <stan@codesourcery.com>
1241
1242 * gdb.trace/ftrace.c: New.
1243 * gdb.trace/ftrace.exp: New.
1244
1e4d1764
YQ
12452011-11-14 Yao Qi <yao@codesourcery.com>
1246
1247 * gdb.trace/change-loc-1.c: New.
1248 * gdb.trace/change-loc-2.c: New.
1249 * gdb.trace/change-loc.c: New.
1250 * gdb.trace/change-loc.exp: New.
1251 * gdb.trace/change-loc.h: New.
1252 * gdb.trace/trace-break.c (marker): Define new symbol.
1253 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1254 New.
1255 (break_trace_same_addr_6): New.
1256
71eba9c2 12572011-11-12 Matt Rice <ratmice@gmail.com>
1258
1259 * gdb.base/info-macros.exp: Make tests for info definitions
1260 test info macro. Add tests for info macro argument processing.
1261 Rename a few tests.
1262
1d93e29a
KS
12632011-11-11 Keith Seitz <keiths@redhat.com>
1264
1265 PR gdb/12843
1266 * gdb.base/linespecs.exp: New file.
1267
a4b5b48a
DE
12682011-11-11 Doug Evans <dje@google.com>
1269
1270 * gdb.threads/print-threads.exp: Extend timeout for slower
1271 tests.
1272
f6b47be4
DE
12732011-11-10 Doug Evans <dje@google.com>
1274
792a0230
DE
1275 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1276 "record to end of main" test.
1277
f6b47be4
DE
1278 * gdb.python/py-type.c (TS): New typedef.
1279 (ts): New global.
1280 * gdb.python/py-type.exp: Test field list of typedef.
1281
22355c90
JB
12822011-11-10 Joel Brobecker <brobecker@adacore.com>
1283
1284 * gdb.ada/small_reg_param: New testcase.
1285
a7860e76
TT
12862011-11-09 Tom Tromey <tromey@redhat.com>
1287
1288 * gdb.cp/destrprint.exp: New file.
1289 * gdb.cp/destrprint.cc: New file.
1290
72a2e3dc
MI
12912011-11-08 Meador Inge <meadori@codesourcery.com>
1292
1293 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1294 (switch_stack_to_other): New test function.
1295 * gdb.arch/thumb-prologue.exp: New test cases.
1296
c7195df2 12972011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1298
1299 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1300
d3895d7d
YQ
13012011-11-08 Yao Qi <yao@codesourcery.com>
1302
1303 * gdb.exp (supports_process_record): New.
1304 (supports_reverse): New.
1305 * gdb.reverse/break-precsave.exp: Call support_process_record
1306 to run test conditionally.
1307 * gdb.reverse/consecutive-precsave.exp: Likewise.
1308 * gdb.reverse/i386-precsave.exp: Likewise.
1309 * gdb.reverse/machinestate-precsave.exp: Likewise.
1310 * gdb.reverse/solib-precsave.exp: Likewise.
1311 * gdb.reverse/step-precsave.exp: Likewise.
1312 * gdb.reverse/until-precsave.exp: Likewise.
1313 * gdb.reverse/watch-precsave.exp: Likewise.
1314 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1315 test conditionally.
1316 * gdb.reverse/consecutive-reverse.exp: Likewise.
1317 * gdb.reverse/finish-precsave.exp: Likewise.
1318 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1319 * gdb.reverse/finish-reverse.exp: Likewise.
1320 * gdb.reverse/i386-reverse.exp: Likewise.
1321 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1322 * gdb.reverse/machinestate.exp: Likewise.
1323 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1324 * gdb.reverse/sigall-precsave.exp: Likewise.
1325 * gdb.reverse/sigall-reverse.exp: Likewise.
1326 * gdb.reverse/solib-reverse.exp: Likewise.
1327 * gdb.reverse/step-reverse.exp: Likewise.
1328 * gdb.reverse/until-reverse.exp: Likewise.
1329 * gdb.reverse/watch-reverse.exp: Likewise.
1330
a59306a3
YQ
13312011-11-05 Yao Qi <yao@codesourcery.com>
1332
1333 * gdb.trace/trace-break.exp: Add test on setting two
1334 fast tracepoints at the same address.
1335
87769f59
JK
13362011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1337
1338 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1339
3065dfb6
SS
13402011-11-02 Stan Shebs <stan@codesourcery.com>
1341
1342 * gdb.trace/collection.c: Add code using strings.
1343 * gdb.trace/collection.exp: Add tests of string collection.
1344
89e208db
JK
13452011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.base/skip-solib.exp (executable_main): New variable.
1348 (binfile_main): Base it on that.
1349 Use $executable_main in clean_restart calls. Drop gdb_exit and
1350 gdb_start calls.
1351
405e54e9
JK
13522011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1353
1354 Fix racy FAILs.
1355 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1356 breakpoint_re globals import by async. Set string_regex to .* for
1357 async. Remove the optional thread_selected_re and breakpoint_re
1358 globals expectations.
1359
58e8570a
JM
13602011-11-01 Joseph Myers <joseph@codesourcery.com>
1361
1362 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1363 well as Cygwin.
1364
7b35ec7f 13652011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1366
1367 Add tests for skip command.
89e208db
JK
1368 * gdb.base/skip-solib-lib.c: New
1369 * gdb.base/skip-solib-main.c: New
1370 * gdb.base/skip-solib.exp: New
1371 * gdb.base/skip.c: New
1372 * gdb.base/skip.exp: New
1373 * gdb.base/skip1.c: New
1374 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1375
b9fd1791
PA
13762011-10-31 Yao Qi <yao@codesourcery.com>
1377 Pedro Alves <pedro@codesourcery.com>
1378
1379 * gdb.trace/trace-break.c: New.
1380 * gdb.trace/trace-break.exp: New.
1381
4323fecc
JK
13822011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1383
1384 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1385 break-here-2.
1386
0e5bf2a8
PA
13872011-10-28 Pedro Alves <pedro@codesourcery.com>
1388
1389 * gdb.threads/no-unwaited-for-left.c: New.
1390 * gdb.threads/no-unwaited-for-left.exp: New.
1391 * gdb.threads/non-ldr-exc-1.c: New.
1392 * gdb.threads/non-ldr-exc-1.exp: New.
1393 * gdb.threads/non-ldr-exc-2.c: New.
1394 * gdb.threads/non-ldr-exc-2.exp: New.
1395 * gdb.threads/non-ldr-exc-3.c: New.
1396 * gdb.threads/non-ldr-exc-3.exp: New.
1397 * gdb.threads/non-ldr-exc-4.c: New.
1398 * gdb.threads/non-ldr-exc-4.exp: New.
1399
3a3dad98
JK
14002011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1401
1402 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1403 * gdb.base/attach-pie-misread.exp: Likewise.
1404 * gdb.base/break-interp.exp: Likewise.
1405 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1406 testcases for use_gdb_stub.
1407 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1408 (continue): New testcase.
1409 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1410 * gdb.threads/attach-into-signal.exp: Likewise.
1411 * gdb.threads/attach-stopped.exp: Likewise.
1412 * gdb.threads/attachstop-mt.exp: Likewise.
1413
d6a5d40c
PK
14142011-10-28 Paul Koning <paul_koning@dell.com>
1415
1416 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1417
ca539be8
JK
14182011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1419
1420 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1421 (mi_gdb_test): Import globals thread_selected_re
1422 and breakpoint_re. Expect them optionally at the regex start.
1423
d234ef5c
DE
14242011-10-27 Doug Evans <dje@google.com>
1425
1426 * gdb.python/python.exp: Test source -s.
1427
ab964825
PK
14282011-10-26 Paul Koning <paul_koning@dell.com>
1429
1430 * gdb.python/lib-types.cc (struct A): New structure.
1431 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1432
54d8a644
PK
14332011-10-25 Paul Koning <paul_koning@dell.com>
1434
1435 PR python/13327
d234ef5c 1436
54d8a644
PK
1437 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1438 fetch_lazy method.
1439
b0221781
YQ
14402011-10-24 Yao Qi <yao@codesourcery.com>
1441
1442 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1443 target is tic6x-*-*.
1444
6cda5a20
JB
14452011-10-21 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.ada/mi_task_info/task_switch.adb: New file.
1448 * gdb.ada/mi_task_info.exp: New file.
1449
5ed9db04
JK
14502011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1451
1452 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1453 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1454
9df2fbc4
PM
14552011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1456
1457 PR python/12656
1458
1459 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1460 global_block tests.
1461
736086ba
TT
14622011-10-18 Tom Tromey <tromey@redhat.com>
1463
1464 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1465
4af31552
TT
14662011-10-18 Tom Tromey <tromey@redhat.com>
1467
1468 * gdb.base/source.exp: Don't include full file name in test name.
1469 * gdb.python/python.exp: Don't include full file name in test
1470 name.
1471
43136979
AR
14722011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1473
1474 * gdb.base/attach-pie-noexec.c: New files.
1475 * gdb.base/attach-pie-noexec.exp: New files.
1476
543a9323
JM
14772011-10-17 Joseph Myers <joseph@codesourcery.com>
1478
1479 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1480 prompt for each extra line in command.
1481
21ae7a4d
JK
14822011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1485 Revert the part of:
1486 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1487 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1488 Change the expected string.
1489
20ec36d9
JK
14902011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1491
1492 Fix results with system glibc debug info installed.
1493 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1494 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1495 Accept also __libc_ symbol prefix and no prefix.
1496
6501c2fc
KS
14972011-10-14 Keith Seitz <keiths@redhat.com>
1498
1499 PR c++/13225
1500 * gdb.cp/converts.cc (foo3_1): New function.
1501 (foo3_2): New functions.
1502 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1503 and null pointer conversions of integer constant zero.
1504 Add test to check if all arguments are checked for incompatible
1505 conversion BADNESS.
1506
55b1fd0c
TT
15072011-10-14 Tom Tromey <tromey@redhat.com>
1508
1509 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1510 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1511 linespec.
1512
22c05d8a
JK
15132011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1514
1515 Fix internal error regression.
1516 * gdb.dwarf2/implptr-optimized-out.S: New file.
1517 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1518
1d6edc3c
JK
15192011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1522 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1523 (loclist): New.
1524 (4): New abbrev.
1525 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1526 Use prepare_for_testing, remove clean_restart.
1527 (p arraynoloc, p arraycallnoloc): New tests.
1528
9ec72168
JK
15292011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1530
1531 * gdb.cp/namespace-enum.exp (executable): New variable.
1532 (binfile): Use ${objdir}/${subdir}/ prefix.
1533 Use ${executable} for clean_restart.
1534
9c6c53f7
SA
15352011-10-11 Sterling Augustine <saugustine@google.com>
1536
1537 * gdb.cp/Makefile.in: Add namespace-enum test.
1538 * gdb.cp/namespace-enum.exp: New file.
1539 * gdb.cp/namespace-enum.c: New file.
1540 * gdb.cp/namespace-enum-main.c: New file.
1541
fac7ceb3
UW
15422011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1543
1544 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1545 sysroot.
1546
941b2081
JK
15472011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1548
1549 Reimplement @entry in input expressions.
1550 * gdb.base/exprs.c (v_int_array_init): New variable.
1551 * gdb.base/exprs.exp (print v_int_array_init)
1552 (print *v_int_array_init@1, print *v_int_array_init@2)
1553 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1554 (print v_int_array_init[1]@1): New tests.
1555
0344e878
JM
15562011-10-10 Joseph Myers <joseph@codesourcery.com>
1557
1558 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1559 expected message.
1560
5a56e9c5
DE
15612011-10-09 Doug Evans <dje@google.com>
1562
1563 * gdb.base/alias.exp: Add tests for alias command.
1564
2bda9cc5
JK
15652011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1566
1567 * gdb.arch/amd64-entry-value.s: New file.
1568 * gdb.mi/mi2-amd64-entry-value.s: New file.
1569
a471c594
JK
15702011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 Display @entry parameter values even for references.
1573 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1574 functions.
1575 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1576 reference and datap_input.
1577 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1578 breakpoints.
1579 (continue to breakpoint: entry_reference: reference)
1580 (entry_reference: bt at entry)
1581 (continue to breakpoint: entry_reference: breakhere_reference)
1582 (entry_reference: bt, entry_reference: ptype regparam)
1583 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1584 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1585 (entry_reference: p regcopy, entry_reference: p nodataparam)
1586 (entry_reference: p nodataparam@entry): New tests.
1587
36b11add
JK
15882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1589
1590 Support @entry in input expressions.
1591 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1592 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1593 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1594 (tailcall: p j@entry): New tests.
1595 * gdb.cp/koenig.cc (A::entry): New function.
1596 (main): Call it.
1597 * gdb.cp/koenig.exp (p entry (c)): New test.
1598
e18b2753
JK
15992011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1600
1601 Display @entry parameter values (without references).
1602 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1603 (different, validity, invalid): New functions.
1604 (main): Call them.
1605 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1606 stacktest, breakhere_stacktest, different, breakhere_different,
1607 breakhere_validity and breakhere_invalid.
1608 (entry: bt): Update for @entry.
1609 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1610 (entry_validity: *, entry_invalid: *): Many new tests.
1611 * gdb.base/break.exp
1612 (run until breakpoint set at small function, optimized file): Accept
1613 also the @entry suffix.
1614 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1615 * gdb.mi/mi2-amd64-entry-value.c: New files.
1616 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1617
2d6c5dc2
JK
16182011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1619
1620 Protect entry values against self tail calls.
1621 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1622 (main): Call self.
1623 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1624 (set debug entry-values 1, self: bt debug entry-values): New tests.
1625
111c6489
JK
16262011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1627
1628 Recognize virtual tail call frames.
1629 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1630 (amb_b, amb_a): New.
1631 (main): Call a and b.
1632 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1633 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1634 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1635 New tests.
1636
8e3b41a9
JK
16372011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 Implement basic support for DW_TAG_GNU_call_site.
1640 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1641 * gdb.arch/amd64-entry-value.cc: New file.
1642 * gdb.arch/amd64-entry-value.exp: New file.
1643
181cebd4
JK
16442011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1647 * gdb.dwarf2/implptr-64bit.S: New file.
1648 * gdb.dwarf2/implptr-64bit.exp: New file.
1649
741f5e3c
JK
16502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1651
1652 Fix initial language detection with -readnow.
1653 * gdb.cp/readnow-language.cc: New file.
1654 * gdb.cp/readnow-language.exp: New file.
1655
a73d2258
JK
16562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1657
1658 Fix printed anonymous struct name.
1659 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1660
af369495
JM
16612011-10-09 Joseph Myers <joseph@codesourcery.com>
1662
1663 * gdb.base/solib-symbol.exp: Do not include directories in
1664 filenames in expected messages.
1665
1fa57852
DE
16662011-10-07 Doug Evans <dje@google.com>
1667
1668 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1669
bd054e06
KP
16702011-10-07 Kevin Pouget <kevin.pouget@st.com>
1671
1672 Allow Python notification of new object-file loadings.
1673 * gdb.python/py-events.exp: Test newobjfile event.
1674 * gdb.python/py-events.py: Register newobjfile callback.
1675 * gdb.python/py-events.c: Add call to shared library
1676 * gdb.python/py-events-shlib.c: New file.
1677
8031b6f8
JM
16782011-10-06 Joseph Myers <joseph@codesourcery.com>
1679
1680 * gdb.base/fixsection.exp: Do not include directories in filename
1681 in expected message.
1682
7fea6923
PM
16832011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1684
1685 Add tests for passing of environment variables to inferior.
1686 * gdb.base/testenv.c: New test source.
1687 * gdb.base/testenv.exp: New expect test.
1688
687f2a88
PK
16892011-10-04 Paul Koning <paul_koning@dell.com>
1690
1691 * gdb.python/py-value.c (main): Break before return.
1692
cb6be26b
KP
16932011-10-04 Kevin Pouget <kevin.pouget@st.com>
1694
1695 PR python/12691: Add the inferior to Python exited event
1696 * gdb.python/py-events.exp: Test the inferior attribute of exited
1697 event with a fork.
1698 * gdb.python/py-events.py: Print inferior number on exit.
1699 * gdb.python/py-events.c: Fork the inferior.
1700
fb213700
EBM
17012011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1702
1703 * gdb.base/jit.exp: Add testcase name to log message
1704
aa2071bd
PK
17052011-10-03 Paul Koning <paul_koning@dell.com>
1706 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.python/py-value.exp
1709 (python inval = gdb.parse_and_eval('*(int*)0'))
1710 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1711 (set argc=2, python print argc_lazy): New tests.
1712
dd11a36c
JB
17132011-10-02 Joel Brobecker <brobecker@adacore.com>
1714
1715 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1716
46f886f1
JK
17172011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1718 Pedro Alves <pedro@codesourcery.com>
1719
1720 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1721 can_read_0, test for it.
1722 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1723 (parse_and_eval with memory error): ... here, make it untested if
1724 can_read_0.
1725
c5cb204f
MP
17262011-09-30 Marek Polacek <mpolacek@redhat.com>
1727
1728 * gdb.python/python.exp (verify pagination beforehand)
1729 (verify pagination afterwards): Fix race by splitting the line.
1730
68fb0ec0
JM
17312011-09-29 Joseph Myers <joseph@codesourcery.com>
1732
1733 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1734 for 64-bit multilibs from i?86-* targets.
1735
6aee0d90
MP
17362011-09-29 Marek Polacek <mpolacek@redhat.com>
1737
1738 * lib/gdb.exp: Fix a typo in one of the comments.
1739
e9101ff5
MP
17402011-09-29 Marek Polacek <mpolacek@redhat.com>
1741
1742 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1743 matching pattern.
1744
7a81bdbf
PK
17452011-09-28 Paul Koning <paul_koning@dell.com>
1746
1747 * gdb.python/py-type.c (enum E): New.
1748 * gdb.python/py-type.exp (test_fields): Add tests for Python
1749 mapping access to fields.
1750 (test_enums): New test for field access on enums.
1751
6710bf39
SS
17522011-09-27 Stan Shebs <stan@codesourcery.com>
1753
1754 * gdb.trace/collection.exp: Test collection of $_ret.
1755
b2a6bdeb
AT
17562011-09-22 Andreas Tobler <andreast@fgznet.ch>
1757
1758 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1759 list of compilation switches for <*-*-freebsd*>.
1760
3c9057f3
SS
17612011-09-19 Stan Shebs <stan@codesourcery.com>
1762
1763 * gdb.trace/tspeed.exp: New file.
1764 * gdb.trace/tspeed.c: New file.
1765
34518530
YQ
17662011-09-18 Yao Qi <yao@codesourcery.com>
1767
1768 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1769 instructions.
1770 (test_adr_32bit, test_pop_pc): Likewise.
1771 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1772 Thumb instructions.
1773 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1774 in gdb_test_multiple.
1775 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1776
ab254057
YQ
17772011-09-17 Yao Qi <yao@codesourcery.com>
1778
1779 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1780 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1781 support single step to signal handler.
1782
9c317b71
YQ
17832011-09-17 Yao Qi <yao@codesourcery.com>
1784
1785 * gdb.base/disp-step-fork.c: New.
1786 * gdb.base/disp-step-syscall.exp: New.
1787 * gdb.base/disp-step-vfork.c: New.
1788
a8123151
JB
17892011-09-16 Joel Brobecker <brobecker@adacore.com>
1790
1791 * gdb.ada/tasks.exp: Make the expected output for
1792 the `info tasks' tests more resilient to spacing
1793 changes.
1794
63a9aad8
JK
17952011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1796
1797 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1798 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1799
2aa48337
KP
18002011-09-15 Kevin Pouget <kevin.pouget@st.com>
1801
1802 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1803 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1804
6839b47f
KP
18052011-04-30 Kevin Pouget <kevin.pouget@st.com>
1806
1807 Handle multiple breakpoint hits in Python interface:
1808 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1809 presence.
1810 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1811 breakpoint hits.
1812
0935723e
JK
18132011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1814 Jan Kratochvil <jan.kratochvil@redhat.com>
1815
1816 * gdb.python/py-events.exp: Remove pretty printing comment.
1817 * gdb.python/py-evsignal.exp: New file.
1818 * gdb.python/py-evthreads.c: Include signal.h.
1819 (thread3): Remove variable count3. Remove variable bad and use raise
1820 instead.
1821 (thread2): Remove variable count2. Move thread3 pthread_create here,
1822 merge pthread_join to a single line.
1823 (main): Remove variable count1. Merge pthread_join with pthread_create
1824 to a single line.
1825 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1826 KFAIL python/12966 for gdbserver. Test return value of
1827 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1828 gdb_expect by gdb_test and gdb_test_multiple.
1829 (thread 2, thread 3): New tests.
1830
4801a9a3
PA
18312011-09-12 Matt Rice <ratmice@gmail.com>
1832 Pedro Alves <pedro@codesourcery.com>
1833
1834 PR gdb/13175
1835
1836 * gdb.base/interp.exp: New tests.
1837 * gdb.base/interp.c: New file.
1838
24ece742
DE
18392011-09-12 Doug Evans <dje@google.com>
1840
1841 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1842 * gdb.dwarf2/typeddwarf.exp: Ditto.
1843
7f062217
JK
18442011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1845
1846 Fix compatibility with x32 arch.
1847 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1848 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1849 is_x86_like_target.
1850 * testsuite/gdb.trace/collection.exp: Likewise.
1851 * testsuite/gdb.trace/report.exp: Likewise.
1852 * testsuite/gdb.trace/unavailable.exp: Likewise.
1853 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1854 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1855 (is_x86_like_target): Check also is_amd64_regs_target.
1856
08711b9a
JK
18572011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 PR breakpoints/12435
1860 * gdb.arch/amd64-prologue-xmm.c: New file.
1861 * gdb.arch/amd64-prologue-xmm.exp: New file.
1862 * gdb.arch/amd64-prologue-xmm.s: New file.
1863
b99b5f66
JK
18642011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.dwarf2/dw2-param-error-main.c: New file.
1867 * gdb.dwarf2/dw2-param-error.S: New file.
1868 * gdb.dwarf2/dw2-param-error.exp: New file.
1869
a391a2f6
PA
18702011-09-08 Pedro Alves <pedro@codesourcery.com>
1871
1872 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1873 inferior's pid and look for a core dump named core.$pid. Use
1874 `remote_file' commands on the host instead of hand coding shell
1875 commands on the build.
1876 * gdb.base/valgrind-db-attach.exp: Kill the program before
1877 finishing the test.
1878
7d8e6458 18792011-09-02 Matt Rice <ratmice@gmail.com>
1880
1881 * lib/prompt.exp: New file for testing the first prompt.
1882 * gdb.python/py-prompt.exp: Ditto.
1883 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1884
68e77c9e
PA
18852011-09-02 Pedro Alves <pedro@codesourcery.com>
1886
1887 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1888 0, before testing gcore.
1889
9655e943
JK
18902011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
df6dc84d
JK
1892 * dw2-ifort-parameter-debug.S: Update copyright year.
1893 * dw2-ifort-parameter.c: Update copyright year.
1894 * dw2-ifort-parameter.exp: Update copyright year.
1895
9655e943
JK
1896 * dw2-ifort-parameter-debug.S: New file.
1897 * dw2-ifort-parameter.c: New file.
1898 * dw2-ifort-parameter.exp: New file.
1899
353d1d73
JK
19002011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1901
1902 * gdb.base/commands.exp (error_clears_commands_left): New function.
1903 (): Call it.
1904
5c07461a
JK
19052011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1908 (C): Initialize `a'.
1909 * gdb.mi/mi-inheritance-syntax-error.exp
1910 (-data-evaluate-expression $path): Expect `a' as 5.
1911
0d932b2f
MK
19122011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1913
1914 PR mi/11912
1915 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1916 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1917 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1918 keyword in output of -var-info-path-expression.
1919
bdb54049
JK
19202011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1921
1922 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1923 * gdb.trace/collection.exp: Likewise.
1924 * gdb.trace/report.exp: Likewise.
1925 * gdb.trace/unavailable.exp: Likewise.
1926 * gdb.trace/while-dyn.exp: Likewise.
1927
59cde39c
KS
19282011-08-18 Keith Seitz <keiths@redhat.com>
1929
1930 PR c++/12266
1931 * gdb.cp/meth-typedefs.cc: New file.
1932 * gdb.cp/meth-typedefs.exp: New file.
1933
fa3a4f15
PM
19342011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1935
1936 * gdb.python/python.exp: Add extended-prompt tests.
1937
c1049fca
JK
19382011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1939
1940 * gdb.arch/i386-dr3-watch.exp
1941 (watchpoint on gap1 does not fit debug registers)
1942 (delete all watchpoints): Fix racy expect strings.
1943
d93f7b5c
YQ
19442011-08-14 Yao Qi <yao@codesourcery.com>
1945
1946 * gdb.base/maint.exp: set data_section to ".neardata".
1947 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1948 * gdb.base/savedregs.exp: Handle SIGILL.
1949 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1950 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1951
457e09f0
DE
19522011-08-12 Doug Evans <dje@google.com>
1953
1954 * gdb.python/py-symbol.exp: Add test for symbol.type.
1955
5d0bb2fb
UW
19562011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1957
1958 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1959 * gdb.mi/mi-pthreads.exp: Likewise.
1960 * gdb.mi/mi2-pthreads.exp: Likewise.
1961 * gdb.mi/gdb669.exp.exp: Likewise.
1962
fcdfa280
PA
19632011-08-09 Pedro Alves <pedro@codesourcery.com>
1964
1965 * lib/mi-support.exp (detect_async): Rename to...
1966 (mi_detect_async): ... this.
1967 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1968 * gdb.mi/mi-nonstop.exp: Adjust.
1969 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1970 * gdb.mi/mi-nsintrall.exp: Adjust.
1971 * gdb.mi/mi-nsmoribund.exp: Adjust.
1972 * gdb.mi/mi-nsthrexec.exp: Adjust.
1973
9d8fa392
PA
19742011-08-09 Pedro Alves <pedro@codesourcery.com>
1975
1976 * gdb.base/display.c (do_loops): New `p_i' local.
1977 * gdb.base/display.exp: Test displaying a variable that is
1978 temporarily at a bad address.
1979
b6cede78
JK
19802011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1981
1982 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1983 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1984
67bedb8c
JK
19852011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1988 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1989 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1990
af6e93b2
PA
19912011-08-05 Pedro Alves <pedro@codesourcery.com>
1992
1993 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1994 procedure.
1995 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1996
1cf0e11f
YQ
19972011-08-05 Yao Qi <yao@codesourcery.com>
1998
1999 * gdb.base/callfuncs.exp: Set language after main.
2000 * gdb.cp/cplusfuncs.exp: Likewise.
2001 * gdb.cp/inherit.exp: Likewise.
2002
a1e28cb2
UW
20032011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2004
2005 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2006 * gdb.base/watch-vfork.exp: Skip on remote targets.
2007
d4f5bbb9
UW
20082011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2009
2010 * gdb.threads/thread-find.exp: Support remote targets.
2011
724f4f80
UW
20122011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2013
2014 * gdb.base/jit.exp: Download solib_binfile to target.
2015 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2016 and call dlopen without full path name.
2017 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2018 dlopen without full path name.
2019
934709f0
PW
20202011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2021
2022 * gdb.base/break-always.exp: Complete the test
2023 with duplicated breakpoints and enabling/disabling them.
2024
c26106c4
TT
20252011-08-02 Tom Tromey <tromey@redhat.com>
2026
2027 PR gdb/11289:
2028 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2029
9300444e 20302011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2031
2032 PR gdb/13045
2033 * gdb.base/float.exp: Add new test case for PR gdb/13045
2034 * gdb.base/float.c: New file.
2035
00bd41d6
PM
20362011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2037
2038 * gdb.python/py-mi.exp: Test printers returning string hint, and
2039 also not returning a value.
2040 * gdb.python/py-prettyprint.c: Add testcase for above.
2041 * gdb.python/py-prettyprint.py: Add test printer for above.
2042
d24f74ce
JK
20432011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2044
2045 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2046 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2047 (.Ldie30) Add as field "data4".
2048 (.Ldie32) Rename field "b" to "shl".
2049 (abbrev4) Change for the "data4" field.
2050 (abbrev5, abbrev6) Remove.
2051 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2052 (p &s.shl): ... here. Add comment.
2053 (p &s.data4): New.
2054
bb7da2bf
JK
20552011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 Fix crash on lval_computed values.
2058 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2059
11081198
JK
20602011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2061
2062 * gdb.base/help.exp (help whatis): Update the expected string.
2063
3c6e0cb3
JK
20642011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2065
2066 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2067 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2068 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2069 Change the expected string.
2070
efa80663
PA
20712011-07-26 Pedro Alves <pedro@codesourcery.com>
2072
2073 * gdb.base/watchpoint.exp
2074 (test_disable_enable_software_watchpoint): New procedure.
2075 (top level): Run it.
2076
db8e4570
UW
20772011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2078
2079 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2080 executable file "${binfile}", C++ version "${binfile}-cxx".
2081 * gdb.python/py-prettyprint.exp: Likewise.
2082 * gdb.python/py-symbol.exp: Likewise.
2083 * gdb.python/py-type.exp: Likewise.
2084 * gdb.python/py-value.exp: Likewise.
2085 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2086 file name instead of just suffix.
2087
543305c9
JK
20882011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 Fix implicit pointer offsets.
2091 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2092 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2093 (continue to breakpoint: continue to baz breakpoint for implptr)
2094 (sanity check element 0, sanity check element 1)
2095 (enter the inlined function, check element 0 for the offset)
2096 (check element 1 for the offset)
2097 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2098 (set foo breakpoint for implptr): Update the breakpoint number.
2099
b3215adc
UW
21002011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2101
2102 * gdb.python/py-mi.exp: Use different file names for different
2103 versions of the executable under test.
2104 * gdb.python/py-prettyprint.exp: Likewise.
2105 * gdb.python/py-symbol.exp: Likewise.
2106 * gdb.python/py-template.exp: Likewise.
2107 * gdb.python/py-type.exp: Likewise.
2108 * gdb.python/py-value.exp: Likewise.
2109
182b9acc
UW
21102011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2111
2112 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2113 flag after restarting GDB if necessary.
2114
e6052b5d
UW
21152011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2116
2117 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2118
1ced966e
PA
21192011-07-22 Pedro Alves <pedro@codesourcery.com>
2120
2121 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2122 backend doesn't leave used debug registers behind.
2123
3543a589
TT
21242011-07-22 Tom Tromey <tromey@redhat.com>
2125
2126 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2127 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2128 argument.
2129 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2130
14d15303 21312011-07-21 Matt Rice <ratmice@gmail.com>
2132
2133 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2134 in mostlyclean rule. Add files ending in .core.
2135
9b158ba0 21362011-07-21 Matt Rice <ratmice@gmail.com>
2137
2138 PR macros/12999
2139 * gdb.base/info-macros.c: New test sources.
2140 * gdb.base/info-macros.exp: New tests.
2141
d17b6f81
PM
21422011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2143
2144 * gdb.python/python.exp: Add prompt substitution tests.
2145
918dd910
JK
21462011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 Fix crash if referenced CU is aged out.
2149 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2150 New.
2151 * gdb.dwarf2/implptr.exp: Likewise.
2152
0e37a63c
JK
21532011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2154
2155 * gdb.dwarf2/implptr.S: Rebuilt.
2156 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2157 (bar): Use them for j, k, l.
2158 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2159 COMPILE.
2160 (print j in implptr:bar): Update for the intp typedef.
2161 (print p[0].x in implptr:foo): Use more exact regex.
2162
f65cf84c
TT
21632011-07-18 Tom Tromey <tromey@redhat.com>
2164
2165 * gdb.cp/static-method.exp: Add missing single quote.
2166
d5b4a7be
YQ
21672011-07-18 Yao Qi <yao@codesourcery.com>
2168
2169 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2170 supported.
2171 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2172 * gdb.mi/mi-nonstop.exp: Likewise.
2173 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2174 * gdb.mi/mi-nsintrall.exp: Likewise.
2175 * gdb.mi/mi-nsmoribund.exp: Likewise.
2176 * gdb.mi/mi-nsthrexec.exp: Likewise.
2177 * gdb.python/py-evthreads.exp: Likewise.
2178
e9ea2662
JK
21792011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 Code cleanup.
2182 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2183 it. Substitute it instead of test_compiler_info everywhere.
2184
ce451573
UW
21852011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2186
2187 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2188 remote targets as well.
2189
756d88a7
UW
21902011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2191
2192 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2193 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2194
31f83dc5
UW
21952011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2196
2197 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2198 a remote machine, not the host.
2199 (gdb_compile_shlib): Set soname if target is remote.
2200
059241a0
PP
22012011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2202
2203 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2204
28a0b48c 22052011-07-13 Matt Rice <ratmice@gmail.com>
2206
2207 * gdb.python/py-objfile-script-gdb.py: Renamed to
2208 py-objfile-script-gdb.py.in.
2209 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2210 py-objfile-script-gdb.py.
2211 * gdb.python/py-objfile-script.exp: Update reference to
2212 py-objfile-script-gdb.py.
2213
9a771b67
JK
22142011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2217 reference undefined label.
2218
04ad99e6
JK
22192011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2222 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2223 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2224 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2225
713389e0
PM
22262011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2227
2228 PR python/12438
2229 * gdb.python/python.exp: Add maint set/show python print-stack
2230 deprecated tests. Add set/show python print-backtrace tests.
2231
97d146f8
JK
22322011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2233
2234 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2235 debug info.
2236
facde0e5 22372011-07-06 Matt Rice <ratmice@gmail.com>
2238
2239 * gdb.python/python.exp: Update filename paths.
2240 * gdb.python/py-symtab.exp: Ditto.
2241
438640d1
MP
22422011-07-06 Marek Polacek <mpolacek@redhat.com>
2243
2244 * gdb.python/py-evthreads.exp: Add missing `$'.
2245
33a365df
MF
22462011-07-06 Jie Zhang <jie.zhang@analog.com>
2247
2248 * config/bfin.exp: New file.
2249 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2250 * gdb.asm/bfin.inc: New file.
2251
8f7ae686
MP
22522011-07-06 Marek Polacek <mpolacek@redhat.com>
2253
df46027d 2254 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2255 the whole output.
2256
eb2a6f42
TT
22572011-07-05 Tom Tromey <tromey@redhat.com>
2258
2259 * gdb.java/jprint.java (jprint.hi): New field.
2260 * gdb.java/jprint.exp: Print string.
2261
177b42fe
TJB
22622011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2263
2264 * gdb.base/call-sc.c: Fix typos.
2265 * gdb.base/ifelse.exp: Likewise.
2266 * gdb.base/structs.c: Likewise.
2267
3b2a0cf2
JB
22682011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2269
2270 * gdb.base/jit-so.exp: New test.
2271 * gdb.base/jit-dlmain.c: New file.
2272 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2273
46fc714c
JK
22742011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2277 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2278 * gdb.cp/pr9167.exp (p b): Likewise.
2279 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2280 (test value of P in inner_m, test type of Z in inner_m): Call
2281 setup_xfail for gcc <= 4.5.
46fc714c 2282
418c7cf7
JK
22832011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2284
2285 * gdb.cp/paren-type.cc: New files.
2286 * gdb.cp/paren-type.exp: New files.
2287
3d50dd94
JK
22882011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2289
2290 Stop on first linespec terminator instead of eating what we can.
2291 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2292 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2293 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2294 (break C::f()): ... this one.
2295 (break C::operator()()): New test.
2296 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2297 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2298 test.
2299
dcf9f4ab
JK
23002011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2301
2302 Fall back linespec to minimal symbols.
2303 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2304 error message.
2305 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2306 * gdb.cp/minsym-fallback-main.cc: New file.
2307 * gdb.cp/minsym-fallback.cc: New file.
2308 * gdb.cp/minsym-fallback.exp: New file.
2309 * gdb.cp/minsym-fallback.h: New file.
2310
3f542ed1
JK
23112011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2312
2313 * gdb.cp/no-dmgl-verbose.cc: New file.
2314 * gdb.cp/no-dmgl-verbose.exp: New file.
2315
23162011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2317
2318 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2319 __GI_.
2320 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2321 (f): New function.
2322 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2323 (complete p 'func<short>(): ... here.
2324 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2325 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2326 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2327 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2328 Make them KFAIL gcc/49546.
2329
00eb2c4a
JB
23302011-07-01 Joel Brobecker <brobecker@adacore.com>
2331
2332 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2333
85a20c42
JK
23342011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 Test GCC PR debug/49546.
2337 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2338 (test type of F in k3_m, test value of F in k3_m): New.
2339 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2340 (main): New variable k3. Call k3.k3_m.
2341
d2d43431
JB
23422011-07-01 Jean-Charles Delay <delay@adacore.com>
2343
2344 * gdb.ada/packed_array.exp: Fix expected outout.
2345
54ae186f
JB
23462011-07-01 Jean-Charles Delay <delay@adacore.com>
2347
2348 * gdb.ada/packed_array.exp: fixed expected output.
2349
8f17729f
JB
23502011-07-01 Joel Brobecker <brobecker@adacore.com>
2351
2352 * gdb.ada/same_enum: New testcase.
2353
f5aa6869
JB
23542011-07-01 Joel Brobecker <brobecker@adacore.com>
2355
2356 * gdb.ada/ptr_typedef: New testcase.
2357
828292f2
JB
23582011-07-01 Joel Brobecker <brobecker@adacore.com>
2359
2360 * gdb.ada/arrayptr.exp: Add ptype test.
2361
18920c42
JB
23622011-07-01 Joel Brobecker <brobecker@adacore.com>
2363
2364 * gdb.ada/char_enum: New testcase.
2365
3536d9e3 23662011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2367
2368 * gdb.base/dump.exp (capture_pointer_with_type): New.
2369 Get value from address instead of name.
2370 Start GDB once, and do `dump' and `restore'
2371 tests together.
2372
db863c42
MF
23732011-06-30 Jie Zhang <jie.zhang@analog.com>
2374 Mike Frysinger <vapier@gentoo.org>
2375
2376 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2377 helper functions for getting/setting remotetimeout variable.
2378 * lib/gdb.exp (gdb_load): If the target is remote, set
2379 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2380 with $loadtimeout. Set $load_ok to 0 before doing the load.
2381 Instead of returning, immediately, set $load_ok to 0. Call
2382 set_remotetimeout with $oldremotetimeout, and then return if
2383 $load_ok is 1.
2384
e9e642a8
AB
23852011-06-30 Andrew Burgess <aburgess@broadcom.com>
2386
2387 * gdb.python/py-template.exp: Don't run this test if the target
2388 does not support c++ tests.
2389
32019081
JK
23902011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2391
2392 Fix non-only rename list for Fortran modules import.
2393 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2394 tests.
2395 * gdb.fortran/module.f90 (module moduse): New.
2396 (program module): use moduse, test var_x, var_y and var_z.
2397
0ecee54c
TT
23982011-06-29 Tom Tromey <tromey@redhat.com>
2399
2400 PR testsuite/12040:
2401 * gdb.fortran/array-element.exp: Use f90, not f77.
2402 * gdb.fortran/complex.exp: Use f90, not f77.
2403 * gdb.fortran/derived-type.exp: Use f90, not f77.
2404 * gdb.fortran/library-module.exp: Use f90, not f77.
2405 * gdb.fortran/logical.exp: Use f90, not f77.
2406 * gdb.fortran/module.exp: Use f90, not f77.
2407 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2408 * gdb.fortran/subarray.exp: Use f90, not f77.
2409
3b2b8fea
TT
24102011-06-29 Tom Tromey <tromey@redhat.com>
2411
2412 * gdb.fortran/charset.exp: New file.
2413 * gdb.fortran/charset.f90: New file.
2414
42159ca5
TT
24152011-06-29 Tom Tromey <tromey@redhat.com>
2416
2417 PR testsuite/12040:
2418 * lib/future.exp: New file, mostly extracted from ada.exp.
2419 Rewrote compatibility code to use rename.
2420 (gdb_find_gfortran): New proc.
2421 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2422 gfortran patch.
2423 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2424 Move to future.exp.
2425 * lib/gdb.exp: Always load future.exp.
2426
af69a5ce
YQ
24272011-06-28 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.cp/exception.cc: Don't include iostream.
2430 (bar): Remove print statement.
2431 (catcher): New.
2432 (main): Remove print statements. Call function catcher.
2433 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2434 Set breakpoint on catcher, and check the value of parameter.
2435
ab5c6a72
YQ
24362011-06-23 Yao Qi <yao@codesourcery.com>
2437
2438 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2439 1.2 is disabled. KFAIL for uclinux.
2440
9497469f
MP
24412011-06-23 Marek Polacek <mpolacek@redhat.com>
2442
2443 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2444 mi_gdb_test.
2445
b9132588
MP
24462011-06-23 Marek Polacek <mpolacek@redhat.com>
2447
5d197ed0 2448 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2449
e55595ca
MP
24502011-06-23 Marek Polacek <mpolacek@redhat.com>
2451
5d197ed0
MP
2452 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2453
24542011-06-23 Marek Polacek <mpolacek@redhat.com>
2455
2456 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2457 `test_exec_and_symbol_mi_operatons' return value.
2458 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2459 gdb_test_multiple.
2460 (test_exec_and_symbol_mi_operatons): Likewise.
2461 (test_path_specification): Likewise.
e55595ca 2462
be777e08
YQ
24632011-06-23 Yao Qi <yao@codesourcery.com>
2464
2465 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2466 supported.
2467 * lib/gdb.exp (support_displaced_stepping): New.
2468
615556d6
YQ
24692011-06-23 Yao Qi <yao@codesourcery.com>
2470
2471 * gdb.threads/execl.exp: Skip on remote target.
2472
833b0ca7
MP
24732011-06-21 Marek Polacek <mpolacek@redhat.com>
2474
5d197ed0 2475 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2476 mi_gdb_test.
2477
1ee4023a
MP
24782011-06-20 Marek Polacek <mpolacek@redhat.com>
2479
5d197ed0 2480 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2481
d0b1d624
MP
24822011-06-20 Marek Polacek <mpolacek@redhat.com>
2483
5d197ed0 2484 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2485 mi_gdb_test.
2486
79aa92c1
MP
24872011-06-20 Marek Polacek <mpolacek@redhat.com>
2488
5d197ed0 2489 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2490
5ce5db06
YQ
24912011-06-14 Yao Qi <yao@codesourcery.com>
2492
2493 gdb/testsuite/
2494 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2495
533a737e
JK
24962011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2497
2498 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2499
d0e53741
TT
25002011-06-10 Tom Tromey <tromey@redhat.com>
2501
2502 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2503 Add tests for pointer-to-member-function.
2504 * gdb.cp/temargs.cc (S::somefunc): New function.
2505 (K2): New class.
2506 (main): Instantiate K2; call method.
2507
b5916bbd
JB
25082011-06-08 Joel Brobecker <brobecker@adacore.com>
2509
2510 * gdb.python/py-inferior.c (f2): Make str an array rather
2511 than a pointer.
2512 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2513
5be4dfca
JK
25142011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2515
2516 * gdb.base/async-shell.c: New file.
2517 * gdb.base/async-shell.exp: New file.
2518
9f47e254
PA
25192011-06-06 Pedro Alves <pedro@codesourcery.com>
2520
2521 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2522
64b9b334
JB
25232011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2524
2525 From Stephen Kitt <steve@sk2.org>
2526 * gdb.base/help.exp: Adjust following some spelling corrections
2527 in GDB.
2528
dbc0f131
YQ
25292011-06-01 Yao Qi <yao@codesourcery.com>
2530
2531 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2532
fd336a18
KS
25332010-05-31 Keith Seitz <keiths@redhat.com>
2534
2535 PR c++/12750
2536 * gdb.cp/static-method.cc: New file.
2537 * gdb.cp/static-method.exp: New file.
2538
fa8b9902
KS
25392010-05-31 Keith Seitz <keiths@redhat.com>
2540
2541 PR symtab/12704
2542 * gdb.cp/anon-ns.cc: New file.
2543 * gdb.cp/anon-ns.exp: New file.
2544
0a5b1e09
PA
25452011-05-31 Pedro Alves <pedro@codesourcery.com>
2546
2547 * gdb.arch/i386-dr3-watch.c: New file.
2548 * gdb.arch/i386-dr3-watch.exp: New file.
2549
0578b8d1
YQ
25502011-05-30 Yao Qi <yao@codesourcery.com>
2551
2552 * gdb.base/callfuncs.c (t_structs_fc): New.
2553 (t_structs_dc, t_structs_ldc): New.
2554 (t_double_many_args):
2555 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2556 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2557 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2558 * gdb.base/callfuncs.exp: Call new functions.
2559
6680506e
YQ
25602011-05-30 Yao Qi <yao@codesourcery.com>
2561
ff4d2c60
YQ
2562 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2563 Call rerun_and_prepare for each test to isolate effects.
2564
25652011-05-30 Yao Qi <yao@codesourcery.com>
2566
2567 * gdb.base/varargs.c (find_max_float_real): New.
2568 (find_max_double_real, find_max_long_double_real): New.
2569 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2570 * lib/gdb.exp (setup_kfail_for_target): New.
2571
e43ec454
YQ
25722011-05-30 Yao Qi <yao@codesourcery.com>
2573
2574 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2575 (callcd, callce, callcf, callc1a, callc1b): New.
2576 (callc2a, callc2b): New.
2577 * gdb.base/funcargs.exp (complex_args): New.
2578 (complex_integral_args, complex_float_integral_args): New.
2579 * lib/gdb.exp (support_complex_tests): New. Determine
2580 whether to run test cases on _Complex types.
2581
432b4d03
JK
25822011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2583
2584 * gdb.threads/leader-exit.c: New file.
2585 * gdb.threads/leader-exit.exp: New file.
2586
6caf069d
MP
25872011-05-27 Marek Polacek <mpolacek@redhat.com>
2588
9497469f 2589 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2590
97fce28b
MP
25912011-05-27 Marek Polacek <mpolacek@redhat.com>
2592
2593 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2594 remove the `supported' variable.
2595 * gdb.mi/mi-nonstop.exp: Likewise.
2596 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2597 * gdb.mi/mi-nsintrall.exp: Likewise.
2598 * gdb.mi/mi-nsmoribund.exp: Likewise.
2599 * gdb.mi/mi-nsthrexec.exp: Likewise.
2600
9da8c2a0
PA
26012011-05-26 Pedro Alves <pedro@codesourcery.com>
2602
2603 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2604
2c03e5be
PA
26052011-05-26 Pedro Alves <pedro@codesourcery.com>
2606
2607 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2608
2e21250d
KS
26092011-05-24 Keith Seitz <keiths@redhat.com>
2610
2611 PR breakpoint/12803
2612 * gdb.cp/cmpd-minsyms.cc (a): New method.
2613 (b): New method.
2614 (c): New method.
2615 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2616
cdac0397
PA
26172011-05-24 Pedro Alves <pedro@codesourcery.com>
2618
2619 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2620 watchpoint's command list didn't execute when the watchpoint went
2621 out of scope.
2622
ee5683ab
PM
26232011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2624
2625 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2626 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2627 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2628 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2629 * gdb.arch/i386-permbkpt.exp: Likewise.
2630 * gdb.arch/i386-prologue.exp: Likewise.
2631 * gdb.arch/i386-size-overlap.exp: Likewise.
2632 * gdb.arch/i386-size.exp: Likewise.
2633 * gdb.arch/i386-unwind.exp: Likewise.
2634 * gdb.reverse/i386-precsave.exp: Likewise.
2635 * gdb.reverse/i386-reverse.exp: Likewise.
2636 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2637 * gdb.reverse/i387-env-reverse.exp: Likewise.
2638 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2639
c91c8c16
PA
26402011-05-24 Pedro Alves <pedro@codesourcery.com>
2641
2642 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2643 file doesn't error, using MI.
2644
c50491a7
TT
26452011-05-23 Tom Tromey <tromey@redhat.com>
2646
2647 * gdb.base/charset.exp (string_display): Add tests to assign to
2648 arrays.
2649 * gdb.base/charset.c (short_array, int_array, long_array): New.
2650
4a07b7da
PA
26512011-05-20 Pedro Alves <pedro@codesourcery.com>
2652
2653 Cope with async mode.
2654
4a07b7da
PA
2655 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2656 into gdb_test + mi_expect_stop.
2657
b275f2d2
PA
26582011-05-20 Pedro Alves <pedro@codesourcery.com>
2659
2660 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2661 (callme): Remove printf call.
2662
eec52c44
PM
26632011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2664
2665 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2666 quote pattern to avoid problems with Cygwin/mingw expect versions.
2667 * gdb.base/default.exp (show convenience): Use double
2668 quote pattern for regular expressions.
2669
b3c8eb43
JK
26702011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 Fix -readnow for -gdwarf-4 unused type units.
2673 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2674 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2675
ed731959
JK
26762011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2677
2678 * gdb.base/kill-after-signal.c: New file.
2679 * gdb.base/kill-after-signal.exp: New file.
2680
3b48433d
PA
26812011-05-16 Pedro Alves <pedro@codesourcery.com>
2682
2683 * gdb.ada/start.exp: Call untested with the correct test filename.
2684 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2685 test filename. Make the test's binary unique.
2686 * gdb.arch/i386-signal.exp: Call untested with the correct test
2687 filename.
2688 * gdb.arch/i386-size-overlap.exp: Ditto.
2689 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2690 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2691 * gdb.cp/call-c.exp: Ditto.
2692 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2693 filename. Make the test's binary unique.
2694 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2695 * gdb.python/py-mi.exp: Ditto.
2696 * gdb.python/Makefile.in (EXECUTABLES): Update.
2697 * gdb.reverse/i386-precsave.exp: Ditto.
2698 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2699 test filename.
2700 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2701 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2702 unique.
2703 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2704 test filename.
2705 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2706 * gdb.trace/tfile.exp: Ditto.
2707
ba4a8bdd
YQ
27082011-05-14 Yao Qi <yao@codesourcery.com>
2709
2710 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2711 type.
2712
dbaefcf7
DE
27132011-05-13 Doug Evans <dje@google.com>
2714
2715 * gdb.python/py-objfile-script.exp: New file.
2716 * gdb.python/py-objfile-script.c: New file.
2717 * gdb.python/py-objfile-script-gdb.py: New file.
2718 * testsuite/gdb.python/py-section-script.exp: Test
2719 "info auto-load-scripts".
2720
9930639c
TT
27212011-05-13 Tom Tromey <tromey@redhat.com>
2722
2723 * gdb.dwarf2/clztest.exp: New file.
2724 * gdb.dwarf2/clztest.c: New file.
2725 * gdb.dwarf2/clztest.S: New file.
2726
05272e11
DE
27272011-05-13 Doug Evans <dje@google.com>
2728
cc63ef9b
DE
2729 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2730 String16 tests.
05272e11 2731
6edba76f
TT
27322011-05-13 Tom Tromey <tromey@redhat.com>
2733
2734 * lib/gdb.exp (is_x86_like_target): New proc.
2735 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2736 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2737 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2738 -nostdlib to compiler.
2739 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2740 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2741 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2742 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2743 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2744
028d0ed5
TJB
27452011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2746
2747 * gdb.python/py-function.exp: Test setting a value from a function
2748 which executes a command.
2749
8a9b8146
TT
27502011-05-12 Tom Tromey <tromey@redhat.com>
2751
2752 * gdb.dwarf2/typeddwarf.S: New file.
2753 * gdb.dwarf2/typeddwarf.c: New file.
2754 * gdb.dwarf2/typeddwarf.exp: New file.
2755
10483e8e
MP
27562011-05-12 Marek Polacek <mpolacek@redhat.com>
2757
2758 * gdb.mi/mi-basics.exp: Fix races. Honour the
2759 `test_exec_and_symbol_mi_operatons' return value.
2760 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2761 gdb_test_multiple.
2762 (test_exec_and_symbol_mi_operatons): Likewise.
2763 (test_path_specification): Likewise.
2764
faf067f1
JK
27652011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2766
2767 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2768 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2769 Replace `file copy' and `file rename' by `file mtime'. Twice.
2770
7ff911a3
JK
27712011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.base/readline-ask.c: New file.
2774 * gdb.base/readline-ask.exp: New file.
2775 * gdb.base/readline-ask.inputrc: New file.
2776
a536c6d7
UW
27772011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2778
2779 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2780 to avoid race condition.
2781 * gdb.cell/coremaker.c: Use small stack size.
2782 * gdb.cell/ea-standalone.exp: Use file name without path as
2783 argument to c_to.
2784 * gdb.cell/fork.exp: Allow other output when continuing to end.
2785
d472a426
JK
27862011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2787
2788 * gdb.threads/corethreads.c: New file.
2789 * gdb.threads/corethreads.exp: New file.
2790
27912011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2792
2793 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2794 Try to compile the test using -Wl,-z,norelro first.
2795 (load_core): New variable libthread_db_seen, initialize it.
2796 (zeroed-threads cannot be listed): Protect it by XFAIL on
2797 !$libthread_db_seen.
2798
8be455d7
JK
27992011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2800
2801 PR 12573
2802 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2803 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2804 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2805
1976171a
JK
28062011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * gdb.cp/psymtab-parameter.cc: New file.
2809 * gdb.cp/psymtab-parameter.exp: New file.
2810
7db6f30f
JK
28112011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2812
2813 Fix a race.
2814 * gdb.cp/static-print-quit.exp (print c): Split to ...
2815 (print c - <return>, print c - q <return>, print c - to quit):
2816 ... these. Make the testfile untested on gdb-7.1.
2817
85161e9e 28182011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2819
2820 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2821 gdb_rename_execfile, gdb_touch_execfile): New.
2822 * gdb.base/reread.exp: Use new procs to handle multiple
2823 exec files.
2824
0c51be18
YQ
28252011-05-05 Yao Qi <yao@codesourcery.com>
2826
2827 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2828 (test_adr_32bit, test_pop_pc): New.
2829 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2830 (test_adr_32bit, test_pop_pc): New.
2831
4d393d60
JM
28322011-05-04 Joseph Myers <joseph@codesourcery.com>
2833
2834 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2835 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2836 targets.
2837 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2838 handle targets.
2839
8ffd0459
JK
28402011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2841
2842 * gdb.base/completion.exp (complete help info wat): Rename to ...
2843 (complete 'help info wat'): ... here.
2844 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2845 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2846
8e28d804
PA
28472011-05-04 Pedro Alves <pedro@codesourcery.com>
2848
2849 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2850 gdb_test and explicit $gdb_prompt/timeout matches.
2851
3eb2ef34
YQ
28522011-05-04 Yao Qi <yao@codesourcery.com>
2853
2854 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2855 and __thumb2__.
2856
aaaf81a3
MP
28572011-05-03 Marek Polacek <mpolacek@redhat.com>
2858
2859 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2860 in place of `gdb_test "delete breakpoints"'. This eliminates two
2861 testcases.
2862
c4cbc0df
PA
28632011-05-02 Pedro Alves <pedro@codesourcery.com>
2864
2865 PR testsuite/12649
2866 Fix races.
2867
2868 * gdb.base/completion.exp: Remove all sleep calls. Remove
2869 unnecessary regexs. Don't explicitly expect anything after the
2870 prompt. Eat the prompt if necessary.
2871
b4cbb4a3
EBM
28722011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2873
2874 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2875 accept to show the caller line again as well as the line after.
2876
d65aec65
PM
28772011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2878
2879 PR mi/12531
2880
2881 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2882 compile target.
2883 * gdb.python/py-prettyprint.exp: Add C++ object for
2884 CPLUS_FAKE_CHILD test.
2885
30852783
UW
28862011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2887
2888 * gdb.base/signest.exp: New file.
2889 * gdb.base/signest.c: Likewise.
2890
c7b1f0d9
JK
28912011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2894 thread and breakpoint notifications.
2895
559a7a62
JK
28962011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2897
2898 * gdb.base/fortran-sym-case.c: New file.
2899 * gdb.base/fortran-sym-case.exp: New file.
2900 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2901 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2902 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2903
8344e389
JK
29042011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2907 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2908 false #1', `if true else false #2' and `if true else false #3'.
2909
2484c66b
UW
29102011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2911
2912 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2913 while delivering signal.
2914
8d3788bd
VP
29152011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2916
2917 MI breakpoint notifications.
2918
2919 * testsuite/gdb.mi/mi-cli.exp: Adust.
2920 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2921 * testsuite/gdb.mi/mi-watch.exp: Adust.
2922 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2923 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2924 notifications.
2925
3e03848b
JK
29262011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2927
2928 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2929 * gdb.base/gdbindex-stabs.c: New file.
2930 * gdb.base/gdbindex-stabs.exp: New file.
2931
918c9108
YQ
29322011-04-25 Yao Qi <yao@codesourcery.com>
2933
2934 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2935 with /*...*/.
2936 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2937
90556b8c
JK
29382011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 * gdb.python/py-value.exp (test_objfiles): Name the first test
2941 `py-value in file.filename'.
2942
03f2bd59
JK
29432011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2944
2945 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2946 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2947 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2948 !gdbserver_reconnect_p..
2949 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2950
7b08b9eb
JK
29512011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2952
2953 * gdb.cp/cpcompletion.exp (complete class methods)
2954 (complete class methods beginning with F): Move them above runto. New
2955 comment about the runto delimiter.
2956
b78974c3
PA
29572011-04-20 Pedro Alves <pedro@codesourcery.com>
2958
2959 * gdb.base/maint.exp: Test that "maint print registers" works
2960 without a running program.
2961
20429c40 29622011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2963
20429c40
MP
2964 * gdb.base/setshow.exp: Fix racy tests.
2965 ($old_gdb_prompt): New variable.
2966
7a9dd1b2
TT
29672011-04-19 Tom Tromey <tromey@redhat.com>
2968
2969 * gdb.mi/mi-nsmoribund.exp:
2970 * gdb.hp/gdb.objdbg/objdbg01.exp:
2971 * gdb.base/structs.exp (test_struct_returns):
2972 * gdb.base/call-sc.exp (test_scalar_returns):
2973 * gdb.base/bigcore.exp: Remove duplicate words.
2974
02835898
JK
29752011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2976
2977 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2978 * gdb.base/break-interp.exp (test_attach): New comment.
2979
254f582e
JK
29802011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2983 (clear __stack_user.next, clear stack_used.next)
2984 (save a zeroed-threads corefile): New test.
2985 Call core_load for $core0file.
2986 (zeroed-threads cannot be listed): New test.
2987
4fe85f5c
JK
29882011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2989
2990 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2991 filename.
2992 ($srcfile): Preserve the original value.
2993 ($testfile): Match it the .exp filename.
2994 ($corefile): New variable. Substitute it around.
2995 Use clean_restart.
2996 ($prev_timeout): Remove.
2997 (load_core): Move core loading into this proc.
2998 Fix restore of $timeout if load_core fails.
2999
63524580
JK
30002011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3001
3002 * gdb.base/eu-strip-infcall.c: New file.
3003 * gdb.base/eu-strip-infcall.exp: New file.
3004
90359a16
JK
30052011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3006
3007 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3008 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3009
626e7282
JK
30102011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 Fix Python access to inlined frames.
3013 * gdb.python/py-frame-inline.c: New file.
3014 * gdb.python/py-frame-inline.exp: New file.
3015
3363d018
EBM
30162011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3017
3018 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3019 content of 's24' correctly (avoiding "optimized out").
3020 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3021
28781456
JK
30222011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3023
3024 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3025
4a4106ca
TJB
30262011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3027
3028 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3029 expect a colon in watch -location output.
3030
d26ccb4f
JK
30312011-04-13 Marek Polacek <mpolacek@redhat.com>
3032
df46027d 3033 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3034 New testcase `expect response to define backtrace'. Also remove
3035 redundant `default' block.
3036
e1ab1f9c
JK
30372011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3038
3039 * gdb.python/py-prettyprint.c (struct hint_error): New.
3040 (main): New variable hint_error.
3041 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3042 "print hint_error".
3043 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3044 (register_pretty_printers): Register it.
3045
0c2e6019
TT
30462011-04-04 Tom Tromey <tromey@redhat.com>
3047
3048 * gdb.cp/maint.exp (test_help): Update.
3049 (test_namespace): Likewise.
3050
af57139d
JB
30512011-04-01 Joel Brobecker <brobecker@adacore.com>
3052
3053 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3054 * gdb.ada/arrayptr.exp: Add new tests.
3055
956a9fb9
JB
30562011-04-01 Joel Brobecker <brobecker@adacore.com>
3057
3058 * gdb.ada/mi_catch_ex: New testcase.
3059
d0c4d642
PA
30602011-04-01 Pedro Alves <pedro@codesourcery.com>
3061
3062 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3063 base::overload(void) method without specifying "const".
3064
18819fa6
UW
30652011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3066
3067 * gdb.arch/thumb-singlestep.S: New file.
3068 * gdb.arch/thumb-singlestep.exp: Likewise.
3069
a4c8e806
TT
30702011-03-31 Tom Tromey <tromey@redhat.com>
3071
3072 * gdb.python/py-prettyprint.py (exception_flag): New global.
3073 (NoStringContainerPrinter._iterator.next): Check it.
3074 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3075 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3076
53832f31
TT
30772011-03-29 Tom Tromey <tromey@redhat.com>
3078
3079 * gdb.cp/anon-struct.cc: New file.
3080 * gdb.cp/anon-struct.exp: New file.
3081
e4620230
JK
30822011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3083
3084 Test STT_GNU_IFUNC support.
3085 * gdb.base/gnu-ifunc-lib.c: New file.
3086 * gdb.base/gnu-ifunc.c: New file.
3087 * gdb.base/gnu-ifunc.exp: New file.
3088
d0fb5eae
JK
30892011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3090
3091 Support a ring of related breakpoints.
3092 * gdb.base/watchpoint-delete.c: New file.
3093 * gdb.base/watchpoint-delete.exp: New file.
3094
20106cfb
JK
30952011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3096
3097 * gdb.ada/arrayparam.exp (print first after function call): Use
3098 explicit package name. Add a comment
3099 (print lasta after function call): Rename ...
3100 (print last after function call): ... it and use explicit package
3101 name.
3102 (print length after function call): Use explicit package name.
3103 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3104 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3105 (multiple matches for symbol i): Rename ...
3106 (multiple matches for symbol integervar): ... it.
3107 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3108 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3109
e7ab5e63
AB
31102011-03-25 Andrew Burgess <aburgess@broadcom.com>
3111
3112 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3113 environment variable to make grep output more predictable. Move
3114 all the environment setup into gdb_init so it's done once per test
3115 case rather than each time we start gdb.
3116
9ef07c8c
TT
31172011-03-24 Tom Tromey <tromey@redhat.com>
3118
3119 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3120 test.
3121
dd90784c
JK
31222011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3125 * gdb.dwarf2/dw2-entry-value.S: New file.
3126 * gdb.dwarf2/dw2-entry-value.exp: New file.
3127
05775840
PM
31282011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3129
3130 PR python/12183
3131
3132 * gdb.python/py-function.exp: Add GdbError tests.
3133
8661b11b
PA
31342011-03-18 Pedro Alves <pedro@codesourcery.com>
3135
3136 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3137 (reglocal_test_func, statlocal_test_func): New functions.
3138 (globals_test_func): Call new functions.
3139 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3140 (gdb_collect_locals_test): New procedure.
3141 (gdb_trace_collection_test): Call new procedures.
3142
0fdb4f18
PA
31432011-03-18 Pedro Alves <pedro@codesourcery.com>
3144
3145 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3146 (test_register, test_register_unavailable): New procedures.
3147 (gdb_unavailable_registers_test): New procedure.
3148 (gdb_trace_collection_test): Call it.
3149
99c3dc11
PM
31502011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3151
3152 PR python/12149
3153
3154 * gdb.python/python.exp: Add gdb.write tests.
3155
29703da4
PM
31562010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3157
3158 * gdb.python/Makefile.in: Add py-objfile.
3159 * gdb.python/py-objfile.exp: New file.
3160 * gdb.python/py-objfile.c: New file.
3161 * gdb.python/py-block.exp: Add is_valid tests.
3162 * gdb.python/py-inferior.exp: Ditto.
3163 * gdb.python/py-infthread.exp: Ditto.
3164 * gdb.python/py-symbol.exp: Ditto.
3165 * gdb.python/py-symtab.exp: Ditto.
3166
598997c8
KS
31672011-03-16 Keith Seitz <keiths@redhat.com>
3168
3169 PR c++/12273
3170 * gdb.cp/cmpd-minsyms.exp: New test.
3171 * gdb.cp/cmpd-minsyms.cc: New file.
3172
3173 PR c++/11734
3174 * gdb.cp/ovsrch.exp: New test.
3175 * gdb.cp/ovsrch.h: New file.
3176 * gdb.cp/ovsrch1.cc: New file.
3177 * gdb.cp/ovsrch2.cc: New file.
3178 * gdb.cp/ovsrch3.cc: New file.
3179 * gdb.cp/ovsrch4.cc: New file.
3180
c91513d8
PP
31812011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3182
3183 PR gdb/12528
3184 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3185 * gdb.base/break-on-linker-gcd-function.exp: New test.
3186 * gdb.base/break-on-linker-gcd-function.cc: New file.
3187
7470fc63
AT
31882011-03-15 Andreas Tobler <andreast@fgznet.ch>
3189
3190 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3191
959e7469
PM
31922011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3193
3194 * lib/gdb.exp (gdb_unload): Add another termination case.
3195
9373cf26
JK
31962011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3197
3198 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3199 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3200 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3201 Provide a stub byte there.
3202 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3203 DW_AT_entry_pc.
3204 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3205
24e9cda0
UW
32062011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3207
3208 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3209 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3210 "generic ABI, auto".
3211 (altivec_abi_tests): Accept vectors returned by reference.
3212
7371cf6d
PM
32132010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3214
3215 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3216
ce77046a
UW
32172011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3218
3219 * gdb.python/py-section-script.exp: Skip test if no Python support.
3220
176400c3
UW
32212011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3222
3223 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3224
ecec24e6
PM
32252011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3226
3227 * gdb.python/py-parameter.exp: Update tests to the new Python
3228 parameter API. Add "no documentation" test. Add deprecated API
3229 backward compatibility test.
3230
5dbdd470
TT
32312011-03-09 Tom Tromey <tromey@redhat.com>
3232
3233 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3234 gdb_continue_to_end.
3235
b66e66ee
MK
32362011-03-09 Mark Kettenis <kettenis@gnu.org>
3237
3238 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3239 tabs.
3240
eceb0c5f
TT
32412011-03-09 Tom Tromey <tromey@redhat.com>
3242
3243 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3244 parentheses.
3245 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3246 $command.
3247 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3248 argument to gdb_continue_to_end.
3249 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3250 argument to gdb_continue_to_end.
3251 * gdb.cp/annota3.exp: Fix regex.
3252 * gdb.cp/annota2.exp: Fix regex.
3253 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3254 gdb_continue_to_end.
3255 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3256 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3257 gdb_continue_to_end.
3258
63154eca
PA
32592011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3260
3261 * gdb.server/ext-run.exp
3262 (load new file without any gdbserver inferior): New test.
3263
967d1f9b
TT
32642011-03-07 Tom Tromey <tromey@redhat.com>
3265
3266 * Makefile.in (TAGS): Rewrite.
3267
d68dcbb9
JK
32682011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3271 initial commands echo. New match for `Found trace'. Anchor all the
3272 other matches. Anchor and match for `No trace frame found' the final
3273 match.
3274
6bf58e63
TT
32752011-03-07 Tom Tromey <tromey@redhat.com>
3276
3277 * Makefile.in (TAGS): New target.
3278
fda326dd
TT
32792011-03-07 Tom Tromey <tromey@redhat.com>
3280
3281 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3282 change.
3283 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3284 change.
3285 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3286 exit message change.
3287 (skip_altivec_tests): Update for exit message change.
3288 (skip_vsx_tests): Likewise.
3289 (gdb_continue_to_end): Likewise. Add 'command' argument.
3290 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3291 * gdb.threads/tls.exp: Update for exit message change.
3292 * gdb.threads/thread-unwindonsignal.exp: Use
3293 gdb_continue_to_end.
3294 * gdb.threads/step.exp (step_it): Update for exit message change.
3295 (continue_all): Likewise.
3296 * gdb.threads/print-threads.exp (test_all_threads): Update for
3297 exit message change.
3298 * gdb.threads/interrupted-hand-call.exp: Use
3299 gdb_continue_to_end.
3300 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3301 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3302 gdb_continue_to_end.
3303 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3304 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3305 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3306 * gdb.cp/method.exp: Update for exit message change.
3307 * gdb.cp/mb-templates.exp: Update for exit message change.
3308 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3309 * gdb.cp/annota3.exp: Update for exit message change.
3310 * gdb.cp/annota2.exp: Update for exit message change.
3311 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3312 * gdb.base/term.exp: Update for exit message change.
3313 * gdb.base/step-test.exp (test_i): Update for exit message change.
3314 * gdb.base/sigstep.exp (advance): Update for exit message change.
3315 (advancei): Likewise.
3316 * gdb.base/siginfo.exp: Update for exit message change.
3317 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3318 * gdb.base/reread.exp: Use gdb_continue_to_end.
3319 * gdb.base/langs.exp: Use gdb_continue_to_end.
3320 * gdb.base/interrupt.exp: Update for exit message change.
3321 * gdb.base/gdb1555.exp: Update for exit message change.
3322 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3323 * gdb.base/ending-run.exp: Update for exit message change.
3324 * gdb.base/chng-syms.exp: Update for exit message change.
3325 * gdb.base/checkpoint.exp: Update for exit message change.
3326 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3327 gdb_continue_to_end.
3328 (test_catch_syscall_with_wrong_args): Likewise.
3329 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3330 * gdb.base/break-interp.exp (test_ld): Update for exit message
3331 change.
3332 * gdb.base/bang.exp: Update for exit message change.
3333 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3334 (do_call_attach_tests): Likewise.
3335 * gdb.base/a2-run.exp: Update for exit message change.
3336 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3337 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3338 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3339
dd19bd70
JK
33402011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3341
3342 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3343
30e62689
TT
33442011-03-03 Tom Tromey <tromey@redhat.com>
3345
3346 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3347 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3348 * gdb.hp/gdb.aCC/configure.ac: Remove.
3349 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3350 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3351 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3352 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3353 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3354 * gdb.hp/gdb.compat/configure.ac: Remove.
3355 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3356 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3357 * gdb.hp/gdb.defects/configure.ac: Remove.
3358 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3359 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3360 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3361 * gdb.hp/configure.ac: Remove.
3362 * gdb.hp/configure: Remove.
3363 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3364 substitution.
3365 (Makefile): Remove rule.
3366 * gdb.cell/configure.ac: Remove.
3367 * gdb.cell/configure: Remove.
3368 * gdb.stabs/Makefile.in (Makefile): Remove.
3369 (distclean): Don't remove config.status or config.log.
3370 * gdb.stabs/configure (Makefile): Remove.
3371 * gdb.stabs/configure.ac: Remove.
3372 * configure: Rebuild.
3373 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3374 Remove stabs- and cell-specific logic. Test for existence of
3375 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3376 subdirectories, gdb.cell, and and gdb.stabs.
3377 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3378
c171f854
JB
33792011-03-03 Joel Brobecker <brobecker@adacore.com>
3380
3381 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3382 end of buffer.
3383
9a5193cb
JB
33842011-03-02 Joel Brobecker <brobecker@adacore.com>
3385
3386 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3387 gdb_test when running a test where we expected no output back.
3388
9bb4c1bb
MS
33892011-02-28 Michael Snyder <msnyder@vmware.com>
3390
3391 * gdb.cp/overload.cc: Change initializer value to integer.
3392
3bd0f5ef
MS
33932011-02-27 Michael Snyder <msnyder@vmware.com>
3394
3395 * gdb.multi/base.exp: Add test for remove-inferiors.
3396
2279eaad
JB
33972011-02-26 Joel Brobecker <brobecker@adacore.com>
3398
3399 * gdb.python/py-frame.exp: Simplify the initialization phase
3400 using prepare_for_testing.
3401
c82c0b55
MS
34022011-02-25 Michael Snyder <msnyder@vmware.com>
3403
3404 * gdb.multi/base.exp: Add tests for info inferiors with args.
3405
1d94651b
JK
34062011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3409 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3410 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3411 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3412 asmfile3. Comment the STABS (#3) file compilation. Compile
3413 everything through assembler. Provide KFAIL for symtab/12497.
3414 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3415 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3416 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3417 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3418
3bd0f5ef
MS
34192011-02-24 Michael Snyder <msnyder@vmware.com>
3420
3421 * gdb.base/break.exp: Add tests for delete breakpoints using
3422 convenience variables and value history references.
3423
12c1418e
MS
34242011-02-24 Michael Snyder <msnyder@vmware.com>
3425
3426 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3427 left behind in previous check-in.
3428
e5a67952
MS
34292011-02-23 Michael Snyder <msnyder@vmware.com>
3430
3431 * gdb.base/break.exp: Add tests for "info break" with arguments.
3432 * gdb.trace/infotrace.exp: Update patterns for error and help.
3433 * gdb.base/completion.exp: Update pattern.
3434 * gdb.base/ena-dis-br.exp: Update pattern.
3435 * gdb.base/help.exp: Update patterns.
3436
34372011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3438
3439 * gdb.base/memattr.exp: New test.
3440 * gdb.base/memattr.c: Test load for memattr.exp.
3441
6e6fbe60
DE
34422011-02-22 Doug Evans <dje@google.com>
3443
3444 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3445
1d41d745
MS
34462011-02-22 Michael Snyder <msnyder@vmware.com>
3447
3448 * Makefile.in: Make more clean.
3449 * gdb.ada/Makefile.in: Ditto.
3450 * gdb.arch/Makefile.in: Ditto.
3451 * gdb.asm/Makefile.in: Ditto.
3452 * gdb.base/Makefile.in: Ditto.
3453 * gdb.cp/Makefile.in: Ditto.
3454 * gdb.dwarf2/Makefile.in: Ditto.
3455 * gdb.java/Makefile.in: Ditto.
3456 * gdb.mi/Makefile.in: Ditto.
3457 * gdb.modula2/Makefile.in: Ditto.
3458 * gdb.python/Makefile.in: Ditto.
3459 * gdb.server/Makefile.in: Ditto.
3460 * gdb.stabs/Makefile.in: Ditto.
3461 * gdb.threads/Makefile.in: Ditto.
3462 * gdb.trace/Makefile.in: Ditto.
3463
79ba84ca
MS
34642011-02-22 Michael Snyder <msnyder@vmware.com>
3465
df46027d 3466 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3467 info threads.
3468
b9b35694
JB
34692011-02-22 Joel Brobecker <brobecker@adacore.com>
3470
3471 * gdb.python/py-breakpoint.exp: Fix the expected output of
3472 one of the "maint info breakpoints" tests to accept the output
3473 generated on platforms that do not have hardware watchpoints.
3474
8bfb830f
JB
34752011-02-22 Joel Brobecker <brobecker@adacore.com>
3476
3477 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3478 clean_restart. Be a little stricter in the expected output
3479 for one of the tests. Fix a typo in one of the comments.
3480
c45f3c54
JB
34812011-02-22 Joel Brobecker <brobecker@adacore.com>
3482
3483 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3484 Delete variable binfile, no longer use. Add or modify test
3485 comments to make them unique.
3486
b97c863c
MS
34872011-02-21 Michael Snyder <msnyder@vmware.com>
3488
3489 * Makefile.in: Update for make clean.
3490 * gdb.ada/Makefile.in: Ditto.
3491 * gdb.arch/Makefile.in: Ditto.
3492 * gdb.asm/Makefile.in: Ditto.
3493 * gdb.base/Makefile.in: Ditto.
3494 * gdb.cp/Makefile.in: Ditto.
3495 * gdb.dwarf2/Makefile.in: Ditto.
3496 * gdb.java/Makefile.in: Ditto.
3497 * gdb.mi/Makefile.in: Ditto.
3498 * gdb.modula2/Makefile.in: Ditto.
3499 * gdb.python/Makefile.in: Ditto.
3500 * gdb.server/Makefile.in: Ditto.
3501 * gdb.stabs/Makefile.in: Ditto.
3502 * gdb.threads/Makefile.in: Ditto.
3503 * gdb.trace/Makefile.in: Ditto.
3504
aea5b279
MS
35052011-02-21 Michael Snyder <msnyder@vmware.com>
3506
3507 * gdb.threads/thread-find.exp: Update patterns for changes in
3508 output of "info threads" command.
3509
e3039479
UW
35102011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3511 Ulrich Weigand <uweigand@de.ibm.com>
3512
3513 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3514 (skip_hw_watchpoint_tests): Likewise.
3515 (skip_hw_watchpoint_multi_tests): Likewise.
3516
b800ec70
UW
35172011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3518
3519 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3520 (skip_hw_watchpoint_tests): Likewise.
3521 (skip_hw_watchpoint_multi_tests): Likewise.
3522 (skip_hw_watchpoint_access_tests): Likewise.
3523
3524 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3525 * gdb.base/pr11022.exp: Likewise.
3526 * gdb.base/watch-read.exp: Likewise.
3527 * gdb.base/watch_thread_num.exp: Likewise.
3528 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3529 * gdb.base/watchpoint-hw.exp: Likewise.
3530 * gdb.base/watchpoint.exp: Likewise.
3531 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3532 * gdb.threads/watchthreads-reorder.exp: Likewise.
3533 * gdb.threads/watchthreads.exp: Likewise.
3534 * gdb.threads/watchthreads2.exp: Likewise.
3535
91033e37
JB
35362011-02-21 Joel Brobecker <brobecker@adacore.com>
3537
3538 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3539 the debugger is unable to find the array bounds.
3540
eeaafae2
JK
35412011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3542
3543 * gdb.cp/typedef-operator.exp: New file.
3544 * gdb.cp/typedef-operator.cc: New file.
3545
e338d953
MS
35462011-02-17 Michael Snyder <msnyder@vmware.com>
3547
3548 * gdb.threads/thread-find.exp: Fix regular expressions.
3549
e67ad678
JB
35502011-02-17 Joel Brobecker <brobecker@adacore.com>
3551
3552 * gdb.ada/packed_array: Expand testcase to test printing of
3553 unconstrained packed array.
3554
93084bca
JB
35552011-02-17 Joel Brobecker <brobecker@adacore.com>
3556
3557 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3558
a0c78a73
PA
35592011-02-16 Pedro Alves <pedro@codesourcery.com>
3560
f65d5553 3561 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3562 (main): Initialize it before collecting, and and clear it
3563 afterwards.
f65d5553
PA
3564 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3565 collecting with '{type} addr', where the addr expression is not an
3566 rvalue.
a0c78a73 3567
3dfcbbd2
KW
35682011-02-16 Ken Werner <ken.werner@de.ibm.com>
3569
3570 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3571 a bool variable. Expect correct OpenCL names for vector types. Use the
3572 uc3 variable name instead of referring to the uchar3 built-in type.
3573 Escape the asterisk at the half pointer test.
3574
08807d5a
PA
35752011-02-16 Pedro Alves <pedro@codesourcery.com>
3576
f65d5553 3577 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3578 (main): Initialize it before collecting, and and clear it
3579 afterwards.
f65d5553
PA
3580 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3581 collecting overlapping memory ranges.
08807d5a 3582
60f98dde
MS
35832011-02-15 Michael Snyder <msnyder@vmware.com>
3584
3585 * gdb.base/default.exp: Add tests for thread commands.
3586 * gdb.base/help.exp: Add tests for thread commands.
3587 * gdb.threads/thread-find.exp: New test for thread find command.
3588
648cd113
KW
35892011-02-15 Ken Werner <ken.werner@de.ibm.com>
3590
3591 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3592
494e194e
YQ
35932011-02-15 Yao Qi <yao@codesourcery.com>
3594
3595 PR tdep/12352
3596 * gdb.arch/arm-disp-step.S : New test for str instruction.
3597 * gdb.arch/arm-disp-step.exp : Likewise.
3598
d9492458
TJB
35992011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3600
3601 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3602 "vector_register2_vr" test strings. Test the extended floating
3603 point registers (F32~F63).
3604 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3605 IBM XL C compiler. Make the test program use a register provided
3606 by the compiler for the lxvd2x instruction.
3607
8af8e3bc
PA
36082011-02-14 Pedro Alves <pedro@codesourcery.com>
3609
3610 * gdb.trace/unavailable.cc (class Base, class Middle, class
3611 Derived): New types.
3612 (derived_unavail, derived_partial, derived_whole): New globals.
3613 (virtual_partial): New global.
3614 (virtualp): Point at virtual_partial.
3615 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3616 related to unavailable vptr.
3617
1b28d0b3
PA
36182011-02-14 Pedro Alves <pedro@codesourcery.com>
3619
3620 * gdb.trace/unavailable.cc (a, b, c): New globals.
3621 (main): Set and clear them.
3622 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3623 `a' and `c', and check that `b' isn't collected, although `a' and
3624 `c' are.
3625
ec0a52e1
PA
36262011-02-14 Pedro Alves <pedro@codesourcery.com>
3627
3628 * gdb.trace/unavailable.cc (struct Virtual): New.
3629 (virtualp): New global pointer.
3630 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3631 printing a pointer to an object whose type has a vtable, with
3632 print object on.
3633
24e6bcee
PA
36342011-02-14 Pedro Alves <pedro@codesourcery.com>
3635
3636 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3637 value repeat handles unavailableness.
3638
39d37385
PA
36392011-02-14 Pedro Alves <pedro@codesourcery.com>
3640
3641 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3642 tests for building arrays from unavailable values, subscripting
3643 non-memory rvalue unvailable arrays, and accessing fields or
3644 baseclasses of non-lazy unavailable values,
3645 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3646 struct types.
3647 (g_smallstruct, g_smallstruct_b): New globals.
3648
06d72e16
PA
36492011-02-14 Pedro Alves <pedro@codesourcery.com>
3650
3651 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3652
bc9a5551
JK
36532011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3654
3655 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3656 * gdb.cp/overload-const.exp: New file.
3657 * gdb.cp/overload-const.cc: New file.
3658
54fcddd0
UW
36592011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3660
3661 * gdb.opencl/callfuncs.cl: New file.
3662 * gdb.opencl/callfuncs.exp: New test.
3663 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3664
d6dafb7c
UW
36652011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3666
3667 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3668 when computing result.
3669 * gdb.arch/altivec-abi.exp: Update expected results.
3670
a449c2d8
TJB
36712011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3672
3673 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3674 * gdb.base/jit.exp: Likewise.
3675 * gdb.base/pie-execl.exp: Likewise.
3676 * gdb.base/solib-nodir.exp: Likewise.
3677 * gdb.base/solib-overlap.exp: Likewise.
3678
764880b7
PA
36792011-02-07 Pedro Alves <pedro@codesourcery.com>
3680
3681 * gdb.trace/collection.c (global_pieces): New.
3682 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3683 New procedure.
3684 (gdb_trace_collection_test): Call it.
3685
505500db
SW
36862011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3687
3688 * gdb.python/py-evthreads.c: New file.
3689 * gdb.python/py-evthreads.exp: New file.
3690 * gdb.python/py-events.py: New file.
3691 * gdb.python/py-events.exp: New file.
3692 * gdb.python/py-events.c: New file.
3693
385203ed
DD
36942011-02-04 David Daney <ddaney@caviumnetworks.com>
3695
3696 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3697
9011945e
AB
36982011-02-03 Andrew Burgess <aburgess@broadcom.com>
3699
3700 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3701 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3702 boundary between two compilation units.
3703
580688f3
PA
37042011-02-02 Pedro Alves <pedro@codesourcery.com>
3705
3706 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3707 (Virtual): New structs.
3708 (virtual_o, virtual_middle_b): New globals.
3709 * gdb.cp/virtbase.exp: New tests.
3710
d3f0f853
PP
37112011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3712
3713 * gdb.base/jit.exp: New file.
3714 * gdb.base/jit-main.c: New file.
3715 * gdb.base/jit-solib.c: New file.
3716
b2030fb5
UW
37172011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3718
3719 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3720 proceed to initial kernel entry point.
3721 * gdb.opencl/datatypes.exp: Likewise.
3722 * gdb.opencl/operators.exp: Likewise.
3723 * gdb.opencl/vec_comps.exp: Likewise.
3724
2db19d1e
SW
37252011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3726
3727 * gdb.cp/nsnested.cc: New.
3728 * gdb.cp/nsnested.exp: New.
3729 * gdb.cp/nsnoimports.exp: New.
3730 * gdb.cp/nsnoimports.cc: New.
3731
6b0c4c1f
JB
37322011-01-31 Joel Brobecker <brobecker@adacore.com>
3733
3734 * gdb.base/interact.exp: Add extra tests that verify that
3735 the value of the interactive-mode setting does not change
3736 after the script is sourced.
3737
80b23b6a
JK
37382011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3739
3740 * gdb.cp/noparam.exp: New file.
3741 * gdb.cp/noparam.cc: New file.
3742
ffd5ec24
PA
37432011-01-28 Pedro Alves <pedro@codesourcery.com>
3744
3745 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3746 there's no stack or registers.
3747
a81766d8
TT
37482011-01-26 Tom Tromey <tromey@redhat.com>
3749
3750 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3751 space before string output. Add test for "set print pretty off"
3752 case.
3753
585fdaa1
PA
37542011-01-25 Pedro Alves <pedro@codesourcery.com>
3755
3756 * gdb.base/frame-args.exp: Adjust.
3757 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3758 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3759 * gdb.dwarf2/pieces.exp: Adjust.
3760 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3761 * gdb.opt/inline-locals.exp: Adjust.
3762 * gdb.threads/fork-child-threads.exp: Adjust.
3763
d468832a
KW
37642011-01-25 Ken Werner <ken.werner@de.ibm.com>
3765
3766 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3767 OpenCL kernel function. Add a comment as marker. Add address space
3768 qualifiers for the remaining program scope variables.
3769 * gdb.opencl/datatypes.cl: Likewise.
3770 * gdb.opencl/operators.cl: Likewise.
3771 * gdb.opencl/vec_comps.cl: Likewise.
3772 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3773 Add breakpoint at the marker comment.
3774 * gdb.opencl/datatypes.exp: Likewise.
3775 * gdb.opencl/operators.exp: Likewise.
3776 * gdb.opencl/vec_comps.exp: Likewise.
3777
490f124f
PA
37782011-01-24 Pedro Alves <pedro@codesourcery.com>
3779
3780 * gdb.base/printcmds.c (some_struct): New struct and instance.
3781 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3782 procedure.
3783 <global scope>: Call it.
3784
6da78614
KW
37852011-01-21 Ken Werner <ken.werner@de.ibm.com>
3786
3787 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3788 argument to the gdb_compile_opencl_hostapp call.
3789
ec64c9aa
YQ
37902011-01-19 Yao Qi <yao@codesourcery.com>
3791
3792 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3793 positve list.
3794
810cfdbb
YQ
37952011-01-19 Yao Qi <yao@codesourcery.com>
3796
3797 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3798 canonical form.
3799 Remove "xscale-*-*"
3800 * gdb.xml/tdesc-regs.exp: Likewise.
3801 * gdb.python/py-section-script.exp: Replace ARM target triplet
3802 with canonical form.
3803 Match arm*-*-symbianelf*.
3804 * gdb.base/dup-sect.exp: Likewise.
3805 * lib/dwarf.exp: New.
3806 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3807 dwarf2_support.
3808 * gdb.dwarf2/dup-psym.exp: Likewise.
3809 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3810 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3811 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3812 * gdb.dwarf2/dw2-basic.exp: Likewise.
3813 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3814 * gdb.dwarf2/dw2-const.exp: Likewise.
3815 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3816 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3817 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3818 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3819 * gdb.dwarf2/dw2-filename.exp: Likewise.
3820 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3821 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3822 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3823 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3824 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3825 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3826 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3827 * gdb.dwarf2/dw2-producer.exp: Likewise.
3828 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3829 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3830 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3831 * gdb.dwarf2/dw2-strp.exp: Likewise.
3832 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3833 * gdb.dwarf2/implptr.exp: Likewise.
3834 * gdb.dwarf2/mac-fileno.exp: Likewise.
3835 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3836 * gdb.dwarf2/pieces.exp: Likewise.
3837 * gdb.dwarf2/pr11465.exp: Likewise.
3838 * gdb.dwarf2/valop.exp: Likewise.
3839 * gdb.dwarf2/watch-notconst.exp: Likewise.
3840 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3841
4694da01
TT
38422011-01-19 Tom Tromey <tromey@redhat.com>
3843
3844 * gdb.python/py-infthread.exp: Add thread tests.
3845
b075872c
JB
38462011-01-14 Joel Brobecker <brobecker@adacore.com>
3847
3848 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3849
2c3e6e24
JB
38502011-01-14 Joel Brobecker <brobecker@adacore.com>
3851
3852 * gdb.ada/widewide: New testcase.
3853
de8fa76c
JB
38542011-01-13 Joel Brobecker <brobecker@adacore.com>
3855
3856 * gdb.base/interact.exp: New testcase.
3857
1b05df00
TT
38582011-01-12 Tom Tromey <tromey@redhat.com>
3859
3860 * gdb.mi/gdb2549.exp: Update for error message changes.
3861 * gdb.mi/mi-cli.exp: Likewise.
3862 * gdb.mi/mi-disassemble.exp: Likewise.
3863 * gdb.mi/mi-pthreads.exp: Likewise.
3864 * gdb.mi/mi-regs.exp: Likewise.
3865 * gdb.mi/mi-stack.exp: Likewise.
3866 * gdb.mi/mi-var-block.exp: Likewise.
3867 * gdb.mi/mi-var-cmd.exp: Likewise.
3868 * gdb.mi/mi2-cli.exp: Likewise.
3869 * gdb.mi/mi2-disassemble.exp: Likewise.
3870 * gdb.mi/mi2-pthreads.exp: Likewise.
3871 * gdb.mi/mi2-regs.exp: Likewise.
3872 * gdb.mi/mi2-stack.exp: Likewise.
3873 * gdb.mi/mi2-var-block.exp: Likewise.
3874 * gdb.mi/mi2-var-cmd.exp: Likewise.
3875
c2ff108b
JK
38762011-01-12 Andrew Burgess <aburgess@broadcom.com>
3877 Jan Kratochvil <jan.kratochvil@redhat.com>
3878
3879 PR fortran/11104 and DWARF unbound arrays detection.
3880 * gdb.fortran/multi-dim.exp: New file.
3881 * gdb.fortran/multi-dim.f90: New file.
3882
b716877b
AB
38832011-01-12 Andrew Burgess <aburgess@broadcom.com>
3884
3885 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3886 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3887 add new tests for opcode dumping.
3888
6c162d5e
TT
38892011-01-11 Tom Tromey <tromey@redhat.com>
3890
3891 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3892
77b06cd7
TJB
38932010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3894
3895 Convert hardware watchpoints to use breakpoint_ops.
3896 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3897 type is not supported.
3898 * gdb.base/foll-fork.exp: Likewise.
3899 * gdb.base/foll-vfork.exp: Likewise.
3900
f39a75d0
PM
39012011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3902
3903 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3904 Use load_lib gdb-python.exp.
3905 * gdb.python/python.exp: Ditto.
3906 * gdb.python/py-function.exp: Ditto.
3907
fc529d80
AS
39082011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3909
3910 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3911
fb03cb59
JK
39122011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 * configure: Regenerate.
3915
d8e22779
TT
39162011-01-06 Tom Tromey <tromey@redhat.com>
3917
3918 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3919
09050809
JB
39202011-01-06 Joel Brobecker <brobecker@adacore.com>
3921
fc529d80
AS
3922 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3923 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3924 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3925 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3926 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3927 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3928 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3929 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3930 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3931 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3932 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3933 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3934 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3935 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3936 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3937 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3938 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3939 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3940 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3941 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3942 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3943 gdb.ada/uninitialized_vars.exp,
3944 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3945 Simplify by using clean_restart.
09050809 3946
8ed5dd9e
JB
39472011-01-06 Joel Brobecker <brobecker@adacore.com>
3948
3949 Add marker to be used as anchor for inserting breakpoints.
3950 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3951 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3952 Likewise.
3953
3954 Remove uses of gdb_start_cmd.
3955 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3956 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3957
3958 Do not run testcase if testing with GDBserver.
3959 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3960 if testing with GDBserver.
3961
368a124f
JB
39622011-01-06 Joel Brobecker <brobecker@adacore.com>
3963
3964 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3965 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3966 copyright header.
3967
44944448
JB
39682011-01-05 Joel Brobecker <brobecker@adacore.com>
3969
3970 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3971 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3972 testsuite/gdb.fortran/complex.f,
3973 testsuite/gdb.fortran/derived-type.f90,
3974 testsuite/gdb.fortran/library-module-lib.f90,
3975 testsuite/gdb.fortran/library-module-main.f90,
3976 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3977 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3978 Copyright year update.
3979
31886ea6
JB
39802011-01-05 Joel Brobecker <brobecker@adacore.com>
3981
3982 * gdb.base/langs1.f: Add copyright header.
3983
ebedcab5
JK
39842011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 * gdb.base/morestack.exp: New file.
3987 * gdb.base/morestack.c: New file.
3988
de1eb2f9
JK
39892011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3992
9e87a409
JB
39932010-12-29 Joel Brobecker <brobecker@adacore.com>
3994
3995 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3996 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3997
720d1a40
JB
39982010-12-29 Joel Brobecker <brobecker@adacore.com>
3999
4000 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4001
a283af87
AS
40022010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4003
5d3d9cba
AS
4004 * gdb.threads/tls.exp: Fix typo.
4005
a283af87
AS
4006 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4007 * gdb.threads/execl.exp: Update.
4008
2a20745c
YQ
40092010-12-23 Yao Qi <yao@codesourcery.com>
4010
4011 * gdb.arch/arm-disp-step.exp: New.
4012 * gdb.arch/arm-disp-step.S: New.
4013
a7658b96
TT
40142010-12-21 Tom Tromey <tromey@redhat.com>
4015
4016 * gdb.threads/execl.exp: Update.
4017 * gdb.threads/linux-dp.exp: Update.
4018 * gdb.threads/manythreads.exp: Update.
4019 * gdb.threads/tls.exp: Update.
4020
5b79abe7
TT
40212010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4022
4023 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4024 (NextOverThrowDerivates) <resumebpt>: New.
4025 (resumebpt_test): New.
4026 (main): Call resumebpt_test.
4027 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4028
0914bcdb
SS
40292010-12-12 Stan Shebs <stan@codesourcery.com>
4030
4031 * gdb.trace/tsv.exp: Test print command on trace state variables.
4032
305aeedc
TT
40332010-12-09 Tom Tromey <tromey@redhat.com>
4034
4035 * gdb.base/interp.exp: Add regression test.
4036
186c406b
TT
40372010-12-09 Tom Tromey <tromey@redhat.com>
4038
4039 * gdb.java/jnpe.java: New file.
4040 * gdb.java/jnpe.exp: New file.
4041 * gdb.cp/nextoverthrow.exp: New file.
4042 * gdb.cp/nextoverthrow.cc: New file.
4043
aae1c79a
DE
40442010-12-07 Doug Evans <dje@google.com>
4045
4046 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4047 of data-directory.
4048 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4049 updated.
4050 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4051
60f98dde 40522010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4053
4054 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4055 * gdb.base/call-sc.exp: Ditto.
4056 * gdb.base/finish.exp: Ditto.
4057 * gdb.base/return.exp: Ditto.
4058 * gdb.base/return2.exp: Ditto.
4059
5fa290c1
DE
40602010-11-30 Doug Evans <dje@google.com>
4061
4062 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4063 (gdb_expect_list): Fix spelling errors in comments.
4064 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4065 send_gdb/gdb_expect_list where applicable.
4066 * gdb.base/call-ar-st.exp: Ditto.
4067 * gdb.base/funcargs.exp: Ditto.
4068 * gdb.base/gcore.exp: Ditto.
4069 * gdb.base/page.exp: Ditto.
4070 * gdb.base/sigaltstack.exp: Ditto.
4071 * gdb.base/siginfo.exp: Ditto.
4072 * gdb.base/sigstep.exp: Ditto.
4073 * gdb.base/trace-commands.exp: Ditto.
4074
4e04c971
DE
40752010-11-29 Doug Evans <dje@google.com>
4076
4077 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4078 printer-name;subprinter-name.
4079
8cf6f0b1
TT
40802010-11-29 Tom Tromey <tromey@redhat.com>
4081
4082 * gdb.dwarf2/implptr.exp: New file.
4083 * gdb.dwarf2/implptr.c: New file.
4084 * gdb.dwarf2/implptr.S: New file.
4085
94b6973e
PM
40862010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4087
fc529d80 4088 PR python/12199
94b6973e
PM
4089
4090 * gdb.python/py-breakpoint.exp: Test the delete method.
4091
8358c15c
JK
40922010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 Fix step_resume_breakpoint unsaved during an infcall.
4095 * gdb.base/step-resume-infcall.exp: New file.
4096 * gdb.base/step-resume-infcall.c: New file.
4097
f6df29bc
TJB
40982010-11-24 Edjunior Machado <emachado@br.ibm.com>
4099
4100 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4101
f2b5a5cf
TJB
41022010-11-24 Edjunior Machado <emachado@br.ibm.com>
4103
4104 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4105 on ppc64's symbols; "finish" and "return" commands must accept to
4106 show the caller line again as well as the line after.
4107 * gdb.asm/powerpc64.inc: New file.
4108
6b0ecdc2
DE
41092010-11-23 Doug Evans <dje@google.com>
4110
4111 * lib/gdb.exp (gdb_test_sequence): New function.
4112 (gdb_expect_list): Add verbose -log call for each pattern.
4113 * gdb.base/signals.exp (test_handle_all_print): Call it.
4114 Reduce timeout increment from 6 minutes to 1 minute.
4115 * gdb.server/ext-run.exp: Call it.
4116
ea976c60
PM
41172010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4118
f2b5a5cf 4119 PR python/12212
ea976c60
PM
4120
4121 * gdb.python/python.exp: Check that selected_thread raises an
4122 error when no inferior is loaded.
4123
c0efa795
JK
41242010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4125
4126 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4127 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4128
ec3aa567
JK
41292010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4130
4131 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4132 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4133
d8249011
DE
41342010-11-18 Doug Evans <dje@google.com>
4135
4136 * gdb.server/ext-run.exp: Fix intermittent failures.
4137
d4eba7d1
NF
41382010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4139
4140 * gdb.stabs/gdb11479.exp: Use runto_main.
4141
b04c2f88
NF
41422010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4143
4144 * gdb.base/break-entry.exp: Skip if using a stub.
4145
ae9d7ce4
NF
41462010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4147
4148 * gdb.python/py-inferior.exp: Pack values in target endianness.
4149
621c8364
TT
41502010-11-12 Tom Tromey <tromey@redhat.com>
4151
4152 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4153 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4154 MemoryError.
4155 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4156 type.
4157 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4158 MemoryError.
4159 (test_subscript_regression): Update exception type.
4160
84f4c1fe
PM
41612010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4162
4163 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4164 breakpoint tests.
4165
a1442452
PA
41662010-11-09 Pedro Alves <pedro@codesourcery.com>
4167
4168 * gdb.base/watchpoint.exp: Test "watch -location" with an
4169 innacessible location.
4170
efd11a33
JK
41712010-11-09 Edjunior Machado <emachado@br.ibm.com>
4172 Luis Machado <luisgpm@br.ibm.com>
4173
4174 * gdb.base/maint.exp: Expect "." prefix.
4175 * gdb.base/nodebug.exp: Expect "." Likewise.
4176 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4177 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4178 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4179 POWER server processors.
4180
aa00efb5
JK
41812010-11-08 Edjunior Machado <emachado@br.ibm.com>
4182 Luis Machado <luisgpm@br.ibm.com>
4183
4184 * gdb.base/break-entry.exp: convert entry point for
4185 ppc64 and expect leading `.' on ppc64's symbols
4186
99e7ae30
DE
41872010-11-05 Doug Evans <dje@google.com>
4188
4189 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4190 * gdb.python/py-param.exp: Delete, contents moved to ...
4191 * gdb.python/py-parameter.exp: ... here. New file.
4192 Add test for gdb.parameter ("directories").
99e7ae30 4193
f4b8a18d
KW
41942010-11-05 Ken Werner <ken.werner@de.ibm.com>
4195
4196 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4197 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4198 * configure: Regenerate.
4199 * gdb.opencl/Makefile.in: New File.
4200 * gdb.opencl/datatypes.exp: Likewise.
4201 * gdb.opencl/datatypes.cl: Likewise.
4202 * gdb.opencl/operators.exp: Likewise.
4203 * gdb.opencl/operators.cl: Likewise.
4204 * gdb.opencl/vec_comps.exp: Likewise.
4205 * gdb.opencl/vec_comps.cl: Likewise.
4206 * gdb.opencl/convs_casts.exp: Likewise.
4207 * gdb.opencl/convs_casts.cl: Likewise.
4208 * lib/opencl.exp: Likewise.
4209 * lib/opencl_hostapp.c: Likewise.
4210 * lib/opencl_kernel.cl: Likewise.
4211 * lib/cl_util.c: Likewise.
4212 * lib/cl_util.c: Likewise.
4213 * gdb.base/default.exp (set language): Add "opencl" to the list of
4214 languages.
4215
a9d5ef47
SW
42162010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4217
4218 * gdb.cp/overload.exp: Added test for inheritance overload.
4219 * gdb.cp/overload.cc: Ditto.
4220 * gdb.cp/oranking.exp: Removed releveant kfails.
4221
03eb1c79
JK
42222010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4223 Joel Brobecker <brobecker@adacore.com>
4224
4225 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4226 check test_compiler_info.
4227
dbc98a8b
KW
42282010-11-03 Ken Werner <ken.werner@de.ibm.com>
4229
4230 * gdb.base/gnu_vector.exp: Adjust expect messages.
4231
120bd360
KW
42322010-11-03 Ken Werner <ken.werner@de.ibm.com>
4233
4234 * gdb.base/gnu_vector.exp: Add unary operator tests.
4235
c37f7098
KW
42362010-11-03 Ken Werner <ken.werner@de.ibm.com>
4237
4238 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4239
7b51bc51
DE
42402010-11-02 Doug Evans <dje@google.com>
4241
4242 * gdb.python/py-pp-maint.c: New file.
4243 * gdb.python/py-pp-maint.exp: New file.
4244 * gdb.python/py-pp-maint.py: New file.
4245
50c97f38
TT
42462010-11-02 Tom Tromey <tromey@redhat.com>
4247
4248 * gdb.base/default.exp: Remove "scheme" from language list.
4249
a289b8f6
JK
42502010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4251
4252 Revert:
4253 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4254 * gdb.threads/sigstep-threads.exp: New file.
4255 * gdb.threads/sigstep-threads.c: New file.
4256
cd017491
MS
42572010-10-20 Michael Snyder <msnyder@vmware.com>
4258
4259 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4260
8e6a5956
UW
42612010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4262
4263 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4264 Skip test completely if gdb,no_hardware_watchpoints.
4265
2c04da0d
UW
42662010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4267
4268 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4269 strict, but do not check for any particular function name within libc.
4270
79afc5ef
SW
42712010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4272
4273 * gdb.cp/smartp.exp: New test.
4274 * gdb.cp/smartp.cc : New test.
4275
026ffab7
SW
42762010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4277
4278 * gdb.cp/converts.exp: Test pointer to bool conversion.
4279 Test pointer to long conversion.
4280 * gdb.cp/oranking.exp: Removed relevant kfail.
4281
3a772aa4
TT
42822010-10-18 Tom Tromey <tromey@redhat.com>
4283
4284 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4285 argument to lazy_string.
4286 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4287 (pp_ls.to_string): Use it.
4288 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4289 Add "estring2" local.
4290
5fc3827b
JK
42912010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 Fix s390x compatibility.
4294 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4295 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4296
8aeb23f3
JK
42972010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4298
4299 * gdb.threads/sigstep-threads.exp: New file.
4300 * gdb.threads/sigstep-threads.c: New file.
4301
c1e56572
JK
43022010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4303
4304 * gdb.base/pie-execl.exp: New file.
4305 * gdb.base/pie-execl.c: New file.
4306
92163a10
JK
43072010-10-13 Doug Evans <dje@google.com>
4308 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 PR exp/12117
4311 * gdb.cp/ptype-cv-cp.cc: New file.
4312 * gdb.cp/ptype-cv-cp.exp: New file.
4313
7062b0a0
SW
43142010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4315
4316 * gdb.cp/converts.cc: New test program.
4317 * gdb.cp/converts.exp: New test.
4318 * gdb.cp/overload.exp: Added test for void* vs int*.
4319 * gdb.cp/overload.exp: Ditto.
4320 * gdb.cp/oranking.exp: Removed related kfail.
4321
0e3509db
DE
43222010-10-13 Doug Evans <dje@google.com>
4323
4324 * lib/gdb-python.exp (gdb_check_python_config): New function.
4325 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4326 * gdb.python/lib-types.cc: New file.
4327 * gdb.python/lib-types.exp: New file.
4328
8dc78533
JK
43292010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4330
4331 * gdb.python/py-error.exp: New file.
4332 * gdb.python/py-error.py: New file.
4333
93c17e06
JK
43342010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4335
4336 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4337 gdb_test_multiple.
4338
d8b34041
JK
43392010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4340
4341 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4342 * gdb.base/prelink.exp: Likewise.
4343 * gdb.base/solib-nodir.exp: Likewise.
4344 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4345 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4346 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4347
e0cc584e
UW
43482010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4349
4350 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4351 for the "info files" test to avoid timeouts on slow machines.
4352
cfc353b1
JK
43532010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4354
4355 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4356 (main): Make openlib dummy call.
4357
d3d7896d
JK
43582010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4359
4360 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4361 * break-interp.exp (reach): Move the core body ...
4362 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4363 (test_ld): Provide always real argument, even to the linker. Replace
4364 dl_main by _dl_debug_state.
4365
5e533c94
JK
43662010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4367
4368 Fix results of prelinked PIEs on ppc*.
4369 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4370 Accept also DISPLACEMENT "PRESENT".
4371 (main): Replace "ZERO" displacements by "PRESENT".
4372
33540610
SW
43732010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4374
4375 * gdb.cp/oranking.exp: New test.
4376 * gdb.cp/oranking.cc: New test program.
4377
3bdf2bbd
KW
43782010-10-08 Ken Werner <ken.werner@de.ibm.com>
4379
4380 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4381 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4382
2f608a3a
KW
43832010-10-06 Ken Werner <ken.werner@de.ibm.com>
4384
4385 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4386 lush, lynx) New constant.
4387 * gdb.base/constvars.exp: Test const array types.
4388 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4389
aa2e2d8d
DE
43902010-10-06 Doug Evans <dje@google.com>
4391
4392 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4393 of syscall staging area.
4394
2844d6b5
KW
43952010-10-06 Ken Werner <ken.werner@de.ibm.com>
4396
4397 * gdb.base/gnu_vector.c: Add variable c4.
4398 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4399 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4400
7d8ac8bb
MR
44012010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4402
4403 * gdb.arch/altivec-abi.exp: Fix a typo.
4404
84a02e58
MR
44052010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4406
4407 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4408 to match a thread ID.
4409
b18e6318
JK
44102010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4411
4412 Fix s390x testcase compatibility.
4413 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4414
a2c09bd0
DE
44152010-10-01 Doug Evans <dje@google.com>
4416
4417 * lib/gdb-python.exp: New file.
4418 * gdb.python/py-block.exp: Use it.
4419 * gdb.python/py-breakpoint.exp: Ditto.
4420 * gdb.python/py-frame.exp: Ditto.
4421 * gdb.python/py-inferior.exp: Ditto.
4422 * gdb.python/py-param.exp: Ditto.
4423 * gdb.python/py-prettyprint.exp: Ditto.
4424 * gdb.python/py-shared.exp: Ditto.
4425 * gdb.python/py-symbol.exp: Ditto.
4426 * gdb.python/py-symtab.exp: Ditto.
4427 * gdb.python/py-type.exp: Ditto.
4428 * gdb.python/py-value.exp: Ditto.
4429 * gdb.python/python.exp: Ditto.
4430
38f12cfc
TT
44312010-09-30 Tom Tromey <tromey@redhat.com>
4432
4433 * gdb.base/anon.exp: New file.
4434 * gdb.base/anon.c: New file.
4435
9ae8282d
TT
44362010-09-30 Tom Tromey <tromey@redhat.com>
4437
4438 * gdb.base/completion.exp: Test completion through anonymous
4439 union.
4440 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4441
e9e07ba6
JK
44422010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 Fix printing parameters of inlined functions.
4445 * gdb.dwarf2/dw2-inline-param.exp: New file.
4446 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4447 * gdb.dwarf2/dw2-inline-param.S: New file.
4448
cd2effb2
JK
44492010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 PR corefiles/12071.
4452 * gdb.base/corefile.exp (quit with a process, no question: load core)
4453 (quit with a core file): New tests.
4454
bceffbf3
JK
44552010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4456
4457 Fix GDB crash on inferior calls with self-referencing classes.
4458 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4459 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4460 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4461
1736ad11
JK
44622010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4463
4464 Fix lost siginfo_t for inferior calls.
4465 * gdb.base/siginfo-infcall.exp: New file.
4466 * gdb.base/siginfo-infcall.c: New file.
4467
a176ad92
JB
44682010-09-22 Joel Brobecker <brobecker@adacore.com>
4469
4470 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4471
c2b0a229
JK
44722010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4473
4474 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4475 New test.
4476 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4477
e8ae22d1
JB
44782010-09-22 Joel Brobecker <brobecker@adacore.com>
4479
4480 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4481 type of our const type.
4482
ec322823
SW
44832010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4484
4485 * gdb.cp/pr12028.cc: New.
4486 * gdb.cp/pr12028.exp: New.
4487
72929c62
JB
44882010-09-22 Joel Brobecker <brobecker@adacore.com>
4489
4490 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4491
875b4ff5 44922010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4493 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4494
4495 PR mi/11407
4496 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4497 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4498 * gdb.mi/dw2-ref-missing-frame.S New File.
4499 * gdb.mi/dw2-ref-missing-frame.exp New File.
4500
7155d578
TT
45012010-09-14 Tom Tromey <tromey@redhat.com>
4502
4503 PR symtab/8399:
4504 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4505
515ed532
TT
45062010-09-14 Tom Tromey <tromey@redhat.com>
4507
4508 PR exp/11803:
4509 * gdb.threads/tls.exp: Use C++.
4510 (check_thread_local): Use K::another_thread_local.
4511 * gdb.threads/tls.c (class K): New.
4512 (another_thread_local): Now a member of K.
4513 (spin): Update. No longer K&R C.
4514
450ca57c
SW
45152010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4516
4517 * gdb.cp/koenig.cc: created class for testing member lookup.
4518 * gdb.cp/koenig.exp: Added test for member lookup.
4519
dbd492a3
JK
45202010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4521
4522 Fix false FAILs on sourcetree topdir directory containing "kill".
4523 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4524 source line matching regexp.
4525
8d4d924b
JK
45262010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4527
4528 * gdb.python/python.exp (set height 0, collect help from uiout)
4529 (verify help to uiout): New tests.
4530
8e64f2a0
JK
45312010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4532
4533 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4534 is_lp64_target to check 64bit target.
4535
4569eed2
JK
45362010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4539 (test_ld) <powerpc64-*>: New.
4540
5e1617b1
DJ
45412010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4542
4543 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4544
c767944b
DJ
45452010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4546
4547 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4548 (FunctionArg::method): New function.
4549 (empty, arg): New variables.
4550 (main): Call arg.method.
4551 * gdb.cp/templates.exp (test_template_args): New function.
4552 (do_tests): Call it.
4553
27d3a3fc
UW
45542010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4555
4556 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4557 of "next" to proceed over pthread_exit call.
4558
55b7ce7f
UW
45592010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4560
4561 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4562 "maint print statistics" output to prevent expect timeouts.
4563
809df446
JK
45642010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4565
4566 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4567 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4568 (test_float_rejected): ... here.
4569 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4570 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4571 (test_float_rejected): ... here.
4572 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4573 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4574 (test_float_rejected): ... here.
4575 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4576 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4577 (test_float_rejected): ... here.
4578
8464be76
DJ
45792010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4580
4581 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4582 before disabling hardware watchpoints.
4583 (test_inaccessible_watchpoint): Check that hardware watchpoints
4584 are used. Test for watchpoints on a constant address.
4585
14dba4b4
JK
45862010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4587
4588 * gdb.base/ui-redirect.exp: New file.
4589
3f3540e1 45902010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4591 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4592
4593 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4594
0f254bb7
DE
45952010-08-31 Doug Evans <dje@google.com>
4596
4597 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4598
03f17ccf
TT
45992010-08-30 Tom Tromey <tromey@redhat.com>
4600
4601 PR python/11792:
4602 * gdb.python/py-value.exp (test_subscript_regression): Add
4603 dynamic_type test.
4604
640617ad
DJ
46052010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4606
4607 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4608 instead of running to main. Do not test the main function.
4609 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4610 Add new main.
4611
2ed91d1b
PA
46122010-08-26 Pedro Alves <pedro@codesourcery.com>
4613
4614 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4615 one test.
4616
673bfd45
DE
46172010-08-24 Doug Evans <dje@google.com>
4618
4619 PR symtab/11942
4620 * gdb.dwarf2/dw4-sig-types.cc: New file.
4621 * gdb.dwarf2/dw4-sig-types.h: New file.
4622 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4623 * gdb.dwarf2/dw4-sig-types.exp: New file.
4624
f9ffd4bb
TT
46252010-08-23 Tom Tromey <tromey@redhat.com>
4626
4627 PR python/11145:
4628 * gdb.python/py-value.c (Base, Derived): New types.
4629 (base): New global.
4630 * gdb.python/py-value.exp (test_subscript_regression): Add
4631 dynamic_cast test.
4632
d839c8a4
TT
46332010-08-23 Tom Tromey <tromey@redhat.com>
4634
4635 PR python/10676:
4636 * gdb.python/py-type.exp (test_fields): Add tests for type
4637 equality.
4638
702c2711
TT
46392010-08-23 Tom Tromey <tromey@redhat.com>
4640
4641 PR python/11915:
4642 * gdb.python/py-type.exp (test_fields): Add tests for array.
4643
832bafd3
KS
46442010-08-23 Keith Seitz <keiths@redhat.com>
4645
4646 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4647 have any children. Create a new abbrev for it.
4648 Add missing terminal sequence to .debug_abbrev.
4649
c37bf528
KS
46502010-08-20 Keith Seitz <keiths@redhat.com>
4651
4652 PR symtab/11465:
4653 * gdb.dwarf2/pr11465.exp: New test.
4654 * gdb.dwarf2/pr11465.S: New file.
4655 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4656 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4657
4572cbac
TJB
46582010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4659
4660 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4661 registers. Update data sets with the new v2_double element in the
4662 VSX register union. Add vector_register3_vr data set for the AltiVec
4663 registers. Use gdb_test_no_output instead of send_gdb.
4664
e7fbb131
PA
46652010-08-19 Pedro Alves <pedro@codesourcery.com>
4666
4667 * gdb.python/py-shared.exp: New file, factored out from
4668 python.exp.
4669 * gdb.python/py-shared.c: New file.
4670 * gdb.python/py-shared-sl.c: New file.
4671 * gdb.python/python-1.c: New file.
4672 * gdb.python/python-sl.c: Delete.
4673 * gdb.python/python.c: Mention python-1.c.
4674 * gdb.python/python.exp: Move shared library tests to
4675 py-shared.exp.
4676 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4677 (MISCELLANEOUS): New.
4678 (clean mostlyclean): Also remove $MISCELLANEOUS.
4679
d30f5e1f
DE
46802010-08-19 Doug Evans <dje@google.com>
4681
4682 PR exp/11926
4683 * gdb.base/printcmds.exp (test_float_accepted): New function.
4684 Move existing float tests there. Add tests for floats with suffixes.
4685 (test_float_rejected): New function.
4686 * gdb.java/jv-print.exp (test_float_accepted): New function.
4687 (test_float_rejected): New function.
4688 * gdb.objc/print.exp: New file.
4689 * gdb.pascal/print.exp: New file.
4690 * lib/objc.exp: New file.
4691
7b3fd859
PM
46922010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4693
4694 * gdb.base/default.exp (info set): Avoid full buffer error and force
4695 reading up to final gdb prompt.
4696 (show): Likewise.
4697
c92817ce
TT
46982010-08-18 Tom Tromey <tromey@redhat.com>
4699
4700 PR symtab/11919:
4701 * gdb.base/completion.exp: Add test.
4702
f1208f9e
DE
47032010-08-18 Doug Evans <dje@google.com>
4704
4705 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4706 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4707 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4708 Simplify, early exit if runto_main fails.
4709 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4710 (set_lang_fortran): Moved to lib/fortran.exp.
4711 * gdb.fortran/types.exp: load_lib fortran.exp.
4712 (set_lang_fortran): Moved to lib/fortran.exp.
4713 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4714 * gdb.java/jprint.exp (set_lang_java): Ditto.
4715 * gdb.java/jv-exp.exp: load_lib java.exp.
4716 If set_lang_java fails, issue a warning instead of failure to be
4717 consistent with other set_lang_foo uses.
4718 (set_lang_java): Moved to lib/java.exp.
4719 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4720 If set_lang_java fails, issue a warning instead of failure to be
4721 consistent with other set_lang_foo uses.
4722 * gdb.pascal/types.exp: load_lib pascal.exp.
4723 (set_lang_pascal): Moved to lib/pascal.exp.
4724 * lib/fortran.exp: New file.
4725 * lib/java.exp (set_lang_java): New function.
4726 * lib/pascal.exp (set_lang_pascal): New function.
4727
2f06b485
YQ
47282010-08-18 Yao Qi <yao@codesourcery.com
4729
4730 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4731 func_nofb_start and func_loopfb_start, so that address of functions
4732 is equal to these labels on Thumb.
4733
96e25403
YQ
47342010-08-18 Yao Qi <yao@codesourcery.com>
4735
4736 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4737 to reflect latest c source file.
4738
36e6adc4
JK
47392010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 * gdb.cp/infcall-dlopen.exp: New file.
4742 * gdb.cp/infcall-dlopen.cc: New file.
4743 * gdb.cp/infcall-dlopen-lib.cc: New file.
4744
f431efe5
PA
47452010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4746 Pedro Alves <pedro@codesourcery.com>
4747
4748 PR breakpoints/11371
4749
4750 * gdb.base/watch-cond-infcall.exp: New file.
4751 * gdb.base/watch-cond-infcall.c: New file.
4752
06a64a0b
TT
47532010-08-16 Tom Tromey <tromey@redhat.com>
4754
4755 * gdb.base/help.exp: Update.
4756 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4757 watchpoint.
4758 (test_watch_location): New proc.
4759 (test_watchpoint_in_big_blob): Delete watchpoint.
4760 * gdb.base/watchpoint.c (func5): New function.
4761 (main): Call it.
4762
70ebf4ed
DE
47632010-08-16 Doug Evans <dje@google.com>
4764
4765 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4766
ca5c20b6
PM
47672010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4768
4769 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4770 tests.
4771
7346b668
KW
47722010-08-11 Ken Werner <ken.werner@de.ibm.com>
4773
4774 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4775 * gdb.base/gnu_vector.c: New File.
4776 * gdb.base/gnu_vector.exp: Likewise.
4777
cb2e07a6
PM
47782010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4779
4780 * gdb.python/python.c: New File.
4781 * gdb.python/python-sl.c: New File.
4782 * gdb.python/python.exp: Test solib_address and decode_line
4783 * functions.
4784
5da1313b
JK
47852010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * gdb.python/python.exp (show height, set height 10)
4788 (verify pagination beforehand, verify pagination beforehand: q)
4789 (gdb.execute does not page, verify pagination afterwards)
4790 (verify pagination afterwards: q): New.
4791
49c3ccf7
DE
47922010-08-02 Doug Evans <dje@google.com>
4793
4794 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4795 because of an older gcc, change test2
4796 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4797 to unsupported.
4798
42c0c4f1
KH
47992010-07-30 Kazu Hirata <kazu@codesourcery.com>
4800
4801 * gdb.base/break-always.exp: Do not expect full paths to file
4802 names.
4803 * gdb.base/commands.exp: Likewise.
4804
d3765805
DE
48052010-07-30 Doug Evans <dje@google.com>
4806
c98ee71b
DE
4807 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4808 xfail them when run with older gccs.
4809
fd961404
DE
4810 * lib/gdb.exp (build_executable): Forward "c++" option to
4811 get_compiler_info.
4812
999adef4
DE
4813 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4814 "python print ttype.template_argument(1)" and
4815 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4816 if using gcc 4.4 or earlier.
4817
d3765805
DE
4818 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4819 attach-to-debugger handling.
4820
1276c759
JK
48212010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4822
4823 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4824 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4825 (main): Use copyreloc.
4826 * gdb.base/prelink.exp (split debug of executable)
4827 (.dynbss vs. .bss address shift): New tests.
4828
88caa9b9
PA
48292010-07-29 Pedro Alves <pedro@codesourcery.com>
4830
4831 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4832 in gdb_test_multiple.
4833
c6f2ac43
PA
48342010-07-29 Pedro Alves <pedro@codesourcery.com>
4835
4836 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4837 environment.
4838
326fd672
TT
48392010-07-28 Tom Tromey <tromey@redhat.com>
4840
4841 PR python/11060:
4842 * gdb.python/py-type.c (Temargs): New template.
4843 (temvar): New variable.
4844 * gdb.python/py-type.exp (test_template): New proc.
4845
3ce3b1ba
PA
48462010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4847
4848 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4849 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4850
34eaf542
TT
48512010-07-28 Tom Tromey <tromey@redhat.com>
4852
4853 PR c++/9946:
4854 * gdb.cp/temargs.exp: New file.
4855 * gdb.cp/temargs.cc: New file.
4856
d41b819e
JK
48572010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 * gdb.base/help.exp (help disassemble): Update the content.
4860
26ab7092
JK
48612010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4862
4863 * gdb.threads/ia64-sigill.exp: New file.
4864 * gdb.threads/ia64-sigill.c: New file.
4865
5283e9e1
TT
48662010-07-27 Tom Tromey <tromey@redhat.com>
4867
4868 * gdb.opt/inline-cmds.c (ATTR): New define.
4869 (func1): Use it.
4870 (func2): Likewise.
4871 (func3): Likewise.
4872 (outer_inline1): Likewise.
4873 (outer_inline2): Likewise.
4874 * gdb.opt/inline-bt.c (ATTR): New define.
4875 (func1): Use it.
4876 (func2): Likewise.
4877 * gdb.opt/inline-locals.c (ATTR): New define.
4878 (func1): Use it.
4879 (func2): Likewise.
4880
e992ef73
TT
48812010-07-27 Tom Tromey <tromey@redhat.com>
4882
4883 * gdb.stabs/gdb11479.c (hack): New function.
4884 (test): Use it.
4885 (test2): Use it.
4886 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4887 (int32_search_buf, int64_search_buf): No longer static.
4888 (x): Remove.
4889 * gdb.base/relocate.c (hack): New function.
4890
5374244e
PM
48912010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4892
4893 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4894 * gdb.python/py-value.c (func1): New function.
4895 (func2): Likewise.
4896
a99aee83
CV
48972010-07-26 Corinna Vinschen <vinschen@redhat.com>
4898
4899 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4900 as not to clash with .data section.
4901
a04ba985
JG
49022010-07-26 Jerome Guitton <guitton@adacore.com>
4903
4904 * gdb.base/code_elim.exp: New file.
4905 * gdb.base/code_elim1.c: New file.
4906 * gdb.base/code_elim2.c: New file.
4907
23bd0f7c
PA
49082010-07-21 Pedro Alves <pedro@codesourcery.com>
4909
4910 PR symtab/11827
4911
4912 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4913 (some_volatile_enum): New variable.
4914 * gdb.base/printcmds.exp (test_print_enums): New.
4915 <top level>: Call it.
4916
883df6dd
SW
49172010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4918
4919 * gdb.cp/fpointer.cc: New test.
4920 * gdb.cp/fpointer.exp: New test.
4921
569b05a5
JK
49222010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4923
4924 * gdb.base/solib-nodir.exp: New file.
4925 * lib/gdb.exp (runto): New case for a GDB internal error.
4926
51d7d803
JK
49272010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4928 Ulrich Weigand <uweigand@de.ibm.com>
4929 Tom Tromey <tromey@redhat.com>
4930
4931 * gdb.base/charset-malloc.c: New file.
4932 * gdb.base/charset.c (malloc_stub): New prototype.
4933 (main): Call it instead of malloc itself.
4934 * gdb.base/charset.exp: Use only prepare_for_testing.
4935 (binfile): Remove the variable.
4936
c0edd9ed
JK
49372010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4938
4939 Make core files the process_stratum.
4940 * gdb.base/corefile.exp (run: load core again)
4941 (run: sanity check we see the core file, run: with core)
4942 (run: core file is cleared, attach: load core again)
4943 (attach: sanity check we see the core file, attach: with core)
4944 (attach: core file is cleared): New tests.
4945 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4946
3cbaedff
KW
49472010-07-14 Ken Werner <ken.werner@de.ibm.com>
4948
4949 * gdb.arch/altivec-abi.exp: New tests.
4950
91158a56
TT
49512010-07-13 Tom Tromey <tromey@redhat.com>
4952
4953 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4954 (main): Use it.
4955 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4956
0f5238ed
TT
49572010-07-13 Tom Tromey <tromey@redhat.com>
4958
4959 * gdb.base/label.exp: New file.
4960 * gdb.base/label.c: New file.
4961
add265ae
L
49622010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4963 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 * lib/gdb.exp (is_ilp32_target): New.
4966 (is_lp64_target): Likewise.
4967
4968 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4969 target.
4970 * gdb.arch/amd64-disp-step.exp: Likewise.
4971 * gdb.arch/amd64-dword.exp: Likewise.
4972 * gdb.arch/amd64-i386-address.exp: Likewise.
4973 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4974
add265ae
L
4975 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4976 target.
4977 * gdb.arch/i386-bp_permanent.exp: Likewise.
4978 * gdb.arch/i386-byte.exp: Likewise.
4979 * gdb.arch/i386-disp-step.exp: Likewise.
4980 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4981 * gdb.arch/i386-prologue.exp: Likewise.
4982 * gdb.arch/i386-size-overlap.exp: Likewise.
4983 * gdb.arch/i386-size.exp: Likewise.
4984 * gdb.arch/i386-sse.exp: Likewise.
4985 * gdb.arch/i386-unwind.exp: Likewise.
4986 * gdb.arch/i386-word.exp: Likewise.
4987
4988 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4989 test only when building 64-bit executables. Do not hard-code
4990 -m64 option.
4991
2dfb8c17
DE
49922010-07-07 Doug Evans <dje@google.com>
4993
4994 * lib/gdb.exp (gdb_test_list_exact): New function.
4995 * gdb.base/default.exp (show convenience): Call it, add tests for
4996 $_sdata = void, $_thread = 0.
4997
4e5799b6
JK
49982010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4999 Joel Brobecker <brobecker@adacore.com>
5000
5001 Fix re-run of PIE executable, PR shlibs/11776.
5002 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5003 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5004 and re-"run" of the inferior.
5005
1a219cc7
JK
50062010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5007 Joel Brobecker <brobecker@adacore.com>
5008
5009 Cope with missing /usr/sbin/prelink.
5010 * lib/prelink-support.exp (prelink_no):
5011 <result == 1 && $output is "no such file or directory">: New.
5012 (prelink_yes): Likewise. Return on failed prelink_no.
5013
5e3b36f8
JK
50142010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5015 Joel Brobecker <brobecker@adacore.com>
5016
5017 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5018 build_executable by build_executable_own_libs. Replace "prelink -R"
5019 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5020 change.
5021 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5022 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5023 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5024 Replace build_executable by build_executable_own_libs's function
5025 build_executable_own_libs.
5026 (prelinkNO): Create new stub to call prelink_no.
5027 (prelinkYES): Create new stub to call prelink_yes.
5028 (test_attach): Rename calls of copy to file_copy.
5029 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5030 (copy): Move to ...
5031 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5032 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5033 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5034 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5035 special flags by gdb_compile_shlib. Replace second gdb_compile by
5036 build_executable_own_libs. Replace "prelink -R" execution by a call of
5037 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5038 a second call of prelink_yes. Replace restart commands by
5039 clean_restart.
5040 (prelink): Rename to ...
5041 (seen displacement message): ... this test. Extend its expectation
5042 strictness.
5043
86e4bafc
JK
50442010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5045
5046 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5047 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5048 displacement message exactly once.
5049
3cd07d20
JK
50502010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5051 Joel Brobecker <brobecker@adacore.com>
5052
5053 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5054 its restore after the <$relink_args != ""> loop. new comment.
5055
0a1e94c7
JK
50562010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5057 Joel Brobecker <brobecker@adacore.com>
5058
5059 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5060 code for it. New variable relink_args.
5061 (prelinkYES): Call prelinkNO.
5062 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5063 in such case. Move the core code to ...
5064 (test_attach_gdb): ... a new function. Send GDB command "file".
5065 Extend expected "Attaching to " string.
5066
2f70bcfb
TT
50672010-07-02 Tom Tromey <tromey@redhat.com>
5068
5069 * gdb.base/bitops.exp: Remove extraneous "pass".
5070
a17ac5b0
TT
50712010-07-02 Ken Werner <ken.werner@de.ibm.com>
5072
5073 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5074
dc10affe
PA
50752010-07-01 Pedro Alves <pedro@codesourcery.com>
5076
d41c0fc8
PA
5077 * gdb.base/help.exp: Adjust expected output.
5078
50792010-07-01 Pedro Alves <pedro@codesourcery.com>
5080
5081 * gdb.base/help.exp: Adjust expected output.
dc10affe 5082
0a600c36
JK
50832010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5086 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5087 c++/11702.
5088
37cc8bfe
JK
50892010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5090 Doug Evans <dje@google.com>
5091
5092 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5093 add .dynamic entry'.
5094
254e6b9e
DE
50952010-06-29 Doug Evans <dje@google.com>
5096
5097 Test PR c++/11702.
5098 * gdb.cp/m-static.exp: Add testcase.
5099 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5100
595939de 51012010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5102 Tom Tromey <tromey@redhat.com>
5103 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5104
5105 * gdb.python/py-inferior.c: New File.
5106 * gdb.python/py-infthread.c: New File.
5107 * gdb.python/py-inferior.exp: New File.
5108 * gdb.python/py-infthread.exp: New File.
5109
98751a41
JK
51102010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5111
5112 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5113 (ptype ::C::OtherFileClass typedefs): New.
5114 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5115 (C::OtherFileClass::cOtherFileClassVar2): New.
5116 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5117 cOtherFileClassVar2.
5118 (C::cOtherFileType2, C::cOtherFileVar2): New.
5119 (C::cOtherFileVar_use): use also cOtherFileVar2.
5120 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5121
41f62f39
JK
51222010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5125 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5126 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5127 (print ::C::cOtherFileVar)
5128 (whatis C::OtherFileClass::cOtherFileClassType)
5129 (whatis ::C::OtherFileClass::cOtherFileClassType)
5130 (print C::OtherFileClass::cOtherFileClassVar)
5131 (print ::cOtherFileClassVar)
5132 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5133 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5134 trailing content.
5135 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5136 (C::OtherFileClass::cOtherFileClassVar)
5137 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5138 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5139
af53d231
JK
51402010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5141
5142 Test PR c++/11703 and PR gdb/1448.
5143 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5144 gdb/1448.
5145
9655fd1a
JK
51462010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5147
5148 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5149 (main) <rtti_data>: New.
5150 * gdb.cp/virtbase.exp (print rtti_data): New.
5151
824cc8dd
JK
51522010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5153 Joel Brobecker <brobecker@adacore.com>
5154
5155 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5156
6036c742
JK
51572010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5160
de6a0421
DE
51612010-06-28 Doug Evans <dje@google.com>
5162
5163 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5164
b2dae948
DE
51652010-06-27 Doug Evans <dje@google.com>
5166
5167 * gdb.cp/m-static.exp: Update expected test output.
5168
0f3bb72e
PH
51692010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5170
889bf7c5
PA
5171 * gdb.gdb/selftest.exp: Adjust expected message for
5172 capturing start-up runtime.
0f3bb72e 5173
bc9f0842
TT
51742010-06-25 Tom Tromey <tromey@redhat.com>
5175
5176 PR python/10808:
5177 * gdb.python/python.exp: Add new tests.
5178
099ef718
SW
51792010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5180
5181 * gdb.cp/operator.cc: Created an import loop.
5182 * gdb.cp/operator.exp: Added testcase for import loop.
5183
5868a632
JK
51842010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5185
5186 Test PR python/11407.
5187 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5188 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5189 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5190 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5191 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5192 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5193 binfile. Call gdb_compile with clean_restart twice.
5194 (func_nofb print, func_nofb backtrace, func_loopfb print)
5195 (func_loopfb backtrace): New.
5196
af76db58
JK
51972010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5198
5199 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5200 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5201 by a hand made one.
5202 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5203 i?86 requirement. Remove variables srcfile and binfile. New variable
5204 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5205
f2c7657e
UW
52062010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5207
5208 * gdb.cell/dwarfaddr.exp: New file.
5209 * gdb.cell/dwarfaddr.S: New file.
5210
628fe4e4
JK
52112010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5212
5213 Test PR 9436.
5214 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5215
f1421989
HZ
52162010-06-24 Hui Zhu <teawater@gmail.com>
5217
5218 * gdb.base/eval.exp: New file.
5219
d03285ec
UW
52202010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5221
5222 * gdb.cell/fork.exp: New file.
5223 * gdb.cell/fork.c: Likewise.
5224 * gdb.cell/fork-spu.c: Likewise.
5225
41b2c92d
PM
52262010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5227
5228 * lib/gdb.exp (banned_variables_traced): New global variable.
5229 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5230 (gdb_init): Use `trace add variable' instead of obsolete
5231 `trace variable'.
5232
d5bc977f
DE
52332010-06-21 Doug Evans <dje@google.com>
5234
5235 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5236
d2ed6730
UW
52372010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5238
5239 * gdb.arch/spu-ls.exp: New file.
5240 * gdb.arch/spu-ls.c: Likewise.
5241
6aed2dbc
SS
52422010-06-18 Stan Shebs <stan@codesourcery.com>
5243
5244 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5245
e0756905
UW
52462010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5247
5248 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5249 * gdb.base/watch-cond.exp: Likewise.
5250 * gdb.python/py-breakpoint.exp: Likewise.
5251
d8053d4d
PA
52522010-06-18 Pedro Alves <pedro@codesourcery.com>
5253
5254 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5255 clean_restart, make sure every test has a distinct message, and
5256 that messages don't include the executable' full path.
5257
81ce510c
DE
52582010-06-17 Doug Evans <dje@google.com>
5259
5260 * gdb.arch/i386-size.exp: Updated expected output for
5261 DISASSEMBLY_OMIT_FNAME.
5262
65d79d4b
SDJ
52632010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5264 Sergio Durigan Junior <sergiodj@redhat.com>
5265
5266 * gdb.base/watch-notconst.c: New file.
5267 * gdb.base/watch-notconst.S: New file.
5268 * gdb.base/watch-notconst2.c: New file.
5269 * gdb.base/watch-notconst2.S: New file.
5270 * gdb.base/watch-notconst.exp: New file.
5271 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5272 (func4): Add operations on `global_ptr_ptr'.
5273 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5274 routine to test watchpoints created with a constant expression.
5275 (test_inaccessible_watchpoint): Include tests for watchpoints
5276 created with a constant expression.
5277
df0f4836
KB
52782010-06-14 Kevin Buettner <kevinb@redhat.com>
5279
5280 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5281 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5282 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5283 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5284 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5285 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5286 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5287 of `_start'.
5288
b769def5
UW
52892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5290
5291 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5292 not supported on the target.
5293 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5294 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5295 * gdb.mi/mi-nsintrall.exp: Likewise.
5296 * gdb.mi/mi-nsmoribund.exp: Likewise.
5297 * gdb.mi/mi-nsthrexec.exp: Likewise.
5298
d914c394
SS
52992010-06-11 Stan Shebs <stan@codesourcery.com>
5300
5301 * gdb.base/permissions.exp: New file.
5302
53032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5304
5305 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5306 does not support ELF executable class.
5307
f3ce5b9c
UW
53082010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5309
5310 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5311
8e46892c
JK
53122010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5313
5314 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5315 (runto): Catch "The target does not support running in non-stop mode.".
5316
6cc55c64
MS
53172010-06-11 Michael Snyder <msnyder@vmware.com>
5318
5319 * gdb.base/setshow.exp (set language asm): Don't use
5320 gdb_test_no_output, fails on some targets.
5321
caddefa4
UW
53222010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5323
5324 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5325 * gdb.cp/pr9167.exp: Likewise.
5326
468b1aa7
UW
53272010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5328
5329 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5330
5c3552dc
UW
53312010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5332
5333 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5334
02e6fe6a
UW
53352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5336
5337 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5338
0e03807e
TT
53392010-06-11 Tom Tromey <tromey@redhat.com>
5340
5341 PR gdb/9977, PR exp/11636::
5342 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5343 (pieces_test_f6): Update expected output.
5344
2bdf28a0
JK
53452010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5346
5347 * gdb.base/moribund-step.exp: New.
5348
f6978de9
MS
53492010-06-08 Michael Snyder <msnyder@vmware.com>
5350
5351 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5352 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5353 * gdb.ada/frame_args.exp: Ditto.
5354 * gdb.ada/lang_switch.exp: Ditto.
5355 * gdb.ada/ptype_arith_binop.exp: Ditto.
5356 * gdb.ada/ref_param.exp: Ditto.
5357 * gdb.ada/type_coercion.exp:Ditto.
5358
5359 * gdb.asm/asm-source.exp: Ditto.
5360
5361 * gdb.base/attach.exp: Ditto.
5362 * gdb.base/bitfields2.exp: Ditto.
5363 * gdb.base/call-signal-resume.exp: Ditto.
5364 * gdb.base/callfuncs.exp: Ditto.
5365 * gdb.base/commands.exp: Ditto.
5366 * gdb.base/dbx.exp: Ditto.
5367 * gdb.base/default.exp: Ditto.
5368 * gdb.base/dump.exp: Ditto.
5369 * gdb.base/exprs.exp: Ditto.
5370 * gdb.base/freebpcmd.exp: Ditto.
5371 * gdb.base/interrupt.exp: Ditto.
5372 * gdb.base/list.exp: Ditto.
5373 * gdb.base/long_long.exp: Ditto.
5374 * gdb.base/maint.exp: Ditto.
5375 * gdb.base/ptype.exp: Ditto.
5376 * gdb.base/return.exp: Ditto.
5377 * gdb.base/setshow.exp: Ditto.
5378 * gdb.base/sigbpt.exp: Ditto.
5379 * gdb.base/sigrepeat.exp: Ditto.
5380
5381 * gdb.cp/classes.exp: Ditto.
5382
5383 * gdb.dwarf2/dw2-restore.exp: Ditto.
5384
5385 * gdb.gdb/selftest.exp: Ditto.
5386
5387 * gdb.multi/base.exp: Ditto.
5388 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5389
5390 * gdb.python/py-block.exp: Ditto.
5391 * gdb.python/py-prettyprint.exp: Ditto.
5392 * gdb.python/py-template.exp: Ditto.
5393
5394 * gdb.server/ext-attach.exp: Ditto.
5395 * gdb.server/ext-run.exp: Ditto.
5396 * gdb.server/server-mon.exp: Ditto.
5397
5398 * gdb.threads/fork-thread-pending.exp: Ditto.
5399 * gdb.threads/hand-call-in-threads.exp: Ditto.
5400 * gdb.threads/interrupted-hand-call.exp: Ditto.
5401 * gdb.threads/linux-dp.exp: Ditto.
5402 * gdb.threads/manythreads.exp: Ditto.
5403 * gdb.threads/print-threads.exp: Ditto.
5404 * gdb.threads/pthreads.exp: Ditto.
5405 * gdb.threads/schedlock.exp: Ditto.
5406 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5407 * gdb.threads/threadapply.exp: Ditto.
5408
de7ff789
MS
54092010-06-08 Michael Snyder <msnyder@vmware.com>
5410
889bf7c5 5411 * gdb.ada/exec_changed.exp:
de7ff789
MS
5412 Use ".*" instead of "" as wildcard regexp.
5413
5414 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5415 * gdb.base/call-ar-st.exp: Ditto.
5416 * gdb.base/checkpoint.exp: Ditto.
5417 * gdb.base/default.exp: Ditto.
5418 * gdb.base/dump.exp: Ditto.
5419 * gdb.base/ending-run.exp: Ditto.
5420 * gdb.base/fileio.exp: Ditto.
5421 * gdb.base/miscexprs.exp: Ditto.
5422 * gdb.base/pointers.exp: Ditto.
5423 * gdb.base/readline.exp: Ditto.
5424 * gdb.base/reread.exp: Ditto.
5425 * gdb.base/restore.exp: Ditto.
5426 * gdb.base/shlib-call.exp: Ditto.
5427 * gdb.base/valgrind-db-attach.exp: Ditto.
5428 * gdb.base/volatile.exp: Ditto.
5429 * gdb.base/watchpoints.exp: Ditto.
5430
5431 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5432
5433 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5434 * gdb.python/py-value.exp: Ditto.
5435
5436 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5437 * gdb.trace/circ.exp: Ditto.
5438 * gdb.trace/collection.exp: Ditto.
5439 * gdb.trace/packetlen.exp: Ditto.
5440 * gdb.trace/passc-dyn.exp: Ditto.
5441 * gdb.trace/report.exp: Ditto.
5442 * gdb.trace/tfile.exp: Ditto.
5443 * gdb.trace/tfind.exp: Ditto.
5444 * gdb.trace/while-dyn.exp: Ditto.
5445
3bebe2f2
JK
54462010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5447
5448 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5449
5c631832
JK
54502010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5451
5452 Test PR 10640.
5453 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5454
4c3376c8
SW
54552010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5456
5457 * gdb.cp/koenig.exp: Test for ADL operators.
5458 * gdb.cp/koenig.cc: Added ADL operators.
5459 * gdb.cp/operator.exp: New test.
5460 * gdb.cp/operator.cc: New test.
5461
dc226d5a
MS
54622010-06-04 Michael Snyder <msnyder@vmware.com>
5463
dfb88a23
MS
5464 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5465 * gdb.base/pending.exp: Ditto.
f7ae76b3 5466
dc226d5a
MS
5467 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5468
967cf477
DE
54692010-06-04 Doug Evans <dje@google.com>
5470
5471 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5472 disabled printers.
5473 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5474 (enable_lookup_function): New function.
5475
eb801841
TT
54762010-06-04 Tom Tromey <tromey@redhat.com>
5477
5478 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5479 of hash and id.
5480
38979823
JK
54812010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5482
5483 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5484 newline.
5485 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5486 (empty verbose non-noisy clear, empty verbose noisy clear)
5487 (empty non-verbose noisy clear): Likewise.
5488
35ec993f
MS
54892010-06-03 Michael Snyder <msnyder@vmware.com>
5490
5491 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5492 * gdb.base/display.exp: Ditto.
5493 * gdb.base/find.exp: Ditto.
5494 * gdb.base/ifelse.exp: Ditto.
5495 * gdb.base/multi-forks.exp: Ditto.
5496 * gdb.base/recurse.exp: Ditto.
5497 * gdb.base/setshow.exp: Ditto.
5498 * gdb.base/value-double-free.exp: Ditto.
5499 * gdb.base/watch-vfork.exp: Ditto.
5500 * gdb.base/watch_thread_num.exp: Ditto.
5501 * gdb.base/watchpoint-solib.exp: Ditto.
5502 * gdb.base/watchpoint.exp: Ditto.
5503 * gdb.base/watchpoints.exp: Ditto.
5504
5505 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5506 * gdb.cp/overload.exp: Ditto.
5507 * gdb.cp/virtfunc.exp: Ditto.
5508
5509 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5510
889bf7c5 5511 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5512 Replace gdb_test with gdb_test_no_output.
5513
889bf7c5 5514 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5515 Replace gdb_test with gdb_test_no_output.
5516 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5517 * gdb.threads/watchthreads.exp: Ditto.
5518 * gdb.threads/watchthreads2.exp: Ditto.
5519
5520 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5521 * gdb.trace/tfind.exp: Ditto.
5522
c22decce
JB
55232010-06-03 Joel Brobecker <brobecker@adacore.com>
5524
5525 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5526 successful test if message is the empty string.
5527
fd5700c7
JK
55282010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5529
5530 * gdb.fortran/module.exp (stopped language detection): New test.
5531
f55ee35c
JK
55322010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5533
5534 Support DW_TAG_module as separate namespaces.
5535 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5536 gdb.fortran/library-module-lib.f90: New.
5537 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5538 (print i): Remove.
5539 (continue to breakpoint: i-is-1, print var_i value 1)
5540 (continue to breakpoint: i-is-2, print var_i value 2)
5541 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5542 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5543 (complete `modmany, complete `modmany`, complete `modmany`var)
5544 (show language, setting breakpoint at module): New tests.
5545 * gdb.fortran/module.f90 (module mod): Remove.
5546 (module mod1, module mod2, module modmany, subroutine sub1)
5547 (subroutine sub2, program module): New.
5548
b8e8282f
JK
55492010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5550
5551 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5552 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5553 * gdb.cp/anon-union.exp (pass): Rename to ...
5554 (print z 2): ... here.
b8e8282f 5555
019ebafc
MS
55562010-06-02 Michael Snyder <msnyder@vmware.com>
5557
e68d8fd4
MS
5558 * gdb.trace/actions.exp: Use gdb_test_no_output.
5559 * gdb.trace/circ.exp: Ditto.
5560 * gdb.trace/packetlen.exp: Ditto.
5561 * gdb.trace/save-trace.exp: Ditto.
5562 * gdb.trace/tracecmd.exp: Ditto.
5563 * gdb.trace/tsv.exp: Ditto.
5564
12b5d08a
MS
5565 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5566 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5567 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5568 * gdb.threads/manythreads.exp: Ditto.
5569 * gdb.threads/print-threads.exp: Ditto.
5570 * gdb.threads/pthreads.exp: Ditto.
5571 * gdb.threads/schedlock.exp: Ditto.
5572 * gdb.threads/staticthreads.exp: Ditto.
5573 * gdb.threads/thread-specific.exp: Ditto.
5574 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5575 * gdb.threads/threadapply.exp: Ditto.
5576 * gdb.threads/watchthreads.exp: Ditto.
5577 * gdb.threads/watchthreads2.exp: Ditto.
5578
89493308
MS
5579 * gdb.python/py-block.exp: Use gdb_test_no_output.
5580 * gdb.python/py-prettyprint.exp: Ditto.
5581 * gdb.python/py-template.exp: Ditto.
5582 * gdb.python/py-value.exp: Ditto.
5583
5584 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5585 * gdb.reverse/watch-reverse.exp: Ditto.
5586
5587 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5588 * gdb.server/ext-run.exp: Ditto.
5589
019ebafc
MS
5590 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5591 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5592 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5593 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5594 * gdb.dwarf2/dw2-producer.exp: Ditto.
5595 * gdb.dwarf2/mac-fileno.exp: Ditto.
5596
5597 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5598 * gdb.gdb/selftest.exp: Ditto.
5599
5600 * gdb.multi/base.exp: Use gdb_test_no_output.
5601
5602 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5603
3e0ca3a5
JK
56042010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5605
5606 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5607
9db70545
MS
56082010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5609
a8d52276
MS
5610 * gdb.cp/class2.exp: Use gdb_test_no_output.
5611 * gdb.cp/classes.exp: Ditto.
5612 * gdb.cp/extern-c.exp: Ditto.
5613 * gdb.cp/inherit.exp: Ditto.
5614 * gdb.cp/maint.exp: Ditto.
5615 * gdb.cp/mb-inline.exp: Ditto.
5616 * gdb.cp/mb-templates.exp: Ditto.
5617 * gdb.cp/method2.exp: Ditto.
5618 * gdb.cp/misc.exp: Ditto.
5619 * gdb.cp/ovldbreak.exp: Ditto.
5620 * gdb.cp/punctuator.exp: Ditto.
5621 * gdb.cp/templates.exp: Ditto.
5622 * gdb.cp/virtbase.exp: Ditto.
5623
889bf7c5 5624 * gdb.threads/attach-stopped.exp:
9db70545 5625 Replace uses of send_gdb / gdb_expect.
889bf7c5 5626 * gdb.threads/attachstop-mt.exp:
9db70545 5627 Replace uses of send_gdb / gdb_expect.
889bf7c5 5628 * gdb.threads/gcore-thread.exp:
9db70545 5629 Replace uses of send_gdb / gdb_expect.
889bf7c5 5630 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5631 Replace uses of send_gdb / gdb_expect.
5632 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5633 * gdb.threads/print-threads.exp:
9db70545
MS
5634 Replace uses of send_gdb / gdb_expect.
5635 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5636 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5637 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5638
5639 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5640 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5641 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5642 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5643 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5644 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5645 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5646 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5647 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5648 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5649 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5650
359cc68c
JK
56512010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5652
5653 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5654
7d3fe98e
SW
56552010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5656
5657 * gdb.cp/koenig.exp: Added new test case.
5658 * gdb.cp/koenig.cc: Ditto.
5659
27d3a1a2
MS
56602010-06-01 Michael Snyder <msnyder@vmware.com>
5661
5662 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5663 * gdb.base/arrayidx.exp: Ditto.
5664 * gdb.base/attach.exp: Ditto.
5665 * gdb.base/auxv.exp: Ditto.
5666 * gdb.base/bigcre.exp: Ditto.
5667 * gdb.base/break-always.exp: Ditto.
5668 * gdb.base/break-interp.exp: Ditto.
5669 * gdb.base/break.exp: Ditto.
5670 * gdb.base/breakpoint-shadow.exp: Ditto.
5671 * gdb.base/call-ar-st.exp: Ditto.
5672 * gdb.base/call-sc.exp: Ditto.
5673 * gdb.base/call-signal-resume.exp: Ditto.
5674 * gdb.base/callfuncs.exp: Ditto.
5675 * gdb.base/catch-syscall.exp: Ditto.
5676 * gdb.base/charset.exp: Ditto.
5677 * gdb.base/code-expr.exp: Ditto.
5678 * gdb.base/commands.exp: Ditto.
5679 * gdb.base/cond-expr.exp: Ditto.
5680 * gdb.base/condbreak.exp: Ditto.
5681 * gdb.base/cursal.exp: Ditto.
5682 * gdb.base/cvexpr.exp: Ditto.
5683 * gdb.base/default.exp: Ditto.
5684 * gdb.base/del.exp: Ditto.
5685 * gdb.base/detach.exp: Ditto.
5686 * gdb.base/display.exp: Ditto.
5687 * gdb.base/ena-dis-br.exp: Ditto.
5688 * gdb.base/eval-skip.exp: Ditto.
5689 * gdb.base/foll-fork.exp: Ditto.
5690 * gdb.base/foll-vfork.exp: Ditto.
5691 * gdb.base/frame-args.exp: Ditto.
5692 * gdb.base/funcargs.exp: Ditto.
5693 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5694 * gdb.base/gdbvars.exp: Ditto.
5695 * gdb.base/help.exp: Ditto.
5696 * gdb.base/ifelse.exp: Ditto.
5697 * gdb.base/included.exp: Ditto.
5698 * gdb.base/list.exp: Ditto.
5699 * gdb.base/macscp.exp: Ditto.
5700 * gdb.base/maint.exp: Ditto.
5701 * gdb.base/multi-fork.exp: Ditto.
5702 * gdb.base/overlays.exp: Ditto.
5703 * gdb.base/page.exp: Ditto.
5704 * gdb.base/pending.exp: Ditto.
5705 * gdb.base/pointers.exp: Ditto.
5706 * gdb.base/pr11022.exp: Ditto.
5707 * gdb.base/prelink.exp: Ditto.
5708 * gdb.base/printcmds.exp: Ditto.
5709 * gdb.base/psymtab.exp: Ditto.
5710 * gdb.base/randomize.exp: Ditto.
5711 * gdb.base/relational.exp: Ditto.
5712 * gdb.base/relocate.exp: Ditto.
5713 * gdb.base/remote.exp: Ditto.
5714 * gdb.base/sepdebug.exp: Ditto.
5715 * gdb.base/set-lang-auto.exp: Ditto.
5716 * gdb.base/setshow.exp: Ditto.
5717 * gdb.base/setvar.exp: Ditto.
5718 * gdb.base/signals.exp: Ditto.
5719 * gdb.base/signull.exp: Ditto.
5720 * gdb.base/sigstep.exp: Ditto.
5721 * gdb.base/sizeof.exp: Ditto.
5722 * gdb.base/solib-disc.exp: Ditto.
5723 * gdb.base/store.exp: Ditto.
5724 * gdb.base/structs.exp: Ditto.
5725 * gdb.base/structs2.exp: Ditto.
5726 * gdb.base/subst.exp: Ditto.
5727 * gdb.base/term.exp: Ditto.
5728 * gdb.base/trace-commands.exp: Ditto.
5729 * gdb.base/unwindonsignal.exp: Ditto.
5730 * gdb.base/valgrind-db-attach.exp: Ditto.
5731 * gdb.base/varargs.exp: Ditto.
5732 * gdb.base/watch-cond.exp: Ditto.
5733 * gdb.base/watch_thread_num.exp: Ditto.
5734 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5735 * gdb.base/watchpoint.exp: Ditto.
5736 * gdb.base/whatis-exp.exp: Ditto.
5737
f8d3bf8f
MS
57382010-06-01 Michael Snyder <msnyder@vmware.com>
5739
5740 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5741 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5742 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5743 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5744 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5745 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5746 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5747 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5748 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5749 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5750 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5751 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5752 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5753 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5754 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5755
3f9e0d32
JK
57562010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5757
5758 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5759 trailing newline.
5760 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5761 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5762 (p *args): ... here and remove excessive trailing newline.
5763
f629457d
JB
57642010-05-31 Joel Brobecker <brobecker@adacore.com>
5765
5766 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5767
09eef106
JK
57682010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5769
5770 Accept the new Linux kernel "t (tracing stop)" string.
5771 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5772 Update comment.
5773 (state_wait) <T (tracing stop)>: New.
5774 (main): Update the state_wait expect string.
5775
94f31136
PA
57762010-05-28 Pedro Alves <pedro@codesourcery.com>
5777
5778 * limits.c, limits.exp: Delete files.
5779 * Makefile.in (clean mostlyclean): Adjust.
5780 * tracecmd.exp: Adjust.
5781
096554ab
JK
57822010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5783
5784 * gdb.base/tui-layout.exp: New.
5785
27d3a1a2 57862010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5787
889bf7c5 5788 * gdb.reverse/break-precsave.exp:
bcd2dc50 5789 Replace uses of send_gdb / gdb_expect.
889bf7c5 5790 * gdb.reverse/break-reverse.exp:
bcd2dc50 5791 Replace uses of send_gdb / gdb_expect.
889bf7c5 5792 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5793 Replace uses of send_gdb / gdb_expect.
889bf7c5 5794 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5795 Replace uses of send_gdb / gdb_expect.
889bf7c5 5796 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5797 Replace uses of send_gdb / gdb_expect.
889bf7c5 5798 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5799 Replace uses of send_gdb / gdb_expect.
889bf7c5 5800 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5801 Replace uses of send_gdb / gdb_expect.
889bf7c5 5802 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5803 Replace uses of send_gdb / gdb_expect.
889bf7c5 5804 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5805 Replace uses of send_gdb / gdb_expect.
889bf7c5 5806 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5807 Replace uses of send_gdb / gdb_expect.
889bf7c5 5808 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5809 Replace uses of send_gdb / gdb_expect.
889bf7c5 5810 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5811 Replace uses of send_gdb / gdb_expect.
889bf7c5 5812 * gdb.reverse/machinestate.exp:
bcd2dc50 5813 Replace uses of send_gdb / gdb_expect.
889bf7c5 5814 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5815 Replace uses of send_gdb / gdb_expect.
889bf7c5 5816 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5817 Replace uses of send_gdb / gdb_expect.
889bf7c5 5818 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5819 Replace uses of send_gdb / gdb_expect.
889bf7c5 5820 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5821 Replace uses of send_gdb / gdb_expect.
889bf7c5 5822 * gdb.reverse/step-precsave.exp:
bcd2dc50 5823 Replace uses of send_gdb / gdb_expect.
889bf7c5 5824 * gdb.reverse/step-reverse.exp:
bcd2dc50 5825 Replace uses of send_gdb / gdb_expect.
889bf7c5 5826 * gdb.reverse/until-precsave.exp:
bcd2dc50 5827 Replace uses of send_gdb / gdb_expect.
889bf7c5 5828 * gdb.reverse/until-reverse.exp:
bcd2dc50 5829 Replace uses of send_gdb / gdb_expect.
889bf7c5 5830 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5831 Replace uses of send_gdb / gdb_expect.
889bf7c5 5832 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5833 Replace uses of send_gdb / gdb_expect.
5834
3def43e0
JK
58352010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5838 excessive newline.
5839
27d3a1a2 58402010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5841
5842 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5843 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5844 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5845 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5846 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5847 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5848 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5849 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5850 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5851 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5852 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5853 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5854 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5855 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5856 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5857 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5858 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5859 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5860 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5861
27d3a1a2 58622010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5863
22454424
MS
5864 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5865 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5866
5867 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5868 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5869 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5870
889bf7c5 5871 * gdb.reverse/consecutive-reverse.exp:
22454424 5872 Replace uses of send_gdb / gdb_expect.
889bf7c5 5873 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5874 Replace uses of send_gdb / gdb_expect.
5875
5876 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5877 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5878 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5879 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5880 Replace uses of send_gdb / gdb_expect.
5881 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5882 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5883 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5884 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5885 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5886 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5887 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5888 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5889 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5890
58912010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5892
22454424 5893 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5894
22454424 5895 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5896
22454424
MS
5897 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5898 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5899 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5900 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5901 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5902 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5903 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5904 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5905 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5906
6e5f2c59
TT
59072010-05-25 Tom Tromey <tromey@redhat.com>
5908
5909 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5910
bbc8b958
TT
59112010-05-25 Tom Tromey <tromey@redhat.com>
5912
5913 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5914 argument order.
5915 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5916 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5917 order.
5918 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5919 order.
5920 * gdb.base/call-sc.exp (setup_kfails): Remove.
5921 (setup_compiler_kfails): Remove.
5922 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5923 argument order.
5924 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5925 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5926 (advancei): Fix setup_kfail argument order.
5927 * gdb.base/radix.exp: Fix setup_kfail argument order.
5928 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5929 order.
5930 * gdb.base/structs.exp (setup_kfails): Remove.
5931 (setup_compiler_kfails): Fix setup_kfail argument order.
5932 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5933 order.
5934 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5935 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5936 setup_kfail argument order.
5937 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5938
83d1babf
TT
59392010-05-25 Tom Tromey <tromey@redhat.com>
5940
5941 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5942
6acb16a2
MS
59432010-05-25 Michael Snyder <msnyder@vmware.com>
5944
5945 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5946 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5947 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5948 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5949 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5950 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5951 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5952 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5953 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5954 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5955 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5956 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5957 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5958 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5959 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5960 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5961 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5962 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5963 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5964 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5965 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5966 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5967 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5968 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5969 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5970 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5971 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5972 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5973 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5974 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5975 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5976 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5977 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5978 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5979 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5980 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5981 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5982 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5983 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5984 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5985 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5986 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5987 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5988 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5989 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5990 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5991 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5992 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5993
59942010-05-25 Doug Evans <dje@google.com>
5995
5996 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5997 gdb.string_to_argv.
ad3986f0 5998
d3b1e874
TT
59992010-05-21 Tom Tromey <tromey@redhat.com>
6000
6001 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6002 Call it.
6003 * gdb.dwarf2/pieces.S: Update.
6004 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6005
cb826367
TT
60062010-05-21 Tom Tromey <tromey@redhat.com>
6007
6008 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6009 Call it.
6010 * gdb.dwarf2/pieces.c (struct C): New.
6011 (f6): New function.
6012 * gdb.dwarf2/pieces.S: Replace.
6013
74de6778
TT
60142010-05-21 Tom Tromey <tromey@redhat.com>
6015
6016 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6017 Call it.
6018
afd74c5f
TT
60192010-05-21 Tom Tromey <tromey@redhat.com>
6020
6021 * gdb.dwarf2.pieces.exp: New file.
6022 * gdb.dwarf2.pieces.S: New file.
6023 * gdb.dwarf2.pieces.c: New file.
6024
a7b75dfd 60252010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6026 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6027
6028 * lib/gdb.exp (gdb_test_no_output): New function.
6029 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6030 when testing commands that should produce no output.
6031
c81c812a
JB
60322010-05-17 Joel Brobecker <brobecker@adacore.com>
6033
6034 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6035 parameter that we want to watch being a constant.
6036
0cce5bd9
JB
60372010-05-17 Joel Brobecker <brobecker@adacore.com>
6038
6039 * gdb.ada/cond_lang: New testcase.
6040
47050449
JB
60412010-05-17 Joel Brobecker <brobecker@adacore.com>
6042
6043 * lib/gdb.exp (banned_variables): New variable/constant.
6044 (gdb_init): Add write trace on variables listed in banned_variables.
6045 (gdb_finish): Remove write traces on variables listed in
6046 banned_variables.
6047
77c01586
JB
60482010-05-17 Joel Brobecker <brobecker@adacore.com>
6049
6050 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6051 * gdb.cp/koenig.exp: Likewise.
6052
88d4aea7
PM
60532010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6054
889bf7c5 6055 PR python/11482
88d4aea7
PM
6056
6057 * gdb.python/py-value.exp (test_value_hash): New function.
6058
f5a010c0
PM
60592010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6060
6061 PR exp/11530.
6062 * gdb.base/gdb11530.c: New file.
6063 * gdb.base/gdb11530.exp: New file.
6064
8ef4892f
JK
60652010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6066
6067 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6068 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6069
7322dca9
SW
60702010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6071
6072 * gdb.cp/koenig.exp: New test.
6073 * gdb.cp/koenig.cc: New test program.
6074
02e7ea18
JB
60752010-05-05 Joel Brobecker <brobecker@adacore.com>
6076
6077 Remove the use of prms_id and bug_id throughout the testsuite.
6078
e1c34c5d
PM
60792010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6080
6081 PR exp/11349.
6082 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6083 use a reference local variable.
6084
8e1d0c49
JK
60852010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6086
6087 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6088 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6089 variable different_dir. Move debugfile into a full directory pathname
6090 under DIFFERENT_DIR.
6091 * lib/gdb.exp (separate_debug_filename): Remove.
6092 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6093 variable debug_dir and mkdir of it. Update function comments.
6094
e66408ed
PA
60952010-04-29 Pedro Alves <pedro@codesourcery.com>
6096
6097 PR gdb/11557
6098
6099 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6100 files.
6101
d7b32ed3
PM
61022010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6103
889bf7c5 6104 * gdb.python/py-param.exp: New File.
d7b32ed3 6105
6aecb9c2
JB
61062010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6107
6108 * gdb.base/default.exp: Fix "set language" test.
6109
bdf92a1c
PM
61102010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6111
6112 PR breakpoints/11531.
6113 * gdb.base/gdb11531.c: New file.
6114 * gdb.base/gdb11531.exp: New file.
6115
3f172e24
TT
61162010-04-26 Tom Tromey <tromey@redhat.com>
6117
6118 * gdb.base/completion.exp: Add tests for completion and deprecated
6119 commands.
6120
64af4c92
JK
61212010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6124 (print /x char_array): Escape curly brackets.
6125
492928e4
JK
61262010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6127
6128 Fix deadlock on looped list of loaded shared objects.
6129 * gdb.base/solib-corrupted.exp: New.
6130
66d09542
DE
61312010-04-23 Doug Evans <dje@google.com>
6132
6133 * gdb.python/py-section-script.c: New file.
6134 * gdb.python/py-section-script.exp: New file.
6135 * gdb.python/py-section-script.py: New file.
6136
8bd10a10
CM
61372010-04-20 Chris Moller <cmoller@redhat.com>
6138
6139 PR 10179
6140
6141 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6142 * gdb.base/pr10179-a.c:
6143 * gdb.base/pr10179-b.c:
6144 * gdb.base/pr10179.exp: New files.
6145
c0201579
JK
61462010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6147
6148 Fix crashes on dangling display expressions.
6149 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6150 is SEP.
6151 (lib_flags): Remove the "debug" keyword.
6152 (libsepdebug): New variable for iterating new loop.
6153 (save_pf_prefix): New variable wrapping the loop.
6154 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6155 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6156
793b0ff8
PM
61572010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6158
6159 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6160
097f51f7
PM
61612010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6162
6163 PR stabs/11479.
6164 * gdb.stabs/gdb11479.exp: New file.
6165 * gdb.stabs/gdb11479.c: New file.
6166
9a22f0d0
PM
61672010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6168
6169 * gdb.base/charset.c (Strin16, String32): New variables.
6170 * gdb.base/charset.exp (gdb_test): Test correct display
6171 of 16 or 32 bit strings.
6172
61732010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6174
6175 PR 9167
6176 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6177 * gdb.cp/pr9167.cc: New file.
6178 * gdb.cp/pr9167.exp: New file.
6179
6180
6e354e5e
PM
61812010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6182
6183 PR pascal/11492.
6184 * gdb.pascal/gdb11492.pas: New file.
6185 * gdb.pascal/gdb11492.exp: New file.
6186
be942545
JB
61872010-04-20 Joel Brobecker <brobecker@adacore.com>
6188
1667e6e3 6189 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6190
0c3acc09
JB
61912010-04-20 Joel Brobecker <brobecker@adacore.com>
6192
6193 * gdb.ada/dyn_loc: New testcase.
6194
ec31cde5
CM
61952010-04-20 Chris Moller <cmoller@redhat.com>
6196
6197 PR 10867
889bf7c5 6198
ec31cde5
CM
6199 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6200 * gdb.cp/pr10687.cc: New file.
6201 * gdb.cp/pr10687.exp: New file.
6202
6203
ce4b0682
SDJ
62042010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6205 Sergio Durigan Junior <sergiodj@redhat.com>
6206
6207 * gdb.fortran/logical.exp: New testcase.
6208 * gdb.fortran/logical.f90: New file.
6209
3436961f
DE
62102010-04-19 Doug Evans <dje@google.com>
6211
6212 * gdb.base/help.exp (help source): Update expected output.
6213
4d836c09
JK
62142010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6215
6216 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6217 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6218 gdb_exit and return.
6219 (executable): New variable.
6220 (binfile): Use it.
6221
6149aea9
PA
62222010-04-19 Pedro Alves <pedro@codesourcery.com>
6223
6224 PR breakpoints/8554.
6225
6226 * gdb.trace/save-trace.exp: Adjust.
6227
ed41462c
L
62282010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 PR corefiles/11511
6231 * gdb.arch/system-gcore.exp: New.
6232 * gdb.arch/gcore.c: Likewise.
6233
3f7b2faa
DE
62342010-04-15 Doug Evans <dje@google.com>
6235
fa33c3cd
DE
6236 * gdb.python/py-progspace.c: New file.
6237 * gdb.python/py-progspace.exp: New file.
6238
3f7b2faa
DE
6239 * gdb.base/source.exp: Add tests for "source -s".
6240
79f283fe
PM
62412010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6242
6243 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6244 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6245 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6246 * gdb.python/py-mi.exp: New test for to_string returning None.
6247
fc8eb08a
PM
62482010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6249
6250 * gdb.python/py-breakpoint.c: Make result global.
6251
26e197f6
JK
62522010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6253
6254 Fix non-GNU make compatibility.
6255 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6256
adc36818
PM
62572010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6258
6259 * gdb.python/py-breakpoint.exp: New File.
6260 * gdb.python/py-breakpoint.C: Ditto.
6261
64e17368
SS
62622010-04-08 Stan Shebs <stan@codesourcery.com>
6263
6264 * gdb.trace/actions.exp: Clear default-collect.
6265 * gdb.trace/save-trace.exp: Clear default-collect.
6266
fff5cc64
PM
62672010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6268
6269 * gdb.python/py-value: Add null string variable.
6270 (test_lazy_string): Test zero length, NULL address lazy
6271 strings.
6272
a055a187
L
62732010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 * gdb.arch/i386-avx.c: New.
6276 * gdb.arch/i386-avx.exp: Likewise.
6277
6278 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6279
96e39866
DE
62802010-04-06 Doug Evans <dje@google.com>
6281
6282 * gdb.base/source-test.gdb: New file.
6283 * gdb.base/source.exp: Test source -v.
6284
5984a431
UW
62852010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6286
6287 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6288
ec8a089a
PM
62892010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6290
6291 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6292 within one line, unless it is followed by a double quote.
6293 * gdb.stabs/hppa.sed: Idem.
6294 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6295 * gdb.stabs/weird.exp: Check for correct parsing of
6296 char and string constants.
ec8a089a
PM
6297 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6298 in .stabs to .stabx substitution.
6299
fce3c1f0
SS
63002010-04-05 Stan Shebs <stan@codesourcery.com>
6301
6302 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6303 constant global.
6304 * gdb.trace/tfile.exp: Try to print them.
6305
d77f58be
SS
63062010-04-04 Stan Shebs <stan@codesourcery.com>
6307
6308 * gdb.base/completion.exp: Update for new "info watchpoints".
6309 * gdb.base/default.exp: Ditto.
6310 * gdb.base/help.exp: Ditto.
6311 * gdb.base/watchpoint.exp: Ditto.
6312 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6313
af54718e
SS
63142010-04-04 Stan Shebs <stan@codesourcery.com>
6315
6316 * gdb.trace/tfile.exp: Sharpen tfind test.
6317
74d1f91e
JK
63182010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6319
6320 * gdb.base/break-entry.exp: New.
6321
eb8e76db 63222010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6323 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6324
6325 * gdb.reverse/i386-sse-reverse.exp: New file.
6326 * gdb.reverse/i386-sse-reverse.c: New file.
6327
bf65cad8
PA
63282010-04-02 Pedro Alves <pedro@codesourcery.com>
6329
6330 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6331
fff87407
SS
63322010-04-01 Stan Shebs <stan@codesourcery.com>
6333
6334 * gdb.trace/actions.exp: Tweak expected output.
6335 * gdb.trace/while-stepping.exp: Tweak expected output.
6336
fe01d668
L
63372010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6340
86b17b60
PA
63412010-04-01 Pedro Alves <pedro@codesourcery.com>
6342
6343 * gdb.base/commands.exp: Adjust.
6344 * gdb.cp/extern-c.exp: Adjust.
6345
2c58c0a9
PA
63462010-04-01 Pedro Alves <pedro@codesourcery.com>
6347
6348 * gdb.trace/collection.c (local_test_func): Define a local struct,
6349 and instanciate it.
6350
0db9b91c
PA
63512010-04-01 Pedro Alves <pedro@codesourcery.com>
6352
6353 * gdb.trace/collection.exp (gdb_collect_args_test)
6354 (gdb_collect_argarray_test): XFAIL the tests that assume the
6355 argarray argument's elements are collected.
6356
8072405b
JK
63572010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6358
6359 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6360 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6361
8bf6485c
SS
63622010-03-31 Stan Shebs <stan@codesourcery.com>
6363
6364 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6365 and tracepoint conditionals.
6366 (gdb_verify_tracepoints): Delete unused return.
6367
fd7f724a
KS
63682010-03-26 Keith Seitz <keiths@redhat.com>
6369
6370 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6371 appear in the output before main.
6372 Remove KFAIL for gdb/2215 aka bz 9320.
6373
8d9e7719
DE
63742010-03-30 Doug Evans <dje@google.com>
6375
0906dd0b
DE
6376 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6377 by dejagnu.
6378 * gdb.arch/amd64-dword.exp: Ditto.
6379
8d9e7719
DE
6380 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6381 match.
6382 (break printf): Ditto.
6383
1da644f0
SW
63842010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6385
6386 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6387 gcc < 4.4.
6388 * gdb.cp/shadow.exp: Ditto.
6389
a8121990
PA
63902010-03-29 Pedro Alves <pedro@codesourcery.com>
6391
6392 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6393 "tstart" is silent.
6394
6e79d367
PA
63952010-03-29 Pedro Alves <pedro@codesourcery.com>
6396
6397 * gdb.trace/collection.exp (executable): New.
6398 (binfile): Use it.
6399 (fpreg, spreg, pcreg): New.
6400 (test_register): Use gdb_test_multiple. Pass /x to print.
6401 (prepare_for_trace_test): New.
6402 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6403 (gdb_collect_args_test, gdb_collect_argstruct_test)
6404 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6405 prepare_for_trace_test.
6406 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6407 fpreg, spreg and pcreg.
6408 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6409 prepare_for_trace_test.
6410 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6411 try to detect tracing support here. Don't set breakpoints at
6412 `begin' or `end' here.
6413 <global scope>: Use clean_restart. Run to main before checking
6414 for tracing support. Check for for tracing support here.
6415
09248348
JK
64162010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6419 " as $displacement" to "seen displacement message".
6420
d350db38
PA
64212010-03-28 Pedro Alves <pedro@codesourcery.com>
6422
6423 * gdb.trace/while-dyn.exp (executable): New variable.
6424 (binfile): Use it.
6425 (test_while_stepping): New function. Move most tests here. Call
6426 it once for each of the while-stepping, stepping and ws aliases.
6427
907af001
UW
64282010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6429
6430 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6431 that do not provide the tagless_struct type name at all.
6432 (test_print_anon_union): Do not check value of uninitialized
6433 union member. Do not use cp_test_ptype_class, so we can accept
6434 "long" as well as "long int".
6435
610197fd
PA
64362010-03-26 Pedro Alves <pedro@codesourcery.com>
6437
6438 * gdb.trace/tfile.c (tohex, bin2hex): New.
6439 (write_error_trace_file): Hexify error description.
6440
6c28cbf2
SS
64412010-03-25 Stan Shebs <stan@codesourcery.com>
6442
6443 * gdb.trace/tfile.c: Generate an additional trace file, improve
6444 portability.
6445 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6446 files in a better way.
6447
e62b8c7e
KS
64482010-03-25 Keith Seitz <keiths@redhat.com>
6449
6450 * gdb.java/jprint.exp: XFAIL printing of static class members
6451 because of GCC debuginfo problem.
6452
82ccf5a5
JK
64532010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6454
6455 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6456
293e2f9e
DJ
64572010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6458
6459 * gdb.base/completion.exp: Allow long instead of long int.
6460 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6461 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6462 variable p.
6463 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6464 * gdb.base/pointers.exp: Allow long instead of long int.
6465 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6466 * gdb.base/step-line.exp: Allow a directory before the source file name.
6467
95a42b64
TT
64682010-03-24 Tom Tromey <tromey@redhat.com>
6469
6470 PR breakpoints/9352:
6471 * gdb.base/default.exp: Update.
6472 * gdb.base/commands.exp: Update.
6473 * gdb.cp/extern-c.exp: Test setting commands on multiple
6474 breakpoints at once.
6475
2390201f
DJ
64762010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6477
6478 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6479 if gdb,nosignals.
6480 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6481 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6482 exited".
6483
8c9a6790
SS
64842010-03-24 Stan Shebs <stan@codesourcery.com>
6485
6486 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6487
a6c727b2
DJ
64882010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6489
6490 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6491 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6492 argument. Handle "short" and "long".
6493 (Top level): Pass overprototyped output for old_fptr and xptr.
6494
4dfd5423
PA
64952010-03-23 Pedro Alves <pedro@codesourcery.com>
6496
6497 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6498 format strings and add casts to avoid compiler warnings.
6499
65002010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6501
6502 * lib/trace-support.exp (gdb_trace_setactions):
6503 Don't expect whitespace after ">" prompt.
6504 * gdb.trace/actions.exp: Adjust for output changes.
6505 * gdb.trace/while-stepping.exp: Likewise.
6506
c847d045
JK
65072010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6510 and r157645).
6511
5f717f1d
JK
65122010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6513
6514 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6515 New.
6516
7d6d51d5
DJ
65172010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6518
6519 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6520 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6521
3b11a015
SS
65222010-03-19 Stan Shebs <stan@codesourcery.com>
6523
6524 * gdb.trace/ax.exp: New file.
6525
d7d158ed
DE
65262010-03-19 Doug Evans <dje@google.com>
6527
6bb85cd1
DE
6528 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6529 output from gcc.
6530
d7d158ed
DE
6531 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6532 named /usr/sbin/prelink<foo>.
6533
4daf5ac0
SS
65342010-03-18 Stan Shebs <stan@codesourcery.com>
6535
6536 * gdb.trace/circ.exp: Test circular-trace-buffer.
6537 * gdb.trace/tfile.exp: Update tstatus test.
6538
e8d05480
JB
65392010-03-18 Joel Brobecker <brobecker@adacore.com>
6540
6541 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6542 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6543
441b986a
UW
65442010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6545
6546 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6547
4247603b
PA
65482010-03-18 Pedro Alves <pedro@codesourcery.com>
6549
6550 * gdb.base/default.exp: Adjust the expected output of the finish
6551 and until commands when the inferior is not being run.
6552
13387711
SW
65532010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6554
6555 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6556 * gdb.cp/nsusing.exp: Ditto.
6557
6e31430b
TT
65582010-03-15 Tom Tromey <tromey@redhat.com>
6559
6560 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6561 * gdb.cp/userdef.cc (operator==): New function.
6562 (main): New locals mem1, mem2.
6563
e2d69cb5
JZ
65642010-03-15 Jie Zhang <jie@codesourcery.com>
6565
6566 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6567 Declare and use new loadtimeout variable.
6568
f572f0a9
DJ
65692010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6570
6571 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6572 Use gdb_load later.
6573
51f4c0b0
PA
65742010-03-14 Pedro Alves <pedro@codesourcery.com>
6575
6576 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6577 literal. Add missing endlines to prints to stderr.
6578
1c809c68
TT
65792010-03-12 Tom Tromey <tromey@redhat.com>
6580
6581 PR c++/9708:
6582 * gdb.cp/m-static.exp: Add regression test.
6583 * gdb.cp/m-static.cc (method): New method.
6584 (main): Call it.
6585
00ae8fef
SW
65862010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6587
6588 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6589 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6590
759f0f0b
PA
65912010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6592
21e24d21
PA
6593 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6594
65952010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6596
759f0f0b
PA
6597 * lib/gdb.exp (skip_stl_tests): New.
6598 (gdb_compile): Symbian needs -ldl.
6599 (shlib_target_file): New.
6600 (shlib_symbol_file): New.
6601 (gdb_load_shlibs): Use shlib_target_file.
6602 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6603 * gdb.cp/exception.exp: Use skip_stl_tests.
6604 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6605 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6606 * gdb.cp/mb-templates.exp: Ditto.
6607 * gdb.base/commands.exp: Relax regexes.
6608 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6609 shlib_target_file and shlib_symbol_file.
6610 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6611 sections.
6612 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6613 * gdb.base/solib-disc.exp: Use
6614 shlib_target_file and shlib_symbol_file.
6615 * gdb.base/unload.exp: Don't skip on symbian. Use
6616 shlib_target_file and shlib_symbol_file.
6617 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6618
6a8f2671 66192010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6620
6a8f2671
PA
6621 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6622 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6623 Issue a tfind end before looking for a tracepoint frame.
6624 * gdb.trace/tfind.exp: Adjust tstatus output.
6625 Adjust disassembly output.
6626 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6627
ccf26247
JK
66282010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6629
6630 * gdb.base/break-interp.exp: Create new displacement parameter value
6631 for the test_ld calls.
6632 (reach): New parameter displacement, verify its content. New push of
6633 pf_prefix "reach-$func:". Import global expect_out.
6634 (test_core): New parameter displacement, verify its content. New push
6635 of pf_prefix "core:". New command "set verbose on". Import global
6636 expect_out.
6637 (test_attach): New parameter displacement, verify its content. New
6638 push of pf_prefix "attach:". New command "set verbose on". Import
6639 global expect_out.
6640 (test_ld): New parameter displacement, pass it to the reach, test_core
6641 and test_attach calls and verify its content in the "ld.so exit" test.
6642 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6643 (prelink): Update expected text, use gdb_test.
6644
e469c7fb
DE
66452010-03-10 Doug Evans <dje@google.com>
6646
6647 * gdb.base/checkpoint.exp: Fix comment.
6648 Lengthen timeout while doing >600 checkpoints test.
6649 Rename duplicate "kill all one" test to keep test names unique.
6650
60e1c644
PA
66512010-03-10 Pedro Alves <pedro@codesourcery.com>
6652
6653 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6654
cec808ec
KS
66552010-03-08 Keith Seitz <keiths@redhat.com>
6656
889bf7c5
PA
6657 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6658 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6659 (dm_type_long): New function.
6660 (dm_type_unsigned_short): New function.
6661 (dm_type_unsigned_long): New function.
6662 (myint): New typedef.
6663 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6664 long, unsigned shor and long, operator char*, and typedef.
6665 (test_lookup_operator_functions): Add operator char* test.
6666 (test_paddr_operator_functions): Likewise.
6667 (test_paddr_overloaded_functions): Use probe values for
6668 short, long, and unsigned short and long.
6669 (test_paddr_hairy_functions): If the demangler probe detected
6670 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6671 demangler.
6672 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6673 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6674 and "print null_pmf".
6675 Add test "ptype a.*pmf".
6676 * gdb.cp/overload.exp: Allow optional "int" to appear with
6677 "short" and "long".
6678 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6679 long expect value for men_overload1arg.
6680 Allow "int" to appear with "short" and "long".
6681 When testing "info break", add argument for main (void).
6682 Also allow "int" to appear with "short" and "long".
6683 Ditto with "unsigned" and "long long".
cec808ec
KS
6684 * gdb.java/jmain.exp: Do not enclose methods names in single
6685 quotes.
6686 * gdb.java/jmisc.exp: Likewise.
6687 * gdb.java/jprint.exp: Likewise.
6688 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6689
6690 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6691 * gdb.cp/exception.exp (backtrace after first throw)
6692 (backtrace after second throw): Allow a namespace before __cxa_throw.
6693 (backtrace after first catch, backtrace after second catch): Allow
6694 a namespace before __cxa_begin_catch.
6695
6696 * gdb.cp/cpexprs.exp: New file.
6697 * gdb.cp/cpexprs.cc: New file.
6698
6699 From Daniel Jacobowitz <dan@codesourcery.com>
6700 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6701 to use string_to_regexp.
6702 (ctor, dtor): New functions. Use them to match constructor
6703 and destructor function types.
6704 (Top level): Use runto_main.
6705
f870a310
TT
67062010-03-05 Tom Tromey <tromey@redhat.com>
6707
6708 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6709 gdb.target_charset.
6710 (pp_ns.to_string): Likewise.
6711
0c199f28
KS
67122010-03-04 Keith Seitz <keiths@redhat.com>
6713
6714 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6715 can be quoted. Test that both the filename and function/line
6716 portions can be quoted at the same time.
6717
c7437ca6
PA
67182010-03-04 Pedro Alves <pedro@codesourcery.com>
6719
6720 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6721
b111b805
DE
67222010-03-03 Doug Evans <dje@google.com>
6723
24486cb7
DE
6724 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6725 libc contains libpthread.
6726
b111b805
DE
6727 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6728 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6729 of gdb_compile. Add another pattern to match android backtrace.
6730
a0e0ef55
TT
67312010-03-03 Tom Tromey <tromey@redhat.com>
6732
6733 PR gdb/11345:
6734 * gdb.base/printcmds.exp (test_printf): Add test.
6735
1ba53b71
L
67362010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6737
6738 * gdb.arch/amd64-byte.exp: New.
6739 * gdb.arch/amd64-dword.exp: Likewise.
6740 * gdb.arch/amd64-pseudo.c: Likewise.
6741 * gdb.arch/amd64-word.exp: Likewise.
6742 * gdb.arch/i386-byte.exp: Likewise.
6743 * gdb.arch/i386-pseudo.c: Likewise.
6744 * gdb.arch/i386-word.exp: Likewise.
6745
f5dff777
DJ
67462010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6747
6748 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6749 types. Add structreg, bitfields, and flags registers.
6750 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6751 registers.
6752
90884b2b
L
67532010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6756 (load_description): Set architecture if defined.
6757
dc00d89f
PM
67582010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6759
6760 * gdb.python/py-frame.exp: Add read_var block tests.
6761 * gdb.python/py-frame.c (block): New function.
6762
0e095b7e
JK
67632010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6764 Daniel Jacobowitz <dan@codesourcery.com>
6765
6766 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6767
624f1a65
DM
67682010-02-25 David S. Miller <davem@davemloft.net>
6769
6770 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6771 fix logic for setting all_syscalls_numbers.
6772
f3e9a817
PM
67732010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6774
6775 * Makefile.in: Add py-block and py-symbol.
6776 * gdb.python/py-symbol.exp: New File.
6777 * gdb.python/py-symtab.exp: New File.
6778 * gdb.python/py-block.exp: New File.
6779 * gdb.python/py-symbol.c: New File.
6780 * gdb.python/py-block.c: New File.
6781
f6bbabf0
PM
67822010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6783
6784 PR python/11314
6785 * lib/gdb.exp (skip_python_tests): New function.
6786 * gdb.python/py-cmd.exp: Use skip_python_tests.
6787 * gdb.python/py-frame.exp: Likewise.
6788 * gdb.python/py-function.exp: Likewise.
6789 * gdb.python/py-prettyprint.exp: Likewise.
6790 * gdb.python/py-template.exp: Likewise.
6791 * gdb.python/py-type.exp: Likewise.
6792 * gdb.python/py-value.exp: Likewise.
6793
85d721b8
PA
67942010-02-22 Pedro Alves <pedro@codesourcery.com>
6795
6796 PR9605
6797
6798 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6799
48e32051
TT
68002010-02-19 Tom Tromey <tromey@redhat.com>
6801
6802 PR c++/8693, PR c++/9496:
6803 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6804 regression tests.
6805
ac9c0048
JK
68062010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6807
6808 Fix compatibility with m68k as.
6809 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6810 Use only /* comments */.
6811
57bb97a4
UW
68122010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6813
6814 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6815 * configure: Regenerate.
6816
7d1bf85c
DJ
68172010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6818
6819 * gdb.python/py-type.exp: Check for Python support.
6820
061b5285
PA
68212010-02-17 Pedro Alves <pedro@codesourcery.com>
6822
6823 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6824 `regsub' syntax available.
6825
f8a8bc2c
PA
68262010-02-17 Pedro Alves <pedro@codesourcery.com>
6827
6828 * gdb.base/shmain.c (main): Remove printf call.
6829 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6830 * gdb.base/unload.c (main): Make format of fprintf a string
6831 literal. Add missing endlines to prints to stderr.
6832 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6833
6f451e5e
TT
68342010-02-17 Tom Tromey <tromey@redhat.com>
6835
6836 * gdb.java/jprint.java (jprint.props): New field.
6837 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6838
12d79008
PA
68392010-02-17 Pedro Alves <pedro@codesourcery.com>
6840
ef801a0e 6841 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6842 available.
6843
d252f7e5
DJ
68442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6845
6846 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6847 creation to support remote host testing.
6848
67bdab6c
DJ
68492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6850
6851 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6852 Recognize "command not found".
6853
bb391223
DJ
68542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6855
6856 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6857 single-stepping.
6858
70362913
DJ
68592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6860
6861 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6862 if arguments are not supported.
6863
493f3c00
DJ
68642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6865
6866 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6867 be const or non-const.
6868
8034c749
DJ
68692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6870
6871 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6872 mi_send_resuming_command to send -exec-continue.
6873
791dfb64
DJ
68742010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6875
6876 * gdb.base/list.exp (test_list_filename_and_function): Add test
6877 with single quotes.
6878 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6879 matching.
6880 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6881 Add KFAIL'd tests for PR gdb/11289.
6882
7c5fe868
DJ
68832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6884
6885 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6886
fdc498b8
DJ
68872010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6888
6889 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6890 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6891 a temporary directory.
6892
b519e2a6
DJ
68932010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6894
6895 * gdb.base/charset.exp: Use a single regular expression to match
6896 show host-charset and show target-charset output.
6897
74164c56
JK
68982010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6899
6900 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6901 "Illegal process-id" expect string more exact.
6902 (attach to digits-starting nonsense is prohibited): New.
6903
701ed6dc
JK
69042010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6905
6906 * gdb.base/prelink.exp (set verbose on): New.
6907
889bf7c5 69082010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6909
6910 * mi-reverse.exp: New file. Test for reverse option to the
6911 following MI commands: exec-continue, exec-finish, exec-next,
6912 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6913
dadf0e9c
JB
69142010-02-09 Joel Brobecker <brobecker@adacore.com>
6915
6916 * gdb.ada/ptype_tagged_param: New testcase.
6917
714f19d5
TT
69182010-02-08 Tom Tromey <tromey@redhat.com>
6919
6920 PR c++/8017:
6921 * gdb.cp/overload.exp: Add tests.
6922 * gdb.cp/overload.cc (struct K): New.
6923 (namespace N): New.
6924 (main): Call new functions.
6925 (K::staticoverload): Define.
6926
889bf7c5 69272010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6928
6929 PR gdb/10728
6930 * gdb.cp/pr10728-x.h: New file.
6931 * gdb.cp/pr10728-x.cc: New file.
6932 * gdb.cp/pr10728-y.cc: New file.
6933 * gdb.cp/pr10728.exp: New file.
6934 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6935
889bf7c5 69362010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6937
6938 PR gdb/9067
6939 * gdb.cp/pr9067.exp: New
6940 * gdb.cp/pr9067.cc: New
6941 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6942
7b356089
JB
69432010-02-08 Joel Brobecker <brobecker@adacore.com>
6944
6945 * lib/gdb.exp (gdb_test_timeout): New global variable.
6946 Set it to timeout if not already set.
6947 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6948
1be00882
DE
69492010-02-05 Doug Evans <dje@google.com>
6950
6951 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6952 user.
6953
82856980
SW
69542010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6955
6956 PR c++/7935:
6957 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6958
1a334831
TT
69592010-02-04 Tom Tromey <tromey@redhat.com>
6960
6961 * gdb.cp/virtbase.exp: Make test case names unique.
6962
9c3c02fd
TT
69632010-02-02 Tom Tromey <tromey@redhat.com>
6964
6965 * gdb.cp/virtbase.exp: Add regression tests.
6966 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6967 (main): Instantiate RHC.
6968
0cc2414c
TT
69692010-02-02 Tom Tromey <tromey@redhat.com>
6970
6971 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6972 type-printing change.
6973
edf3d5f3
TT
69742010-02-02 Tom Tromey <tromey@redhat.com>
6975
6976 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6977 * gdb.cp/virtbase.cc: New file.
6978 * gdb.cp/virtbase.exp: New file.
6979 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6980
e4b7f41c
JK
69812010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6982
6983 PR libc/11214:
6984 * gdb.threads/current-lwp-dead.c: Include features.h.
6985 (HAS_NOMMU): New.
6986 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6987
b381ea14
JK
69882010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6989
6990 * gdb.base/symbol-without-target_section.exp,
6991 gdb.base/symbol-without-target_section.c: New.
6992
c593ac0e
DJ
69932010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6994
6995 * gdb.base/bigcore.exp: Reset increased timeout.
6996 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6997
db25f29d
DJ
69982010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6999
7000 * gdb.base/gcore.exp (capture_command_output): Use
7001 gdb_test_multiple.
7002
f9d67f43
DJ
70032010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7004
7005 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7006 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7007 (Top level): Call it.
7008
177321bd
DJ
70092010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7010
7011 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7012
97f2ed50
DJ
70132010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7014
7015 * gdb.base/call-strs.exp, gdb.base/default.exp,
7016 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7017 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7018 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7019 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7020 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7021 * gdb.base/ending-run.exp: Correct restore of timeout.
7022 * gdb.base/page.exp: Remove unnecessary timeout setting.
7023
e4e2711a
JB
70242010-01-29 Joel Brobecker <brobecker@adacore.com>
7025
7026 * gdb.ada/rec_return: New testcase.
7027
ba581dc1
JB
70282010-01-29 Joel Brobecker <brobecker@adacore.com>
7029
7030 * gdb.ada/call_pn: New testcase.
7031
4ea95be9
DJ
70322010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7033
7034 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7035 (Top level): Use it to resume.
7036 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7037 the Thumb mode displaced stepping error as unsupported.
7038
df83a9bf
SW
70392010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7040
889bf7c5
PA
7041 * gdb.cp/nsusing.exp: Added more tests.
7042 * gdb.cp/nsrecurs.exp: Ditto.
7043 * gdb.cp/nsusing.cc: Added test functions.
7044 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7045
40b27cdc
JK
70462010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7047
7048 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7049 absolute directory pathnames in gdb.sum file.
7050
de958931
SW
70512010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7052
7053 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7054 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7055
708ead4e
TT
70562010-01-26 Tom Tromey <tromey@redhat.com>
7057
7058 PR exp/7643:
7059 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7060 setup_kfail.
7061
b14e635e
SW
70622010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7063
7064 * gdb.cp/nsrecurs.exp: New test.
7065 * gdb.cp/nsrecurs.cc: New test program.
7066 * gdb.cp/nsstress.exp: New test.
7067 * gdb.cp/nsstress.cc: New test program.
7068 * gdb.cp/nsdecl.exp: New test.
7069 * gdb.cp/nsdecl.cc: New test program.
7070
8540c487
SW
70712010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7072
7073 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7074 imported into file scope.
7075 Marked test as xfail.
7076 * gdb.cp/namespace-using.cc (marker5): New function.
7077 * gdb.cp/shadow.exp: New test.
7078 * gdb.cp/shadow.cc: New test program.
7079 * gdb.cp/nsimport.exp: New test.
7080 * gdb.cp/nsimport.cc: New test program.
7081
421d5d99
TT
70822010-01-25 Tom Tromey <tromey@redhat.com>
7083
7084 PR gdb/11049:
7085 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7086 with "set print null-stop on".
7087
691f8dc1
JK
70882010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7089
7090 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7091 Adjust it for DISASSEMBLY_OMIT_FNAME.
7092
0b92b5bb
TT
70932010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7094
7095 PR symtab/11199:
7096 * gdb.dwarf2/member-ptr-forwardref.exp,
7097 gdb.dwarf2/member-ptr-forwardref.S: New.
7098
23787403
JK
70992010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7102 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7103 thread1_tid_mutex. Remove gdbstop_mutex handling.
7104 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7105 thread2_tid_mutex. Remove gdbstop_mutex handling.
7106 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7107 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7108 pthread_cond_wait conditionalizations by while loops.
7109
b966cb8a
TT
71102010-01-20 Tom Tromey <tromey@redhat.com>
7111
7112 PR backtrace/10770:
7113 * gdb.dwarf2/pr10770.exp: New file.
7114 * gdb.dwarf2/pr10770.c: New file.
7115 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7116
fcae584b
VP
71172010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7118
7119 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7120 that target was removed, and the test always runs native anyway.
7121
a0f49112
JK
71222010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7123
7124 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7125 gdb.base/watchpoint-cond-gone-stripped.c: New.
7126
ceeb3d5a
TT
71272010-01-19 Tom Tromey <tromey@redhat.com>
7128
7129 PR c++/8000:
7130 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7131 existing tests.
7132 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7133 (main): Use AAA::SomeEnum.
7134
dd322c54
JK
71352010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7136
7137 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7138 (test_ignore_count): Declare line_callme_body global.
7139 (run to breakpoint with ignore count): Use line_callme_body.
7140 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7141 (set line_main_hello, set line_main_return): Reindent.
7142 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7143 New.
7144 (continue to callee4): Use line_callee4_body.
7145 (check *stopped from CLI command): Use line_callee4_next.
7146 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7147 (set line_main_hello, set line_main_return): Reindent.
7148 (set line_callee4_head, set line_callee4_body): New.
7149 (continue to callee4): Use line_callee4_body.
7150
4e8f195d
TT
71512010-01-18 Tom Tromey <tromey@redhat.com>
7152
7153 PR c++/9680:
7154 * gdb.cp/casts.cc: Add new classes and variables.
7155 * gdb.cp/casts.exp: Test new operators.
7156
9e14a9ba
JB
71572010-01-18 Tom Tromey <tromey@redhat.com>
7158 Thiago Jung Bauermann <bauerman@br.ibm.com>
7159
7160 * gdb.python/source2.py: New file.
7161 * gdb.python/source1: New file.
7162 * gdb.python/python.exp: Test "source" command.
7163
00bf0b85
SS
71642010-01-15 Stan Shebs <stan@codesourcery.com>
7165
7166 * gdb.trace/tfile.c: New file.
7167 * gdb.trace/tfile.exp: New file.
889bf7c5 7168
55235ad7
JK
71692010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7172
9f2982ff
JK
71732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7174
7175 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7176
bbfba9ed
JK
71772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7178
7179 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7180 (libfunc): New parameter action. Implement also selectable "sleep".
7181 * gdb.base/break-interp-main.c: Include assert.h.
7182 (libfunc): New parameter action.
7183 (main): New parameters argc and argv. Assert argc. Pass argv.
7184 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7185 (test_attach): New proc.
7186 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7187 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7188
61f0d762
JK
71892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * gdb.base/break-interp.exp (test_core): New proc.
7192 (test_ld): Call it.
7193
06a6f270
JK
71942010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
7196 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7197 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7198 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7199 and gdb_compile_shlib. Use new -Wl compiler options.
7200 (dl bt, main bt): New tests.
7201
51bee8e9
JK
72022010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7203
7204 Support PIEs with no symfile_objfile.
7205 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7206 (test_ld): New parameter trynosym.
7207 (test_ld <$trynosym>): New block.
7208
b8040f19
JK
72092010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7210
7211 * gdb.base/break-interp.exp: New file.
7212
be759fcf
PM
72132010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7214
7215 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7216 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7217 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7218 test.
7219 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7220 * gdb.python/py-mi.exp: Add lazy string test.
7221
dc146f7c
VP
72222010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7223
7224 * lib/mi-support.exp (mi_check_thread_states): Handle
7225 core number in thread listing.
7226
b4ba55a1
JB
72272010-01-12 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.base/maint.exp: Adjust the expected output for the
7230 "maint print type" test. Use gdb_test_multiple instead of
7231 gdb_sent/gdb_expect.
7232
08e24bd4
DE
72332010-01-11 Doug Evans <dje@google.com>
7234
6496a609
DE
7235 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7236 from gdbserver_download. All callers updated.
7237
08e24bd4
DE
7238 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7239
b5cfddf5
JK
72402010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 Implement binary numbers parsing.
7243 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7244 (test_integer_literals_rejected): New binary tests.
7245
3725885a
RW
72462010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7247
7248 * gdb.cell/configure: Regenerate.
7249
37aeb5df
JK
72502010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 * gdb.base/corefile.exp: Move the core finding block out and call it as
7253 core_find, new variable $corefile, replace corefile by $corefile and
7254 [file tail $corefile] for usage vs. test names resp.
7255 * lib/gdb.exp (core_find): Move it as a new function here. New
7256 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7257 $destcore. Return "" on error.
7258
d521f563
JK
72592010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7260
7261 Workaround PR binutils/10802.
7262 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7263 (twice).
7264
28f24826
DJ
72652010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7266
7267 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7268
2de75e71
JB
72692010-01-08 Joel Brobecker <brobecker@adacore.com>
7270
7271 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7272 call, to avoid interruption.
7273
fe00719b 72742010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7275
7276 * gdb.stabs/weird.def (args93): New.
7277
d0ef5df8
DE
72782010-01-07 Doug Evans <dje@google.com>
7279
7280 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7281
3a08d52f
TT
72822010-01-07 Tom Tromey <tromey@redhat.com>
7283
7284 * gdb.base/source.exp: Use correct line number.
7285
7a697b8d
SS
72862010-01-05 Stan Shebs <stan@codesourcery.com>
7287
7288 * gdb.trace/tracecmd.exp: Test ftrace.
7289
7803799a
UW
72902010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7291
7292 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7293
c54eabfa
JK
72942010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7295
7296 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7297 "uint_for_mi_testing".
7298
02e7ef19
JB
72992010-01-01 Joel Brobecker <brobecker@adacore.com>
7300
7301 Test indented comment in file being sourced.
7302 * gdb.base/commands.exp: Test indented comment in file being sourced.
7303
abd775ce
JB
73042010-01-01 Joel Brobecker <brobecker@adacore.com>
7305
7306 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7307 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7308 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7309 notice.
7310
79b55b82
JB
73112010-01-01 Joel Brobecker <brobecker@adacore.com>
7312
7313 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7314 notice.
7315
8997583e
JK
73162010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7317
7318 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7319 missing $after_stopped and comma (,) expectation.
7320
6da95a67
SS
73212009-12-31 Stan Shebs <stan@codesourcery.com>
7322
7323 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7324
218d2fc6
TJB
73252009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7326
7327 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7328 (top level): Call test_watchpoint_in_big_blob.
7329 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7330 watchpoints.
7331 (func3): Write to buf.
7332
236f1d4d
SS
73332009-12-29 Stan Shebs <stan@codesourcery.com>
7334
7335 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7336
f61e138d
SS
73372009-12-28 Stan Shebs <stan@codesourcery.com>
7338
7339 * gdb.trace/tsv.exp: New file.
7340 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7341
0219b378
DJ
73422009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7343
7344 * gdb.base/find.c (main): Reference search buffers.
7345 * gdb.base/included.c (main): Reference integer.
7346 * gdb.base/ptype.c (charfoo): Declare.
7347 (intfoo): Call charfoo.
7348 * gdb.base/scope0.c (useitp): New function.
7349 (usestatics): Use useitp.
7350 (useit): Add a type for val.
7351 * gdb.base/scope1.c (useit1): Take a pointer argument.
7352 (usestatics1): Update calls to useit1.
7353 * gdb.cp/call-c.cc: Declare foo.
7354 (main): Call foo.
7355 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7356 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7357 (main): Call C::ensureRefs and ensureOtherRefs.
7358 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7359 variables.
7360 (ensureOtherRefs): New function.
7361 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7362 * gdb.cp/templates.cc (main): Call t5i.value.
7363
3f78692f
JK
73642009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7365
7366 Fix compatibility with G++-4.5.
7367 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7368 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7369 (uncaught return): Remove.
7370
429374b8
JK
73712009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7372 Phil Muldoon <pmuldoon@redhat.com>
7373
7374 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7375 (bp_location13, bp_location14, bp_location17, bp_location18)
7376 (marker3_proto, marker4_proto): New variables.
7377 (breakpoint info): Update output.
7378 (run until breakpoint at marker3, run until breakpoint at marker4): New
7379 tests.
7380
859825b8
JK
73812009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7382
7383 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7384 Replace the printf call of Y by provided "y-set-1" label. New block
7385 for the second shared library.
7386 * gdb.base/unload.exp: Compile also the second library, call
7387 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7388 (single pending breakpoint info): Rename to ...
7389 (pending breakpoint info before run): ... this extended test.
7390 (libfile2, libname2, libsrcfile2, libsrc2)
7391 (lib_sl2): New variables.
7392 (exec_opts): Set also SHLIB_NAME2.
7393 (pending breakpoint info on first run at shrfunc1)
7394 (pending breakpoint info on second run at shrfunc1)
7395 (pending breakpoint info on second run at shrfunc2)
7396 (print y from libfile, print y from libfile2): New tests.
7397 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7398 * gdb.base/unloadshr2.c: New.
7399
e6a386cd
HZ
74002009-12-22 Hui Zhu <teawater@gmail.com>
7401
7402 * gdb.reverse/sigall-reverse.exp: Adjust.
7403
9e19b45e
VP
74042009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7405
7406 PR gdb/10884
7407
7408 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7409 (main): Call do_bitfield_tests.
aacf5b1e 7410 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7411
d53a7b30
JB
74122009-12-20 Joel Brobecker <brobecker@adacore.com>
7413
7414 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7415 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7416 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7417 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7418 gdb.modula2/unbounded1.c: Update copyright header.
7419
191ca0a1
CM
74202009-12-10 Chris Moller <moller@mollerware.com>
7421
7422 PR gdb/9399
7423 * gdb.cp/virtfunc2.exp: New tests
7424 * gdb.cp/virtfunc2.cc: New tests
7425 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7426
0fa6cf1b
MS
74272009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7428
7429 * gdb.reverse/i387-env-reverse.c: New file.
7430 * gdb.reverse/i387-env-reverse.exp: New file.
7431 * gdb.reverse/i387-stack-reverse.c: New file.
7432 * gdb.reverse/i387-stack-reverse.exp: New file.
7433
361ae042
PM
74342009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7435
7436 * gdb.python/py-type.exp (test_range): New test.
7437
bfd31e71
PM
74382009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7439
7440 PR python/10805
7441
7442 * gdb.python/py-type.exp: New file.
7443 * gdb.python/py-type.c: New file.
7444 * Makefile.in: Add py-type.
7445
57a1d736
TT
74462009-12-03 Tom Tromey <tromey@redhat.com>
7447
7448 * gdb.python/py-value.exp (test_parse_and_eval): New
7449 function.
7450
1f3b5d1b
PP
74512009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7452
7453 PR gdb/11022
7454
7455 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7456 * gdb.base/pr11022.c: New test.
7457
8b7dbdc9
JK
74582009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7459
7460 Fix spurious false FAILs.
7461 * gdb.base/structs.c (chartest): New.
7462 (main): Fill-in chartest.
7463 * gdb.base/structs.exp (anychar_re, first): New.
7464 (start_structs_test): Import global anychar_re and first.
7465 New gdb_test call "set print elements 300; ${testfile}"
7466 (start_structs_test <$first>): New block.
7467 (any): Import global anychar_re. New variable ac. Use ${ac}.
7468
6a53b2ec
JK
74692009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7470
7471 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7472
d7167b4c
JK
74732009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7476 Force $srcfile file.
7477 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7478
b1798462
UW
74792009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7480
7481 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7482 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7483 * gdb.threads/watchthreads-reorder.exp: Likewise.
7484
b6199126
DJ
74852009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7486
7487 PR gdb/8704
7488
7489 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7490 "if", and "thread". Correct matching in the previous test.
7491
b22a0510
DJ
74922009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7493
7494 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7495
930636d2
MS
74962009-11-23 Michael Snyder <msnyder@vmware.com>
7497
7498 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7499 * gdb.reverse-watch-precsave.exp: Ditto.
7500
21a0512e
PP
75012009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7502
7503 * gdb.asm/asm-source.exp: Adjust.
7504 * gdb.base/help.exp: Adjust.
889bf7c5 7505
fc30d5e0
PA
75062009-11-22 Pedro Alves <pedro@codesourcery.com>
7507
7508 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7509 (do_syscall_tests_without_xml): Set data-directory to
7510 /the/path/to/nowhere.
7511
f6bc2008
PA
75122009-11-21 Pedro Alves <pedro@codesourcery.com>
7513
7514 * gdb.threads/local-watch-wrong-thread.c,
7515 gdb.threads/local-watch-wrong-thread.exp: New files.
7516
8c2fb5de
PA
75172009-11-21 Pedro Alves <pedro@codesourcery.com>
7518
7519 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7520 assume new `regsub' syntax available.
7521
ebec9a0f
PA
75222009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7523
a79d3c27
JK
7524 * gdb.base/watchpoint-hw-hit-once.exp,
7525 gdb.base/watchpoint-hw-hit-once.c: New.
7526
75272009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 * gdb.threads/watchthreads-reorder.exp,
7530 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7531
276a961b
MK
75322009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7533
7534 * gdb.xml/tdesc-regs.exp: Use for m68k.
7535
4867c1fb
PA
75362009-11-15 Pedro Alves <pedro@codesourcery.com>
7537
7538 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7539
f6838f81
DJ
75402009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7541
7542 * lib/gdb.exp (current_target_name): New procedure.
7543 (gdb_wrapper_target): New variable.
7544 (gdb_wrapper_init): Set gdb_wrapper_target.
7545 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7546 wrapper.
7547
4ac4dd3f
DJ
75482009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7549
7550 * gdb.base/remote.exp: Delete the slowest load test.
7551 Do not load with fixed packet sizes.
7552
a7881759
DJ
75532009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7554
7555 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7556
97a5b505
DJ
75572009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7558
7559 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7560 srcfile when setting a breakpoint.
7561
d3e1fc54
DJ
75622009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7563
7564 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7565 macros.
7566
7cbcbded
DJ
75672009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7568
7569 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7570 to be in memory.
7571 * gdb.base/display.c (force_mem): New.
7572 (do_loops): Use it. Add breakpoint comments.
7573 (do_vars): Add a breakpoint comment.
7574 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7575 line numbers.
7576
bdea3a92
NF
75772009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7578
7579 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7580 instead of a bare "run".
7581
269f82e5
PP
75822009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7583
7584 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7585
a69b7d9d
DJ
75862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7587
7588 * lib/cell.exp (skip_cell_tests): Clean up test files before
7589 returning.
7590
b598bfda
DJ
75912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7592
7593 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7594 and the breakpoint menu. Do not call perror if a prompt is seen.
7595 Consume the following GDB prompt.
7596 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7597 * gdb.cp/namespace.exp: Use gdb_test.
7598 * gdb.cp/templates.exp: Use gdb_test.
7599 (test_template_breakpoints): Use gdb_test_multiple.
7600
87728fa0
DJ
76012009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7602
7603 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7604 (marker4): Reference values.
7605
b67c692f
DJ
76062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7607
7608 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7609 is missing.
7610
f0df251a
DJ
76112009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7612
7613 * gdb.base/break.c (need_malloc): New.
7614 * gdb.base/constvars.c (main): Reference crass and crisp.
7615 * gdb.base/gdb1821.c (main): Reference bar.
7616 * gdb.cp/gdb1355.cc (main): Reference s1.
7617 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7618 (main): Call them.
7619 * gdb.cp/hang2.cc (dummy2): Define.
7620 * gdb.cp/hang3.cc (dummy3): Define.
7621 * gdb.cp/m-data.cc (main): Reference shadow.
7622
bdf7534a
NF
76232009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7624 Nathan Froyd <froydnj@codesourcery.com>
7625
7626 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7627 remote host.
7628
f24fce77
NF
76292009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7630
7631 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7632 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7633 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7634 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7635 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7636 * gdb.dwarf2/dw2-producer.exp: Likewise.
7637 * gdb.dwarf2/mac-fileno.exp: Likewise.
7638 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7639 py-prettyprint.py to the remote host.
7640 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7641
40f0318e
KS
76422009-11-11 Keith Seitz <keiths@redhat.com>
7643
7644 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7645 use it instead of "Foo".
7646 * gdb.cp/classes.exp (do_tests): Add a test to access
7647 a method through a typedef'd class name.
7648
f3d9f7fb
NF
76492009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7650
7651 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7652 exponents.
7653 * gdb.base/pointers.exp: Likewise.
7654 * gdb.cp/ref-types.exp: Likewise.
7655
a4216f37
KS
76562009-11-11 Keith Seitz <keiths@redhat.com>
7657
7658 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7659 new[] and delete[].
7660 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7661 "void".
7662 (probe_demangler): Remove all single-quoting of
7663 method and variable names.
7664 (info_func_regexp): Remove the word "void" from any
7665 occurrence of "(void)".
7666 (print_addr_2): Remove all single-quoting of
7667 method names.
7668 (print_addr_2_kfail): Likewise.
7669 (print_addr): Single-quote C function names before
7670 passing to print_addr_2.
7671 (test_paddr_operator_functions): Remove single-quoting
7672 for method names.
7673 Add tests for operator new[] and operator delete[].
7674
9b14d7aa
JK
76752009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7678
85feb311
KS
76792009-11-09 Keith Seitz <keiths@redhat.com>
7680
7681 * gdb.cp/overload.exp: Add tests for resolving overloaded
7682 methods in expression parsing/evaluation.
7683
fa335448
DJ
76842009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7685
7686 * lib/gdb.exp (default_gdb_version): Use --version instead of
7687 --command.
7688
ec3c07fc
NS
76892009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7690
7691 * lib/gdb.exp (gdb_compile_test): New.
7692 (skip_ada_tests, skip_java_tests): New.
7693 (gdb_compile): Use gdb_compile_test for f77.
7694 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7695 * lib/java.exp (compile_java_from_source): Remove runtests check,
7696 use gdb_compile_test to record result.
7697 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7698 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7699 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7700 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7701 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7702 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7703 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7704 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7705 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7706 adjust gdb_compile invocations.
7707
b8b4e42b
JK
77082009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7709
7710 * Makefile.in (abs_builddir): New.
7711 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7712 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7713 `$(abs_builddir)/site.exp'.
7714
f8b7eaf3
DJ
77152009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7716
7717 * config/m68k-emc.exp, lib/emc-support.exp,
7718 gdb.trace/gdb_c_test.c: Delete.
7719 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7720 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7721 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7722 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7723 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7724 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7725 casing for m68k-*-elf.
7726
c4187697
NS
77272009-11-03 Pedro Alves <pedro@codesourcery.com>
7728
7729 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7730 * gdb.arch/i386-prologue.exp: Likewise.
7731 * gdb.arch/i386-unwind.exp: Likewise.
7732
db16b772
DJ
77332009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7734
7735 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7736
bcf71277
DJ
77372009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7738
7739 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7740
0105cee2
DJ
77412009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7742
7743 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7744
24ddea62
JK
77452009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7746
7747 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7748
287ccc17
JK
77492009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7750
7751 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7752 * gdb.base/sepdebug2.c: New file.
7753
08bca259 77542009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7755
7756 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7757 the modified warnings for catch syscall. Verify if GDB was compiled
7758 with support for lib expat, and choose which tests to run depending
7759 on this.
7760
5d4e2b76
VP
77612009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7762
7763 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7764 that composite commands are parsed OK. And also test
7765 that breakpoint commands do work.
7766
240e538a
MS
77672009-10-23 Michael Snyder <msnyder@vmware.com>
7768
7769 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7770 to allow for new disassembly style.
7771
9c419145
PP
77722009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7773
7774 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7775
02506ff1
MS
77762009-10-22 Michael Snyder <msnyder@vmware.com>
7777
7778 * gdb.reverse/break-precsave.exp: New test.
7779 * gdb.reverse/consecutive-precsave.exp: Ditto.
7780 * gdb.reverse/finish-precsave.exp: Ditto.
7781 * gdb.reverse/i386-precsave.exp: Ditto.
7782 * gdb.reverse/machinestate-precsave.exp: Ditto.
7783 * gdb.reverse/sigall-precsave.exp: Ditto.
7784 * gdb.reverse/solilb-precsave.exp: Ditto.
7785 * gdb.reverse/step-precsave.exp: Ditto.
7786 * gdb.reverse/until-precsave.exp: Ditto.
7787 * gdb.reverse/watch-precsave.exp: Ditto.
7788
4cf866a3
MS
77892009-10-22 Michael Snyder <msnyder@vmware.com>
7790
7791 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7792 for gdb_expect. Adjust one test's expect strings for the new
7793 format of disassemble.
7794 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7795 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7796 gdb_test_multiple.
7797 * gdb.reverse/step-reverse.exp: Delete 'return'.
7798 * gdb.reverse/until-reverse.exp: Delete blank lines.
7799 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7800
2b28d209
PP
78012009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7802
7803 * gdb.base/consecutive.exp: Adjust.
7804 * gdb.base/display.exp: Likewise.
7805 * gdb.base/pc-fp.exp: Likewise.
7806 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7807
33b9c32b
MS
78082009-10-19 Michael Snyder <msnyder@vmware.com>
7809
7810 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7811 * gdb.reverse/finish-reverse.c: Ditto.
7812 * gdb.reverse/sigall-reverse.c: Ditto.
7813 * gdb.reverse/solib-reverse.c: Ditto.
7814 * gdb.reverse/step-reverse.c: Ditto.
7815 * gdb.reverse/watch-reverse.c: Ditto.
7816
6c95b8df
PA
78172009-10-19 Pedro Alves <pedro@codesourcery.com>
7818 Stan Shebs <stan@codesourcery.com>
7819
7820 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7821 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7822 "Executing new program".
7823 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7824 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7825 left listed after having been killed.
7826 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7827 * gdb.base/maint.exp: Adjust test.
7828
7829 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7830 * gdb.multi/Makefile.in: New.
7831 * gdb.multi/base.exp: New.
7832 * gdb.multi/goodbye.c: New.
7833 * gdb.multi/hangout.c: New.
7834 * gdb.multi/hello.c: New.
7835 * gdb.multi/bkpt-multi-exec.c: New.
7836 * gdb.multi/bkpt-multi-exec.exp: New.
7837 * gdb.multi/crashme.c: New.
7838
279017b7
TG
78392009-10-13 Tristan Gingold <gingold@adacore.com>
7840
7841 * gdb.base/sepdebug.exp: Check debug info are found.
7842
0413d738
PA
78432009-10-08 Pedro Alves <pedro@codesourcery.com>
7844
7845 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7846 bits.
7847
c628eecc
JK
78482009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7849
7850 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7851
38af1bfe
JB
78522009-10-07 Joel Brobecker <brobecker@adacore.com>
7853
7854 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7855 of the comments.
7856
2b0adecd
PM
78572009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7858
7859 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7860 * gdb.base/annota3.exp: Idem.
7861 * gdb.base/maint.exp: Idem.
7862
8d417781
PM
78632009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7864
889bf7c5 7865 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7866 to default.
7867
bb61102d
PM
78682009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7869
889bf7c5 7870 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7871 mingw and cygwin targets.
7872
ace5c364
PM
78732009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7874 Pedro Alves <pedro@codesourcery.com>
7875
889bf7c5 7876 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7877 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7878
c2d494a0
PM
78792009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7880
e1b52ce2
PM
7881 * gdb.base/shr1.c: Use %p in format string.
7882 * gdb.base/unload.c: Avoid warning in fprintf.
7883 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7884
209f53f5
PM
78852009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7886
7887 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7888 long type.
7889 (test_unlink): Correct printf string.
7890 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7891 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7892
8172766a
JK
78932009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7894
7895 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7896 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7897 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7898
0f73703c
UW
78992009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7900
7901 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7902 * gdb.objc/nondebug.exp: Likewise.
7903
b32306ca
UW
79042009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7905
7906 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7907 target_info setting.
7908
7909 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7910 that detect new threads during "info threads".
7911
0057022f
UW
79122009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7913
7914 * gdb.threads/manythreads.c (main): Increase thread stack size
7915 to 2*PTHREAD_STACK_MIN.
7916 * gdb.threads/multi-create.c (main): Likewise.
7917 (create_function): Likewise.
7918
f29c0325
UW
79192009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7920
7921 * gdb.base/dump.exp: Pass difference of pointer types instead
7922 of integer types as offset to restore in intarr3.srec case.
7923
fcb34849
UW
79242009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7925
7926 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7927
d5142e3b
UW
79282009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7929
7930 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7931
087b74b2 79322009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7933
087b74b2
PM
7934 New test for two watchpoints, with disabling of
7935 the first inserted.
7936 * testsuite/gdb.base/watchpoints.c: New file.
7937 * testsuite/gdb.base/watchpoints.exp: New file.
7938
96c07c5b
TT
79392009-09-25 Tom Tromey <tromey@redhat.com>
7940
7941 * gdb.base/charset.exp: Test utf-16 strings with Python.
7942
b8899f2b
TT
79432009-09-25 Tom Tromey <tromey@redhat.com>
7944
7945 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7946 UCS-4.
7947 * gdb.base/charset.c (utf_32_string): Rename.
7948 (init_utf32): Rename.
7949 (main): Update.
7950
329719ec
TT
79512009-09-22 Tom Tromey <tromey@redhat.com>
7952
7953 * gdb.python/py-function.exp: Add regression tests.
7954
11ef0d76
KS
79552009-09-21 Keith Seitz <keiths@redhat.com>
7956
7957 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7958 with invalid operator.
7959
3fe8f3b3
KS
79602009-09-21 Keith Seitz <keiths@redhat.com>
7961
7962 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7963 and destructor using typedef name of class.
7964 * gdb.cp/classes.cc (class Base1): Add a destructor.
7965 (base1): New typedef.
7966 (use_methods): Instanitate an object of type base1.
7967 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7968 (do_tests): Call test_template_typedef.
7969 * gdb.cp/templates.cc (Baz::~Baz): New method.
7970 (intBazOne): New typedef.
7971 (main): Instantiate intBazOne.
7972
7a9fe101
PM
79732009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7974
7975 PR python/10633
7976
7977 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7978 Function.
7979 (run_lang_tests): Add print elements test.
7980
2e4d963f
PM
79812009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7982
7983 * gdb.python/py-value.exp (test_subscript_regression): New
7984 function. Test for invalid subscripts.
7985 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7986 (ptr_ref): New function.
7987
ec7e75e7
PP
79882009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7989
7990 * gdb.base/default.exp: Fix "show convenience".
7991
0cc7d26f
TT
79922009-09-15 Tom Tromey <tromey@redhat.com>
7993
7994 * lib/mi-support.exp (mi_create_varobj): Update.
7995 (mi_create_floating_varobj): Likewise.
7996 (mi_create_dynamic_varobj): New proc.
7997 (mi_varobj_update): Update.
7998 (mi_varobj_update_with_type_change): Likewise.
7999 (mi_varobj_update_kv_helper): New proc.
8000 (mi_varobj_update_dynamic_helper): Rewrite.
8001 (mi_varobj_update_dynamic): New proc.
8002 (mi_list_varobj_children): Update.
8003 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8004 * gdb.python/python-prettyprint.py (pp_outer): New class.
8005 (pp_nullstr): Likewise.
8006 (lookup_function): Register new printers.
8007 * gdb.python/python-prettyprint.c (struct substruct): New type.
8008 (struct outerstruct): Likewise.
8009 (substruct_test): New function.
8010 (struct nullstr): New type.
8011 (string_1, string_2): New globals.
8012 (main): Add new tests.
8013 * gdb.python/python-mi.exp: Added regression tests.
8014 * gdb.mi/mi2-var-display.exp: Update.
8015 * gdb.mi/mi2-var-cmd.exp: Update.
8016 * gdb.mi/mi2-var-child.exp: Update.
8017 * gdb.mi/mi2-var-block.exp: Update.
8018 * gdb.mi/mi-var-invalidate.exp: Update.
8019 * gdb.mi/mi-var-display.exp: Update.
8020 * gdb.mi/mi-var-cmd.exp: Update.
8021 * gdb.mi/mi-var-child.exp: Update.
8022 * gdb.mi/mi-var-block.exp: Update.
8023 * gdb.mi/mi-break.exp: Update.
8024 * gdb.mi/gdb701.exp: Update.
8025
a96d9b2e
SDJ
80262009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8027
8028 * Makefile.in: Inclusion of catch-syscall object.
8029 * gdb.base/catch-syscall.c: New file.
8030 * gdb.base/catch-syscall.exp: New file.
8031
b43b923a
MS
80322009-09-12 Michael Snyder <msnyder@vmware.com>
8033
8034 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8035 that can support reverse debuggnig.
8036
cec03d70
TT
80372009-09-11 Tom Tromey <tromey@redhat.com>
8038
8039 * gdb.dwarf2/valop.S: New file.
8040 * gdb.dwarf2/valop.exp: New file.
8041
e23bb3fc
MK
80422009-09-11 Mark Kettenis <kettenis@gnu.org>
8043
8044 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8045
37c3696d
DE
80462009-09-10 Doug Evans <dje@google.com>
8047
8048 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8049 Add $gdb_prompt to second breakpoint regexp.
8050
5172aecb
JB
80512009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8052
8053 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8054 names, add missing ones.
8055 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8056 * gdb.python/py-frame.c: Rename from python-frame.c.
8057 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8058 testfile name.
8059 * gdb.python/py-function.exp: Rename from python-function.exp.
8060 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8061 testfile name.
8062 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8063 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8064 Adjust testfile name.
8065 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8066 * gdb.python/py-template.cc: Rename from python-template.cc.
8067 * gdb.python/py-template.exp: Rename from python-template.exp.
8068 Adjust testfile name.
8069 * gdb.python/py-value.c: Rename from python-value.c.
8070 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8071 testfile name.
8072
b554e4bd
JK
80732009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8074
8075 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8076 $bpt2address.
8077 (Second breakpoint address is valid on ia64)
8078 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8079
9a68ae16
JM
80802009-09-03 Joseph Myers <joseph@codesourcery.com>
8081
8082 * gdb.base/ending-run.exp: Restrict regular expression matching
8083 line number to require closing brace following.
8084
146b9145
DE
80852009-09-03 Doug Evans <dje@google.com>
8086
8087 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8088
787d21e1
TT
80892009-09-02 Tom Tromey <tromey@redhat.com>
8090
8091 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8092
e7802207
TT
80932009-09-02 Tom Tromey <tromey@redhat.com>
8094
8095 * gdb.dwarf2/callframecfa.exp: New file.
8096 * gdb.dwarf2/callframecfa.S: New file.
8097
817aadd2
JK
80982009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8101 gdb.base/solib-overlap-main.c: New.
8102
4a76eae5
DJ
81032009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8104
8105 PR gdb/10565
8106
8107 * gdb.base/bitfields.c (struct container, container): New.
8108 (main): Initialize it and call break5.
8109 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8110
d4b96c9a
JK
81112009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8112
8113 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8114 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8115
4e22772d
JK
81162009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8117
8118 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8119
2efab443
MS
81202009-08-26 Michael Snyder <msnyder@vmware.com>
8121
8122 * gdb.base/i386-reverse.c: New file.
8123 * gdb.base/i386-reverse.exp: New file.
8124 * gdb.base/Makefile.in: Add new files to be removed.
8125
07ab73a0
JM
81262009-08-26 Joseph Myers <joseph@codesourcery.com>
8127
8128 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8129 environment-pwd for remote host.
8130 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8131
676accff
KS
81322009-08-24 Keith Seitz <keiths@redhat.com>
8133
8134 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8135 Add two new C++ completer tests which limit the output to a
889bf7c5 8136 given class.
676accff 8137
f9f7ad22
MS
81382009-08-24 Michael Snyder <msnyder@vmware.com>
8139
8140 * gdb.base/del.exp: Fix typo in comment.
8141 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8142
81ecdfbb
RW
81432009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8144
8145 * configure: Regenerate.
8146 * gdb.hp/configure: Likewise.
8147 * gdb.hp/gdb.aCC/configure: Likewise.
8148 * gdb.hp/gdb.base-hp/configure: Likewise.
8149 * gdb.hp/gdb.compat/configure: Likewise.
8150 * gdb.hp/gdb.defects/configure: Likewise.
8151 * gdb.hp/gdb.objdbg/configure: Likewise.
8152 * gdb.stabs/configure: Likewise.
8153
cab0c772
UW
81542009-08-19 Doug Evans <dje@google.com>
8155
8156 * gdb.base/gdbvars.c: New file.
8157 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8158
b8fa0bfa
PA
81592009-08-14 Pedro Alves <pedro@codesourcery.com>
8160
8161 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8162 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8163
b84aa90a
PA
81642009-08-13 Pedro Alves <pedro@codesourcery.com>
8165
8166 * gdb.base/default.exp: Adjust "set language test": it's now an
8167 enum command. Larger help string moved to "help set language".
8168 * gdb.base/help.exp: Adjust "help set language" expected output,
8169 now lists all known languages.
8170
0d8f9b2c
NF
81712009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8172
8173 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8174 all frame arguments.
8175 * gdb.arch/altivec-regs.exp: Likewise.
8176
bda180e0
TT
81772009-08-07 Tom Tromey <tromey@redhat.com>
8178
8179 * gdb.base/setshow.exp: Add tests for changes to set language, set
8180 check range, and set check type.
8181
48cb2d85
VP
81822009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8183
8184 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8185 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8186 Call it.
48cb2d85 8187
1ea34204
UW
81882009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8189
8190 * configure.ac: Run gdb.cell tests when appropriate.
8191 * configure: Regenerate.
8192 * lib/cell.exp: New file.
8193 * gdb.cell: New directory.
8194 * gdb.cell/configure.ac: New file.
8195 * gdb.cell/configure: New file.
8196 * gdb.cell/Makefile.in: New file.
8197 * gdb.cell/arch.exp: New file.
8198 * gdb.cell/break.c: New file.
8199 * gdb.cell/break.exp: New file.
8200 * gdb.cell/break-spu.c: New file.
8201 * gdb.cell/bt.c: New file.
8202 * gdb.cell/bt2-spu.c: New file.
8203 * gdb.cell/bt-spu.c: New file.
8204 * gdb.cell/bt.exp: New file.
8205 * gdb.cell/coremaker.c: New file.
8206 * gdb.cell/coremaker-spu.c: New file.
8207 * gdb.cell/core.exp: New file.
8208 * gdb.cell/gcore.exp: New file.
8209 * gdb.cell/data.c: New file.
8210 * gdb.cell/data.exp: New file.
8211 * gdb.cell/data-spu.c: New file.
8212 * gdb.cell/ea-cache.exp: New file.
8213 * gdb.cell/ea-cache.c: New file.
8214 * gdb.cell/ea-cache-spu.c: New file.
8215 * gdb.cell/ea-standalone.c: New file.
8216 * gdb.cell/ea-standalone.exp: New file.
8217 * gdb.cell/ea-test.c: New file.
8218 * gdb.cell/ea-test.exp: New file.
8219 * gdb.cell/f-regs.exp: New file.
8220 * gdb.cell/mem-access.c: New file.
8221 * gdb.cell/mem-access.exp: New file.
8222 * gdb.cell/mem-access-spu.c: New file.
8223 * gdb.cell/ptype.exp: New file.
8224 * gdb.cell/registers.exp: New file.
8225 * gdb.cell/size.c: New file.
8226 * gdb.cell/sizeof.exp: New file.
8227 * gdb.cell/size-spu.c: New file.
8228 * gdb.cell/solib.exp: New file.
8229 * gdb.cell/solib-symbol.exp: New file.
8230
85e747d2
UW
82312009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8232
8233 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8234
58d6951d
DJ
82352009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8236
8237 * gdb.base/float.exp: Handle VFP registers.
8238
6e0a4f15
MS
82392009-07-14 Michael Snyder <msnyder@vmware.com>
8240
dcd5da87
MS
8241 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8242 to bring gdb to the beginning of the calling line.
8243
6e0a4f15
MS
8244 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8245 confusing the i386 epilogue unwinder.
8246
782b2b07
SS
82472009-07-14 Stan Shebs <stan@codesourcery.com>
8248
8249 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8250
f662c3bc
MS
82512009-07-14 Michael Snyder <msnyder@vmware.com>
8252
8253 * gdb.reverse/step-reverse.exp (stepi into function call):
8254 Call instruction may not be first instruction in the line.
8255 (reverse stepi from a function call): Used wrong line number.
8256
8f313923
JK
82572009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8258
8259 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8260
4662c76e
JK
82612009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8262
8263 Fix gdb.base/macscp.exp when using custom inputrc.
8264 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8265 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8266 env(TERM) set.
8267 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8268 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8269
aa81e255
JK
82702009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8271
8272 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8273 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8274 Change the compilation target to match the testcase name.
8275 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8276 testcase name.
8277 * a2-run.exp: Use for setup prepare_for_testing. Change the
8278 compilation target to match the testcase name.
8279 * gdb.base/commands.exp: Likewise.
8280 * gdb.base/finish.exp: Likewise.
8281 * gdb.base/float.exp: Likewise.
8282 * gdb.base/info-target.exp: Likewise.
8283 * gdb.base/relational.exp: Likewise.
8284 * gdb.base/term.exp: Likewise.
8285 * gdb.base/until.exp: Likewise.
8286 * gdb.base/volatile.exp: Likewise.
8287 * gdb.base/whatis-exp.exp: Likewise.
8288
4c93b1d7
HZ
82892009-07-11 Hui Zhu <teawater@gmail.com>
8290
8291 * gdb.base/help.exp (disassemble): Update expected help text.
8292
812f7342
TT
82932009-07-09 Tom Tromey <tromey@redhat.com>
8294
8295 * lib/gdb.exp: Handle TRANSCRIPT.
8296 (remote_spawn, remote_close, send_gdb): New procs.
8297
fbb8f299
PM
82982009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8299
8300 * gdb.python/python-prettyprint.c: Add counted null string
8301 structure.
8302 * gdb.python/python-prettyprint.exp: Print null string. Test for
8303 embedded nulls.
8304 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8305 * gdb.python/python-value.exp (test_value_in_inferior): Add
8306 variable length string fetch tests.
8307 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8308
c0ac0ec7
JK
83092009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8312
30b66ecc
TT
83132009-07-07 Tom Tromey <tromey@redhat.com>
8314
8315 * gdb.base/call-rt-st.exp: Update for change to escape output.
8316 * gdb.base/callfuncs.exp: Likewise.
8317 * gdb.base/charset.exp: Likewise.
8318 * gdb.base/constvars.exp: Likewise.
8319 * gdb.base/long_long.exp: Likewise.
8320 * gdb.base/pointers.exp: Likewise.
8321 * gdb.base/printcmds.exp: Likewise.
8322 * gdb.base/setvar.exp: Likewise.
8323 * gdb.base/store.exp: Likewise.
8324 * gdb.cp/ref-types.exp: Likewise.
8325 * gdb.mi/mi-var-child.exp: Likewise.
8326 * gdb.mi/mi-var-display.exp: Likewise.
8327 * gdb.mi/mi2-var-display.exp: Likewise.
8328 * gdb.base/charset.exp: Test octal escape sequence length.
8329 Update for change to escape output.
8330
187c4a2b
JK
83312009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8332
8333 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8334
d80a43f9
DJ
83352009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8336
8337 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8338
047427a8
JK
83392009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8340
8341 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8342 gdbserver increasing $portnum if "Can't bind address" has been seen.
8343
8b5a0f4f
PA
83442009-07-05 Pedro Alves <pedro@codesourcery.com>
8345
8346 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8347 mingw32ce.
8348
7d93ba58
PA
83492009-07-05 Pedro Alves <pedro@codesourcery.com>
8350
8351 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8352 VFP format.
8353
2277426b
PA
83542009-07-02 Pedro Alves <pedro@codesourcery.com>
8355
8356 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8357 linux. Adjust to use "inferior", "info inferiors", "detach
8358 inferior" and "kill inferior" instead of "restart", "info fork",
8359 "detach fork" and "delete fork".
8360 * gdb.base/ending-run.exp: Spell out "info".
8361 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8362 the "kill" command.
8363
5af949e3
UW
83642009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8365
8366 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8367 change to prefix TLS offset in hex with 0x.
8368
5d3729b5
UW
83692009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8370
8371 * gdb.base/default.exp: Update test case for "x" changes.
8372
af589bd0
TG
83732009-07-01 Tristan Gingold <gingold@adacore.com>
8374
8375 * gdb.base/bigcore.exp: Make darwin untested.
8376
40974f91
JK
83772009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8378
8379 * gdb.base/completion.exp (directory completion): Create the directory.
8380 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8381 escapeuniquesub.
8382 (directory completion 2): Expect now ${escapeuniquesub}.
8383 (Glob remaining of directory test): Remove one excessive newline.
8384 Expect the real output.
8385
59dd3af6
JK
83862009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 Fix `make check//%' target after `make check' has been ran.
8389 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8390 a mkdir call.
8391 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8392 (%/.dir): Remove.
8393
f4e164aa
JK
83942009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8397 the expected result record.
8398
69af2122
JK
83992009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8400
8401 Remove racy FAILs relying just on the timeouts.
8402 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8403 (annotation_level 2): Remove racy FAILs.
8404
2fd481e1
PP
84052009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8406
8407 gdb/10275
889bf7c5
PA
8408 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8409
c38f313d
DJ
84102009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8411
8412 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8413
8b777f02
VP
84142009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8415
8416 * gdb.mi/mi-stack.exp: Testing symbolic options
8417 to -stack-list-locals and -stack-list-arguments.
8418
00c7eacf
JK
84192009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8420
8421 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8422
6bc80edc
TT
84232009-06-29 Tom Tromey <tromey@redhat.com>
8424
8425 * dg-extract-results.sh: New file.
8426 * Makefile.in (FORCE_PARALLEL): New variable.
8427 (CHECK_TARGET): New conditional variable.
8428 (check): Use CHECK_TARGET.
8429 (DO_RUNTEST): New variable.
8430 (check-single): New target.
8431 (TEST_DIRS): New variable.
8432 (TEST_TARGETS): Likewise.
8433 (check-parallel): New target.
8434 (check-gdb.%): New pattern.
8435 (BASE1_FILES): New variable.
8436 (BASE2_FILES): Likewise.
8437 (check-gdb.base%): New pattern.
8438 (%/.dir): New pattern.
8439 * configure: Rebuild.
8440 * aclocal.m4 (AM_CONDITIONAL): New defun.
8441 * configure.ac: Check whether user is using GNU make.
8442 (GMAKE): New conditional.
8443
794684b6
SW
84442009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8445
8446 * gdb.cp/namespace-nested-import.cc: New test.
8447 * gdb.cp/namespace-nested-import.exp: New test.
8448
edb3359d
DJ
84492009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8450
8451 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8452 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8453 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8454 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8455 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8456 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8457 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8458 gdb.opt/inline-markers.c: New files.
8459 * lib/gdb.exp (skip_inline_frame_tests): New function.
8460 (skip_inline_var_tests): New function.
8461
cf657a0c
AS
84622009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8463
8464 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8465 backtrace.
8466
28d41a99
MS
84672009-06-27 Michael Snyder <msnyder@vmware.com>
8468
8469 * gdb.reverse: New directory.
8470 * gdb.reverse/break-reverse.c: New test.
8471 * gdb.reverse/break-reverse.exp: New test.
8472 * gdb.reverse/consecutive-reverse.c: New test.
8473 * gdb.reverse/consecutive-reverse.exp: New test.
8474 * gdb.reverse/finish-reverse.c: New test.
8475 * gdb.reverse/finish-reverse.exp: New test.
8476 * gdb.reverse/machinestate.c: New test.
8477 * gdb.reverse/ms1.c: New test.
8478 * gdb.reverse/machinestate.exp: New test.
8479 * gdb.reverse/Makefile.in: New file.
8480 * gdb.reverse/shr2.c: New test.
8481 * gdb.reverse/solib-reverse.c: New test.
8482 * gdb.reverse/solib-reverse.exp: New test.
8483 * gdb.reverse/step-reverse.c: New test.
8484 * gdb.reverse/step-reverse.exp: New test.
8485 * gdb.reverse/until-reverse.c: New test.
8486 * gdb.reverse/ur1.c: New test.
8487 * gdb.reverse/until-reverse.exp: New test.
8488 * gdb.reverse/watch-reverse.c: New test.
8489 * gdb.reverse/watch-reverse.exp: New test.
8490 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8491 * configure: Regenerate.
8492
fe3c8b0d
DE
84932009-06-26 Doug Evans <dje@google.com>
8494
8495 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8496
3a72a602
PM
84972009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8498
8499 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8500 windows problem for 'file delete $binfile'.
8501
27aa8d6a
SW
85022009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8503
8504 * gdb.cp/namespace-using.exp: New test.
8505 * gdb.cp/namespace-using.cc: New test.
8506
8ac055f8
JB
85072009-05-20 Joel Brobecker <brobecker@adacore.com>
8508
8509 * gdb.ada/variant_record_packed_array: New testcase.
8510
85e306ed
TT
85112009-06-23 Tom Tromey <tromey@redhat.com>
8512
8513 * gdb.base/charset.exp (test_combination): Regression test.
8514 * gdb.base/charset.c (my_wchar_t): New typedef.
8515 (myvar): New global.
8516 (main): Set myvar.
8517
56643c5e
PM
85182009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8519
8520 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8521 target.
8522
1fac167a
UW
85232009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8524
8525 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8526
7ccb0be9
UW
85272009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8528
8529 * gdb.mi/gdb680.exp: Update test for error message.
8530
568d6575
UW
85312009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8532
8533 * gdb.base/annota1.exp: Allow multiple occurrences of the
8534 frames-invalid annotation.
8535 * gdb.cp/annota2.exp: Likewise.
8536
7cd1089b
PM
85372009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8538
8539 * gdb.cp/gdb2495.cc: New file.
8540 * gdb.cp/gdb2495.exp: New file.
8541
72c63395
JK
85422009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 Report error on GDB crash during runto.
8545 * lib/gdb.exp (runto <eof>): New.
8546
3788363d
DJ
85472009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8550 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8551 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8552 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8553 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8554 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8555 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8556 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8557 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8558 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8559 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8560 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8561 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8562 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8563 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8564 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8565 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8566 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8567 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8568 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8569 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8570 gdb.trace/passcount.exp, gdb.trace/report.exp,
8571 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8572 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8573 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8574 executable.
8575
17592de3
PA
85762009-06-07 Pedro Alves <pedro@codesourcery.com>
8577
8578 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8579 defined before referencing it.
8580
701e355d
DE
85812009-06-03 Doug Evans <dje@google.com>
8582
8583 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8584 * gdb.arch/i386-see.c: Ditto.
8585
f2292c65
PM
85862009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8587
8588 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8589 (check_macro): Return 1 if undefined.
8590 If first test fails, check if macro debug information is available,
8591 and report unsupported test if no macro information is found.
8592
5a437975
DE
85932009-05-29 Doug Evans <dje@google.com>
8594
8595 * gdb.threads/hand-call-in-threads.exp: New.
8596 * gdb.threads/hand-call-in-threads.c: New.
8597
c141c696
MS
85982009-05-29 Michael Snyder <msnyder@vmware.com>
8599
8600 * gdb.base/break-always.exp: Change "1" to "on".
8601 Add confirmation check.
8602
b3444185
PA
86032009-05-28 Pedro Alves <pedro@codesourcery.com>
8604
8605 * gdb.threads/threxit-hop-specific.c: New.
8606 * gdb.threads/threxit-hop-specific.exp: New.
8607 * gdb.threads/thread-execl.c: New.
8608 * gdb.threads/thread-execl.exp: New.
8609
b6313243
TT
86102009-05-27 Tom Tromey <tromey@redhat.com>
8611 Thiago Jung Bauermann <bauerman@br.ibm.com>
8612
8613 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8614 (mi_child_regexp): Likewise.
8615 (mi_list_varobj_children_range): Likewise.
8616 (mi_get_features): Likewise.
8617 (mi_list_varobj_children): Rewrite.
8618 * gdb.python/python-mi.exp: New file.
8619
a6bac58e
TT
86202009-05-27 Tom Tromey <tromey@redhat.com>
8621 Thiago Jung Bauermann <bauerman@br.ibm.com>
8622 Phil Muldoon <pmuldoon@redhat.com>
8623 Paul Pluzhnikov <ppluzhnikov@google.com>
8624
8625 * gdb.python/python-prettyprint.exp: New file.
8626 * gdb.python/python-prettyprint.c: New file.
8627 * gdb.python/python-prettyprint.py: New file.
8628 * gdb.base/display.exp: print/r is now valid.
8629
2c74e833
TT
86302009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8631 Tom Tromey <tromey@redhat.com>
8632 Pedro Alves <pedro@codesourcery.com>
8633 Paul Pluzhnikov <ppluzhnikov@google.com>
8634
8635 * gdb.python/python-template.exp: New file.
8636 * gdb.python/python-template.cc: New file.
8637 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8638 tests.
8639 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8640 Call it.
8641 (test_value_after_death): New proc.
8642 * gdb.python/python-value.c (PTR): New typedef.
8643 (main): New variable 'x'.
8644
89c73ade
TT
86452009-05-27 Tom Tromey <tromey@redhat.com>
8646
8647 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8648 tests.
8649 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8650 Call it.
8651
a75724bc
PA
86522009-05-27 Pedro Alves <pedro@codesourcery.com>
8653
8654 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8655
e58b0e63
PA
86562009-05-24 Pedro Alves <pedro@codesourcery.com>
8657
8658 * gdb.threads/fork-thread-pending.c: New.
8659 * gdb.threads/fork-thread-pending.exp: New.
8660
4ac36638
JK
86612009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8662
8663 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8664 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8665
889bf7c5 86662009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8667
889bf7c5 8668 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8669
b242c3c2
PA
86702009-05-17 Pedro Alves <pedro@codesourcery.com>
8671
8672 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8673 `gdb_get_line_number'. Call `callee' in both parent and child.
8674 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8675 `gdb_get_line_number' instead of hardcoding line numbers.
8676 (catch_fork_unpatch_child): New procedure to test detaching
8677 breakpoints from child fork.
8678 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8679 hardcoding line numbers.
8680 (do_fork_tests): Run `catch_fork_unpatch_child'.
8681
ee342b23
VP
86822009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8683
8684 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8685 of structure type enters or leaves the scope, it
8686 is reported by -var-update.
8687
e2009e98
DE
86882009-05-11 Doug Evans <dje@sebabeach.org>
8689
8690 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8691 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8692 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8693
00903456
JK
86942009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8695
8696 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8697
dc621c35
DE
86982009-04-30 Doug Evans <dje@google.com>
8699
8700 * gdb.threads/watchthreads2.exp: New testcase.
8701 * gdb.threads/watchthreads2.c: New testcase.
8702
9ab4e744
DE
87032009-04-29 Doug Evans <dje@google.com>
8704
8705 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8706 * gdb.cp/mb-ctor.cc: Ditto.
8707 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8708 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8709 * gdb.cp/mb-inline1.cc: Call it.
8710 * gdb.cp/mb-inline2.cc: Ditto.
8711 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8712 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8713
484086b7
JK
87142009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8715
8716 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8717 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8718 Replace all uses of `decimal' by `nonzero'.
8719 (info macro FROM_COMMANDLINE): New test.
8720
379a77b5
TT
87212009-04-27 Tom Tromey <tromey@redhat.com>
8722
8723 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8724
b92b73c2
DE
87252009-04-27 Doug Evans <dje@google.com>
8726
8727 * gdb.threads/watchthreads.c (main): Initialize args before starting
8728 the threads. Plus formatting cleanup.
8729 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8730 biased scheduling of one thread.
8731
945a118d
JG
87322009-04-27 Jerome Guitton <guitton@adacore.com>
8733
8734 * gdb.cp/templates.cc (GetMax): New template.
8735 (main): Declare two instances of GetMax.
8736 * gdb.cp/templates.exp: Add new test.
8737
d389af10
JK
87382009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8739
8740 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8741
e7f86de9
JM
87422009-04-22 Joseph Myers <joseph@codesourcery.com>
8743
8744 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8745
334cc82d
TT
87462009-04-15 Tom Tromey <tromey@redhat.com>
8747
8748 * gdb.base/charset.exp: Add regression test.
8749
d12672cc
JB
87502009-04-14 Joel Brobecker <brobecker@adacore.com>
8751
8752 * gdb.base/exe-lock.exp: New testcase.
8753
18e8c3bc
TT
87542009-04-13 Tom Tromey <tromey@redhat.com>
8755
8756 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8757 operator on Frame.
8758
5ecd5cbe
UW
87592009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8760
8761 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8762 * gdb.server/ext-attach.exp: Likewise.
8763
7309f756
VP
87642009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8765
8766 Eliminate some sleep usage.
8767
889bf7c5
PA
8768 * gdb.mi/basics.c (do_nothing): New.
8769 (main): Use do_nothing instead of printf, so that
8770 not to introduce race condition between output of
8771 inferiour and output of gdb. Do not use sleep as it
8772 is not generally available on embedded targets.
7309f756 8773
f4b95f6f
PA
87742009-04-02 Pedro Alves <pedro@codesourcery.com>
8775
8776 * gdb.server/ext-attach.exp: Expect an optional process id after
8777 "Detached from remote process".
8778
de40b933
JK
87792009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8780
8781 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8782 gdb.dwarf2/dw2-unresolved.exp: New.
8783
2ae101a4
PA
87842009-04-02 Pedro Alves <pedro@codesourcery.com>
8785
8786 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8787 mi_run_to_main.
8788
56a8e183
PA
87892009-04-02 Pedro Alves <pedro@codesourcery.com>
8790
8791 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8792 mi_run_to_main. Skip thread exit test on remote targets.
8793 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8794 mi_run_to_main.
8795 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8796 mi_run_to_main.
8797 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8798 when expecting ^connected. Detect when the target doesn't support
8799 non-stop mode.
8800 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8801 supported. Return -1 on error, 0 on success.
8802 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8803 (mi_runto): Return mi_runto_helper's result explicitly.
8804
c35fafde
PA
88052009-04-01 Pedro Alves <pedro@codesourcery.com>
8806
8807 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8808
f8a8dce6
JB
88092009-04-01 Tom Tromey <tromey@redhat.com>
8810
8811 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8812 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8813 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8814 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8815
71c25dea
TT
88162009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8817 Jan Kratochvil <jan.kratochvil@redhat.com>
8818
8819 PR gdb/931
8820 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8821 output.
8822 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8823 for gdb/931.
8824 * dw2-strp.S (DW_AT_language): Change to C++.
8825 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8826
02d9a9ce
JB
88272009-03-31 Joel Brobecker <brobecker@adacore.com>
8828
8829 * gdb.ada/tasks: New testcase.
8830
1042e4c0
SS
88312009-03-30 Stan Shebs <stan@codesourcery.com>
8832
8833 * gdb.trace/actions.exp: Update to match new info trace format.
8834 * gdb.trace/deltrace.exp: Ditto.
8835 * gdb.trace/infotrace.exp: Ditto.
8836 * gdb.trace/passcount.exp: Ditto.
8837 * gdb.trace/save-trace.exp: Ditto.
8838 * gdb.trace/while-stepping.exp: Ditto.
8839 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8840
f8f6f20b
TJB
88412009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8842
8843 * gdb.python/python-frame.c: New file.
8844 * gdb.python/python-frame.exp: New file.
8845
c0c6f777
TJB
88462009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8847
8848 * gdb.python/python-value.exp: Add tests for the address
8849 attribute.
8850
3cb51905
AS
88512009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8852
8853 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8854
88fc996f
DE
88552009-03-26 Doug Evans <dje@google.com>
8856
8857 * gdb.mi/mi-nonstop-exit.exp: New file.
8858 * gdb.mi/non-stop-exit.c: New file.
8859
56ef84b1
TT
88602009-03-26 Tom Tromey <tromey@redhat.com>
8861
8862 Update for change to prologue skipping:
8863 * gdb.mi/mi2-simplerun.exp: Update.
8864 * gdb.mi/mi2-break.exp: Update.
8865 * gdb.mi/mi-simplerun.exp: Update.
8866 * gdb.mi/mi-break.exp: Update.
8867 * gdb.base/ending-run.exp: Update.
8868
def2b000
TJB
88692009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8870
8871 * gdb.python/python-value.exp (test_value_in_inferior): Test
8872 gdb.Value.is_optimized_out attribute.
8873
442ddf59
JK
88742009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.dwarf2/dw2-noloc-main.c: New file.
8877 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8878 (.text): Remove.
8879 (.data): New.
8880 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8881 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8882 (DW_TAG_subprogram func_cu1, noloc): Remove.
8883 (main): New.
8884 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8885 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8886 (file_symbols): New procedure.
8887
a8df5de4
TT
88882009-03-25 Tom Tromey <tromey@redhat.com>
8889
8890 * gdb.base/charset.exp (valid_target_charset): New proc.
8891 Use it to skip tests on invalid charsets.
8892
cc1d7add
PM
88932009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8894
8895 * gdb.base/completion.exp: Add a test for directory completion.
8896
bcd5727b
JK
88972009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8898
8899 Fix a racy FAIL.
8900 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8901 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8902
cc924cad
TJB
89032009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8904
8905 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8906 * gdb.python/python-function.exp: Add test for function returning
8907 a GDB value.
8908
bc3b79fd
TJB
89092009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8910
8911 * gdb.python/python-function.exp: New file.
8912
6c7a06a3
TT
89132009-03-20 Tom Tromey <tromey@redhat.com>
8914
8915 * gdb.base/store.exp: Update for change to escape output.
8916 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8917 to escape output.
8918 * gdb.base/pointers.exp: Update for change to escape output.
8919 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8920 to escape output.
8921 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8922 escape output.
8923 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8924 to escape output.
8925 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8926 escape output.
8927 * gdb.base/setvar.exp: Update for change to escape output.
8928 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8929 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8930 to escape output.
8931 (test_print_string_constants): Likewise.
8932 * gdb.base/charset.exp (valid_host_charset): Check size of
8933 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8934 cases. Handle "auto"-related output.
8935 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8936 (uvar, Uvar): New globals.
8937
c31af87b
JG
89382009-03-19 Jerome Guitton <guitton@adacore.com>
8939
8940 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8941 deltas.
8942 * gdb.ada/fixed_points.exp: Ditto.
8943
51272cf2
PA
89442009-03-18 Pedro Alves <pedro@codesourcery.com>
8945
8946 * return-nodebug.c: Don't include stdio.h.
8947 (init): Delete.
8948 (func): Delete definition and provide extern declaration.
8949 (t): New.
8950 (main): Don't call printf. Call func and store its result in t.
8951 * return-nodebug1.c: New.
8952 * return-nodebug.exp: Don't expect stdio output. Instead, print
8953 the global variable t. Drop printf formatters and cast types from
8954 foreach loop. Don't use prepare_for_testing. Compile
8955 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8956 define FORMAT or CAST.
8957
d24948ac
PP
89582009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8959
8960 * gdb.base/solib-display.exp: Disable test for remote targers.
8961
61ff14c6
JK
89622009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8963
8964 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8965
cb4dce93
JK
89662009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8967
8968 Fix a racy FAIL.
8969 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8970 code from `follow parent, print pids'.
8971 (`follow child, print pids', `follow parent, print pids'): Call it.
8972 Replace `gdb_test "break..."' by gdb_breakpoint.
8973
f7c60c5e
VP
89742009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8975
8976 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8977 sync and async modes.
f7c60c5e 8978
383ace49
JB
89792009-03-12 Joel Brobecker <brobecker@adacore.com>
8980
8981 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8982 that was checked in by mistake. Remove loading of ada.exp, since
8983 this is not necessary in this case.
8984
4ce102af
JB
89852009-03-12 Joel Brobecker <brobecker@adacore.com>
8986
8987 * gdb.ada/ptype_arith_binop.exp: New testcase.
8988
529a2aef
JB
89892009-03-12 Joel Brobecker <brobecker@adacore.com>
8990
8991 * gdb.ada/mod_from_name: New testcase.
8992
8a38181c
JB
89932009-03-12 Joel Brobecker <brobecker@adacore.com>
8994
8995 * gdb.ada/tick_last_segv: New testcase.
8996
11436dee
VP
89972009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8998
61ff14c6 8999 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9000
1f31650a
VP
90012009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9002
61ff14c6
JK
9003 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9004 include the token in ^running and frame info in *stopped.
1f31650a 9005
a3247a22
PP
90062009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9007
9008 * solib-display.exp: New file.
9009 * solib-display-main.c: New file.
9010 * solib-display-lib.c: New file.
61ff14c6 9011
aae64587
PA
90122009-03-05 Pedro Alves <pedro@codesourcery.com>
9013
9014 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9015
44aabfbc
JK
90162009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9017
9018 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9019 (list_and_check_macro): Use more specific test name.
9020 (next to definition): Make the test names unique.
9021
c087fcd3
PM
90222009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9023
9024 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9025
c86cf029
VP
90262009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9027
9028 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9029 notifications.
9030 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9031 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9032 * lib/mi-support.exp (library_loaded_re): New.
9033 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9034
3ea85240
VP
90352009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9036
9037 * gdb.gdb/observer.exp: Use test_notification observer, not
9038 normal_stop, everywhere.
9039 (test_normal_stop_notifications): Rename to...
9040 (test_notifications): ...this.
9041 (test_observer_normal_stop): Rename to...
9042 (test_observer): ...this.
9043
1903f0e6
DE
90442009-02-16 Doug Evans <dje@google.com>
9045
9046 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9047 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9048 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9049 (test_prefixed_syscall,test_int3): New tests.
9050 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9051 (test_prefixed_syscall,test_int3): New tests.
9052
1d33d6ba
VP
90532009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9054
3cb51905
AS
9055 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9056 (mi_expect_interrupt): Likewise.
9057 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9058 response.
1d33d6ba 9059
faafb047
PM
90602009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9061
9062 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9063 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9064 Replace calls to get_valueofx by get_hexadecimal_valueof.
9065
417e16e2
PM
90662009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9067
9068 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9069 (get_integer_valueof): New procedure.
9070 (get_sizeof): Use new get_integer_value_of.
9071 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9072 by get_integer_valueof.
9073
7065b901
TT
90742009-02-13 Tom Tromey <tromey@redhat.com>
9075
9076 * gdb.base/remote.exp (get_sizeof): Remove.
9077 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9078 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9079 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9080 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9081 (get_sizeof): Likewise.
9082
5d7cb8df
JK
90832009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9084
9085 PR fortran/9806
9086 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9087
b2febfff
PP
90882009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9089
9090 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9091
4aa995e1
PA
90922009-02-06 Pedro Alves <pedro@codesourcery.com>
9093
9094 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9095
d8906c6f
TJB
90962009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9097
9098 * gdb.python/python-cmd.exp: New file.
9099
ff4ab08d
TG
91002009-02-06 Tristan Gingold <gingold@adacore.com>
9101
9102 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9103
aacd552b
TG
91042009-02-05 Tristan Gingold <gingold@adacore.com>
9105
9106 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9107 pointer is dereferenced and use this signal name in regexp.
9108 * gdb.base/signull.exp: Ditto.
9109 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9110 * gdb.base/signull.c (main): Ditto.
9111
08c637de
TJB
91122009-02-04 Tom Tromey <tromey@redhat.com>
9113 Thiago Jung Bauermann <bauerman@br.ibm.com>
9114
9115 * gdb.python/python-value.exp: Use `gdb.history' instead of
9116 `gdb.value_from_history'.
9117 (test_value_numeric_ops): Add test for conversion of enum constant.
9118 * gdb.python/python-value.c (enum e): New type.
9119 (evalue): New global.
9120 (main): Use argv.
9121
20261af8
JG
91222009-02-04 Jerome Guitton <guitton@adacore.com>
9123
9124 * gdb.ada/uninitialized_vars: New test program.
9125 * gdb.ada/uninitialized_vars.exp: New testcase.
9126
52e44b43
TT
91272009-02-02 Tom Tromey <tromey@redhat.com>
9128
9129 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9130 * gdb.cp/pr2489.cc: Rename...
9131 * gdb.cp/pr9594.cc: ... to this.
9132
1c71341a
TT
91332009-02-02 Tom Tromey <tromey@redhat.com>
9134
9135 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9136 * gdb.cp/pr2489.cc: New file.
9137 * gdb.cp/cpcompletion.exp: New file.
9138
a4295225
TT
91392009-02-02 Tom Tromey <tromey@redhat.com>
9140
9141 PR exp/9059:
9142 * gdb.cp/call-c.exp: Add regression test.
9143 * gdb.cp/call-c.cc (FooHandle): New typedef.
9144 (main): New variable 'handle'.
9145
592375cd
VP
91462009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9147
9148 * lib/mi-support.exp (et_mi_thread_list)
9149 (check_mi_and_console_threads): Adjust for current thread in
9150 -thread-list-ids output.
9151
41447f92
VP
91522009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9153
889bf7c5
PA
9154 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9155 Call it.
41447f92 9156
35669430
DE
91572009-01-28 Doug Evans <dje@google.com>
9158
9159 * gdb.arch/amd64-disp-step.S: New file.
9160 * gdb.arch/amd64-disp-step.exp: New file.
9161 * gdb.arch/i386-disp-step.S: New file.
9162 * gdb.arch/i386-disp-step.exp: New file.
9163
09f00d9a
PM
91642009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9165
9166 * gdb.base/find.exp: Set newline variable
9167 using quotes instead of braces to fix cygwin failures.
9168
1e8fb976
PA
91692009-01-23 Pedro Alves <pedro@codesourcery.com>
9170
9171 * gdb.base/radix.exp: Add tests to ensure that that set
9172 input-radix 0 and set output-radix 0 are really rejected.
9173
da061712
PA
91742009-01-23 Pedro Alves <pedro@codesourcery.com>
9175
9176 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9177 copyright years.
9178
dd7e2d2b
PA
91792009-01-23 Pedro Alves <pedro@codesourcery.com>
9180
9181 PR gdb/9664:
9182 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9183
392452f6
PA
91842009-01-22 Pedro Alves <pedro@codesourcery.com>
9185
9186 PR c++/9631:
9187 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9188
8653e71c
PM
91892009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9190
9191 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9192 binfile definition to fix Windows OS failure.
9193
a12cc160
DJ
91942009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9195
9196 PR gdb/9346
9197 * gdb.base/interrupt.c (sigint_handler): New.
9198 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9199 on error.
9200 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9201 Test "signal SIGINT".
9202
b89667eb
DE
92032009-01-19 Doug Evans <dje@google.com>
9204
9205 * gdb.base/break.exp: Update expected gdb output.
9206 * gdb.base/sepdebug.exp: Ditto.
9207 * gdb.mi/mi-syn-frame.exp: Ditto.
9208 * gdb.mi/mi2-syn-frame.exp: Ditto.
9209 * gdb.base/call-signal-resume.exp: New file.
9210 * gdb.base/call-signals.c: New file.
9211 * gdb.base/unwindonsignal.exp: New file.
9212 * gdb.base/unwindonsignal.c: New file.
9213 * gdb.threads/interrupted-hand-call.exp: New file.
9214 * gdb.threads/interrupted-hand-call.c: New file.
9215 * gdb.threads/thread-unwindonsignal.exp: New file.
9216
adb483fe
DJ
92172009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9218
9219 * gdb.base/define.exp: Test defining and hooking prefix commands.
9220 * gdb.python/python.exp: Update test for "show user" output.
9221
60023297
JK
92222009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9223
9224 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9225 now the output exactly, using less wildcards. Expect also the output
9226 of gfortran-4.3. Update for the f-valprint.c modification from
9227 2008-04-22.
9228 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9229 Remove gdb_test test names where matching the command.
9230
ccc57cf9
PA
92312009-01-01 Pedro Alves <pedro@codesourcery.com>
9232
9233 PR breakpoints/9681:
9234 * gdb.base/watchpoint.exp: Add regression test.
9235
c7a6ca08
PA
92362008-12-31 Pedro Alves <pedro@codesourcery.com>
9237
9238 * gdb.threads/attach-into-signal.exp: Don't use
9239 gdb_suppress_entire_file.
9240 * gdb.threads/attach-stopped.exp: Ditto.
9241 * gdb.threads/attachstop-mt.exp: Ditto.
9242
3a031f65
PA
92432008-12-31 Pedro Alves <pedro@codesourcery.com>
9244
9245 PR gdb/8812:
9246 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9247
09e6485f
PA
92482008-12-29 Pedro Alves <pedro@codesourcery.com>
9249
9250 PR gdb/7536:
9251 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9252 and unsupported output radices are really rejected.
9253
0cd53049
JK
92542008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9255
9256 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9257
ba163c7e
TT
92582008-12-22 Tom Tromey <tromey@redhat.com>
9259
9260 * gdb.cp/punctuator.exp: New file.
9261
6f4de6c9
JK
92622008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9263
9264 * gdb.base/completion.exp (Completing non-existing component): New test.
9265
0f34d0b4
JK
92662008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9267
9268 Fix for PR gdb/8648.
9269 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9270 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9271 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9272 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9273
db2ad4c3
JK
92742008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9275
9276 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9277
bb5ef15e
DP
92782008-12-16 Christophe Lyon <christophe.lyon@st.com>
9279
9280 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9281 compiler actually generate code at the expected line number.
9282
90142adc
JZ
92832008-12-15 Jie Zhang <jie.zhang@analog.com>
9284
9285 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9286
fad6eecd
TT
92872008-12-12 Tom Tromey <tromey@redhat.com>
9288
9289 * gdb.base/commands.exp (redefine_hook_test): New proc.
9290 Call it.
9291
17c8aaf5
TT
92922008-12-11 Tom Tromey <tromey@redhat.com>
9293
9294 * gdb.base/macscp.exp: New regression test.
9295
7c8adf68
TT
92962008-12-11 Tom Tromey <tromey@redhat.com>
9297
9298 * gdb.base/macscp.exp: Print "address.addr".
9299 * gdb.base/macscp1.c (struct outer): New struct.
9300 (address): New global.
9301
b05dcbb7
TT
93022008-12-09 Tom Tromey <tromey@redhat.com>
9303
9304 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9305 Call it.
9306
2d476de1
DE
93072008-12-04 Doug Evans <dje@google.com>
9308
9309 * gdb.server/ext-run.exp: Relax regexp for init program.
9310
87bdc959
TG
93112008-12-03 Tristan Gingold <gingold@adacore.com>
9312
9313 * gdb.base/macscp.exp: Generate an object file during compilation
9314 to work around Darwin dsymutil limitations.
9315
e0740f77
JK
93162008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9317
9318 Test resolving external references to TLS variables.
9319 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9320 FILE2_THREAD_LOCAL.
9321 (testfile2, srcfile2): New variables.
9322 * gdb.threads/tls.c (file2_thread_local)
9323 (function_referencing_file2_thread_local): New.
9324 * gdb.threads/tls2.c: New file.
9325
67f0aac5
JB
93262008-11-28 Joel Brobecker <brobecker@adacore.com>
9327
9328 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9329 rather than integer, as integer might not be big enough when
9330 on 64bit targets.
67f0aac5 9331
c332165e
JG
93322008-11-27 Jerome Guitton <guitton@adacore.com>
9333
9334 * gdb.cp/formatted-ref.exp: Add equality test.
9335 * gdb.ada/formatted_ref.exp: Ditto.
9336
fc9b693c
JK
93372008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9338
9339 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9340 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9341
a9c64011
AS
93422008-11-20 Andreas Schwab <schwab@suse.de>
9343
9344 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9345 matching syscall entry point.
9346 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9347 (tcatch_vfork_then_child_follow): Likewise. Finish through
9348 vfork even if we stopped at the syscall trampoline.
9349
e2fd701e
DE
93502008-11-20 Doug Evans <dje@google.com>
9351
9352 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9353
69abc51c
TJB
93542008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9355
9356 * gdb.arch/ppc-dfp.exp: New file.
9357 * gdb.arch/ppc-dfp.c: New file.
9358
c14c28ba
PP
93592008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9360
9361 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9362
2e74121d
DE
93632008-11-17 Doug Evans <dje@google.com>
9364
9365 * gdb.mi/mi-syn-frame.exp: Update expected output.
9366 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9367
66bb093b
VP
93682008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9369
9370 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9371 "thread N" results in =thread-selected.
9372 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9373 (mi_send_resuming_command_raw): Be prepared for
9374 =thread-selected.
9375
3d043ef6
VP
93762008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9377
a9c64011
AS
9378 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9379 * lib/mi-support.exp: Likewise.
3d043ef6 9380
808104c8
JB
93812008-11-16 Joel Brobecker <brobecker@adacore.com>
9382
9383 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9384 commands from the expected output for "help catch".
9385
00b22944
JB
93862008-11-15 Joel Brobecker <brobecker@adacore.com>
9387
9388 * gdb.ada/int_deref.exp: New testcase.
9389
59669435
TT
93902008-11-14 Nick Roberts <nickrob@snap.net.nz>
9391
9392 * gdb.mi/gdb2549.exp: New file.
9393
de04a248
DE
93942008-11-11 Doug Evans <dje@google.com>
9395
9396 * gdb.base/callexit.exp: New file.
9397 * gdb.base/callexit.c: New file.
9398
6b8ce727
DE
93992008-11-10 Doug Evans <dje@google.com>
9400
9401 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9402 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9403 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9404 (default_gdb_start,default_gdb_exit): Ditto.
9405 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9406 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9407 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9408 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9409 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9410 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9411
1b14b8aa
AS
94122008-11-03 Andreas Schwab <schwab@suse.de>
9413
9414 * gdb.base/hashline2.exp: Fix typo.
9415 * gdb.base/hashline3.exp: Likewise.
9416
f3134b88
TT
94172008-10-30 Tom Tromey <tromey@redhat.com>
9418
9419 * gdb.base/pointers.exp: Add test.
9420 * gdb.base/pointers.c (k, S): New typedefs.
9421 (instance): New global.
9422
c2226152
AS
94232008-10-30 Andreas Schwab <schwab@suse.de>
9424
9425 * gdb.base/args.exp: Add tests for newlines.
9426
462f405c
JB
94272008-10-30 Joel Brobecker <brobecker@adacore.com>
9428
9429 gdb.base/foll-exec.exp: Update the expected output of a couple
9430 of "info breakpoints" tests.
9431
79a45b7d
TT
94322008-10-28 Tom Tromey <tromey@redhat.com>
9433
9434 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9435
adc13a14
PA
94362008-10-24 Pedro Alves <pedro@codesourcery.com>
9437
9438 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9439 gdb_start_cmd.
9440 Use runto_main before any test that requires execution.
9441
252fbfc8
PA
94422008-10-23 Pedro Alves <pedro@codesourcery.com>
9443
9444 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9445 instead of SIGINT.
9446
28148e3d
JB
94472008-10-22 Joel Brobecker <brobecker@adacore.com>
9448
9449 * gdb.base/completion.exp: Update expected output following
9450 the addition of the "info tasks" command.
9451
c209f847
TT
94522008-10-22 Tom Tromey <tromey@redhat.com>
9453
9454 * gdb.base/exprs.exp (test_expr): Add test for string
9455 concatenation.
9456
f177e350
PA
94572008-10-19 Pedro Alves <pedro@codesourcery.com>
9458
9459 * configure.ac: Output gdb.python/Makefile.
9460 * configure: Regenerate.
9461 * gdb.python/Makefile.in: New.
9462
cce89356
JB
94632008-10-16 Joel Brobecker <brobecker@adacore.com>
9464
9465 * gdb.base/foll-fork.exp: Adjust the expected output to match
9466 the new description for fork/vfork catchpoints in the "info
9467 breakpoints" output.
9468
176d289d
TJB
94692008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9470
9471 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9472
a08702d6
TJB
94732008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9474
9475 * gdb.python/python-value.c: New file.
9476 * gdb.python/python-value.exp: New file.
9477
1c5cfe86
PA
94782008-10-15 Pedro Alves <pedro@codesourcery.com>
9479
9480 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9481
5a98ad69
DP
94822008-10-15 Denis Pilat <denis.pilat@st.com>
9483
41702f1b 9484 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9485
dcb1a1e2
TT
94862008-10-09 Tom Tromey <tromey@redhat.com>
9487
9488 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9489 'fprintf' and 'stderr'.
9490
9124fe48
JB
94912008-10-07 Joel Brobecker <brobecker@adacore.com>
9492
9493 * gdb.ada/ref_tick_size.exp: New testcase.
9494
45452591
DE
94952008-10-06 Doug Evans <dje@google.com>
9496
9497 * gdb.dwarf2/dw2-cu-size.exp: New file.
9498 * gdb.dwarf2/dw2-cu-size.S: New file.
9499
9500 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9501 .Ltype_int for clarity.
9502
4fc5b208
PP
95032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9504
9505 PR gdb/2384:
9506 * gdb.cp/gdb2384.exp: Extended to test more cases.
9507 * gdb.cp/gdb2384.cc: Likewise.
9508 * gdb.cp/gdb2384-base.h: Likewise.
9509 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9510
d78df370
JK
95112008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9512
9513 * gdb.base/maint.exp (maint print type): Remove printing
9514 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9515
9a044a89
TT
95162008-09-30 Tom Tromey <tromey@redhat.com>
9517
9518 * gdb.base/macscp.exp: Add completion tests.
9519 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9520 (TWENTY_THREE): Likewise.
9521 (FORTY_EIGHT): Likewise.
9522
506800a9
TT
95232008-09-30 Tom Tromey <tromey@redhat.com>
9524
9525 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9526 everywhere.
9527 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9528
1a6f01b5
JK
95292008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9530
9531 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9532 testcase is derived from. Fix racy dependency on an expected PID
9533 number. No longer support the testcase on Linux kernel 2.4.x.
9534
2fae03e8
TT
95352008-09-27 Tom Tromey <tromey@redhat.com>
9536
9537 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9538 and varargs.
9539
1ad15515
PA
95402008-09-22 Pedro Alves <pedro@codesourcery.com>
9541
9542 * lib/mi-support.exp (mi_expect_interrupt): New.
9543 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9544 from gdb.mi/mi-nonstop.exp.
9545 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9546 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9547 lib/mi-support.exp.
9548 Use mi_check_thread_states throughout. Avoid ".*" and do not
9549 require an anchor after -exec-run.
9550
d0b76dc6
DJ
95512008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9552
9553 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9554 stop is pending. Avoid ".*" when two stops are pending.
9555 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9556 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9557 newlines in fullnames.
9558 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9559 (mi_expect_stop): Update comments. Only anchor in sync mode.
9560 Do not match newlines.
9561 (mi_send_resuming_command_raw): Always return status.
9562 (mi_get_stop_line): Do not match more than one line by accident.
9563 Only anchor in sync mode.
9564 (mi_run_inline_test): If -exec-next fails, give up.
9565
9990c830
UW
95662008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9567
9568 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9569 on SPU.
9570
ebcf6f00
JB
95712008-09-10 Joel Brobecker <brobecker@adacore.com>
9572
9573 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9574
b6db24e5
JB
95752008-09-10 Joel Brobecker <brobecker@adacore.com>
9576
9577 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9578 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9579 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9580 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9581 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9582 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9583 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9584 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9585 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9586 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9587 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9588 Include the "= " sequence in the expected output of print tests.
9589
2bf448e0
JB
95902008-09-10 Joel Brobecker <brobecker@adacore.com>
9591
9592 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9593 description for boolean types.
9594
d51fd4c8
PA
95952008-09-09 Pedro Alves <pedro@codesourcery.com>
9596
9597 * gdb.base/hook-stop-continue.c: New.
9598 * gdb.base/hook-stop-continue.exp: New.
9599
694182d2
DJ
96002008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9601
9602 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9603
3b8a7fc0
JG
96042008-09-08 Jerome Guitton <guitton@adacore.com>
9605
9606 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9607 (stack_check_probe_2, stack_check_probe_loop_1)
9608 (stack_check_probe_loop_2): New functions.
9609 (main): Add call to these new functions.
9610 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9611 functions, check that the breakpoint is inserted at the appropriate
9612 location.
9613 (insert_breakpoint): Slightly refine this procedure so that it can
9614 be called several times in the test.
9615
96cc0ae8
JG
96162008-09-08 Jerome Guitton <guitton@adacore.com>
9617
9618 * gdb.base/stack-checking.c: New file.
9619 * gdb.base/stack-checking.exp: New file.
9620
1f08b409
TJB
96212008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9622
9623 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9624 * gdb.arch/altivec-regs.exp: Likewise.
9625 * gdb.arch/vsx-regs.exp: Likewise.
9626
3099e1c4
TJB
96272008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9628
9629 * gdb.arch/ppc-fp.exp: New file.
9630 * gdb.arch/ppc-fp.c: New file.
9631
cc69bfc1
PP
96322008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9633
9634 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9635 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9636
b02a33db
MS
96372008-09-04 Michael Snyder <msnyder@vmware.com>
9638
9639 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9640 as "at" (for non-debug functions such as _start).
9641
2992cbe0
UW
96422008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9643
9644 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9645 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9646 software watchpoints.
9647 * gdb.base/watch_thread_num.exp: Likewise.
9648
514f746b
AR
96492008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9650
9651 * gdb.arch/i386-bp_permanent.exp: New test.
9652
876cecd0
TT
96532008-08-24 Tom Tromey <tromey@redhat.com>
9654
9655 * gdb.base/maint.exp: Update "maint print type".
9656
80f73d71
VP
96572008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9658
9659 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9660 support. Adjust the order of "*running" notifications.
9661 * gdb.mi/non-stop.c: Don't cast from int to void* and
9662 back.
9663
d9c78d7d
MK
96642008-08-20 Mark Kettenis <kettenis@gnu.org>
9665
9666 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9667 expect to find it in the "info frame" output.
9668
97a2d1d3
DJ
96692008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9670
9671 * gdb.base/interp.exp: Always consume both prompts.
9672
b96e2927
PA
96732008-08-20 Pedro Alves <pedro@codesourcery.com>
9674
9675 * gdb.base/pending.exp: Test pending breakpoints without symbols
9676 loaded.
9677
8cf6e61a
VP
96782008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9679
9680 * lib/mi-support.exp (mi_expect_stop): Produce
9681 more details on failures.
9682 * gdb.mi/mi-nonstop.exp: New.
9683 * gdb.mi/non-stop.c: New.
9684
c6ebd6cf
VP
96852008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9686
a9c64011
AS
9687 * gdb.mi/mi-async.exp: Use 'set target-async'.
9688 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9689
46a9b8ed
DJ
96902008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9691
9692 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9693
44feb3ce
TT
96942008-08-17 Tom Tromey <tromey@redhat.com>
9695
9696 * gdb.base/help.exp (help catch): Rewrite.
9697
311a4e6b
TJB
96982008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9699
9700 * gdb.base/define.exp: Test indented command documentation.
9701 * gdb.python/python.exp: Test indented multi-line command.
9702
604c2f83
LM
97032008-08-15 Luis Machado <luisgpm@br.ibm.com>
9704
9705 * testsuite/gdb.arch/vsx-regs.c: New source file.
9706 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9707 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9708
886a217c
TT
97092008-08-14 Tom Tromey <tromey@redhat.com>
9710
9711 * gdb.base/macscp.exp: Add regression test for "macro define" or
9712 "macro undef" with no arguments.
9713
c814a4f3
PP
97142008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9715
9716 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9717
12ab8a60
UW
97182008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9719
9720 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9721
d57a3c85
TJB
97222008-08-06 Tom Tromey <tromey@redhat.com>
9723
9724 * gdb.python/python.exp: New file.
9725
c7b778ff
JK
97262008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 Fix for PR gdb/1543.
9729 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9730 $LOCATION.
9731 (location): New variable.
9732 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9733 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9734 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9735 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9736 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9737 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9738 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9739 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9740 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9741 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9742 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9743 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9744 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9745 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9746 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9747 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9748 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9749 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9750 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9751 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9752 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9753 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9754 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9755 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9756 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9757 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9758 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9759 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9760 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9761 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9762 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9763 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9764 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9765 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9766 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9767 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9768 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9769 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9770 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9771 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9772 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9773 gdb.base/type-opaque.exp, gdb.base/until.exp,
9774 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9775 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9776 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9777 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9778 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9779 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9780 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9781 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9782 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9783 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9784 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9785 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9786 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9787 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9788 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9789 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9790 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9791 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9792 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9793 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9794 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9795 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9796 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9797 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9798 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9799 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9800 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9801 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9802 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9803 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9804 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9805 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9806 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9807 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9808 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9809 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9810 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9811 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9812 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9813 to bug-gdb@prep.ai.mit.edu .
9814
5e06a3d1
VP
98152008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9816
9817 * lib/mi-support.exp (mi_load_shlibs): New.
9818 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9819
9d81d21b
VP
98202008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9821
9822 * lib/mi-support.exp (get_mi_thread_list)
9823 (check_mi_and_console_threads): New, moved from ...
9824 * gdb.mi/mi-pthread.exp: ...here.
9825 * gdb.mi/gdb669.exp (get_mi_thread_list)
9826 (check_mi_and_console_threads): Delete.
9827 * gdb.mi/mi2-pthread.exp: Likewise.
9828
bae98fe0
TT
98292008-07-28 Tom Tromey <tromey@redhat.com>
9830
9831 * Makefile.in (just-check): Remove. Move body to...
9832 (check): ... here.
9833
57380f4e
DJ
98342008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9835
9836 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9837 Add a test for duplicated SIGINTs.
9838
e09490f1
DJ
98392008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9840
9841 * gdb.threads/schedlock.exp (get_args): Update to work for any
9842 value of NUM.
9843 (Top level): Report the number of threads that did not resume.
9844
6387b45f
DJ
98452008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9846
9847 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9848
62f64ff2
DJ
98492008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9850
9851 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9852 non-MI prompt.
9853
fa8de41e
TT
98542008-07-26 Tom Tromey <tromey@redhat.com>
9855
9856 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9857 (function_struct, function_struct_ptr): New globals.
9858 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9859 function pointer in a struct.
9860
ccb3ac8a
TT
98612008-07-26 Tom Tromey <tromey@redhat.com>
9862
9863 * gdb.base/macscp.exp: Add test for macro lexing bug.
9864
d7d9f01e
TT
98652008-07-18 Tom Tromey <tromey@redhat.com>
9866
9867 * gdb.base/macscp.exp: Add macro tests.
9868
9bf07184
PP
98692008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9870
9871 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9872
becf6477
PP
98732008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9874
9875 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9876
0709f7d3
PP
98772008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9878
9879 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9880
7093c834
PP
98812008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9882
9883 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9884
b432ffe3
JK
98852008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9886
9887 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9888
b1a268e5
VP
98892008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9890
9891 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9892
e2995f8e
KB
98932008-07-11 Kevin Buettner <kevinb@redhat.com>
9894
9895 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9896 of regexp to account for changes made to GDB in the printing of
9897 byte vectors.
9898
14032a66
TT
98992008-07-11 Tom Tromey <tromey@redhat.com>
9900
9901 * gdb.base/completion.exp: Add 'help' completion test.
9902
981505ef
JK
99032008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9904
9905 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9906
10568435
JK
99072008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9908
9909 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9910
4487aabf
PA
99112008-07-09 Pedro Alves <pedro@codesourcery.com>
9912
9913 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9914
a4a9b1c4
PA
99152008-07-09 Pedro Alves <pedro@codesourcery.com>
9916
9917 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9918
3c3185ac
JK
99192008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9920
9921 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9922
7ebd49dc
VP
99232008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9924
9925 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9926 previous commit. Add a comment.
9927
84e46146
PA
99282008-06-28 Pedro Alves <pedro@codesourcery.com>
9929
9930 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9931
0f8d4a2f
VP
99322008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9933
9934 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9935
f747e0ce
PA
99362008-06-27 Pedro Alves <pedro@codesourcery.com>
9937
9938 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9939 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9940 compiling an executable, link in an object that forces unbuffered
9941 output.
9942 * lib/set_unbuffered_mode.c: New file.
9943
734a5c36
JK
99442008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9945
9946 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9947
a2840c35
VP
99482008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9949
a9c64011
AS
9950 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9951 mi_expect_stop.
9952 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9953 Demand that *running is output.
9954 (detect_async): Perform checking every time.
9955 (mi_send_resuming_command): Extract everything into...
9956 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9957 (mi_expect_stop): Don't accept any output before *stopped.
9958
6ae37fef
VP
99592008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9960
9961 Robustify mi-simplerun.
a9c64011
AS
9962 * gdb.mi/basics.c (main): Add a call to sleep.
9963 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9964 * gdb.mi/mi2-cli.exp: Likewise.
9965 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9966
b4aa76f0 99672008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9968
9969 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9970
e1ac3328
VP
99712008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9972
a9c64011
AS
9973 * gdb.mi/mi-console.exp: Adjust.
9974 * gdb.mi/mi-syn-frame.exp: Adjust.
9975 * gdb.mi/mi2-console.exp: Adjust.
9976 * gdb.mi/mi2-syn-frame.exp: Adjust.
9977 * lib/mi-support.exp (mi_run_cmd): Adjust.
9978 (mi_send_resuming_command): Adjust.
e1ac3328 9979
f7f9a841
VP
99802008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9981
9982 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9983 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9984 testing of stopped.
9985 * gdb.mi/mi2-syn-frame.exp: Likewise.
9986 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9987 (async, detect_async): New.
9988 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9989 depending on if we're running in sync or async mode.
f7f9a841 9990
37cd5d19
TT
99912008-06-09 Tom Tromey <tromey@redhat.com>
9992
9993 * gdb.base/completion.exp: New tests for field name completion
9994 with spaces, and field name completion with '->'.
9995
65d12d83
TT
99962008-06-06 Tom Tromey <tromey@redhat.com>
9997
9998 * gdb.base/break1.c (struct some_struct): New struct.
9999 (values): New global.
10000 * gdb.base/completion.exp: Add field name completion test.
10001
ebfe2e3f
PP
100022008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10003
10004 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10005 to pointer.
10006 * gdb.cp/call-c.cc: Likewise.
10007
bcf6fc3a
NR
100082008-06-06 Nick Roberts <nickrob@snap.net.nz>
10009
10010 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10011 annotation.
10012
49fd4a42 100132008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10014 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10015
10016 * gdb.threads/execl.c, gdb.threads/execl1.c,
10017 gdb.threads/execl.exp: New tests.
a9c64011 10018
8a34ac3f
AR
100192008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10020 Daniel Jacobowitz <dan@codesourcery.com>
10021
10022 * gdb.cp/exception.exp: Activate test, make it work with pending
10023 catchpoints.
10024
86ae69ef
JK
100252008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10026
10027 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10028
f7f9ae2c
VP
100292008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10030
a9c64011
AS
10031 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10032 now printed.
10033 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10034
2a2d4dc3
AS
100352008-05-27 Andreas Schwab <schwab@suse.de>
10036
10037 * gdb.base/frame-args.exp: Handle arguments that are optimized
10038 out.
10039
5099e4d9
LM
100402008-05-26 Luis Machado <luisgpm@br.ibm.com>
10041
10042 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10043 quiet for ppc32 and group options into a single variable.
10044
d9c36a91
JB
100452008-05-23 Joel Brobecker <brobecker@adacore.com>
10046
10047 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10048 of zero-size elements.
10049 * gdb.ada/null_array.exp: Test printing this new array.
10050
103a8671
JK
100512008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10052
10053 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10054
07a4cc1a 100552008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10056
10057 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10058 of the "finish" command.
10059
55f996a7
NR
100602008-05-21 Nick Roberts <nickrob@snap.net.nz>
10061
10062 * gdb.base/annota1.exp: Test for new annotation.
10063
907fc202
UW
100642008-05-16 Pedro Alves <pedro@codesourcery.com>
10065
10066 * gdb.base/fixsection.exp: New file.
10067 * gdb.base/fixsection0.c: New file.
10068 * gdb.base/fixsection1.c: New file.
10069
e8f97270
UW
100702008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10071
10072 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10073 * gdb.base/annota3.exp: Likewise.
10074
ac0bb574
NF
100752008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10076
10077 * gdb.base/watch_thread_num.exp: Don't run tests that require
10078 watchpoints if the target doesn't support them.
10079
6fadd07a
DE
100802008-05-12 Doug Evans <dje@google.com>
10081
10082 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10083
6e9a4a30
JB
100842008-05-09 Joel Brobecker <brobecker@adacore.com>
10085
10086 * gdb.ada/assign_1.exp: New testcase.
10087
08388c79
DE
100882008-05-09 Doug Evans <dje@google.com>
10089
a3c83fae
DE
10090 * gdb.base/find.exp: New file.
10091 * gdb.base/find.c: New file.
08388c79 10092
bd5ddfe8
DJ
100932008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10094
10095 * gdb.base/commands.exp (watchpoint_command_test): Handle
10096 gdb,no_hardware_watchpoints.
10097 * gdb.base/float.exp: Allow ARM targets without floating point.
10098 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10099
b5dd68e2 101002008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10101 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10102
10103 * gdb.ada/lang_switch: New test program.
10104 * gdb.ada/lang_switch.exp: New testcase.
10105
382d13d1
DE
101062008-05-05 Doug Evans <dje@google.com>
10107
10108 * gdb.base/help.exp (disassemble): Update expected help text.
10109
9dd789d0
PA
101102008-05-04 Pedro Alves <pedro@codesourcery.com>
10111
10112 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10113
611c83ae
PA
101142008-05-04 Pedro Alves <pedro@codesourcery.com>
10115
10116 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10117 different times.
10118
ff013f42
JK
101192008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10120
10121 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10122 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10123 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10124 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10125
96dff6a2
VP
101262008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10127
10128 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10129 notification to appear.
10130
55cd6f92
DJ
101312008-05-04 Daniel Jacobowitz <dan@debian.org>
10132
10133 * gdb.base/fullname.c: New file.
10134 * gdb.base/fullname.exp: New file.
10135 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10136
d705c43c
PA
101372008-05-03 Pedro Alves <pedro@codesourcery.com>
10138
10139 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10140 expressions with macros.
10141
333222e1
JK
101422008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10143
10144 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10145
5ac01682
DJ
101462008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10147
10148 * gdb.base/completion.exp: Handle lack of other symbols beginning
10149 with "a".
10150
10151 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10152
237fc4c9
PA
101532008-05-02 Jim Blandy <jimb@codesourcery.com>
10154
10155 * gdb.asm/asmsrc1.s: Add scratch space.
10156
ed5e9466
DJ
101572008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10158 Daniel Jacobowitz <dan@codesourcery.com>
10159
10160 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10161 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10162 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10163
b39cc962
DJ
101642007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10165
10166 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10167
36d520f5
JB
101682008-05-01 Joel Brobecker <brobecker@adacore.com>
10169
10170 * gdb.base/info-target.exp: New testcase.
10171
8d4e3071
DJ
101722008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10173
10174 * gdb.cp/hang.exp: Use .cc instead of .C.
10175 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10176 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10177
6f3f3097
DJ
101782008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10179
10180 * gdb.base/gdb1250.exp: Remove perror.
10181 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10182
5550a914
PA
101832008-04-30 Pedro Alves <pedro@codesourcery.com>
10184
10185 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10186 .2byte.
10187
d848e687
DJ
101882008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10189
10190 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10191 (maybe_kfail): New.
10192
93b5768b
PA
101932008-04-25 Pedro Alves <pedro@codesourcery.com>
10194
10195 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10196
721c02de
VP
101972008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10198
a9c64011
AS
10199 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10200 * gdb.mi/mi2-syn-frame.exp: Likewise.
10201 * lib/mi-support.exp: Likewise.
721c02de 10202
74960c60
VP
102032008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10204
10205 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10206 to specify regexp for the location to stop at.
10207 * gdb.base/break-always.c: New.
10208 * gdb.base/break-always.exp: New.
10209
d24317b4
VP
102102008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10211
10212 * lib/mi-support.exp (mi_runto_helper): Adjust
10213 for the original-location field.
10214 (mi_create_breakpoint, mi_list_breakpoints): New.
10215 * gdb.mi/mi-break.exp: Adjust.
10216 * gdb.mi/mi2-break.exp: Adjust.
10217 * gdb.mi/mi-pending.exp: Adjust.
10218 * gdb.mi/mi-simplerun.exp: Adjust.
10219 * gdb.mi/mi2-simplerun.exp: Adjust.
10220 * gdb.mi/mi-syn-frame.exp: Adjust.
10221 * gdb.mi/mi2-syn-frame.exp: Adjust.
10222 * gdb.mi/mi-until.exp: Adjust.
10223 * gdb.mi/mi2-until.exp: Adjust.
10224 * gdb.mi/mi-var-display.exp: Adjust.
10225 * gdb.mi/mi2-var-display.exp: Adjust.
10226 * gdb.mi/mi-watch.exp: Adjust.
10227 * gdb.mi/mi2-watch.exp: Adjust.
10228
fdc59709 102292008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10230
a9c64011
AS
10231 * aclocal.m4: Add override.m4.
10232 * configure: Regenerate.
fdc59709 10233
8e91f023
VP
102342008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10235
10236 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10237 '-var-update --all-values' reports new value even the type
10238 of a variable object has changed.
10239
233a11ab
CS
102402008-04-18 Craig Silverstein <csilvers@google.com>
10241
10242 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10243 files.
d24317b4 10244
9c1137ad
JB
102452008-04-18 Joel Brobecker <brobecker@adacore.com>
10246
10247 * gdb.ada/atomic_enum: New test program.
10248 * gdb.ada/atomic_enum.exp: New testcase.
10249
66d0bbc7
DE
102502008-04-17 Doug Evans <dje@google.com>
10251
10252 * gdb.opt/Makefile.in: Fix whitespace.
10253
100906b0
UW
102542008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10255
10256 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10257
4584e32e
DE
102582008-04-17 Doug Evans <dje@google.com>
10259
10260 * gdb.base/hashline1.exp: New testcase.
10261 * gdb.base/hashline2.exp: New testcase.
10262 * gdb.base/hashline2.exp: New testcase.
10263
0a320680
PA
102642008-04-17 Pedro Alves <pedro@codesourcery.com>
10265
10266 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10267
18ac113b
AR
102682008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10269
10270 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10271 temporary breakpoint to match "Temporary breakpoint".
10272 * gdb.base/break.exp (delete_breakpoints): Likewise.
10273 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10274 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10275 * gdb.base/display.exp: Likewise.
10276 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10277 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10278 * gdb.base/restore.exp (restore_tests): Likewise.
10279 * gdb.base/sepdebug.exp: Likewise.
10280 * gdb.base/watchpoint.exp: Likewise.
10281 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10282 * gdb.mi/mi-pending.exp: Likewise.
10283 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10284 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10285 * gdb.mi/mi-var-cmd.exp: Likewise.
10286 * gdb.mi/mi-var-display.exp: Likewise.
10287 * gdb.mi/mi2-cli.exp: Likewise.
10288 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10289 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10290 * gdb.mi/mi2-var-display.exp: Likewise.
10291 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10292 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10293 new "disp" field.
a9c64011 10294 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10295 reason. This is to support fix for PR2424.
10296
add38693
JK
102972008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10298
10299 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10300
fcacd99f
VP
103012008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10302
10303 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10304 field. Add more floating varobj tests.
fcacd99f 10305 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10306 field.
10307 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10308 (main): Call do_at_tests.
10309 * lib/mi-support.exp (mi_create_floating_varobj)
10310 (mi_varobj_update_with_type_change): New.
fcacd99f 10311
de051565
MK
103122008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10313
10314 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10315 option of -var-evaluate-expression.
10316 * gdb.mi/mi2-var-display.exp: Likewise.
10317
dbc52822
VP
103182008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10319
10320 Introduce test setup helpers.
a9c64011
AS
10321 * lib/gdb.exp (build_executable, clean_restart)
10322 (prepare_for_testing): New.
10323 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10324 * gdb.base/return.exp: Likewise.
10325 * gdb.base/ending-run.exp: Likewise.
dbc52822 10326
473591da
NR
103272008-04-07 Nick Roberts <nickrob@snap.net.nz>
10328
10329 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10330 Interface (MI) responses.
10331
2b2d9e11
VP
103322008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10333
a9c64011
AS
10334 * gdb.cp/breakpoint.cc: New code to test conditions involving
10335 member variables.
10336 * gdb.cp/breakpoint.exp: Test condition involving member
10337 variables.
2b2d9e11 10338
bb378428
VP
103392008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10340
10341 * lib/mi-support.exp (mi_expect_stop): New.
10342 (mi_run_cmd): Change the
10343 token. Use mi_send_resuming_command, use
10344 mi_expect_stop.
10345 (mi_execute_to_helper): Rename to mi_execute_to.
10346 (mi_send_resuming_command): Add more error patterns.
10347 (mi_wait_for_stop): Renamed to...
10348 (mi_get_stop_line): ...this.
10349 (mi_run_inline_test): Adjust.
10350
10351 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10352 * gdb.mi/mi-console.exp: Likewise.
10353 * gdb.mi/mi-pending.exp: Likewise.
10354 * gdb.mi/mi-simplerun.exp: Likewise.
10355 * gdb.mi/mi-stack.exp: Likewise.
10356 * gdb.mi/mi-stepi.exp: Likewise.
10357 * gdb.mi/mi-syn-frame.exp: Add comment.
10358 * gdb.mi/mi-until.exp: Likewise.
10359 * gdb.mi/mi-var-display.exp: Likewise.
10360 * gdb.mi/mi-watch.exp: Likewise.
10361 * gdb.mi/mi2-cli.exp: Likewise.
10362 * gdb.mi/mi2-console.exp: Likewise.
10363 * gdb.mi/mi2-simplerun.exp: Likewise.
10364 * gdb.mi/mi2-stack.exp: Likewise.
10365 * gdb.mi/mi2-stepi.exp: Likewise.
10366 * gdb.mi/mi2-until.exp: Likewise.
10367 * gdb.mi/mi2-var-display.exp: Likewise.
10368 * gdb.mi/mi2-watch.exp: Likewise.
10369
62172bb9
UW
103702008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10371
10372 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10373
10374 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10375
a13e061a
PA
103762008-04-04 Pedro Alves <pedro@codesourcery.com>
10377
10378 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10379 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10380 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10381 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10382 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10383 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10384 expect an mi error duplicated in stderr.
10385
eae06beb
JB
103862008-04-03 Joel Brobecker <brobecker@adacore.com>
10387
10388 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10389 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10390 Add a couple of tests that verify the behavior when the new setting
10391 is set to "cancel" and "all".
10392 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10393 "ask" before we start the testing.
10394
79c6ced6
AR
103952008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10396
10397 * gdb.cp/casts.cc: Add class reference variables.
10398 * gdb.cp/casts.exp: New test cases for up/down casting references.
10399
6c2d1a6b
MK
104002008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10401
10402 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10403 instead of beginning to make an extra test pass.
10404 * gdb.mi/mi2-var-display.exp: Likewise.
10405
55b411d9
MR
104062008-03-31 Maciej W. Rozycki <macro@mips.com>
10407
10408 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10409
c6140da2
MD
104102008-03-31 Markus Deuling <deuling@de.ibm.com>
10411 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10412
10413 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10414 value. Add xfail for older kernels.
10415
79732189
AR
104162008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10417
10418 Bring mi-support in line with gdb.exp.
10419 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10420 (mi_gdb_start): New function.
10421
33c3676e
MR
104222008-03-28 Maciej W. Rozycki <macro@mips.com>
10423
10424 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10425
92e28119
VP
104262008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10427
10428 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10429 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10430
9e8e3afe
VP
104312008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10432
10433 * lib/mi-support.exp (mi_create_varobj_checked): New.
10434 (mi_list_varobj_children): Allow to check for a
10435 value.
10436 (mi_list_array_varobj_children): New.
10437
10438 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10439 and mi_list_varobj_children, as opposed to hardcoding
10440 expected strings.
10441 * gdb.mi/gdb701.exp: Likewise.
10442 * gdb.mi/gdb792.exp: Likewise.
10443 * gdb.mi/mi-var-block.exp: Likewise.
10444 * gdb.mi/mi-var-cmd.exp: Likewise.
10445 * gdb.mi/mi-var-invalidate.exp: Likewise.
10446 * gdb.mi/mi2-var-block.exp: Likewise.
10447 * gdb.mi/mi2-var-child.exp: Likewise.
10448 * gdb.mi/mi2-var-cmd.exp: Likewise.
10449 * gdb.mi/mi2-var-display.exp: Likewise.
10450
9df50351
JK
104512008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10452
10453 Fix random false FAILs on i386.
10454 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10455
31e5d73a
DJ
104562008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10457
10458 PR gdb/544
10459 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10460
12f4afab
DJ
104612008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10462
10463 PR gdb/544
10464 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10465
b562a0cb
DJ
104662008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10467
10468 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10469 fixed PR gdb/544.
10470
17faa917
DJ
104712008-03-21 Pedro Alves <pedro@codesourcery.com>
10472
10473 * gdb.threads/fork-child-threads.exp: Test next over fork.
10474
6214f497
DJ
104752008-03-21 Chris Demetriou <cgd@google.com>
10476
10477 * gdb.base/break.exp (rbreak junk): New test for rbreak
10478 "Junk at end of arguments" issue.
10479
63092375
DJ
104802008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10481
10482 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10483 *& to work on created array elements.
10484 (Top level): Test print $pc with a file. Test string operations
10485 without a target.
10486 * gdb.base/ptype.exp: Do not expect *& to work on created array
10487 elements.
10488
b21991b0
DJ
104892008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10490
10491 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10492 gdb.threads/staticthreads.exp: Update exit query.
10493
c4b347c7
SL
104942008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10495
10496 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10497
fa4727a6
DJ
104982008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10499
10500 * gdb.base/watchpoint.c (global_ptr, func4): New.
10501 (main): Call func4.
10502 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10503 (test_inaccessible_watchpoint): New.
10504
2f34202f
MR
105052008-02-29 Maciej W. Rozycki <macro@mips.com>
10506
10507 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10508 select the largest.
10509
0d6ba1b1
DJ
105102008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10511
10512 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10513 frames-invalid annotations.
10514
e691325a
PM
105152008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10516
a9c64011 10517 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10518
f85b5ecc
DE
105192008-02-27 Doug Evans <dje@google.com>
10520
10521 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10522 for bug 1738.
10523 (breakpoint_to_handler_entry): Ditto.
10524
b40e7bf3
JB
105252008-02-27 Joel Brobecker <brobecker@adacore.com>
10526
10527 * gdb.base/ending-run.exp: Use the first line of code inside
10528 function body to test breakpoints.
10529 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10530 location where the breakpoint is inserted when using the line
10531 where a function is declared. Fix typo in the description of
10532 one of the tests.
10533 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10534
2faca73a
PM
105352008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10536
10537 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10538 tests.
2faca73a 10539
6f439c36
PM
105402008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10541
10542 * gdb.base/args.exp: avoid same output for tests
10543 with single quotes.
10544
54e52265
VP
105452008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10546
a9c64011
AS
10547 * gdb.base/annota1.exp: Adjust for 'info break'
10548 format changes.
10549 * gdb.base/annota3.exp: Likewise.
10550 * gdb.base/break.exp: Likewise.
10551 * gdb.base/condbreak.exp: Likewise.
10552 * gdb.base/pending.exp: Likewise.
10553 * gdb.base/sepdebug.exp: Likewise.
10554 * gdb.base/unload.exp: Likewise.
10555 * gdb.cp/ovldbreak.exp: Likewise.
10556 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10557
897b09ca
DE
105582008-02-07 Doug Evans <dje@google.com>
10559
10560 * gdb.cp/mb-inline.exp: New.
10561 * gdb.cp/mb-inline.h: New.
10562 * gdb.cp/mb-inline1.cc: New.
10563 * gdb.cp/mb-inline2.cc: New.
10564
b1c32d35
PM
105652008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10566
10567 * gdb.pascal/floats.pas: New test program.
10568 * gdb.pascal/floats.exp: New testcase.
10569
1a4ca44a
TJB
105702008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10571
10572 * gdb.base/callfuncs.c (t_float_many_args): New function.
10573 (t_double_many_args): New function.
10574 * gdb.base/callfuncs.exp: Add tests for exceeding float
10575 and double parameters passed through the stack.
10576
439048e8
JB
105772008-02-05 Joel Brobecker <brobecker@adacore.com>
10578
10579 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10580 gdb.ada/complete/foo.adb: New files.
10581 * gdb.ada/complete.exp: New testcase.
10582
81fe8080
DE
105832008-02-03 Doug Evans <dje@google.com>
10584
301f0ecf
DE
10585 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10586
81fe8080
DE
10587 * gdb.cp/gdb2384.exp: New file.
10588 * gdb.cp/gdb2384.cc: New file.
10589 * gdb.cp/gdb2384-base.h: New file.
10590 * gdb.cp/gdb2384-base.cc: New file.
10591
4b071aec
DE
105922008-02-02 Doug Evans <dje@google.com>
10593
10594 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10595
61137ba6
JB
105962007-02-01 Joel Brobecker <brobecker@adacore.com>
10597
10598 * gdb.ada/sym_print_name: New test program.
10599 * gdb.ada/sym_print_name.exp: New testcase.
10600
106012007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10602
10603 * gdb.ada/nested/hello.adb: New file.
10604 * gdb.ada/nested.exp: New testcase.
10605 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10606
98deb0da
VP
106072008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10608
10609 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10610 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10611 don't cause future evaluations of function to report
10612 creation of internal breakpoints.
98deb0da 10613
723a2275
VP
106142008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10615
10616 * gdb.mi/mi-break.exp (test_error): New.
10617 Call it.
10618
fb546a2f
LM
106192008-01-31 Luis Machado <luisgpm@br.ibm.com>
10620
10621 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10622 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10623
2d8fd90a
PM
106242008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10625
10626 * gdb.pascal/integers.pas: New test program.
10627 * gdb.pascal/integers.exp: New testcase.
10628
a7fa0ded
PM
106292008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10630
10631 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10632
5e1a1926
TJB
106332008-01-30 Luis Machado <luisgpm@br.ibm.com>
10634
10635 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10636 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10637
8d04f9f0
JB
106382008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10639
10640 * gdb.ada/formatted_ref: New test program.
10641 * gdb.ada/formatted_ref.exp: New testcase.
10642
10643 * gdb.cp/formatted-ref.cc: New file.
10644 * gdb.cp/formatted-ref.exp: New testcase.
10645
ce75a98f
JB
106462008-01-30 Joel Brobecker <brobecker@adacore.com>
10647
10648 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10649
e835f6bf
NR
106502008-01-30 Nick Roberts <nickrob@snap.net.nz>
10651
10652 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10653 (test_file_list_exec_source_file): Update to new macro-info field.
10654
d118ef87
PH
106552008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10656
10657 * gdb.ada/exprs: New test program.
10658 * gdb.ada/exprs.exp: New testcase.
10659
7d35ab09
TJB
106602008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10661
10662 * dfp-test.c (DELTA, DELTA_B): New definitions.
10663 (double_val1, double_val2, double_val3, double_val4, double_val5,
10664 double_val6, double_val7, double_val8, double_val9, double_val10,
10665 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10666 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10667 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10668 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10669 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10670 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10671 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10672 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10673 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10674 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10675 dec128_val16): New global variables.
10676 (decimal_dec128_align): New function.
10677 (decimal_mixed): Likewise.
10678 (decimal_many_args_dec32): Likewise.
10679 (decimal_many_args_dec64): Likewise.
10680 (decimal_many_args_dec128): Likewise.
10681 (decimal_many_args_mixed): Likewise.
10682 * dfp-test.exp: Add tests calling new inferior functions.
10683
2d717e4f
DJ
106842008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10685
10686 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10687 gdb.server/ext-run.exp: New files.
10688 * lib/gdbserver-support.exp (gdbserver_download): New.
10689 (gdbserver_start): New. Update gdbserver expected
10690 output.
10691 (gdbserver_spawn): Use them.
10692 (gdbserver_start_extended): New.
10693
e85a822c
DJ
106942008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10695
10696 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10697 Run on GNU/Linux.
10698 (do_exec_tests): Check for systems which do not support catchpoints.
10699 Do not match START.
10700 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10701 Run on GNU/Linux. Enable verbose output.
10702 (check_fork_catchpoints): New.
10703 (explicit_fork_child_follow, catch_fork_child_follow)
10704 (tcatch_fork_parent_follow): Update expected messages.
10705 (do_fork_tests): Use check_fork_catchpoints.
10706 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10707 Run on GNU/Linux. Enable verbose output.
10708 (check_vfork_catchpoints): New.
10709 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10710 expected messages.
10711 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10712
401ea829
JB
107132008-01-29 Jim Blandy <jimb@red-bean.com>
10714
10715 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10716 host' errors.
10717 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10718
aceaf3ad
JB
107192008-01-29 Jim Blandy <jimb@red-bean.com>
10720
10721 * gdb.threads/sigthread.c: Use barriers to ensure that
10722 child_thread and child_thread_two are always initialized before we
10723 start to use them.
10724
a5606eee
VP
107252008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10726
10727 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10728 * gdb.base/watchpoint-solib.c: New.
10729 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10730
c55a82bb
PM
107312008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10732
10733 * gdb.base/gdb1056.exp: Add unsigned integer test.
10734
0993fe05
DE
107352008-01-28 Doug Evans <dje@google.com>
10736
10737 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10738
4fe42e7f
JB
107392008-01-27 Jim Blandy <jimb@codesourcery.com>
10740
c7a69933
JB
10741 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10742
4fe42e7f
JB
10743 * gdb.base/expand-psymtabs.exp: Doc fix.
10744
5def8285
MK
107452008-01-26 Mark Kettenis <kettenis@gnu.org>
10746
10747 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10748
5313c911
NR
107492008-01-24 Nick Roberts <nickrob@snap.net.nz>
10750
a9c64011 10751 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10752 -var-set-format.
10753
93815fbf
VP
107542008-01-23 Chris Demetriou <cgd@google.com>
10755
10756 * gdb.threads/thread_events.c: New testcase source file.
10757 * gdb.threads/thread_events.exp: New testcase expect file.
10758
467a88ee
NR
107592008-01-23 Nick Roberts <nickrob@snap.net.nz>
10760
10761 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10762
10763 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10764 -var-set-format.
10765
d8f82aba
DJ
107662008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10767 Vladimir Prus <vladimir@codesourcery.com>
10768
10769 * gdb.base/float.exp: Allow missing floating point for m68k and
10770 PowerPC.
10771
60c46647
VP
107722008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10773
10774 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10775 ignore count.
10776 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10777 * gdb.mi/mi-cli.exp: Adjust.
10778 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10779
c7dd36a1
PA
107802008-01-17 Pedro Alves <pedro@codesourcery.com>
10781
10782 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10783 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10784 with dummy_ptr's address.
10785 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10786 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10787 all targets.
10788 * gdb.mi/mi2-var-child.exp: Likewise.
10789
39d5313e
JB
107902008-01-09 Joel Brobecker <brobecker@adacore.com>
10791
10792 * gdb.ada/null_array: New test program.
10793 * gdb.ada/null_array.exp: New testcase.
10794
0aea4bf3
LM
107952008-01-09 Luis Machado <luisgpm@br.ibm.com>
10796
10797 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10798 with required float modifiers.
10799
0b354900
JB
108002008-01-08 Joel Brobecker <brobecker@adacore.com>
10801
10802 * gdb.ada/funcall_param: New test program.
10803 * gdb.ada/funcall_param.exp: New testcase.
10804
cdb7f5d4
JB
108052008-01-08 Joel Brobecker <brobecker@adacore.com>
10806
10807 * gdb.ada/arrayparam: New test program.
10808 * gdb.ada/arrayparam.exp: New testcase.
10809
88e2547f
JB
108102008-01-08 Joel Brobecker <brobecker@adacore.com>
10811
10812 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10813 landed. Should also fix random failures in the test following it.
10814
f6867ce0
TJB
108152008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10816
10817 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10818 for expressions with decimal float values.
10819 (test_dfp_conversions): New function to test casts to and from
10820 decimal float types.
10821 Call test_dfp_conversions.
10822 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10823 elements.
10824 (main): Initialize ds.float4 and ds.double8 elements.
10825 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10826 string to new error message.
10827 (d64_set_tests): Likewise.
10828 (d128_set_tests): Likewise.
10829 Add tests for expressions with decimal float variables. Add tests for
10830 conversions to and from decimal float types.
10831
f9c11282
JB
108322008-01-05 Joel Brobecker <brobecker@adacore.com>
10833
10834 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10835 * gdb.ada/packed_tagged.exp: New testcase.
10836
0ecbca72
JB
108372008-01-04 Joel Brobecker <brobecker@adacore.com>
10838
10839 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10840 gdb.ada/homonym/homonym_main.adb: New files.
10841 * gdb.ada/homonym.exp: New testcase.
10842
c18d3d89
JB
108432008-01-04 Joel Brobecker <brobecker@adacore.com>
10844
10845 * gdb.ada/packed_array.exp: Add testing of references to
10846 a packed array.
10847
ecc7085b
JB
108482008-01-04 Joel Brobecker <brobecker@adacore.com>
10849
10850 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10851 New files.
10852 * gdb.ada/type_coercion.exp: New testcase.
10853
c474c922
JB
108542008-01-04 Joel Brobecker <brobecker@adacore.com>
10855
10856 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10857 gdb.ada/tagged/foo.adb: New file.
10858 * gdb.ada/tagged.exp: New testcase.
10859
9005b927
JB
108602008-01-04 Joel Brobecker <brobecker@adacore.com>
10861
10862 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10863 gdb.ada/ptype_field/foo.adb: New files.
10864 * gdb.ada/ptype_field.exp: New testcase.
10865
1a6aaad8
JB
108662008-01-03 Joel Brobecker <brobecker@adacore.com>
10867
10868 * gdb.ada/print_pc.exp: New testcase.
10869
0ef22f53
JB
108702008-01-03 Joel Brobecker <brobecker@adacore.com>
10871
10872 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10873 gdb.ada/taft_type/p.adb: New files.
10874 * gdb.ada/taft_type.exp: New testcase.
10875
1689ecf8
JB
108762008-01-03 Joel Brobecker <brobecker@adacore.com>
10877
10878 * gdb.ada/array_bounds/bar.adb: New file.
10879 * gdb.ada/array_bounds.exp: New testcase.
10880
a4d0b9c3
JB
108812008-01-03 Joel Brobecker <brobecker@adacore.com>
10882
10883 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10884 gdb.ada/arrayptr/foo.adb: New files.
10885 * gdb.ada/arrayptr.exp: New testcase.
10886
a31ace00
JB
108872008-01-03 Joel Brobecker <brobecker@adacore.com>
10888
10889 * gdb.base/set-lang-auto.exp: New testcase.
10890
a97fced3
JB
108912008-01-03 Joel Brobecker <brobecker@adacore.com>
10892
10893 * gdb.ada/fun_addr/foo.adb: New file.
10894 * gdb.ada/fun_addr.exp: New testcase.
10895
ef29ce1a
JK
108962008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10897
10898 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10899 New files
10900
0fafefe3
JB
109012008-01-02 Joel Brobecker <brobecker@adacore.com>
10902
10903 * array_subscript_addr/p.adb: New file.
a9c64011 10904 * array_subscript_addr.exp: New testcase.
0fafefe3 10905
c4359f8d
JB
109062008-01-02 Joel Brobecker <brobecker@adacore.com>
10907
a9c64011 10908 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10909 New files.
10910 * gdb.ada/str_cmp_ref.exp: New testcase.
10911
1aa1b15b
JB
109122008-01-01 Joel Brobecker <brobecker@adacore.com>
10913
10914 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10915 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10916 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10917
81c9b2cf
JB
109182008-01-01 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10921 gdb.ada/ref_param/pck.ads: New files.
10922 * gdb.ada/ref_param.exp: New testcase.
10923
319e4674
JB
109242008-01-01 Joel Brobecker <brobecker@adacore.com>
10925
10926 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10927 gdb.ada/interface/foo.adb: New files.
10928 * gdb.ada/interface.exp: New testcase.
10929
ef682c56
JB
109302007-12-31 Jim Blandy <jimb@codesourcery.com>
10931
10932 * gdb.base/multi-forks.exp: Consume all output from child
10933 processes before proceeding to next test.
10934
f6f3eb6c
JB
109352007-12-29 Jim Blandy <jimb@codesourcery.com>
10936
10937 * configure: Regenerated.
10938
f652e42f
JB
109392007-12-27 Joel Brobecker <brobecker@adacore.com>
10940
10941 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10942 gdb.ada/fixed_cmp/fixed.adb: New files.
10943 * gdb.ada/fixed_cmp.exp: New testcase.
10944
6943e596
JB
109452007-12-27 Joel Brobecker <brobecker@adacore.com>
10946
10947 * gdb.ada/boolean_expr.exp: New testcase.
10948
aad9a193
JB
109492007-12-26 Jim Blandy <jimb@codesourcery.com>
10950
10951 * gdb.base/multi-forks.exp: Doc fix.
10952
fb5f3683
JB
109532007-12-26 Joel Brobecker <brobecker@adacore.com>
10954
10955 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10956 * gdb.ada/char_param.exp: Do not compile our test program with
10957 -gnata, this is unnecessary.
10958 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10959
384e4a9c
JB
109602007-12-24 Joel Brobecker <brobecker@adacore.com>
10961
10962 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10963 gdb.ada/print_chars/foo.adb: New files.
10964 * gdb.ada/print_chars.exp: New testcase.
10965
01e044f7
JB
109662007-12-24 Joel Brobecker <brobecker@adacore.com>
10967
10968 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10969 gdb.ada/char_param/foo.adb: New files.
10970 * gdb.ada/char_param.exp: New testcase.
10971
0ce17860
JB
109722007-12-22 Jim Blandy <jimb@codesourcery.com>
10973
10974 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10975 hard-coding source line numbers into the test.
10976 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10977 gdb_get_line_number to find.
10978
919809b9
JB
109792007-12-22 Joel Brobecker <brobecker@adacore.com>
10980
10981 * gdb.base/ptype.c (highest): New struct type.
10982 (the_highest): New variable of that type.
10983 (main): Add dummy assignment to a field of variable the_highest.
10984 * gdb.base/ptype.exp: Test type printing of our new variable.
10985
abc8a88d
PM
109862007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10987
10988 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10989 and record first explicitly generated thread number.
abc8a88d
PM
10990 Use that thread number for thread specific watchpoint test.
10991 Add iteration number to repetitive tests.
10992
5158f3e3
CES
109932007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10994 Jim Blandy <jimb@codesourcery.com>
10995
10996 * gdb.base/expand-psymtabs.c: New testcase
10997 source file.
10998 * gdb.base/expand-psymtabs.exp: New testcase
10999 expect file.
11000
37e4754d
LM
110012007-12-17 Luis Machado <luisgpm@br.ibm.com>
11002
11003 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11004 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11005
551e5d04
JB
110062007-12-17 Joel Brobecker <brobecker@adacore.com>
11007
11008 * gdb.ada/frame_args/foo.adb: New file.
11009 * gdb.ada/frame_args/pck.ads: New file.
11010 * gdb.ada/frame_args/pck.adb: New file.
11011 * gdb.ada/frame_args.exp: New testcase.
11012
a05ee097
JB
110132007-12-17 Joel Brobecker <brobecker@adacore.com>
11014
11015 * gdb.base/frame-args.c: New file.
11016 * gdb.base/frame-args.exp: New testcase.
11017
c162e8c9 110182007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11019 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11020
11021 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11022
afe8ab22 110232007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11024
afe8ab22
VP
11025 * gdb.mi/mi-pending.exp: New.
11026 * gdb.mi/mi-pending.c: New.
11027 * gdb.mi/mi-pendshr.c: New.
11028
dfdfb3ca
JB
110292007-12-06 Jim Blandy <jimb@codesourcery.com>
11030
11031 * gdb.base/default.exp: Update expected output for 'info catch'.
11032
b7fca990
JK
110332007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11034
11035 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11036 must be set to binary.
11037
6a1afc1e
PA
110382007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11039
11040 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11041
a6b151f1
DJ
110422007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11043
11044 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11045 gdb.mi/mi-file-transfer.exp: New.
11046
43039443
JK
110472007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11048
11049 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11050
0ef2251b
MR
110512007-11-22 Maciej W. Rozycki <macro@mips.com>
11052
11053 * gdb.trace/backtrace.exp: Fix a typo.
11054 * gdb.trace/circ.exp: Likewise.
11055 * gdb.trace/collection.exp: Likewise.
11056 * gdb.trace/limits.exp: Likewise.
11057 * gdb.trace/report.exp: Likewise.
11058 * gdb.trace/tfind.exp: Likewise.
11059 * gdb.trace/while-dyn.exp: Likewise.
11060
5443631e
NR
110612007-11-21 Nick Roberts <nickrob@snap.net.nz>
11062
11063 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11064 objects of pointers that can't be dereferenced are now
11065 "noneditable".
11066
a4ce5b0d
UW
110672007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11068
11069 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11070 (target_cpu): Remove.
11071
d6e956e5
VP
110722007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11073
11074 * gdb.base/ending-run.exp: Expect the list of cleared
11075 breakpoint to come in natural order, not the reversed one.
a9c64011 11076
214270ab
VP
110772007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11078
11079 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11080 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11081
1a619819
LM
110822007-11-05 Luis Machado <luisgpm@br.ibm.com>
11083
11084 * gdb.base/printcmds.exp: New function
11085 test_printf_with_dfp.
11086
5b01a6fa
DE
110872007-11-02 Doug Evans <dje@google.com>
11088
11089 * gdb.disasm/t01_mov.s: Remove carriage returns.
11090 * gdb.disasm/t02_mova.s: Ditto.
11091 * gdb.disasm/t03_add.s: Ditto.
11092 * gdb.disasm/t04_sub.s: Ditto.
11093 * gdb.disasm/t05_cmp.s: Ditto.
11094 * gdb.disasm/t06_ari2.s: Ditto.
11095 * gdb.disasm/t07_ari3.s: Ditto.
11096 * gdb.disasm/t08_or.s: Ditto.
11097 * gdb.disasm/t09_xor.s: Ditto.
11098 * gdb.disasm/t10_and.s: Ditto.
11099 * gdb.disasm/t11_logs.s: Ditto.
11100 * gdb.disasm/t12_bit.s: Ditto.
11101 * gdb.disasm/t13_otr.s: Ditto.
11102
ec33ab7f
JK
111032007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11104
11105 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11106
ae0d01ff
UW
111072007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11108
11109 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11110 provide DFP support.
11111
55eddb0f
DJ
111122007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11113
11114 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11115 Test "set powerpc vector-abi". Skip auto-detection tests for old
11116 toolchains.
11117
7020f05c
PA
111182007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11119
11120 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11121 with [string compare].
11122
84bc3db9
PA
111232007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11124
11125 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11126 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11127
5876dc88
LM
111282007-10-25 Luis Machado <luisgpm@br.ibm.com>
11129
11130 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11131 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11132 * gdb.opt/Makefile.in: New makefile.
11133 * Makefile.in: Create new directory "gdb.opt".
11134 * configure.ac: Add "gdb.opt" directory.
11135 * configure: Regenerated.
a9c64011 11136
c3ea9a14
DE
111372007-10-25 Doug Evans <dje@google.com>
11138
11139 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11140 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11141
a9c64011 111422007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11143 Thiago Jung Bauermann <bauerman@br.ibm.com>
11144
11145 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11146 Floating Point expressions.
11147 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11148 Floating Point variables.
11149 * gdb.base/dfp-test.c: new file containing program with Decimal
11150 Floating variables, used by gdb.base/dfp-test.exp.
11151
62a24a2b
DJ
111522007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11153
11154 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11155
e7b1eae6
UW
111562007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11157
11158 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11159 compiling test case with GCC.
11160 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11161
c641edcc
UW
111622007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11163
11164 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11165 format changes.
11166
5e5ebfe6
MS
111672007-10-18 Michael Snyder <msnyder@specifix.com>
11168
11169 * gdb.base/dbx.exp: Add missing "-re " operator.
11170
e831e7b6
GM
111712007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11172
11173 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11174 * configure.ac: Removed trailing spaces after backslash.
11175 * gdb.modula2: New directory.
11176 * gdb.modula2/Makefile.in: New file.
11177 * gdb.modula2/unbounded-array.exp: New file.
11178 * gdb.modula2/unbounded1.c: New file.
11179
7cc46491
DJ
111802007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11181
11182 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11183
111842007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11185
11186 * gdb.base/sigstep.c (main): Add checks for
11187 return values for setitimer call.
11188 Call setitimer again with itimer = ITIMER_REAL
11189 if first call to setitimer fails.
11190
e91528f0
KH
111912007-10-11 Kazu Hirata <kazu@codesourcery.com>
11192
11193 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11194 of $timeout.
11195
2ec9a4f8
DJ
111962007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11197
11198 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11199
112002007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11201
11202 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11203 of gdb_expect call, to avoid interruption.
11204
64b2fa04
PA
112052007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11206
11207 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11208 (v_unsigned_long_long, v_long_long_array)
11209 (v_signed_long_long_array, v_unsigned_long_long_array)
11210 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11211 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11212 [!NO_LONG_LONG]: New.
11213 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11214 v_long_long_member.
11215
11216 (v_long_long_func, v_signed_long_long_func)
11217 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11218 (main) [!NO_LONG_LONG]: Initialize long long variants.
11219
11220 * gdb.base/whatis.exp: If board file requests no_long_long, build
11221 test with NO_LONG_LONG defined. Test long long, signed long long,
11222 and unsigned long long variants but only if board file doesn't
11223 disable it.
11224
a912286e 112252007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11226 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11227
11228 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11229 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11230 * configure: Regenerated.
11231 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11232 gdb.pascal/types.exp, lib/pascal.exp: New files.
11233
471ba8c9
DJ
112342007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11235
11236 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11237 call.
11238 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11239 to return to the call.
11240 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11241 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11242 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11243 * gdb.mi/mi-until.exp (test_until): Likewise.
11244 * gdb.mi/mi2-until.exp (test_until): Likewise.
11245
fef8a650
DJ
112462007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11247
11248 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11249 two-char array.
11250 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11251
d983da9c
DJ
112522007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11253
11254 * gdb.threads/watchthreads.c (thread_function): Sleep between
11255 iterations.
11256 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11257 at once for S/390. Generate matching fails and passes.
11258
17f62551
VP
112592007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11260
11261 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11262 the 'struct_declarations' variable to zeros.
a9c64011 11263
ed0616c6
VP
112642007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11265
11266 * gdb.cp/mb-ctor.cc: New.
11267 * gdb.cp/mb-ctor.exp: New.
11268 * gdb.cp/mb-templates.cc: New.
11269 * gdb.cp/mb-templates.exp: New.
11270
41f1b697
DJ
112712007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11272
11273 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11274
3f213f78
PA
112752007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11276
11277 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11278 targets.
11279 * configure: Regenerate.
11280
0d381245 112812007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11282
0d381245
VP
11283 * gdb.base/annota1.exp: Adjust for 'info break'
11284 format changes.
11285 * gdb.base/annota3.exp: Likewise.
11286 * gdb.base/break.exp: Likewise.
11287 * gdb.base/condbreak.exp: Likewise.
11288 * gdb.base/pending.exp: Likewise.
11289 * gdb.base/sepdebug.exp: Likewise.
11290 * gdb.base/unload.exp: Likewise.
11291 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11292
fe3f5fa8
VP
112932007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11294
11295 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11296 messages.
11297 * gdb.base/chng-syms.exp: Likewise.
11298 * gdb.base/unload.exp: Likewise.
a9c64011 11299
a75cf6c0
DJ
113002007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11301
11302 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11303
18ecae38
DJ
113042007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11305
11306 * schedlock.c (NUM): Change to 1.
11307 (main): Use args[0] for the main thread.
11308 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11309 regardless of the number of threads.
11310
5509918f
MR
113112007-09-14 Maciej W. Rozycki <macro@mips.com>
11312
4a543daf
MR
11313 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11314 type down.
11315 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11316 test.
11317 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11318 watchpoint type down.
11319 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11320 test.
11321
113222007-09-14 Maciej W. Rozycki <macro@mips.com>
11323
5509918f
MR
11324 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11325 Move all the tests here and run them twice, once using software
11326 watchpoints and once using hardware watchpoints.
11327 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11328
40b53987
DJ
113292007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11330
11331 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11332 test.
11333
695e2681
MK
113342007-09-10 Mark Kettenis <kettenis@gnu.org>
11335
8b3fc8d8
MK
11336 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11337 build-id.
11338
695e2681
MK
11339 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11340 know about $ORIGIN. Calculate output dir from $dest instead of
11341 using ${objdir}/{$subdir}.
11342
58d69f29
MK
113432007-09-09 Mark Kettenis <kettenis@gnu.org>
11344
11345 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11346 gcore, before continuing with the test.
11347
3e347599
DJ
113482007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11349
11350 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11351 * gdb.mi/mi-watch.exp: Likewise.
11352
ea37ba09
DJ
113532007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11354 Jim Blandy <jimb@codesourcery.com>
11355
11356 * gdb.arch/i386-sse.exp: Do not expect character constants.
11357 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11358 * gdb.base/display.exp: Allow print/s.
11359 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11360 and unsigned char array changes.
11361
2025a643
DJ
113622007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11363
11364 * gdb.base/display.exp: Add tests for printf %p.
11365
26669a27
PA
113662007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11367
11368 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11369 the dll name to unicode.
11370
c8f021f8
JK
113712007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11372
11373 * gdb.base/default.exp (show version): Update the version text.
11374 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11375
4cf31eea
JK
113762007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11377
11378 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11379 New files.
11380
4935890f
JK
113812007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11382
11383 * lib/gdb.exp (build_id_debug_filename_get): New function.
11384 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11385 Remove the generate DEBUG file for the future testcase runs.
11386 New testcase for the NT_GNU_BUILD_ID retrieval.
11387 Move the final testing step to ...
11388 (test_different_dir): ... a new function.
11389 New parameter XFAIL to XFAIL all the tests performed.
11390 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11391 New parameter TYPE to PF_PREFIX all the tests performed.
11392
02142340
VP
113932007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11394
11395 * gdb.mi/mi-var-cp.cc (path_expression): New
11396 function.
11397 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11398
36acd84e
UW
113992007-08-27 Markus Deuling <deuling@de.ibm.com>
11400
11401 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11402 to fit into SPU Local Store memory.
11403
a896d121
JB
114042007-08-23 Joel Brobecker <brobecker@adacore.com>
11405
11406 * gdb.base/default.exp: Adjust the expected output of "info
11407 warranty" after the switch to GPLv3.
11408
7b433602
JB
114092007-08-23 Joel Brobecker <brobecker@adacore.com>
11410
11411 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11412 to 30000 (from 20000).
11413
e22f8b7c
JB
114142007-08-23 Joel Brobecker <brobecker@adacore.com>
11415
11416 Switch the license of all .exp files to GPLv3.
11417 Switch the license of all .f and .f90 files to GPLv3.
11418 Switch the license of all .s and .S files to GPLv3.
11419
5a0e3bd0
JB
114202007-08-23 Joel Brobecker <brobecker@adacore.com>
11421
11422 * configure.ac: Switch license to GPLv3.
11423
cc00619d
JB
114242007-08-23 Joel Brobecker <brobecker@adacore.com>
11425
11426 Switch the licensing to GPLv3 for all .ads and .adb files.
11427
8d26208a
DJ
114282007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11429
11430 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11431 and t_int_double.
11432 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11433
4fcb9948
JB
114342007-08-17 Joel Brobecker <brobecker@adacore.com>
11435
11436 * gdb.base/step-line.c: Switch license to GPL version 3, and
11437 update copyright year.
11438 * gdb.base/step-line.inp: Likewise.
11439
b9c34f67
JB
114402007-08-17 Joel Brobecker <brobecker@adacore.com>
11441
11442 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11443 changes inside gdb1555.c.
11444 * gdb.base/pending.exp: Likewise.
11445
2cc17678
DJ
114462007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11447
11448 * config/default.exp: New file.
11449
e48883f7
DJ
114502007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11451
11452 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11453 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11454
1ab80e5b
MR
114552007-07-30 Maciej W. Rozycki <macro@mips.com>
11456
11457 * gdb.base/dump.exp: Force the correct endianness for binary
11458 formats not carrying this information.
11459
aba471f5
DJ
114602007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11461
11462 * gdb.threads/staticthreads.exp: Match .*sem_post.
11463
d4e07204
DJ
114642007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11465
11466 * gdb.base/readline.exp (operate_and_get_next): Match the final
11467 prompt.
11468
2b97317d
KB
114692007-07-23 Kevin Buettner <kevinb@redhat.com>
11470
11471 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11472 to restarting SID.
11473
44efa07a
KB
114742007-07-18 Kevin Buettner <kevinb@redhat.com>
11475
11476 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11477 prior to `gdb_start'.
11478
7b5ebade
KB
114792007-07-18 Kevin Buettner <kevinb@redhat.com>
11480
11481 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11482 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11483 Remove call to gdb_unload.
11484
255e7678
DJ
114852007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11486 Daniel Jacobowitz <dan@codesourcery.com>
11487
11488 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11489 for __WIN32__.
11490 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11491 * gdb.base/unload.exp: Use shared library test routines.
11492
3a40aaa0
UW
114932007-07-03 Markus Deuling <deuling@de.ibm.com>
11494
11495 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11496 * gdb.base/solib-symbol-lib.c: Likewise.
11497 * gdb.base/solib-symbol-main.c: Likewise.
11498
b0f4b84b
DJ
114992007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11500
11501 * config/gdbserver.exp (gdb_reconnect): New.
11502 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11503 gdb.base/solib-disc.exp: New files.
11504 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11505 remote debugging".
11506 (gdb_compile): Add shlib_load flag.
11507 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11508 port.
11509 (gdbserver_reconnect): New.
11510
1b05479a
DJ
115112007-07-01 Nick Roberts <nickrob@snap.net.nz>
11512 Daniel Jacobowitz <dan@codesourcery.com>
11513
11514 * gdb.base/annota3.exp: Test for if construct.
11515
86f78eb2
DJ
115162007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11517
11518 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11519
6a2eb474 115202007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11521 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11522
11523 * gdb.base/display.exp: Allow a newline after display/i.
11524 * gdb.base/pc-fp.exp: Likewise.
11525 * gdb.base/sigbpt.exp: Likewise.
11526
f8b73d13
DJ
115272007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11528
11529 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11530 required features to be included.
11531
4339e69e
DJ
115322007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11533
11534 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11535 in info threads output.
11536
23d964e7
UW
115372007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11538 Markus Deuling <deuling@de.ibm.com>
11539
11540 * gdb.arch/spu-info.exp: New testcase.
11541 * gdb.arch/spu-info.c: New file.
11542
fd20f75b
DJ
115432007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11544
11545 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11546 tpcs_offset. Restore lr after the call.
11547 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11548
2226f861
DJ
115492007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11550
11551 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11552 (gdbserver_run): Kill any running gdbserver.
11553 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11554
d12371a9
MR
115552007-05-17 Maciej W. Rozycki <macro@mips.com>
11556
11557 * gdb.base/sigbpt.exp: Preset segv_addr.
11558
93f02886
DJ
115592007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11560
11561 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11562 (gdb_compile_shlib): Likewise.
11563 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11564 (default_gdb_init): Clear cleanfiles.
11565 (gdb_finish): Delete recorded cleanfiles.
11566 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11567
11568 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11569 Do not use isnative.
11570 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11571 gdb.base/so-impl-ld.exp: Likewise.
11572 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11573 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11574 gdb_compile.
11575
b04e06d7
VP
115762007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11577
11578 * config/unknown.exp: Remove.
11579
069ed931
UW
115802007-05-15 Markus Deuling <deuling@de.ibm.com>
11581
11582 * gdb.base/info-proc.exp: Check is_remote.
11583
09db0d03
UW
115842007-05-14 Markus Deuling <deuling@de.ibm.com>
11585
11586 * gdb.base/gcore.exp: Initialize variable core_supported.
11587
af2cbe8c
DJ
115882007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11589
11590 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11591
027c0295
DJ
115922007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11593
11594 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11595 * gdb.threads/print-threads.exp (test_all_threads): Allow
11596 negative and hexadecimal thread IDs.
11597
dc5000e7
DJ
115982007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11599
11600 * gdb.java/jprint.java (public): Avoid invalid call to static
11601 method.
11602
2e74ed18
DP
116032007-05-14 Denis Pilat <denis.pilat@st.com>
11604
11605 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11606 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11607 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11608 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11609 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11610
83547f02
UW
116112007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11612
11613 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11614 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11615 this mode.
11616 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11617 * gdb.base/spu.ld: New file.
11618
b18be20d
DJ
116192007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11620
11621 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11622
be444858
DJ
116232007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11624
11625 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11626
b1d53152
DJ
116272007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11628
11629 * gdb.java/jmain.exp: Handle demangled names with and without method
11630 signatures.
11631
d084b331
DJ
116322007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11633
11634 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11635 (have_a_very_merry_interrupt): Remove calls to puts.
11636 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11637 inferior output.
11638 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11639 test names.
11640
db9d7fc5
DJ
116412007-04-29 Markus Deuling <deuling@de.ibm.com>
11642 Daniel Jacobowitz <dan@codesourcery.com>
11643
11644 * gdb.base/auxv.exp (core_works): Also check is_remote.
11645 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11646
ef783a7d 116472007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11648
ef783a7d
VP
11649 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11650 message, not the undefined 'module' variable.
11651 * gdb.base/siginfo.exp: Likewise.
11652 * gdb.base/sigstep.exp: Likewise.
11653 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11654 serialport.
11655 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11656
b7b73cae
CV
116572007-04-25 Corinna Vinschen <vinschen@redhat.com>
11658
11659 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11660 target sim fails. Return 0 otherwise.
11661 (gdb_load): Return prematurely if gdb_target_sim fails.
11662
7d90fdfa
DP
116632007-04-16 Denis Pilat <denis.pilat@st.com>
11664
11665 * gdb.base/setshow.exp: Reset height after having set it to 100.
11666
5d3e9c85
DP
116672007-04-16 Denis Pilat <denis.pilat@st.com>
11668
11669 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11670
18e75969
DP
116712007-04-16 Denis Pilat <denis.pilat@st.com>
11672
11673 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11674
25d5ea92
VP
116752007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11676
11677 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11678 tests. Run the frozen varobjs test.
11679 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11680 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11681
0b49cb80
JK
116822007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11683
11684 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11685 gdb.base/type-opaque.exp: New files.
11686
a73bafbc 116872007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11688
11689 * gdb.mi/mi-var-child.c
a73bafbc
VP
11690 (do_children_tests): User char[2] instead of
11691 char so that automatic printing of pointers to char
11692 don't give unpredicable result.
11693 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11694 local variables.
11695 * gdb.mi/mi-var-child.exp: Step to right line
11696 of do_children_tests.
11697 * gdb.mi/mi2-var-child.exp: Likewise.
11698 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11699 do_locals_tests.
a73bafbc
VP
11700 (do_children_tests): User char[2] instead of
11701 char so that automatic printing of pointers to char
a9c64011 11702 don't give unpredicable result.
a73bafbc 11703 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11704 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11705 Pass test name to mi_wait_for_stop.
11706
7ce59000
DJ
117072007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11708
11709 * gdb.asm/asm-source.exp: Remove d10v case.
11710 * lib/gdb.exp (skip_cplus_tests): Likewise.
11711 * gdb.asm/d10v.inc: Deleted.
11712
20389057
DJ
117132007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11714
11715 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11716
8807d78b
DJ
117172007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11718
11719 * config/netware.exp: Delete file.
11720
aa3edb8e
JB
117212007-03-29 Joel Brobecker <brobecker@adacore.com>
11722
11723 * gdb.dwarf2/dw2-noloc.S: New file.
11724 * gdb.dwarf2/dw2-noloc.exp: New file.
11725
297561ac
PA
117262007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11727
11728 * gdb.cp/method2.cc: New test.
11729 * gdb.cp/method2.exp: New test.
11730 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11731
1f81bd39
DJ
117322007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11733
11734 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11735
9453113a
DJ
117362007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11737
11738 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11739
b741e217
DJ
117402007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11741
11742 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11743 (gdb_load): Delete, replace with...
11744 (gdb_reload): ...this.
11745 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11746 * gdb.server/server-mon.exp: Likewise.
11747 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11748 (gdb_start_cmd): New.
11749 (gdb_file_cmd): Save the last loaded file.
11750 (gdb_reload): New.
11751 (gdb_gnu_strip_debug): Use transform.
11752 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11753 support here. Use new $last_loaded_file. Check mtime.
11754 (gdb_target_cmd): Handle ObjC failure case.
11755 (infer_host_exec): Delete.
11756 (gdbserver_load): Rename to...
11757 (gdbserver_run): ...this. Simplify.
11758 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11759 (mi_gdb_load): Move most contents to a new function...
11760 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11761 (mi_run_cmd): Use mi_gdb_target_load.
11762 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11763 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11764 Use gdb_run_cmd.
11765 * gdb.base/charsign.exp: Remove incorrect comment.
11766 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11767 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11768 gdb.base/start.exp: Use gdb_start_cmd.
11769
446ab585 117702007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11771 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11772
11773 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11774 * gdb.base/signull.exp: Similarly.
11775
bbb88ebf
UW
117762007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11777
11778 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11779 messages available to test cases (like chng-sym.exp).
11780
cb8c4a99
AS
117812007-03-14 Andreas Schwab <schwab@suse.de>
11782
11783 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11784 format changes.
11785
4e463ff5
DJ
117862007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11787
11788 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11789 (optimized_1): New.
11790 (main): Call optimized_1.
11791 (gdb2029): Correct typos. Call gdb2029_marker.
11792 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11793 for gdb2029.
11794
b6db2c47
MK
117952007-03-12 Mark Kettenis <kettenis@gnu.org>
11796
11797 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11798 as tabs. Remove redundant test pattern.
11799
70ed3737
UW
118002007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11801
11802 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11803 for /a format output.
11804
47b67b60
DJ
118052007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11806
11807 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11808 collect output incrementally.
11809
b8953b0e
UW
118102007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11811
11812 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11813 for -var-create lpcharacter test.
11814 * gdb.mi/mi2-var-cmd.exp: Likewise.
11815
7acd5c40
UW
118162007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11817
11818 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11819 pass on targets where address zero is readable.
11820
9c6759c1
UW
118212007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11822
11823 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11824 just a single architecture.
11825
a2f1aeb4
UW
118262007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11827
11828 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11829 (fetch_all_registers): New function, uses gdb_test_multiple and
11830 exp_continue to fetch inferior output line-by-line.
11831 Replace all uses of do_get_all_registers by fetch_all_registers.
11832
46579ac2
UW
118332007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11834
11835 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11836 in target_info.
11837
fc133f24
MS
118382007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11839
a9c64011 11840 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11841 consistancy; add a default (timeout) case.
11842
7646a51d
MS
118432007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11844
11845 * gdb.base/watchpoint.exp: Fix truncated comment.
11846
dcfff61f
MS
118472007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11848
11849 * Makefile.in: Remove spurious single-quotes from sed command.
11850
664e3ee9
DJ
118512007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11852
11853 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11854 func.
11855 * gdb.mi/mi2-var-cmd.exp: Likewise.
11856
d7cc6f2f
JB
118572007-02-27 Joel Brobecker <brobecker@adacore.com>
11858
a9c64011
AS
11859 * gdb.dwarf2/dw2-producer.S: New file.
11860 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11861
118622007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11863
11864 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11865 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11866 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11867 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11868 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11869 Revert tests to use mi_gdb_test and include value field in output
11870 of -var-create.
11871
93d42b30
DJ
118722007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11873
11874 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11875
c499ed39
DJ
118762007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11877
11878 * gdb.base/maint.exp: Remove full paths from test names.
11879 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11880 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11881
9836f81b
JB
118822007-02-27 Joel Brobecker <brobecker@adacore.com>
11883
11884 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11885
c74d0ad8
DJ
118862007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11887
11888 * gdb.server/server-mon.exp: New test.
11889
2711e456
DJ
118902007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11891
11892 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11893
ff6f572f
DJ
118942007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11895
11896 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11897 register capitalization.
11898
fada3feb
DP
118992007-02-13 Denis Pilat <denis.pilat@st.com>
11900
11901 * gdb.mi/mi-var-invalidate.exp: New file.
11902
fb1e4ffc
DJ
119032007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11904
11905 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11906
3da939d7
DJ
119072007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11908
11909 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11910
123dc839
DJ
119112007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11912
11913 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11914 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11915
877e3645 119162007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11917
11918 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11919 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11920 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11921 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11922 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11923 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11924 Update tests to include value field in output of -var-create.
a9c64011 11925
3c0a2960
AS
119262007-02-08 Andreas Schwab <schwab@suse.de>
11927
11928 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11929
108546a0
DJ
119302007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11931
11932 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11933 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11934
d701dcab
DP
119352007-02-02 Denis Pilat <denis.pilat@st.com>
11936
11937 * gdb.threads/threadapply.exp: check that frame is not changed by
11938 the thread apply all command.
11939
783e3e2f
AS
119402007-01-31 Andreas Schwab <schwab@suse.de>
11941
6d9c3a87
AS
11942 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11943
3c50d7b9
AS
11944 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11945 in the dwarf sections.
11946 * gdb.dwarf2/mac-fileno.S: Likewise.
11947
783e3e2f
AS
11948 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11949 bspstore register on ia64.
11950
78ff580e
AS
119512007-01-29 Andreas Schwab <schwab@suse.de>
11952
cc8e9b12
AS
11953 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11954 "frame-begin" annotation.
11955
78ff580e
AS
11956 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11957 number of "frames-invalid" annotations.
11958
704a4f78
DJ
119592007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11960
11961 * gdb.base/commands.exp: Call if_commands_test.
11962 (gdb_test_no_prompt, if_commands_test): New.
11963
e741bf94
MK
119642007-01-28 Mark Kettenis <kettenis@gnu.org>
11965
11966 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11967
474d0ad3
AS
119682007-01-27 Andreas Schwab <schwab@suse.de>
11969
11970 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11971 .short/.int/.quad in the dwarf sections.
11972 * gdb.dwarf2/dw2-intercu.S: Likewise.
11973 * gdb.dwarf2/dw2-intermix.S: Likewise.
11974
e784b426
JK
119752007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11976
11977 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11978 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11979 array.
e784b426
JK
11980 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11981 * gdb.base/setvar.exp: Likewise.
11982
37f08e04
AS
119832007-01-26 Andreas Schwab <schwab@suse.de>
11984
9a01813a
AS
11985 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11986 test.
11987
37f08e04
AS
11988 * gdb.base/multi-forks.exp ("restart $i"): Also match
11989 __kernel_syscall_via_break.
11990
6e2a9270
VP
119912007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11992
11993 * lib/mi-support.exp (mi_delete_varobj): New.
11994 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11995 testcase.
11996 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11997 (main): Call the above.
11998 (reference_update_test, base_in_reference_test)
11999 (reference_to_pointer): Delete the created varobjs.
a9c64011 12000
e515b470
DJ
120012007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12002
12003 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12004 * configure: Regenerated.
12005 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12006 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12007 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12008 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12009 * lib/gdb.exp (gdb_skip_xml_test): New function.
12010
08d8bcd7
DJ
120112007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12012
12013 * gdb.base/sigrepeat.exp: Correct error message.
12014
120152007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12016 Daniel Jacobowitz <dan@codesourcery.com>
12017
12018 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12019 gdb.arch/i386-gnu-cfi-asm.S: New files.
12020
97c3f1f3
JK
120212007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12022
12023 * lib/gdb.exp: Abort on missing `site.exp'.
12024
cb1df416
DJ
120252007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12026 Daniel Jacobowitz <dan@codesourcery.com>
12027
12028 * gdb.base/included.c, gdb.base/included.exp,
12029 gdb.base/included.h: New files.
12030
35990120
DJ
120312007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12032
12033 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12034 (maximize_rlimit): Reduce limits on 64-bit systems.
12035
6e81a116 120362007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12037
12038 From Marcus Deuling <deuling@de.ibm.com>:
12039 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12040 every case.
12041
6c3c41f3
NR
120422007-01-13 Nick Roberts <nickrob@snap.net.nz>
12043
12044 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12045 (test_path_specification): Use objdir instead of srcdir to always
12046 get an absolute filename.
12047
2f12c312
DJ
120482007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12049
12050 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12051
81121995
VP
120522007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12053
12054 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12055 Make sure the variable we're using is in scope.
12056 (reference_to_pointer): Likewise.
12057
4741b737
DJ
120582007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12059
12060 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12061 has no debug information.
12062
054410c3
DJ
120632007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12064
12065 * gdb.base/annota1.exp: Remove extra send_gdb.
12066
818f79f6
DJ
120672007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12068
12069 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12070
f7a6bb70
DJ
120712007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12072
12073 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12074
57e66780
DJ
120752007-01-08 Nick Roberts <nickrob@snap.net.nz>
12076 Daniel Jacobowitz <dan@codesourcery.com>
12077
12078 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12079 lcharacter or linteger change. Correct duplicated test name.
12080 * gdb.mi/mi2-var-cmd.exp: Likewise.
12081
3d799a95
DJ
120822007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12083
12084 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12085
120862007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12087
a9c64011
AS
12088 * gdb.base/nofield.c: New file.
12089 * gdb.base/nofield.exp: New testcase.
51679ba9 12090
eafb94e8
NR
120912007-01-05 Nick Roberts <nickrob@snap.net.nz>
12092
12093 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12094
12095 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12096 test.
12097
5e572bb4
DJ
120982007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12099
12100 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12101
74a44383
DJ
121022007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12103
12104 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12105 when continuing.
12106
1b572db9
DJ
121072007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12108
12109 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12110 Expect ".exe" extension.
12111
381bc39b
DJ
121122007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12113
12114 * gdb.base/charset.exp: Add explicit filename to break.
12115 * gdb.base/dbx.exp: Add explicit filename to breaks.
12116
2b70e4c6
DJ
121172007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12118
12119 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12120 * gdb.mi/mi2-file.exp: Likewise.
12121
303b6f5d
DJ
121222007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12123
12124 Implement specification of MI tests as comments
12125 in C and C++ sources.
12126 * lib/mi-support.exp (mi_autotest_data): New variable.
12127 (mi_autotest_source): New variable.
12128 (count_newlines, mi_prepare_inline_tests)
12129 (mi_get_inline_test, mi_continue_to_line)
12130 (mi_run_inline_test, mi_tbreak)
12131 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12132 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12133 Run inline tests.
12134 * gdb.mi/mi-var-cp.cc: Define tests here.
12135
23da0d94
VP
121362007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12137
12138 Simplify usage of mi_continue_to.
12139 * lib/mi-support.exp (mi_runto_helper): Renamed
12140 from mi_runto, added new parameter 'run_or_continue'.
12141 (mi_runto): Use mi_runto_helper.
12142 (mi_continue_to): Accept just function name as parameter.
12143 Use mi_runto_helper.
12144 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12145 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12146
f9e18282
JB
121472006-01-04 Joel Brobecker <brobecker@adacore.com>
12148
12149 Make this testcase a bit more realistic. The current code
12150 is too simplistic, and allows the compiler to optimize out
12151 some of the entities we need for this testcase.
12152 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12153 (Do_Nothing): Add extra parameter.
12154 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12155 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12156 by using a variable of type Void_Star.
12157
fd678c65
JB
121582006-01-04 Joel Brobecker <brobecker@adacore.com>
12159
12160 * gdb.ada/catch_ex/foo.adb: New file.
12161 * gdb.ada/catch_ex.exp: New testcase.
12162
05cfdb42
DJ
121632007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12164
12165 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12166 pass --image-base to linker.
12167
2e03ee74
DJ
121682007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12169 Daniel Jacobowitz <dan@codesourcery.com>
12170
12171 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12172 secondary prompts.
12173
0d5de010
DJ
121742007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12175
12176 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12177 output. Test the types of members and member pointers.
12178 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12179 gdb/2092.
12180 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12181 statement. Enable for GCC. Update expected output for some tests
12182 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12183 layout.
12184 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12185 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12186 (Diamond::vget_base): New.
12187 (main): Add new tests.
12188 * gdb.cp/printmethod.exp: Update expected output for member functions.
12189 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12190 print pEe->D::vg().
12191
61a771aa
DJ
121922007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12193
12194 * gdb.threads/tls.exp: Allow stops in sem_post.
12195
2fa63963
DJ
121962006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12197
12198 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12199 * gdb.base/annota3.exp: Likewise.
12200 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12201 again (instead of timing out).
12202 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12203 GCC bug 26475.
12204 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12205 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12206 test from jmisc1.exp.
12207 * gdb.java/jmisc1.exp: Delete.
12208 * gdb.java/jprint.exp: Adjust to work with method signatures including
12209 return types.
12210 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12211 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12212 * lib/java.exp (compile_java_from_source): Pass the correct type
12213 to target_compile.
12214
5eefc2b7
JB
122152006-12-31 Joel Brobecker <brobecker@adacore.com>
12216
12217 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12218 (stack_align_edx): New function.
12219 (stack_align_eax): New function.
12220 (main): Add calls to stack_align_edx and stack_align_eax.
12221 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12222 Add testing for the cases where the register used during a stack
12223 realignment is edx. Same for eax.
12224
227c54da
DJ
122252006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12226
12227 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12228 and generic PE targets.
12229
cab8ac94
JB
122302006-12-29 Joel Brobecker <brobecker@adacore.com>
12231
12232 * gdb.ada/array_return.exp: Update copyright date list.
12233
ba54f318
JB
122342006-12-27 Joel Brobecker <brobecker@adacore.com>
12235
12236 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12237 (Create_Small_Float_Vector): New function.
12238 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12239 function body.
12240 * gdb.ada/array_return/p.adb: Use new type and function from
12241 package Pck.
12242 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12243 able to print the value returned by a function returning an
12244 array of float.
12245
6b7a35dd
JB
122462006-12-20 Joel Brobecker <brobecker@adacore.com>
12247
12248 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12249 The associated tests should be PASSing.
12250
038224f6
VP
122512006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12252
12253 Test for base in references.
12254 * gdb.mi/mi-var-cp.cc: Add test code.
12255 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12256 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12257 * gdb.mi/mi2-watch.exp: Likewise.
12258 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12259 (mi_list_varobj_children): New function.
12260
b26ed50d
VP
122612006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12262
12263 * lib/mi-support.exp
12264 (mi_runto): Accept "()" after function name.
12265 (mi_create_varobj): New function.
12266 (mi_varobj_update): New function.
12267 (mi_Check_varobj_value): New function.
12268 * gdb.mi/mi-var-cp.exp: New file.
12269 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12270
08232497
DJ
122712006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12272
12273 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12274 gdb.base/weaklib2.c: New files.
12275
d394c993 122762006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12277
ac6c2fba
NS
12278 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12279 info. Adjust test names.
12280
8ec659a0 12281 * gdb.base/break.c (main): Move position of malloc.
d394c993 12282 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12283
acd65feb
VP
122842006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12285
12286 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12287 assignement of arrays and function pointers.
12288 * gdb.mi/var-cmd.c: Add declaration necessary for above
12289 tests.
12290
f556d5e5
NS
122912006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12292
12293 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12294
12295 * gdb.threads/linux-dp.exp: Read thread table before and after
12296 creating each philosopher and verify it.
12297
697bc68d
NS
122982006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12299 Paul Brook <paul@codesourcery.com>
12300 Daniel Jacobowitz <dan@codesourcery.com>
12301
12302 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12303 main to remove duplication. Add start function of the form
697bc68d
NS
12304 '_*start[1-9]*'. Add RVDS start function.
12305
29d73ae4
DJ
123062006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12307
12308 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12309
c1d88655
UW
123102006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12311
12312 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12313 * gdb.asm/spu.inc: New file.
12314 * gdb.base/term.exp: Disable if [target_info exists noargs].
12315 * gdb.gdb/complaints.exp: Disable if ![isnative].
12316 * gdb.gdb/selftest.exp: Likewise.
12317 * gdb.gdb/observer.exp: Likewise.
12318 * gdb.gdb/xfullpath.exp: Likewise.
12319 * gdb.base/attach.exp: Disable on SPU target.
12320 * gdb.cp/bs145503.exp: Likewise.
12321 * gdb.cp/exception.exp: Likewise.
12322 * gdb.cp/userdef.exp: Likewise.
12323
32a13b1a
DJ
123242006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12325
12326 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12327
d8295fe9
VP
123282006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12329
12330 * gdb.base/completion.exp: Fix completion tests for
12331 'info' and 'info '.
12332 * gdb.base/help.exp (help_test_raw, test_class_help)
12333 (test_prefix_command_help): Move...
12334 * lib/gdb.exp: Here.
12335 * gdb.base/main.exp: Adjust.
12336 * gdb.cp/maint.exp: Adjust.
12337 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12338
8c394015
VP
123392006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12340
12341 * gdb.stabs/weird.exp (print_weird_var): Use
12342 gdb_test_multiple instead of gdb_expect.
12343
027fc1bc
VP
123442006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12345
12346 * gdb.base/help.exp (help_test_raw): New.
12347 (test_class_help): New.
12348 (test_prefix_command_help): New.
12349 Adjust testcases.
12350
67609209
FR
123512006-11-09 Christophe Lyon <christophe.lyon@st.com>
12352
12353 * gdb.base/constvars.c (main): Write to crass and crips, so that
12354 they are allocated by the compiler.
12355
f73adfeb
AS
123562006-10-27 Andreas Schwab <schwab@suse.de>
12357
12358 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12359 "detach-fork".
12360
2f83a18e
DJ
123612006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12362
12363 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12364 of patterns.
12365
94277a38
DJ
123662006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12367
12368 * gdb.base/sepdebug.exp: Remove debug format test.
12369 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12370 Handle no-symtab.
12371 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12372
5bd2f6e2
DJ
123732006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12374
12375 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12376 int to pointer or pointer to int.
12377 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12378
8c008720
DJ
123792006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12380
12381 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12382
9e35dae4
DJ
123832006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12384
12385 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12386
d9639e13
DJ
123872006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12388
12389 PR c++/2116
12390 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12391
390a1bd0
JB
123922006-10-06 Joel Brobecker <brobecker@adacore.com>
12393
12394 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12395 the corresponding bug has been fixed in GDB (PR/2018).
12396
dd920c33
JB
123972006-10-06 Joel Brobecker <brobecker@adacore.com>
12398
12399 * gdb.base/subst.exp: New testcase.
12400
53bbefe9
JB
124012006-10-06 Joel Brobecker <brobecker@adacore.com>
12402
12403 * gdb.ada/array_return/pck.ads: Add copyright notice.
12404 * gdb.ada/array_return/pck.adb: Likewise.
12405 * gdb.ada/array_return/p.adb: Likewise.
12406 * gdb.ada/exec_changed/first.adb: Likewise.
12407 * gdb.ada/exec_changed/second.adb: Likewise.
12408
09851417
JB
124092006-10-06 Joel Brobecker <brobecker@adacore.com>
12410
12411 * gdb.ada/watch_arg/watch.adb: New file.
12412 * gdb.ada/watch_arg.exp: New testcase.
12413
041bf30d
VP
124142006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12415
12416 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12417 via string_to_regexp.
041bf30d 12418 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12419
f286fbdd 124202006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12421
12422 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12423 Remove unused / obsolete files.
12424
7c07f349
NR
124252006-09-19 Nick Roberts <nickrob@snap.net.nz>
12426
12427 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12428
cd5ff84a
VP
124292006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12430
12431 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12432 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12433 the number of frames.
cd5ff84a 12434
ae018d1a
DJ
124352006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12436
12437 * gdb.base/args.c (main): Add breakpoint marker.
12438 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12439 really test empty arguments.
12440 (args_load): Delete.
12441 (args_test): New.
12442
b399c549
NR
124432006-09-13 Nick Roberts <nickrob@snap.net.nz>
12444
12445 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12446 check for one file.
b399c549 12447
2ab1eb7a
VP
124482006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12449
12450 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12451 HIGH_FRAME argument to -stack-list-locals can be larger than
12452 the number of frames.
a9c64011 12453
476308bf
FF
124542006-08-18 Fred Fish <fnf@specifix.com>
12455
12456 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12457 '$' in front of skip_vmx_tests_saved when setting that.
12458
8625200f
AS
124592006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12460
12461 * gdb.base/trace-commands.exp: New file.
12462
089ec8f1
DJ
124632006-08-10 Joel Brobecker <brobecker@adacore.com>
12464 Daniel Jacobowitz <dan@codesourcery.com>
12465
12466 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12467 expected output of the backtrace commands.
12468
b60f0898
JB
124692006-08-09 Joel Brobecker <brobecker@adacore.com>
12470
12471 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12472 untested followed by return combination.
12473 * gdb.arch/altivec-regs.exp: Likewise.
12474 * gdb.arch/e500-abi.exp: Likewise.
12475 * gdb.arch/e500-regs.exp: Likewise.
12476 * gdb.arch/gdb1291.exp: Likewise.
12477 * gdb.arch/gdb1431.exp: Likewise.
12478 * gdb.arch/gdb1558.exp: Likewise.
12479 * gdb.arch/i386-prologue.exp: Likewise.
12480 * gdb.arch/i386-unwind.exp: Likewise.
12481 * gdb.asm/asm-source.exp: Likewise.
12482 * gdb.base/a2-run.exp: Likewise.
12483 * gdb.base/advance.exp: Likewise.
12484 * gdb.base/all-bin.exp: Likewise.
12485 * gdb.base/annota1.exp: Likewise.
12486 * gdb.base/annota3.exp: Likewise.
12487 * gdb.base/args.exp: Likewise.
12488 * gdb.base/arithmet.exp: Likewise.
12489 * gdb.base/assign.exp: Likewise.
12490 * gdb.base/async.exp: Likewise.
12491 * gdb.base/attach.exp: Likewise.
12492 * gdb.base/bang.exp: Likewise.
12493 * gdb.base/bigcore.exp: Likewise.
12494 * gdb.base/bitfields.exp: Likewise.
12495 * gdb.base/bitfields2.exp: Likewise.
12496 * gdb.base/break.exp: Likewise.
12497 * gdb.base/call-sc.exp: Likewise.
12498 * gdb.base/call-strs.exp: Likewise.
12499 * gdb.base/callfuncs.exp: Likewise.
12500 * gdb.base/checkpoint.exp: Likewise.
12501 * gdb.base/chng-syms.exp: Likewise.
12502 * gdb.base/code-expr.exp: Likewise.
12503 * gdb.base/commands.exp: Likewise.
12504 * gdb.base/completion.exp: Likewise.
12505 * gdb.base/cond-expr.exp: Likewise.
12506 * gdb.base/condbreak.exp: Likewise.
12507 * gdb.base/consecutive.exp: Likewise.
12508 * gdb.base/constvars.exp: Likewise.
12509 * gdb.base/corefile.exp: Likewise.
12510 * gdb.base/cvexpr.exp: Likewise.
12511 * gdb.base/dbx.exp: Likewise.
12512 * gdb.base/define.exp: Likewise.
12513 * gdb.base/detach.exp: Likewise.
12514 * gdb.base/display.exp: Likewise.
12515 * gdb.base/dump.exp: Likewise.
12516 * gdb.base/ena-dis-br.exp: Likewise.
12517 * gdb.base/ending-run.exp: Likewise.
12518 * gdb.base/environ.exp: Likewise.
12519 * gdb.base/eval-skip.exp: Likewise.
12520 * gdb.base/exprs.exp: Likewise.
12521 * gdb.base/fileio.exp: Likewise.
12522 * gdb.base/finish.exp: Likewise.
12523 * gdb.base/float.exp: Likewise.
12524 * gdb.base/foll-exec.exp: Likewise.
12525 * gdb.base/foll-fork.exp: Likewise.
12526 * gdb.base/foll-vfork.exp: Likewise.
12527 * gdb.base/freebpcmd.exp: Likewise.
12528 * gdb.base/funcargs.exp: Likewise.
12529 * gdb.base/gcore.exp: Likewise.
12530 * gdb.base/gdb1090.exp: Likewise.
12531 * gdb.base/gdb1250.exp: Likewise.
12532 * gdb.base/huge.exp: Likewise.
12533 * gdb.base/info-proc.exp: Likewise.
12534 * gdb.base/interrupt.exp: Likewise.
12535 * gdb.base/jump.exp: Likewise.
12536 * gdb.base/langs.exp: Likewise.
12537 * gdb.base/lineinc.exp: Likewise.
12538 * gdb.base/list.exp: Likewise.
12539 * gdb.base/logical.exp: Likewise.
12540 * gdb.base/long_long.exp: Likewise.
12541 * gdb.base/macscp.exp: Likewise.
12542 * gdb.base/maint.exp: Likewise.
12543 * gdb.base/mips_pro.exp: Likewise.
12544 * gdb.base/miscexprs.exp: Likewise.
12545 * gdb.base/multi-forks.exp: Likewise.
12546 * gdb.base/opaque.exp: Likewise.
12547 * gdb.base/overlays.exp: Likewise.
12548 * gdb.base/pc-fp.exp: Likewise.
12549 * gdb.base/pointers.exp: Likewise.
12550 * gdb.base/printcmds.exp: Likewise.
12551 * gdb.base/psymtab.exp: Likewise.
12552 * gdb.base/ptype.exp: Likewise.
12553 * gdb.base/recurse.exp: Likewise.
12554 * gdb.base/relational.exp: Likewise.
12555 * gdb.base/relocate.exp: Likewise.
12556 * gdb.base/remote.exp: Likewise.
12557 * gdb.base/reread.exp: Likewise.
12558 * gdb.base/restore.exp: Likewise.
12559 * gdb.base/return.exp: Likewise.
12560 * gdb.base/return2.exp: Likewise.
12561 * gdb.base/scope.exp: Likewise.
12562 * gdb.base/sect-cmd.exp: Likewise.
12563 * gdb.base/sep.exp: Likewise.
12564 * gdb.base/sepdebug.exp: Likewise.
12565 * gdb.base/setshow.exp: Likewise.
12566 * gdb.base/setvar.exp: Likewise.
12567 * gdb.base/sigall.exp: Likewise.
12568 * gdb.base/sigbpt.exp: Likewise.
12569 * gdb.base/signals.exp: Likewise.
12570 * gdb.base/signull.exp: Likewise.
12571 * gdb.base/sizeof.exp: Likewise.
12572 * gdb.base/solib.exp: Likewise.
12573 * gdb.base/step-line.exp: Likewise.
12574 * gdb.base/step-test.exp: Likewise.
12575 * gdb.base/structs.exp: Likewise.
12576 * gdb.base/structs2.exp: Likewise.
12577 * gdb.base/term.exp: Likewise.
12578 * gdb.base/twice.exp: Likewise.
12579 * gdb.base/until.exp: Likewise.
12580 * gdb.base/varargs.exp: Likewise.
12581 * gdb.base/volatile.exp: Likewise.
12582 * gdb.base/watchpoint.exp: Likewise.
12583 * gdb.base/whatis-exp.exp: Likewise.
12584 * gdb.base/whatis.exp: Likewise.
12585 * gdb.cp/ambiguous.exp: Likewise.
12586 * gdb.cp/annota2.exp: Likewise.
12587 * gdb.cp/annota3.exp: Likewise.
12588 * gdb.cp/bool.exp: Likewise.
12589 * gdb.cp/breakpoint.exp: Likewise.
12590 * gdb.cp/casts.exp: Likewise.
12591 * gdb.cp/class2.exp: Likewise.
12592 * gdb.cp/classes.exp: Likewise.
12593 * gdb.cp/cplusfuncs.exp: Likewise.
12594 * gdb.cp/ctti.exp: Likewise.
12595 * gdb.cp/derivation.exp: Likewise.
12596 * gdb.cp/exception.exp: Likewise.
12597 * gdb.cp/gdb1355.exp: Likewise.
12598 * gdb.cp/hang.exp: Likewise.
12599 * gdb.cp/inherit.exp: Likewise.
12600 * gdb.cp/local.exp: Likewise.
12601 * gdb.cp/m-data.exp: Likewise.
12602 * gdb.cp/m-static.exp: Likewise.
12603 * gdb.cp/member-ptr.exp: Likewise.
12604 * gdb.cp/method.exp: Likewise.
12605 * gdb.cp/misc.exp: Likewise.
12606 * gdb.cp/namespace.exp: Likewise.
12607 * gdb.cp/overload.exp: Likewise.
12608 * gdb.cp/ovldbreak.exp: Likewise.
12609 * gdb.cp/pr-1023.exp: Likewise.
12610 * gdb.cp/pr-1210.exp: Likewise.
12611 * gdb.cp/pr-574.exp: Likewise.
12612 * gdb.cp/printmethod.exp: Likewise.
12613 * gdb.cp/psmang.exp: Likewise.
12614 * gdb.cp/ref-params.exp: Likewise.
12615 * gdb.cp/ref-types.exp: Likewise.
12616 * gdb.cp/rtti.exp: Likewise.
12617 * gdb.cp/templates.exp: Likewise.
12618 * gdb.cp/try_catch.exp: Likewise.
12619 * gdb.cp/userdef.exp: Likewise.
12620 * gdb.cp/virtfunc.exp: Likewise.
12621 * gdb.disasm/am33.exp: Likewise.
12622 * gdb.disasm/h8300s.exp: Likewise.
12623 * gdb.disasm/mn10300.exp: Likewise.
12624 * gdb.disasm/sh3.exp: Likewise.
12625 * gdb.disasm/t01_mov.exp: Likewise.
12626 * gdb.disasm/t02_mova.exp: Likewise.
12627 * gdb.disasm/t03_add.exp: Likewise.
12628 * gdb.disasm/t04_sub.exp: Likewise.
12629 * gdb.disasm/t05_cmp.exp: Likewise.
12630 * gdb.disasm/t06_ari2.exp: Likewise.
12631 * gdb.disasm/t07_ari3.exp: Likewise.
12632 * gdb.disasm/t08_or.exp: Likewise.
12633 * gdb.disasm/t09_xor.exp: Likewise.
12634 * gdb.disasm/t10_and.exp: Likewise.
12635 * gdb.disasm/t11_logs.exp: Likewise.
12636 * gdb.disasm/t12_bit.exp: Likewise.
12637 * gdb.disasm/t13_otr.exp: Likewise.
12638 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12639 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12640 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12641 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12642 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12643 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12644 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12645 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12646 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12647 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12648 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12649 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12650 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12651 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12652 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12653 * gdb.mi/gdb701.exp: Likewise.
12654 * gdb.mi/gdb792.exp: Likewise.
12655 * gdb.mi/mi-basics.exp: Likewise.
12656 * gdb.mi/mi-break.exp: Likewise.
12657 * gdb.mi/mi-cli.exp: Likewise.
12658 * gdb.mi/mi-console.exp: Likewise.
12659 * gdb.mi/mi-disassemble.exp: Likewise.
12660 * gdb.mi/mi-eval.exp: Likewise.
12661 * gdb.mi/mi-file.exp: Likewise.
12662 * gdb.mi/mi-read-memory.exp: Likewise.
12663 * gdb.mi/mi-regs.exp: Likewise.
12664 * gdb.mi/mi-return.exp: Likewise.
12665 * gdb.mi/mi-simplerun.exp: Likewise.
12666 * gdb.mi/mi-stack.exp: Likewise.
12667 * gdb.mi/mi-stepi.exp: Likewise.
12668 * gdb.mi/mi-syn-frame.exp: Likewise.
12669 * gdb.mi/mi-until.exp: Likewise.
12670 * gdb.mi/mi-var-block.exp: Likewise.
12671 * gdb.mi/mi-var-child.exp: Likewise.
12672 * gdb.mi/mi-var-cmd.exp: Likewise.
12673 * gdb.mi/mi-var-display.exp: Likewise.
12674 * gdb.mi/mi-watch.exp: Likewise.
12675 * gdb.mi/mi2-basics.exp: Likewise.
12676 * gdb.mi/mi2-break.exp: Likewise.
12677 * gdb.mi/mi2-cli.exp: Likewise.
12678 * gdb.mi/mi2-console.exp: Likewise.
12679 * gdb.mi/mi2-disassemble.exp: Likewise.
12680 * gdb.mi/mi2-eval.exp: Likewise.
12681 * gdb.mi/mi2-file.exp: Likewise.
12682 * gdb.mi/mi2-read-memory.exp: Likewise.
12683 * gdb.mi/mi2-regs.exp: Likewise.
12684 * gdb.mi/mi2-return.exp: Likewise.
12685 * gdb.mi/mi2-simplerun.exp: Likewise.
12686 * gdb.mi/mi2-stack.exp: Likewise.
12687 * gdb.mi/mi2-stepi.exp: Likewise.
12688 * gdb.mi/mi2-syn-frame.exp: Likewise.
12689 * gdb.mi/mi2-until.exp: Likewise.
12690 * gdb.mi/mi2-var-block.exp: Likewise.
12691 * gdb.mi/mi2-var-child.exp: Likewise.
12692 * gdb.mi/mi2-var-cmd.exp: Likewise.
12693 * gdb.mi/mi2-var-display.exp: Likewise.
12694 * gdb.mi/mi2-watch.exp: Likewise.
12695 * gdb.stabs/exclfwd.exp: Likewise.
12696 * gdb.stabs/weird.exp: Likewise.
12697 * gdb.threads/gcore-thread.exp: Likewise.
12698 * gdb.trace/actions.exp: Likewise.
12699 * gdb.trace/backtrace.exp: Likewise.
12700 * gdb.trace/circ.exp: Likewise.
12701 * gdb.trace/collection.exp: Likewise.
12702 * gdb.trace/deltrace.exp: Likewise.
12703 * gdb.trace/infotrace.exp: Likewise.
12704 * gdb.trace/limits.exp: Likewise.
12705 * gdb.trace/packetlen.exp: Likewise.
12706 * gdb.trace/passc-dyn.exp: Likewise.
12707 * gdb.trace/passcount.exp: Likewise.
12708 * gdb.trace/report.exp: Likewise.
12709 * gdb.trace/save-trace.exp: Likewise.
12710 * gdb.trace/tfind.exp: Likewise.
12711 * gdb.trace/tracecmd.exp: Likewise.
12712 * gdb.trace/while-dyn.exp: Likewise.
12713 * gdb.trace/while-stepping.exp: Likewise.
12714
f4b618d1
JB
127152006-08-08 Joel Brobecker <brobecker@adacore.com>
12716
12717 * gdb.base/step-bt.c: New file.
12718 * gdb.base/step-bt.exp: New testcase.
12719
3d00d119
DJ
127202006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12721
12722 * config/monitor.exp (gdb_load): Remove support for obsolete
12723 download-write-size.
12724 * gdb.base/remote.exp: Likewise. Update all callers of
12725 gdb_timed_load.
12726
017b5bd4
DJ
127272006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12728
12729 * cursal.exp: Pass binfile to gdb_load.
12730
837c599d
DJ
127312006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12732
12733 * gdb.base/cursal.exp: Add "" to gdb_load call.
12734
8dd4540b
MK
127352006-07-29 Mark Kettenis <kettenis@gnu.org>
12736
12737 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12738 NetBSD/ELF targets.
12739
ab5c9f60
DJ
127402006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12741
12742 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12743 operator*.
12744
4c42eaff
DJ
127452006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12746
12747 * gdb.base/completion.exp: Update for change in "file" behavior.
12748 * gdb.stabs/weird.exp: Likewise.
12749 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12750 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12751
0155cc76
NS
127522006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12753
12754 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12755 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12756
16026cd7
AS
127572006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12758
12759 * gdb.base/default.exp: Update source command error message.
12760 * gdb.base/help.exp: Update 'help source' message.
12761
16963cb6
DJ
127622006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12763
12764 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12765 test.
12766
6d7fd486
AS
127672006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12768
12769 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12770
29e8a844
DJ
127712006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12772
12773 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12774
6afcfa39
DJ
127752006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12776
12777 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12778
267a692b
MK
127792006-07-17 Mark Kettenis <kettenis@gnu.org>
12780
12781 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12782 *-*-openbsd* from targets for wich we expect ARM FPA floating
12783 point format.
12784
85d2fec4
NR
127852006-07-17 Nick Roberts <nickrob@snap.net.nz>
12786
12787 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12788
127892006-07-17 Mark Kettenis <kettenis@gnu.org>
12790
12791 * gdb.base/annota3.exp: Expect frame-begin annotation.
12792
85b4c6e8
JB
127932006-07-14 Joel Brobecker <brobecker@adacore.com>
12794
12795 * gdb.base/help.exp: Adjust "help unset" test to accept
12796 any list of unset commands.
12797
fb933624
DJ
127982006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12799 Daniel Jacobowitz <dan@codesourcery.com>
12800
12801 * gdb.cp/ref-params.exp: New test.
12802 * gdb.cp/ref-params.cc: New source file.
12803 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12804
1dff4b64
MK
128052006-07-08 Mark Kettenis <kettenis@gnu.org>
12806
12807 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12808 spaces/tabs in regular expressions since they might not be there.
12809
40d2e0e3
AS
128102006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12811
12812 * gdb.base/ifelse.exp: New file.
12813
f6c957d2
NS
128142006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12815
12816 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12817 line.
12818 * gdb.base/huge.exp: Loop over compilation to find a size that
12819 is acceptable.
12820 * gdb.base/remote.exp: Correct expected strings.
12821 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12822
b9c5a23d
DJ
128232006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12824
12825 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12826
9af2e58d
DJ
128272006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12828
12829 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12830 native.
12831
30930ca5
DJ
128322006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12833
12834 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12835 enable stabs testing.
12836
aa32fa1d
DJ
128372006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12838
bd4a4c80 12839 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12840 gdb_test_multiple does.
12841
321fef15
DJ
128422006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12843
12844 * Makefile.in (host_alias): Remove.
12845 (target_alias): Use @target_noncanonical@.
12846 (site.exp): Don't set host_alias.
12847 * aclocal.m4: Remove contents. Include acx.m4.
12848 * configure: Regenerated.
12849 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12850
e1c2defa
NS
128512006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12852
e63b55d1
NS
12853 * lib/gdb.exp (gdb_load_cmd): New.
12854
5600ea19
NS
12855 * gdb.base/fileio.c: Add system(NULL) test.
12856 * gdb.base/fileio.exp: Check it.
12857
e1c2defa
NS
12858 * gdb.base/break.c: Add 10a breakpoint at }
12859 * gdb.base/break.exp: Add test for breakpoint at }
12860 * gdb.cp/anon-union.cc: Add code at end of function.
12861 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12862 * gdb.mi/var-cmd.c: Add code at end of function.
12863 * gdb.mi/mi-var-display.exp: Adjust end of next.
12864 * gdb.mi/mi2-var-display.exp: Likewise.
12865 * gdb.base/fileio.c: Add stop function and insert calls at
12866 stopping places.
12867 * gdb.base/fileio.exp: Breakpoint stop function and remove
12868 explicit line number references.
12869
6c0112ec
JB
128702006-05-19 Joel Brobecker <brobecker@adacore.com>
12871
a9c64011
AS
12872 * gdb.base/del.exp (test_delete_alias): New function.
12873 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12874
154189a4
FF
128752006-05-18 Fred Fish <fnf@specifix.com>
12876
12877 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12878 required. Check for spurious output after program exits normally.
12879
582e64c2
FF
128802006-05-17 Fred Fish <fnf@specifix.com>
12881
12882 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12883 gdb_load, so it works in the simulator.
12884
8ef6493a
FF
128852006-05-11 Fred Fish <fnf@specifix.com>
12886
12887 * gdb.base/bang.exp: Ignore unexpected output between the
12888 "program exited normally" and the gdb prompt, as many other
12889 tests do.
12890
692b141c
MK
128912006-05-07 Mark Kettenis <kettenis@gnu.org>
12892
12893 * gdb.base/help.exp: Make "delete checkpoint" part option for
12894 "help d" and "help delete" tests.
12895
540b8a30
UW
128962006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12897
a9c64011 12898 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12899 expected output in some mi_gdb_test statements.
12900 * gdb.mi/mi2-basics.exp: Likewise.
12901
9b6462d9
JB
129022006-05-05 Joel Brobecker <brobecker@adacore.com>
12903
12904 * gdb.base/del.c: New file.
12905 * gdb.base/del.exp: New testcase.
12906
954de43b
DM
129072006-05-05 David S. Miller <davem@sunset.davemloft.net>
12908
12909 * gdb.base/break.exp: Do not assume a breakpoint on
12910 main will actually be in $srcfile when optimizing.
1303f75e
DM
12911 * gdb.base/savedregs.exp: Do not require that the dummy
12912 frame location match up to a symbol and source file location.
c3242428
DM
12913 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12914 will get printed without a mi_cmd_data_list_register_values prefix.
12915 (*-data-list-register-*): Correct regular expressions to expect the new
12916 pseudo d? floating point registers.
12917 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12918
c7e64c9a
DJ
129192006-05-05 Christophe Lyon <christophe.lyon@st.com>
12920
12921 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12922 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12923 is allocated by the compiler.
12924 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12925 anons, e, anone to force their allocation by the compiler.
12926
129272006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12928
12929 * gdb.base/help.exp: Update expected text for help d and
12930 help delete.
12931
27ce9a6d
MK
129322006-05-02 Mark Kettenis <kettenis@gnu.org>
12933
12934 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12935 NetBSD/ELF targets.
12936
8608915f
MK
129372006-04-30 Mark Kettenis <kettenis@gnu.org>
12938
12939 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12940 single-step breakpoint fails; make this a KFAIL on
12941 sparc*-*-openbsd*.
12942 * gdb.base/siginfo.exp: Likewise.
12943 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12944
b8db102d
MS
129452006-04-26 Michael Snyder <msnyder@redhat.com>
12946
12947 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12948 which may have to consume output from other forks.
12949 Add tests to make sure that "delete fork" succeeded.
12950
c702009a
MS
129512006-04-20 Michael Snyder <msnyder@redhat.com>
12952
12953 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12954 Add support for the Renesas M32C and M16C.
12955
12956 * gdb.asm/asm-source.exp: Add m32c target.
12957 * gdb.asm/m32c.inc: Support for m32c target.
12958
e28493f2
AS
129592006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12960
12961 * gdb.base/commands.exp (recursive_source_test): New test.
12962
880da185
DM
129632006-04-04 David S. Miller <davem@sunset.davemloft.net>
12964
12965 * gdb.base/float.exp: Add pattern for sparc targets.
12966
61d9b92f
DJ
129672006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12968
12969 * gdb.base/commands.exp (stray_arg0_test): New test.
12970
bd717df8
PB
129712006-03-30 Paul Brook <paul@codesourcery.com>
12972
12973 * gdb.mi/mi-until.exp: kfail broken until command.
12974 * gdb.mi/mi2-until.exp: Ditto.
12975
ec793d3c
NR
129762006-03-27 Nick Roberts <nickrob@snap.net.nz>
12977
12978 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12979
831004b7
AO
129802006-03-08 Alexandre Oliva <aoliva@redhat.com>
12981
12982 * gdb.base/prelink.exp: Anchor tested-for regular expression
12983 on gdb prompt.
12984
effe49a0
PB
129852006-03-07 Paul Brook <paul@codesourcery.com>
12986
12987 * gdb.base/assign.exp: Correct fail message.
12988
e5461016
PB
129892006-03-07 Paul Brook <paul@codesourcery.com>
12990
12991 * lib/compiler.c: Extract armcc version number.
12992 * lib/compiler.cc: Ditto.
12993
fc91c6c2
PB
129942006-03-07 Paul Brook <paul@codesourcery.com>
12995
12996 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12997 additional_flags=-w.
12998 * gdb.arch/altivec-regs.exp: Ditto.
12999 * gdb.arch/e500-abi.exp: Ditto.
13000 * gdb.arch/e500-regs.exp: Ditto.
13001 * gdb.base/all-bin.exp: Ditto.
13002 * gdb.base/annota1.exp: Ditto.
13003 * gdb.base/annota3.exp: Ditto.
13004 * gdb.base/args.exp: Ditto.
13005 * gdb.base/arithmet.exp: Ditto.
13006 * gdb.base/assign.exp: Ditto.
13007 * gdb.base/async.exp: Ditto.
13008 * gdb.base/bang.exp: Ditto.
13009 * gdb.base/break.exp: Ditto.
13010 * gdb.base/call-rt-st.exp: Ditto.
13011 * gdb.base/completion.exp: Ditto.
13012 * gdb.base/cond-expr.exp: Ditto.
13013 * gdb.base/condbreak.exp: Ditto.
13014 * gdb.base/consecutive.exp: Ditto.
13015 * gdb.base/define.exp: Ditto.
13016 * gdb.base/display.exp: Ditto.
13017 * gdb.base/ena-dis-br.exp: Ditto.
13018 * gdb.base/environ.exp: Ditto.
13019 * gdb.base/eval-skip.exp: Ditto.
13020 * gdb.base/info-proc.exp: Ditto.
13021 * gdb.base/jump.exp: Ditto.
13022 * gdb.base/logical.exp: Ditto.
13023 * gdb.base/long_long.exp: Ditto.
13024 * gdb.base/maint.exp: Ditto.
13025 * gdb.base/miscexprs.exp: Ditto.
13026 * gdb.base/pc-fp.exp: Ditto.
13027 * gdb.base/pointers.exp: Ditto.
13028 * gdb.base/relational.exp: Ditto.
13029 * gdb.base/reread.exp: Ditto.
13030 * gdb.base/sect-cmd.exp: Ditto.
13031 * gdb.base/sep.exp: Ditto.
13032 * gdb.base/sepdebug.exp: Ditto.
13033 * gdb.base/until.exp: Ditto.
13034 * gdb.base/whatis-exp.exp: Ditto.
13035 * gdb.cp/annota2.exp: Ditto.
13036 * gdb.cp/annota3.exp: Ditto.
13037 * gdb.trace/actions.exp: Ditto.
13038 * gdb.trace/backtrace.exp: Ditto.
13039 * gdb.trace/circ.exp: Ditto.
13040 * gdb.trace/collection.exp: Ditto.
13041 * gdb.trace/deltrace.exp: Ditto.
13042 * gdb.trace/infotrace.exp: Ditto.
13043 * gdb.trace/limits.exp: Ditto.
13044 * gdb.trace/packetlen.exp: Ditto.
13045 * gdb.trace/passc-dyn.exp: Ditto.
13046 * gdb.trace/passcount.exp: Ditto.
13047 * gdb.trace/report.exp: Ditto.
13048 * gdb.trace/save-trace.exp: Ditto.
13049 * gdb.trace/tfind.exp: Ditto.
13050 * gdb.trace/tracecmd.exp: Ditto.
13051 * gdb.trace/while-dyn.exp: Ditto.
13052 * gdb.trace/while-stepping.exp: Ditto.
13053 * lib/gdb.exp: Ditto.
13054 (gdb_compile): Handle nowarning option.
13055
5f4a23d9
AO
130562006-03-07 Alexandre Oliva <aoliva@redhat.com>
13057
13058 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13059 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13060 Rename executable to prelinkt. Don't re-prelink if we didn't
13061 get a core file. Test prelink -u exit status to tell whether
13062 prelinking failed. Use gdb_test_multiple.
13063
9733fc94
DJ
130642006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13065
13066 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13067 (do_tests): Call it.
13068
cc10cae3
AO
130692006-02-28 Alexandre Oliva <aoliva@redhat.com>
13070
13071 * gdb.base/prelink.exp: New test.
13072 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13073
15c46491
WZ
130742006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13075
13076 * gdb.fortran/derived-type.f90: New file.
13077 * gdb.fortran/derived-type.exp: New testcase.
13078
5c9f7ded
DJ
130792006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13080
13081 * gdb.base/default.exp: Allow ';' as a directory separator.
13082
5b96932b
AS
130832006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13084
13085 * gdb.base/help.exp (help add-symbol-file): Update.
13086
1986bccd
AS
130872006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13088
13089 * gdb.base/help.exp (help load): Update expected results.
13090
a8b7528f
FF
130912006-02-19 Fred Fish <fnf@specifix.com>
13092
13093 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13094 specifix hex value as part of results.
13095 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13096
f8261448
FF
130972006-02-16 Fred Fish <fnf@specifix.com>
13098
13099 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13100 ushort_addr, and slong_addr, so the typedefs are not optimized
13101 away.
13102 * gdb.base/whatis.exp: Add tests using type name for struct type,
13103 union type, enum type, and typedef.
a9c64011 13104
31d8bdd2
MK
131052006-02-13 Mark Kettenis <kettenis@gnu.org>
13106
13107 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13108
34e41e63
JB
131092006-02-13 Jim Blandy <jimb@redhat.com>
13110
13111 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13112 case where it takes two "next" commands to skip past the init
13113 call.
13114
ac6e4f31
FF
131152006-02-12 Fred Fish <fnf@specifix.com>
13116
13117 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13118 to handle cases where it takes two "next" commands to skip
13119 past the init call.
13120
2db2d571
JB
131212006-02-07 Joel Brobecker <brobecker@adacore.com>
13122
13123 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13124 on hppa32 targets.
13125
38fcd64c
DJ
131262006-02-06 Vladimir Prus <ghost@cs.msu.su>
13127
13128 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13129 field.
13130
1315ad46
MK
131312006-01-29 Mark Kettenis <kettenis@gnu.org>
13132
13133 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13134
5625b943
DJ
131352006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13136
13137 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13138 files.
13139
80df1bbe
DJ
131402006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13141
13142 * gdb.cp/maint.exp: Set complaints to a positive value.
13143
9078e690
DJ
131442006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13145
13146 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13147 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13148 function name.
13149
9c903399
DJ
131502006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13151
13152 * gdb.base/checkpoint.c: Update copyright notice. Include
13153 <stdlib.h>.
13154
761ae4d6
JB
131552006-01-04 Jim Blandy <jimb@redhat.com>
13156
13157 * gdb.asm/asm-source.exp: Independently provide default values for
13158 asm-flags and debug-flags. Use 'string equal' to do the
13159 comparison, not the implicit expr's '==' operator. Remove
13160 now-unneeded assignments to asm-flags. In h8300 case, place
13161 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13162
099ac3dd
MS
131632006-01-04 Michael Snyder <msnyder@redhat.com>
13164
13165 * gdb.base/checkpoint.c: New file.
13166 * gdb.base/checkpoint.exp: New file.
13167 * gdb.base/multi-fork.c: New file.
13168 * gdb.base/multi-fork.exp: New file.
13169 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13170
f4d85314
FF
131712006-01-04 Fred Fish <fnf@specifix.com>
13172
13173 * gdb.base/ptype.c (foo): Add typedef.
13174 (intfoo): Add function.
13175 * gdb.base/ptype1.c: New file.
13176 * gdb.base/ptype.exp: Handle compilation and linking with two
13177 source files. Test that proper type for "foo" is found based
13178 on source context rather than first match found in symtabs.
13179
a1b06f35
MK
131802005-12-28 Mark Kettenis <kettenis@gnu.org>
13181
13182 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13183 * gdb.asm/openbsd.inc: Indent commands.
13184
d082a1e2
MK
131852005-12-26 Mark Kettenis <kettenis@gnu.org>
13186
c65016bd
MK
13187 * gdb.base/freebpcmd.exp: Increase timeout.
13188
d082a1e2
MK
13189 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13190
d3c32a0e
DJ
131912005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13192
13193 * gdb.base/default.exp: Update check for "show version".
13194
9fdb1f50
RC
131952005-12-09 Randolph Chung <tausq@debian.org>
13196
13197 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13198 * gdb.asm/pa64.inc: New file.
13199
5f2c56f7
RC
132002005-12-09 Randolph Chung <tausq@debian.org>
13201
13202 * gdb.asm/common.inc: Indent commands.
13203 * gdb.asm/asmsrc1.s: Likewise.
13204 * gdb.asm/asmsrc2.s: Likewise.
13205
8117349c
RC
132062005-12-09 Randolph Chung <tausq@debian.org>
13207
13208 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13209 (get_addr_of_sym): Remove duplicate print.
13210 (gen_core): xfail hppa*-*-hpux*, update expected output.
13211 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13212 * gdb.arch/pa64-nullify.s: New file.
13213
8f07f25a
RC
132142005-12-09 Randolph Chung <tausq@debian.org>
13215
13216 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13217
55b39184
DJ
132182005-12-07 Christophe Lyon <christophe.lyon@st.com>
13219
13220 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13221 code generation for these functions.
13222 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13223 error message.
13224
31e2b00f
AS
132252005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13226
13227 * gdb.base/help.exp (help b, help br, help bre, help brea)
13228 (help break): Update the expected message.
13229
c3d0b56e
SC
132302005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13231
13232 * gdb.asm/m68hc11.inc: Setup the data section.
13233 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13234 script for this test.
13235 (m6812-*-*): Likewise.
13236
36ae0ea9
RC
132372005-11-09 Randolph Chung <tausq@debian.org>
13238
13239 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13240
9d6f42e9
WZ
132412005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13242
13243 * gdb.base/break.exp: Fix a comment typo.
13244
e2126a14
EZ
132452005-11-03 Jim Blandy <jimb@redhat.com>
13246
a9c64011
AS
13247 Checked in by Elena Zannoni <ezannoni@redhat.com>
13248
889bf7c5 13249 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13250
e0ac7199
CV
132512005-11-02 Corinna Vinschen <vinschen@redhat.com>
13252
13253 * gdb.arch/gdb1558.c: Include stdio.h.
13254
31d3fb18
MK
132552005-10-31 Mark Kettenis <kettenis@gnu.org>
13256
13257 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13258
e52b687c
MK
132592005-10-31 Mark Kettenis <kettenis@gnu.org>
13260
13261 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13262
f4711d79
PG
132632005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13264
a9c64011
AS
13265 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13266 vscr" tests to better match output.
f4711d79 13267
987a9106
JB
132682005-10-12 Jim Blandy <jimb@redhat.com>
13269
13270 * gdb.base/structs.exp (any): New function.
13271 (test_struct_returns): Don't make any assumptions at all about
13272 what value the function returns when GDB can't set the return
13273 value.
13274
2336bb58
JB
132752005-10-09 Joel Brobecker <brobecker@adacore.com>
13276
13277 * gdb.ada/arrayidx/p.adb: New file.
13278 * gdb.ada/arrayidx.exp: New testcase
13279
132802005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13281
13282 * gdb.ada/array_return/pck.ads: New file.
13283 * gdb.ada/array_return/pck.adb: New file.
13284 * gdb.ada/array_return/p.adb: New file.
13285 * gdb.ada/array_return.exp: New testcase.
13286
705335ea
JB
132872005-10-03 Joel Brobecker <brobecker@adacore.com>
13288
a9c64011
AS
13289 * gdb.base/arrayidx.c: New file.
13290 * gdb.base/arrayidx.exp: New testcase.
705335ea 13291
11ee9940
NR
132922005-09-29 Nick Roberts <nickrob@snap.net.nz>
13293
13294 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13295 frames-invalid and breakpoints-invalid are no longer generated
13296 with level 3 so don't expect them in the output.
13297
39fb8e9e
BR
132982005-09-27 Bob Rossi <bob@brasko.net>
13299
a9c64011 13300 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13301 from test. Escape the | in mi_gdb_test call.
13302 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13303 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13304 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13305 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13306 expected regex's in mi_gdb_test calls.
13307 * lib/mi-support.exp: Remove arbitrary .* from tests.
13308 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13309 Fully anchor GDB/MI expected results in mi_gdb_test.
13310 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13311 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13312
2af48f68
PB
133132005-09-26 Paul Brook <paul@codesourcery.com>
13314
13315 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13316
f34502bc
WZ
133172005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13318
13319 * bfp-test.c: New file.
13320 * bfp-test.exp: New testcase.
13321
ca929517
WZ
133222005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13323
13324 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13325 of subarray and substring variable.
13326 * gdb.fortran/subarray.f: New source file for the test of subarray
13327 and substring variable evaluation.
13328 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13329 of string constant.
13330
c761af65
DJ
133312005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13332
13333 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13334 copyright dates.
13335
561d7a1d
PG
133362005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13337
13338 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13339 powerpc altivec' test with an almost identical 'info vector' test.
13340
b2b64cc9
PG
133412005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13342
a9c64011
AS
13343 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13344 vscr" tests to match output.
b2b64cc9 13345
6ac4d15a
PG
133462005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13347
a9c64011
AS
13348 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13349 output.
6ac4d15a 13350
40e55bef
BR
133512005-09-11 Bob Rossi <bob@brasko.net>
13352
889bf7c5
PA
13353 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13354 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13355 commands that return an MI output command and an asyncronous MI output
13356 command.
40e55bef
BR
13357 * gdb.mi/mi-console.exp: Ditto.
13358
3c7385ec
BR
133592005-09-11 Bob Rossi <bob@brasko.net>
13360
13361 * gdb.mi/mi-var-child.c: Include <string.h>.
13362
a6cd0eb3
DJ
133632005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13364
13365 * killed.exp: Correct gdb_expect syntax.
13366
2f168eed
CV
133672005-08-09 Corinna Vinschen <vinschen@redhat.com>
13368
13369 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13370
ecd3fd0f
BR
133712005-08-02 Bob Rossi <bob@brasko.net>
13372
13373 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13374 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13375 Change tests to inferior-tty-set/show.
13376 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13377 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13378 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13379 inferior. Use mi_gdb_test to get GDB and Inferior output.
13380 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13381 descriptor.
13382 (mi_inferior_tty_name): Add inferior PTY file name.
13383 (mi_gdb_start): Add INFERIOR_PTY parameter.
13384 (mi_gdb_test): Add IPATTERN parameter.
13385
f1ea48cb 133862005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13387
f1ea48cb
BR
13388 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13389 parameter to mi_gdb_test.
13390 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13391
6e650a67
DJ
133922005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13393
13394 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13395 struct_declarations.
13396 * gdb.mi/mi-var-child.exp: Step over the initialization of
13397 struct_declarations.
13398
8be260b6
DJ
133992005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13400
13401 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13402 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13403 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13404 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13405 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13406 file.
13407
4e660f07
NR
134082005-07-27 Nick Roberts <nickrob@snap.net.nz>
13409
13410 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13411 (do_children_tests): Assign values to the extra elements.
13412
13413 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13414 them for tests for "-var-update --no-values" and
a9c64011 13415 "-var-update --all-values".
4e660f07
NR
13416 Add test for "-var-list-children --simple-values".
13417
13418 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13419
13420 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13421 "-stack-list-locals --simple-values" Improve doc strings and
13422 comments.
13423
6bdae935
MK
134242005-07-18 Mark Kettenis <kettenis@gnu.org>
13425
598b7a6f
MK
13426 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13427 *-*-openbsd*.
13428 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13429
6bdae935
MK
13430 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13431 sigaltsatck'.
13432
1323e929 134332005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13434
1323e929
BR
13435 * gdb.base/default.exp (tty): Changed output of command.
13436 * gdb.base/help.exp (help tty): Ditto.
13437
b1a9c082
MK
134382005-07-12 Mark Kettenis <kettenis@gnu.org>
13439
13440 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13441
10a844a2
MK
134422005-07-10 Mark Kettenis <kettenis@gnu.org>
13443
13444 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13445 -stack-select-frame without arguments.
13446 (test_stack_frame_listing): Add test for newly implemented command
13447 -stack-info-frame.
13448
3cb3b8df
BR
134492005-07-06 Bob Rossi <bob@brasko.net>
13450
13451 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13452 command.
13453 (Copyright): Update copyright.
13454
a0c5fbcf
WZ
134552005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13456
13457 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13458 tests to evaluate exponentiation expression.
13459
984971d0
AS
134602005-06-29 Andreas Schwab <schwab@suse.de>
13461
13462 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13463 main to avoid warnings.
13464
13465 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13466
fe03833f
NR
134672005-06-20 Nick Roberts <nickrob@snap.net.nz>
13468
13469 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13470 -stack-select-frame without arguments.
13471 (test_stack_frame_listing): Add test for newly implemented command
13472 -stack-info-frame.
a9c64011 13473
7a55f279
WZ
134742005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13475
0ffa0ea5
DJ
13476 * gdb.fortran/array-element.f: New file.
13477 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13478
26585198
DJ
134792005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13480
13481 * gdb.base/bigcore.exp: Correct checks for systems which can
13482 not dump a large core file.
13483
c1bd25fd
DJ
134842005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13485
13486 * gdb.base/relocate.c: Add a copyright notice.
13487 (dummy): Remove.
13488 * gdb.base/relocate.exp: Test printing the values of variables
13489 from a relocatable file.
13490
589e074d
DJ
134912005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13492
13493 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13494 excess MI output after an error.
13495
0915f927
JB
134962005-05-29 Joel Brobecker <brobecker@adacore.com>
13497
13498 * gdb.arch/alpha-step.c: New file.
13499 * gdb.arch/alpha-step.exp: New testcase.
13500
76ff342d
DJ
135012005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13502 Dennis Brueni <dennis@slickedit.com>
13503
13504 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13505 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13506 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13507 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13508 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13509 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13510 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13511
96b0c7ac
DJ
135122005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13513 Wu Zhou <woodzltc@cn.ibm.com>
13514
13515 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13516 IBM's xlc compiler.
13517 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13518 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13519
f21565d2
JB
135202005-05-13 Jim Blandy <jimb@redhat.com>
13521
13522 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13523 calling gdb_suppress_entire_file.
13524 * gdb.base/charset.exp: Same.
13525 * gdb.base/call-rt-st.exp: Same.
13526
6006a3a1
BR
135272005-05-05 Bob Rossi <bob_rossi@cox.net>
13528
13529 * lib/gdb.exp (fullname_syntax): Added global regex.
13530 (fullname_syntax_POSIX): Ditto.
13531 (fullname_syntax_UNC): Ditto.
13532 (fullname_syntax_DOS_CASE): Ditto.
13533 (fullname_syntax_DOS): Ditto.
13534 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13535 fullname_syntax variable to scope and use it.
13536 (test_file_list_exec_source_files): Ditto.
13537 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13538
c3b69c04
DJ
135392005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13540
13541 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13542
3c95e6af
PG
135432004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13544
a9c64011
AS
13545 * lib/gdb.exp (skip_altivec_tests): New function, based on
13546 check_vmx_hw_available from the GCC testsuite.
13547 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13548 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13549
78df6c56
JB
135502005-05-02 Jim Blandy <jimb@redhat.com>
13551
13552 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13553 calling gdb_suppress_entire_file.
13554
1690f9cf
DJ
135552005-04-30 Randolph Chung <tausq@debian.org>
13556
13557 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13558 Slightly relax "sem_post" name checking.
13559
5ea106f7
PG
135602005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13561
13562 * gdb.base/unload.exp: Use new shared library infrastructure.
13563
bf7234cf
PG
135642005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13565
13566 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13567 infrastructure.
bf7234cf 13568
547b869a
CV
135692005-04-29 Corinna Vinschen <vinschen@redhat.com>
13570
13571 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13572 * gdb.asm/h8300.inc: New file.
13573
f07e55f0
PG
135742005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13575
13576 * gdb.base/shlib-call.exp: Change to use new shared library
13577 infrastructure.
13578
3cbba3d1
PG
135792005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13580
a9c64011
AS
13581 * gdb.base/pending.exp: Change to use new shared library
13582 infrastructure.
3cbba3d1 13583
ed6df200
PG
135842005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13585
a9c64011
AS
13586 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13587 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13588
8c8f4ebe
PG
135892005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13590
a9c64011
AS
13591 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13592 shared objects being adjusted and update copyright years.
8c8f4ebe 13593
607fbc54
DJ
135942005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13595
13596 * ChangeLog: Correct some 2003-01-13 dates.
13597 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13598 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13599 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13600 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13601 gdb.trace/tfind.exp: Update copyright years.
13602
57bf0e56
DJ
136032005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13604 Daniel Jacobowitz <dan@codesourcery.com>
13605
13606 * lib/gdb.exp (gdb_compile): Handle shlib=.
13607 (gdb_compile_shlib): New function.
13608
9b593790
PG
136092005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13610
a9c64011 13611 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13612
9494c6a5
DJ
136132005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13614
13615 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13616 gdb.server.
13617 * configure.ac: Likewise.
13618 * configure: Regenerated.
13619 * gdb.gdbserver/Makefile.in: Moved to...
13620 * gdb.server/Makefile.in: ... here.
13621 * gdb.gdbserver/server.c: Moved to...
13622 * gdb.server/server.c: ... here.
13623 * gdb.gdbserver/server-run.exp: Moved to...
13624 * gdb.server/server-run.exp: ... here.
13625
6f8eac0e
DJ
136262005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13627
13628 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13629 * configure.ac: Create gdb.gdbserver/Makefile.
13630 * configure: Regenerated.
13631 * lib/gdbserver-support.exp: New file, derived from
13632 config/gdbserver.exp.
13633 * config/gdbserver.exp: Use gdbserver-support.exp.
13634 * gdb.gdbserver/Makefile.in: New file.
13635 * gdb.gdbserver/server.c: New file.
13636 * gdb.gdbserver/server-run.exp: New file.
13637
6e87504d
PG
136382005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13639
a9c64011
AS
13640 * lib/gdb.exp (test_compiler_info): Return compiler_info
13641 if no arguments are given.
6e87504d 13642
d1779be4
PG
136432005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13644
13645 * gdb.arch/altivec-abi.exp: Check for compiler and set
13646 use altivec' flag accordingly.
13647 * gdb.arch/altivec-regs.exp: Likewise.
13648
88750304
DJ
136492005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13650
13651 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13652
f3fb768d
AS
136532005-03-27 Andreas Schwab <schwab@suse.de>
13654
13655 * gdb.base/bigcore.c (main): Add missing mode argument in open
13656 call.
13657
7e813ac5
DJ
136582005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13659
13660 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13661 downloads.
13662 * config/gdbserver.exp (gdb_load): Likewise.
13663
8e3049aa
PB
136642005-03-14 Paul Brook <paul@codesourcery.com>
13665
13666 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13667 targets.
13668
a9df7c44
JB
136692005-03-09 Joel Brobecker <brobecker@adacore.com>
13670
13671 * gdb.dwarf2/dup-psym.S: New file.
13672 * gdb.dwarf2/dup-psym.exp: New testcase.
13673
9f0d94e8
JB
136742005-03-09 Joel Brobecker <brobecker@adacore.com>
13675
13676 * gdb.ada/exec_changed/first.adb: New file.
13677 * gdb.ada/exec_changed/second.adb: New file.
13678 * gdb.ada/exec_changed.exp: New testcase.
13679
5f579bc5
NS
136802005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13681
36e9969c
NS
13682 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13683 (A2): New class.
13684 (main): Test operator+.
13685 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13686 breakpoint test.
13687
5f579bc5
NS
13688 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13689 * gdb.base/signull.exp: Disable if gdb,nosignals.
13690 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13691 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13692 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13693 * gdb.mi/mi2-console.exp: Likewise.
13694 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13695 continue output at start.
13696 (gdb_collect_locals_test): Robustify regexp.
13697 * gdb.trace/passc-dyn.exp: Fix comment typo.
13698 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13699
be46087e
CV
137002005-03-08 Corinna Vinschen <vinschen@redhat.com>
13701
13702 * gdb.asm/asm-source.exp: Add iq2000 case.
13703 * gdb.asm/iq2000.inc: New file.
13704
384e1a61 137052005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13706
384e1a61
MI
13707 * gdb.base/command.exp: Change hardcoded value to regular expression.
13708 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13709
584b6e9e
DJ
137102005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13711
13712 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13713 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13714 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13715 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13716 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13717
ab5b5d61
MK
137182005-03-05 Mark Kettenis <kettenis@gnu.org>
13719
13720 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13721 changes.
13722
ae051c1b
PG
137232004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13724
a9c64011
AS
13725 * lib/compiler.c: Add test for IBM's xlc compiler.
13726 * lib/compiler.cc: Likewise.
ae051c1b 13727
3f0f6ed2
JB
137282004-02-24 Joel Brobecker <brobecker@adacore.com>
13729
13730 * gdb.ada/fixed_points.exp: Create compilation object directory
13731 before running the test.
13732 * gdb.ada/null_record.exp: Likewise.
13733 * gdb.ada/packed_array.exp: Likewise.
13734 * gdb.ada/start.exp: Likewise.
13735
724f452b
JB
137362005-02-15 Joel Brobecker <brobecker@adacore.com>
13737
13738 * gdb.ada/packed_array/pa.adb: New file.
13739 * gdb.ada/packed_array.exp: New testcase.
13740
57f5cdfb 137412005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13742
1f393151
MK
13743 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13744 files.
13745
ebdda337
MK
13746 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13747 on *-*-openbsd*. Correctly match whitespace in regukar
13748 expressions.
13749
cf309262
DJ
137502005-02-10 Daniel Jacobowitz <dan@debian.org>
13751
13752 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13753 PR exp/1821
13754 * gdb.base/gdb1821.c: New test file.
13755 * gdb.base/gdb1821.exp: New test file.
13756
3be49e7a
JB
137572005-02-09 Joel Brobecker <brobecker@adacore.com>
13758
13759 * gdb.base/start.c: New file.
13760 * gdb.base/start.exp: New testcase.
13761
e292e67d
JB
137622005-02-09 Joel Brobecker <brobecker@adacore.com>
13763
13764 * gdb.ada/start/dummy.adb: New file.
13765 * gdb.ada/start.exp: New testcase.
13766
dbdfa66c
CV
137672005-02-09 Corinna Vinschen <vinschen@redhat.com>
13768
13769 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13770 for printing symbols and statistics.
13771 Add test for using relative pathnames in "maint print msymbols" test.
13772 Mark "maint info sections DATA" XFAIL on Cygwin.
13773 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13774 tests.
13775
d7941671
AC
137762005-02-09 Andreas Schwab <schwab@suse.de>
13777
13778 Committed by Andrew Cagney <cagney@gnu.org>
13779 * gdb.base/remotetimeout.exp: New file.
13780
74e5ef44
MK
137812005-02-07 Mark Kettenis <kettenis@gnu.org>
13782
13783 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13784
464dd14d
JB
137852005-02-03 Joel Brobecker <brobecker@adacore.com>
13786
13787 * gdb.ada/gnat_ada.gpr: New file.
13788 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13789 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13790 * configure.ac: No longer generate gnat_ada.gpr.
13791 * configure: Regenerate.
13792 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13793 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13794 * gdb.ada/null_record/bar.ads: Likewise.
13795 * gdb.ada/null_record/bar.adb: Likewise.
13796 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13797 * gdb.ada/null_record.exp (testdir): New variable.
13798 (testfile): executable is now in testdir subdirectory.
13799 (srcfile): Use full path to the main compilation unit.
13800 * gdb.ada/fixed_points.exp: Same changes as above.
13801
30d756ae
NR
138022005-02-03 Nick Roberts <nickrob@snap.net.nz>
13803
13804 * gdb.base/interp.exp: New test.
13805
9d799f85
AC
138062005-01-24 Andrew Cagney <cagney@gnu.org>
13807
13808 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13809
15656118
AC
138102005-01-19 Andrew Cagney <cagney@gnu.org>
13811
a892c31b
AC
13812 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13813 configure.ac not configure.in.
13814
15656118
AC
13815 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13816 of powerpc*-*-*.
13817 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13818 * gdb.base/list.exp (test_list_function)
15656118
AC
13819 (test_list_filename_and_function): Ditto.
13820 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13821
a7b01baf
AC
138222005-01-16 Andrew Cagney <cagney@gnu.org>
13823
17d92a02
AC
13824 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13825
a7b01baf
AC
13826 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13827
bc8332bb
AC
138282005-01-14 Andrew Cagney <cagney@gnu.org>
13829
13830 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13831 * gdb.mi/mi2-var-cmd.exp: Ditto.
13832
4d074752
CV
138332005-01-10 Corinna Vinschen <vinschen@redhat.com>
13834
13835 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13836
bec39cab
AC
138372005-01-07 Andrew Cagney <cagney@gnu.org>
13838
13839 * configure.ac: Rename configure.in, require autoconf 2.59.
13840 * configure: Re-generate.
13841 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13842 * gdb.stabs/configure: Re-generate.
13843 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13844 * gdb.hp/configure: Re-generate.
13845 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13846 autoconf 2.59.
13847 * gdb.hp/gdb.objdbg/configure: Re-generate.
13848 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13849 autoconf 2.59.
13850 * gdb.hp/gdb.defects/configure: Re-generate.
13851 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13852 autoconf 2.59.
13853 * gdb.hp/gdb.compat/configure: Re-generate.
13854 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13855 autoconf 2.59.
13856 * gdb.hp/gdb.base-hp/configure: Re-generate.
13857 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13858 autoconf 2.59.
13859 * gdb.hp/gdb.aCC/configure: Re-generate.
13860
f10b16d4
JB
138612004-12-15 Jim Blandy <jimb@redhat.com>
13862
13863 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13864 under NPTL when there is debugging info available for libpthread.
13865
fb6e1814
JG
138662004-12-13 Jerome Guitton <guitton@gnat.com>
13867
13868 * gdb.ada/fixed_points.c: New file.
13869 * gdb.ada/fixed_points.exp: New file.
13870
fe46cd3a
RC
138712004-12-03 Randolph Chung <tausq@debian.org>
13872
13873 * gdb.arch/pa-nullify.exp: New file.
13874 * gdb.arch/pa-nullify.s: New file.
13875
8de0841b
RC
138762004-11-30 Randolph Chung <tausq@debian.org>
13877
13878 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13879 instead of "tbug". Fix regexp to work properly with gdb_test.
13880
c8170782
PH
138812004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13882
13883 * gdb.base/bitfields2.exp: New test.
13884 * gdb.base/bitfields2.c: New file.
13885
954269c2
RE
138862004-11-28 Richard Earnshaw <rearnsha@arm.com>
13887
13888 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13889
0107feed
RC
138902004-11-16 Randolph Chung <tausq@debian.org>
13891
13892 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13893
f073ae8c
DJ
138942004-11-14 Daniel Jacobowitz <dan@debian.org>
13895
13896 * gdb.threads/threadapply.exp: Correct "macro details" test.
13897
19ad59e7
JJ
138982004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13899
13900 * gdb.threads/threadapply.exp: New test.
13901 * gdb.threads/threadapply.c: New file.
13902
9cf0961b
MK
139032004-11-07 Mark Kettenis <kettenis@gnu.org>
13904
13905 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13906 frames.
13907
c789492a
FL
139082004-11-05 Felix Lee <felix+log1@specifixinc.com>
13909
13910 * gdb.base/cursal.exp: New file.
13911 * gdb.base/cursal.c: New file.
13912
a1e167bb
AC
139132004-11-03 Andrew Cagney <cagney@gnu.org>
13914
13915 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13916
b7cbf173
MK
139172004-10-30 Mark Kettenis <kettenis@gnu.org>
13918
13919 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13920 NetBSD/ELF targets.
13921
88f9d34f
JB
139222004-10-29 Joel Brobecker <brobecker@gnat.com>
13923
13924 * gdb.threads/bp_in_thread.c: New file, copied from
13925 pthread_cond_wait.c.
13926 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13927 file, rather than reusing the .c file from another testcase.
13928
ca7d6a0c
JB
139292004-10-20 Joel Brobecker <brobecker@gnat.com>
13930
13931 * gdb.ada/null_record.exp: Check where we stopped after
13932 sending the start command, instead of where the associated
13933 temporary breakpoint was inserted.
13934
0d863d03
AC
139352004-10-14 Andrew Cagney <cagney@gnu.org>
13936
13937 * gdb.mi/gdb701.c (main): Return 0.
13938
d11e72cb
DJ
139392004-10-13 Daniel Jacobowitz <dan@debian.org>
13940
d40539a4 13941 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13942
e1923096
JJ
139432004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13944
13945 * gdb.threads/schedlock.c: Add comment markers to use to find
13946 line numbers.
13947 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13948 comments.
13949 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13950 breakpoint lines.
13951
ec8ba2c9
DJ
139522004-10-12 Daniel Jacobowitz <dan@debian.org>
13953
13954 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13955
0eb3658b
DJ
139562004-10-12 Daniel Jacobowitz <dan@debian.org>
13957
13958 * configure.in: Add gdb.dwarf2.
13959 * configure: Regenerated.
13960 * Makefile.in: Add gdb.dwarf2.
13961 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13962 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13963 gdb.dwarf2/file1.txt: New files.
13964
a271cc33
OF
139652004-10-11 Orjan Friberg <orjanf@axis.com>
13966
a9c64011 13967 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13968 of "run", since the latter doesn't work with remote targets. Adjust
13969 the breakpoint numbering accordingly.
13970 * gdb.threads/pthread_cond_wait.exp: Ditto.
13971
895ce074
MC
139722004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13973
13974 * gdb.base/overlays.exp: Update copyright years.
13975
6be3092d
KI
139762004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13977
13978 * gdb.base/overlays.exp: Disable if target is Linux.
13979
e05389b8
FL
139802004-10-06 Felix Lee <felix+log1@specifixinc.com>
13981
13982 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13983
73cb587d
KI
139842004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13985
13986 * gdb.asm/asm-source.exp: Add m32r-linux target.
13987 * gdb.asm/m32r-linux.inc: New file.
13988
3c0edcdc
AC
139892004-09-24 Andrew Cagney <cagney@redhat.com>
13990 David Anderson <anderson@redhat.com>
13991
13992 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13993 command fails, assume things will work.
13994 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13995 (_GNU_SOURCE): Define.
13996 (print_unsigned, print_hex): Change parameter to "long long".
13997 (print_byte_count): New function, use to print byte counts.
13998 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13999 O_LARGEFILE.
14000 (main): Compute an upper bound on a corefile in max_core_size.
14001 Limit memory chunk size to max_core_size. Limit total memory
14002 allocated to max_core_size.
14003
4bb3667f
AC
140042004-09-23 Andrew Cagney <cagney@gnu.org>
14005
14006 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14007 from a separate process with code that creates a corefile by
14008 making the inferior dump core.
14009
60fe1a51
MK
140102004-09-23 Mark Kettenis <kettenis@gnu.org>
14011
14012 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14013 block.
14014
8e937346
MC
140152004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14016
14017 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14018 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14019 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14020 Likewise.
14021
7213f6d6
JJ
140222004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14023
14024 * gdb.java/jprint.exp: New test case for java inferior call.
14025 * gdb.java/jprint.java: Ditto.
14026
eac69dca
JB
140272004-09-15 Joel Brobecker <brobecker@gnat.com>
14028
14029 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14030
22227696
MC
140312004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14032
14033 * gdb.threads/killed.c: Include <stdlib.h>.
14034 * gdb.threads/pthreads.c: Likewise.
14035
7dd403a4
MC
140362004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14037
14038 * gdb.threads/killed.c: Add copyright notice.
14039
33f2d567
JM
140402004-09-10 Jason Molenda (jmolenda@apple.com)
14041
a9c64011
AS
14042 * gdb.base/define.exp: Two new tests to verify zero space chars
14043 after 'if' and 'while' commands in a user-defined command is correctly
14044 parsed.
33f2d567 14045
e05b62ac
AC
140462004-09-08 Andrew Cagney <cagney@gnu.org>
14047
14048 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14049 delivery test with duplicate at end of file.
14050
9cbe82da
MK
140512004-09-06 Mark Kettenis <kettenis@jive.nl>
14052
14053 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14054
564803d9
MC
140552004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14056
14057 * config/hppro.exp: Removed.
14058
7c6807ce
MC
140592004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14060
14061 * config/sparclet.exp: Removed.
14062
bf7e26dd
MC
140632004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14064
14065 * config/udi.exp: Removed.
14066
714e341b
MC
140672004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14068
14069 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14070 of "exp_continue".
14071 (advancei): Likewise.
14072
1236e623
JJ
140732004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14074
14075 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14076
3bdcad15
MI
140772004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14078
228af206 14079 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14080 to check for nodebug in executable.
14081 * gdb.gdb/observer.exp (setup_test): Likewise.
14082 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14083 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14084
c72b934c
AC
140852004-09-01 Andrew Cagney <cagney@gnu.org>
14086
14087 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14088 files.
14089
edd9b715
JJ
140902004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14091
14092 * gdb.base/unload.exp: Fix expected warning message to match
14093 latest format.
14094
fb4ce06b
CV
140952004-09-01 Corinna Vinschen <vinschen@redhat.com>
14096
14097 * gdb.base/call-rt-st.exp: Fix typos.
14098
ce78e7c3
MI
140992004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14100
14101 * gdb.threads/thread_check.exp: New testcase.
14102 * gdb.threads/thread_check.c: New testcase.
14103
2dedb159
AC
141042004-08-31 Andrew Cagney <cagney@gnu.org>
14105
14106 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14107 (skip_to_handler_entry): New procedures. Test stepping into a
14108 handler when the breakpoint is at the handler's entry point.
14109
68f53502
AC
141102004-08-30 Andrew Cagney <cagney@gnu.org>
14111
14112 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14113 gdb/1757.
14114
3e3ffd2b
MC
141152004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14116
14117 With code from Manoj Iyer <manjo@austin.ibm.com>:
14118 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14119 return value. Add an arm for "no debugging symbols found".
14120 Change a stray "error" to "perror".
14121 (gdb_run_cmd): Adapt to new return value.
14122 * gdb.base/remote.exp: Adapt to new return value.
14123 * gdb.gdb/complaints.exp: Likewise.
14124 * gdb.gdb/observer.exp: Likewise.
14125 * gdb.gdb/selftest.exp: Likewise.
14126 * gdb.gdb/xfullpath.exp: Likewise.
14127
4b6f5fd2
JB
141282004-08-27 Joel Brobecker <brobecker@gnat.com>
14129
14130 * gdb.threads/bp_in_thread.exp: New testcase.
14131
e5b25496
MC
141322004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14133
14134 Fix PR testsuite/1735.
14135 * gdb.threads/schedlock.c (thread_function): Add a cast
14136 to suppress a gcc warning.
14137 * gdb.threads/thread-specific.c (thread_function): Likewise.
14138
934353d6
MC
141392004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14140
14141 * gdb.base/unload.c: Include <stdlib.h>.
14142
f98a0aef 141432004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14144
f98a0aef 14145 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14146 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14147 synchronized after the "return".
14148
5a2e8882
MC
141492004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14150
14151 * gdb.mi/basics.c: Include <stdio.h>.
14152 * gdb.mi/pthreads.c: Include <stdlib.h>.
14153 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14154
a9640423
MC
141552004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14156
14157 * gdb.threads/schedlock.c: Add copyright notice.
14158
b04e311d
AC
141592004-08-25 Andrew Cagney <cagney@gnu.org>
14160
14161 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14162 (skip_over_handler, breakpoint_over_hander): New test procedures.
14163 (advance, advancei): Add a proper prefix, do not use
14164 rerun_to_main.
14165 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14166
7c27f15b
MC
141672004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14168
14169 * gdb.mi/basics.c: Add copyright notice.
14170 * gdb.mi/var-cmd.c: Add copyright notice.
14171
fffc87ae
MC
141722004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14173
14174 * lib/gdb.exp: Remove signed_keyword_not_used.
14175 * lib/compiler.c: Likewise.
14176 * lib/compiler.cc: Likewise.
14177
d782e0bf
MC
141782004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14179
14180 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14181 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14182
96033e83
MC
141832004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14184
14185 * gdb.base/whatis.c: Add copyright notice.
14186
cf38c229
MK
141872004-08-20 Mark Kettenis <kettenis@gnu.org>
14188
14189 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14190 it to skip the breakpoints encoded in the inline assembly.
14191
f4b49756
MC
141922004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14193
14194 * Makefile.in: Add gdb.fortran.
14195
2f193b69
MC
141962004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14197
14198 * gdb.base/call-sc.exp (test_scalar_returns):
14199 Fix cut-and-paste glitch in "Make fun return now".
14200
89a237cb
MC
142012004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14202
14203 * configure.in: Add gdb.fortran.
14204 * configure: Regenerate.
14205 * gdb.fortran/Makefile.in: New file.
14206 * lib/gdb.exp (skip_fortran_tests): New procedure.
14207
469aff8e
MC
142082004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14209
14210 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14211 reference to bug-gnu@prep.ai.mit.edu.
14212 * gdb.mi/mi-var-child.exp: Likewise.
14213 * gdb.mi/mi-var-cmd.exp: Likewise.
14214 * gdb.mi/mi-var-display.exp: Likewise.
14215 * gdb.mi/mi2-var-block.exp: Likewise.
14216 * gdb.mi/mi2-var-child.exp: Likewise.
14217 * gdb.mi/mi2-var-cmd.exp: Likewise.
14218 * gdb.mi/mi2-var-display.exp: Likewise.
14219
00b51b9f
MK
142202004-08-15 Mark Kettenis <kettenis@gnu.org>
14221
14222 * gdb.base/unload.c (main): Make local variable msg const.
14223
45f07fef
MC
142242004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14225
14226 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14227 to bug-gnu@prep.ai.mit.edu.
14228 * gdb.mi/mi-disassemble.exp: Likewise.
14229 * gdb.mi/mi-eval.exp: Likewise.
14230 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14231 default line number.
14232 * gdb.mi/mi-return.exp: Likewise.
14233 * gdb.mi/mi-simplerun.exp: Likewise.
14234 * gdb.mi/mi-stack.exp: Likewise.
14235 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14236 number with explicit range test.
14237 * gdb.mi/mi-watch.exp: Likewise.
14238 * gdb.mi/mi2-break.exp: Likewise.
14239 * gdb.mi/mi2-cli.exp: Likewise.
14240 * gdb.mi/mi2-disassemble.exp: Likewise.
14241 * gdb.mi/mi2-eval.exp: Likewise.
14242 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14243 default line number.
14244 * gdb.mi/mi2-return.exp: Likewise.
14245 * gdb.mi/mi2-simplerun.exp: Likewise.
14246 * gdb.mi/mi2-stack.exp: Likewise.
14247 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14248 number with explicit range test.
14249 * gdb.mi/mi2-watch.exp: Likewise.
14250
dd8c8ee7
MC
142512004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14252
14253 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14254 * gdb.cp/m-static.exp: Likewise.
14255 * gdb.cp/rtti.exp: Likewise.
14256
4e838464
MK
142572004-08-14 Mark Kettenis <kettenis@gnu.org>
14258
14259 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14260
8d8cb839
EZ
142612004-08-14 Eli Zaretskii <eliz@gnu.org>
14262
14263 * ChangeLog: Prefix Local Variables with semi-colons and indent
14264 the reference to older ChangeLog files, to fix fontification in
14265 Emacs.
14266
deea8bb0
MC
142672004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14268
14269 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14270 * gdb.mi/mi2-break.exp: Likewise.
14271
c3297504
MC
142722004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14273
14274 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14275
25808999
MC
142762004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14277
14278 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14279
226a8d71
MC
142802004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14281
14282 * gdb.cp/classes.exp: Remove unused declarations. Just let
14283 test names default instead of providing special names. Remove
14284 extraneous demangler test.
14285
37fdf854
JJ
142862004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14287
14288 * gdb.base/unload.exp: New test for breakpoints in dynamically
14289 loaded libraries.
14290 * gdb.base/unload.c: Ditto.
14291 * gdb.base/unloadshr.c: Ditto.
14292
2d3a7986
MC
142932004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14294
14295 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14296 cp_test_ptype_class.
14297 (test_enums): Likewise.
14298
c72b934c
AC
142992004-08-10 Andrew Cagney <cagney@gnu.org>
14300
14301 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14302 files.
14303
cc503c8a
AC
143042004-08-10 Andrew Cagney <cagney@gnu.org>
14305
14306 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14307 init_malloc call.
14308
902f2ccb
MC
143092004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14310
14311 * ChangeLog: Add copyright notice. The notice is copied
14312 from emacs 21.3 top level ChangeLog.
14313
78c90502
MC
143142004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14315
14316 * lib/cp-support.exp: New file.
14317 * lib/cp-support.exp (cp_test_type_class): New function.
14318 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14319 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14320 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14321 cp_test_ptype_class.
14322
88e5ea78
MC
143232004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14324
14325 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14326 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14327 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14328 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14329 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14330 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14331 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14332 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14333 gdb.mi/mi2-watch.exp: Update copyright years.
14334
6a89fc9c
MK
143352004-08-09 Mark Kettenis <kettenis@gnu.org>
14336
14337 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14338
1482e0de
MC
143392004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14340
14341 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14342 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14343 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14344 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14345 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14346 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14347 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14348 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14349 gdb.mi/mi-watch.exp: Update copyright years.
14350
1a5ce3f3
DJ
143512004-08-08 Daniel Jacobowitz <dan@debian.org>
14352
14353 PR gdb/1738
14354 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14355 from a breakpoint with a pending signal.
14356
04f6ecf2
DJ
143572004-08-08 Daniel Jacobowitz <dan@debian.org>
14358
14359 PR gdb/1736
14360 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14361 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14362 the prompt.
14363 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14364
54d90d35
DJ
143652004-08-08 Daniel Jacobowitz <dan@debian.org>
14366
14367 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14368
d2f6abb0
DJ
143692004-08-08 Daniel Jacobowitz <dan@debian.org>
14370
14371 PR gdb/1736
14372 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14373 for i?86-*-linux*.
14374
5598c03d
DJ
143752004-08-08 Daniel Jacobowitz <dan@debian.org>
14376
14377 * gdb.arch/i386-prologue.exp: Compile without debug information.
14378
c6fee705
MC
143792004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14380
14381 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14382 rather than asking gdb to search.
14383
dd90efdb
MC
143842004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14385
14386 * gdb.base/gcore.c: Include <string.h>.
14387
1e84bec1
MC
143882004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14389
14390 * gdb.base/gcore.c: Add copyright notice.
14391
e425eb2b
MC
143922004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14393
14394 * gdb.base/freebpcmd.c: Include <stdio.h>.
14395 * gdb.base/long_long.c: Include <string.h>.
14396 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14397 * gdb.base/siginfo.c: Include <string.h>.
14398 * gdb.base/sigstep.c: Include <string.h>.
14399
cb9aaed5
MC
144002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14401
14402 * gdb.base/complex.c: Include <stdlib.h>.
14403
55944f3d
MC
144042004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14405
14406 * gdb.base/complex.c: Add copyright notice.
14407
7b2953d9
MC
144082004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14409
14410 * gdb.base/charset.c: Include <stdlib.h>.
14411
c9133d23
MC
144122004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14413
14414 * gdb.base/auxv.c: Include <stdlib.h>.
14415
0a8490ad
MC
144162004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14417
14418 * gdb.base/auxv.c: Add copyright notice.
14419
3426d5ec
MC
144202004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14421
14422 * gdb.base/coremaker.c: Add copyright notice.
14423 * gdb.base/coremaker2.c: Add copyright notice.
14424
8da195dd
AC
144252004-08-04 Andrew Cagney <cagney@gnu.org>
14426
14427 * gdb.base/store.exp: Update copyright.
14428 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14429 names, do not import gdb_prompt.
14430
8d394f98
AC
144312004-08-01 Andrew Cagney <cagney@gnu.org>
14432
14433 Fix PR testsuite/1729.
14434 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14435 not use capture_value with value 4.
14436 (capture_value): Add optional test name parameter.
14437 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14438 the prefix, pass to capture_value.
14439
b6702b23
MK
144402004-08-01 Mark Kettenis <kettenis@gnu.org>
14441
14442 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14443 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14444 (main): Call new function.
14445
c203e0ca
MC
144462004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14447
14448 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14449
a7995a30
MC
144502004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14451
14452 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14453
9366563b
MC
144542004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14455
b6eeaf26 14456 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14457 Accept more values of vtbl pointer. Remove some messages
14458 about "obsolete gcc or gdb".
14459
2fc1f950
MC
144602004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14461
14462 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14463
c724d49b
MC
144642004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14465
14466 * gdb.base/asm-source.exp: Properly convert target board
14467 debug flags from gcc format to binutils format.
14468
736b0fce
MK
144692004-07-28 Mark Kettenis <kettenis@gnu.org>
14470
14471 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14472 gdb1718". PR backtrace/1718 partially fixed.
14473
5633ea5c
JJ
144742004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14475
14476 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14477
575eebb1
NC
144782004-07-26 Nick Clifton <nickc@redhat.com>
14479
14480 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14481 good default value for a specific architecture is available then
14482 set it to that value. Otherwise default to the -gstabs switch.
14483 Remove the -g... switches from the asm-flags variable. Allow the
14484 target board info to override the value if it wants to. Pass the
14485 switch on the assembler command line.
14486
62104619
MK
144872004-07-23 Mark Kettenis <kettenis@gnu.org>
14488
14489 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14490 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14491 (main): Call new function.
14492
4a1135b8
MC
144932004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14494
14495 Test for PR exp/1715.
14496 * gdb.base/radix.exp: Refactor common procedures. Make all
14497 test names unique. Change XFAIL to KFAIL.
14498
8a12c1f0
MC
144992004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14500
14501 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14502 * gdb.ada/gnat_ada.gin: ... to here.
14503 * configure.in: Use gnat_ada.gin.
14504 * configure: Regenerate.
14505
23b451cf
AC
145062004-07-20 Andrew Cagney <cagney@gnu.org>
14507
14508 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14509 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14510 XFAILs. Clean up test messages and comments. Check backtraces.
14511 Delete re-sync code.
14512
ab618a02
MC
145132004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14514
14515 Fix PR cli/740.
14516 * gdb.base/annota1.exp: Honor gdb,nosignals.
14517 * gdb.base/annota3.exp: Likewise.
14518
46dad340
MC
145192004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14520
14521 * lib/java.exp: Update copyright notice.
14522
756d8c70
AC
145232004-07-19 Andrew Cagney <cagney@gnu.org>
14524
14525 * gdb.base/selftest.exp: Copy file from here ...
14526 * gdb.gdb/selftest.exp: ... to here.
14527
586027e6
AC
145282004-07-16 Andrew Cagney <cagney@redhat.com>
14529
14530 * lib/insight-support.exp: Delete file.
14531 * lib/java.exp (java_init): Fix copyright.
14532
029d2200
AC
145332004-07-16 Andrew Cagney <cagney@gnu.org>
14534
14535 * gdb.base/restore.c: Append "prologue" to comments marking the a
14536 function's prologue.
14537 * gdb.base/restore.exp: Update copyright, re-indent.
14538 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14539 callerN" prefix where needed. Update patterns that match a
14540 function's prologue.
14541
653b62c5
MC
145422004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14543
14544 * gdb.base/restore.c: Add copyright notice.
14545
f7d690e5
AC
145462004-07-16 Andrew Cagney <cagney@gnu.org>
14547
14548 * gdb.base/logical.exp: Update copyright.
14549 (evaluate): New procedure. Use to re-implement tests using
14550 several tables.
14551
d629a7cb
MH
145522004-07-14 Martin Hunt <hunt@redhat.com>
14553
14554 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14555 which fixes some problems where init.tcl was not found.
14556
9c7bb332
AC
145572004-07-13 Andrew Cagney <cagney@gnu.org>
14558
6bf46641
AC
14559 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14560 (check_sizeof, check_valueof): Do not include the output in the
14561 test name. Use gdb_test.
14562 (get_valueof): Use gdb_test_multiple.
14563
c4ffd4c0
AC
14564 * gdb.base/step-test.exp: Update copyright. Use
14565 gdb_test_multiple. Ensure that test names do not include
14566 architecture dependent output.
14567
ab89363a
AC
14568 * gdb.gdb/observer.exp: Update copyright.
14569 (setup_test): Use gdb_test_multiple.
14570 (attach_first_observer, attach_second_observer)
14571 (attach_third_observer, detach_first_observer)
14572 (detach_second_observer, detach_third_observer)
14573 (reset_counters, check_counters): Make $message a prefix.
14574 (test_normal_stop_notifications): Add "args" parameter - a list of
14575 init functions to be called. Make $message a prefix,
14576 (test_observer_normal_stop): Change the message prefixes so that
14577 they are unique, pass the attach / detach procedures to
14578 test_normal_stop_notifications.
14579
ec58997a
AC
14580 * gdb.base/signull.exp (test_segv): Prefix all tests with
14581 "${name}". Clean up test messages.
14582
b475183b
AC
14583 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14584
9c7bb332
AC
14585 * gdb.base/ena-dis-br.exp: Update copyright.
14586 (break_at): New function. Replace send_gdb with gdb_test,
14587 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14588 ignore count, not stopped at bpt", with KFAIL.
14589
2dd95497
CV
145902004-07-13 Corinna Vinschen <vinschen@redhat.com>
14591
14592 * gdb.base/attach.exp: Remove cleanupfile handling.
14593
419e626b
AC
145942004-07-12 Andrew Cagney <cagney@gnu.org>
14595
14596 * gdb.base/annota1.exp: Cleanup corefile test name.
14597 * gdb.base/annota3.exp: Ditto.
14598
8b1b3228
AC
145992004-07-12 Andrew Cagney <cagney@gnu.org>
14600
78650829
AC
14601 * gdb.base/signals.exp: Clean up copyright, re-indent.
14602
8b1b3228
AC
14603 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14604 gdb_test and gdb_test_multiple.
14605
935c2760
JJ
146062004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14607
14608 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14609 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14610 provide line number info for first statement in main.
14611
1544280f
AC
146122004-07-08 Andrew Cagney <cagney@gnu.org>
14613
1279f4ff
AC
14614 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14615
1544280f
AC
14616 * gdb.base/sigbpt.exp: Make the common part of each test name a
14617 prefix instead of suffix.
14618
bcc82369
BR
146192004-07-07 Bob Rossi <bob_rossi@cox.net>
14620
14621 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14622 test from test_tbreak_creation_and_listing to
14623 test_file_list_exec_source_file
14624 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14625 Changed name of test from test_tbreak_creation_and_listing to
14626 test_file_list_exec_source_file
14627
23f4b0aa
JJ
146282004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14629
14630 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14631 the jmisc() constructor instead of <init>.
14632 * gdb.java/jmisc1.exp: Ditto.
14633
56401cd5
AC
146342004-07-07 Andrew Cagney <cagney@gnu.org>
14635
14636 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14637 corrupting the PC.
14638
44ae2f6a
MC
146392004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14640
14641 * gdb.cp/templates.exp: Accept whitespace change in demangler
14642 output.
14643
45a83408
AC
146442004-07-06 Andrew Cagney <cagney@gnu.org>
14645
14646 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14647
d205ad70
MC
146482004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14649
14650 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14651 * lib/compiler.cc: Likewise.
14652
06ea1a61
MC
146532004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14654
14655 * lib/compiler.cc: Work around string preprocessing problem
14656 with old hp c++ compiler.
14657 * lib/compiler.c: Likewise.
14658
daab1251
CV
146592004-06-29 Corinna Vinschen <vinschen@redhat.com>
14660
14661 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14662 directives to conditionalize symbol prefixing.
14663 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14664 additional_flags handling. Add underscore prefix for Cygwin.
14665 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14666 conditionalize symbol prefixing.
14667 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14668 additional_flags handling. Add underscore prefix for Cygwin.
14669
cc984116
CV
146702004-06-29 Corinna Vinschen <vinschen@redhat.com>
14671
14672 * gdb.base/bigcore.exp: Skip test on Cygwin.
14673
c279b077
MC
146742004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14675
14676 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14677 formats for "info register". Use gdb_test_multiple. Fix
14678 the "invalid register" test.
14679
0e915747
CV
146802004-06-28 Corinna Vinschen <vinschen@redhat.com>
14681
14682 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14683 PID for Cygwin. Add Cygwin specific strings to check for in some
14684 tests.
14685 (do_attach_tests): Add a test for user interaction when attaching
14686 to a process with no matching symbol table already loaded.
14687
11422c86
AC
146882004-06-26 Andrew Cagney <cagney@gnu.org>
14689
14690 Test PR java/1567 and PR java/1565.
14691 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14692 * gdb.java/jmisc2.exp: Delete file.
14693
cefbce26
MC
146942004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14695
14696 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14697
e19f872c
CV
146982004-06-25 Corinna Vinschen <vinschen@redhat.com>
14699
14700 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14701 attach process.
14702
d931ba3b
MC
147032004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14704
14705 * gdb.cp/pr-1553.exp: Remove.
14706
aef68c48
MC
147072004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14708
14709 * gdb.cp/pr-1553.cc: Remove.
14710 * gdb.cp/pr-1553.exp: Disable this test.
14711
8d5df71a
JB
147122004-06-20 Jim Blandy <jimb@redhat.com>
14713
a9c64011 14714 Fix PR testsuite/1680.
8d5df71a
JB
14715 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14716 regular expressions.
14717
4ac6f39d
MC
147182004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14719
14720 Fix PR testsuite/1679.
14721 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14722 Issue an UNSUPPORTED result instead.
14723
1b413552
JB
147242004-06-18 Jim Blandy <jimb@redhat.com>
14725
14726 * gdb.base/charset.exp: Only send a control-C if we see a new
14727 prompt and incomplete command.
14728
6daa6ebd
MC
147292004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14730
14731 * gdb.cp/pr-574.cc: Add copyright notice.
14732
51fa4ae0
JB
147332004-06-17 Jim Blandy <jimb@redhat.com>
14734
14735 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14736 cases where the regexp has no groups; this grabs random text from
14737 the previous test suite, whatever that was.
14738
8fea26c5
MC
147392004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14740
14741 * gdb.cp/printmethod.cc: Add copyright notice.
14742
1e3aeb41
MC
147432004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14744
14745 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14746
9d9030bc
AC
147472004-06-16 Andrew Cagney <cagney@gnu.org>
14748
14749 * gdb.base/signull.c: Update copyright. Include <string.h>.
14750 (bowler): Replace data_pointer with data_read
14751 and data_write cases. Add code_descriptor case.
14752 (zero, desc): New array and pointer.
14753 (data, code): Change to simple pointers.
14754 * gdb.base/signull.exp: Fix probe pattern matching a function
14755 descriptor SIGSEGV. Replace data_pointer with data_read and
14756 data_write tests.
14757
acd4ad44
AC
147582004-06-16 Andrew Cagney <cagney@gnu.org>
14759
14760 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14761
08fd625c
MC
147622004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14763
14764 * gdb.base/long_long.c: Add copyright notice.
14765
1903502c
MC
147662004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14767
14768 * gdb.base/long_long.exp: Remove reference to
14769 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14770 to gdb_breakpoint and gdb_continue_to_breakpoint.
14771
83313cb1
JB
147722004-06-14 Jim Blandy <jimb@redhat.com>
14773
14774 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14775 endian case.
14776
1bf404ef
AC
147772004-06-14 Andrew Cagney <cagney@gnu.org>
14778
14779 * gdb.base/gcore.exp (capture_command_output): Delete the always
14780 passing tests containing inferior values.
14781 * gdb.base/ending-run.exp: Do not include the breakpoint address
14782 in the test message. Update copyright.
14783 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14784 size in the test name, use gdb_test_multiple. Update copyright.
14785
ef220b33
MC
147862004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14787
14788 * gdb.cp/ref-types.cc: Add copyright notice.
14789
4f70a4c9
MC
147902004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14791
14792 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14793 hp_aCC_compiler.
14794 * lib/compiler.cc: Likewise.
14795 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14796 'set' commands. Log diagnostics for other lines. Set
14797 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14798
335928ac
MC
147992004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14800
14801 * gdb.cp/try_catch.cc: Add copyright notice.
14802
2efb12e8
MC
148032004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14804
14805 * gdb.cp/userdef.cc: Add copyright notice.
14806
0bbed51a
MC
148072004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14808
14809 * gdb.cp/virtfunc.cc: Add copyright notice.
14810
e12a46c9
RC
148112004-06-11 Randolph Chung <tausq@debian.org>
14812
14813 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14814 problem.
14815
338e05af
AC
148162004-06-10 Andrew Cagney <cagney@gnu.org>
14817
14818 * lib/compiler.cc, lib/compiler.c: Append either
14819 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14820 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14821 instead of gcc-3-3.
14822
dc3f10cb
AC
148232004-06-09 Andrew Cagney <cagney@gnu.org>
14824
b4d946af
AC
14825 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14826 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14827
dc3f10cb
AC
14828 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14829 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14830 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14831 fixed.
14832
b5c0bfa2
AC
148332004-06-09 Andrew Cagney <cagney@gnu.org>
14834
14835 * gdb.base/structs.exp (test_struct_returns): Replace
14836 "return_value_unknown" and "finish_value_unknown" by
14837 "return_value_known" and "finish_value_known". Instead of
14838 "return_value_unknown" iff "finish_value_unknown", check
14839 "return_value_known" implies "finish_value_known".
14840
caeb605f
MH
148412004-06-08 Martin Hunt <hunt@redhat.com>
14842
14843 * gdb.base/float.exp: Add pattern for mips targets.
14844
c892bb64
RC
148452004-06-08 Randolph Chung <tausq@debian.org>
14846
14847 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14848 message for unknown architectures more clear.
14849
48306d3e
JB
148502004-06-08 Joel Brobecker <brobecker@gnat.com>
14851
14852 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14853 start the execution of the program.
14854
83ecb59f
JB
148552004-06-07 Jim Blandy <jimb@redhat.com>
14856
14857 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14858 * gdb.arch/i386-cpuid.h: New helper file.
14859
55264cb4
RC
148602004-06-07 Randolph Chung <tausq@debian.org>
14861
14862 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14863 has started.
14864
23cadb28
RM
148652004-06-04 Roland McGrath <roland@redhat.com>
14866
14867 Fix PR gdb/1647.
14868 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14869 differently to be robust to output buffering differences.
14870
51d01eda
MC
148712004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14872
14873 * gdb.threads/pthreads.exp: Update copyright years.
14874 (check_control_c): Change asynchronous 'after' to synchronous.
14875
f4fc3b93
RM
148762004-06-04 Roland McGrath <roland@redhat.com>
14877
14878 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14879 next gdb prompt.
14880
4013522b
MC
148812004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14882
14883 Fix PR gdb/1636.
14884 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14885 calls to synchronous.
14886
7a8f1e6b
JB
148872004-05-26 Jim Blandy <jimb@redhat.com>
14888
14889 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14890
81bb3443
RC
148912004-05-24 Randolph Chung <tausq@debian.org>
14892
14893 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14894 * gdb.asm/pa.inc: New file.
14895
8f5a3103
MK
148962004-05-22 Mark Kettenis <kettenis@gnu.org>
14897
14898 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14899
734b8fe8 149002004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14901 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14902
14903 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14904 GDB prompt.
14905
725603e1
UW
149062004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14907
f4fc3b93 14908 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14909 setjmp/longjmp. Use sigaction instead of signal.
14910
8b923272 149112004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14912 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14913
14914 * gdb.threads/pthread_cond_wait.c: New file.
14915 * gdb.threads/pthread_cond_wait.exp: New testcase.
14916
8bfabb04
AC
149172004-05-13 Andrew Cagney <cagney@redhat.com>
14918
14919 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14920 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14921
42edda50
AC
149222004-05-11 Andrew Cagney <cagney@redhat.com>
14923
14924 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14925 fixed but revealed gdb/1639.
14926
d303a6c7
AC
149272004-05-10 Andrew Cagney <cagney@redhat.com>
14928
14929 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14930 func1" and "next to 2nd alarm", kernel bug avoided.
14931
bf08c2a1
DJ
149322004-05-10 Daniel Jacobowitz <dan@debian.org>
14933
14934 PR external/1568
14935 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14936 XFAIL if it is smaller than bytes_allocated.
14937 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14938 (main): Make chunks_allocated unsigned. Correct comment.
14939
c0586a34
JB
149402004-05-07 Joel Brobecker <brobecker@gnat.com>
14941
14942 * gdb.arch/powerpc-aix-prologue.c: New file.
14943 * gdb.arch/powerpc-aix-prologue.exp: New file.
14944
f2785d12
JB
149452004-05-07 Jim Blandy <jimb@redhat.com>
14946
14947 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14948 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14949
bd7f6e30
JB
149502004-05-06 Joel Brobecker <brobecker@gnat.com>
14951
14952 * gdb.base/sep.exp: No longer setup_kfail when the program was
14953 built with dwarf2.
14954
0a5e7efe
JI
149552004-05-05 Jim Ingham <jingham@apple.com>
14956
14957 * gdb.base/pending.exp: Make sure pending breakpoints
14958 preserve the ignore count.
f4fc3b93 14959
a8958849
MK
149602004-04-27 Jerome Guitton <guitton@gnat.com>
14961
14962 * i386-prologue.exp: Add testcase for jump instruction as first
14963 instruction of the real code.
14964 * i386-prologue.c (jump_at_beginning): New function.
14965
7e103f5b
MK
149662004-04-28 Mark Kettenis <kettenis@gnu.org>
14967
14968 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14969 x86_64-*-*.
14970
5d38b224
MK
149712004-04-28 Mark Kettenis <kettenis@gnu.org>
14972
14973 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14974 i*86-*-*.
14975
0ef32fd9
MK
149762004-04-25 Mark Kettenis <kettenis@gnu.org>
14977
14978 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14979 expression that checks the return type.
14980
71d7dd7c
AC
149812004-04-23 Andrew Cagney <cagney@redhat.com>
14982
14983 * gdb.base/call-sc.exp: New test of scalar call/return values.
14984 * gdb.base/call-sc.c: Ditto.
14985
1e9f977e
JJ
149862004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14987
14988 * gdb.threads/manythreads.c: Reduce thread stack size.
14989
899d9e3a
JJ
149902004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14991
14992 * gdb.threads/manythreads.c: Add copyright notice.
14993
61bcae62
AC
149942004-04-23 Andrew Cagney <cagney@redhat.com>
14995
14996 * gdb.base/siginfo.exp: Better handle step out of signal.
14997 * gdb.base/sigstep.exp: Ditto.
14998
7339a42e 149992004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15000 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15001
15002 * gdb.threads/manythreads.c: New testcase.
15003 * gdb.threads/manythreads.exp: Ditto.
15004
5c98409b
JB
150052004-04-22 Jim Blandy <jimb@redhat.com>
15006
15007 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15008 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15009
3b611f1a
MC
150102004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15011
15012 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15013
f0fd9238
AC
150142004-04-21 Andrew Cagney <cagney@redhat.com>
15015
15016 * gdb.base/sigstep.c: New file.
15017 * gdb.base/sigstep.exp: New file.
15018
90990674
JB
150192004-04-16 Joel Brobecker <brobecker@gnat.com>
15020
15021 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15022 call to observer_notify_normal_stop.
15023
78cef34b
AC
150242004-04-15 Andrew Cagney <cagney@redhat.com>
15025
15026 * gdb.base/siginfo.c: New file.
15027 * gdb.base/siginfo.exp: New file.
15028
d2343407
JB
150292004-04-12 J. Brobecker <brobecker@gnat.com>
15030
15031 * gdb.base/sep.exp: Fix typo in comment.
15032
a2dba3c8
JB
150332004-04-12 J. Brobecker <brobecker@gnat.com>
15034
15035 * gdb.base/sep.c: New file.
15036 * gdb.base/sep-proc.c: New file.
15037 * gdb.base/sep.exp: New testcase.
15038
15f7b60e
MK
150392004-04-09 Mark Kettenis <kettenis@gnu.org>
15040
15041 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15042 support.
15043
44f4de1a
AC
150442004-04-05 Andrew Cagney <cagney@redhat.com>
15045
15046 * gdb.base/sigaltstack.c: New file.
15047 * gdb.base/sigaltstack.exp: New file.
15048
ef04f396
JB
150492004-04-04 Joel Brobecker <brobecker@gnat.com>
15050
15051 * gdb.base/foll-fork.exp: Update the expected output for
15052 "help set follow-fork-mode", to match a change that was made
15053 to the help of this variable on 2004-01-13.
15054
d40d2c92
JB
150552004-04-01 Joel Brobecker <brobecker@gnat.com>
15056
15057 * lib/ada.exp: Add copyright notice.
15058 * bar.ads: Likewise.
15059 * bar.adb: Likewise.
15060 * null_record.adb: Likewise.
15061 * null_record.exp: Likewise.
15062 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15063
f86ef5a3
JB
150642004-04-01 Joel Brobecker <brobecker@gnat.com>
15065
15066 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15067 * configure: Regenerate.
15068
414e70e3
JB
150692004-04-01 Joel Brobecker <brobecker@gnat.com>
15070
15071 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15072 to build the application. Remove the message printed when in
15073 verbose mode, redundant with the UNSUPPORTED message above.
15074
f0aaee49
JB
150752004-03-31 Joel Brobecker <brobecker@gnat.com>
15076
15077 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15078 * gdb.ada (null_record.exp): New testcase.
15079
ac81cb54
JB
150802004-03-31 Joel Brobecker <brobecker@gnat.com>
15081
15082 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15083
854af2f7
JB
150842004-03-31 Joel Brobecker <brobecker@gnat.com>
15085
15086 * gdb.ada: New subdirectory.
15087 * gdb.ada/Makefile.in: New file.
15088 * gdb.ada/gnat_ada.gpr.in: New file.
15089
034cb681
JB
150902004-03-31 Joel Brobecker <brobecker@gnat.com>
15091
15092 * lib/ada.exp: New file.
15093
78a1a894
DJ
150942004-03-24 Daniel Jacobowitz <drow@mvista.com>
15095
15096 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15097 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15098
4b2b3b3e
AC
150992004-03-22 Andrew Cagney <cagney@redhat.com>
15100
15101 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15102 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15103 Problem identified by Ulrich Weigand.
15104
23c73aa3
DC
151052004-03-17 David Carlton <carlton@kealia.com>
15106
15107 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15108 PR c++/826.
15109
d63a86f8
RM
151102004-03-16 Roland McGrath <roland@redhat.com>
15111
15112 * gdb.base/auxv.exp: New file.
15113 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15114
0e02aa50
DC
151152004-03-12 David Carlton <carlton@kealia.com>
15116
15117 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15118 * gdb.cp/pr-1553.cc: Ditto.
15119 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15120 pass branch.
15121
c20b71be
MC
151222004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15123
15124 * gdb.cp/templates.exp: Accept more template types.
15125
c7414a01
MC
151262004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15127
15128 From Corinna Vinschen with modifications.
15129 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15130 local variable obj_with_enum.
15131 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15132 results with obj_with_enum.
15133
ed69573c
MC
151342004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15135
15136 * gdb.cp/classes.cc: New file, copied from misc.cc.
15137 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15138
28301461
MC
151392004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15140
15141 * gdb.cp/misc.cc: Add copyright notice.
15142
1198ecbe
DC
151432004-03-05 David Carlton <carlton@kealia.com>
15144
15145 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15146 * gdb.cp/rtti.h: Update copyright.
15147 (namespace n2::n3): New.
15148 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15149 (n2::n3::func3): New.
15150 (main): Call n2::n3::func3.
15151 * gdb.cp/rtti2.cc: Update copyright.
15152 (n2::create3): New.
15153
9e08c470
MK
151542004-03-04 Mark Kettenis <kettenis@gnu.org>
15155
15156 * gdb.asm/openbsd.inc: Fix typo.
15157
4bebc3aa
FF
151582004-03-03 Fred Fish <fnf@redhat.com>
15159
15160 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15161 "val" instead of unused "size". Update copyright year.
15162
6ea9fb37
DJ
151632004-02-29 Daniel Jacobowitz <drow@mvista.com>
15164
15165 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15166 to use unsigned char.
15167 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15168 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15169
23b23974
DJ
151702004-02-29 Daniel Jacobowitz <drow@mvista.com>
15171
15172 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15173 line of output.
15174
7574fd53
DJ
151752004-02-28 Daniel Jacobowitz <drow@mvista.com>
15176
15177 * gdb.base/relocate.c (dummy): Initialize.
15178
a195357f
DJ
151792004-02-28 Daniel Jacobowitz <drow@mvista.com>
15180
15181 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15182 a breakpoint at exit.
15183
72fd54a9
FF
151842004-02-27 Fred Fish <fnf@redhat.com>
15185
15186 * gdb.base/chng-syms.exp: Add expect condition to match failing
15187 case that isn't a timeout.
15188
b9d23137
AC
151892004-02-27 Andrew Cagney <cagney@redhat.com>
15190
15191 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15192 support.
15193
15d208f6 151942004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15195
15d208f6
FF
15196 * gdb.arch/gdb1431.c: Remove.
15197 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15198 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15199 of "until" incorrectly.
15200
98f9cd2d
JB
152012004-02-26 J. Brobecker <brobecker@gnat.com>
15202
15203 * gdb.cp/class2.cc (empty): New class.
15204 (refer): New function.
15205 (main): Declare an object of type empty and use it.
15206 * gdb.cp/class2.exp: Print the value of an object of type empty.
15207
9b50c11b
JJ
152082004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15209
15210 * gdb.base/langs.exp: Update query string to match the
15211 new nquery format used for pending breakpoints.
15212
0dcd613f
AC
152132004-02-26 Andrew Cagney <cagney@redhat.com>
15214
15215 Fix PR i18n/1570.
15216 * gdb.base/charset.c: Update copyright notice.
15217 (main, init_string): Remove the escape character '\e' tests.
15218 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15219 * gdb.base/charset.exp (valid_host_charset): Ditto.
15220 * gdb.base/setvar.exp: Ditto.
15221
b8a56647
AC
152222004-02-24 Andrew Cagney <cagney@redhat.com>
15223
90d59e34
AC
15224 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15225 mmapped data in core file" PASS and FAIL messages consistent.
15226
b8a56647
AC
15227 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15228 setting a breakpoint. Work around PR java/1565.
15229
9f27c604
JJ
152302004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15231
15232 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15233 new nquery format.
15234 * gdb.base/pending.exp: Ditto.
15235
3224a706
MK
152362004-02-22 Mark Kettenis <kettenis@gnu.org>
15237
15238 * configure.in: Run stabs tests on *BSD.
15239 * configure: Regenerated.
15240
41e0a9ca
MK
152412004-02-21 Mark Kettenis <kettenis@gnu.org>
15242
15243 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15244
1e1b3428
FF
152452004-02-20 Fred Fish <fnf@redhat.com>
15246
15247 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15248 blank in test for "returns short", for consistency with other
15249 "returns xxx" tests. Update copyright year.
15250
f9a7572a
FF
152512004-02-19 Fred Fish <fnf@redhat.com>
15252
15253 New testcase for PR breakpoint/1558.
15254 * gdb.arch/gdb1558.exp: New file.
15255 * gdb.arch/gdb1558.c: New file.
15256
b2ce2854
EZ
152572004-02-19 Elena Zannoni <ezannoni@redhat.com>
15258
15259 * gdb.base/nodebug.exp: Fix typo.
15260
e7c9ff01
JB
152612004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15262
15263 Committed by Jim Blandy <jimb@redhat.com>.
15264
62f4b920
JB
15265 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15266
2db536a1
JB
15267 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15268
e7c9ff01
JB
15269 * gdb.base/float.exp: Support s390*-*-* targets.
15270
f3205b34
AF
152712004-02-17 Adam Fedor <fedor@gnu.org>
15272
15273 * gdb.base/gdb1555.exp: New file.
15274 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15275
9d62932d
EZ
152762004-02-17 Elena Zannoni <ezannoni@redhat.com>
15277
15278 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15279
344c9711
FF
152802004-02-16 Fred Fish <fnf@redhat.com>
15281
15282 * gdb.arch/gdb1291.c: Remove
15283 * gdb.arch/gdb1291.s: New test input file.
15284 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15285 fail. Test for correct result, known incorrect result, other
15286 failures and timeouts.
15287
2d822687
AC
152882004-02-16 Andrew Cagney <cagney@redhat.com>
15289
15290 * gdb.base/bigcore.exp: New file.
15291 * gdb.base/bigcore.c: New file.
15292
dac15b66
AC
152932004-02-13 Andrew Cagney <cagney@redhat.com>
15294
15295 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15296 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15297 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15298 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15299 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15300 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15301 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15302 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15303 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15304 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15305
6bdfc2c4
JJ
153062004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15307
15308 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15309 executed is an alloc instruction.
15310
87b3ede8
DC
153112004-02-11 David Carlton <carlton@kealia.com>
15312
15313 * gdb.cp/breakpoint.exp: New.
15314 * gdb.cp/breakpoint.cc: New.
15315
6e19e2bf
MC
153162004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15317
15318 Partial fix for PR gdb/1543.
15319 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15320 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15321 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15322 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15323 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15324 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15325 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15326 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15327 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15328 to bug-gdb@prep.ai.mit.edu .
15329 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15330 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15331 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15332 Likewise.
15333
5c5455dc
AC
153342004-02-10 Andrew Cagney <cagney@redhat.com>
15335
15336 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15337 using gdb_internal_error_resync.
15338
9cf689d7
DJ
153392004-02-09 Daniel Jacobowitz <drow@mvista.com>
15340
15341 * gdb.threads/thread-specific.exp: Stop early if no threads are
15342 found.
15343
d2dc51db
MC
153442004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15345
15346 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15347
14b1a056
DJ
153482004-02-08 Daniel Jacobowitz <drow@mvista.com>
15349
15350 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15351 breakpoints.
15352
83f66e8f
DJ
153532004-02-07 Daniel Jacobowitz <drow@mvista.com>
15354
15355 * config/sim.exp (gdb_load): Handle $arg == "".
15356 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15357 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15358
30fc0091
EZ
153592004-02-07 Elena Zannoni <ezannoni@redhat.com>
15360
a9c64011
AS
15361 * gdb.base/maint.exp: Update test to reflect
15362 obstack changes.
30fc0091 15363
4d806929
JJ
153642004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15365
15366 * gdb.base/pendshr.c (pendfunc): New function that calls
15367 pendfunc1.
15368 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15369
7bfdd688
FF
153702004-02-04 Fred Fish <fnf@redhat.com>
15371
15372 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15373 function symbols and update copyright years.
15374 * gdb.arch/gdb1291.c: Ditto.
15375
aaa08ee4
MC
153762004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15377
15378 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15379
dbad7755
MC
153802004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15381
15382 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15383
ec4646ef
MC
153842004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15385
15386 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15387
1b802196
FF
153882004-02-02 Fred Fish <fnf@redhat.com>
15389
15390 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15391 remote targets. Update copyright years.
15392
18fe2033
JJ
153932004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15394
15395 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15396 support.
15397 * gdb.base/langs.exp: Fix test which attempts to create
15398 breakpoint on non-existent function to handle new pending
15399 support.
15400 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15401 a breakpoint.
15402 * gdb.base/pending.exp: New test.
15403 * gdb.base/pending.c: New file.
15404 * gdb.base/pendshr.c: Ditto.
15405
8d577d32
DC
154062004-02-02 David Carlton <carlton@kealia.com>
15407
15408 * gdb.cp/overload.exp: Add overloadNamespace tests.
15409 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15410 (overloadNamespace, XXX): New.
15411 (main): Call XXX::marker2.
15412
3ad13771
FF
154132004-02-01 Fred Fish <fnf@redhat.com>
15414
15415 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15416 * gdb.base/finish.exp: Ditto.
15417 * gdb.base/gcore.exp: Ditto.
15418 * gdb.base/huge.exp: Ditto.
15419 * gdb.base/info-proc.exp: Ditto.
15420 * gdb.base/return2.exp: Ditto.
15421 * gdb.threads/gcore-thread.exp: Ditto.
15422
44c75849
DJ
154232004-02-01 Daniel Jacobowitz <drow@mvista.com>
15424
15425 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15426
005bc093
MK
154272004-02-01 Mark Kettenis <kettenis@gnu.org>
15428
15429 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15430 that opening the file succeeds on OpenBSD.
15431
c47cebdb
DJ
154322004-02-01 Daniel Jacobowitz <drow@mvista.com>
15433
15434 * gdb.threads/thread-specific.c: New file.
15435 * gdb.threads/threads-specific.exp: New test script.
15436 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15437 to expect_out.
15438
5a01311c
MK
154392004-02-01 Mark Kettenis <kettenis@gnu.org>
15440
15441 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15442 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15443 only on the "print_small_structs from print_long_arg_list" test.
15444
ce22a4f1
DJ
154452004-02-01 Daniel Jacobowitz <drow@mvista.com>
15446
15447 * gdb.base/completion.exp: Kill a stray backslash.
15448
15449 From Jim Ingham <jingham@apple.com>:
15450 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15451 agrees with the result from sending a tab.
15452
abbab9d3
DJ
154532004-01-31 Daniel Jacobowitz <drow@mvista.com>
15454
15455 * gdb.base/chng-syms.exp: Remove stray newline.
15456
53904d1e
MK
154572004-01-31 Mark Kettenis <kettenis@gnu.org>
15458
15459 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15460 *-*-openbsd*.
15461 * gdb.asm/openbsd.inc: New file.
15462
3a4b3aac
MK
154632004-01-30 Mark Kettenis <kettenis@gnu.org>
15464
15465 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15466 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15467 *-*solaris2*. Remove commented out default settings for
15468 asm-flags. Replace gdb_compile with target_link.
15469
ebac27b4
MC
154702004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15471
15472 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15473 for all tests. Remove old hp-ux and cygnus xfail cases.
15474
d8679d84
PH
154752004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15476
15477 * gdb.base/chng-syms.exp: New file.
15478 * gdb.base/chng-syms.c: New file.
15479
0a55bc22
MC
154802004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15481
15482 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15483 Provide arms for current output in all my configurations.
15484
94b8e876
MC
154852004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15486
15487 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15488 * lib/compiler.cc: Likewise.
15489 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15490 get the right preprocessor. Eval the output directly. Remove
15491 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15492 hp_f77_compiler and hp_f90_compiler completely.
15493 (gdb_preprocess): Delete.
15494 (get_compiler): Delete.
15495
7cf03d44
MK
154962004-01-24 Mark Kettenis <kettenis@gnu.org>
15497
15498 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15499 <string.h>.
15500
68b6dce9
NR
155012004-01-24 Nick Roberts <nick@nick.uklinux.net>
15502
15503 * gdb.mi/mi-stack.exp: Update copyright.
15504
b368761e
DC
155052004-01-23 David Carlton <carlton@kealia.com>
15506
15507 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15508 test for cp_lookup_transparent_type.
15509 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15510 call them.
15511
f2061b53
DJ
155122004-01-23 Daniel Jacobowitz <drow@mvista.com>
15513
15514 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15515 after -var-update.
15516
37fc574a
DC
155172004-01-23 David Carlton <carlton@kealia.com>
15518
15519 * gdb.cp/namespace.cc (C::ensureRefs): New.
15520 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15521
8e94b928
NR
155222004-01-20 Nick Roberts <nick@nick.uklinux.net>
15523
15524 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15525 case "-stack-list-locals 2".
15526 * gdb.mi/mi-var-child.exp: Test for case
15527 "-var-list-children --all-values NAME".
15528
997b0952
MC
155292004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15530
15531 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15532
52470da3
MK
155332004-01-18 Mark Kettenis <kettenis@gnu.org>
15534
7049b4b8
MK
15535 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15536 used with gdb_test_multiple.
15537
52470da3
MK
15538 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15539 read at address 0. This fixes PR testsuite/1504.
15540
da6012e5
DJ
155412004-01-18 Daniel Jacobowitz <drow@mvista.com>
15542
15543 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15544 Remove downloading, guessing the host executable, the calls to
15545 gdb_file_cmd and gdb_target_cmd, and "load" support.
15546 (infer_host_exec): New function broken out from gdb_load.
15547 (gdb_load): New wrapper for gdbserver_gdb_load.
15548 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15549 gdb_target_cmd. Use -target-select.
15550 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15551 Download binaries to the host. Clear last_mi_remote_file when
15552 we load a new binary.
15553 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15554 call gdbserver_gdb_load and mi_gdb_target_cmd.
15555
32c70722
MC
155562004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15557
15558 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15559 type patterns.
15560
b0cecf36
MC
155612004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15562
15563 * gdb.cp/templates.exp: Fix typo in test name of
15564 "print Foo<volatile char*>::foo".
15565
4120d7e6
MC
155662004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15567
15568 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15569
f679e530
BE
155702004-01-16 Ben Elliston <bje@wasabisystems.com>
15571
15572 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15573 (clean mostlyclean): Remove empty rm.
15574
091c48f6
MC
155752004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15576
15577 * gdb.base/setvar.exp: Add copyright years.
15578
3e5fc8d2
DC
155792004-01-14 David Carlton <carlton@bactrian.org>
15580
15581 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15582 PR c++/1511 and update coment.
15583 * gdb.cp/templates.exp: Update patterns to match current output.
15584 If changes involve something other than whitespace, KFAIL
15585 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15586
63d06c5c
DC
155872004-01-14 David Carlton <carlton@kealia.com>
15588
15589 * gdb.cp/namespace.exp: Add tests involving classes defined within
15590 namespaces.
15591 * gdb.cp/namespace.cc (C::CClass): New.
15592 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15593
a51dab88
EZ
155942004-01-14 Elena Zannoni <ezannoni@redhat.com>
15595
15596 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15597 what debug info we have. Print a better message if something goes
15598 wrong while producing the separate debug info file.
15599
a476ccc9
MC
156002004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15601
15602 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15603
f453692c
MC
156042004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15605
15606 * gdb.base/callfuncs.c: Add copyright notice.
15607
f40063a5
MC
156082004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15609
15610 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15611 inheritance. PR gdb/1498, PR gcc/13539.
15612
19ac3974
EZ
156132004-01-13 Elena Zannoni <ezannoni@redhat.com>
15614
a9c64011
AS
15615 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15616 test specific name.
15617 * gdb.mi/gdb669.exp: Ditto.
15618 * gdb.mi/mi-pthreads.exp: Ditto.
15619 * gdb.mi/mi1-pthreads.exp: Ditto.
15620 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15621
56c97c6e
MC
156222004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15623
15624 * gdb.cp/member-ptr.cc: Add copyright notice.
15625
a0644324
MC
156262004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15627
15628 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15629 some patterns for recent versions of gcc and hpacc. Delete
15630 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15631 Delete tests that access a NULL pointer-to-member-data. This
15632 script is still disabled for gcc.
15633
32fabe09
EZ
156342004-01-12 Elena Zannoni <ezannoni@redhat.com>
15635
15636 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15637 escaped correctly.
32fabe09 15638
1f8a6abb
EZ
156392004-01-12 Elena Zannoni <ezannoni@redhat.com>
15640
15641 * gdb.base/sepdebug.exp: New file.
15642 * gdb.base/sepdebug.c: New file.
15643 * lib/gdb.exp (separate_debug_filename): New procedure.
15644 (gdb_gnu_strip_debug): New procedure.
15645
48efe704
AC
156462004-01-12 Andrew Cagney <cagney@redhat.com>
15647
15648 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15649 * gdb.mi/ChangeLog-1999-2003: New file.
15650
a9415475
AC
156512004-01-12 Andrew Cagney <cagney@redhat.com>
15652
15653 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15654 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15655 or EEXIST", treat EBUSY as an XFAIL.
15656
83b8cf9d
MC
156572004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15658
15659 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15660 hp_cc_compiler.
15661
9939d2a8
MC
156622004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15663
15664 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15665 decorations.
15666
1ff8cadf
MC
156672004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15668
15669 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15670 and "(aCC)" decorations. Remove obsolete doco about old
15671 test results.
15672
6fa9022e
MC
156732004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15674
15675 * gdb.cp/exception.exp: Fix typo in doco.
15676
209721fe
MK
156772004-01-09 Mark Kettenis <kettenis@gnu.org>
15678
15679 * gdb.base/gdb1476.exp: Fix typo.
15680
ef11303e
MC
156812004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15682
15683 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15684 file.
15685
041ab88c
MC
156862004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15687
15688 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15689 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15690 Use gdb_compile. Remove restriction on gcc. Add some patterns
15691 for recent version of gdb. Delete second half, which was a copy
15692 of the first half with different build flags. This test is
15693 still disabled because it is still not ready for production.
15694
e36d075a
MC
156952004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15696
15697 * gdb.cp/exception.cc: Add copyright notice.
15698 * gdb.cp/exception.exp: Add a notice that this file is broken
15699 because of line number changes caused by addition of copyright
15700 notice.
15701
42b190ad
MC
157022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15703
15704 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15705 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15706
8f25f06b
MC
157072004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15708
15709 * gdb.cp/classes.exp: Accept gnu abi 2.
15710 * gdb.cp/derivation.exp: Likewise.
15711 * gdb.cp/overload.exp: Likewise.
15712 * gdb.cp/virtfunc.exp: Likewise.
15713
06ded8b8
MC
157142004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15715
15716 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15717 semicolon after end of function.
15718
77c26ae3
MC
157192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15720
15721 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15722 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15723 boilerplate code for compiling and running the program under
15724 test. Add some string method tests.
15725
20757486
MC
157262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15727
15728 * gdb.cp/bs15503.cc: Add copyright notice.
15729 * gdb.cp/bs15503.exp: Adjust line number.
15730
0fd3b503
MC
157312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15732
15733 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15734 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15735
10d1bea8
MC
157362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15737
15738 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15739 hp_cc_compiler.
15740
2789202a
MC
157412004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15742
15743 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15744 * gdb.cp/ctti.exp: Use the marker instead of "next".
15745 With gcc, run further before bailing.
15746
b862f14c
MC
157472004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15748
15749 * gdb.cp/cttiadd.cc: Add copyright notice.
15750 * gdb.cp/cttiadd1.cc: Likewise.
15751 * gdb.cp/cttiadd2.cc: Likewise.
15752 * gdb.cp/cttiadd3.cc: Likewise.
15753
96da2469
MC
157542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15755
15756 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15757 Use gdb_test, gdb_test_multiple. Use floating-point values that
15758 have exact representations in IEEE-ish formats.
15759
053248ff
MC
157602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15761
15762 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15763 compilers. Delete duplicate call to get_compiler_info.
15764 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15765 * gdb.base/volatile.exp: Likewise.
15766
84acecdd
MK
157672004-01-07 Mark Kettenis <kettenis@gnu.org>
15768
15769 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15770 memory at address 0.
15771
fe11a27f
MC
157722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15773
15774 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15775 to test for hp-ux assembler. Fix copyright years.
15776
60ad077b
AC
157772004-01-07 Andrew Cagney <cagney@redhat.com>
15778
15779 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15780
1c9b8f33
AC
157812004-01-07 Andrew Cagney <cagney@redhat.com>
15782
15783 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15784 when creating the read-only file. From analysis by Roland McGrath
15785 and Elena Zannoni.
15786
753ccc7a
MC
157872004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15788
15789 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15790
eca3e36b
MC
157912004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15792
15793 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15794 data pointers.
15795
f8d4bac4
MC
157962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15797
15798 * gdb.cp/m-static.exp: Compile one source file at a time.
15799 Delete unused call to get_compiler_info.
15800
9b4e0f94
MC
158012004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15802
15803 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15804 * gdb.base/call-rt-st.exp: Likewise.
15805 * gdb.base/nodebug.exp: Likewise.
15806 * gdb.base/volatile.exp: Likewise.
15807 * gdb.cp/ref-types.exp: Likewise.
15808 * gdb.cp/templates.exp: Likewise.
15809
023c1024
MK
158102004-01-05 Mark Kettenis <kettenis@gnu.org>
15811
15812 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15813
19703c4a
MC
158142004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15815
15816 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15817 hppa*-hp-hpux*.
15818
18b67037
MK
158192004-01-04 Mark Kettenis <kettenis@gnu.org>
15820
ba6219c8
MK
15821 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15822 x86_64-*-*.
15823
18b67037
MK
15824 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15825 sparc64-*-* and sparc*-solaris2*.
15826
1bfbbb9d
MK
158272004-01-04 Mark Kettenis <kettenis@gnu.org>
15828
15829 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15830 return ${tests}" test. The ${tests} already mentions the
15831 filename.
15832
06846494
MC
158332004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15834
15835 * gdb.cp/local.exp: Accept gcc abi 2.
15836
3b0cb202
MC
158372004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15838
15839 * gdb.cp/templates.exp: Accept gcc abi 2.
15840
0643ec3f
MC
158412004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15842
15843 * lib/compiler.cc: Remove supports_template_debugging.
15844 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15845
d231d0b1
MC
158462004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15847
15848 * gdb.cp/namespace.exp: Accept gcc abi 2.
15849
44ffb27c
MC
158502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15851
15852 * gdb.cp/method.exp: Accept gcc abi 2.
15853
184ad485
MC
158542004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15855
15856 * gdb.cp/classes.exp: Generate identical results as old version.
15857 * gdb.cp/derivation.exp: Likewise.
15858 * gdb.cp/overload.exp: Likewise.
15859 * gdb.cp/virtfunc.exp: Likewise.
15860
116f09e7
MC
158612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15862
15863 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15864 mysterious bug with sourceware version of expect.
15865
b1379776
MC
158662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15867
15868 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15869 current versions of gcc, including gcc abi 2. Remove gratuitous
15870 restart of test program. Use gdb_test_multiple and gdb_test for
15871 all tests. Add patterns to xfail missing "const" in "const char *"
15872 and kfail PR gdb/1155.
15873
6b7a4c0e
MC
158742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15875
15876 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15877 current versions of gcc, including gcc abi 2. Remove gratuitous
15878 restart of test program. Use gdb_test_multiple and gdb_test for
15879 all tests. Add patterns to kfail PR gdb/1498.
15880
51615d72
MC
158812003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15882
15883 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15884 current versions of gcc, including gcc abi 2. Use "breakpoint"
15885 and "continue" instead of restarting the target program. Use
15886 gdb_test_multiple and gdb_test for all tests.
15887
7b79a9d7
MK
158882004-01-01 Mark Kettenis <kettenis@gnu.org>
15889
15890 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15891 for *-*-solaris2*.
15892
1cd3489f
MC
158932003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15894
15895 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15896 current versions of gcc, including gcc abi 2. Use "breakpoint"
15897 and "continue" instead of restarting the target program several
15898 times. Use gdb_test_multiple and gdb_test for all tests.
15899
850742db
MC
159002003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15901
15902 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15903 source files.
15904
eb4bbda8
MC
159052003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15906
15907 * gdb.base/environ.exp: Handle compiling test case from multiple
15908 source files.
15909
e42c7771
MC
159102003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15911
15912 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15913
80e4b428
JB
159142003-12-17 Jim Blandy <jimb@redhat.com>
15915
5f06973a
JB
15916 * gdb.base/freebpcmd.c: Add copyright notice.
15917
80e4b428
JB
15918 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15919
0ab84fb7
MC
159202003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15921
15922 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15923
1b3bb3d0
JB
159242003-12-13 Jim Blandy <jimb@redhat.com>
15925
15926 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15927
3a4c9371
KB
159282003-12-12 Kevin Buettner <kevinb@redhat.com>
15929
15930 * gdb.asm/frv.inc: New file.
15931 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15932
a1dea79a
FF
159332003-12-09 Fred Fish <fnf@redhat.com>
15934
15935 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15936 functions to break1.c and leave prototypes behind. Add more
15937 "set breakpoint NN here" comments.
15938 * gdb.base/break1.c: New file.
15939
15940 * gdb.base/break.exp: Handle compiling test case from multiple
15941 source files and change source file references as needed.
15942 * gdb.base/completion.exp: Ditto.
15943 * gdb.base/condbreak.exp: Ditto.
15944 * gdb.base/define.exp: Ditto.
15945 * gdb.base/ena-dis-br.exp: Ditto.
15946 * gdb.base/info-proc.exp: Ditto.
15947 * gdb.base/maint.exp: Ditto.
15948 * gdb.base/until.exp: Ditto.
15949
15950 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15951 hardcoded line numbers.
15952 * gdb.base/define.exp: Ditto.
15953 * gdb.base/ena-dis-br.exp: Ditto.
15954 * gdb.base/maint.exp: Ditto.
15955 * gdb.base/until.exp: Ditto.
15956
15957 * gdb.base/completion.exp: Use "break1" for completion tests since
15958 "break" is no longer a unique prefix.
15959
5266b69c
AC
159602003-12-06 Andrew Cagney <cagney@redhat.com>
15961
15962 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15963 "return_value_unimplemented". When an unimplemented struct return
15964 architecture, report incorrect values as a KFAIL
15965
374451f0
MC
159662003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15967
15968 * gdb.cp/rtti.exp: Accept new wording of warning from
15969 cp_lookup_rtti_type.
15970
ba9b20a7
MC
159712003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15972
15973 Partial fix for PR testsuite/1456.
15974 * gdb.base/scope.exp (test_at_main): Replace references to
15975 gcc_compiled with calls to test_compiler_info.
15976 (test_at_foo): Likewise.
15977 (test_at_bar): Likewise.
15978
b74b6d0b
MC
159792003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15980
15981 Partial fix for PR testsuite/1456.
15982 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15983 to test_compiler_info.
15984
ccfa3402
MC
159852003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15986
15987 * gdb.base/so-impl-ld.exp: Update copyright notice.
15988
f6246aba
MC
159892003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15990
15991 Partial fix for PR testsuite/1456.
15992 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15993 to test_compiler_info.
15994
13ae734a
MC
159952003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15996
15997 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15998 from current versions of gdb. Clean up regular expressions.
15999 Delete redundant timeout case.
16000
d8e1cdee
MC
160012003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16002
16003 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16004 from current versions of gdb. Clean up regular expressions.
16005 Delete redundant timeout case.
16006
96457b64
MC
160072003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16008
16009 Partial fix for PR testsuite/1456.
16010 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16011 gcc_compiled with call to test_compiler_info.
16012
f35309fc
MC
160132003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16014
16015 Partial fix for PR testsuite/1456.
16016 * gdb.base/list.exp (test_list_function): Delete unused declaration
16017 of gcc_compiled.
16018
d7afdf9b
MC
160192003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16020
16021 Partial fix for PR testsuite/1456.
16022 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16023 call to test_compiler_info.
16024
71507b56
MK
160252003-11-29 Mark Kettenis <kettenis@gnu.org>
16026
16027 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16028 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16029 it to create the appropriate note.inc.
16030 * gdb.asm/asmsrc1.s: Include "note.inc".
16031 * gdb.asm/netbsd.inc: New file.
16032 * gdb.asm/empty.inc: New file.
16033
f81f93f7
MC
160342003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16035
16036 Partial fix for PR testsuite/1456.
16037 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16038 calls to test_compiler_info.
16039
9a77938e
MC
160402003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16041
16042 Partial fix for PR testsuite/1456.
16043 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16044 calls to test_compiler_info.
16045
e8367dc7
MK
160462003-11-27 Mark Kettenis <kettenis@gnu.org>
16047
16048 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16049 pattern for the KFAILs.
16050
526c61ee
AF
160512003-11-25 Adam Fedor <fedor@gnu.org>
16052
16053 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16054 * gdb.objc/objcdecode.m: New file.
16055
28f2d600
AF
160562003-11-25 Adam Fedor <fedor@gnu.org>
16057
16058 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16059 * gdb.objc/nondebug.m: New file.
16060
a3895cee
BE
160612003-11-26 Ben Elliston <bje@wasabisystems.com>
16062
16063 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16064 NetBSD as it does on FreeBSD. Modelled on a similar change by
16065 Mark Kettenis on 2003-05-30.
16066 (link-flags): Set to "--entry _start" regardless of target.
16067 Special linker flags are to be appended to $link-flags.
16068 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16069
c9f2c8a3
MC
160702003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16071
16072 * gdb.cp/method.exp: Accept output of new demangler.
16073
15a0587a 160742003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16075
16076 * gdb/class2.exp: New file.
16077 * gdb/class2.cc: New file.
16078
3c00b570
MC
160792003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16080
16081 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16082 of new demangler.
16083
7027acc7
MK
160842003-11-23 Mark Kettenis <kettenis@gnu.org>
16085
16086 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16087 of gdb_test "run".
16088
b0e1598a
MK
160892003-11-23 Mark Kettenis <kettenis@gnu.org>
16090
16091 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16092 "continue" into "run".
16093
4d9eda44
MC
160942003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16095
16096 Partial fix for PR testsuite/1456.
16097 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16098 call to test_compiler_info.
16099 * gdb.cp/ctti.exp: Likewise.
16100 * gdb.cp/derivation.exp: Likewise.
16101 * gdb.cp/member-ptr.exp: Likewise.
16102 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16103 reference to gcc_compiled.
16104
161052003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16106
16107 Fix PR testsuite/1463.
16108 * gdb.base/structs.exp (start_structs_test): Call
16109 get_debug_format before using the debug format.
16110
d422fe19
AC
161112003-11-22 Andrew Cagney <cagney@redhat.com>
16112
16113 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16114 * gdb.base/structs.exp: Use gdb_test_multiple.
16115
039cf96d
AC
161162003-11-20 Andrew Cagney <cagney@redhat.com>
16117
6882279b
AC
16118 * gdb.base/structs.exp: Handle and recover from internal errors.
16119 Replace "foo${n}" with "foo<n>" in test messages.
16120
e53890ae
AC
16121 * gdb.base/structs.exp: Update copyright. Rewrite.
16122 * gdb.base/structs.c: Update copyright. Rewrite.
16123
2b211c59
AC
16124 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16125 resync count exceeded.
d63a86f8 16126
039cf96d
AC
16127 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16128 from the internal error.
16129 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16130 Original from Jim Blandy.
16131 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16132
eac98b22
AC
161332003-11-19 Andrew Cagney <cagney@redhat.com>
16134
16135 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16136 KFAIL.
16137
67455b2a
MK
161382003-11-17 Mark Kettenis <kettenis@gnu.org>
16139
16140 New testcase for PR backtrace/1435.
16141 * gdb.arch/i386-unwind.exp: New file.
16142 * gdb.arch/i386-unwind.c: New file.
16143
853d6e5b
AC
161442003-11-17 Andrew Cagney <cagney@redhat.com>
16145
16146 * lib/gdb.exp (compiler_info): New global.
16147 (test_compiler_info): New function.
16148 (get_compiler_info): Set compiler_info.
16149 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16150 "compiler_info" to gcc-<major>-<minor>.
16151
38cf6e11
MC
161522003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16153
16154 * gdb.trace/configure: Remove.
16155
a50d3602
EZ
161562003-11-13 Elena Zannoni <ezannoni@redhat.com>
16157
16158 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16159 breakpoints.
a50d3602
EZ
16160 * gdb.base/break.exp: Remove all references to explicit line
16161 numbers.
16162
d9407aaa
NC
161632003-11-11 Nick Clifton <nickc@redhat.com>
16164
16165 * gdb.base/shreloc.exp: Do not run for targets which do not
16166 support shared objects.
16167
db488fc1
CV
161682003-11-10 Corinna Vinschen <vinschen@redhat.com>
16169
16170 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16171 Don't run tests if nofileio flag is given.
16172
6a90a18e
EZ
161732003-11-07 Elena Zannoni <ezannoni@redhat.com>
16174
16175 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16176 as well as 'Watchpoint'.
6a90a18e 16177
0b915e9c
EZ
161782003-11-06 Elena Zannoni <ezannoni@redhat.com>
16179
16180 Reported by Jim Ingham <jingham@apple.com>:
16181 * gdb.base/annota1.exp: Match at least one occurrence of the
16182 signal handler annotation.
16183
d7e4b55f
EZ
161842003-11-06 Elena Zannoni <ezannoni@redhat.com>
16185
a9c64011
AS
16186 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16187 as well as 'Watchpoint'.
d7e4b55f 16188
2fe4e8d0
MC
161892003-11-05 Michael Chastain <mec@shout.net>
16190
16191 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16192
6ef88553
KW
161932003-11-03 Kris Warkentin <kewarken@qnx.com>
16194
16195 * gdb.arch/gdb1291.c: New test file.
16196 * gdb.arch/gdb1291.exp: New test script.
16197 * gdb.arch/gdb1431.c: New test file.
16198 * gdb.arch/gdb1431.exp: New test script.
16199
ae7dc4d8
MC
162002003-10-22 Michael Chastain <mec@shout.net>
16201
16202 * gdb.mi/pthreads.c: Add copyright notice.
16203
c39d7427
MC
162042003-10-22 Michael Chastain <mec@shout.net>
16205
16206 * gdb.threads/pthreads.c: Add copyright notice.
16207
8b7d96c1
MC
162082003-10-20 Michael Chastain <mec@shout.net>
16209
16210 * gdb.base/gdb1056.exp: New test script.
16211
d1d69fdd
DJ
162122003-10-13 Daniel Jacobowitz <drow@mvista.com>
16213
16214 * gdb.threads/killed.exp: Use gdb_run_cmd.
16215
7d605576
DJ
162162003-10-13 Daniel Jacobowitz <drow@mvista.com>
16217
16218 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16219 create a core file.
16220 * gdb.threads/gcore-thread.exp: Likewise.
16221
618ec112
CV
162222003-10-13 Corinna Vinschen <vinschen@redhat.com>
16223
16224 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16225 type, based on char type.
16226 (struct bit_flags_short_t): New bitfield type, based on short type.
16227 (init_bit_flags_char): New fuction.
16228 (init_bit_flags_short): Ditto.
16229 (print_bit_flags_char): Ditto.
16230 (print_bit_flags_short): Ditto.
16231 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16232
9367a73c
MC
162332003-10-11 Michael Chastain <mec@shout.net>
16234
16235 * gdb.base/call-rt-st.exp: Update copyright year.
16236
1decf120
KI
162372003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16238
16239 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16240 * gdb.disasm/sh3.s: Ditto.
16241
5445b2ae
DJ
162422003-10-07 Daniel Jacobowitz <drow@mvista.com>
16243
16244 * gdb.threads/switch-threads.exp: New test.
16245 * gdb.threads/switch-threads.c: New source file.
16246
aec24853
CV
162472003-10-07 Corinna Vinschen <vinschen@redhat.com>
16248
16249 * gdb.base/ending-run.exp: Add sh specific case.
16250
adc7428d
AC
162512003-10-06 Andrew Cagney <cagney@redhat.com>
16252
16253 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16254 * gdb.disasm/mn10200.exp: Delete obsolete file.
16255
c9d37158
DJ
162562003-09-29 Daniel Jacobowitz <drow@mvista.com>
16257
16258 * ChangeLog: Correct an entry command.exp -> commands.exp.
16259 * gdb.base/commands.exp (bp_deleted_in_command_test)
16260 (temporary_breakpoint_commands): Check noargs.
16261
79c2c32d
DC
162622003-09-25 David Carlton <carlton@kealia.com>
16263
16264 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16265 of some print tests, where appropriate. Add tests for C::D::cd,
16266 E::ce, F::cXfX, G::XgX.
16267 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16268
594e6d67
RE
162692003-09-25 Richard Earnshaw <rearnsha@arm.com>
16270
16271 * lib/java.exp (java_init): Import target_alias before using it.
16272
10f0d451
DC
162732003-09-25 David Carlton <carlton@kealia.com>
16274
16275 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16276
274bcba0
EZ
162772003-09-23 Elena Zannoni <ezannoni@redhat.com>
16278
d63a86f8 16279 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16280 weirdness.
274bcba0 16281
cdbf20f7
MC
162822003-09-17 Michael Chastain <mec@shout.net>
16283
16284 * gdb.cp/gdb1355.exp: New file.
16285 * gdb.cp/gdb1355.c: New file.
16286
71e06f80
CV
162872003-09-15 Corinna Vinschen <vinschen@redhat.com>
16288
16289 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16290 * gdb.asm/sh.inc: New file.
16291
5c4e30ca
DC
162922003-09-11 David Carlton <carlton@kealia.com>
16293
bd45b7af
DC
16294 * gdb.cp/namespace.exp: Add tests for namespace types.
16295 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16296 (test_namespace): New.
16297
1c199746
EZ
162982003-09-11 Elena Zannoni <ezannoni@redhat.com>
16299
a9c64011 16300 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16301 * gdb.stabs/weird.exp: Ditto.
1c199746 16302
04ed252f
MC
163032003-09-08 Michael Chastain <mec@shout.net>
16304
16305 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16306
d8a2d9e7
MC
163072003-09-07 Michael Chastain <mec@shout.net>
16308
16309 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16310 'parse error'.
16311
161afb24
MK
163122003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16313
16314 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16315
49f2741a
MC
163162003-08-30 Michael Chastain <mec@shout.net>
16317
16318 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16319 * gdb.gdb/observer.exp: Ditto.
16320 * gdb.gdb/xfullpath.exp: Ditto.
16321
8afa723e
MK
163222003-08-29 Mark Kettenis <kettenis@gnu.org>
16323
16324 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16325 *-*-*bsd*.
16326
f31dfe3b
JJ
163272003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16328
16329 * gdb.base/dump.exp: Skip for ia64.
16330
4630e498
JJ
163312003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16332
16333 * gdb.asm/asm-source.exp: Add ia64 support.
16334 * gdb.asm/ia64.inc: New file.
16335
1105b7ef
MC
163362003-08-22 Michael Chastain <mec@shout.net>
16337
16338 * gdb.cp: New directory.
16339 * gdb.cp/*: Copy from gdb.c++/*.
16340 * gdb.c++/*: Remove.
16341 * Makefile.in: Change gdb.c++ to gdb.cp.
16342 * configure.in: Ditto.
16343 * configure: Regnerate.
16344
c945b932
MK
163452003-08-18 Mark Kettenis <kettenis@gnu.org>
16346
16347 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16348 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16349
2b66634b
DJ
163502003-08-17 Daniel Jacobowitz <drow@mvista.com>
16351
16352 * mi-var-display.exp (-var-list-children weird): Accept function
16353 pointers with argument types.
16354 * mi1-var-display.exp (-var-list-children weird): Likewise.
16355 * mi2-var-display.exp (-var-list-children weird): Likewise.
16356
a356f73b
DJ
163572003-08-17 Daniel Jacobowitz <drow@mvista.com>
16358
16359 * gdb.base/annota3.exp: Add missing newline.
16360
483417b8
MC
163612003-08-06 Michael Chastain <mec@shout.net>
16362
16363 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16364
c99c59c3
MS
163652003-08-12 Michael Snyder <msnyder@redhat.com>
16366
16367 * gdb.base/float.exp: Add test for SH.
16368
55ed7501
MK
163692003-08-10 Mark Kettenis <kettenis@gnu.org>
16370
16371 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16372
1a371f2e
EZ
163732003-08-07 Elena Zannoni <ezannoni@redhat.com>
16374
16375 * gdb.base/completion.exp: Remove reduntant completion test
16376 on filename.
16377
e0f353ce
EZ
163782003-08-07 Elena Zannoni <ezannoni@redhat.com>
16379
a9c64011
AS
16380 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16381 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16382 gdb.trace/save-trace.exp: Make sure that full pathnames are
16383 escaped correctly.
e0f353ce 16384
5710a1af 163852003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16386
a9c64011
AS
16387 * configure.in: Don't generate config.h from config.hin.
16388 * configure: Regenerate.
16389 * config.hin: Remove file.
16390 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16391 * gdb.threads/pthreads.c: Ditto.
5710a1af 16392
dcd81ce9
DJ
163932003-08-07 Daniel Jacobowitz <drow@mvista.com>
16394
16395 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16396 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16397 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16398 Replace ld24 with seth/add3.
16399
6009d884
AC
164002003-08-02 Andrew Cagney <cagney@redhat.com>
16401
16402 * gdb.base/annota3.exp: New file.
16403 * gdb.base/annota3.c: New file.
16404 * gdb.c++/annota3.exp: New file.
16405 * gdb.c++/annota3.cc: New file.
16406
51514e06
MC
164072003-07-29 Michael Chastain <mec@shout.net>
16408
16409 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16410 actually failed.
16411 (do_pass): Likewise.
16412 * gdb.threads/tls.exp: Always initialize no_of_threads.
16413
4ee6625b
DJ
164142003-07-27 Daniel Jacobowitz <drow@mvista.com>
16415
16416 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16417 pattern.
16418 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16419 * gdb.threads/tls.exp: Recognize one case of the host library not
16420 supporting TLS.
16421
225f2bf6
AC
164222003-07-27 Andrew Cagney <cagney@redhat.com>
16423
16424 * gdb.base/fileio.exp: Use SH when running commands using
16425 remote_exec.
16426
bcb27c9f
DJ
164272003-07-24 Daniel Jacobowitz <drow@mvista.com>
16428
16429 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16430 * gdb.base/relocate.c (dummy): New padding array.
16431
3d67be83
MS
164322003-07-22 Michael Snyder <msnyder@redhat.com>
16433
d63a86f8 16434 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16435
16436 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16437 patterns to be more general, accepting old and new output.
16438 Some output chars (such as '+') also must be quoted.
d63a86f8 16439 Some addresses are displayed numerically instead of
3d67be83
MS
16440 symbolically.
16441
57ba3b85
MS
164422003-07-23 Michael Snyder <msnyder@redhat.com>
16443
686d097c
MS
16444 * gdb.base/return2.exp: Don't test long-long return.
16445
57ba3b85
MS
16446 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16447 * gdb.disasm/t01_mov.exp: Ditto.
16448 * gdb.disasm/t02_mova.s: Ditto.
16449 * gdb.disasm/t02_mova.exp: Ditto.
16450 * gdb.disasm/t03_add.s: Ditto.
16451 * gdb.disasm/t03_add.exp: Ditto.
16452 * gdb.disasm/t04_sub.s: Ditto.
16453 * gdb.disasm/t04_sub.exp: Ditto.
16454 * gdb.disasm/t05_cmp.s: Ditto.
16455 * gdb.disasm/t05_cmp.exp: Ditto.
16456 * gdb.disasm/t06_ari2.s: Ditto.
16457 * gdb.disasm/t06_ari2.exp: Ditto.
16458 * gdb.disasm/t07_ari3.s: Ditto.
16459 * gdb.disasm/t07_ari3.exp: Ditto.
16460 * gdb.disasm/t08_or.s: Ditto.
16461 * gdb.disasm/t08_or.exp: Ditto.
16462 * gdb.disasm/t09_xor.s: Ditto.
16463 * gdb.disasm/t09_xor.exp: Ditto.
16464 * gdb.disasm/t10_and.s: Ditto.
16465 * gdb.disasm/t10_and.exp: Ditto.
16466 * gdb.disasm/t11_logs.s: Ditto.
16467 * gdb.disasm/t11_logs.exp: Ditto.
16468 * gdb.disasm/t12_bit.s: Ditto.
16469 * gdb.disasm/t12_bit.exp: Ditto.
16470 * gdb.disasm/t13_otr.s: Ditto.
16471 * gdb.disasm/t13_otr.exp: Ditto.
16472
e00759ef
EZ
164732003-07-22 Elena Zannoni <ezannoni@redhat.com>
16474
16475 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16476
8bc2021f
EZ
164772003-07-22 Elena Zannoni <ezannoni@redhat.com>
16478
a9c64011
AS
16479 * gdb.threads/tls.c : New file.
16480 * gdb.threads/tls.exp : New file.
16481 * gdb.threads/tls-main.c : New file.
16482 * gdb.threads/tls-shared.c : New file.
16483 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16484
89320c4c
AS
164852003-07-22 Andreas Schwab <schwab@suse.de>
16486
16487 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16488
180dea7c
AS
164892003-07-20 Andreas Schwab <schwab@suse.de>
16490
16491 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16492 due to insn reordering.
16493
0714963c
AC
164942003-07-15 Andrew Cagney <cagney@redhat.com>
16495
16496 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16497
98a23b3f
MC
164982003-07-15 Michael Chastain <mec@shout.net>
16499
16500 * gdb.base/gdb1250.exp: New file.
16501 * gdb.base/gdb1250.c: New file.
16502
27e417a2
ML
165032003-07-09 Michal Ludvig <mludvig@suse.cz>
16504
16505 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16506 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16507
8bc2021f
EZ
165082003-07-09 Elena Zannoni <ezannoni@redhat.com>
16509
a9c64011
AS
16510 * gdb.threads/tls.c: New file.
16511 * gdb.threads/tls.exp: New file.
16512 * gdb.threads/tls-main.c: New file.
16513 * gdb.threads/tls-shared.c: New file.
16514 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16515
d99968dc
EZ
165162003-07-09 Elena Zannoni <ezannoni@redhat.com>
16517
16518 * gdb.base/annota1.exp: Make sure that we properly escape the
16519 full path of the source file. Xfail more permissive patterns,
d63a86f8 16520 due to a compiler debug info problem.
d99968dc 16521
83876b3b
AS
165222003-07-07 Andreas Schwab <schwab@suse.de>
16523
2705e972
AS
16524 * gdb.asm/m68k.inc: New file.
16525 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16526
83876b3b
AS
16527 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16528 arguments"): Also match negative number.
16529
16530 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16531
3a871b37
DJ
165322003-07-03 Daniel Jacobowitz <drow@mvista.com>
16533
16534 * gdb.base/store.c (charest): New typedef.
16535 (add_char): Rename to add_charest, update.
16536 (wack_char): Rename to wack_charest, update types. Return l + r
16537 to keep r live across the call.
16538 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16539 (wack_double, wack_doublest): Return l + r to keep r live across
16540 the call.
16541 * gdb.base/store.exp: Accomodate store.c changes.
16542
b2a7f303
DC
165432003-06-30 David Carlton <carlton@kealia.com>
16544
16545 * gdb.c++/maint.exp (test_invalid_name): New.
16546 (test_first_component): Add tests for invalid names.
16547
3c6cb4a1
MC
165482003-06-29 Michael Chastain <mec@shout.net>
16549
16550 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16551 output of '<VTT for class>' for virtual base classes.
16552
f1c2644b
DJ
165532003-06-29 Daniel Jacobowitz <drow@mvista.com>
16554
16555 * gdb.base/completion.exp: Tab-complete "complet" instead of
16556 "compl".
16557 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16558
18080350
DJ
165592003-06-29 Daniel Jacobowitz <drow@mvista.com>
16560
16561 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16562 * gdb.base/volatile.exp: Likewise.
16563
f56973f8
DJ
165642003-06-29 Daniel Jacobowitz <drow@mvista.com>
16565
16566 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16567 gdb/1265.
16568
165692003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16570 Daniel Jacobowitz <drow@mvista.com>
16571
16572 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16573 initial line count of 'captured_main' from 26 to 32.
16574 (test_with_self): Allow xmalloc call to be interleaved with the
16575 preceding two lines.
16576
e766d4d6
JB
165772003-06-24 Joel Brobecker <brobecker@gnat.com>
16578
16579 * gdb.base/bang.exp: New testcase.
16580
f125c9a4
JB
165812003-06-23 Joel Brobecker <brobecker@gnat.com>
16582
16583 * gdb.base/langs.exp: Add some tests for the "minimal" language
16584 support.
16585
6e25beaf
EZ
165862003-06-23 Elena Zannoni <ezannoni@redhat.com>
16587
16588 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16589 the testcase.
16590
2f816dda
DJ
165912003-06-22 Daniel Jacobowitz <drow@mvista.com>
16592
16593 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16594 offset.
16595
db5a5748
DJ
165962003-06-22 Daniel Jacobowitz <drow@mvista.com>
16597
16598 * gdb.c++/pr-1210.cc: New file.
16599 * gdb.c++/pr-1210.exp: New file.
16600
1df0c130
DJ
166012003-06-21 Daniel Jacobowitz <drow@mvista.com>
16602
16603 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16604 000-exec-continue.
16605
a92feac0
MK
166062003-06-15 Mark Kettenis <kettenis@gnu.org>
16607
16608 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16609 on *-*-*bsd* instead of *-*-freebsd*.
16610
81a58f5b
AC
166112003-06-14 Andrew Cagney <cagney@redhat.com>
16612
16613 * gdb.base/store.exp: Test longest and doublest. Test all
16614 parameters. Weaken return statement match.
16615 * gdb.base/store.c: Add longest and doublest - aka long long and
16616 long double functions. Put all parameters into local register
16617 variables. Use negative values.
16618
b257a0d3
AC
166192003-06-14 Andrew Cagney <cagney@redhat.com>
16620
16621 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16622 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16623 exit status.
16624 * gdb.base/fileio.exp: Disable target when nointerrupts and
16625 noinferiorio, instead of limiting it to remote. Use remote_exec
16626 instead of system.
d63a86f8 16627
21c38304
JJ
166282003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16629
16630 * gdb.base/float.exp: Add ia64 support.
16631
1bcdb424
CV
166322003-06-12 Corinna Vinschen <vinschen@redhat.com>
16633
16634 * gdb.base/fileio.exp: Run only on remote targets.
16635
6aeb981f
CV
166362003-06-10 Corinna Vinschen <vinschen@redhat.com>
16637
16638 * gdb.base/fileio.c: New file, testing File-I/O.
16639 * gdb.base/fileio.exp: Ditto.
16640
53df362e
RG
166412003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16642
16643 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16644 shared objects after relocation at load time (gdb PR/1132).
16645 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16646 as above, part of the shared object relocation test.
53df362e 16647
ffee1b46
MK
166482003-06-08 Mark Kettenis <kettenis@gnu.org>
16649
b5ca3722
MK
16650 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16651 fully filled history list.
16652 * gdb.base/gdb_history: New file.
16653
03ed860d
MK
16654 * gdb.base/signals.exp: XFAIL "continue to func1" on
16655 i*86-*-freebsd*.
16656
ffee1b46
MK
16657 * gdb.base/attach.exp: When trying to attach to a nonexistent
16658 process, make it possible to specify the PID based on the target,
16659 and do so for *-*-freebsd*.
16660
d80dbb52
RH
166612003-06-02 Richard Henderson <rth@redhat.com>
16662
16663 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16664
6dd77b81
RH
166652003-06-02 Richard Henderson <rth@redhat.com>
16666
16667 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16668
f6347e16
RH
166692003-06-02 Richard Henderson <rth@redhat.com>
16670
16671 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16672
2c161407
DJ
166732003-06-01 Daniel Jacobowitz <drow@mvista.com>
16674
16675 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16676 of globalvar.
16677
572eb746
MK
166782003-06-01 Mark Kettenis <kettenis@gnu.org>
16679
16680 * gdb.asm/asm-source.exp: Check for memory read errors in
16681 disassembler test on *BSD too.
16682
9e9617a5
RH
166832003-06-01 Richard Henderson <rth@redhat.com>
16684
16685 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16686 for .frame.
16687 (gdbasm_call): Lose ldgp.
16688 (gdbasm_startup): Add frame information.
16689 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16690
7b34ad4e
MK
166912003-05-31 Mark Kettenis <kettenis@gnu.org>
16692
16693 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16694 i?86-*-*.
16695
10059fdf
MK
166962003-05-30 Mark Kettenis <kettenis@gnu.org>
16697
16698 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16699 FreeBSD.
16700
acf4b816
RH
167012003-05-29 Richard Henderson <rth@redhat.com>
16702
16703 * gdb.asm/alpha.inc: New file.
16704 * gdb.asm/asm-source.exp: Use it.
16705
e9ecd949
JB
167062003-05-29 Jim Blandy <jimb@redhat.com>
16707
16708 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16709 'core.PID'.
16710
e3e5a4f3
JB
167112003-05-22 Jim Blandy <jimb@redhat.com>
16712
16713 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16714 backtrace.
d63a86f8 16715
72fe3d25
DC
167162003-05-20 David Carlton <carlton@math.stanford.edu>
16717
16718 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16719 this time.
16720
58da2eb2
DC
167212003-05-19 David Carlton <carlton@bactrian.org>
16722
16723 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16724 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16725
1fcb5155
DC
167262003-05-19 David Carlton <carlton@bactrian.org>
16727
16728 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16729 namespace tests.
16730 Bump copyright date.
16731 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16732 (main): Call C::D::marker2.
16733 * gdb.c++/namespace1.cc: New file.
16734
85e85163
JJ
167352003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16736
16737 Roland McGrath <roland@redhat.com>
d63a86f8 16738 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16739 there is no manager thread.
16740
a25fbfec
JJ
167412003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16742
d63a86f8
RM
16743 * gdb.threads/schedlock.exp: Remove assumption that all threads
16744 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16745 in one of the child threads rather than the main thread.
16746
be375bae
JB
167472003-05-07 Jim Blandy <jimb@redhat.com>
16748
09bf6082
JB
16749 Add support for assembly source testing on the s390x.
16750 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16751 architecture.
16752 * gdb.asm/s390x.inc: New file.
16753
be375bae
JB
16754 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16755 succession of 'if' statements.
16756
00905d52
AC
167572003-05-05 Andrew Cagney <cagney@redhat.com>
16758
16759 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16760
b1e29e33
AC
167612003-05-05 Andrew Cagney <cagney@redhat.com>
16762
16763 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16764 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16765
e33d66ec
EZ
167662003-05-02 Elena Zannoni <ezannoni@redhat.com>
16767
16768 * gdb.base/charset.exp: Update based on new behavior of set/show
16769 charset commands.
16770
2b6fd0d8
AC
167712003-05-01 Andrew Cagney <cagney@redhat.com>
16772
16773 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16774 variable do not give memory errors.
16775
130cacce
AF
167762003-04-30 Adam Fedor <fedor@gnu.org>
16777
16778 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16779 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16780 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16781 gdb.objc/basicclass.m: : New files
16782
16783 * lib/gdb.exp (gdb_compile_objc): New procedure.
16784
bea71854
DJ
167852003-04-27 Daniel Jacobowitz <drow@mvista.com>
16786
16787 * gdb.base/signals.exp: Make backtrace tests more specific.
16788
0f20eeea
DC
167892003-04-23 David Carlton <carlton@bactrian.org>
16790
16791 * gdb.c++/maint.exp (test_first_component): Add tests for
16792 'operator' in more locations.
16793
c8c4d8dc
KB
167942003-04-16 Kevin Buettner <kevinb@redhat.com>
16795
16796 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16797
3fe60e3c
EZ
167982003-04-16 Elena Zannoni <ezannoni@redhat.com>
16799
16800 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16801 func marke' instead. Update test name.
3fe60e3c 16802
9219021c
DC
168032003-04-15 David Carlton <carlton@math.stanford.edu>
16804
16805 * gdb.c++/maint.exp: New file.
16806
5dd55bdd
EZ
168072003-04-14 Elena Zannoni <ezannoni@redhat.com>
16808
16809 * gdb.threads/schedlock.c: Change type of thread function argument
16810 to long, to avoid warnings on 64-bit platforms.
16811
00890572
EZ
168122003-04-14 Elena Zannoni <ezannoni@redhat.com>
16813
a9c64011
AS
16814 * gdb.base/attach.exp: Add new message from ptrace in case of
16815 attaching to nonexistent process.
d63a86f8 16816
93201743
JB
168172003-04-11 Jim Blandy <jimb@redhat.com>
16818
16819 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16820 gdb.c++/userdef.cc: Place comments on the lines to which the
16821 marker function might return.
16822 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16823 gdb.c++/userdef.exp: Look for those comments to check that we've
16824 returned to the right place, instead of checking line numbers.
16825
2a11c64d
EZ
168262003-04-11 Elena Zannoni <ezannoni@redhat.com>
16827
a9c64011
AS
16828 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16829 match on sourcefile name, instead of directory name.
2a11c64d 16830
68ab8fc5
EZ
168312003-04-10 Elena Zannoni <ezannoni@redhat.com>
16832
d63a86f8 16833 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16834 working directory name.
16835
5624293a
JB
168362003-04-09 Jim Blandy <jimb@redhat.com>
16837
16838 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16839 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16840 after an inferior function call, report the failure, but allow the
16841 test to continue.
16842
f1f02ee4
SC
168432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16844
16845 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16846 with -DPROTOTYPES.
16847
6eb79af0
SC
168482003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16849
16850 * gdb.base/break.exp: Revert last patch.
16851
8dfb4cf0
SC
168522003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16853
16854 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16855 with -DPROTOTYPES.
16856
ed4c619a
AC
168572003-04-02 Andrew Cagney <cagney@redhat.com>
16858
16859 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16860 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16861 matching directories by the name breakpoint.
16862 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16863 Make "continue to marker1" consistent.
16864 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16865 message consistent.
16866 * lib/gdb.exp: Put "the program is no longer running", and "the
16867 program exited" in parenthesis.
16868 * lib/mi-support.exp: Ditto.
d63a86f8 16869
4e35d5f0 168702003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16871
4e35d5f0
BR
16872 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16873
71900fe8
AC
168742003-03-29 Andrew Cagney <cagney@redhat.com>
16875
16876 * gdb.base/sizeof.c (main): Print the value of '\377'.
16877 * gdb.base/sizeof.exp: Check the sign of '\377'.
16878
c0655a16
MC
168792003-03-27 Michael Chastain <mec@shout.net>
16880
16881 * gdb.base/gdb1090.exp: New file.
16882 * gdb.base/gdb1090.cc: New file.
16883
5b2a3989
JB
168842003-03-27 J. Brobecker <brobecker@gnat.com>
16885
16886 * gdb.gdb/observer.exp: New regression test.
16887
79876890
MC
168882003-03-27 Michael Chastain <mec@shout.net>
16889
16890 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16891 * gdb.base/ptype.exp: Likewise.
16892
6eac95e3
CV
168932003-03-27 Corinna Vinschen <vinschen@redhat.com>
16894
16895 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16896
e8c71839
MC
168972003-03-26 Michael Chastain <mec@shout.net>
16898
16899 * gdb.base/ptype.exp: Actually use some typedef'd types.
16900
71b10041
SC
169012003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16902
16903 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16904 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16905
2512cf80
CV
169062003-03-20 Corinna Vinschen <vinschen@redhat.com>
16907
16908 * gdb.base/default.exp: Fix regular expression.
16909
0d195a4f
CV
169102003-03-20 Corinna Vinschen <vinschen@redhat.com>
16911
16912 * gdb.base/args.exp: Fix regular expression.
16913
8a2dbca8
CV
169142003-03-20 Corinna Vinschen <vinschen@redhat.com>
16915
16916 * gdb.base/help.exp: Allow Win32 child process.
16917
bf028682
CV
169182003-03-20 Corinna Vinschen <vinschen@redhat.com>
16919
16920 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16921 when stepping out of main().
16922
182dbe85
CV
169232003-03-20 Corinna Vinschen <vinschen@redhat.com>
16924
16925 * gdb.base/default.exp: Check for win32 specific message when calling
16926 "run" without executable.
16927
d67a6ba5
CV
169282003-03-20 Corinna Vinschen <vinschen@redhat.com>
16929
16930 * gdb.base/args.exp: Expect .exe in output.
16931
a955b5bb
CV
169322003-03-20 Corinna Vinschen <vinschen@redhat.com>
16933
16934 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16935 Cygwin native.
16936
bf6bad4b
AC
169372003-03-17 Andrew Cagney <cagney@redhat.com>
16938
16939 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16940 vector registes.
16941 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16942 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16943
293e9a31
DC
169442003-03-17 David Carlton <carlton@math.stanford.edu>
16945
16946 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16947 test, for PR breakpoints/38.
16948 Call test_watchpoint_and_breakpoint.
16949 * gdb.base/watchpoint.c (func3): New function.
16950 (main): Call func3.
16951
5330f2db
DC
169522003-03-04 David Carlton <carlton@math.stanford.edu>
16953
16954 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16955 Garply<Garply<char> >:: garply".
16956 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16957 with respect to PR c++/1111; note also PR c++/1113.
16958 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16959 respect to PR c++/1062.
16960 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16961
6ece72da
DC
169622003-03-03 David Carlton <carlton@math.stanford.edu>
16963
16964 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16965 with respect to PR c++/57.
16966 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16967 c++/826.
16968 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16969 respect to PR c++/57.
16970
85ca1584
DC
169712003-03-03 David Carlton <carlton@math.stanford.edu>
16972
16973 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16974 respect to PR c++/33 into FAILs.
16975
98e9c5b8
MC
169762003-03-03 Michael Chastain <mec@shout.net>
16977
7bedbf27
MC
16978 * configure.in: Update copyright years.
16979
169802003-03-03 Michael Chastain <mec@shout.net>
16981
16982 * Makefile.in: Update copyright years.
98e9c5b8 16983
f683e100
DC
169842003-02-28 David Carlton <carlton@math.stanford.edu>
16985
16986 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16987 print class instead of struct and/or superfluous protection
16988 specifiers, as long as the resulting output is equivalent to the
16989 source code.
16990 Delete FIXME from end of messages on tests that don't need
16991 fixing.
16992
a9e0cf2c
DC
169932003-02-28 David Carlton <carlton@math.stanford.edu>
16994
16995 * gdb.c++/templates.exp (do_tests): Allow const in the two
16996 Foo<volatile char *>::foo tests.
16997
e8d359df
MS
169982003-02-27 Michael Snyder <msnyder@redhat.com>
16999
d63a86f8 17000 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17001 will be consistant.
17002
0b71dc91
DC
170032003-02-26 David Carlton <carlton@math.stanford.edu>
17004
17005 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17006 char *>::foo" test with respect to PR c++/33. Create a new test
17007 which is identical to that one except that it doesn't put the
17008 space between the "char" and the "*"; KFAIL it, too.
17009
dd14ab43
DC
170102003-02-26 David Carlton <carlton@math.stanford.edu>
17011
17012 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17013 template types into either PASSes or KFAILs (corresponding to PR
17014 c++/57). Tweak indentation. Update copyright.
17015
1146c7f1
SC
170162003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17017
17018 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17019
74641dfb
MC
170202003-02-13 Michael Chastain <mec@shout.net>
17021
17022 * gdb.base/exprs.exp: Remove i960 remnants.
17023 * gdb.base/funcargs.exp: Likewise.
17024 * gdb.base/list.exp: Likewise.
17025 * gdb.base/ptype.exp: Likewise.
17026
559cd2d0
DC
170272003-02-14 David Carlton <carlton@math.stanford.edu>
17028
17029 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17030 pEe->D::vg()" from XFAIL to KFAIL.
17031
c4f90d87
JM
170322003-02-13 Jason Molenda (jmolenda@apple.com)
17033
17034 * gdb.base/maint.exp: Update maint print statistics regexp to include
17035 new entries.
17036
cbc4d97c
MC
170372003-02-13 Michael Chastain <mec@shout.net>
17038
17039 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17040
40f235b7
MC
170412003-02-12 Michael Chastain <mec@shout.net>
17042
17043 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17044 * gdb.c++/inherit.exp: Likewise.
17045 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17046 * gdb.c++/templates.exp: Likewise.
17047 * gdb.c++/virtfunc.exp: Likewise.
17048
c56716b0
JM
170492003-02-06 Jason Molenda (jason-cl@molenda.com)
17050
17051 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17052 why the code is written that way.
17053
070afcf8
MC
170542003-02-05 Michael Chastain <mec@shout.net>
17055
17056 * gdb.base/dump.exp: Add missing copyright line.
17057
5d0331e5
JM
170582003-02-05 Jason Molenda (jason-cl@molenda.com)
17059
f7ae6d3e 17060 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17061 at the beginning so the breakpoint doesn't get set on the loop.
17062
92851186
MC
170632003-02-05 Michael Chastain <mec@shout.net>
17064
17065 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17066 output for configurations with gcc 2.95.3.
17067
cbf1e085
AC
170682003-02-05 Keith Seitz <keiths@redhat.com>
17069 Andrew Cagney <ac131313@redhat.com>
17070
17071 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17072
29518e1e
MC
170732003-02-04 Michael Chastain <mec@shout.net>
17074
17075 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17076 Call perror and then continue.
17077
5af1d5f3
MC
170782003-02-03 Michael Chastain <mec@shout.net>
17079
17080 * gdb.c++/pr-1023.cc: New file.
17081 * gdb.c++/pr-1023.exp: New file.
17082
6b549786
JB
170832003-02-05 Jim Blandy <jimb@redhat.com>
17084
17085 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17086 it's local to foobar. Check for it there, and check that it's not
17087 present in main.
17088 * gdb.c++/local.cc (marker2): New function.
17089 (foobar): Call marker1.
17090 (main): Call marker2 instead of marker1.
17091
67f16606
AC
170922003-02-04 Andrew Cagney <ac131313@redhat.com>
17093
17094 * gdb.disasm/mn10200.exp: Obsolete file.
17095 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17096 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17097 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17098
1c5cb38e
DC
170992003-02-04 David Carlton <carlton@math.stanford.edu>
17100
17101 * gdb.c++/overload.exp: Test intToChar(1).
17102 * gdb.c++/overload.cc (intToChar): New.
17103 (main): Call intToChar.
17104
d1fe6965
DC
171052003-02-03 David Carlton <carlton@math.stanford.edu>
17106
17107 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17108 'might_kfail' arg.
17109 KFAIL some of the continue_to_bp_overloaded calls, according to
17110 PR c++/1025.
17111
9ba61c5d
MC
171122003-02-01 Michael Chastain <mec@shout.net>
17113
17114 * gdb.base/advance.c (marker1): New marker function.
17115 * gdb.base/advance.exp: When the 'advance' command lands on the
17116 return breakpoint, it can legitimately stop on either the
17117 current line or the next line. Accommodate both outcomes.
17118 * gdb.base/until.exp: Likewise.
17119
e7494ffb
AC
171202003-02-02 Andrew Cagney <ac131313@redhat.com>
17121
17122 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17123 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17124 now a list, not a tuple.
17125 * gdb.mi/mi-var-display.exp: Ditto.
17126 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17127
075559bc
AC
171282003-02-01 Andrew Cagney <ac131313@redhat.com>
17129
17130 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17131 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17132 stack backtraces.
17133 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17134
2bd4c7b1
MK
171352003-02-01 Mark Kettenis <kettenis@gnu.org>
17136
17137 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17138 gdb.mi/mi1-pthreads.exp: Return instead of calling
17139 gdb_suppress_entire_file.
17140
eabd8992
MS
171412003-02-01 Mark Salter <msalter@redhat.com>
17142
17143 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17144
71469e2f
MS
171452003-01-31 Mark Salter <msalter@redhat.com>
17146
17147 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17148 Support empty arg.
17149
38a94d44
MC
171502003-01-30 Michael Chastain <mec@shout.net>
17151
17152 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17153 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17154 has been fixed in gdb/readline on 2003-01-09.
17155
19ea9e73
MS
171562003-01-29 Michael Snyder <msnyder@redhat.com>
17157
e8d359df
MS
17158 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17159 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17160 * gdb.base/args.exp: Skip if target does not support args passing.
17161
2307bd6a
DJ
171622003-01-22 Daniel Jacobowitz <drow@mvista.com>
17163
19ea9e73 17164 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17165 gdb_test. Accept a list of expect arguments as the third
17166 parameter.
17167 (gdb_test): Use it.
17168
f2dd3617
EZ
171692003-01-20 Elena Zannoni <ezannoni@redhat.com>
17170
17171 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17172 allow for different test tree configurations. Update some
17173 tescases accordingly.
17174 * gdb.arch/altivec-regs.exp: Ditto.
17175 * gdb.asm/asm-source.exp: Ditto.
17176 * gdb.base/advance.exp: Ditto.
17177 * gdb.base/display.exp: Ditto.
d63a86f8 17178 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17179 * gdb.base/mips_pro.exp: Ditto.
17180 * gdb.base/overlays.exp: Ditto.
17181 * gdb.base/relocate.exp: Ditto.
17182 * gdb.base/setshow.exp: Ditto.
17183 * gdb.base/step-line.exp: Ditto.
17184 * gdb.base/step-test.exp: Ditto.
17185 * gdb.base/until.exp: Ditto.
17186 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17187
c71cdefd
DC
171882003-01-17 David Carlton <carlton@math.stanford.edu>
17189
17190 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17191 corresponding to PR c++/945.
17192 Update copyright.
17193
fdba05d7
DC
171942003-01-17 David Carlton <carlton@math.stanford.edu>
17195
17196 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17197 corresponding to PR c++/68.
17198
171992003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17200
17201 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17202 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17203 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17204
c362c33a
EZ
172052003-01-15 Elena Zannoni <ezannoni@redhat.com>
17206
0fbc361c
EZ
17207 * gdb.base/break.exp: Fix change of default location, because of
17208 removal of until tests.
17209 * gdb.base/help.exp: Update test for new 'until' help message.
17210 Add test for help on 'advance'.
a9c64011 17211 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17212
dabf8a35
MK
172132003-01-15 Mark Kettenis <kettenis@gnu.org>
17214
17215 * gdb.base/default.exp: Adapt "info float" test for recent changes
17216 to that command. Add test for "info vector".
17217 * gdb.base/float.exp: New file. Add test for "info float" that
17218 resembles the old test in gdb.base/default.exp.
17219
a1769aca
DC
172202003-01-15 David Carlton <carlton@math.stanford.edu>
17221
17222 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17223
82025e13
EZ
172242003-01-15 Elena Zannoni <ezannoni@redhat.com>
17225
17226 * gdb.base/break.exp: Move the tests of until command from here...
17227 * gdb.base/until.exp: ... to here. New file. Add other tests.
17228 * gdb.base/advance.c: New file.
17229 * gdb.base/advance.exp: New file.
17230
8f9ab801
EZ
172312003-01-14 Elena Zannoni <ezannoni@redhat.com>
17232
a9c64011
AS
17233 * gdb.base/args.c: New file.
17234 * gdb.base/args.exp: New file.
8f9ab801 17235
9ae66589
DJ
172362003-01-14 Daniel Jacobowitz <drow@mvista.com>
17237
17238 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17239
8d77e5c3
DJ
172402003-01-14 Daniel Jacobowitz <drow@mvista.com>
17241
17242 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17243
12d2f0a1
DJ
172442003-01-14 Daniel Jacobowitz <drow@mvista.com>
17245
17246 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17247 dates.
17248
6ca37014
DJ
172492003-01-13 Daniel Jacobowitz <drow@mvista.com>
17250
17251 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17252
b0023472
DJ
172532003-01-13 Daniel Jacobowitz <drow@mvista.com>
17254
17255 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17256 (ptype &*"foo").
17257 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17258
607fbc54 172592003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17260
17261 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17262 * gdb.mi/mi1-console.exp: Likewise.
17263
607fbc54 172642003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17265
17266 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17267 * gdb.mi/mi1-console.exp: Likewise.
17268
a1fb14a2
DJ
172692003-01-13 Daniel Jacobowitz <drow@mvista.com>
17270
17271 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17272
c4cf40b7
DJ
172732003-01-09 Daniel Jacobowitz <drow@mvista.com>
17274
17275 * gdb.base/detach.exp: New test.
17276
696d5a5b
DJ
172772003-01-09 Daniel Jacobowitz <drow@mvista.com>
17278
17279 * Makefile.in (ALL_SUBDIRS): New variable.
17280 (subdirs, clean, distclean): Use it.
17281 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17282 regenerating Makefile, since it is generated from the top level.
17283 * gdb.asm/Makefile.in: Likewise.
17284 * gdb.base/Makefile.in: Likewise.
17285 * gdb.c++/Makefile.in: Likewise.
17286 * gdb.disasm/Makefile.in: Likewise.
17287 * gdb.java/Makefile.in: Likewise.
17288 * gdb.mi/Makefile.in: Likewise.
17289 * gdb.threads/Makefile.in: Likewise.
17290 * gdb.trace/Makefile.in: Likewise.
17291
754533e4
DC
172922003-01-09 David Carlton <carlton@math.stanford.edu>
17293
17294 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17295 Add copyright year 2003.
17296
d8b3e9ee
MC
172972003-01-06 Michael Chastain <mec@shout.net>
17298
17299 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17300 When selecting a thread, 'line' and 'file' are optional.
17301 * gdb.mi/mi1-pthreads.exp: Likewise.
17302
8e9e0fe6
AS
173032003-01-06 Andreas Schwab <schwab@suse.de>
17304
17305 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17306 failures.
17307
b5ab8ff3
DJ
173082003-01-04 Daniel Jacobowitz <drow@mvista.com>
17309
17310 Fix PR gdb/844
17311 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17312 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17313
17314 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17315 instead of calling gdb_suppress_entire_file.
17316 * gdb.threads/print-threads.exp: Likewise.
17317 * gdb.threads/schedlock.exp: Likewise.
17318
17319 * gdb.threads/killed.exp: Return instead of calling
17320 gdb_suppress_entire_file.
17321 * gdb.threads/linux-dp.exp: Likewise.
17322 * gdb.threads/pthreads.exp: Likewise.
17323
1e698235
DJ
173242003-01-04 Daniel Jacobowitz <drow@mvista.com>
17325
17326 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17327 stabs.
17328 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17329 * gdb.base/whatis.exp: Always allow (void) after function names.
17330
147ff08c
DJ
173312003-01-04 Daniel Jacobowitz <drow@mvista.com>
17332
17333 * gdb.c++/casts.exp: Correct regexp.
17334
dc62bfc2
MK
173352003-01-04 Mark Kettenis <kettenis@gnu.org>
17336
17337 * configure.in: Call AC_CONFIG_HEADER. Don't call
17338 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17339 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17340 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17341 aforementioned directories in the AC_OUPUT call.
17342 * config.hin: New file.
17343 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17344 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17345 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17346 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17347 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17348 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17349 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17350 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17351 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17352 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17353 gdb.threads/configure.in, gdb.threads/configure,
17354 gdb.threads/config.in, gdb.trace/configure.in,
17355 gdb.trace/configure: Removed.
17356
77afa639
MC
173572003-01-03 Michael Chastain <mec@shout.net>
17358
17359 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17360 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17361
7634bb6e
DJ
173622003-01-03 Daniel Jacobowitz <drow@mvista.com>
17363
17364 * gdb.base/store.exp: Fix regular expressions.
17365
b39c905e
MK
173662002-12-28 Mark Kettenis <kettenis@gnu.org>
17367
17368 * configure.in: Rewrite.
17369 * configure: Regenerated.
17370
0a8551dd
DC
173712003-01-03 David Carlton <carlton@math.stanford.edu>
17372
17373 * gdb.base/psymtab.exp: New file.
17374 * gdb.base/psymtab1.c: Ditto.
17375 * gdb.base/psymtab2.c: Ditto.
17376
c60b7188
AF
173772002-12-23 Adam Fedor <fedor@gnu.org>
17378
17379 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17380
ee73db83
DC
173812002-12-23 David Carlton <carlton@math.stanford.edu>
17382
17383 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17384 and current_directory initialization.
17385
d6c1774e
JB
173862002-12-22 Jim Blandy <jimb@redhat.com>
17387
f0a847b8
JB
17388 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17389 rather than as part of the output file name.
17390
d6c1774e
JB
17391 * gdb.base/attach.exp: There's no need to copy the test program to
17392 /tmp; that was only ever necessary on HP/UX, and this test is
17393 entirely disabled there anyway.
17394
f0708dbb
JB
173952002-12-21 Jim Blandy <jimb@redhat.com>
17396
4c2acfea
JB
17397 * gdb.c++/psmang.exp: Doc fix.
17398
f0708dbb
JB
17399 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17400 test.
17401
9579e000
DC
174022002-12-20 David Carlton <carlton@math.stanford.edu>
17403
17404 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17405
d1810171
MC
174062002-12-18 Michael Chastain <mec@shout.net>
17407
17408 * gdb.c++/annota2.exp: Add copyright year 2002.
17409
76565097
DC
174102002-12-17 David Carlton <carlton@math.stanford.edu>
17411
17412 * gdb.c++/try_catch.cc: Add marker comments.
17413 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17414 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17415 * gdb.c++/m-static.cc: Ditto.
17416 * gdb.c++/m-static1.cc: Ditto.
17417 * gdb.c++/try_catch.cc: Ditto.
17418
da81390b
JJ
174192002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17420
17421 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17422 to see whether we are using the new -environment-directory
17423 command which resets via -r or the old version of the command
17424 which may prompt the user. Part of fix for gdb/741.
17425
b304d130
AC
174262002-12-13 Andrew Cagney <ac131313@redhat.com>
17427
17428 * gdb.fortran/types.exp: Update obsolete comment.
17429 * gdb.fortran/exprs.exp: Ditto.
17430 * lib/gdb.exp: Delete obsolete code.
17431 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17432 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17433 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17434 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17435 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17436 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17437 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17438 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17439 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17440 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17441 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17442 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17443 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17444 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17445 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17446 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17447 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17448 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17449 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17450 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17451 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17452 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17453 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17454 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17455 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17456 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17457 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17458 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17459 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17460 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17461 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17462 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17463 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17464 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17465 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17466 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17467 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17468
a23b6e6a
DC
174692002-12-11 David Carlton <carlton@math.stanford.edu>
17470
17471 * gdb.c++/m-data.exp: Add test for members that shadow global
17472 variables: see PR gdb/804.
17473 * gdb.c++/m-data.cc: Ditto.
17474
6604731b
DJ
174752002-12-10 Daniel Jacobowitz <drow@mvista.com>
17476
17477 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17478
de46ecd7
DC
174792002-12-06 David Carlton <carlton@math.stanford.edu>
17480
17481 * gdb.base/store.c: Don't declare functions static.
17482
27e829d0
AC
174832002-12-04 Andrew Cagney <ac131313@redhat.com>
17484
17485 * gdb.base/store.exp, gdb.base/store.c: New files.
17486
92806416
DJ
174872002-12-03 Daniel Jacobowitz <drow@mvista.com>
17488
17489 * gdb.base/selftest.exp: Update for current gdb.
17490
3bcbaac5
DJ
174912002-12-03 Daniel Jacobowitz <drow@mvista.com>
17492
17493 * gdb.base/maint.exp: Only dump symbols from one source file
17494 or objfile.
17495
f4f00b1f
DJ
174962002-12-03 Daniel Jacobowitz <drow@mvista.com>
17497
17498 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17499 function call.
17500
f1c8a949
JB
175012002-11-25 Jim Blandy <jimb@redhat.com>
17502
17503 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17504 function appearing in error message.
17505
9e297a97
DJ
175062002-11-21 Daniel Jacobowitz <drow@mvista.com>
17507
17508 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17509
1f312e79
JJ
175102002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17511
d63a86f8
RM
17512 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17513 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17514 should be in mi console format. This is part of fix for PR gdb/604.
17515
83c31e7d
FN
175162002-09-18 Fernando Nasser <fnasser@redhat.com>
17517
17518 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17519 which explicitly prints the zero offset as "+0".
17520
322b3f65
DJ
175212002-10-22 Daniel Jacobowitz <drow@mvista.com>
17522
17523 * gdb.threads/schedlock.c (args): Make unsigned.
17524
175252002-10-21 Daniel Jacobowitz <drow@mvista.com>
17526
17527 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17528 numbers. Allow "foo2|selected stack frame".
17529 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17530 * gdb.asm/asmsrc2.s: Likewise.
17531 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17532 comments.
17533 * gdb.asm/mips.inc: New file.
17534
5e2fe5b8
AF
175352002-10-18 Adam Fedor <fedor@gnu.org>
17536
17537 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17538 * gdb.base/help.exp: Likewise.
17539
abe1a5d0
KB
175402002-10-17 Kevin Buettner <kevinb@redhat.com>
17541
17542 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17543 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17544
10abb1d4
JB
175452002-10-02 Jim Blandy <jimb@redhat.com>
17546
17547 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17548
1f609b42
AC
175492002-10-01 Andrew Cagney <ac131313@redhat.com>
17550
17551 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17552 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17553 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17554 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17555 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17556 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17557 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17558
0aee02e4
AC
175592002-09-29 Andrew Cagney <ac131313@redhat.com>
17560
17561 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17562 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17563 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17564 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17565 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17566 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17567 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17568
6fde09ad
KB
175692002-09-27 Kevin Buettner <kevinb@redhat.com>
17570
17571 * gdb.base/annota1.exp (info break): Make directory components of
17572 path optional since not all compilers emit this debug information.
17573
889bf7c5
PA
17574 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17575 step ends up stepping out of the function instead of stopping on
17576 the epilogue.
6fde09ad 17577
9e8aab75
KS
175782002-09-26 Keith Seitz <keiths@redhat.com>
17579
17580 * lib/insight-support.exp (gdbtk_start): Figure out where
17581 the insight executable is based on where gdb is. Use this
17582 executable to start insight instead of gdb.
17583
e36180d7
AC
175842002-09-25 Andrew Cagney <cagney@redhat.com>
17585
17586 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17587
9dd34b2b
AC
175882002-09-24 Andrew Cagney <ac131313@redhat.com>
17589
17590 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17591 test_isolated_complaints.
17592 (test_empty_complaint): New function.
17593 (test_empty_complaints): New function. Check no output when no
17594 complaints.
d63a86f8 17595
dea97812
KB
175962002-09-19 Jim Blandy <jimb@redhat.com>
17597
a9c64011 17598 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17599
54951bd7
AC
176002002-09-19 Andrew Cagney <ac131313@redhat.com>
17601
17602 * gdb.gdb/complaints.exp: New file.
17603
dec43320
AC
176042002-09-18 Andrew Cagney <ac131313@redhat.com>
17605
17606 * gdb.base/maint.exp: Check `help maint internal-warning'.
17607
e70d6e3f
DC
176082002-09-18 David Carlton <carlton@math.stanford.edu>
17609
17610 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17611 numbers, and replace them by a single breakpoint after the
17612 constructors are all finished.
17613 Add test 4.
17614 * gdb.c++/m-static.cc: Add test 4.
17615 * gdb.c++/m-static.h: New file.
17616 * gdb.c++/m-static1.cc: New file.
17617
17618 * gdb.c++/printmethod.exp: New file.
17619 * gdb.c++/printmethod.cc: New file.
17620
17621 * gdb.c++/pr-574.exp: New file.
17622 * gdb.c++/pr-574.cc: New file.
17623
afb5c968
CV
176242002-09-18 Corinna Vinschen <vinschen@redhat.com>
17625
17626 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17627 embedded targets which never actually exit.
17628
31e45dee
FN
176292002-09-18 Fernando Nasser <fnasser@redhat.com>
17630
17631 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17632 "don't step after run" as unresolved or unsupported, instead of xfail.
17633
a283c5a1
CV
176342002-09-18 Corinna Vinschen <vinschen@redhat.com>
17635
17636 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17637 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17638 Add newline to expected string in "step out of main (status wrapper)"
17639 case.
17640
11350d2a
CV
176412002-09-18 Corinna Vinschen <vinschen@redhat.com>
17642
17643 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17644 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17645
0deec7d6
TT
176462002-09-17 Tom Tromey <tromey@redhat.com>
17647
17648 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17649 \000, not \0, in double-quoted string.
17650
b2b4a1b5
CV
176512002-09-14 Corinna Vinschen <vinschen@redhat.com>
17652
c9d37158 17653 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17654 string after running the commands execution on breakpoint tests.
17655
1c56143a
CV
176562002-09-13 Corinna Vinschen <vinschen@redhat.com>
17657
17658 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17659
37f8da45
JB
176602002-09-12 Joel Brobecker <brobecker@gnat.com>
17661
17662 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17663
08b468e0
KS
176642002-09-10 Keith Seitz <keiths@redhat.com>
17665
17666 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17667 runto proc.
17668 (mi_run_to_main): Use mi_runto.
17669 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17670
dc360f58
KS
176712002-09-10 Keith Seitz <keiths@redhat.com>
17672
17673 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17674 regexp for stopping at main. Could have multiple event notifications.
17675 Don't assume that main was declared with no parameters.
17676 (mi_next): Use mi_step_to.
17677 (mi_step): Use mi_next_to.
17678
ce3abcfb
CV
176792002-09-09 Corinna Vinschen <vinschen@redhat.com>
17680
17681 * gdb.base/default.exp: Fix expected string in `info float' test.
17682
d1f5b980
BE
176832002-09-09 Ben Elliston <bje@redhat.com>
17684
17685 * config/mips.exp: Update comments.
17686 * config/mips-idt.exp: Likewise.
17687 * config/nind.exp: Likewise.
17688 * config/slite.exp: Likewise.
17689 * config/sparclet.exp: Likewise.
17690 * config/udi.exp: Likewise.
17691 * config/vx.exp: Likewise.
17692 * config/vxworks29k.exp: Likewise.
17693
2f71430b
JB
176942002-09-05 Jim Blandy <jimb@redhat.com>
17695
17696 * gdb.threads/killed.exp: Fix test failure message.
17697
7ddebc7e
KS
176982002-09-04 Keith Seitz <keiths@redhat.com>
17699
17700 * lib/mi-support.exp: Update copyright.
17701 (mi_gdb_test): Increase the priority of the expected pattern
17702 so that it matches gdb_test.
17703
0ae67eb3
KS
177042002-09-03 Keith Seitz <keiths@redhat.com>
17705
17706 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17707 Use integer comparison instead of string comparison for testing
17708 whether binary was built.
17709
38fc42c8
JB
177102002-09-03 Jim Blandy <jimb@redhat.com>
17711
17712 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17713
b6ff0e81
JB
177142002-08-29 Jim Blandy <jimb@redhat.com>
17715
17716 * gdb.threads/pthreads.exp: Move the portable thread compilation
17717 code into a function in lib/gdb.exp, and call that from here.
17718 * lib/gdb.exp (gdb_compile_pthreads): New function.
17719
07c98896
KS
177202002-08-29 Keith Seitz <keiths@redhat.com>
17721
17722 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17723 expect_out so that callers can get at it.
17724
0312286c
DJ
177252002-08-23 Daniel Jacobowitz <drow@mvista.com>
17726
17727 * gdb.threads/print-threads.c: New file.
17728 * gdb.threads/print-threads.exp: New file.
17729 * gdb.threads/schedlock.c: New file.
17730 * gdb.threads/schedlock.exp: New file.
17731
dd039bc4
EZ
177322002-08-22 Elena Zannoni <ezannoni@redhat.com>
17733
a9c64011
AS
17734 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17735 not altivec.c.
dd039bc4 17736
1f36144c
MK
177372002-08-17 Mark Kettenis <kettenis@gnu.org>
17738
17739 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17740 targets. The problem should be fixed now.
17741
16057ec7 177422002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17743
17744 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17745 2002-07-24 change that removes final dots from error messages.
17746
3c1499ad
TT
177472002-08-13 Tom Tromey <tromey@redhat.com>
17748
17749 * gdb.base/readline.exp: New file.
17750
a20ce2c3
AC
177512002-08-01 Andrew Cagney <ac131313@redhat.com>
17752
17753 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17754 supress message.
17755
db034ac5
AC
177562002-08-01 Andrew Cagney <cagney@redhat.com>
17757
17758 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17759 CHILL_FOR_TARGET and CHILL_LIB.
17760 * configure.in (configdirs): Remove gdb.chill.
17761 * configure: Regenerate.
17762 * lib/gdb.exp: Obsolete references to chill.
17763 * gdb.fortran/types.exp: Ditto.
17764 * gdb.fortran/exprs.exp: Ditto.
17765
3e000b18
KB
177662002-07-30 Kevin Buettner <kevinb@redhat.com>
17767
17768 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17769 set Irix-specific compile and link flags.
17770
28f4966b
KB
177712002-07-29 Kevin Buettner <kevinb@redhat.com>
17772
17773 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17774 source files. The ``-o'' option doesn't work with the ``-E'' option
17775 when using the Irix compiler.
17776
46c0d5a6
DJ
177772002-07-19 Daniel Jacobowitz <drow@mvista.com>
17778
17779 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17780 Improve support for reusing an exec file. Copy exec file
17781 to target, and run gdbserver on the target instead of on the host.
17782
eecf4bed
JB
177832002-07-18 Jim Blandy <jimb@redhat.com>
17784
0f815cdf
JB
17785 * gdb.base/ending-run.exp: Don't expect to see the program end in
17786 some orderly fashion when we're running on a real stand-alone
17787 board.
17788
eecf4bed
JB
17789 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17790 targets that don't support interrupts.
17791
52d309e4
JB
177922002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17793
17794 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17795 systems.
17796 Move comments in expect statements to inside the actions, so that they
17797 don't get matched against.
17798
ff683d9e
MK
177992002-07-10 Mark Kettenis <kettenis@gnu.org>
17800
17801 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17802 function when asleep" test.
17803
b5356753
AC
178042002-07-10 Andrew Cagney <ac131313@redhat.com>
17805
17806 * gdb.base/page.exp: Rewrite to handle problems with very long
17807 `info set' output. Update copyright.
17808
6aa4d13a
AC
178092002-06-26 Andrew Cagney <ac131313@redhat.com>
17810
17811 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17812 gdb.threads-hp.
17813 * gdb.hp/configure: Regenerate.
17814 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17815 * gdb.hp/gdb.threads-hp/configure: Delete file.
17816 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17817
8cf8c2b8
AC
178182002-06-22 Andrew Cagney <ac131313@redhat.com>
17819
17820 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17821 setlocale, bindtextdomain and textdomain.
17822
6827a8f8
JB
178232002-06-11 Jim Blandy <jimb@redhat.com>
17824
919d772c
JB
17825 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17826 preprocessor macro information is present.
17827
6827a8f8
JB
17828 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17829 tests.
17830
c15b0d21
MS
178312002-06-06 Michael Snyder <msnyder@redhat.com>
17832
c5984d70
MS
17833 * gdb.base/overlays.exp: Record addresses of overlay
17834 functions in TCL variables rather than in GDB variables,
17835 to avoid having GDB convert them to pointers (with loss
17836 of information).
17837
d63a86f8 17838 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17839 default linker script changes.
c15b0d21
MS
17840 * gdb.base/long_long.exp: Add check for sizeof (long double).
17841
be26fe0d
ML
178422002-06-06 Michal Ludvig <mludvig@suse.cz>
17843
17844 * gdb.asm/asm-source.exp: Add x86-64 target.
17845 * gdb.asm/x86_64.inc: New.
d63a86f8 17846
258093ca 178472002-05-30 Michael Chastain <mec@shout.net>
258093ca 17848
4b3153f1 17849 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17850 * gdb.c++/m-static.cc: New file.
17851 * gdb.c++/m-static.exp: New file.
17852
241264c6
MS
178532002-05-28 Michael Snyder <msnyder@redhat.com>
17854
17855 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17856 precision.
17857
9bba8c8f 178582002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17859
4b3153f1 17860 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17861 * gdb.c++/m-data.cc: New file.
17862 * gdb.c++/m-data.exp: New file.
17863
178642002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17865
4b3153f1 17866 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17867 * gdb.c++/try_catch.cc: New file.
d63a86f8 17868 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17869
def1b996
MC
178702002-05-27 Michael Chastain <mec@shout.net>
17871
17872 * gdb.c++/local.exp: Accept more nested types in output.
17873
522ba268
MC
178742002-05-26 Michael Chastain <mec@shout.net>
17875
17876 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17877
277254ba
MS
178782002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17879
17880 * lib/gdb.exp (gdb_wrapper_init): Just because
17881 gdb_wrapper_file exists, this does not mean that the file
17882 should not be rebuilt. That is what gdb_wrapper_initialized
17883 is for.
17884 (default_gdb_init): Reset gdb_wrapper_initialized.
17885
b61a8733
MS
178862002-05-23 Michael Snyder <msnyder@redhat.com>
17887
d63a86f8 17888 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17889 the precision of the floating point test results.
17890 * gdb.base/call-rt-st.exp: Ditto.
17891
b61a8733
MS
17892 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17893 * gdb.base/call-rt-st.exp: Ditto.
17894
56f6e910
MC
178952002-05-19 Michael Chastain <mec@shout.net>
17896
17897 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17898
ad0b0016
EZ
178992002-05-19 Elena Zannoni <ezannoni@redhat.com>
17900
a9c64011
AS
17901 * configure.in (configdirs): Add gdb.arch.
17902 * configure: Regenerate.
ad0b0016 17903
f617d2b6
JB
179042002-05-17 Jim Blandy <jimb@redhat.com>
17905
17906 * gdb.base/completion.exp: Recognize the more detailed error
17907 messages produced by the macro expander's lexical analyzer.
17908
eac2a696
EZ
179092002-05-14 Elena Zannoni <ezannoni@redhat.com>
17910
a9c64011
AS
17911 * gdb.arch/altivec-abi.c: New file.
17912 * gdb.arch/altivec-abi.exp: New file.
17913 * gdb.arch/altivec-regs.c: New file.
17914 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17915
2fdde8f8
DJ
179162002-05-14 Daniel Jacobowitz <drow@mvista.com>
17917
17918 * gdb.base/maint.exp (maint print type): Update for new type
17919 structure.
d63a86f8 17920
e31f1a7c
EZ
179212002-05-14 Elena Zannoni <ezannoni@redhat.com>
17922
17923 * gdb.arch: New directory.
17924 * gdb.arch/configure.in: New file.
17925 * gdb.arch/configure: New file.
17926 * gdb.arch/Makefile.in: New file.
17927
db589741
CV
179282002-05-13 Corinna Vinschen <vinschen@redhat.com>
17929
17930 * gdb.asm/asm-source.exp: Add v850 as supported target.
17931 * gdb.asm/v850.inc: New file.
17932
8ce2a7dc
DJ
179332002-05-13 Daniel Jacobowitz <drow@mvista.com>
17934
17935 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17936
df763c7f
DJ
179372002-05-12 Daniel Jacobowitz <drow@mvista.com>
17938
17939 * gdb.base/break.exp: Check 'break "marker2"'.
17940
377daeed
MS
179412002-05-10 Michael Snyder <msnyder@redhat.com>
17942
17943 * gdb.base/long_long.exp: Fix typo.
17944
c4b7bc2b
JB
179452002-05-10 Jim Blandy <jimb@redhat.com>
17946
ecac9a4e
JB
17947 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17948 a bug.
17949
c4b7bc2b
JB
17950 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17951 Recognize more detailed error message produced by the macro
17952 expander's lexical analyzer.
17953 * lib/gdb.exp (test_print_reject): Same.
17954
e71019a1
MK
179552002-05-09 Mark Kettenis <kettenis@gnu.org>
17956
17957 * gdb.c++/method.exp: Fix typo.
17958
fedfc8e6
MS
179592002-05-08 Michael Snyder <msnyder@redhat.com>
17960
166a1957
MS
17961 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17962 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17963 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17964 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17965 Add iftarget clause for strongarm.
d63a86f8 17966
f1c47eb2
MS
179672002-05-06 Michael Snyder <msnyder@redhat.com>
17968
cb9a9d3e
MS
17969 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17970 (gdb_continue_to_end): Accept output from status wrapper.
17971 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17972 Clean up fail messages to match pass messages.
17973
f1c47eb2
MS
17974 Enable the "needs_status_wrapper" testsuite feature.
17975 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17976 (gdb_compile): Conditionally call gdb_wrapper_init.
17977 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17978 * gdb.c++/method.exp: Recognize output from status wrapper.
17979
6079c749
BE
179802002-05-06 Ben Elliston <bje@redhat.com>
17981From Graydon Hoare <graydon@redhat.com>
17982
17983 * config/sid.exp: Include support for "rawsid" protocol.
17984
188baff3
JB
179852002-05-03 Jim Blandy <jimb@redhat.com>
17986
17987 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17988 * gdb.c++/hang3.C: New file.
17989
b9c07f0f
AC
179902002-05-04 Andrew Cagney <ac131313@redhat.com>
17991
17992 * gdb.base/default.exp: Remove obsolete code.
17993 * gdb.c++/misc.exp: Ditto. Update copyright.
17994 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17995 * gdb.base/whatis.exp: Ditto. Update copyright.
17996 * gdb.base/scope.exp: Ditto. Update copyright.
17997 * gdb.base/ptype.exp: Ditto. Update copyright.
17998 * gdb.base/printcmds.exp: Ditto. Update copyright.
17999 * gdb.base/opaque.exp: Ditto. Update copyright.
18000 * gdb.base/list.exp: Ditto.
18001 * gdb.base/funcargs.exp: Ditto. Update copyright.
18002 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18003 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18004 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18005 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18006 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18007 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18008
5c7a0397
MS
180092002-05-02 Michael Snyder <msnyder@redhat.com>
18010
d6dcc264 18011 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18012 * gdb.base/long_long.exp: Add xscale target.
18013 * gdb.base/default.exp: Add xscale target.
18014
eb7f1c48
JB
180152002-05-01 Jim Blandy <jimb@redhat.com>
18016
18017 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18018 gdb.c++/hang.exp: New test.
18019
a6befae8
FF
180202002-05-01 Fred Fish <fnf@redhat.com>
18021
18022 * gdb.base/completion.exp: Handle completions of "./Make" for
18023 more than one completion possibility, as is the case when we
18024 build and test in the source tree.
18025
0a310277
AG
180262002-04-29 Anthony Green <green@redhat.com>
18027
18028 * gdb.java/jmisc1.exp: New file.
18029 * gdb.java/jmisc2.exp: New file.
18030
6ff9af88
DJ
180312002-04-24 Daniel Jacobowitz <drow@mvista.com>
18032
18033 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18034
96b3d632
EZ
180352002-04-23 Elena Zannoni <ezannoni@redhat.com>
18036
18037 * gdb.base/help.exp: Change 'help status' to allow for target
18038 dependent output differences.
18039
5019bb54
MC
180402002-04-22 Michael Chastain <mec@shout.net>
18041
18042 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18043
a805a116
MC
180442002-04-22 Michael Chastain <mec@shout.net>
18045
18046 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18047
a1706bfd
DM
180482002-04-17 David S. Miller <davem@redhat.com>
18049
18050 * gdb.asm/sparc64.inc: New file.
18051 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18052
a73a20a2
EZ
180532002-04-19 Elena Zannoni <ezannoni@redhat.com>
18054
18055 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18056 instruction file directly into the build tree. Clean up at end of
18057 test.
18058
ba678339
DM
180592002-04-18 David S. Miller <davem@redhat.com>
18060
18061 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18062 handle 64-bit platforms correctly.
18063 * gdb.base/maint.exp: Likewise.
18064
b03399da
KB
180652002-04-18 Kevin Buettner <kevinb@redhat.com>
18066
18067 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18068 ``-fpic'' when compiling files comprising a shared library, but
18069 it does need additional linker flags in order to find shared
18070 libraries at run time.
18071
e2004992
KB
180722002-04-18 Kevin Buettner <kevinb@redhat.com>
18073
18074 * gdb.base/cvexpr.c (use): New function.
18075 (main): Invoke use() on all global variables to prevent
18076 some linkers from deleting these otherwise unused symbols.
18077
d8937120
MC
180782002-04-17 Michael Chastain <mec@shout.net>
18079From David S. Miller <davem@redhat.com>
18080
18081 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18082 handle 64-bit platforms correctly.
18083
ffd61a58
MS
180842002-04-12 Michael Snyder <msnyder@redhat.com>
18085From Jim Blandy <jimb@redhat.com>
a9c64011 18086 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18087 script can handle this instead.
18088 * gdb.base/bar.c (barx): Same.
18089 * gdb.base/baz.c (bazx): Same.
18090 * gdb.base/grbx.c (grbxx): Same.
18091
18092 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18093 manager doesn't automatically unmap overlays unnecessarily.
18094
6b8426a6
MH
180952002-04-10 Martin M. Hunt <hunt@redhat.com>
18096
18097 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18098 stepping out of main.
18099
34af4875
MC
181002002-04-09 Michael Chastain <mec@shout.net>
18101
18102 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18103 scope so that the nested scope tests will make sense.
18104 * gdb.c++/local.exp: Write patterns that actually work with gcc
18105 (the HP patterns "were never known to work with gcc").
18106 Keep the old aCC patterns too.
18107
2d1676a0
DJ
181082002-04-09 Daniel Jacobowitz <drow@mvista.com>
18109
18110 * gdb.base/attach.exp: Correct target board test.
18111
3a63e3f9
MC
181122002-04-08 Michael Chastain <mec@shout.net>
18113
18114 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18115 in a const method. Add some xfail and fail cases for configurations
18116 that do not emit the "const ...".
18117
f18dabd2
MC
181182002-04-07 Michael Chastain <mec@shout.net>
18119
18120 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18121 Accept "A * const" and "const A * const" as type of "this".
18122 Fix spelling of getFunky throughout. Make messages uniform.
18123
0fcddd82
EZ
181242002-04-07 Elena Zannoni <ezannoni@redhat.com>
18125
a9c64011 18126 Work around for PR gdb/285:
0fcddd82
EZ
18127 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18128
16a8534a
EZ
181292002-04-07 Elena Zannoni <ezannoni@redhat.com>
18130
18131 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18132 instructions file at run time instead of configure time.
18133 Sometimes we run the test in a directory that is not the one we
18134 configured in.
18135 * gdb.asm/configure.in: Delete creation of symlink.
18136 * gdb.asm/configure: Regenerate.
18137
24181d81
JB
181382002-04-05 J. Brobecker <brobecker@gnat.com>
18139
18140 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18141 xfullpath () function.
18142
7cdb7107
DJ
181432002-04-04 Daniel Jacobowitz <drow@mvista.com>
18144
18145 * gdb.asm/Makefile.in: Correct dependencies.
18146
18147 * gdb.asm/powerpc.inc: New file.
18148 * gdb.asm/asm-source.exp: Add PowerPC.
18149 * gdb.asm/configure.in: Likewise.
18150 * gdb.asm/configure: Regenerated.
18151
a7d17088
DJ
181522002-04-04 Daniel Jacobowitz <drow@mvista.com>
18153
18154 * gdb.base/relocate.exp: New file.
18155 * gdb.base/relocate.c: New file.
18156
cd721503
FF
181572002-04-04 Fred Fish <fnf@redhat.com>
18158
18159 * gdb.base/step-test.exp: Update comment regarding stopping in
18160 memcpy/bcopy calls inserted as part of the compiler runtime.
18161
b22ad7a7
MS
181622002-04-04 Michael Snyder <msnyder@redhat.com>
18163
18164 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18165
5f279fa6
DJ
181662002-04-03 Daniel Jacobowitz <drow@mvista.com>
18167
18168 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18169 (gdb_expect): Remove $notransfer hack.
18170
dd0fd3ce
DJ
181712002-04-02 Daniel Jacobowitz <drow@mvista.com>
18172
18173 * gdb.c++/classes.exp ("calling method for small class"): Match
18174 updated register output.
18175
1e50cda1
DJ
181762002-03-30 Daniel Jacobowitz <drow@mvista.com>
18177
18178 Fix PR gdb/452
18179 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18180 when finished. Make gdb_file_cmd send "exec-file" when
18181 appropriate.
18182
24015922
DJ
181832002-03-30 Daniel Jacobowitz <drow@mvista.com>
18184
18185 * gdb.base/attach.exp: Remove extra setup_xfail.
18186
dd7dfd64
MS
181872002-03-26 Michael Snyder <msnyder@redhat.com>
18188
18189 * gdb.base/default.exp: Add tests for dump, append, and restore.
18190 * gdb.base/help.exp: Add tests for dump, append, and restore.
18191 * gdb.base/dump.exp: New file, test dump, append and restore.
18192 * gdb.base/dump.c: New file.
18193
48b2f8d7
MS
181942002-03-27 Michael Snyder <msnyder@redhat.com>
18195
d63a86f8 18196 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18197 clean-ups in help messages.
18198
05b4d525
FF
181992002-03-26 Fred Fish <fnf@redhat.com>
18200
18201 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18202 have debugging info for those functions and the compiler uses them
18203 internally to copy structs around.
18204
d7679631
FF
182052002-03-26 Fred Fish <fnf@redhat.com>
18206
18207 * gdb.base/list.exp: Revert the change made yesterday and add note
18208 about why we don't list the default lines for remote targets.
18209
523ac3f9
MS
182102002-03-25 Michael Snyder <msnyder@redhat.com>
18211
18212 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18213
754b2b8d
FF
182142002-03-25 Fred Fish <fnf@redhat.com>
18215
18216 * gdb.base/list.exp: This test works on remote targets so remove
18217 the short circuit for remote targets. Update copyright.
18218
33c3e192
FF
182192002-03-25 Fred Fish <fnf@redhat.com>
18220
18221 * gdb.base/attach.exp: Fix logic error that was suppressing this
18222 test for all non hppa*-*-hpux* targets, instead of the hp target.
18223 Move comments closer to the suppression point. Also now need to
18224 check that we are running natively.
18225
d43e73ee
MS
182262002-03-22 Michael Snyder <msnyder@redhat.com>
18227
882c8f02
MS
18228 * gdb.base/default.exp: Add test for gcore. Update copyright.
18229 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18230
04c12f60
FF
182312002-03-06 Fred Fish <fnf@redhat.com>
18232
18233 * gdb.base/funcargs.c: Remove extraneous ';' character.
18234 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18235
b43df995
MC
182362002-03-04 Michael Chastain <mec@shout.net>
18237
18238 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18239 accommodate gcc v3 function signature.
18240 * gdb.mi/mi0-var-cmd-exp: Ditto.
18241
92362027
AC
182422002-02-24 Andrew Cagney <ac131313@redhat.com>
18243
18244 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18245 ``GNU/Linux'' or ``Linux kernel''
18246 * testsuite/gdb.threads/pthreads.c: Ditto.
18247
258ad32d
MC
182482002-02-24 Michael Chastain <mec@shout.net>
18249
18250 * gdb.threads/pthreads.c (thread1): Add a return statement.
18251 (thread2): Likewise.
18252 (foo): Likewise.
18253
04c3b3d4
MC
182542002-02-23 Michael Chastain <mec@shout.net>
18255
18256 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18257 to placate gcc.
18258
5a2a0a20
MC
182592002-02-23 Michael Chastain <mec@shout.net>
18260
18261 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18262 test "ptype bint". The test passes on all my stabs configurations.
18263
a640f7fc
JB
182642002-02-21 Jim Blandy <jimb@redhat.com>
18265
27924826
JB
18266 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18267 filename at a time, and watch for the ones we want to see.
18268
a640f7fc
JB
18269 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18270 types of pointers to prototyped functions.
18271
edcc8c75
AC
182722002-02-20 Andrew Cagney <ac131313@redhat.com>
18273
18274 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18275 signed, unsigned and straight char.
18276 (padding_char, padding_short, padding_int, padding_long,
18277 padding_long_long, padding_float, padding_double,
18278 padding_long_double): New global variables.
18279 (fill, fill_structs): New functions.
18280
18281 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18282 for correctly sized writes. Update copyright.
18283 (get_valueof): New procedure.
18284 (get_sizeof): Call get_valueof.
18285 (check_valueof): New procedure.
18286 (check_padding): New procedure.
18287
ac57ea44
MC
182882002-02-20 Michael Chastain <mec@shout.net>
18289
18290 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18291 to setup_xfail. Document some of the remaining calls.
18292
7a10c941
MC
182932002-02-18 Michael Chastain <mec@shout.net>
18294
18295 * gdb.c++/userdef.exp: Update copyright year.
18296
fb8acdcc
DJ
182972002-02-18 Daniel Jacobowitz <drow@mvista.com>
18298
18299 * gdb.c++/userdef.exp: Test overloaded operators properly.
18300 Remove xfails.
18301
fda6ae12
MS
183022002-02-14 Michael Snyder <msnyder@redhat.com>
18303
18304 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18305
676a0442
DJ
183062002-02-14 Daniel Jacobowitz <drow@mvista.com>
18307
18308 * gdb.base/a2-run.exp: Check for a remote target properly.
18309 * gdb.base/annota1.exp: Likewise.
18310 * gdb.base/list.exp: Likewise.
18311 * gdb.base/reread.exp: Likewise.
18312 * gdb.base/scope.exp: Likewise.
18313 * gdb.base/shlib-call.exp: Likewise.
18314 * gdb.base/term.exp: Likewise.
18315 * gdb.c++/annota2.exp: Likewise.
18316
78b4f468
RE
183172002-02-13 Richard Earnshaw <rearnsha@arm.com>
18318
18319 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18320
9a81ba51
MC
183212002-02-10 Michael Chastain <mec@shout.net>
18322
18323 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18324 (call_after_alloca): Ditto.
18325
004af6c7
DJ
183262002-02-10 Daniel Jacobowitz <drow@mvista.com>
18327
18328 * gdb.base/ending-run.exp: Guard "cont" test with
18329 gdb_skip_stdio_test.
18330
37225f62
JB
183312002-02-06 Jim Blandy <jimb@redhat.com>
18332
18333 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18334 from here...
18335 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18336 To here. Disable this test on non-HP platforms. Add big comment.
18337
fe6fdd96
MS
183382002-02-04 Michael Snyder <msnyder@redhat.com>
18339
18340 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18341 other than d10v and m32r.
18342
036fad3f
RE
183432002-02-02 Richard Earnshaw <rearnsha@arm.com>
18344
18345 * gdb.base/default.exp: Rewrite test patterns to reduce time
18346 taken to match them.
18347
7148ab62
DJ
183482002-01-30 Daniel Jacobowitz <drow@mvista.com>
18349
18350 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18351 Allow a start function above main.
18352 * gdb.threads/linux-dp.exp: Fix copyright date.
18353
396cc255
DJ
183542002-01-30 Daniel Jacobowitz <drow@mvista.com>
18355
a9c64011
AS
18356 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18357 (check_philosopher_stack): Check for manager thread before checking
18358 for a just-starting thread.
396cc255 18359
f038d31b
DJ
183602002-01-30 Daniel Jacobowitz <drow@mvista.com>
18361
18362 From Neil Booth <neil@daikokuya.demon.co.uk>:
18363 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18364 warnings.
18365
b3ff9d9a
FF
183662002-01-21 Fred Fish <fnf@redhat.com>
18367
18368 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18369 not caller.
18370
39ad761d
JB
183712002-01-21 Jim Blandy <jimb@redhat.com>
18372
18373 * gdb.base/reread.exp: Check that GDB properly re-reads the
18374 executable file when it changes while no inferior is running.
18375
aaf320fa
FF
183762002-01-21 Fred Fish <fnf@redhat.com>
18377
a9c64011
AS
18378 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18379 optionally accept the "shlib events" variation.
aaf320fa 18380
808a31f5
JB
183812002-01-21 Jim Blandy <jimb@redhat.com>
18382
18383 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18384 call `fflush' after every `printf', so that the output is produced
18385 at predictable points, regardless of whatever buffering does (or
18386 doesn't) take place.
18387 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18388 at different points.
18389
4420d5e2
DJ
183902002-01-20 Daniel Jacobowitz <drow@mvista.com>
18391
18392 * gdb.c++/inherit.exp: Update copyright years.
18393 * gdb.c++/method.exp: Likewise.
18394
3e36a0f4
DJ
183952002-01-20 Daniel Jacobowitz <drow@mvista.com>
18396
18397 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18398 artificial methods/arguments.
18399 * gdb.c++/derivation.exp: Likewise.
18400 * gdb.c++/inherit.exp: Likewise.
18401 * gdb.c++/method.exp: Likewise.
18402 * gdb.c++/virtfunc.exp: Likewise.
18403
b4ceaee6
AC
184042002-01-18 Andrew Cagney <ac131313@redhat.com>
18405
18406 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18407 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18408 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18409 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18410 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18411 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18412
ecace851
JB
184132002-01-17 Jim Blandy <jimb@redhat.com>
18414
18415 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18416 anchoring the pattern matching the entry point symbol's name.
18417
375fc983
AC
184182002-01-17 Andrew Cagney <ac131313@redhat.com>
18419
18420 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18421 continue/quit query. Update copyright.
18422
fe6fdd96
MS
184232002-01-14 Michael Snyder <msnyder@redhat.com>
18424
18425 * gdb.base/gcore.exp: Remove extra debugging output.
18426
e017c81f
DJ
184272002-01-13 Daniel Jacobowitz <drow@mvista.com>
18428
18429 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18430 for slightly dubious v2 mangled string.
18431
37ab3bf8
DJ
184322002-01-13 Daniel Jacobowitz <drow@mvista.com>
18433
18434 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18435
1bc05c3a 184362002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18437
1bc05c3a 18438 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18439
1bc05c3a
JM
18440 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18441 constructors.
18442 * gdb.c++/derivation.exp: Likewise.
18443 * gdb.c++/templates.exp: Likewise.
18444 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18445
1bc05c3a
JM
184462002-01-10 Michael Snyder <msnyder@redhat.com>
18447
18448 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18449
a911c360
MS
184502002-01-08 Michael Snyder <msnyder@redhat.com>
18451
18452 * gdb.base/gcore.exp: New test for generate-core-file command.
18453 * gdb.base/gcore.c: Testcase for above.
18454 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18455
ea2119ec
JM
184562002-01-08 Jason Merrill <jason@redhat.com>
18457
18458 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18459
68203136
FF
184602002-01-07 Fred Fish <fnf@redhat.com>
18461
18462 * gdb.c++/overload.exp: Remove unconditional xfails for:
18463 print foo_instance1.overloadargs(1)
18464 print foo_instance1.overloadargs(1, 2)
18465 print foo_instance1.overloadargs(1, 2, 3)
18466 print foo_instance1.overloadargs(1, 2, 3, 4)
18467 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18468 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18469 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18470 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18471 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18472 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18473 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18474 print foo_instance1.overload1arg()
18475 print foo_instance1.overload1arg((char)arg2)
18476 print foo_instance1.overload1arg((signed char)arg3)
18477 print foo_instance1.overload1arg((unsigned char)arg4)
18478 print foo_instance1.overload1arg((int)arg7)
18479 print foo_instance1.overload1arg((unsigned int)arg8)
18480 print foo_instance1.overload1arg((float)arg11)
18481 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18482
21b9b5b1
MS
184832002-01-07 Michael Snyder <msnyder@redhat.com>
18484
18485 * gdb.base/huge.exp: New test. Print a very large target data object.
18486 (skip_huge_test): New test variable. Define if you want to skip this
18487 test. The test reads an 8 megabyte data object from the target, so it
18488 might be very time consuming on remote targets with a slow connection.
18489 * gdb.base/huge.c: New file. Test case for above.
18490
725f922e
FF
184912002-01-07 Fred Fish <fnf@redhat.com>
18492
18493 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18494 g_instance.bfoo, and g_instance.cfoo.
18495
889bf7c5 184962002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18497
889bf7c5
PA
18498 * gdb.base/break.c (multi_line_if_conditional): New function.
18499 (multi_ilne_while_conditional): Likewise.
18500 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18501 IF or WHILE condition puts the breakpoint at the start of
18502 the condition.
f286b2c3 18503
634d57ec
JL
18504 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18505 hppa*-*-hpux* expected failure.
18506 * gdb.base/structs.exp (do_function_calls): Similarly.
18507
18508 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18509 watchpoints.
18510
9fbfe2dc
AC
185112002-01-06 Andrew Cagney <ac131313@redhat.com>
18512
18513 Fix PR gdb/66.
18514 * gdb.base/structs.exp: Replace skip for a29k with skip for
18515 gdb,cannot_call_functions.
18516 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18517 * gdb.base/callfuncs.exp: Ditto.
18518 * gdb.base/call-rt-st.exp: Ditto.
18519 * gdb.base/call-strs.exp: Ditto.
18520 * gdb.base/callfwmall.exp: Ditto.
18521 * gdb.base/scope.exp: Obsolete xfail a29k.
18522 * gdb.c++/misc.exp: Ditto.
18523 * gdb.c++/cplusfuncs.exp: Ditto.
18524 * gdb.base/ptype.exp: Ditto.
18525 * gdb.base/printcmds.exp: Ditto.
18526 * gdb.base/opaque.exp: Ditto.
18527 * gdb.base/list.exp: Ditto.
18528 * gdb.base/funcargs.exp: Ditto.
18529 * gdb.base/default.exp: Ditto.
18530
8ddad156
MS
185312002-01-04 Michael Snyder <msnyder@redhat.com>
18532
ca4976a6 18533 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18534 * gdb.base/maint.exp: Add tests for maint info sections options.
18535
1b074332
JL
18536Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18537
18538 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18539
7d159115
CV
185402001-12-20 Corinna Vinschen <vinschen@redhat.com>
18541
18542 * gdb.asm/arm.inc: New file.
18543 * gdb.asm/asm-source.exp: Add arm targets.
18544 * gdb.asm/configure.in: Ditto.
18545 * gdb.asm/configure: Recreated from configure.in.
18546
8fb87725
JL
18547Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18548
afabe08c
JL
18549 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18550 with HP's compiler.
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.objdbg/objdbg04.exp: Likewise.
18555
18556 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18557 either HP's compilers or GCC.
18558
db521deb
JL
18559 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18560 a SIGBUS or SIGSEGV.
18561
18562 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18563
18564 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18565 can be compiled with either HP's compiler or GCC.
18566
cfa88ab7
JL
18567 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18568 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18569 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18570
ca344dff
JL
18571 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18572 to match current gdb output. Update due to using auto-solib-limit
18573 for limiting instead of overloading auto-solib-add.
18574 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18575 test program.
18576
3f3c6e55 18577 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18578 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18579 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18580 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18581 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18582 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18583 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18584 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18585 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18586 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18587 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18588 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18589 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18590
8fb87725
JL
18591 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18592 a SIGTRAP to the inferior.
18593
cf599fa7
CV
185942001-12-19 Corinna Vinschen <vinschen@redhat.com>
18595
18596 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18597 Substitute call to target_link by call to gdb_compile.
18598
2cd045cd
JL
18599Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18600
a9c64011
AS
18601 * gdb.base/break.exp: Fix HP specific search string when testing
18602 backtracing in a called function.
2cd045cd 18603
a9c64011
AS
18604 * gdb.base/constvars.exp: Only set lang to C++ if we're
18605 compiling the test with HP's compilers.
18606 * gdb.base/volatile.exp: Similarly.
2cd045cd 18607
99ebe9ac
JB
186082001-12-19 Jim Blandy <jimb@redhat.com>
18609
18610 * gdb.base/printcmds.exp: Expect the null character to be printed
18611 as '\0', and the '\013' to be printed as '\v'.
18612 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18613 * gdb.base/setvar.exp: Same.
18614
b9891b29
JB
186152001-12-17 Jim Blandy <jimb@redhat.com>
18616
0eba65ab
JB
18617 * gdb.base/completion.exp: Rather than completing very long
18618 filenames, which can make the readline library produce output we
18619 don't recognize, cd to the directory first, and then complete
18620 using nice, short relative paths.
18621
6970b5b1
JB
18622 * gdb.base/completion.exp: On some systems, there is, in fact, a
18623 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18624 variables as being in scope. So use `no_var_named_this'
18625 instead of `b'.
6970b5b1 18626
b9891b29 18627 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18628 can't find the core file's registers as a failure.
b9891b29 18629
e6ccd35f
JSC
186302001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18631
a9c64011
AS
18632 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18633 test expect string more specific.
e6ccd35f 18634
105ba819
CV
186352001-12-13 Corinna Vinschen <vinschen@redhat.com>
18636
18637 * gdb.asm/asm-source.exp: Add support for xstormy16.
18638 * gdb.asm/configure.in: Ditto.
18639 * gdb.asm/configure: Rebuild.
18640 * gdb.asm/xstormy16.inc: New file.
18641
e9e79dd9
FF
186422001-12-10 Fred Fish <fnf@redhat.com>
18643
18644 * gdb.base/maint.exp: Update to match changes in type dumping code.
18645
347dc97d
JB
186462001-12-10 Jim Blandy <jimb@redhat.com>
18647
18648 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18649 matching the entry point symbol's name at the beginning of the
18650 line.
347dc97d 18651
5178b9d6
DJ
186522001-12-07 Daniel Jacobowitz <drow@mvista.com>
18653
18654 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18655 gdb.c++/inherit.exp, gdb.c++/method.exp,
18656 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18657 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18658 and class layout support.
18659
af890c52
DJ
186602001-12-07 Daniel Jacobowitz <drow@mvista.com>
18661
18662 * gdb.c++/classes.exp: Add test for static member function.
18663 * gdb.c++/misc.cc: Add class with static member function.
18664
7a345fb3
JB
186652001-12-07 Jim Blandy <jimb@redhat.com>
18666
f2e54a80 18667 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18668 those tests as `unsupported'.
18669 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18670 Rewrite subsequent tests to use it.
18671
18672 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18673 those tests as `unsupported'.
18674 * gdb.base/structs.exp (call_struct_func): New function.
18675 (do_function_calls): Use call_struct_func to call the functions
18676 returning structs.
18677
0bc69509
JB
18678 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18679 whether functions are prototyped or not, so we can't possibly pass
18680 arguments to t_float_values2 properly.
18681
7a345fb3
JB
18682 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18683 value of `timeout' for targets other than the mips*tx39-*.
18684
edb6ede1
MS
186852001-12-06 Michael Snyder <msnyder@redhat.com>
18686
d63a86f8 18687 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18688 and detect whether the start symbol has a leading underscore.
18689
2d842f13
JB
186902001-12-04 Jim Blandy <jimb@redhat.com>
18691
18692 * gdb.base/completion.exp: Clarify indentation.
18693
68550daf
JB
186942001-12-03 Jim Blandy <jimb@redhat.com>
18695
18696 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18697 variables on the S/390, not `.word'.
18698
cd5195a8
JB
186992001-11-30 Jim Blandy <jimb@redhat.com>
18700
18701 Add assembly-source tests for s390-ibm-linux.
18702 * gdb.asm/s390.inc: New file.
18703 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18704 the S/390 architecture.
a9c64011 18705 * gdb.asm/configure: Regenerated.
cd5195a8 18706
ca9efc90
MS
187072001-11-30 Michael Snyder <msnyder@redhat.com>
18708
18709 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18710 next, info source, info sources, info line, global and static
18711 variables, and static functions.
18712 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18713 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18714 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18715 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18716 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18717 (gdbasm_leave): Restore frame pointer.
18718 (gdbasm_startup): Copy stack set-up from crt0.S.
18719
d0e66976
FN
187202001-11-26 Fernando Nasser <fnasser@redhat.com>
18721
18722 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18723 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18724 to a local (non-static) variable. Copy tstruct.a to a static buffer
18725 and return a pointer to that buffer.
18726 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18727
e2334072
MK
187282001-11-24 Mark Kettenis <kettenis@gnu.org>
18729
18730 * gdb.asm/configure.in: Fix recognition of ix86 target.
18731 * gdb.asm/configure: Regenerate.
18732
756caa3d
MS
187332001-11-21 Michael Snyder <msnyder@redhat.com>
18734
18735 * gdb.asm/sparc.inc: New file.
18736 * gdb.asm/asm-source.exp: Recognize sparc target.
18737 * gdb.asm/configure.in: Recognize sparc target.
18738 * gdb.asm/configure: Regenerate.
d63a86f8 18739
9a4d72d5
MS
187402001-11-21 Michael Snyder <msnyder@redhat.com>
18741
18742 * gdb.asm/m32r.inc: New file.
18743 * gdb.asm/asm-source.exp: Recognize m32r target.
18744 * gdb.asm/configure.in: Recognize m32r target.
18745 * gdb.asm/configure: Regenerate.
18746
a773d1cd
MS
187472001-11-20 Michael Snyder <msnyder@redhat.com>
18748
017ac23d
MS
18749 * gdb.asm/i386.inc: New file.
18750 * gdb.asm/asm-source.exp: Recognize ix86 target.
18751 * gdb.asm/configure.in: Recognize ix86 target.
18752 * gdb.asm/configure: Regenerate.
18753
a773d1cd
MS
18754 * gdb.c++/namespace.exp: Fix quotes in output messages.
18755
bb632afb
MS
187562001-11-14 Michael Snyder <msnyder@redhat.com>
18757
25d559ca 18758 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18759 qualifier in a type cast expression, to designate an address
18760 in the instruction space (Harvard architecture).
18761
4749e309
MS
187622001-11-13 Michael Snyder <msnyder@redhat.com>
18763
18764 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18765 Tests for expressions using 'const' and 'volatile'.
18766
25050984
CV
187672001-11-13 Corinna Vinschen <vinschen@redhat.com>
18768
18769 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18770
1902c51f
DJ
187712001-11-12 Daniel Jacobowitz <drow@mvista.com>
18772
18773 * lib/mi-support.exp (mi_run_to_helper): Move comments
18774 outside of gdb_expect.
18775
dcf95b47
DJ
187762001-11-11 Daniel Jacobowitz <drow@mvista.com>
18777
18778 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18779 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18780 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18781 mi0_run_to): New functions.
18782 * gdb.mi/mi-simplerun.exp: Use them.
18783 * gdb.mi/mi0-simplerun.exp: Likewise.
18784 * gdb.mi/mi-var-cmd.exp: Likewise.
18785 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18786
45b074e1
AC
187872001-11-10 Andrew Cagney <ac131313@redhat.com>
18788
18789 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18790 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18791
bf50d346
AC
187922001-11-09 Andrew Cagney <ac131313@redhat.com>
18793
18794 * gdb.base/restore.exp: Include $expected value in restored test
18795 message.
18796
9383332c
AC
187972001-11-09 Andrew Cagney <ac131313@redhat.com>
18798
18799 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18800 implemented.
18801
db62520a
MS
188022001-11-08 Michael Snyder <msnyder@redhat.com>
18803
18804 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18805 Add pass/fail message for stop at breakpoint in call dummy function.
18806
b5703437
MS
188072001-11-07 Michael Snyder <msnyder@redhat.com>
18808
d63a86f8
RM
18809 * gdb.c++/templates.exp (test_template_breakpoints):
18810 If we get an overload menu, but it does not match what
760f6330 18811 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18812 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18813 making the whitespace optional. Argument for "new" may be
18814 "unsigned" as well as "unsigned int/long".
d63a86f8 18815 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18816 making the whitespace optional. Also replace "(void) with
18817 "((void|)), making the keyword "void" optional.
d63a86f8 18818 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18819 making the whitespace optional. Also replace "(void) with
18820 "((void|)), making the keyword "void" optional.
3bf40917
MS
18821 * gdb.base/callfuncs.c (t_float_values): This function must
18822 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18823 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18824 can be tested against both cases. Usually one case involves
18825 promotion of float to double, while the other does not.
18826 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18827 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18828 includes a stack frame for "start".
18829
c8ab4e6d
JB
188302001-11-05 Jim Blandy <jimb@redhat.com>
18831
18832 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18833 pointers are 32 bits long, and that offsets of relocs are always
18834 stored in the data (REL-style), and not in the reloc entry itself
18835 (RELA-style).
18836 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18837 stabs.
18838
3f08ced9
MS
188392001-11-01 Michael Snyder <msnyder@redhat.com>
18840
18841 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18842 and regular expression operators by using quoting.
18843
cbfa24cd
MS
188442001-10-31 Michael Snyder <msnyder@redhat.com>
18845
18846 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18847 depending on what the symbol table contains.
18848 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18849 the output of the ptype command. Similarly, accept both "const &"
18850 and "const&".
18851
aaa68313
CV
188522001-10-31 Corinna Vinschen <vinschen@redhat.com>
18853
18854 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18855 symbol `STORAGE' to allow to choose the storage class of
18856 the local datastructures.
18857 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18858 compiler directive.
18859
91740388
MS
188602001-10-30 Michael Snyder <msnyder@redhat.com>
18861
18862 * gdb.base/jump.exp: Allow it to run for all targets.
18863
1b7c05e7
CV
188642001-10-29 Corinna Vinschen <vinschen@redhat.com>
18865
18866 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18867 with new double_array size.
18868 (main): Change storage class of all local variables to static.
18869 Reduce size of double_array to 9.
18870 * gdb.base/call-ar-st.exp: Increase timeout value.
18871 Change expected output for double array to match new size in
18872 call-ar-st.c.
18873
36a22261
CV
188742001-10-29 Corinna Vinschen <vinschen@redhat.com>
18875
18876 * gdb.base/ending-run.exp: Create identical output when passing
18877 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18878 Stormy16 target.
36a22261 18879
92b8ae91
MK
188802001-10-28 Mark Kettenis <kettenis@gnu.org>
18881
18882 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18883 that we catch the expected failure under Linux/x86.
18884
cb135b83
OF
188852001-10-29 Orjan Friberg <orjanf@axis.com>
18886
18887 * gdb.base/setvar.exp: Escape curly braces.
18888 * gdb.stabs/weird.exp: Ditto.
18889
6884aa54
DJ
188902001-10-27 Daniel Jacobowitz <drow@mvista.com>
18891
18892 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18893 * gdm.mi/mi0-hack-cli.exp: Likewise.
18894
0398c9aa
AC
188952001-10-25 Andrew Cagney <ac131313@redhat.com>
18896
18897 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18898 messages.
18899
d20bf2e8
AC
189002001-10-21 Andrew Cagney <ac131313@redhat.com>
18901
18902 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18903 checking MI enabled.
18904
03dd63aa
CV
189052001-10-09 Corinna Vinschen <vinschen@redhat.com>
18906
18907 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18908
1d9d99f3
FCE
189092001-10-04 Frank Ch. Eigler <fche@redhat.com>
18910
18911 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18912 if gdb child process crashes, just signal an error.
18913
838ae6c4
JB
189142001-10-02 Jim Blandy <jimb@redhat.com>
18915
18916 * lib/gdb.exp (test_xfail_format): Simplify.
18917
18918 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18919 front of the variable name `format'. Simplify `if'.
18920
8f0cbc1c
DJ
189212001-10-01 Daniel Jacobowitz <drow@mvista.com>
18922
18923 * gdb.threads/pthreads.exp: Wait for output and delay
18924 before sending ^C.
18925
1f08dafd
DJ
189262001-10-01 Daniel Jacobowitz <drow@mvista.com>
18927
18928 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18929 some incorrect output instead of timing out.
18930 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18931
674f90ff
CV
189322001-09-28 Corinna Vinschen <vinschen@redhat.com>
18933
18934 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18935 check to allow additional `int'.
18936
9b284272
DJ
189372001-09-27 Daniel Jacobowitz <drow@mvista.com>
18938
18939 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18940 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18941
b55a4771
MS
189422001-09-27 Michael Snyder <msnyder@redhat.com>
18943
18944 * lib/gdb.exp (test_debug_format): New proc.
18945 (setup_xfail_format): Use new proc test_debug_format.
18946 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18947 proc; use new service proc test_debug_format.
18948 Replace all other "gcc_compiled" tests with this test.
18949 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18950 proc; use new service proc test_debug_format.
18951 Replace all other "gcc_compiled" tests with this test.
18952
189532001-09-27 Michael Snyder <msnyder@redhat.com>
18954
18955 * gdb.base/cvexpr.exp: New file.
18956 * gdb.base/cvexpr.c: New file
18957 Test for expressions using const and volatile keywords.
18958
4e6667ac
CV
189592001-09-26 Corinna Vinschen <vinschen@redhat.com>
18960
18961 * gdb.base/constvars.exp: Check for different orders of keywords
18962 and additional "int" strings in output.
18963
4f337972
AC
189642001-09-22 Andrew Cagney <ac131313@redhat.com>
18965
18966 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18967 responses from "help maint".
18968
2015650d
FCE
189692001-09-19 Frank Ch. Eigler <fche@redhat.com>
18970
18971 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18972 to localhost:NNN instead of :NNN, in case Xvfb is listening
18973 only on TCP.
18974
f3bcedc1
CV
189752001-09-19 Corinna Vinschen <vinschen@redhat.com>
18976
18977 * gdb.base/recurse.exp: When checking leaving the watchpoint
18978 scope, recognize when gdb is in function's epilogue and pass.
18979
6b819c92
KS
189802001-09-18 Keith Seitz <keiths@redhat.com>
18981
18982 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18983 support for running tests against sid targets.
18984 (gdbtk_done): Ditto.
18985
a10c9419
CV
189862001-09-18 Corinna Vinschen <vinschen@redhat.com>
18987
18988 * gdb.base/ending-run.c (main): Set stdout buffersize
18989 to the same reasonable value for any target.
18990 * gdb.base/ending-run.exp: Add a regular expression
18991 to make testsuite happy on Sanyo Stormy16 target.
18992
739d0d99
CV
189932001-09-17 Corinna Vinschen <vinschen@redhat.com>
18994
18995 * gdb.base/display.c (do_loops): Add float variable `f'.
18996 Increment f in loop.
18997 * gdb.base/display.exp: Increment timeout by 60 seconds.
18998 Change float display test to use variable `f'.
18999
1b8947f0
JB
190002001-09-17 Jim Blandy <jimb@redhat.com>
19001
19002 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19003 overflowing the limited breakpoint tables on some ROM monitors
19004 (like the ROM68K).
19005
9890ac81
FCE
190062001-09-15 Frank Ch. Eigler <fche@redhat.com>
19007
19008 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19009 the "-ac" (disable access control) flag.
19010
6db765ea
JH
190112001-08-30 Jeff Holcomb <jeffh@redhat.com>
19012
19013 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19014 ints.
19015
4c32cc04
KS
190162001-08-30 Keith Seitz <keiths@redhat.com>
19017
19018 * lib/gdb.exp: Move all insight-related functionality into
19019 separate file.
19020 * lib/insight-support.exp: New file.
19021
8d6e6f81
FCE
190222001-08-29 Frank Ch. Eigler <fche@redhat.com>
19023
19024 * config/sid.exp (sid_start): Never set sid verbosity; disable
19025 expect_background {} that consumed its stdout; tolerate </dev/null.
19026 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19027
6a90e1d0
AC
190282001-08-18 Andrew Cagney <ac131313@redhat.com>
19029
19030 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19031 CLI jump command to start it.
19032 (mi_run_to_main): Fail immediatly when unexpected output.
19033
1759b3c3
AC
190342001-08-18 Andrew Cagney <ac131313@redhat.com>
19035
19036 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19037 beginning of function. Fix PR gdb/191.
19038
61d11d80
FCE
190392001-08-16 Frank Ch. Eigler <fche@redhat.com>
19040
19041 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19042 what to force sid endianness to.
19043
942a4df2
KS
190442001-08-15 Keith Seitz <keiths@redhat.com>
19045
19046 * lib/gdb.exp (gdbtk_start): Don't set environment
19047 variables for TCL_LIBRARY and friends. Insight will
19048 now figure these out for itself.
19049
0521c418
MS
190502001-08-02 Michael Snyder <msnyder@redhat.com>
19051
19052 * gdb.base/completion.exp: Remove the symbol "a64l" from
19053 the expect string; this is target-specific, and not related
19054 to what is being tested.
19055
74a9a58a
DB
190562001-08-02 Dave Brolley <brolley@redhat.com>
19057
19058 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19059
c70819fa
MS
190602001-07-25 Michael Snyder <msnyder@redhat.com>
19061
c2b8fa57
MS
19062 * gdb.base/consecutive.exp: New file. Test stepping over
19063 breakpoints on consecutive instructions.
19064 * gdb.base/consecutive.c: New file.
19065
c70819fa
MS
19066 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19067 curly braces in regular expressions.
19068
2b1a1355
MS
190692001-07-25 Michael Snyder <msnyder@redhat.com>
19070
19071 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19072 legitimate output from stepping out of main.
19073
413eca6f
KS
190742001-07-22 Keith Seitz <keiths@redhat.com>
19075
19076 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19077 the empty string, do not run the tests.
19078
7e5a9322
SC
190792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19080
19081 * gdb.base/long_long.exp: Detect size of pointer. Take into
19082 account 2-byte pointers when testing for p/a results.
19083
de58f10f
SC
190842001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19085
d63a86f8 19086 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19087 and defined to 1K for m68hc11.
19088 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19089 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19090 (sizeof_random_data): New variable to tell the size of the data table;
19091 don't test past this size; always run to main.
19092
d6f5fea1
SC
190932001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19094
19095 * gdb.base/return2.exp: return of long long and double fails for
19096 68HC11; don't execute these tests on that platform.
19097 * gdb.base/return.exp: Return of a double fails for 68hc11.
19098
c477543d
SC
190992001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19100
19101 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19102 tests that print a float.
19103 * call-rt-st.exp: Likewise.
19104
63cf1c79
MK
191052001-07-12 Mark Kettenis <kettenis@gnu.org>
19106
19107 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19108 running this test on Linux.
19109
112f9ab5
MC
191102001-06-24 Michael Chastain <chastain@redhat.com>
19111
19112 * gdb.base/arithmet.exp: Remove some tests to make all test names
19113 unique.
19114
4970cb0f
MS
191152001-07-03 Michael Snyder <msnyder@redhat.com>
19116
19117 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19118 the output of the ptype command.
19119
d85da69f
MS
191202001-07-02 Michael Snyder <msnyder@redhat.com>
19121
4c8a82de
MS
19122 * gdb.base/completion.exp: Don't assume that break.c is the only
19123 source file that may contain functions named "marker".
d85da69f
MS
19124 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19125
8afc772b
AC
191262001-06-28 Andrew Cagney <ac131313@redhat.com>
19127
19128 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19129 of files to delete.
19130
19131 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19132 * gdb.disasm/h8300s.exp: New file.
19133 gdb.disasm/h8300s.s: Likewise.
19134
cff22675
AC
191352001-06-27 Andrew Cagney <ac131313@redhat.com>
19136
19137 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19138 empty breakpoint tables.
19139
68c81b54
AC
191402001-06-25 Andrew Cagney <ac131313@redhat.com>
19141
19142 * lib/mi-support.exp: Update args=... part of stop-reason
19143 patterns. Accept either a list or a tuple.
19144
2dd62704
AC
191452001-06-23 Andrew Cagney <ac131313@redhat.com>
19146
19147 * lib/mi-support.exp: Remove local emacs variable defining
19148 change-log-default-name.
19149
b4127474
MC
191502001-06-22 Michael Chastain <chastain@redhat.com>
19151
19152 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19153 This is operationally compatible with the previous version.
19154
8dbfb380
JB
191552001-06-13 Jim Blandy <jimb@redhat.com>
19156
19157 * lib/gdb.exp (gdb_test): Doc fix.
19158
f2d8c86d
MC
191592001-06-10 Michael Chastain <chastain@redhat.com>
19160
19161 * gdb.base/exprs.exp: Remove a duplicate test.
19162
81564d34
JB
191632001-06-06 Jim Blandy <jimb@redhat.com>
19164
19165 * gdb.base/return2.exp (main): Use values to test float and double
19166 returns that are not NaN's, to avoid being confused by IEEE
19167 comparison rules.
19168
da55addb
MS
191692001-06-04 Michael Snyder <msnyder@redhat.com>
19170
19171 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19172 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19173 rather than wait for 12 more tests to time out.
19174
42c65987
JB
191752001-06-06 Jim Blandy <jimb@redhat.com>
19176
b18bced9 19177 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19178 Don't forget to match the GDB prompt.
b18bced9 19179
42c65987
JB
19180 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19181
5b41e5f0
JB
191822001-06-04 Jim Blandy <jimb@redhat.com>
19183
19184 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19185 command.
19186
015e046f
KB
191872001-05-31 Kevin Buettner <kevinb@redhat.com>
19188
19189 * gdb.base/annota1.exp (info break): Match four or more spaces
19190 after "Address".
19191
fb1ffbbe
MC
191922001-05-31 Michael Chastain <chastain@redhat.com>
19193
19194 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19195 (dm_type_int_star): Likewise.
19196 (dm_type_long_star): Likewise.
19197 (dm_type_void_star): Likewise.
19198
5ea2a32c
KB
191992001-05-29 Kevin Buettner <kevinb@redhat.com>
19200
19201 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19202 to a known value in order to get consistent results regardless
19203 of the setting of INPUTRC or the presence or contents of .inputrc.
19204
ae23c492
MS
192052001-05-24 Michael Snyder <msnyder@redhat.com>
19206
ac55707e
MS
19207 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19208 Don't require that the main thread and the manager thread are the
19209 first in the list.
19210
ae23c492
MS
19211 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19212 debugging. If test fails, issue an "unsupported" not a "fail".
19213
400071f1
JB
192142001-05-24 Jim Blandy <jimb@redhat.com>
19215
19216 Don't assume that short is shorter than int.
19217 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19218 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19219 this isn't true.
400071f1
JB
19220 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19221 an int, is not equal to ~0 stored in an unsigned char. This tests
19222 the same thing that the previous test meant to, but works on
19223 16-bit machines, too.
19224 ("print unsigned char != (~0)"): Same test, complemented.
19225
0816a3e5
MS
192262001-05-24 Michael Snyder <msnyder@redhat.com>
19227
19228 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19229 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19230 and prevents dejagnu getting out of step.
19231
f6dc23a9
KB
192322001-05-23 Kevin Buettner <kevinb@redhat.com>
19233
19234 * gdb.base/finish.exp (finish_void): Revise pattern for
19235 stopping on the call statement to not permit stopping at
19236 the start of the instructions comprising the call sequence.
19237
7dbd117d
MC
192382001-05-19 Michael Chastain <chastain@redhat.com>
19239
19240 * gdb.base/callfuncs.exp: Make all test names unique.
19241 * gdb.base/commands.exp: Make all test names unique.
19242 * gdb.base/condbreak.exp: Make all test names unique.
19243 * gdb.base/dbx.exp: Make all test names unique.
19244 * gdb.base/default.exp: Make all test names unique.
19245 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19246 and TIMEOUT messages to their corresponding PASS message.
19247 * gdb.base/ending-run.exp: Make all test names unique.
19248 * gdb.base/long_long.exp: Remove duplicate test.
19249
6b0b0a9e
KB
192502001-05-21 Kevin Buettner <kevinb@redhat.com>
19251
19252 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19253 stop on the call statement as well as the statement after the
19254 call.
19255
2caa35cb
MS
192562001-05-21 Michael Snyder <msnyder@redhat.com>
19257
19258 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19259
40713331
EZ
192602001-05-10 Elena Zannoni <ezannoni@redhat.com>
19261
a9c64011
AS
19262 * gdb.base/completion.exp: Revamp test. Make it execute on all
19263 platforms.
40713331 19264
c2c1be8d
EZ
192652001-05-10 Elena Zannoni <ezannoni@redhat.com>
19266
a9c64011
AS
19267 * config/gdbserver.exp (gdb_load): Handle the case
19268 in which the arguments to gdbserver are given in the
19269 baseboard configuration file.
19270 Also handle the case in which the server needs to do a
19271 load.
2c9cd303 19272
9671de48
KS
192732001-05-07 Keith Seitz <keiths@cygnus.com>
19274
a9c64011
AS
19275 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19276 set up the display for testing.
19277 (gdbtk_start): Convert all paths to paths that tcl will like.
19278 Export target information to environment.
19279 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19280 necessary.
19281 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19282 (to_tcl_path): New proc to convert a given pathname into
19283 a path acceptible as an argument to a tcl command.
19284 (_gdbtk_export_target_info): New proc to export target info
19285 into the environment for gdbtk testing.
19286 (gdbtk_done): New proc to signal end-of-test.
9671de48 19287
5a360f47
JB
192882001-05-06 Jim Blandy <jimb@redhat.com>
19289
19290 * restore.c: Make the code of caller0 correspond to its comment.
19291
66c756c6
MS
192922001-05-03 Michael Snyder <msnyder@redhat.com>
19293
19294 * config/sid.exp (gdb_target_sid): Check for error messages.
19295 On error or timeout, don't make expect exit (which will terminate
19296 all subsequent tests); instead just make gdb exit.
d63a86f8 19297 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19298 return a negative value.
19299
a966fde5
JB
193002001-04-24 Jim Blandy <jimb@redhat.com>
19301
851c18e0
JB
19302 * gdb.c++/templates.exp: If we see the prompt for the overload
19303 list, but we haven't recognized any of the longer patterns,
19304 arrange for this test to fail, not hang.
19305
a966fde5
JB
19306 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19307 variations.
19308
db144853
MC
193092001-04-22 Michael Chastain <chastain@redhat.com>
19310
19311 * gdb.c++/local.exp: Use the 'runto' library function.
19312 * gdb.c++/namespace.exp: Likewise.
19313 * gdb.c++/overload.exp: Likewise.
19314
3207ec21
KB
193152001-03-26 Kevin Buettner <kevinb@redhat.com>
19316
19317 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19318 * gdb.base/step-line.exp: New file. Test step/next in presence of
19319 #line directives.
19320 * gdb.base/step-line.c: New file. Test program for the above.
19321 * gdb.base/step-line.inp: New file. We pretend that this file has
19322 been transformed by some other tool into step-line.c.
19323
13b57657
JB
193242001-03-21 Jim Blandy <jimb@redhat.com>
19325
19326 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19327 unmangled operator names.
19328
754cbe1c
JB
193292001-03-20 Jim Blandy <jimb@redhat.com>
19330
19331 * gdb.threads/linux-dp.exp: Recognize an additional message
19332 generated by GDB when it doesn't understand how to debug threads
19333 on the target system.
19334
177495c9
AC
193352001-03-19 Andrew Cagney <ac131313@redhat.com>
19336
19337 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19338
f266096b
MC
193392001-03-12 Michael Chastain <chastain@redhat.com>
19340
19341 * gdb.c++/derivation.exp: Use the 'runto' library function.
19342
cac3c2ff
MC
193432001-03-12 Michael Chastain <chastain@redhat.com>
19344
19345 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19346
b6c11a24
MC
193472001-02-24 Michael Chastain <chastain@redhat.com>
19348
19349 * gdb.c++/ref-types.exp: Change handwritten code to library
19350 function 'runto'.
19351
6bae5bce
OF
193522001-03-16 Orjan Friberg <orjanf@axis.com>
19353
19354 * gdb.base/signals.exp: Set count to 0 explicitly.
19355
0015fd9a
MS
193562001-03-15 Mark Salter <msalter@redhat.com>
19357
19358 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19359 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19360 (gdb_load): Add support for additional target_info: gdb_download_size
19361 and gdb_load_timeout.
0015fd9a 19362
fc33412a
DT
19363Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19364
19365 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19366 file -- to prevent failing when the compile fails but we have no
19367 intention of running the tests anyway.
fc33412a
DT
19368
19369 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19370 tests if set.
19371
19372 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19373 integers.
fc33412a
DT
19374
19375 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19376 * gdb.c++/namespace.exp: Ditto.
19377
115f06de
OF
193782001-03-07 Orjan Friberg <orjanf@axis.com>
19379
19380 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19381 * gdb.base/pointers.exp: Relax pattern match of decimals.
19382
b6ba6518
KB
193832001-03-06 Kevin Buettner <kevinb@redhat.com>
19384
19385 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19386 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19387 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19388 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19389 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19390 config/sh.exp, config/sid.exp, config/slite.exp,
19391 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19392 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19393 config/vxworks.exp, config/vxworks29k.exp,
19394 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19395 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19396 gdb.base/arithmet.exp, gdb.base/assign.exp,
19397 gdb.base/async.exp, gdb.base/attach.exp,
19398 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19399 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19400 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19401 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19402 gdb.base/commands.exp, gdb.base/completion.exp,
19403 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19404 gdb.base/constvars.exp, gdb.base/corefile.exp,
19405 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19406 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19407 gdb.base/ending-run.exp, gdb.base/environ.exp,
19408 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19409 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19410 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19411 gdb.base/funcargs.exp, gdb.base/help.exp,
19412 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19413 gdb.base/logical.exp, gdb.base/long_long.exp,
19414 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19415 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19416 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19417 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19418 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19419 gdb.base/regs.exp, gdb.base/relational.exp,
19420 gdb.base/remote.exp, gdb.base/reread.exp,
19421 gdb.base/restore.exp, gdb.base/return2.exp,
19422 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19423 gdb.base/selftest.exp, gdb.base/setshow.exp,
19424 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19425 gdb.base/sigall.exp, gdb.base/signals.exp,
19426 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19427 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19428 gdb.base/step-test.exp, gdb.base/structs.c,
19429 gdb.base/structs.exp, gdb.base/structs2.exp,
19430 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19431 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19432 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19433 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19434 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19435 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19436 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19437 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19438 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19439 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19440 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19441 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19442 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19443 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19444 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19445 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19446 gdb.trace/circ.exp, gdb.trace/collection.exp,
19447 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19448 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19449 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19450 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19451 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19452 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19453 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19454 notices.
19455
dc96c6c7 194562001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19457
19458 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19459 first arg is int not float.
19460
dc96c6c7 194612001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19462
19463 * gdb.base/reread.exp: Unsupported for non-native targets;
19464 doesn't work for remote debugging.
19465
9b0c4aeb
FN
194662001-02-19 Fernando Nasser <fnasser@redhat.com>
19467
19468 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19469 * gdb.base/ending-run.exp: Properly handle the BSP state when
19470 stepping past the end of main.
9b0c4aeb 19471
02aa71d5
MC
194722001-02-19 John Moore <jmoore@redhat.com>
19473
19474 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19475 Converted HPUX fix for non-expected items following multiple
19476 step commands into general solution for all platforms.
19477
1fa449a4
MC
194782001-02-18 Michael Chastain <chastain@redhat.com>
19479
19480 * gdb.c++/classes.exp (do_tests): Change runto statements
19481 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19482 statements demangler agnostic.
19483 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19484 (gdb_virtfunc_restart): Likewise.
19485
b2f9ec70
MC
194862001-02-14 Michael Chastain <chastain@redhat.com>
19487
19488 * gdb.c++/inherit.exp (do_tests): Change runto statements
19489 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19490 statements demangler agnostic.
19491
cf74b8ca
AC
19492Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19493
19494 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19495 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19496 before calling common_routine 15 times'' tests.
cf74b8ca 19497
99f78f56
MC
194982001-02-11 Michael Chastain <chastain@redhat.com>
19499
19500 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19501 Helps the test script figure out which demangler is in use.
19502 (dm_type_foo_ref): Ditto.
19503 (dm_type_int_star): Ditto.
19504 (dm_type_long_star): Ditto.
19505 (dm_type_unsigned_int): Ditto.
19506 (dm_type_void): Ditto.
19507 (dm_type_void_star): Ditto.
99707966 19508 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19509 Probe the gdb demangler and set variables to accommodate
19510 formatting differences.
19511 (info_func_regexp): New function. Same as info_func, but
19512 matches against a regexp.
19513 (info_func): Match against a literal string.
19514 (print_addr_2): New function. Match against a literal string,
19515 which can be different from the input to gdb.
19516 (print_addr): Simply call print_addr_2 with the same argument twice.
19517 (test_lookup_operator_functions): Use demangler formatting variables.
19518 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19519 the tests in the same order as the C++ class declaration.
19520 (test_paddr_operator_functions): Ditto.
19521 (test_paddr_overloaded_functions): Ditto.
19522 (test_paddr_hairy_functions): Use demangler formatting variables.
19523 Add reference to gdb/19 for related tests.
19524 (do_tests): Call probe_demangler.
19525
1de8f023
KB
195262001-01-30 Kevin Buettner <kevinb@redhat.com>
19527
19528 * gdb.c++/templates.cc (printf): Remove unused function definition.
19529
ca3f91ed
MS
195302001-01-26 Felix Lee <flee@redhat.com>
19531
19532 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19533
195342001-01-25 matthew green <mrg@redhat.com>
19535
19536 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19537 up sid.
19538 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19539
195402001-01-25 matthew green <mrg@redhat.com>
19541
19542 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19543 Deprecate $sid_spawn_id.
ca3f91ed
MS
19544 (sid_exit): Remove code necessary only for `spawn.'
19545
195462001-01-25 matthew green <mrg@redhat.com>
19547
19548 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19549
fb18ec4a
MC
195502001-01-28 Michael Chastain <chastain@redhat.com>
19551
19552 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19553 to call when tests fail. It takes gdb out of the overloaded
19554 function choice menu back to the main prompt, so that the test
19555 program stays synchronized.
19556 (set_bp_overloaded): New proc to collect all the common
19557 code for setting a breakpoint on an overloaded name. Calls
19558 take_gdb_out_of_choice_menu when needed.
19559 (menu_overload1arg): New variable to collect the repeated
19560 instances of the expected menu for an overloaded name. Change
19561 the regular expression to handle changes in g++ type encoding:
19562 "void" can be either "void" or "", and "unsigned int" can be
19563 either "unsigned int" or "unsigned".
19564 (continue_to_bp_overloaded): Change regular expressions to handle
19565 changes in g++ type encoding.
19566 (no proc): Call take_gdb_out_of_choice_menu when needed.
19567 Remove redundant calls to "info break". Accept either "canceled"
19568 or "cancelled". Change regular expressions in "info break"
19569 calls to handle changes in g++ type encoding. Give all tests
19570 unique strings.
19571
9c646a6e
BE
195722001-01-17 Ben Elliston <bje@redhat.com>
19573
19574 * config/sid.exp: New file.
19575
9549d9c1
AC
19576Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19577
19578 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19579
dc96c6c7 195802000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19581
19582 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19583 Add a RE to accept a non-ascii char if one is ever presented.
19584
b4df4f68
FN
195852000-12-20 Fernando Nasser <fnasser@redhat.com>
19586
297dd0fd 19587 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19588
dc96c6c7 195892000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19590
d63a86f8 19591 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19592 in regexp. One '\' does not suffice on Linux.
19593
4a7bddb6
MC
195942000-12-09 Michael Chastain <chastain@redhat.com>
19595
19596 * gdb.base/break.exp (test_clear_command): Use a marker function
19597 rather than 'main' for the test function. Also move this
19598 test to an execution point where the marker function names are
19599 guaranteed to be bound to functions. (Executing tests after a
19600 'finish' from main runs into name conflicts with local names
19601 in __libc_start_main).
19602
dc96c6c7 196032000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19604
19605 * gdb.base/finish.exp: New test for gdb's "finish" command.
19606 * gdb.base/return2.exp: New test for gdb's "return" command.
19607 * gdb.base/return2.c: New source file for above.
19608
dc96c6c7 196092000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19610
19611 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19612 * gdb.base/miscexprs.exp: Ditto.
19613 * gdb.base/pointers.exp: Ditto.
19614 * gdb.c++/derivation.exp: Ditto.
19615 * gdb.c++/local.exp: Ditto.
19616 * gdb.c++/namespace.exp: Ditto.
19617 * gdb.c++/overload.exp: Ditto.
19618 * gdb.c++/ref-types.exp: Ditto.
19619
dc96c6c7 196202000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19621
19622 * gdb.base/constvars.exp: Test result of "up" command.
19623 * gdb.base/miscexprs.exp: Ditto.
19624 * gdb.base/pointers.exp: Ditto.
19625 * gdb.base/scope.exp: Ditto.
19626 * gdb.c++/derivation.exp: Ditto.
19627 * gdb.c++/local.exp: Ditto.
19628 * gdb.c++/namespace.exp: Ditto.
19629 * gdb.c++/overload.exp: Ditto.
19630 * gdb.c++/ref-types.exp: Ditto.
19631
44097287
FN
196322000-11-22 Michael Chastain <chastain@redhat.com>
19633
19634 * mips_pro.exp: Accept either "middle -> top -> main" or
19635 "middle -> main" in the backtrace, because gcc can optimize
19636 tail calls to jumps. Remove setup_xfail for the hppa case.
19637 Add a comment with the original warning messages from PR 3016,
19638 which was filed in 1993, to preserve them for posterity.
19639
9d2e1bab
ND
196402000-11-17 Nick Duffek <nsd@redhat.com>
19641
19642 * lib/gdb.exp (gdb_test): Override timeout with board info.
19643
1aca8eb7
ND
196442000-11-17 Nick Duffek <nsd@redhat.com>
19645
19646 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19647 the second kill and detach messages.
19648
93076499
ND
196492000-11-17 Nick Duffek <nsd@redhat.com>
19650
19651 * configure.in: Add AC_EXEEXT.
19652 * configure: Regenerate.
19653 * Makefile.in (just-check): Export EXEEXT.
19654 * lib/gdb.exp ($EXEEXT): Import from environment.
19655 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19656 expect "maint dump-me" on Cygwin.
19657 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19658 $EXEEXT.
19659
30e87cd3
ND
196602000-11-17 Nick Duffek <nsd@redhat.com>
19661
19662 * gdb.base/break.exp: Test backtrace and finish from called
19663 function on all platforms, not just HP-UX.
19664
dc96c6c7 196652000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19666
19667 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19668 code from gdb_target_monitor, so it can be used independantly
19669 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19670
dc96c6c7 196712000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19672
19673 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19674 * gdb.base/corefile.exp: Expect the message "Program is being
19675 debugged already" when we send the "corefile" command, since
19676 the preceeding gdb_load may have connected gdb to a remote target.
19677 * gdb.base/display.exp: Disable hardware watchpoints if new
19678 board info variable "no_hardware_watchpoints" is true.
19679 Replace single-letter commands with more readable ones.
19680 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19681 if new board info variable "no_hardware_watchpoints" is true.
19682 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19683 to see if stdio (printf) testing is possible.
19684 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19685 board info variable "no_hardware_watchpoints" is true. Use new
19686 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19687
39124dea
FN
196882000-11-13 Fernando Nasser <fnasser@redhat.com>
19689
19690 From Orjan Friberg <orjanf@axis.com>:
19691 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19692 in array print pattern match.
19693
a9e2e984
FN
196942000-11-09 Fernando Nasser <fnasser@redhat.com>
19695
19696 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19697 spelling "cancelled" to U.S. spelling "canceled" to match changes
19698 made to gdb.
19699 * gdb.c++/ovldbreak.exp: Ditto.
19700
c7db355b
PS
197012000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19702
19703 * gdb.base/callfuncs.c (main): Moved to end of file, call
19704 t_double_values to initialize the FPU before inferior calls are made.
19705 * gdb.base/callfuncs.exp: Test for register preservation after calling
19706 inferior functions. Add tests for continuining, finishing and
19707 returning from a stop in a call dummy.
19708
dc96c6c7 197092000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19710
19711 * gdb.base/commands.exp: Break up long lines, and re-indent.
19712
dc96c6c7 197132000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19714
19715 * config/gdbserver.exp: Rewritten from the ground up, to make it
19716 compatible with the current dejagnu tree, and to make it work with
19717 the new "gdbserver" in libremote.
19718
dc96c6c7 197192000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19720
19721 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19722 * gdb.base/varargs.exp: Skip entire test if no printf support.
19723 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19724 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19725
dc96c6c7 197262000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19727
19728 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19729 no floating point support.
19730 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19731 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19732 * gdb.base/call-rt-st.exp: Ditto.
19733 * gdb.base/call-strs.exp: Ditto.
19734
bac5fc66
JG
197352000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19736
19737 * gdb.base/sizeof.c: include <stdio.h>.
19738
19739 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19740 'finish', otherwise uncaptured gdb_prompt would potentially
19741 throw remaining test points out of sync.
bac5fc66 19742
b22a6027
SB
197432000-07-26 Scott Bambrough <scottb@netwinder.org>
19744
19745 * gdb.base/recurse.exp: Run tests for all targets.
19746 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19747 gnu-oldld case on ARM.
19748 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19749 for ARM targets.
d63a86f8 19750
d8231941
AG
19751Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19752
19753 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19754 * gdb.java/configure: Rebuild.
19755
8caabe69
AG
19756Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19757
19758 * gdb.java/jv-exp.exp: New file.
19759
9d273ca3
AG
19760Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19761
19762 * configure: Rebuilt.
19763 * configure.in (configdirs): Add gdb.java.
19764 * gdb.java/jmisc.java: New file.
19765 * gdb.java/jmisc.exp: New file.
19766 * gdb.java/Makefile.in: New file.
19767 * gdb.java/configure: Rebuilt.
19768 * gdb.java/configure.in: New file.
19769 * lib/java.exp: New file.
19770
4f823a66
AC
19771Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19772
19773 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19774 underflow.
4f823a66 19775
2391e11d
AC
19776Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19777
19778 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19779 and the compilers sizes.
2391e11d 19780
54602222
ND
197812000-07-09 Nick Duffek <nsd@redhat.com>
19782
19783 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19784 (use_methods): New function.
19785 (main): Call use_methods().
19786 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19787 (do_tests): Call test_method_param_class.
19788
2bec0572
ND
197892000-07-09 Nick Duffek <nsd@redhat.com>
19790
19791 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19792 spelling.
19793 (test_enums): New procedure. Move enum tests from end of script
19794 to here. Set breakpoint on function name instead of line number.
19795 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19796 (enums2): New marker function.
19797 (enums1): New function.
19798 (main): Call enums1(). Move enum tests to enums1().
19799
78492fde
AC
19800Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19801
19802 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19803 compile/link program. Update line numbers.
78492fde
AC
19804 * gdb.asm/d10v.inc: Define ``startup''.
19805 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19806
49a2cef8
AC
19807Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19808
19809 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19810
3e6c8688
EZ
198112000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19812
19813 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19814 of 'help maint print' command.
3e6c8688 19815
9ff5cbe9
AC
19816Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19817
19818 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19819 they use gdb_expect_list.
9ff5cbe9 19820
17c579bd
AC
19821Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19822
19823 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19824 memory-read-packet-size'' instead of ``set endian big'' to test
19825 long commands.
17c579bd 19826
e6d71bf3
DB
198272000-06-03 Daniel Berlin <dan@cgsoftware.com>
19828
19829 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19830 g++, and stop skipping them.
e6d71bf3
DB
19831
19832 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19833 work under g++.
19834
d63a86f8 19835 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19836 initialization.
19837
dc96c6c7 198382000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19839
19840 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19841 the regular expression: accept an (almost) arbitrary sequence of
19842 "frames-invalid" and "breakpoints-invalid" messages both before
19843 and after the "starting" message.
19844
dc96c6c7 198452000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19846
19847 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19848
dc96c6c7 198492000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19850
19851 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19852 Relax the regular expression a little, make it pass on Solaris 8.
19853
8216cda9
KB
198542000-05-12 Kevin Buettner <kevinb@redhat.com>
19855
19856 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19857 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19858 Instead, it is permissible for gdb to stop on the line of the
19859 call itself.
19860
1a570b2f
MS
198612000-05-12 Michael Snyder <msnyder@.cygnus.com>
19862
19863 * gdb.base/break.exp (bp on small function, optimized file):
19864 Add a second pass pattern. The behavior differs here between stabs
19865 and dwarf for one-line functions. Stabs preserves two line symbols
19866 (one before the prologue and one after) with the same line number,
19867 but dwarf regards these as duplicates and discards one of them.
19868 Therefore the address after the prologue (where the breakpoint is)
19869 has no exactly matching line symbol, and GDB reports the breakpoint
19870 as if it were in the middle of a line rather than at the beginning.
19871
dc96c6c7 198722000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19873
d63a86f8 19874 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19875 rather than "send_gdb" (for consistancy).
19876
7d418785
AC
19877Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19878
19879 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19880 * gdb.c++/templates.cc: Properly check for GCC version number.
19881 * lib/compiler.cc: Likewise
19882
dc96c6c7 198832000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19884
d63a86f8 19885 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19886 gdb may not stop at the first line of main, due to code motion.
19887
dc96c6c7 198882000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19889
19890 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19891 This test depends on parsing the printf output from the target.
19892 Since the sparclet stub doesn't do stdio, this will never work.
19893 * gdb.base/call-rt-st.exp: ditto.
19894 * gdb.base/call-strs: ditto.
19895
dc96c6c7 198962000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19897
19898 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19899
19900 * gdb.base/ending-run.exp: After connecting to a remote target,
19901 but before running, the target will appear to be in a random
19902 location. Specify both a file and a line for breakpoints.
19903 Also, the function that calls main may be called 'init'
19904 rather than 'start'.
19905
a5a51225
EZ
199062000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19907
19908 * gdb.base/help.exp: Update output for add-symbol-file command.
19909
7930cc7c
FN
199102000-04-10 Fernando Nasser <fnasser@cygnus.com>
19911
19912 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19913 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19914
23e37ab1
C
199152000-04-07 J.T. Conklin <jtc@redback.com>
19916
e93c542c
C
19917 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19918
23e37ab1
C
19919 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19920
591b8fa3
PDM
19921Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19922
19923 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19924 values that can be represented exactly.
591b8fa3
PDM
19925 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19926 above change, and to not check against the directory part of the source
19927 file name.
19928 (step into print_long_arg_list): Likewise.
19929 (print print_small_structs from print_long_arg_list): Likewise.
19930 (print print_long_arg_list): Likewise.
19931
7a495180
EZ
199322000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19933
30b53638 19934 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19935
beb998c6
AC
19936Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19937
19938 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19939
1c689132
DB
199402000-03-25 Daniel Berlin <dan@cgsoftware.com>
19941
19942 * gdb.base/commands.exp (deprecated_command_test): Add test for
19943 deprecate with no arguments.
19944
c1790a9d
JL
199452000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19946
19947 * gdb.base/break.exp: Add new test for setting breakpoints on
19948 optimized code so we can test breakpoints work even when function
19949 prologues may be optimized away
19950
003ba290
FN
199512000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19952
19953 From David Whedon <dwhedon@gordian.com>
a9c64011 19954 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19955
6837a0a2
DB
199562000-03-22 Daniel Berlin <dan@cgsoftware.com>
19957
19958 * gdb.base/help.exp: Added test for new apropos command.
19959
b9593231
KB
199602000-03-21 Kevin Buettner <kevinb@redhat.com>
19961
19962 * gdb.base/pointers.c (usevar): New function.
19963 (main): Make sure that global variables v_int_pointer2, rptr,
19964 and y are all referenced someplace in the program by calling
19965 usevar() on them. [Some linkers delete symbols which are
19966 never referenced. The space remains, but there's no way to
19967 get a (symbolic) handle on the variable from the debugger.]
19968
751a959b
EZ
199692000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19970
19971 * gdb.base/printcmds.c: Add typedeffed arrays.
19972
19973 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19974 procedure to test arrays that are typedef'd.
751a959b 19975
73a93a32
JI
199762000-03-13 James Ingham <jingham@leda.cygnus.com>
19977
19978 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19979 the library directories.
73a93a32 19980
fb40c209
AC
19981Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19982
19983 * configure.in (configdirs): Add sub directory gdb.mi.
19984 * configure: Re-generate.
19985
19986 * gdb.mi: New directory.
d63a86f8 19987
ee4dd2c9
AC
199882000-02-25 Scott Bambrough <scottb@netwinder.org>
19989
19990 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19991 a long long value as a double on ARM platforms.
ee4dd2c9 19992
70f0cc22
JB
199932000-02-16 Jim Blandy <jimb@redhat.com>
19994
19995 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19996 default source file is set properly before running this test.
19997
853819b8
EZ
199982000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19999
20000 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20001 gdbtk/library directory, not in gdbtcl2.
853819b8 20002
dfcd3bfb
JM
200032000-02-04 Jim Blandy <jimb@redhat.com>
20004
20005 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20006 backslash from regexp pattern.
20007
20008 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20009 procedure. Use it to run all the "continue to bp overloaded"
20010 tests. Note that this changes the names of the tests slightly.
20011 If the breakpoint hit message includes a hex PC value, because
20012 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20013 from the real source code, still consider that a pass.
20014
20015 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20016 XFAIL here if the breakpoint message contains a hex address. Note
20017 similar change on 1999-11-02.
20018
20019 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20020
20021 * gdb.base/ptype.exp: Establish a default source file before
20022 calling get_debug_format.
20023
200242000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20025
20026 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20027
8b93c638
JM
200282000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20029
20030 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20031 of successive stepi commands -- while in the prologue we should see
20032 the function entry bracket.
20033
200342000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20035
20036 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20037 reach __change_mode() when stepping through the end of main().
20038
c5394b80
JM
200392000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20040
20041 * gdb.base/default.exp: Fix expected pattern.
20042 * gdb.base/help.exp: Same.
20043
0d06e24b
JM
200442000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20045
20046 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20047 Don't use xfail's because that affects only the following test.
d63a86f8 20048
0d06e24b 20049 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20050 solaris or linux.
0d06e24b
JM
20051
20052 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20053
dc96c6c7 200542000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20055
d63a86f8 20056 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20057 "A syntax error" rather than "A parse error". Accept both.
20058
200592000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20060
20061 * gdb.base/default.exp: Remove OS dependent string from "target
20062 remote" test.
20063 * gdb.base/help.exp: Same for "help target remote" test.
20064
c3f6f71d
JM
200652000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20066
20067 From Jim Kingdon <kingdon@redhat.com>:
20068
20069 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20070 prompt (cleanup rather than necessity, but still might keep output
20071 from spilling to next test).
c3f6f71d
JM
20072
200732000-01-02 Fred Fish <fnf@cygnus.com>
20074
20075 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20076 AIX, which defines them in <sys/types.h>.
20077
ed9a39eb 200781999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20079
ed9a39eb 20080 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20081 float" test.
ed9a39eb
JM
20082
200831999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20084
ed9a39eb 20085 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20086
20087 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20088 outermost frame disallowed".
20089
200901999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20091
20092 * gdb.base/setvar.exp: New tests for setting the value of a struct
20093 with a constant list.
20094
200951999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20096
20097 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20098 require the user to type a cast before setting the value of a struct.
20099
de57eccd
JM
201001999-12-06 Jim Blandy <jimb@cygnus.com>
20101
20102 * gdb.base/default.exp: Expect the new 'info float' command on
20103 all i386 platforms.
20104
20105 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20106 LinuxThreads libraries that don't support debugging.
20107
c2d11a7d
JM
20108Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20109
20110 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20111 Change the buffer type to ``unsigned char'' to simplify size
20112 arithmetic.
c2d11a7d
JM
20113
20114 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20115 stub only handles 400-1 byte packets. Verify that the download
20116 worked.
c2d11a7d
JM
20117
201181999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20119
20120 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20121 tests, using UNRESOLVED for the untested cases. Also, does not wait
20122 for a timeout if the prompt was received before a recognizable pattern.
20123
201241999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20125
20126 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20127
201281999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20129
20130 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20131 watchpoints.
c2d11a7d
JM
20132
201331999-11-24 Jason Merrill <jason@casey.cygnus.com>
20134
20135 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20136
20137 * gdb.c++/local.exp: Be more flexible in recognizing local class
20138 name mangling. Don't allow horribly truncated method names.
20139 * gdb.c++/derivation.exp: Expect protected inheritance.
20140 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20141 * gdb.c++/virtfunc.exp: Likewise.
20142 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20143 when printing a nested enum.
20144
201451999-11-22 Jim Blandy <jimb@cygnus.com>
20146
20147 * gdb.base/step-test.exp: Properly await GDB's response to setting
20148 a breakpoint on the call to large_struct_by_value.
20149
20150 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20151 just because we have debug info for the `start' function.
20152
201531999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20154
20155 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20156 "Unknown signal" messages, which indicate (on LinuxThreads) that
20157 GDB doesn't know how to debug threads on this system. This is
20158 better than hanging while philosopher 0 dumps chatter into gdb.log.
20159
201601999-11-18 Tom Tromey <tromey@cygnus.com>
20161
20162 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20163
201641999-11-18 Fred Fish <fnf@cygnus.com>
20165
20166 * gdb.base/coremaker2.c: Add sample program for generating
20167 cores that is more self contained than coremaker.c. Eventually
20168 I'll add more code to this and tie it into the testsuite.
20169
4ce44c66
JM
201701999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20171
20172 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20173
201741999-11-10 Jimmy Guo <guo@cup.hp.com>
20175
20176 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20177 from $srcdir/lib/.
4ce44c66 20178 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20179 and gdb.c++/.
4ce44c66
JM
20180
20181 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20182
d63a86f8 20183 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20184 'continue with watch' test point.
20185
201861999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20187
20188 Merged from p2linux-990323-branch:
d63a86f8 20189
4ce44c66
JM
20190 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20191
11cf8741
JM
20192Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20193
20194 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20195 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20196
20197Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20198
20199 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20200 gdb_expect_list.
11cf8741
JM
20201
20202Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20203
20204 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20205
202061999-11-03 Mark Salter <msalter@cygnus.com>
20207
20208 * gdb.base/break.exp: Fix "stub continue" pattern.
20209
202101999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20211
20212 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20213
202141999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20215
20216 * gdb.base/display.exp ("finish"): Add timeout clause.
20217
20218 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20219 plain prompt clause, so this doesn't have to time out in order to
20220 fail.
20221
20222 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20223 breakpoint hit messages include an address.
11cf8741
JM
20224
20225 * gdb.base/display.exp: Don't forget to escape parens in regular
20226 expressions. Unix regexp notatation sucks.
20227
202281999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20229
20230 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20231 order for 'signalled' message.
11cf8741 20232
5c44784c
JM
202331999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20234
20235 From Jimmy Guo <guo@cup.hp.com>:
20236 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20237 * gdb.base/annota1.c: Add code for tests to work with.
20238
202391999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20240
20241 * gdb.base/remote.exp: New test for remote downloading settings.
20242 * gdb.base/remote.c: New file with large .data.
20243
917317f4
JM
202441999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20245
20246 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20247 for LinuxThreads support, merged from the Code Fusion branch.
20248
20249Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20250
20251 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20252 containing exp_continue into a while within an expect. Don't
20253 attempt a start more than three times. Check return value from
20254 gdb_load.
d63a86f8 20255
2df3850c
JM
20256Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20257
20258 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20259 a pass case.
2df3850c 20260
2acceee2
JM
202611999-10-01 Kevin Buettner <kevinb@cygnus.com>
20262
20263 * gdb.base/break.c (main): Added a statement that we can step
20264 off of.
20265 * gdb.base/break.exp: Added tests for setting a breakpoint
20266 at an offset and stepping onto a breakpoint.
20267
202681999-10-01 Fred Fish <fnf@cygnus.com>
20269
d63a86f8 20270 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20271 gdb output.
20272
c2c6d25f
JM
202731999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20274
20275 * gdb.base/break.exp: Code locations are in hex, don't forget!
20276 (For HP-UX.)
20277
202781999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20279
20280 * condbreak.exp: Use break.c as test program.
20281 * condbreak.c: Remove, redundant with break.c.
20282
202831999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20284
20285 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20286 Z-packets if the target needs it.
c2c6d25f
JM
20287
202881999-09-13 James Ingham <jingham@leda.cygnus.com>
20289
20290 * gdb.c++/overload.exp: Added tests for listing overloaded
20291 functions with function pointers in the arg, explicitly calling
20292 out the version you want.
20293
cff3e48b
JM
202941999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20295
20296 * long_long.exp: Add variations of test cases that work for
20297 targets with 16-bit ints and 32-bit doubles.
20298
d4f3574e
SS
202991999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20300
20301 * break.c (main): Compare a possibly-uninitialized argc with an
20302 unlikely value that fits in 16 bits.
20303
203041999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20305
20306 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20307 0xfeeb, don't want negative numbers if ints are 16 bits.
20308
20309 * lib/gdb.exp (skip_cplus_tests): New proc.
20310 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20311 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20312 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20313 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20314 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20315 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20316 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20317 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20318
20319 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20320
20321Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20322
20323 * gdb.base/corefile.exp (up): Allow a parameter to appear
20324 in the frame that we're going up to.
20325
20326 From Jim Blandy <jimb@cygnus.com>:
20327
20328 * gdb.base/default.exp (info float): Expect some output now.
20329
20330 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20331 returning floating-point values to fail on the x86.
20332 * gdb.base/callfwmall.exp (do_function_calls): Same.
20333
20334 * gdb.base/list.exp (test_listsize): Correct expectations for
20335 listing line 1 with listsize 2. Also, listing a single line
20336 works now, as does listing three lines. [Kevin's note: There
20337 were a number of other cases fixed too where the expectations
20338 differed...]
20339
203401999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20341
20342 * gdb.base/selftest.exp: Add case for when version prints as
20343 constant string instead of char pointer.
20344
104c1213
JM
203451999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20346
20347 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20348 stepping out of main.
104c1213
JM
20349
20350 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20351 G++ used.
20352
20353 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20354 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20355
20356 * gdb.c++/ovldbreak.exp: Update match string in test that
20357 includes a warning of multiple breakpoints.
20358
203591999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20360
20361 * gdb.base/display.exp: Improve precision of step-after-finish
20362 added yesterday.
20363
20364 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20365 test.
104c1213
JM
20366
20367 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20368 configs when using G++, not just hppa*.
20369
203701999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20371
20372 * gdb.base/async.c: New file.
20373 * gdb.base/async.exp: New file.
20374
20375Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20376
20377 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20378 PA64.
20379
53a5351d
JM
20380Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20381
104c1213
JM
20382 * gdb.base/display.exp: "finish" can leave us mid-line on many
20383 targets, deal with it. Add a small constant to main, instead of
20384 1000 since main+1000 may not be a valid address in the target.
20385
53a5351d
JM
20386 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20387 on hpux11.
20388
20389 * gdb.base/attach.exp: Handle another hpux11 error message variant
20390 when attaching to a process that does not exist.
20391
203921999-08-19 J.T. Conklin <jtc@redback.com>
20393
20394 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20395 characters in 'continue to 1241' test.
53a5351d
JM
20396
203971999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20398
20399 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20400 stop in print_long_arg_list, define and use a whitespace
20401 variable in print_small_structs test, add an XFAIL for Solaris.
20402 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20403 interested enough to fix.
20404
7be570e7
JM
204051999-08-13 Keith Seitz <keiths@cygnus.com>
20406
20407 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20408 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20409 proc knows about targets other than the natives.
20410 (test_assign): Use "gdb_run_cmd" to "run" the target.
20411 Check that we've actually hit the breakpoint at main.
20412 When we attempt to assign a value to a local variable, check
20413 that the variable is in the current scope, i.e., don't use
20414 a test with an empty result.
20415
20416Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20417
20418 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20419 command.
7be570e7
JM
20420
204211999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20422
20423 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20424 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20425 gdb.compat, gdb.threads-hp.
20426 gdb.hp/configure, gdb.hp/configure.in: New files.
20427 gdb.hp/Makefile.in: Recurse into new subdirs.
20428 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20429 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20430 in object files.
20431 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20432
96baa820
JM
204331999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20434
20435 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20436 funky printf, remove a bogus p/a test.
96baa820
JM
20437
204381999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20439
20440 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20441 connected to the target. This is necessary when running not
20442 natively.
96baa820
JM
20443
204441999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20445
20446 * gdb.base/step-test.exp: Removed some extraneous messages.
20447
20448 * gdb.base/long_long.exp: Don't run memory examination tests
20449 on little-endian targets (they will need a different set of
20450 results to match).
20451
204521999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20453
20454 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20455 until somebody decides to fix GDB.
20456
20457 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20458 constant as "ULL".
96baa820
JM
20459 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20460 matches for a couple x/2 commands.
20461
a0b3c4fd
JM
204621999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20463
20464 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20465 by merging in ref-types2 tests.
20466 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20467
20468 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20469 * gdb.c++/Makefile.in: Add standard actions.
20470 (EXECUTABLES): Rename from PROGS, update list.
20471 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20472 from gdb.hp.
20473 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20474 foo and bar locals.
20475 * gdb.c++/anon-union.exp: Fix tests to match.
20476 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20477 expect matches to handle output variations.
20478 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20479 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20480 output, add HP alternatives for new and delete prints.
a0b3c4fd 20481 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20482 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20483 * gdb.c++/demangle.exp: Use $style when reporting failure.
20484 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20485 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20486 match alternatives.
20487 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20488 compilers.
a0b3c4fd
JM
20489 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20490 * gdb.c++/method.exp: Add match alternatives.
20491 * gdb.c++/misc.cc: Add bool types.
20492 * gdb.c++/misc.exp: Add tests for bool types.
20493 * gdb.c++/overload.exp: Add xfails.
20494 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20495 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20496 add some more template parameter tests (only for HP currently).
20497 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20498 * gdb.c++/virtfunc.cc: Add return type and value for main.
20499 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20500 match alternatives.
d63a86f8 20501
a0b3c4fd
JM
205021999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20503
20504 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20505
205061999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20507
20508 * gdb.base/signals.exp: Don't expect getting a backtrace from
20509 within a signal handler to fail on Linux.
20510
205111999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20512
20513 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20514 * lib/gdb.exp: Remove some gratuitious semicolons.
20515 (delete_breakpoints): Increase timeout.
20516 (gdb_expect): Add -notransfer option.
20517 (gdb_test): Use -notransfer option.
20518 (get_compiler_info): Add f77 case.
20519 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20520 case.
a0b3c4fd
JM
20521 (gdb_preprocess): Call get_compiler.
20522
20523 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20524 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20525 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20526 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20527 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20528 third arg to gdb_test.
a0b3c4fd
JM
20529 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20530 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20531 HP-UX xfails, add others.
a0b3c4fd
JM
20532 * gdb.base/completion.exp: Reflect name change of self-test.
20533 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20534 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20535 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20536 HP failure number.
a0b3c4fd
JM
20537 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20538 useless HP-UX 10.30 references.
20539 * gdb.base/maint.exp: Loosen matches.
20540 * gdb.base/pointers.c (main): Declare more_code.
20541 * gdb.base/pointers.exp: Match on output of a `next'.
20542 * gdb.base/structs.c: Add prototypes.
20543 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20544 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20545
205461999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20547
20548 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20549 command.
a0b3c4fd
JM
20550
205511999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20552
20553 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20554 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20555
20556 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20557 debug info. Deal with lack of signal hanlder info in stack.
20558
a9c64011 20559 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20560 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20561
5a2468f5
JM
205621999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20563
20564 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20565 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20566
adf40b2e
JM
20567Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20568
20569 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20570 a1-selftest.exp.
adf40b2e
JM
20571 * gdb.base/configure: Re-generate.
20572
205731999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20574
20575 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20576 in trying to run first and name is too long.
20577
20578 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20579 pointers2.c and pointers2.exp, respectively.
20580 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20581 doschk happier.
20582
43e526b9
JM
205831999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20584
20585 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20586 callfuncs2.c and callfuncs2.exp.
20587
20588 * gdb.base/list.exp: Remove mistaken xfails.
20589 * gdb.base/list0.h: Add optional prototypes.
20590
9846de1b
JM
20591Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20592
a9c64011 20593 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20594 calling malloc.
a9c64011
AS
20595 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20596 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20597 use.
9846de1b
JM
20598
205991999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20600
20601 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20602 * gdb.base/annota2.cc, annota2.exp: Move from here.
20603 * gdb.c++/annota2.cc, annota2.exp: To here.
20604 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20605
43ff13b4
JM
20606Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20607
20608 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20609 a consistent format.
43ff13b4 20610
085dd6e6
JM
206111999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20612
20613 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20614 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20615 HP compilers, also set the globals $true and $false.
20616
20617 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20618 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20619 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20620 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20621 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20622 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20623 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20624 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20625 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20626 whatis.c} Add C++ compatible function definitions and return
20627 types, add includes for library functions.
085dd6e6
JM
20628 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20629 * gdb.base/step-test.c (myglob): Rename from glob.
20630 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20631 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20632 files, move here from gdb.hp.
085dd6e6 20633 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20634 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20635 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20636 Adjust line numbers in regexps.
085dd6e6
JM
20637
20638 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20639 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20640 instead of 0/1.
20641
20642 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20643 foll-vfork.exp: New files, move here from gdb.hp.
20644 * gdb.base/page.exp: New file, test of pagination command.
20645
20646 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20647 recursion test.
20648 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20649
20650 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20651 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20652
20653 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20654 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20655 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20656 watchpoint test.
085dd6e6
JM
20657 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20658 them work.
20659 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20660 expressions properly.
20661 * gdb.base/corefile.exp: Loosen the match slightly.
20662 * gdb.base/default.exp: Allow "Error accessing memory" message
20663 also.
20664 * gdb.base/display.exp: Skip over x/0 j if PA64.
20665 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20666 * gdb.base/interrupt.exp: Ditto.
20667 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20668 in use.
20669 * gdb.base/list.exp: Add xfails for HP-UX.
20670 * gdb.base/long_long.exp: Refine some of the numeric matches.
20671 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20672 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20673 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20674 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20675 * gdb.base/ptype.exp: Succeed on more varieties of output.
20676 * gdb.base/scope.exp: Add xfails for HP-UX.
20677 * gdb.base/sect-cmd.exp: Add more cases.
20678 * gdb.base/setvar.exp: Add xfails for HP-UX.
20679 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20680 * gdb.base/signals.exp: Match on void symbolically.
20681 * gdb.base/step-test.exp: Add case for PA64.
20682 * gdb.base/term.exp: Add exit and restart.
20683 * gdb.base/twice.exp: Clean up after self.
20684 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20685 * gdb.base/whatis.exp: Allow more ways to pass tests.
20686
20687 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20688 no longer useful.
085dd6e6
JM
20689
20690Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20691
20692 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20693 list of patterns.
085dd6e6 20694 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20695 print_double_array(double_array)", "continuing to breakpoint
20696 1018", "print print_double_array(array_d)" and "continuing to
20697 1034" tests.
d63a86f8 20698
085dd6e6
JM
206991999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20700
a9c64011 20701 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20702
207031999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20704
20705 * config/mt-*: Remove, these haven't been used since 1996.
20706
207071999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20708
20709 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20710 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20711 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20712
9e0b60a8
JM
207131999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20714
20715 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20716 simpler match case for the ptype of the big class.
20717
207181999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20719
20720 * gdb.exp: Fix test for gdb_prompt existence.
20721
207221999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20723
20724 * gdb.exp (gdb_test): Add fail after calls to perror.
20725
207261999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20727
20728 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20729
207301999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20731
20732 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20733
0f71a2f6
JM
20734Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20735
20736 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20737 malloc() is linked in.
0f71a2f6
JM
20738
207391999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20740
20741 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20742 step at end.
20743
20744 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20745
207461999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20747
20748 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20749
cce74817
JM
20750Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20751
20752 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20753 * gdb.base/mips_pro.exp: Likewise.
20754
207551999-06-02 Keith Seitz <keiths@cygnus.com>
20756
20757 * gdb.c++/templates.cc: Change all "new" operators to throw
20758 an exception.
20759 * gdb.c++/cplusfuncs.cc: Likewise.
20760
20761 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20762
20763Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20764
20765 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20766 * gdb.base/ending-run.exp: When stepping out of main, accept a
20767 step into an arbitrary assembler file.
cce74817 20768
392a587b
JM
207691999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20770
d63a86f8 20771 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20772 "breakpoint-invalid" to be printed.
d63a86f8 20773 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20774 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20775 * gdb.base/annota2.cc: Initialize a.x to 0.
20776
9e086581
JM
207771999-05-17 Keith Seitz <keiths@cygnus.com>
20778
20779 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20780 when "skip_float_tests" set.
20781 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20782 "print print_ten_doubles", and "step into print_long_arg_list".
20783 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20784 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20785 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20786 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20787 "skip_float_tests" is set.
20788 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20789 when "skip_float_tests" set.
d63a86f8 20790
cd0fc7c3
SS
207911999-05-06 Keith Seitz <keiths@cygnus.com>
20792
20793 * gdb.base/annota2.cc: Include stdio.h.
20794
20795Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20796
20797 * gdb.base/crossload.exp: Remove, this has been disabled ever
20798 since BFD stopped including all targets, and cross-GDB gets
20799 plenty of testing anyway.
20800 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20801 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20802 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20803 * gdb.base/README: Remove, was doc for this.
20804 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20805 needed.
cd0fc7c3 20806
b83266a0
SS
208071999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20808
20809 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20810 output.
20811
20812 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20813 * gdb.base/annota2.exp: New file. More annotation tests.
20814 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20815 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20816
208171999-04-23 Angela Marie Thomas <angela@cygnus.com>
20818
20819 * config/cfdbug.exp: New file.
20820
7a292a7a
SS
208211999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20822
20823 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20824 Marcus Daniel's and Dale Hawkins's demangler crashes.
20825
20826 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20827 test_lucid_style_demangling, test_arm_style_demangling,
20828 test_hp_style_demangling): Try Tom Tromey's core-dumping
20829 identifier under each demangling style.
7a292a7a
SS
20830
208311999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20832
20833 * gdb.c++/demangle.exp: Include the current demangling style
20834 in all test names.
20835 (current_demangling_style): New global variable.
20836 (set_demangling_style, test_demangling_core, test_demangling,
20837 test_demangling_exact): New functions.
20838 (test_gnu_style_demangling, test_lucid_style_demangling,
20839 test_arm_style_demangling, test_hp_style_demangling): Use those,
20840 instead of calling gdb_test and gdb_test_exact directly.
20841 (catch_demangling_errors): New function, which reports errors
20842 signalled by the demangling test functions in an orderly way.
20843 (do_tests): Use catch_demangling_errors.
20844
208451999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20846
20847 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20848 grouping in expressions, not {}.
7a292a7a
SS
20849
20850 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20851 initialized yet.
7a292a7a
SS
20852
208531999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20854
20855 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20856 are listed.
20857
208581999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20859
20860 * gdb.stabs/weird.exp: Test for CC being defined before
20861 looking at its value.
20862
208631999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20864
20865 * gdb.base/call-ar-st.exp: Remove stray '#'.
20866 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20867 "short int" and "long int".
20868 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20869 change, to mollify finicky HP compiler.
7a292a7a
SS
20870 * gdb.hp/reg-test.exp (testfile): Fix file name.
20871 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20872
7a292a7a
SS
20873 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20874 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20875 alternate form of enum ptype.
20876
c906108c
SS
208771999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20878
7a292a7a
SS
20879 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20880 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20881 passing skip_hp_tests, so as not to waste time on guaranteed
20882 failure.
7a292a7a 20883
c906108c
SS
20884 * gdb.c++/overload.cc: Pass string instead of char addr, always
20885 init ccpfoo.
20886 * gdb.c++/templates.cc: Fix syntax error.
20887
7a292a7a
SS
20888Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20889
20890 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20891 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20892 command.
20893
208941999-03-18 James Ingham <jingham@cygnus.com>
20895
20896 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20897
20898 * gdb.c++/method.exp: It was testing an uninitialized int on the
20899 stack and assuming it was positive.
20900
20901 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20902
20903 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20904 keep it from killing the rest of the tests.
7a292a7a
SS
20905 Use gdb_continue_to_end.
20906
20907 * gdb.base/sigall.exp: use gdb_continue_to_end.
20908
20909 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20910
20911 * gdb.base/display.exp: use runto_main, not run.
20912
d63a86f8
RM
20913 * gdb.base/default.exp: Check for the current error message in the
20914 r abbreviation test.
7a292a7a
SS
20915 Add strongarm to the targets that know info float.
20916
d63a86f8 20917 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20918 run which doesn't work with monitors.
20919
20920 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20921
20922 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20923
20924 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20925 program. Traps the case (in Cygmon) when the program never really
20926 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20927 more places, so I used my name. Sorry Mark...
20928
20929 * config/monitor.exp (gdb_target_monitor): added another
20930 target_info parameter: remotebinarydownload. This will set the
20931 remotebinarydownload flag if this is causing some boards trouble.
20932
209331999-03-18 Mark Salter <msalter@cygnus.com>
20934
20935 * lib/gdb.exp (continue_to_exit): New function.
20936
20937 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20938 * gdb.base/ending-run.exp: Ditto.
20939 * gdb.base/step-test.exp: Ditto.
20940
209411999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20942
20943 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20944 (suggested by Art Haas <ahaas@neosoft.com>).
20945
209461999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20947
889bf7c5 20948 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20949
20950Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20951
20952 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20953 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20954
209551999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20956
20957 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20958 a call to strlen; sometimes we do have sources.
20959
209601999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20961
20962 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20963 character, so GDB won't print garbage after its end.
d63a86f8 20964
c906108c
SS
20965 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20966 breakpoint there instead. Sometimes GCC emits memcpy to handle
20967 the large structures being passed by value, so we step into that
20968 instead of sum_array_print, which obscures what we're really testing.
20969 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20970 the bizarre steps into memcpy, so do that here. Add check for
20971 stepping into function calls that pass large structures by value.
20972 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20973 Remove all references to specific line numbers.
20974 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20975 New type and function.
20976 (main): Call large_struct_by_value, passing it a large struct by value.
20977 * lib/gdb.exp (gdb_get_line_number): New function.
20978
20979 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20980 more portable.
20981
7a292a7a
SS
209821999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20983
c906108c
SS
20984 * lib/gdb.exp: Doc fixes.
20985
7a292a7a
SS
209861999-03-05 Nick Clifton <nickc@cygnus.com>
20987
d63a86f8 20988 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20989
209901999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20991
c906108c 20992 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20993 commands. They're not germane to this test, and they don't work
20994 that way on remote targets.
c906108c 20995
3fc11d3e
JM
209961999-03-01 James Ingham <jingham@cygnus.com>
20997
20998 * Changelog entries merged over from gdb development branch.
20999
3fc11d3e
JM
21000 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21001
21002 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21003 for outputting results of test run.
21004
2d4a1622 21005 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21006
21007 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21008
7a292a7a
SS
210091999-02-25 Felix Lee <flee@cygnus.com>
21010
21011 * lib/gdb.exp (debug_format): initialize
21012
c906108c
SS
210131999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21014
21015 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21016 * gdb.base/call-rt-st.c: Ditto.
21017
c906108c
SS
210181999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21019
21020 * gdb.threads/pthreads.exp (horiz): New variable.
21021 (test_startup): Fix regexps that capture thread numbers.
21022
210231999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21024
21025 * gdb.base/smoke.exp: Disambiguate two test case names (both
21026 called ``print'').
21027
21028Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21029
21030 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21031 compilation.
c906108c
SS
21032
210331999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21034
21035 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21036 actual output formatting.
21037 * gdb.base/smoke.exp: GDB removes leading 0's.
21038 * gdb.base/volatile.exp: Don't check type of remuneration;
21039 that variable is no longer defined in constvars.c.
21040 * gdb.base/step-test.c (main): Exit with explicit exit code.
21041 * gdb.base/step-test.exp: Remove two nexti checks--they are
21042 not portable.
21043
210441999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21045
21046 * gdb.base/help.exp ("help delete display"): Fix test to match
21047 gdb's output.
21048
21049 * gdb.base/long_long.c (known_types): Initialize values to zero.
21050 * gdb.base/long_long.exp: Step one more line
21051 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21052 leading zeros. Explicitly ask for hex formatting. Use
21053 unique test case names.
c906108c
SS
21054
21055Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21056
d63a86f8 21057 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21058
21059 * gdb.c++/method.exp: Add missing close brace.
21060
210611999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21062
21063 * gdb.base/maint.exp: Use 'set height 0' to disable page
21064 prompting, not 'set height 400'.
21065
21066 Fix a bunch of timeouts.
21067 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21068 four separate tests, so expect doesn't take forever to match a ton
21069 of text against a regexp with lots of .* forms.
21070 ("maint print psymbols", "maint print symbols"): Make some of
21071 these greps more selective, so that expect doesn't try to wade
21072 through huge piles of output and time out.
21073
21074 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21075
21076 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21077 tests: one which doesn't expect shlib events to be reported, and
21078 another which does, but is XFAIL for all platforms other than
21079 HP/UX.
c906108c
SS
21080
21081 * gdb.base/break.exp: Teach the test suite that the `catch
21082 fork', `catch vfork', and `catch exec' commands produce error
21083 messages on platforms that don't provide these features.
21084
21085Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21086
21087 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21088 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21089 (shortening names from solib_threshold.exp etc), won't run on
21090 anything but HP-UX for the foreseeable future.
c906108c 21091 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21092 reflect move.
c906108c
SS
21093
21094Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21095
21096 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21097 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21098
21099Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21100
21101 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21102 successfully re-sets breakpoints in shared libraries.
21103 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21104
21105Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21106
d63a86f8
RM
21107 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21108 and compiled w/o GCC.
c906108c
SS
21109
21110 * gdb.hp/watch-cmd.exp: ditto.
21111
21112 * gdb.hp/watch-hp.exp: ditto.
21113
21114 * gdb.hp/xdb1.exp: ditto.
21115
21116 * gdb.hp/xdb2.exp: ditto.
21117
21118 * gdb.hp/dbx.exp: ditto.
21119
21120Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21121
21122 * constvars.c: Remove C++-isms.
21123 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21124 with GCC.
c906108c
SS
21125
21126Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21127
21128 The following changes are part of the HP merge.
21129
21130 * gdb.base/break.exp: new tests to verify that catchpoints for
21131 fork, vfork, and exec don't trigger inappropriately.
21132
21133 * gdb.base/opaque.exp: compile one file at a time, then link.
21134
21135 * gdb.base/signals.exp: be more restrictive about which hppa
21136 systems receive a setup_xfail. new tests.
21137
21138 * gdb.base/solib_threshold.build: new file.
21139 * gdb.base/solib_threshold.exp: new file.
21140 * gdb.base/solib_threshold.link_opts: new file.
21141 * gdb.base/solib_threshold.mk: new file.
21142 * gdb.base/gen_solib_threshold.c: new file.
21143
21144 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21145 tests. New tests for enums inside classes.
21146
21147 * gdb.c++/compiler.cc: indicate support of template debugging.
21148
21149 * gdb.c++/demangle.exp: run hp style demangling tests.
21150
21151 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21152 tests.
21153
21154 * gdb.c++/misc.cc: changes to support new tests.
21155
21156 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21157 to support new tests.
21158
21159 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21160 gcc, then skip these tests.
21161
21162Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21163
21164 The following files are part of the HP merge; some had longer
21165 names at HP, but have been renamed to be no more than 14
21166 characters in length.
21167
21168 * gdb.hp/ambiguous.cc: new file.
21169 * gdb.hp/ambiguous.exp: new file.
21170 * gdb.hp/attach.exp: new file.
21171 * gdb.hp/attach2.exp: new file.
21172 * gdb.hp/classes-hp.exp: new file.
21173 * gdb.hp/ctti.exp: new file.
21174 * gdb.hp/ctti-add.cc: new file.
21175 * gdb.hp/ctti-add1.cc: new file.
21176 * gdb.hp/ctti-add2.cc: new file.
21177 * gdb.hp/ctti-add3.cc: new file.
21178 * gdb.hp/dbx.exp: new file.
21179 * gdb.hp/exception.cc: new file.
21180 * gdb.hp/exception.exp: new file.
21181 * gdb.hp/foll-exec.c: new file.
21182 * gdb.hp/foll-exec.exp: new file.
21183 * gdb.hp/foll-fork.c: new file.
21184 * gdb.hp/foll-fork.exp: new file.
21185 * gdb.hp/foll-vfork.c: new file.
21186 * gdb.hp/foll-vfork.exp: new file.
21187 * gdb.hp/inherit-hp.exp: new file.
21188 * gdb.hp/more-steps.exp: new file.
21189 * gdb.hp/namespace.cc: new file.
21190 * gdb.hp/namespace.exp: new file.
21191 * gdb.hp/optimize.exp: new file.
21192 * gdb.hp/pxdb.c: new file.
21193 * gdb.hp/pxdb.exp: new file.
21194 * gdb.hp/quicksort.exp: new file.
21195 * gdb.hp/reg-test.exp: new file.
21196 * gdb.hp/reg-test.s: new file.
21197 * gdb.hp/sized-enum.c: new file.
21198 * gdb.hp/sized-enum.exp: new file.
21199 * gdb.hp/start-stop.exp: new file.
21200 * gdb.hp/templ-hp.cc: new file.
21201 * gdb.hp/templ-hp.exp: new file.
21202 * gdb.hp/thr-lib.c: new file.
21203 * gdb.hp/thr-lib.exp: new file.
21204 * gdb.hp/thr-lib.h: new file.
21205 * gdb.hp/thr-liblib.c: new file.
21206 * gdb.hp/virtfun-hp.c: new file.
21207 * gdb.hp/virtfun-hp.exp: new file.
21208 * gdb.hp/watch-cmd.exp: new file.
21209 * gdb.hp/watch-hp.exp: new file.
21210 * gdb.hp/xdb1.exp: new file.
21211 * gdb.hp/xdb2.exp: new file.
21212 * gdb.hp/xdb3.exp: new file.
21213
21214Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21215
21216 The following files are part of the HP merge; some had longer
21217 names at HP, but have been renamed to be no more than 14
21218 characters in length.
21219
21220 * gdb.base/ss.h: new file.
21221 * gdb.base/call-ar-st.c: new file.
21222 * gdb.base/call-ar-st.exp: new file.
21223 * gdb.base/call-rt-st.c: new file.
21224 * gdb.base/call-rt-st-exp: new file.
21225 * gdb.base/call-strs.exp: new file.
21226 * gdb.base/ena-dis-br.exp: new file.
21227 * gdb.base/environ.exp: new file.
21228 * gdb.base/long_long.exp: new file.
21229 * gdb.base/sect-cmd.exp: new file.
21230 * gdb.base/shlib-cl2.exp: new file.
21231 * gdb.base/smoke.exp: new file.
21232 * gdb.base/so-impl-ld.c: new file.
21233 * gdb.base/so-impl-ld.exp: new file.
21234 * gdb.base/so-indr-cl.c: new file.
21235 * gdb.base/so-indr-cl.exp: new file.
21236 * gdb.base/varargs.exp: new file.
21237 * gdb.base/volatile.exp: new file.
21238 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21239 * gdb.base/display.exp: new file.
c906108c
SS
21240 * gdb.c++/derivation.exp: new file.
21241 * gdb.c++/local.exp: new file.
21242 * gdb.c++/member-ptr.exp: new file.
21243 * gdb.c++/overload.exp: new file.
21244 * gdb.c++/ovldbreak.exp: new file.
21245 * gdb.c++/ref-types.exp: new file.
21246 * gdb.c++/ref-types2.exp: new file.
21247 * gdb.c++/userdef.exp: new file.
d63a86f8 21248
c906108c
SS
21249Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21250
21251 * gdb.base/default.exp: Reflect wording change in remote.c.
21252
dc96c6c7 21253Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21254
21255 * gdb.base/help.exp: Update to reflect current text.
21256
21257Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21258
21259 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21260 they're stack variables and contain garbage.
21261 * gdb.c++/anon-union.exp: new file.
21262
21263 The following changes were made by David Taylor
889bf7c5
PA
21264 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21265 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21266 in changes by HP.
c906108c
SS
21267
21268 * gdb.base/bitops.exp: new file.
21269 * gdb.base/default.exp: change expected messages for catch and
21270 info catch tests to reflect HP merge changes.
21271 * gdb.base/enable-disable-break.exp
21272 * gdb.base/ending-run.c: new file.
21273 * gdb.base/long_long.c: new file.
21274 * gdb.base/maint.exp: new file.
21275 * gdb.base/pointers2.exp: new file.
21276 * gdb.base/shlib-call2.exp: new file.
21277 * gdb.base/solib.exp: new file.
21278 * gdb.base/step-test.c: new file.
21279 * gdb.c++/anon-union.cc: new file.
21280 * gdb.c++/local.cc: new file.
21281 * gdb.c++/member-pointer.cc: new file.
21282 * gdb.c++/method.cc: new file.
21283 * gdb.c++/ref-types.cc: new file.
21284 * gdb.c++/ref-types2.cc: new file.
21285 * gdb.c++/userdef.cc: new file.
d63a86f8 21286
c906108c
SS
21287 * gdb.base/scope.exp: compile one file at a time, then link.
21288 * gdb.base/langs.exp: ditto.
21289 * gdb.base/list.exp: ditto.
d63a86f8 21290
c906108c
SS
21291Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21292
21293 The following changes were made by David Taylor
889bf7c5
PA
21294 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21295 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21296 in changes by HP.
d63a86f8 21297
c906108c
SS
21298 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21299 skip tests. When compiling pass c++ flag to gdb_compile.
21300 * gdb.c++/
d63a86f8 21301
c906108c
SS
21302 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21303 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21304 (skip_hp_tests): new function.
21305 (gdb_preprocess): new function.
21306
21307 * configure.in (hpdir): decide whether to configure gdb.hp.
21308 * configure: regenerated.
21309
21310 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21311 to delete on clean.
21312 (EXECUTABLES): update to reflect new additions.
21313 * gdb.base/commands.exp: update message expected.
21314 * gdb.base/default.exp: add copyright notice.
21315 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21316 * gdb.base/help.exp: update messages to reflect current text.
21317 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21318 targets for recurse tests.
21319 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21320 skip this file.
21321
21322 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21323 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21324 compilation.
21325 * gdb.c++/misc.exp: ditto.
21326 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21327 run the tests. tell gdb_compile that it's a c++ compilation.
21328
21329 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21330
c906108c
SS
21331 * gdb.base/all-bin.exp: new file.
21332 * gdb.base/arithmet.exp: new file.
21333 * gdb.base/assign.exp: new file.
21334 * gdb.base/completion.exp: new file.
21335 * gdb.base/cond-expr.exp: new file.
21336 * gdb.base/condbreak.exp: new file.
21337 * gdb.base/define.exp: new file.
21338 * gdb.base/dollar.exp: new file.
21339 * gdb.base/environment.exp: new file.
21340 * gdb.base/eval-skip.exp: new file.
21341 * gdb.base/jump.exp: new file.
21342 * gdb.base/logical.exp: new file.
21343 * gdb.base/pointers.exp: new file.
21344 * gdb.base/relational.exp: new file.
21345 * gdb.base/section_command.exp: new file.
21346 * gdb.base/whatis-expr.exp: new file.
21347
21348 * gdb.base/all-types.c: new file.
21349 * gdb.base/call-array-struct.c: new file.
21350 * gdb.base/call-return-struct.c: new file.
21351 * gdb.base/call-strings.c: new file.
21352 * gdb.base/callfuncs2.c: new file.
21353 * gdb.base/condbreak.c: new file.
21354 * gdb.base/constvars.c: new file.
21355 * gdb.base/display.c: new file.
21356 * gdb.base/int-type.c: new file.
21357 * gdb.base/jump.c: new file.
21358 * gdb.base/miscexprs.c: new file.
21359 * gdb.base/pointers.c: new file.
21360 * gdb.base/pointers2.c: new file.
21361 * gdb.base/shmain.c: new file.
21362 * gdb.base/shr1.c: new file.
21363 * gdb.base/shr2.c: new file.
21364 * gdb.base/solib.c: new file.
21365 * gdb.base/solib1.c: new file.
21366 * gdb.base/solib2.c: new file.
21367 * gdb.base/varargs.c: new file.
21368 * gdb.c++/derivation.cc: new file.
21369 * gdb.c++/overload.cc: new file.
21370 * gdb.c++/ovldbreak.cc: new file.
21371 * gdb.hp/attach.c: new file.
21372 * gdb.hp/attach2.c: new file.
21373 * gdb.hp/average.c: new file.
21374 * gdb.hp/compiler.c: new file.
21375 * gdb.hp/compiler.cc: new file.
21376 * gdb.hp/execd-program.c: new file.
21377 * gdb.hp/follow-exec.c: new file.
21378 * gdb.hp/follow-fork.c: new file.
21379 * gdb.hp/follow-vfork-and-exec.c: new file.
21380 * gdb.hp/misc-hp.cc: new file.
21381 * gdb.hp/more-steps.c: new file.
21382 * gdb.hp/optimize.c: new file.
21383 * gdb.hp/quicksort.c: new file.
21384 * gdb.hp/run-hp.c: new file.
21385 * gdb.hp/start-stop.c: new file.
21386 * gdb.hp/sum.c: new file.
21387 * gdb.hp/templates-hp.cc: new file.
21388 * gdb.hp/thread-local-in-lib.c: new file.
21389 * gdb.hp/thread-local-in-lib.h: new file.
21390 * gdb.hp/thread-local-in-lib.lib.c: new file.
21391 * gdb.hp/vforked-program.c: new file.
21392 * gdb.hp/virtfunc-hp.cc: new file.
21393 * gdb.hp/watchpoint-hp.c: new file.
21394 * gdb.hp/xdb.c: new file.
21395 * gdb.hp/xdb0.c: new file.
21396 * gdb.hp/xdb0.h: new file.
21397 * gdb.hp/xdb1.c: new file.
21398
21399Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21400
21401 The following change was made by Edith Epstein
889bf7c5
PA
21402 <eepstein@cygnus.com> as part of a project to merge in changes
21403 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21404
21405 * gdb.c++/demangle.exp: changed the expected output for some
21406 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21407 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21408 T1<char>::~T1<char>(void)
c906108c 21409 becomes,
a9c64011
AS
21410 maint demangle __dt__11T1__pt__2_cFv
21411 T1<char>::~T1(void)
c906108c 21412
889bf7c5 21413 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21414
c906108c
SS
21415Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21416
21417 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21418 * gdb.trace/backtrace.exp: Likewise.
21419 * gdb.trace/circ.exp: Likewise.
21420 * gdb.trace/collection.exp: Likewise.
21421 * gdb.trace/deltrace.exp: Likewise.
21422 * gdb.trace/infotrace.exp: Likewise.
21423 * gdb.trace/limits.exp: Likewise.
21424 * gdb.trace/packetlen.exp: Likewise.
21425 * gdb.trace/passc-dyn.exp: Likewise.
21426 * gdb.trace/passcount.exp: Likewise.
21427 * gdb.trace/report.exp: Likewise.
21428 * gdb.trace/save-trace.exp: Likewise.
21429 * gdb.trace/tfind.exp: Likewise.
21430 * gdb.trace/tracecmd.exp: Likewise.
21431 * gdb.trace/while-dyn.exp: Likewise.
21432 * gdb.trace/while-stepping.exp: Likewise.
21433
214341998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21435
21436 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21437
21438Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21439
21440 From Brendan Kehoe:
21441 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21442 int return types.
21443
21444Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21445
21446 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21447 remote dos host testing right.
c906108c
SS
21448
21449Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21450
21451 * gdb.base/corefile.exp: remove some xfails.
21452
21453Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21454
21455 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21456 have different timestamps.
c906108c
SS
21457
21458Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21459
21460 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21461 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21462
21463Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21464
21465 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21466 delta.
c906108c
SS
21467
21468Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21469
21470 * gdb.base/default.exp: Add brace missing from previous delta.
21471
21472Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21473
21474 * gdb.base/default.exp: Support test for info float for all
21475 varieties of arm toolchain.
21476
dc96c6c7 21477Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21478
21479 * gdb.trace/*.exp: remove "remote_download" command.
21480
dc96c6c7 21481Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21482
21483 * gdb.trace/*.exp: remove -gdwarf from compile.
21484
21485Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21486
21487 * gdb.trace/configure.in(AC_INIT): typo
21488 * gdb.trace/configure: regenerated
21489
dc96c6c7 21490Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21491
21492 * config/m68k-emc.exp: New file.
21493 * lib/<emc-support.exp trace-support.exp}: New files.
21494 * configure.in: add new test directory gdb.trace.
21495 * gdb.trace/{configure configure.in Makefile.in}: New files.
21496 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21497 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21498 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21499 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21500 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21501 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21502 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21503
dc96c6c7 21504Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21505
21506 * gdb.c++/classes.exp: Change all regular expressions to match
21507 arbitrary combinations of newline/carriage-return, so that they
21508 will work equally well on Unix and Windows.
21509 * gdb.c++/inherit.exp: ditto.
21510 * gdb.c++/virtfunc.exp: ditto.
21511
215121998-08-11 Dawn Perchik <dawn@cygnus.com>
21513
21514 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21515
c2d11a7d
JM
21516Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21517
21518 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21519 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21520 to use a0-a3/d0-d3 as needed.
21521
21522Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21523
21524 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21525 * gdb.disasm/am33.exp: Corresponding changes.
21526
c906108c
SS
215271998-07-11 Felix Lee <flee@cygnus.com>
21528
21529 * gdb.base/callfuncs.exp: add cmp10 test.
21530 * gdb.base/callfuncs.c (cmp10): new function.
21531
21532Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21533
d63a86f8 21534 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21535 into two parts to get around a synchronization problem in expect.
21536
3fc11d3e
JM
21537Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21538
21539 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21540
21541 * configure.in: Add options for gdbtk testsuite.
21542
21543 * configure: Regenerate.
21544
21545 * gdb.gdbtk: New directory to hold gdbtk tests.
21546
c906108c
SS
21547Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21548
21549 * gdb.fortran/types.exp: Escape brackets in expect patterns
21550 for test_float_literal_types_accepted tests.
21551 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21552 before run test.
21553
c2d11a7d
JM
21554Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21555
21556 * am33.exp: Just compile, do not link the testcase.
21557 * am33.s: Add ".am33" pseudoop to force am33 mode.
21558
c906108c
SS
215591998-06-25 Felix Lee <flee@cygnus.com>
21560
21561 * gdb.base/setshow.exp: make sure $pc is sane.
21562
21563 * gdb.stabs/weird.exp: split expect patterns properly.
21564
c2d11a7d
JM
21565Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21566
21567 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21568 * gdb.disasm/am33.exp: Run it.
21569
dc96c6c7 21570Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21571
21572 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21573 match processing (and eliminate spurious timeouts when running).
21574
dc96c6c7 21575Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21576
21577 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21578 exception test, but conditionalize it on target [mach | gnu].
21579
dc96c6c7 21580Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21581
21582 * gdb.base/overlays.exp: fixup compile line for linker script.
21583
21584Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21585
21586 * gdb.fortran/types.exp: don't guess at float size.
21587
21588Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21589
21590 * gdb.base/exprs.exp: delete test that depends on int size.
21591
21592Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21593
21594 * config/sim.exp: Removed checks for target triplets.
21595 (gdb_target_sim): Use gdb,target_sim_options.
21596
21597Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21598
21599 * gdb.base/reread.exp: New file.
21600 * gdb.base/reread1.c: New file.
21601 * gdb.base/reread2.c: New file.
21602
21603Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21604
21605 * config/sim.exp: Use 'target sim -sparclite' when running
21606 SPARClite programs.
21607
21608Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21609
21610 * gdb.base/structs2.exp: New file.
21611 * gdb.base/structs2.c: New file.
21612
21613Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21614
21615 * gdb.asm/common.inc: New file.
21616 * gdb.asm/d10v.inc: New file.
21617 * asm-source.exp: Pass -I's to gas to find .inc files.
21618 Update line numbers in expected output.
21619 * asmsrc1.s: Rewrite.
21620 * asmsrc2.s: Rewrite.
21621 * configure.in: Create arch.inc symlink.
21622 * configure: Regenerate.
21623 * Makefile.in (distclean): Delete arch.inc.
21624
21625Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21626
21627 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21628 (t_enum_value2): ditto
21629 (t_enum_value3): ditto
21630 (main): ditto
c906108c
SS
21631Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21632
21633 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21634 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21635 change.
21636 Use gdb_test instead of send_gdb/gdb_expect sequences.
21637
21638Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21639
21640 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21641 not void.
21642
21643Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21644
21645 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21646 subroutines. Used to test gdbs ability to single step through PC
21647 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21648
21649Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21650
21651 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21652 more rigorous EGCS C++ error checking.
21653
21654Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21655
a9c64011
AS
21656 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21657 tests.
21658 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21659 function when asleep.
21660 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21661 for i*86 Linux and SVR4 signal handling problems.
21662 Remove linux xfail for `next to handler in signals_tests_1', fixed
21663 by recent infrun.c change.
21664 Limit backtrace to 10 frames to avoid timeout problems with infinite
21665 stack backtraces.
21666 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21667 target.[ch] change.
c906108c
SS
21668
21669Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21670
21671 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21672 for a newline from gdb before continuing.
21673 (default_gdb_exit): Just look for y or n.
21674 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21675 it does, fail the rests of the tests in the file.
21676
21677Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21678
21679 * config/cygmon.exp: New file.
21680
21681Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21682
21683 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21684 main" test on remote targets.
c906108c
SS
21685
21686 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21687 run test on remote targets.
21688
21689Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21690
21691 * gdb.asm: New directory.
21692 * configure.in: Configure it.
21693 * configure: Regenerate.
21694 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21695 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21696
21697Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21698
21699 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21700
dc96c6c7 21701Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21702
a9c64011
AS
21703 * gdb.base/overlays (several files): Merge the two overlay
21704 managers into one. Change variables (foox, barx, bazx, grbxx)
21705 back into ints but force them to load in their proper sections.
c906108c
SS
21706
21707Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21708
21709 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21710 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21711 (D10VCopy): Handle memory regions crossing 16k boundaries.
21712 (D10VCopy): Transfer data in 32 bit chunks.
21713
21714Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21715
21716 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21717 correct.
c906108c
SS
21718
21719 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21720 map. Include space for printf in .text segment.
c906108c
SS
21721
21722 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21723 updated d10v memory VMA/LMA map.
c906108c 21724 (D10VCopy): Call D10VTranslate.
d63a86f8 21725
c906108c
SS
21726Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21727
21728 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21729
21730 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21731 that it won't be put into the .sdata - small data -
21732 section. Update reference.
c906108c
SS
21733 * gdb.base/baz.c (bazx, baz): Ditto.
21734 * gdb.base/foo.c (foox, foo): Ditto.
21735 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21736
21737 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21738 to be arrays.
d63a86f8 21739
dc96c6c7 21740Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21741
a9c64011
AS
21742 * gdb.base/overlays.exp: fix up and get working again.
21743 Add tests for backtraces from an overlay function.
d63a86f8 21744
c906108c
SS
21745Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21746
21747 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21748 "calling function with watchpoint enabled".
21749
21750Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21751
21752 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21753 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21754 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21755 pending review of whether it is useful or not.
21756
21757Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21758
21759 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21760
21761Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21762
21763 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21764 * config/dve.exp: New file to support Densan boards.
21765
21766Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21767
21768 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21769 reads and BSD.
c906108c
SS
21770
21771Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21772
21773 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21774 response.
21775
21776 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21777
21778Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21779
21780 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21781 test.
c906108c
SS
21782
21783 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21784 target_sizeof_long and target_bigendian_p.
c906108c 21785 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21786 to targets word size and endianess.
d63a86f8 21787
c906108c
SS
21788Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21789
21790 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21791 output.
c906108c
SS
21792
21793Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21794
21795 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21796 Update test of set args help to match source change.
c906108c
SS
21797
21798Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21799
21800 * gdb.base/default.exp: Expect help system output to be in
21801 alphabetical order.
21802 * gdb.base/help.exp: Ditto.
21803
21804Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21805
21806 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21807 "i*86-pc-linux-gnu*".
21808 * gdb.base/interrupt.exp: Ditto.
21809 * gdb.base/corefile.exp: Ditto.
21810
21811 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21812 define vxworks when building the testcase.
c906108c
SS
21813
21814 * gdb.base/ptype.exp: Fix testnames to be unique.
21815 * gdb.base/radix.exp: Ditto.
21816 * gdb.base/term.exp: Ditto.
21817 * gdb.base/whatis.exp: Ditto.
21818 * gdb.c++/classes.exp: Ditto.
21819
21820Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21821
21822 * gdb.base/callfuncs.exp: Fix indentation.
21823
21824 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21825 suppress_flag has been set.
21826 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21827 target feature.
21828
21829Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21830
21831 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21832 the testcase.
21833
21834 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21835 set_debug_traps() and breakpoint().
c906108c
SS
21836 * gdb.c++/misc.cc (main): Ditto.
21837 * gdb.c++/templates.cc (main): Ditto.
21838 * gdb.c++/virtfunc.cc (main): Ditto.
21839
21840Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21841
21842 * lib/gdb.exp(gdb_step_for_stub): New function.
21843 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21844 exists, reload the executable and do a "continue" instead of
21845 doing a jump.
21846 (runto_main): Use gdb_step_for_stub.
d63a86f8 21847
c906108c 21848 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21849 tests to have unique names.
c906108c
SS
21850 * gdb.base/callfuncs.exp: Ditto.
21851 * gdb.base/commands.exp: Ditto.
21852 * gdb.base/default.exp: Ditto.
21853 * gdb.base/help.exp: Ditto.
21854 * gdb.base/list.exp: Ditto.
21855 * gdb.base/opaque.exp: Ditto.
21856 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21857 similar tests.
d63a86f8 21858
c906108c
SS
21859 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21860 * gdb.c++/cplusfuncs.cc: Ditto.
21861 * gdb.c++/virtfunc.cc: Ditto.
21862
21863 * config/monitor.exp: Keep track of the last file we saw, rather
21864 than trying to get the info from gdb.
21865
21866 * gdb.fortran/types.exp: Move comment to previous line.
21867
21868Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21869
21870 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21871 target mode.
c906108c
SS
21872
21873Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21874
21875 From Bob Manson:
21876 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21877 string from GDB when it connects.
c906108c
SS
21878
21879 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21880
21881Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21882
21883 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21884 if we can't get a debug format from GDB (we may be testing an
21885 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21886
21887 * gdb.stabs/weird.exp: Fix quoting.
21888
21889 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21890
21891Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21892
21893 * config/arm-ice.exp: New file.
21894
21895Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21896
21897 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21898 until it has been modified to work with the new testsuite.
c906108c 21899
99707966 21900 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21901 testcase won't compile, cause all of the testcases in the file to
21902 fail instead.
c906108c
SS
21903
21904 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21905 (gdb_clear_suppressed): New procedure.
21906 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21907 it contains a positive value.
21908
21909Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21910
21911 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21912
21913 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21914
21915Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21916
21917 * lib/gdb.exp (setup_xfail_format): New function.
21918 (get_debug_format): New function to get debug format.
21919 (debug_format): New global variable to hold last value set
21920 by get_debug_format.
21921 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21922 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21923 * gdb.c++/ptype.exp: Ditto.
21924 * gdb.c++/classes.exp: Ditto.
21925 * gdb.c++/cplusfuncs.exp: Ditto.
21926 * gdb.c++/inherit.exp: Ditto.
21927 * gdb.c++/templates.exp: Ditto.
21928 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21929
c906108c
SS
21930Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21931
21932 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21933 host doesn't have a currently-open connection.
21934
21935 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21936 any gdb stub target. Handle cases where gdb doesn't respond when
21937 interrupted in a sane fashion.
c906108c
SS
21938
21939 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21940 same thing in a totally different way.
c906108c
SS
21941
21942 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21943 setting "timeout".
c906108c 21944 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21945 default_gdb_init now.
c906108c
SS
21946
21947Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21948
21949 * gdb.base/printcmds.exp: Fix "check for floating addition"
21950 regexp to accept results within approx +/- .01 of exact value.
21951 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21952
21953Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21954
21955 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21956 properly.
c906108c
SS
21957 (gdb_expect): Add optional timeout parameter, and add timeout
21958 value to various calls.
21959 (gdb_suppress_tests): Only give one warning message per group.
21960
21961Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21962
21963 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21964 global variables. Handle getting a value for $timeout more
21965 gracefully.
c906108c
SS
21966
21967Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21968
21969 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21970 initialize.
c906108c 21971 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21972 by a target configuration file.
c906108c
SS
21973 (gdb_expect): Pass the timeout to remote_expect.
21974
21975 * config/monitor.exp(gdb_load): Fix typo in regexp.
21976
21977Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21978
21979 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21980
21981Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21982
21983 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21984 here. Call gdb_target_exec before rebooting the target, to make
21985 sure the connection to the target is closed.
c906108c
SS
21986 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21987 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21988 Also detect "Timeout reading from remote" error.
21989
21990 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21991 gdb_target_monitor. Don't call gdb_file_cmd here; let
21992 gdb_target_monitor do it.
c906108c
SS
21993
21994 * gdb.disasm/hppa.exp: Don't use exec_output.
21995
21996Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21997
21998 * gdb.base/list.exp: If we're debugging a non-native target,
21999 try to set the pc register to point to the start of the
22000 program before doing the first list command.
22001
22002 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22003 test_calls after restarting.
c906108c
SS
22004
22005 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22006 reloading.
c906108c
SS
22007
22008 * gdb.base/watchpoint.exp: Fix typo.
22009
22010 * gdb.base/setshow.exp: Check for use_gdb_stub.
22011
22012 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22013 stub case.
c906108c
SS
22014 * gdb.base/langs.exp: Ditto.
22015
22016 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22017 gdb_load_offset. If we weren't given a file to load, figure out
22018 what the current file is and use it.
c906108c
SS
22019
22020 * config/i386-bozo.exp: New file.
22021
22022Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22023
22024 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22025 feature.
22026
22027 * config/proelf.exp: New entry.
22028
22029Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22030
22031 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22032 of regexps.
22033
22034 * gdb.base/watchpoint.exp: Don't run the test_stepping
22035 tests if gdb can't call functions on the target.
22036
22037 * gdb.base/setshow.exp: Don't run the set prompt tests if
22038 the board has gdb_prompt set.
22039
22040Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22041
22042 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22043 * gdb.base/commands.exp: Likewise.
22044 * gdb.base/setshow.exp: Likewise.
22045
22046Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22047
22048 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22049 feature.
22050
22051 * config/i960.exp: New file.
22052
22053Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22054
22055 * gdb.base/funcargs.exp: Check for gdb,short_int target
22056 feature instead of looking for explicit target triplets.
22057
dc96c6c7 22058Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22059
d63a86f8 22060 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22061 "p 123DEADBEEF", to check parse_number.
22062 * top.c: change "to enable to enable" to "to enable" in a couple
22063 of help strings.
22064
22065Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22066
22067 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22068 on the mn10300.
d63a86f8 22069
c906108c
SS
22070Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22071
22072 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22073 where the test executable is run with explicit args.
22074 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22075
22076Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22077
22078 * gdb.base/run.c: Use FAKEARGV to build test executable that
22079 does not require a command line arg, since most simulators
22080 don't currently support passing such an arg into the simulated
22081 program.
22082 * gdb.base/commands.exp: Change tests to insert the proper
22083 value as the arg to the first recursive factorial call. Change
22084 compilation line to define FAKEARGV at compile time.
22085
22086Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22087
22088 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22089 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22090 function with watchpoint enabled" test.
22091
22092Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22093
22094 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22095 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22096
22097 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22098 "Tests restarted" messages.
c906108c
SS
22099
22100Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22101
22102 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22103
dc96c6c7 22104Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22105
22106 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22107 for INFO SYMBOL; add help tests for OVERLAY commands.
22108 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22109 add tests for OVERLAY commands
22110 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22111 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22112 * gdb.base/sigall.c: add usestubs code frag
22113 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22114
c906108c
SS
22115Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22116
22117 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22118 failures.
22119 (gdb_stop_suppressing_tests): Note that tests have restarted.
22120
22121Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22122
22123 * config/h8300.exp: New file.
22124
22125Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22126
22127 * gdb.base/setshow.exp: Check for the existence of a
22128 feature, not its value.
22129
22130Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22131
22132 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22133
22134 * gdb.base/scope.exp: It's now init0(), not init().
22135
22136 * gdb.base/scope0.c: For now, change init() to be init0().
22137
22138 * config/monitor.exp: Use gdb_serial in preference to serial
22139 or netport.
22140
22141 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22142 and it's not already set.
c906108c
SS
22143
22144Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22145
22146 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22147 isn't using a stub and if it supports argument passing.
c906108c
SS
22148
22149Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22150
22151 * config/udi.exp(gdb_start): Make sure UDICONF is set
22152 properly before starting gdb.
22153
22154Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22155
22156 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22157 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22158 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22159
22160Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22161
22162 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22163 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22164
22165 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22166
22167 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22168
22169 * config/monitor.exp: Make sure we disconnect from the target.
22170 Also, try a reboot/reload cycle instead of failing if the
22171 load fails.
22172
22173Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22174
22175 * gdb.base/default.exp: Don't set match_max.
22176 * gdb.base/help.exp: Ditto.
22177 * gdb.base/list.exp: Ditto.
22178 * gdb.base/signals.exp: Ditto.
22179
22180 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22181 set, use remote_ld to download the testcase instead of
22182 the GDB loader.
22183
22184Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22185
22186 * config/vr5000.exp: New file.
22187
22188 * config/monitor.exp(gdb_target_monitor): Add pattern for
22189 "Ending remote" to detect errors in connecting.
22190
22191 * gdb.base/setshow.exp: Add .* within auto language test.
22192
22193 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22194 target feature.
22195
22196 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22197 and reboot the board if necessary.
c906108c
SS
22198
22199 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22200 a set of tests. Remove print.* from the patterns being checked.
22201
22202Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22203
22204 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22205 refer to gdb_spawn_id.
22206
22207 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22208 longer used.
22209 * config/sparclet.exp: Ditto.
22210 * config/sparclet-old.exp: Ditto.
22211 * config/slite.exp: Ditto.
22212 * config/sim.exp: Ditto.
22213 * gdb.base/funcargs.exp: Ditto.
22214
22215 * lib/gdb.exp:Remove references to gdb_spawn_id.
22216 (gdb_expect): Move to remote.exp.
22217
22218Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22219
22220 * config/monitor.exp: Detect the "Couldn't establish connection"
22221 message from GDB.
22222
22223Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22224
22225 * gdb.base/bitfields.exp: Use runto instead of explicit
22226 gdb_run_cmd/gdb_expect sequences.
22227
22228 * gdb.base/break.exp(text_next_with_recursion): Add match for
22229 gdb_expect call.
22230
22231 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22232 We also need to handle the "A program is being debugged already"
22233 prompt from gdb. Use gdb_test to set the baud rate.
22234
22235 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22236 to 20000. Really. I mean it.
22237
22238Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22239
22240 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22241 fails. If suppress_flag is set, skip perror message about not
22242 being able to send to GDB.
c906108c 22243 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22244 GDB.
c906108c
SS
22245 (gdb_expect): If suppress_flag is set, always fail immediately.
22246 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22247 (gdb_init): Call gdb_stop_suppressing_tests.
22248 (default_gdb_exit): Ditto.
22249 (default_gdb_start): Ditto.
22250
22251 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22252 gdb_stop_suppressing_tests as appropriate.
c906108c 22253 * gdb.base/break.exp: Ditto.
889bf7c5 22254 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22255 * gdb.base/commands.exp: Ditto.
22256 * gdb.base/exprs.exp: Ditto.
889bf7c5 22257 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22258 * gdb.base/list.exp: Ditto.
22259 * gdb.base/recurse.exp: Ditto.
889bf7c5 22260 * gdb.base/scope.exp: Ditto.
c906108c
SS
22261 * gdb.base/structs.exp: Ditto.
22262 * gdb.c++/inherit.exp: Ditto.
22263
22264Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22265
22266 * config/vr4300.exp: New file.
22267
99707966 22268 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22269
99707966 22270 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22271
22272Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22273
22274 * lib/gdb.exp(gdb_init): New function.
22275
22276 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22277 for each individual variable set.
c906108c
SS
22278
22279 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22280 name.
22281
22282 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22283
22284 * gdb.base/scope.exp: Use gdb_test.
22285
22286 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22287 aborting; the testsuite driver will do that for us (see
22288 gdb_finish). Also, use gdb_test in a few more places.
22289
22290Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22291
22292 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22293
22294Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22295
22296 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22297 and "add_tests" are not at the same address.
22298
22299Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22300
22301 * gdb.base/ptype.exp: Use gdb_test.
22302
22303Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22304
22305 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22306 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22307 left in. No longer expect them to fail.
22308
22309 * gdb.stabs/*.mt; Deleted, no longer used.
22310 * gdb.stabs/configure.in: Remove references to target makefile
22311 frags.
22312 * gdb.stabs/configure: Rebuilt.
22313
22314 * gdb.disasm/*.mt: Deleted, no longer used.
22315 * gdb.disasm/configure.in: Remove references to target makefile
22316 frags. Use "sh3.s" as the unique filename for this directory.
22317 * gdb.disasm/configure: Rebuilt.
22318
22319 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22320 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22321 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22322
22323Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22324
22325 * config/udi.exp: Use mondfe,name instead of remote_host.
22326
22327Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22328
22329 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22330 a function with a watchpoint enabled on the mn10200.
22331
22332 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22333 before trying to create it!
22334
22335Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22336
22337 * config/vx.exp: Use hostname instead of netport.
22338
22339 * config/vxworks.exp: New file.
22340
22341 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22342
22343 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22344 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22345 occurs.
22346
22347 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22348 $gdb_spawn_id directly.
22349 (gdb_run_cmd): Try _start as well as start. Use the target feature
22350 gdb,start_symbol as the symbol to start from when jumping.
22351
22352Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22353
22354 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22355 redundant) test.
22356
22357 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22358 it doesn't lose for 16bit integer systems.
22359
22360Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22361
22362 * gdb.fortran/types.exp: If the target doesn't support "double"
22363 data types, then expect "real" types to only be 4 bytes.
22364
22365 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22366 call tests if the target doesn't support inferior function calls.
22367
22368 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22369 in printf tests.
22370
22371Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22372
22373 * gdb.base/help.exp: Disable "help set", "help show", and
22374 "help support". Simplify regexp for "help stack".
22375
22376 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22377 to 60 seconds. Temporarily set match_max to 15000 around the
22378 "info copying" test.
22379
22380 * gdb.base/nodebug.exp: Don't try to do an inferior function
22381 call if the target doesn't support them.
22382 * gdb.base/printcmds.exp: Likewise.
22383 * gdb.base/setvar.exp: Likewise.
22384 * gdb.base/structs.exp: Likewise.
22385 * gdb.c++/templates.exp: Likewise.
22386 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22387
22388 * gdb.base/recurse.exp: Enable for the mn10200.
22389
22390 * configure.in: Do configure gdb.stabs directory for *-*-elf
22391 targets.
22392 * configure: Rebuilt.
22393
22394 * gdb.base/break.exp: Check for gdb,noresults before testing
22395 exit status and/or results from the target.
22396 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22397 * lib/gdb.exp: Remove old (now bogus) initialization of
22398 noinferior, noargs, noresults and nosignals.
22399
22400Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22401
22402 * config/sh.exp: New file.
22403
22404 * config/slite.exp: Try to connect multiple times to the board
22405 before rebooting. Only send a "monitor run" if need_monitor_run
22406 is set.
22407
22408 * gdb.base/break.exp: Don't do the "stub continue" test if
22409 the target has gdb_stub set.
22410
22411 * gdb.base/callfuncs.exp: Increase the timeout.
22412
22413 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22414 if the target has gdb,noinferiorio set.
22415
22416 * gdb.base/list.exp: Increase match_max to 10000 characters.
22417
22418 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22419
22420 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22421 target.
22422
22423 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22424
22425Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22426
22427 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22428 trying to delete the copy of gdb. Catch the file delete so we
22429 don't die if the delete fails; also, the file should be copied to
22430 the host, not to the build.
c906108c
SS
22431
22432Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22433
22434 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22435 parenthesis in case it contains multiple regexps separated
c906108c
SS
22436 with |.
22437
22438 * gdb.base/watchpoint.exp: Use gdb_test.
22439 * gdb.base/default.exp: Ditto.
22440
22441Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22442
99707966 22443 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22444
c906108c
SS
22445 * gdb.base/scope.exp: Use gdb_test.
22446 * gdb.c++/classes.exp: Ditto.
22447 * gdb.c++/inherit.exp: Ditto.
22448
22449Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22450
22451 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22452 remote_exec instead.
22453 * gdb.base/corefile.exp: Don't be ridiculous.
22454 * gdb.base/*.c: Add missing stub invocations.
22455
22456Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22457
22458 * config/slite.exp: Miscellaneous fixes.
22459
22460 * lib/gdb.exp: Fix runto.
22461
22462 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22463 the target.
22464
22465 * gdb.base/watchpoint.exp: Fix regexp.
22466
22467 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22468 close and wait commands, as the descriptor may now be
22469 invalid. Always call "remote_close host".
22470
22471Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22472
22473 Major rewrite for testsuite revision.
d63a86f8 22474
c906108c
SS
22475 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22476 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22477 instead of relying on spawn_id to always contain a valid
22478 spawn id.
22479 (get_compiler_info): New procedure to build the ${binfile}.ci
22480 file, instead of replicating this in N different places.
22481 (gdb_compile): New procedure.
d63a86f8 22482
c906108c 22483 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22484 appropriate arguments) instead of compile. Use gdb_test in a lot
22485 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22486 at the start of a testcase, as this is no longer done magically.
22487
22488 config/*-gdb.exp: Rename without the -gdb suffix.
22489
22490 config/mips.exp: Use remote_close instead of exit_remote_shell.
22491 config/monitor.exp: Use target_info instead of looking at
22492 baud, timeout, etc.
22493 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22494
22495Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22496
22497 * gdb.c++/templates.exp (test_ptype_of_templates),
22498 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22499 Update expect patterns for destructors and assignment operators
22500 to match corresponding c-typeprint.c changes.
22501 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22502 to destructor breakpoint test, GDB should be able to set the
22503 destructor breakpoint without specifying arguments.
22504
22505Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22506
22507 * gdb.threads/pthreads.exp: Change result for failure to compile due
22508 to lack of pthreads runtime support from an error to simply an
22509 unsupported test, per dejagnu standards.
22510
22511Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22512
22513 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22514 where GDB exits to reduce pattern match time.
22515 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22516
22517 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22518
dc96c6c7 22519Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22520
22521 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22522 * gdb.base/default.exp: ditto.
22523 * gdb.base/nodebug.exp: ditto.
22524 * gdb.base/printcmds.exp: ditto.
22525 * gdb.base/ptype.exp: ditto.
22526 * gdb.base/setvar.exp: ditto.
22527 * gdb.base/structs.exp: ditto.
22528 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22529
22530Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22531
22532 * configure, */configure: Rebuild with autoconf 2.12.
22533
22534Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22535
22536 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22537 use new i*86-pc-linux*-gnu quads.
22538 * gdb.base/corefile.exp: Ditto.
22539 * gdb.base/signals.exp: Ditto.
22540 * gdb.base/sigall.exp: Ditto.
22541 * gdb.base/interrupt.exp: Ditto.
22542
22543 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22544 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22545 RedHat 4.0.
d63a86f8 22546
c906108c 22547 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22548 linux. This allows the test case to at least compile on latest
22549 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22550
22551Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22552
22553 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22554 directory to search gdb directory. Accept and step over conditional
22555 stack alignment code. Consume $prompt in failure cases.
22556 Reset timeout to $oldtimeout instead of some arbitrary value.
22557 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22558 timeout problems with infinite stack backtraces.
22559 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22560 Accept function parameters for linkfunc member.
22561
22562Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22563
22564 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22565 (CXXFLAGS): Remove, unreferenced.
22566 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22567 previous -B options and also add -B option to pick up cross compiled
22568 runtime.
c906108c
SS
22569 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22570 doing cross compiles.
22571 (target_alias): Declare global.
22572 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22573 to verify that gcc exists in build tree, and if so set CC to that
22574 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22575
c906108c
SS
22576Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22577
22578 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22579 ptype test for anonymous union. Fixup testcase to match
22580 current gcc debug output.
22581
22582Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22583
22584 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22585 force argument to an unsigned long type.
22586
22587Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22588
22589 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22590 tests and anonymous union print/ptype tests.
c906108c
SS
22591 * gdb.base/list.exp (test_forward-search): Increase timeout by
22592 5 minutes for the "search extremely long line" case.
22593 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22594 completely optional and that the pass/fail messages use the command as
22595 the message if that third arg is a null string.
22596 (gdb_test_exact): Arrange that a null string pattern means match a
22597 null string output rather than any output, which might include random
889bf7c5 22598 errors.
c906108c
SS
22599 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22600 backtrace test.
22601 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22602 always failing and failure is now exposed by gdb.exp changes.
22603
22604Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22605
22606 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22607 weren't being noted.
22608
22609Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22610
22611 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22612 * gdb.stabs/weird.exp: Remove v_comb xfails.
22613
dc96c6c7 22614Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22615
22616 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22617 list.exp scope.exp watchpoint.exp]
c906108c 22618 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22619
dc96c6c7 22620Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22621
22622 * config/monitor.exp: Increase download timeout to 1000 seconds.
22623
dc96c6c7 22624Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22625
22626 * config/m32r.exp: Increase timeout to 120 seconds.
22627
22628Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22629
22630 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22631 and accept older ordering as obsolescent gcc or gdb.
22632 * gdb.c++/templates.exp: Ditto.
22633 * gdb.c++/virtfunc.exp: Ditto.
22634
22635Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22636
22637 * gdb.base/coremaker.c: Add code to mmap some data so we
22638 can check that it ends up in the core file.
22639 * gdb.base/corefile.exp: Add test to read mmapped data
22640 from core file.
22641
dc96c6c7 22642Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22643
22644 * config/m32r.exp: New file.
22645
22646Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22647
22648 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22649 that cflags can contains -gstabs, and work correctly for other tests.
22650
dc96c6c7 22651Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22652
22653 * gdb.base/setshow.exp: New file, tests show and set.
22654 * gdb.base/setshow.c: New file, tests show and set.
22655 * gdb.base/help.exp: Add test for help set|show annotate.
22656 * gdb.base/default.exp: Add test for set|show annotate.
22657
22658Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22659
22660 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22661 errors unique.
22662 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22663 explicitly.
22664
22665Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22666
22667 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22668 and width commands. This is done elsewhere.
22669 * (gdb_start): Don't call gdb_start_sim here. That's already
22670 done in gdb_load. This fixes lots of failures in default.exp.
22671
22672Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22673
22674 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22675 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22676 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22677 in the same we we treat other failures (since it may be an expected
889bf7c5 22678 condition), rather than as an error.
c906108c
SS
22679 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22680 old test format.
22681
22682Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22683
22684 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22685 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22686 twice. Nuke the duplicates.
c906108c 22687 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22688 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22689 Remove config.h along with other config files.
22690
22691Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22692
22693 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22694 "p func1 ()" and note that rests of tests are skipped.
22695 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22696 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22697 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22698 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22699 affected by the previous run test.
22700 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22701 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22702 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22703 "pass int powerset tuple" and "pass modeless int powerset tuple".
22704 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22705 "real write 4" and "real write 8".
22706 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22707 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22708 "print \$i after tuple assign 2", and
22709 "print vs2 after tuple assign 2".
22710 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22711 meaningful error message and return -1 so the caller can
22712 suppress further tests and avoid a cascade of errors.
d63a86f8 22713
c906108c
SS
22714Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22715
22716 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22717 format for printing version.
22718 * gdb.base/default.exp: Ditto.
22719 * gdb.base/interrupt.exp: Fix problem with cascade of
22720 errors if child process dies while calling a function.
d63a86f8 22721
c906108c
SS
22722Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22723
22724 * Makefile.in (VPATH): Add
22725 * Makefile.in (Makefile, config.status): Fix rules so things get
22726 remade when necessary.
22727
22728Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22729
22730 * Makefile.in (just-check): Add path to sibling expect dir
22731 to environment variable specified by RPATH_ENVVAR.
22732
22733Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22734
22735 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22736 (just-check): Add shared library paths for libstdc++, tk,
22737 tcl, bfd, and opcodes to the environment variable specified
22738 in RPATH_ENVVAR.
22739 * configure.in: Add support to recognize --enable-shared flag
22740 and generate correct value for RPATH_ENVVAR.
22741 * configure: Regenerated with autoconf.
22742
22743Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22744
22745 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22746 include all osf versions.
c906108c
SS
22747 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22748 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22749 when target is linux. When failing to build pthreads test
22750 executable, give more meaningful message.
22751 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22752 arg for pthread_create.
d63a86f8 22753
c906108c
SS
22754Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22755
22756 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22757 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22758 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22759 and -lpthreads (everybody else).
c906108c
SS
22760 (test_startup): Fail gracefully if threads are not supported.
22761 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22762 "p/c array_index("abcdef",2)" when not gcc compiled.
22763 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22764 "print func2::coremaker_local" when not gcc compiled.
22765 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22766 "ptype on opaque struct tagname (statically)",
22767 "ptype on opaque struct tagname (dynamically) 1", and
22768 "ptype on opaque struct tagname (dynamically) 2"
22769 for not compiled with gcc.
22770 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22771 backtrace when compiled with gcc.
d63a86f8 22772 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22773 than always return success.
22774
22775Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22776
22777 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22778
22779Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22780
22781 * gdb.base/structs.exp: Undo last change.
22782
22783Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22784
22785 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22786 encapsulate all the steps/nexts done during self test, starting
22787 at main, and makes them less sensitive to optimization issues.
22788 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22789 signal handler" test.
22790 * gdb.threads/pthreads.exp: Only run this for native configs.
22791 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22792 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22793 tests.
22794 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22795 for "runto test_calls(void)" test.
d63a86f8 22796
c906108c
SS
22797Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22798
22799 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22800 and don't expect address info in breakpoint confirmations.
22801
22802Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22803
22804 * gdb.base/list.exp (test_forward_search): Increase timeout
22805 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22806 and then reset to old value when done. Increase expect input
c906108c
SS
22807 buffer to 10000.
22808
22809Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22810
22811 * gdb.base/list.exp (test_forward_search): Fix to handle very
22812 long source line without overflowing expect's input buffer.
22813
22814Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22815
22816 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22817 "buffer_full".
22818
22819 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22820 "buffer_full".
22821
22822 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22823 "buffer_full".
22824
22825 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22826 "buffer_full".
22827
22828Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22829
22830 * configure.in (configdirs): Add gdb.threads.
22831 * configure: Regenerated with autoconf.
22832 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22833 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22834 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22835
c906108c
SS
22836Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22837
22838 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22839
22840Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22841
22842 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22843 each signal's status in the output of "handle all print".
22844 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22845 the \r\n sequence that immediately precedes the gdb prompt.
22846 * gdb.base/a1-selftest.exp: Save original timeout and restore
22847 after test.
22848
22849Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22850
22851 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22852 symbol.
22853
22854Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22855
22856 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22857
22858Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22859
22860 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22861 timeout by 60 seconds.
22862
22863Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22864
22865 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22866 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22867 error return.
22868
22869Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22870
22871 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22872 gdb initialization, also report how long dejagnu waited. Restore
22873 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22874 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22875
22876Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22877
22878 * lib/gdb.exp: Report timeout value for verbosity level 2.
22879 * config/gdbserver.exp: Ditto.
22880 * config/hppro.exp: Ditto.
22881 * config/mips-gdb.exp: Ditto.
22882 * config/monitor.exp: Ditto.
22883 * config/netware.exp: Ditto.
22884 * config/sim-gdb.exp: Ditto.
22885 * config/slite-gdb.exp: Ditto.
22886 * config/udi-gdb.exp: Ditto.
22887 * config/unix-gdb.exp: Ditto.
22888 * config/vx-gdb.exp: Ditto.
22889 * gdb.base/a1-selftest.exp: Ditto.
22890 * gdb.base/a2-run.exp: Ditto.
22891 * gdb.base/break.exp: Ditto.
22892 * gdb.base/corefile.exp: Ditto.
22893 * gdb.base/list.exp: Ditto.
22894 * gdb.base/recurse.exp: Ditto.
22895 * gdb.base/scope.exp: Ditto.
22896 * gdb.base/signals.exp: Ditto.
22897
22898Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22899
22900 * gdb.threads/Makefile.in (docdir): Removed.
22901
22902Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22903
22904 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22905 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22906 @srcdir@.
d63a86f8 22907 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22908 autoconf 2.5 or higher.
22909 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22910
22911Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22912
22913 * configure: Regenerated.
22914 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22915 avoid name clashes with SunOS headers.
22916
22917Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22918
22919 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22920
22921Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22922
22923 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22924 prototype information ends up in the compiler info file.
22925
22926Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22927
22928 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22929 attempting to regenerate it. Eliminate use of a temporary file
22930 and just generate the info file directly. Source it immediately,
22931 for consistency of use.
22932 * gdb.base/corefile.exp: Ditto
22933 * gdb.base/exprs.exp: Ditto.
22934 * gdb.base/funcargs.exp: Ditto.
22935 * gdb.base/langs.exp: Ditto.
22936 * gdb.base/list.exp: Ditto.
22937 * gdb.base/mips_pro.exp: Ditto.
22938 * gdb.base/nodebug.exp: Ditto.
22939 * gdb.base/opaque.exp: Ditto.
22940 * gdb.base/ptype.exp: Ditto.
22941 * gdb.base/scope.exp: Ditto.
22942 * gdb.base/setvar.exp: Ditto.
22943 * gdb.base/signals.exp: Ditto.
22944 * gdb.base/whatis.exp: Ditto.
22945 * gdb.c++/templates.exp: Ditto.
22946 * gdb.c++/virtfunc.exp: Ditto.
22947 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22948 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22949
22950Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22951
22952 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22953 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22954 Increase timeout, a lot of single stepping might be needed if the
22955 target has no hardware watchpoints.
22956
22957Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22958
22959 * gdb.base/break.exp: Ignore compiler warnings when compiling
22960 break.c.
22961 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22962 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22963 from remote-sim.
22964 * gdb.base/exprs.exp: Add h8300 xfails.
22965 * gdb.base/funcargs.exp: Likewise.
22966 * gdb.base/nodebug.exp: Likewise.
22967 * gdb.base/printcmds.exp: Likewise.
22968 * gdb.base/ptype.exp: Likewise.
22969 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22970 h8300 xfails.
d63a86f8 22971 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22972 on the h8300.
22973 * gdb.base/funcargs.c: Explicitly make last constant argument to
22974 call_after_alloca_subr an unsigned long type.
22975 * gdb.base/return.c: Include stdio.h.
22976
22977Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22978
22979 * config/abug.exp: New file for the older Motorola Bug monitor
22980 that runs on the mvme13x series VME boards.
22981 * config/monitor.exp: Use the new config array for target settings
22982 if they exist.
22983
22984Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22985
22986 * sim-gdb.exp: Make the SH simulator allocate less space when
22987 it is targeted.
22988
22989Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22990
22991 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22992 test.
22993
22994Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22995
22996 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22997 "rs6000-*-*" for "list function in include file" when gcc compiled.
22998 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22999 for "p ctable1[120]".
23000 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23001 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23002 Remove setup_xfail for "rs6000-*-*" for
23003 "print 'scope0.c'::filelocal before run".
23004 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23005 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23006 since some compilers don't allow both options to be given
23007 on the same command line. Create object file and move it.
d63a86f8 23008
c906108c
SS
23009Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23010
23011 * gdb.base/corefile.exp: Always regenerate the core file, since
23012 we always regenerate the coremaker program. Detect special case
23013 where registers cannot be read from core file.
d63a86f8 23014
c906108c
SS
23015Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23016
23017 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23018 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23019 * gdb.c++/templates.exp: Only match on basename of file since
23020 some formats like xcoff don't encode directory information.
23021 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23022 and rs6000 AIX xcoff targets.
23023 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23024 * configure: Regenerate.
23025 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23026 here, rather than in distclean.
d63a86f8 23027
c906108c
SS
23028Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23029
23030 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23031 defined, and use it to compile the test case with -O2. The
23032 native compilation still uses no optimization.
23033 * gdb.base/mips_pro.c: Remove inline assembly code since
23034 it is compiled PIC by default, which results in assembler
23035 warnings that make the testsuite think the compilation
23036 was unsuccessful.
23037
23038Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23039
23040 * gdb.c++/misc.exp: Add note to message for
23041 "print s.a for foo struct" that this is a known gcc 2.7.2
23042 and earlier bug.
23043
23044Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23045
23046 * gdb.base/break.exp: Fix pattern for matching "Delete all
23047 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23048 setup_xfail for deleting all breakpoints test. Fix various
23049 timeout messages to include "(timeout)".
23050 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23051 for "p t_float_values2(3.14159,float_val2)".
23052 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23053 for "continue to call2g" when gcc compiled.
23054 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23055 "up to foo in langs.exp", "show language at foo in langs.exp",
23056 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23057 and "show language at fsub in langs.exp".
23058 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23059 "list line 1 in include file", "list message for lines past EOF",
23060 "list function in include file", "list list0.h:foo", and
23061 "list filename:function; nonexistant function".
23062 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23063 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23064 and "ptype t_char_array" to be for native cc only.
d63a86f8 23065
c906108c
SS
23066Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23067
d63a86f8 23068 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23069 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23070 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23071
23072Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23073
23074 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23075 "bt in signals.exp". This problem only appears when running
23076 the testsuite, and then only intermittently.
23077
23078Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23079
23080 * gdb.base/return.exp (return_tests): Differentiate between
23081 two tests of continuing.
23082
23083Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23084
23085 * */Makefile.in (maintainer-clean): Remove config.log.
23086 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23087 * gdb.c++/Makefile.in (PROGS): Add inherit.
23088 (clean): Remove *.ci.
23089
23090Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23091
23092 * gdb.c++/misc.cc: Add test code from Mike Stump.
23093 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23094
23095Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23096
23097 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23098 to "alpha-*-osf2*" and add comment.
23099 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23100 setup_xfail for "step over execarg initialization" and
23101 "step over corearg initialization".
c906108c
SS
23102 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23103 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23104 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23105 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23106 "print func2::coremaker_local", and "backtrace in corefile.exp".
23107 * gdb.base/signals.exp: Build and source signals.ci.
23108 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23109 to be for gcc only.
23110 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23111
c906108c
SS
23112Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23113
23114 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23115 Feb 3 procfs.c change.
23116
23117Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23118
23119 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23120
23121Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23122
23123 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23124 from dejagnu's apparent default of 10 seconds, which gives random
23125 results when running the tests over NFS on moderately loaded systems.
23126 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23127
23128Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23129
23130 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23131 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23132 result reports.
c906108c
SS
23133
23134Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23135
23136 * configure.in (CY_AC_PATH_TCLH): Remove.
23137 * configure: Regenerate.
23138
23139Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23140
23141 * gdb.c++/Makefile.in (clean): Add missing '{'.
23142
23143Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23144
23145 * lib/gdb.exp: Provide a default value for noinferior.
23146
23147 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23148 Load libgloss.exp.
23149
23150Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23151
23152 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23153 the executable, not the .o to run the tests from.
23154
23155Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23156
23157 * gdb.base/break.exp: Don't test for program exit or exit status
23158 if $noresults if nonzero.
23159 * gdb.base/langs.exp: Likewise.
23160 * gdb.base/watchpoint.exp: Likewise.
23161
23162 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23163 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23164 trying to compile the testcase.
23165
23166Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23167
23168 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23169 * gdb.base/signals.exp (continue to handler): Likewise.
23170
23171Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23172
23173 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23174
23175 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23176
23177Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23178
23179 * gdb.base/corefile.exp: Recognize "not found" as failure
23180 when trying to determine if a core file was generated.
23181 If no core file was generate the first time, try again without
23182 the ulimit -c to work around braindamaged shells.
23183
23184Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23185
23186 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23187 [] tests with "test" and enclose string in quotes.
23188 * gdb.stabs/configure: Rebuild
d63a86f8 23189
c906108c
SS
23190Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23191
23192 Changes in sync with expect:
23193 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23194 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23195 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23196 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23197 argument to AC_REQUIRE.
23198 * configure: Regenerated.
23199
23200Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23201
23202 * gdb.base/corefile.exp: When generating a core, discard any
23203 error messages about ulimit not found and the "core dumped"
23204 message from the shell that runs the coredumper.
23205
23206Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23207
23208 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23209
23210 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23211 which sed script to run. Expect failure for v_comb test
23212 on PA targets too.
d63a86f8 23213
c906108c
SS
23214Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23215
23216 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23217 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23218
23219Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23220
23221 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23222 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23223 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23224 * lib/gdb.exp (default_gdb_start): Fix typo.
23225 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23226 messages to not include the full program name that caused
23227 the core dump since some systems (such as solaris) apparently
23228 truncate this path to about 80 characters.
23229 When generating a core file first try increasing the core file
23230 size limit to unlimited since some systems may default it to
23231 zero, and it is harmless to try it. Move the test for failing
23232 to generate a core file to where it will actually get executed.
23233 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23234 new gdb result from g++ debug info improvements and make old
23235 pattern obsolescent. Also account for size_t differences
23236 (may be int or long).
23237 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23238 initialization before function call is placed in the delay slot
23239 and thus appears to be skipped over by commands such as "next".
23240
23241Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23242
23243 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23244
23245Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23246
23247 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23248 input source file; fix code to compile test to deal with this
23249 convention.
23250 * gdb.c++/*.exp: Likewise.
23251
23252Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23253
23254 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23255 "bt in signals.exp".
23256
23257Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23258
23259 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23260 "step over execarg initialization" and
889bf7c5 23261 "step over corearg initialization".
c906108c
SS
23262
23263Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23264
23265 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23266 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23267
23268Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23269
23270 From Rob Savoye (rob@poseidon.cygnus.com)
23271 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23272 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23273 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23274 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23275 configure.in}: Major reworking for autoconfig.
c906108c
SS
23276 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23277 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23278 New files.
c906108c
SS
23279 * config/unix-gdb.exp: Make GDB global.
23280 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23281 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23282 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23283 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23284 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23285 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23286 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23287 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23288 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23289 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23290 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23291 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23292 to returns as necessary, arrange for test to compile own testcase
23293 executable.
c906108c 23294 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23295
c906108c
SS
23296Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23297
23298 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23299 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23300 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23301 "backtrace through signal handler".
23302
23303Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23304
23305 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23306 continuing from a job control stop signal.
23307 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23308
23309Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23310
23311 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23312 * gdb.base/corefile.exp: Likewise.
23313 * gdb.base/funcargs.exp: Likewise.
23314
23315Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23316
23317 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23318 * config/monitor.exp: Add support for setting baud rate.
23319
23320Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23321
23322 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23323 i*86-*-linux* xfails for "backtrace through signal handler".
23324 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23325 "print func2::coremaker_local".
23326 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23327 alpha-dec-osf2* xfail for
c906108c
SS
23328 "delete all breakpoints when none".
23329
23330Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23331
23332 * gdb.base/break.exp: Change test that deletes all breakpoints
23333 when no user breakpoints are installed. A post 4.15 change
23334 causes gdb to no longer prompt in this case.
23335
23336Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23337
23338 * gdb.base/return.exp (return_tests): Change xfail for test
23339 "correct value returned double test" to stop xfailing at
23340 Solaris 2.5. Apparently the bug has been fixed.
23341
23342Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23343
23344 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23345 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23346
23347Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23348
23349 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23350 * gdb.disasm/hppa.s: Corresponding changes.
23351
23352Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23353
23354 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23355 makefile fragment.
23356 * config/mt-hpux: Deleted.
23357
23358Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23359
d63a86f8 23360 * Many files: When warning about suppressed tests due to a
c906108c
SS
23361 nonexistant test binary, avoid incrementing the warning count.
23362
23363Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23364
23365 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23366
c906108c
SS
23367Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23368
23369 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23370 "sparc-*-solaris2*".
23371
23372Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23373
23374 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23375 Add global and local variables and initialize them.
23376 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23377 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23378 extracts the file name and terminating signal from the core file.
23379 * TODO: Remove note about tests for correct mapping of corefile.
23380 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23381 from optimizing it away.
23382 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23383 handles common blocks.
23384
23385Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23386
23387 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23388 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23389
23390Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23391
23392 * Makefile.in (maintainer-clean): New target, synonym for
23393 realclean.
23394 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23395 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23396 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23397 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23398 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23399 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23400
23401Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23402
23403 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23404 xfails when not gcc compiled for "print foo::funclocal".
23405 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23406 "print foo::funclocal at foo",
23407 "print 'scope1.c'::foo::funclocal at foo",
23408 "print foo::funclocal_bss at foo",
23409 "print 'scope1.c'::foo::funclocal_bss at foo",
23410 "print foo::funclocal_ro at foo",
23411 "print 'scope1.c'::foo::funclocal_ro at foo",
23412 "print bar::funclocal at foo" and
23413 "print 'scope1.c'::bar::funclocal at foo".
23414 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23415 gcc compiled for "print foo::funclocal at bar".
23416 Expand all messages to ensure that they identify that
23417 the test is at bar().
23418 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23419 gcc compiled for:
23420 "ptype on opaque struct pointer (statically)",
23421 "ptype on opaque struct tagname (statically)",
23422 "ptype on opaque struct pointer (dynamically) 1",
23423 "ptype on opaque struct tagname (dynamically) 1",
23424 "ptype on opaque struct pointer (dynamically) 2" and
23425 "ptype on opaque struct tagname (dynamically) 2
23426 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23427 gcc compiled for:
23428 "p datalocal"
23429 "whatis datalocal",
23430 "ptype datalocal",
23431 "p bsslocal",
23432 "whatis bsslocal", and
23433 "ptype bsslocal".
23434 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23435 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23436 when not gcc compiled.
23437 * gdb.base/funcargs.exp (float_and_integral_args): Add
23438 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23439 compiled.
23440 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23441 "backtrace from call6a" when not gcc compiled.
23442 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23443 "backtrace from call7a" when not gcc compiled.
23444 * gdb.base/callfuncs.exp (do_function_calls):
23445 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23446 "p t_char_array_values(char_array_val2,char_array_val1)",
23447 "p t_char_array_values(char_array_val1,char_array_val2)",
23448 "p t_char_array_values("carray 1","carray 2")",
23449 "p t_char_array_values("carray 1",char_array_val2)",
23450 "p t_char_array_values(char_array_val1,"carray 2")",
23451 "p sum_args(1,{2})",
23452 "p sum_args(2,{2,3})",
23453 "p sum_args(3,{2,3,4})",
23454 "p sum_args(4,{2,3,4,5})"
23455 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23456 "backtrace in corefile.exp" when not gcc compiled.
23457
23458Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23459
23460 * gdb.base/signals.exp: Rewrite `handle all print' test as
23461 a procedure. Accept blanks or TABs as whitespace, increase
23462 timeout and expect input buffer size for the large output
23463 from the command. Remove "i*86-*-bsdi2.0" xfail.
23464
23465Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23466
23467 * gdb.base/setvar.exp: Add new testcases for truncation when
23468 assigning invalid values to bitfields.
23469
23470Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23471
d63a86f8 23472 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23473 mips-sgi-irix* xfail for
23474 "call inferior func with struct - returns char *"
23475 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23476 accepted in the result.
c906108c
SS
23477
23478Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23479
23480 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23481 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23482 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23483 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23484 that accidentally got checked in.
23485
23486Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23487
d63a86f8 23488 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23489 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23490 compiled test.
23491 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23492 Add mips-sgi-irix5* xfail for not gcc compiled.
23493 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23494 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23495 "p top", "whatis top", "p middle", and "whatis middle".
23496 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23497 "whatis signed char" for not gcc compiled.
23498 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23499 "set variable signed char=-1 (-1)" and
23500 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23501 * gdb.base/funcargs.exp (float_and_integral_args):
23502 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23503 Add mips-sgi-irix* xfail when not gcc compiled for
23504 "continue to call2b".
23505 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23506 "continue to call2g".
23507 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23508 "backtrace from call6a"
23509 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23510 "backtrace from call7k".
23511 Add mips-sgi-irix5* xfail when not gcc compiled for
23512 "backtrace from call7a".
23513 (localvars_after_alloca): Fix gdb_test cmds for
23514 "print * after runto ...".
23515 Remove rs6000-*-* xfails for
23516 "print i after runto localvars_after_alloca" and
23517 "print l after runto localvars_after_alloca"
23518 for all compilers.
23519 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23520 when not compiled with gcc, for:
c906108c
SS
23521 "print signed char == (minus)",
23522 "print signed char != (minus)",
23523 "print signed char < (minus)",
23524 "print signed char > (minus)".
23525 * gdb.base/callfuncs.exp (do_function_calls):
23526 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23527 "call inferior func with struct - returns char *".
d63a86f8 23528 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23529 "correct value returned double test" to include Solaris 2.4.
23530 * gdb.base/funcargs.exp (float_and_integral_args):
23531 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23532
c906108c
SS
23533Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23534
23535 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23536 enumeration bitfields if compiling with GNU C.
23537 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23538 to empty' prompt.
23539
23540Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23541
23542 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23543 test for PRO targets.
23544
23545 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23546 breakpoints in the inferior at any given time by making
23547 two groups of breakpoints for call2*, call6* and call7*
23548 tests.
23549
23550Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23551
23552 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23553 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23554 from optimizing it away.
23555 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23556 "call inferior func with struct".
23557
23558Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23559
23560 * configure.in: Only configure gdb.chill for particular targets.
23561
23562Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23563
23564 * gdb.base/Makefile.in: Add action to .c.o transformation
23565 rule that generates a .ci file for each .o file and remove
23566 explicit .c.o rules except for callfuncs.o.
23567 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23568 generates a .ci file for each .o file and remove explicit
23569 .cc.o rules.
23570 (clean): Remove *.tmp *.ci files.
23571 (EXECUTABLES): Remove templ-info.exp.
23572 * gdb.base/compiler.c: New file.
23573 * gdb.c++/compiler.cc: New file
23574 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23575 Change rs6000-*-* xfail for
23576 "print 'scope0.c'::filelocal_ro" and
23577 "print 'scope1.c'::filelocal" and
23578 "print 'scope1.c'::filelocal_bss" and
23579 "print 'scope1.c'::filelocal_ro" and
23580 "print 'scope1.c'::foo::funclocal" and
23581 "print 'scope1.c'::foo::funclocal_ro" and
23582 "print 'scope1.c'::bar::funclocal" and
23583 "print 'scope0.c'::filelocal_ro" and
23584 "print 'scope1.c'::filelocal at foo" and
23585 "print 'scope1.c'::filelocal_bss at foo" and
23586 "print 'scope1.c'::filelocal_ro at foo" and
23587 "print 'scope1.c'::foo::funclocal at foo" and
23588 "print 'scope1.c'::foo::funclocal_bss at foo" and
23589 "print 'scope1.c'::foo::funclocal_ro at foo" and
23590 "print 'scope1.c'::bar::funclocal at foo" and
23591 "print 'scope0.c'::filelocal_ro" and
23592 "print 'scope1.c'::filelocal" and
23593 "print 'scope1.c'::filelocal_bss" and
23594 "print 'scope1.c'::filelocal_ro" and
23595 "print 'scope1.c'::foo::funclocal" and
23596 "print 'scope1.c'::foo::funclocal_bss" and
23597 "print 'scope1.c'::foo::funclocal_ro" and
23598 "print 'scope1.c'::bar::funclocal" and
23599 "print 'scope1.c'::bar::funclocal_bss"
23600 to only be xfail'd when not compiled with gcc.
d63a86f8 23601 Add rs6000-*-* xfail for
c906108c
SS
23602 "print 'scope0.c'::filelocal_bss before run"
23603 when compiled with gcc.
23604 (test_at_main): Add rs6000-*-* xfail for
23605 "print filelocal_ro in test_at_main"
23606 when compiled with gcc.
23607 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23608 Add rs6000-*-aix* xfail for
c906108c
SS
23609 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23610 "ptype t_char_array", not compiled with gcc.
23611 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23612 xfail for "list foo (in include file)" when gcc compiled.
23613 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23614 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23615 "run to call0a" if not compiled with gcc.
23616 (unsigned_integral_args): Add rs6000-*-* xfail for
23617 "run to call1a" if not compiled with gcc.
23618 (float_and_integral_args): Add rs6000-*-* xfail for
23619 "run to call2a" if not compiled with gcc and for
23620 "continue to call2b" for any compiler.
23621 Add rs6000-*-* xfail to
23622 "print f1 after run to call2a" for gcc compiled.
23623 (discard_and_shuffle): Add rs6000-*-* xfail for
23624 "run to call6a".
23625 (shuffle_round_robin): Add rs6000-*-* xfail for
23626 "backtrace from call7a" if not compiled with gcc.
23627 Add rs6000-*-* xfail for
23628 "backtrace from call7b" if compiled with gcc.
23629 (call_after_alloca): Add rs6000-*-* xfail for
23630 "print c in call_after_alloca" and
23631 "print s in call_after_alloca" and
23632 "backtrace from call_after_alloca_subr"
23633 if not compiled with gcc.
23634 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23635 "print c in localvars_in_indirect_call" and
23636 "print c in localvars_in_indirect_call" and
23637 "backtrace in indirectly called function" and
23638 "stepping into indirectly called function"
23639 if not compiled with gcc.
23640 (localvars_after_alloca): Add rs6000-*-* xfail for
23641 "print c after runto localvars_after_alloca" and
23642 "print s after runto localvars_after_alloca" and
23643 "print i after runto localvars_after_alloca" and
23644 "print l after runto localvars_after_alloca"
23645 for all compilers.
23646 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23647 than whatis-info.exp.
23648 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23649 than opaque-info.exp.
23650 Setup rs6000-*-* xfail for
d63a86f8 23651 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23652 "ptype on opaque struct pointer (dynamically)" when
23653 not compiled with gcc.
23654 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23655 rather than callf-info.exp.
23656 (do_function_calls): Add clear_xfail for rs6000-*-* for
23657 "p t_float_values2(3.14159,float_val2)". Seems to work
23658 fine there, both with xlc and gcc. Need to find out what
23659 it is doing right and fix other platforms.
23660 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23661 "call inferior func with struct - returns int",
23662 "call inferior func with struct - returns long",
23663 "call inferior func with struct - returns float",
23664 "call inferior func with struct - returns double",
23665 "call inferior func with struct - returns char *",
23666 but only if not gcc compiled (presumes xlc compiled).
23667 Change rs6000-*-* xfails for
23668 "call inferior func with struct - returns char" and
23669 " call inferior func with struct - returns short" to only
23670 xfail if not using gcc.
23671 (clean mostlyclean): Remove *.ci and *.tmp files.
23672 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23673 than templ-info.exp.
23674 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23675 Add rs6000-*-* xfail for "up to foo in langs.exp"
23676 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23677 when not gcc compiled.
d63a86f8 23678
c906108c
SS
23679Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23680
23681 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23682 * gdb.base/corefile.exp: Likewise.
23683 * gdb.base/list.exp: Likewise.
23684 * gdb.base/scope.exp: Likewise.
23685 * gdb.base/siganls.exp: Likewise.
23686
23687 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23688 compiler output.
23689 * gdb.base/whatis.exp: Likewise.
23690
23691Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23692
23693 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23694 failure (opcode table has been fixed to match reality).
23695
23696Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23697
23698 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23699 "call inferior func with struct - returns char",
23700 "call inferior func with struct - returns short"
23701
23702 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23703 "print 'scope0.c'::filelocal at main",
23704 "print 'scope0.c'::filelocal_bss in test_at_main",
23705 "print 'scope0.c'::filelocal at foo",
23706 "print 'scope0.c'::filelocal_bss in test_at_foo",
23707 "print 'scope0.c'::filelocal at bar",
23708 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23709
c906108c
SS
23710 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23711 in source file 1". This bug seems to have been fixed with both
23712 gcc and native cc (was native assembler bug?).
23713
23714Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23715
23716 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23717 "backtrace through signal handler" to "i*86-*-sysv4*".
23718 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23719 continue" case. Add "known SVR4 bug" to fail message.
23720 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23721 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23722 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23723 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23724 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23725 "up to foo in langs.exp", "show language at foo in
23726 langs.exp", "up to cppsub_ in langs.exp", "show
23727 language at cppsub_ in langs.exp", "up to fsub in
23728 langs.exp", and "show language at fsub in langs.exp".
23729 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23730 "bactrace in corefile.exp".
23731 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23732 "call inferior function with struct - returns float" and
23733 "call inferior function with struct - returns double".
d63a86f8 23734
c906108c
SS
23735Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23736
23737 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23738 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23739 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23740 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23741
23742Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23743
23744 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23745 (or overriden) "CHILL" macro rather then bare "gcc".
23746 Also look for ../../gcc/xgcc since that is what we will
23747 actually need, not "Makefile". Remove following assignment
23748 of CHILL to CHILL_FOR_TARGET because that results in
23749 recursive definition.
23750
23751Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23752
23753 * gdb.base/corefile.exp: Change xfail for backtrace in
23754 corefile.exp from linuxaout to all linux.
23755 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23756 cases where we miss the breakpoint at the signal handler
23757 for some reason. Setup xfail for linuxoldld/linuxaout and
23758 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23759 hitting SIGURG breakpoint.
23760 * gdb.base/signals.exp: Setup xfail for "next" acting like
23761 continue to add linuxoldld. Setup xfail for all linux for
23762 "next to handler in signals_tests_1", "backtrace in
23763 signals_tests_1", "continue to func1", "pass SIGUSR1",
23764 and continue to handler".
23765
23766Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23767
23768 * Update all FSF addresses except those in COPYING* files.
23769
23770Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23771
23772 * gdb.base/a2-run.exp: Change messages to be more explicit about
23773 the status of args, and quote binfile in results.
23774
23775Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23776
23777 * gdb.base/callfuncs.exp: Add tests for passing structs to
23778 inferior functions and return various types.
23779 * gdb.base/callfuncs.c: Add functions to receive a struct
23780 and return a member of the struct, in various types.
23781
23782Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23783
23784 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23785
23786Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23787
23788 * config/vxworks29k.exp: New file, sources vxworks.exp.
23789
23790Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23791
23792 * config/gdbremote.exp: New file. Testing framework using
23793 gdbserver.
23794
23795Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23796
23797 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23798 "call function when asleep" and "send end of file".
23799 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23800 for "backtrace in corefile.exp".
23801 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23802 for "backtrace through signal handler".
23803 * gdb.base/corefile.exp: Make sure we actually generate a core file
23804 before trying the core tests. Some systems allow the user to suppress
23805 generation of core files and default to that (linux for example).
23806 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23807 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23808
23809Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23810
23811 * gdb.threads: New directory with some crude multi-threaded
23812 gdb tests (step.exp and step2.exp).
23813 * config/mt-lynx (STEP_EXECUTABLE): Define.
23814 (THREADFLAGS): Define.
23815
23816Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23817
23818 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23819
23820 * gdb.base/signals.exp: Disable whole file for lynx until
23821 further notice.
23822
23823 * gdb.base/signals.exp: xfail test where "next" acts like
23824 "continue" for lynx.
23825
23826 * gdb.base/interrupt.exp: xfail test for calling function while
23827 inferior is asleep for lynx.
23828
23829 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23830 than one cr-lf after each command.
23831
23832Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23833
23834 * configure.in: Reinstate setting of stabsdirs variable, fix
23835 typo in setting up configdirs for native builds.
23836
23837 * gdb.base/return.exp: Fix typo in return double test.
23838 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23839 compiler from optimizing them away.
23840
23841Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23842
23843 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23844 sequences to be echo'd by gdb when using gdb_test.
23845 * gdb.chill/chexp.exp: Likewise.
23846 * gdb.fortran/exprs.exp: Likewise
23847
23848Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23849
23850 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23851 after the inferior gdb has started.
23852
23853 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23854 after each command.
23855 * gdb.base/funcargs.exp: Likewise.
23856 * gdb.base/gdbvars.exp: Likewise.
23857 * gdb.base/interrupt.exp: Likewise.
23858 * gdb.base/list.exp: Likewise.
23859 * gdb.base/watchpoint.exp: Likewise.
23860 * gdb.c++/demangle.exp: Likewise.
23861 * gdb.c++/inherit.exp: Likewise.
23862 * gdb.chill/chexp.exp: Likewise.
23863 * gdb.fortran/exprs.exp: Likewise.
23864
23865 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23866 test if we can't handle IO to/from the inferior.
23867
23868 * gdb.c++/misc.exp: Always check for a program already being
23869 started after sending a "run" command to gdb.
23870
23871 * gdb.base/twice.exp: Start with a fresh gdb.
23872
23873 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23874 only depend on gdb's expression code, not the chill runtime.
23875
23876 * gdb.base/return.c: Put return values into variables so we
23877 can have gdb print them rather than depending on the program
23878 to print them.
23879 * gdb.base/return.exp: Corresponding changes.
23880
23881 * lib/gdb.exp: Provide default value for noinferiorio.
23882 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23883 the inferior.
23884
23885 * gdb.base/break.exp: Always check for a program already being
23886 started after sending a "run" command to gdb.
23887 (text_next_with_recursion): Don't check the output from the
23888 program's printf statement. Instead just make sure the program
23889 exited.
23890
23891 * gdb.base/commands.exp: Protect tests which need arguments with
23892 $noargs conditionals.
23893
23894Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23895
23896 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23897 of structure member arrays to match gdb/valops.c:value_addr change.
23898
23899Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23900
23901 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23902 cases.
23903
23904Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23905
23906 * configure.in (configdirs): Remove gdb.chill from default list
23907 of subdirs and then add it back in only if doing a native build.
23908 The current chill compiler does not yet work in any cross build.
23909 * Revert all signal changes from Jul 6.
23910 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23911 for sh-hms targets, allowing these tests to link, with no other
23912 changes. Testing is suppressed by setting "nosignals" in site.exp.
23913
23914Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23915
23916 * configure.in (signaldirs): Define and add to configdirs for all
23917 targets except some specific ones that are known to not support signals.
23918 Also clean up formatting.
23919 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23920 (signals, sigall): Remove rules to build.
23921 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23922 Moved to new gdb.signals directory.
23923 * gdb.signals: New test directory.
23924 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23925 signals.c signals.exp}: New or moved files.
23926
23927Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23928
23929 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23930
23931Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23932
23933 * gdb.base/return.exp: Xfail `return double' test failure
23934 on at least Solaris 2.3 and handle future/past versions on
23935 a case by case basis as appropriate. Also update message
23936 to include i*86 failures.
23937
23938Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23939
23940 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23941
23942 * lib/gdb.exp: Fix comment which erroneously identified
23943 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23944 gdb_file_cmd not gdb_load).
23945 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23946
23947 * gdb.base/setvar.exp: Make test names consistent between pass and
23948 fail cases. Use gdb_test more.
23949
23950Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23951
23952 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23953
23954Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23955
23956 * gdb.base/help.exp: Fix expected help string for `show commands'.
23957
23958Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23959
23960 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23961
23962 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23963 of a text section.
23964
23965Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23966
23967 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23968 that loop eventually terminates. Fix Connection refused logic so
23969 that testsuite will expire nicely.
23970
23971Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23972
23973 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23974 config/rom68k.exp: New tcl glue for the appropriate monitors.
23975 These all just end up calling monitor.exp.
23976 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23977 refused' by retrying. Cleanup some timeout issues.
23978 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23979 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23980 callers don't have to set/restore global timeout variable.
23981
23982 * The following set of changes centralizes management of the global
23983 timeout variable. This way, it can be set in one target dependent
23984 place instead of dozens of places scattered throughout the test suite.
23985 If you need to lengthen a timeout, then you should either set timeout
23986 in one of the config/{target}.exp files, or multiply it by a factor.
23987 Setting it to an absolute value is always going to lose for some
23988 targets.
23989 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23990 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23991 * gdb.base/funcargs.exp: Don't set timeout.
23992 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23993 * gdb.base/printcmds.exp (test_print_string_constants
23994 test_print_array_constants): Don't set timeout.
23995 * gdb.base/ptype.exp: Don't set timeout.
23996 * gdb.base/recurse.exp: Don't set timeout.
23997 * gdb.base/return.exp: Don't set timeout.
23998 * gdb.base/watchpoint.exp: Don't set timeout.
23999 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24000 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24001
24002Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24003
24004 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24005
24006Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24007
24008 * lib/gdb.exp: Disable chill tests for irix5.
24009
24010Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24011
24012 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24013 each test pass or fail.
24014
24015Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24016
24017 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24018 xlc not gcc.
24019
24020Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24021
24022 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24023
24024Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24025
24026 * config/est.exp: Fix copyright and comments. Remove dead code.
24027 Use targetname, serialport and baud variables instead of fixed
24028 constants.
24029 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24030 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24031
24032Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24033
24034 * gdb.base/watchpoint.exp: Don't run
24035 test_watchpoint_triggered_in_syscall for sunos.
24036
24037Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24038
24039 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24040 they don't seem to exist. Do include stdio.h.
24041
24042Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24043
24044 * gdb.base/a1-selftest.exp: Add alpha xfail.
24045
24046Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24047
24048 * gdb.base/watchpoint.c (main): Prompt before calling read().
24049 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24050 Revise accordingly. Remove cruft about sending "123" several
24051 times, until it gets noticed. Clean up the "print buf[0]" stuff
24052 so that it passes or fails, and waits for prompts in the usual way.
24053
24054Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24055
24056 * gdb.base/recurse.exp: Fix comment.
24057
24058 * TODO: Remove item about printing variables in nodebug.exp. Add
24059 item about enabling tests which are only run on some targets.
24060
24061 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24062 fail, make test names unique, use new gdb_test convention
24063 regarding pattern, use gdb_test more, etc.).
24064
24065 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24066 fail, make test names unique, etc.).
24067
24068Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24069
24070 * gdb.base/nodebug.c: Change return type of top and middle to
24071 short.
24072 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24073 are fixed by the recent mdebugread.c changes. Allow `short ()'
24074 as type for top and middle.
24075
24076Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24077
24078 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24079 nearly as I can tell, the whole thing was an accident in Stu's
24080 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24081 to replace a send/expect pair with gdb_test, but ended up only
24082 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24083 of 30 Mar 1995 took care of it, but left this vestigial comment
24084 which I am now nuking.
24085
24086Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24087
24088 * gdb.base/break.exp: Look for different line number for
24089 breakpoint at main depending on usestubs.
24090
24091Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24092
24093 * gdb.base/list.exp: Adjust some alternate expect patterns to
24094 match recent list0.c change. Add alternate expect pattern for
24095 output from `list default lines around main' for optimizing
24096 compilers.
24097
24098Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24099
24100 * lib/gdb.exp: If nosignals is not set, set it to 0.
24101
24102Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24103
24104 * config/slite-gdb.exp: Responds to load symbol table prompt.
24105 * gdb.base/break.exp: Adjust line number, fix rerun.
24106 * gdb.base/langs0.c: Add #ifdef usestubs.
24107
24108Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24109
24110 * gdb.base/list.exp: Adjust line contents after adding new lines in
24111 list0.c. Also fix a syntax error.
24112
24113 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24114 * gdb.base/break.exp: ditto.
24115 * gdb.base/list.exp: ditto.
24116 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24117 * gdb.base/run.c: ditto.
24118 * gdb.base/list0.c: ditto.
24119 * gdb.base/funcargs.c: ditto.
24120
24121Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24122
24123 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24124 $targetname, $serialport and $baud instead of hardwired variables.
24125 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24126 target doesn't support signals.
24127
24128Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24129
24130 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24131
24132Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24133
24134 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24135 Don't rely on the value of an auto variable before it has been
24136 initialized. Use gdb_test more.
24137
24138Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24139
24140 * lib/gdb.exp (default_gdb_version): A version number must start
24141 with a digit, but other than that contains all characters up to
24142 the first whitespace character.
24143
24144Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24145
24146 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24147
24148Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24149
24150 * gdb.c++/*.exp: Warn if executable does not exist. The original
24151 reason for skipping the warning was that configure.in sometimes
24152 intentionally skipped building the executables but the tcl code
24153 had no way of knowing. That (a) was always bogus with respect to
24154 error handling, (b) is no longer true (right now there is no way
24155 to skip C++ tests).
24156
24157 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24158
24159Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24160
24161 * gdb.base/list.exp: Add expect patterns for output from
24162 SunPRO compiled executables.
24163 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24164 types.
24165
24166Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24167
24168 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24169 number (we are already testing that the correct source line text
24170 gets printed).
24171
24172 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24173 that is what is intended, but something needed to be done to get
24174 sunos4 native working again.
24175
24176 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24177
24178 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24179 apparently went with a (very) old xfail.
24180
24181Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24182
24183 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24184 runto_main is a proc in gdb.exp that will do 'step' for target use
24185 stubs.
24186 * gdb.base/exprs.exp: ditto.
24187 * gdb.base/interrupt.exp: ditto.
24188 * gdb.base/opaque.exp: ditto.
24189 * gdb.base/printcmds.exp: ditto.
24190 * gdb.base/ptype.exp: ditto.
24191 * gdb.base/scope.exp: ditto.
24192 * gdb.base/setvar.exp: ditto.
24193 * gdb.base/signals.exp: ditto.
24194 * gdb.base/twice.exp: ditto.
24195 * gdb.c++/classes.exp: ditto.
24196 * gdb.c++/inherit.exp: ditto.
24197 * gdb.c++/templates.exp: ditto.
24198 * gdb.base/break.exp: no run and hit main for stubs. Change line
24199 numbers for breakpoints and info breakpoint.
24200 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24201 breakpoint().
24202 * gdb.base/callfuncs.c: ditto.
24203 * gdb.base/exprs: ditto.
24204 * gdb.base/interrupt.c: ditto.
24205 * gdb.base/opaque0.c: ditto.
24206 * gdb.base/printcmds.c: ditto.
24207 * gdb.base/ptype.c: ditto.
24208 * gdb.base/scope0.c: ditto.
24209 * gdb.base/setvar.c: ditto.
24210 * gdb.base/signals.c: ditto.
24211 * gdb.base/twice.c: ditto.
24212 * gdb.c++/misc.cc: ditto.
24213 * gdb.c++/templates.cc: ditto.
24214
24215Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24216
24217 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24218
24219 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24220 somewhere between `read' and `main.c'. I'm pretty sure the
24221 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24222 and it isn't particularly useful.
24223
24224 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24225
24226Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24227
24228 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24229
24230Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24231
24232 * config/mt-slite: add LIBS and -nostdlib.
24233 * config/slite-gdb.exp: add this new file to support sparclite target.
24234
24235Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24236
24237 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24238
24239 * gdb.base/a2-run.exp: Change argument to istarget from
24240 "*-*-vxworks" to "*-*-vxworks*".
24241 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24242
24243Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24244
24245 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24246 will not runto main but do a 'step' to step out of breakpoint().
24247 * config/mt-slite: add -Dusestubs.
24248
24249Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24250
24251 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24252 instead of just @.
24253
24254 * gdb.base/signals.exp: Add test for "handle all print".
24255 * TODO: Remove "handle all print". Also remove item about
24256 checking copyright date (I don't like the idea of a spurious FAIL
24257 based on when we run the tests).
24258
24259 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24260 for SunOS4 (reason for failure not investigated). Remove
24261 redundant test for $binfile.
24262
24263 * gdb.base/nodebug.c (array_index): Call malloc.
24264
24265 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24266
24267Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24268
24269 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24270 conventions and slightly simplify the matching regexp.
24271
24272Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24273
24274 * gdb.base/break.exp: Update gdb_test invocation to use new
24275 convention.
24276
24277 * lib/gdb.exp: If noargs is not set, set it to 0.
24278
24279 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24280 tests unique.
24281
24282 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24283
24284Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24285
24286 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24287 one argument of type "<non-float parameter>".
24288
24289Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24290
24291 * config/rom68k.exp: New file to support Motorola IDP board.
24292 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24293 * gdb.base/break.c: Change things around so that this program
24294 doesn't depend upon args. This is necessary to make remote
24295 targets work (in general, they can't take args).
24296 * gdb.base/break.exp: Don't try to send args to program. Don't
24297 expect output. Also, replace lots of code with gdb_test.
24298
24299Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24300
24301 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24302 printing of '\'' (which is what the comment says we are testing,
24303 even though we were not), not '''.
24304 (test_integer_literals_rejected): Test that printing ''' is an error.
24305
24306 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24307 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24308 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24309 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24310 Use gdb_test not test_print_accept.
24311 * lib/gdb.exp: Remove test_print_accept.
24312
24313 * gdb.base/signals.exp (signal_tests_1): Make pass message
24314 consistent with fail message.
24315
24316 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24317 unsigned char; the bug (PR 1821) is fixed.
24318
24319 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24320
24321 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24322 successful tests--makes xfailing them work right.
24323
24324Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24325
24326 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24327 only \r\n, not .*. The test can pass .* as the last thing in
24328 $pattern if that is what it wants. In addition to providing this
24329 flexibility, this change should speed up pattern matching in cases
24330 where the pattern already ended with .* (there were a number of
24331 them). This change also helps catch bad patterns--in the old
24332 scheme the typo "char \*" instead of "char \\*" would pass. Now
24333 it is caught.
24334 * Many .exp files: Update callers.
24335
24336 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24337 clearer and does not spuriously match multiple ('s. Likewise for
24338 ) and *.
24339
24340 * gdb.base/nodebug.exp: Test ability to call a function and pass
24341 it a string (even with no debugging info).
24342
24343 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24344 "p '\'", which is the same as "p ''" once tcl gets done with
24345 quoting, to "p '\\'", which I suspect is what is intended (one
24346 backslash gets sent to GDB).
24347
24348 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24349
24350Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24351
24352 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24353 1817) was fixed literally years ago.
24354
24355Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24356
24357 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24358 test, it causes stepping out of call_after_alloca_subr with
24359 optimizing compilers.
24360 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24361 fails.
24362
24363 * gdb.c++/templates.exp: Source templ-info.exp only if
24364 the templates executable exists.
24365
24366 * gdb.c++/misc.cc (class Contains_static_instance,
24367 class Contains_nested_static_instance),
24368 gdb.c++/classes.exp (test_static_members): Test printing of
24369 a class that contains a static instance of the class.
24370
24371Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24372
24373 * gdb.base/langs2.c (cppsub_): Don't prototype.
24374 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24375 only, I believe).
24376
24377Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24378
24379 * lib/gdb.exp (skip_chill_tests): New procedure.
24380
24381 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24382
24383Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24384
24385 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24386 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24387
24388Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24389
24390 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24391
24392 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24393 disassemble 8, not 16, instructions for part 4.
24394
24395 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24396 support the latter anymore.
24397
24398 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24399 -DNO_PROTOTYPES.
24400 * gdb.base/callfuncs.c: Control use of prototypes based on
24401 NO_PROTOTYPES, not __STDC__.
24402 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24403 t_float_values2 tests if prototypes in use.
24404
24405 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24406 t_double_values): When checking differences against DELTA, check
24407 that difference is within the range (-DELTA,DELTA), not just
24408 (-infinity,DELTA).
24409
24410Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24411
24412 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24413 'file' command firts, then 'target', then 'load', this is due to gdb
24414 target set up.
24415 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24416
24417Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24418
24419 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24420 FP load/store variants.
24421 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24422
24423Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24424
24425 * gdb.base/term.exp: Do not give a warning if not native, it is
24426 not an abnormal condition.
24427
24428Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24429
24430 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24431 t_char_array".
24432
24433Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24434
24435 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24436 are getting the version number.
24437
24438 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24439 if not native, it is not an abnormal condition.
24440
24441Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24442
24443 * lib/gdb.exp: Just use "file exists", rather than undocumented
24444 dejagnu procedure "findfile".
24445
24446Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24447
24448 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24449 (LDFLAGS): Set to -Xlinker -Ur.
24450
24451 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24452 Removed, these values are set by lib/gdb.exp.
24453
24454 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24455
24456Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24457
24458 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24459 of replicating gdb startup code.
24460
24461 * config/mt-vxworks (LDFLAGS): Set to -r.
24462 (CFLAGS_FOR_TARGET): Removed.
24463
24464 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24465 (gdb) and gdb for vxworks uses (vxgdb).
24466
24467 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24468 executable is not in the tree and host != target, use sed and
24469 program_transform_name to determine the gdb name used by the
24470 target.
24471
24472 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24473 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24474
24475Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24476
24477 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24478 floats, chars, and shorts where there are ANSI-style function
24479 definitions.
24480
24481 * gdb.base/langs.exp, gdb.base/langs*: New test.
24482 * gdb.base/Makefile.in: Build it.
24483 * TODO: Remove item about checking that C names don't get C++
24484 demangling applied; this test tests it.
24485
24486Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24487
24488 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24489 went with the const70 xfail. The xfail went away a year ago.
24490
24491 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24492
24493 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24494 for hp300.
24495
24496 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24497
24498 * gdb.base/a1-selftest.exp: Don't run on hp300.
24499
24500Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24501
24502 * Makefile.in (site.exp): Set host_alias and target_alias as well
24503 as host_triplet and target_triplet.
24504
24505Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24506
24507 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24508
24509 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24510 places as other ecoff systems).
24511
24512 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24513 ultrix.
24514
24515Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24516
24517 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24518 remove them.
24519 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24520 variable and "variable" in addition to "data variable".
24521 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24522
24523 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24524 2.
24525 * gdb.base/list1.c (long_line): Add additional statement at start
24526 of function.
24527 * gdb.base/list.exp (test_forward_search): Update line number to
24528 reflect new statement.
24529
24530Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24531
24532 * gdb.base/signals.exp: Reinitialize searched source directories
24533 after gdb_start call.
24534
24535Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24536
24537 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24538 * gdb.stabs/Makefile.in: Likewise.
24539
24540 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24541 change. Instead split the tests into smaller pieces.
24542 * gdb.disasm/hppa.s: Corresponding changes.
24543
24544Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24545
24546 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24547 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24548
24549 * gdb.base/funcargs.exp: Modify many tests so that every test
24550 either passes or fails. Make some test names unique.
24551
24552Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24553
24554 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24555 Call stty to set interrupt character.
24556
24557 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24558 for HP assembler versus GNU assembler based on actual behavior of
24559 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24560
24561 * TODO: Suggest a few more stepping tests.
24562
24563Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24564
24565 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24566 restart GDB for h8300 after a continue.
24567 (return): Add pattern to match a29k-udi behavior.
24568 * gdb.base/nodebug.exp: Remove obsolete comment.
24569 * gdb.base/regs.exp: New file, testing of register displays.
24570 * gdb.base/return.exp: Fix typo in reference to $objdir.
24571 * gdb.base/whatis.exp: Always start with a fresh GDB.
24572
24573Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24574
24575 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24576 higher, these tests generate a lot of output.
24577
24578Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24579
24580 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24581 code following the catch silently ignored some errors; without the
24582 catch they should be thrown like any other tcl error. Also, the
24583 catch used "" instead of {} which meant all the callers who wanted
24584 to include one of the characters "[]$ had to quote it an extra time.
24585 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24586 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24587 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24588 Remove extra quoting.
24589
24590Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24591
24592 * gdb.base/commands.exp: Make test names unique; every test either
24593 passes or fails. Update some comments.
24594
24595 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24596
24597Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24598
24599 The following fixes a FAIL caused by the fact that the alpha stabs
24600 configuration didn't use the ".if alpha" code in weird.def.
24601 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24602 bit pointer, so the 32 bit version works even on the alpha.
24603 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24604 Remove the stuff which allowed us to have separate versions for
24605 alpha and everything else.
24606
24607 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24608 regexp which "info func operator\[\](" is supposed to match. Fix
24609 string to send to GDB. Note that GDB still doesn't work right. Add a
24610 new test for "info func .perator\[\](" which GDB does handle correctly.
24611
24612 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24613
24614Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24615
24616 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24617 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24618 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24619 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24620 it makes the tests harder to understand and confuses test-o-matic.
24621 The preferred style is that each test provides a PASS or a FAIL,
24622 and has a unique message (e.g. "continue #54" not just "continue")
24623 which is the same for the pass and the fail.
24624 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24625 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24626 to lib/gdb.exp.
24627 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24628 prt_accept which was basically the same thing. Likewise for
24629 test_print_reject and prt_reject.
24630 * lib/gdb.exp (test_print_reject): Add some more error message
24631 patterns to match from the former printcmds.exp (prt_reject).
24632 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24633 One defect of the passcount stuff is that some of it failed to
24634 report XPASS where appropriate.
24635 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24636 stuff before and after arg in expected pattern.
24637 (test_paddr_operator_functions): Re-do test without print_addr_of;
24638 this is the only test which seems to want extra stuff there.
24639
24640Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24641
24642 * gdb.base/nodebug.exp: Update new tests to reflect improved
24643 wording of gdb output.
24644
24645 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24646 and "ptype" work on variables in files compiled without -g.
24647 Replaces commented out "maint print msymbol" tests.
24648
24649Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24650
24651 * gdb.base/setvar.c (dummy): Call malloc.
24652
24653 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24654 losing with the irix4 sed.
24655
24656 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24657 ALRM" on irix4.
24658
24659Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24660
24661 * TODO: Remove items about corefile.exp testing new exec-file and
24662 backtrace; both are now done. Add items about printing enums.
24663
24664Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24665
24666 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24667 "get signal $thissig" test fails.
24668
24669 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24670
24671Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24672
24673 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24674 compiler warning with dec alpha compiler.
24675
24676 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24677 extra \n from gdb_test call (this explains why the prompt test
24678 that I removed yesterday was there).
24679 (user_defined_command_test): Remove extra \n and prompt test.
24680
24681 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24682 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24683 doesn't exist.
24684 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24685 Also remove alpha workaround, which turns out to be because
24686 SIGABRT == SIGLOST.
24687
24688 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24689
24690 * gdb.base/help.exp: Don't test "help show".
24691
24692Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24693
24694 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24695 "set print address" is on.
24696 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24697 pass prompt to gdb_test; gdb_test already looks for the prompt.
24698
24699 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24700
24701 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24702 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24703 was to make sure that gdb can read a core file. But (a) the "read
24704 the corefile" part didn't make it to a1-selftest.exp, we just
24705 delete the corefile after creating it, and (b) we test reading
24706 corefiles in corefile.exp anyway. Also, this test left around a
24707 xgdb process on Solaris.
24708
24709 * gdb.base/corefile.exp: Also test backtrace.
24710
24711Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24712
24713 * gdb.base/commands.exp: Test a simple user defined command with
24714 arguments and if/while statements; verify the full user command is
24715 printed by "show user".
24716
24717 * gdb.base/commands.exp: Test if/while commands as part of a
24718 breakpoint command list; verify they appear in breakpoint
24719 information.
24720
24721Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24722
24723 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24724 than by dividing by zero.
24725
24726Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24727
24728 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24729 performing an inferior call with watchpoints enabled.
24730 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24731 call.
24732
24733Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24734
24735 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24736 of "file" command.
24737
24738 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24739 Add additional pattern for when "int operator int(void);" appears
24740 in a different order.
24741
24742Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24743
24744 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24745
24746 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24747 and "signal" with ".*".
24748
24749Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24750
24751 * TODO: Add note about "handle all nostop".
24752
24753 * gdb.base/{sigall.c, sigall.exp}: New test.
24754 * gdb.base/Makefile.in: Add it.
24755
24756Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24757
24758 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24759 when invoking GDB, suppresses any windowing interface.
24760
24761Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24762
24763 * config/sim-gdb: New file, simulator testing support.
24764
24765Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24766
24767 * gdb.base/interrupt.exp: Test calling func1 twice.
24768
24769Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24770
24771 * gdb.base/list.exp (test_forward_search): Set timeout higher
24772 when we'll be getting lots of output from gdb.
24773
24774 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24775 "init_malloc" to after the expect statement. Run it if that
24776 regexp is taken, but also for two others which happen if source
24777 cannot be found.
24778
24779Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24780
24781 * gdb.base/printcmds.exp: New test, for printing register before
24782 program is running.
24783
24784Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24785
24786 * gdb.base/list.exp: Correct some alternate expect patterns
24787 to reflect changes in list1.c.
24788
24789Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24790
24791 * TODO: Add item regarding large frames.
24792
24793 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24794
24795 * TODO: Remove item about enabling return.exp; it
24796 is enabled. Suggest a few more "return" tests.
24797
24798Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24799
24800 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24801 anonymous unions.
24802
24803Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24804
24805 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24806 and pr-5646.o, so "make" is the same as "make all", not "make
24807 pr-4975.o".
24808
24809Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24810
24811 * gdb.base/list.exp: Adjust expectations to reflect changes in
24812 list1.c.
24813 (test_forward_search): New test proc.
24814 * gdb.base/list1.c (long_line): New function, has long source line.
24815
24816Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24817
24818 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24819 additional line of code that was added.
24820
24821Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24822
24823 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24824 tests so as not to overflow expect's input buffers.
24825 * gdb.disasm/hppa.exp: Corresponding changes.
24826
24827Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24828
24829 Beginnings of template debugging tests.
24830 * gdb.c++/templ-info.cc: New file to test for template
24831 debugging capability of the compiler.
24832 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24833 templ-info.cc.
24834 * gdb.c++/templates.cc: Add explicit template instantiations
24835 to enable compiling with -fno-implicit-templates. Add destructor
24836 and 'value' method to T5 class for template tests.
24837 * gdb.c++/templates.exp: Add testcases for printing of template
24838 types, setting breakpoints on template methods and calling a
d63a86f8 24839 template method.
c906108c
SS
24840
24841Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24842
24843 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24844 branch target since some assemblers (gas-2.5) may emit a
24845 relocation for the branch instead of resolving it in the
24846 assembler.
24847
24848Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24849
24850 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24851 through signal handler.
24852
24853Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24854
24855 * configure.in (*-*-netware): Use config/mt-netware.
24856
24857 * config/mt-netware: New file.
24858 * config/mt-i386-netware: Removed, separate configs for different
24859 netware architectures are no longer needed now that we have
24860 --with-headers.
24861
24862Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24863
24864 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24865 by the recent changes to use ANSI C arithmetic conversions.
24866
24867Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24868
24869 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24870 bug involving using inferior_pid to figure out whether to select a
24871 frame.
24872
24873Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24874
24875 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24876 match the current disassembler output.
24877
24878Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24879
24880 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24881 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24882 types, expect "int" as type of integer values (for now).
24883
24884Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24885
24886 * gdb.base/commands.exp: New tests for if/while commands.
24887
24888Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24889
24890 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24891 by .*, since hex values have different syntax in Chill mode.
24892
24893Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24894
24895 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24896 linefeed from expect pattern for repeated types with indices > 9.
24897
24898Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24899
24900 First part of Fortran test suite.
24901 * gdb.fortran: New directory.
24902 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24903
24904Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24905
24906 * gdb.base/default.exp: Update expect pattern for load command
24907 without arguments.
24908
24909Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24910
24911 * configure.in: Change i386 to i[345]86.
24912 * gdb.base/configure.in: Likewise.
24913 * gdb.c++/configure.in: Likewise.
24914 * gdb.chill/configure.in: Likewise.
24915
24916Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24917
24918 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24919 patterns, since that is not a valid context for comments.
24920
24921Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24922
24923 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24924 repeated types and repeated types with indices > 9.
24925
24926Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24927
24928 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24929 2417; old bug has been fixed.
24930
24931Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24932
24933 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24934 send the newline ourselves instead of assuming gdb_test will do
24935 so when passed an empty input string.
24936
24937 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24938 stabs testcode.
24939
24940Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24941
24942 * lib/gdb.exp (gdb_test): Don't send anything if the first
24943 argument is an empty string. This makes cases where we want to
24944 match output that is already in expect's buffers (for example,
24945 matching a breakpoint after gdb_run_cmd has been called) work
24946 reliably.
24947
24948Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24949
24950 * config/netware.exp: New file.
24951
24952Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24953
24954 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24955 the -B and -L prefixes so we can find the debugging stub.
24956
24957 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24958 there and we are using the gcc from the tree.
24959
24960 * gdb.base/types.c: Removed.
24961
24962 * gdb.base/configure.in: Look for makefile fragments in ../config.
24963 Recognize i386-*-netware.
24964 * gdb.c++/configure.in: Likewise.
24965
24966Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24967
24968 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24969 the correct TCL syntax.
24970
24971Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24972
24973 * gdb.base/opaque.exp: use runto instead of messing around with
24974 breakpoints. Simplify by using gdb_test.
24975
24976 * gdb.base/bitfields.exp: restart between tests on netware targets
24977 because breakpoints aren't relocated after target death. Run
24978 processes to completion.
24979
24980 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24981
24982Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24983
24984 * Makefile.in: Remove extra tabs that confuse some versions
24985 of "make". Use the newly built gdb to test with by default,
24986 rather than the first one in the tester's search path.
24987
24988Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24989
24990 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24991
24992 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24993 condition help.
24994
24995Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24996
24997 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24998
24999 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25000 running.
25001 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25002 * gdb.base/funcargs.exp: Likewise.
25003
25004 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25005 * gdb.base/funcargs.exp: Likewise.
25006
25007 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25008 message is "".
25009
25010Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25011
25012 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25013 return,signals,twice}.exp: Handle non-existant binaries
25014 consistantly.
25015
25016 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25017 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25018 might testing a cross development system.
25019
25020Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25021
25022 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25023 runtest script is relative to ${srcdir}, not ${rootdir}.
25024
25025Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25026
25027 * gdb.base/signals.exp: Allow for optionality of breakpoint
25028 address.
25029
25030Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25031
25032 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25033
25034Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25035
25036 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25037 for size_t definition.
25038 * gdb.c++/templates.cc: Likewise
25039
25040 * config/mt-i386-netware: New file.
25041
25042 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25043 defined.
25044
25045 * gdb.base/Makefile.in: Added support for systems that name core
25046 files by appending "core" to the program name.
25047 * gdb.base/a1-selftest.exp: Likewise.
25048
25049Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25050
25051 * gdb.base/return.exp: Add comment and message for `return double'
25052 test failure on Sparc Solaris.
25053
25054Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25055
25056 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25057
25058Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25059
25060 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25061 from optimizing them away.
25062 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25063 patterns to include default constructors and assignment operators,
25064 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25065 character in the output of the virtual base pointer.
25066
25067Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25068
25069 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25070 expression match in print_addr_of to avoid unintented matches.
25071 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25072 versions up to 2.5.8.
25073
25074Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25075
25076 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25077 included file to run under newer versions of expect.
25078 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25079 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25080 Remove xfail for the virtual table of BDDHookV.
25081
25082Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25083
25084 * lib/gdb.exp (string_to_regexp): Set a default result.
25085 (default_gdb_start): Fix misleading message.
25086
25087Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25088
25089 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25090 Remove all CC, etc definitions.
25091 * config/mt-hpux: New file.
25092 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25093 (CFLAGS, LDFLAGS): Define.
25094 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25095
25096 * Makefile.in (site.exp): Don't insert host_os, etc.
25097 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25098 (distclean): Check existence of subdir.
25099 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25100 * gdb.base/Makefile.in: General cleanup and simplification.
25101 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25102 to build executables. Use default rule to build .o files.
25103 (EXPECT, RUNTEST, CC): Fix relative pathname.
25104 (site.exp): Don't insert host_os, etc.
25105 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25106 and/or SIGUSR1 defined.
25107 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25108 * gdb.c++/Makefile.in: General cleanup and simplification.
25109 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25110 (CFLAGS): Remove.
25111 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25112
25113Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25114
25115 * gdb.base/recurse.exp: Misc changes to get tests running again
25116 after Kung's changes to the watchpoint code.
25117 * gdb.base/watchpoint.exp: Likewise.
25118
25119Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25120
25121 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25122
25123Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25124
25125 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25126 * lib/gdb.exp (default_gdb_start): Define.
25127 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25128 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25129 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25130 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25131 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25132 Don't call gdb_target_udi in between tests.
25133
25134Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25135
25136 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25137 (which was basically just a local version of the same thing). In
25138 addition to avoiding duplication, gdb_test_exact is faster.
25139 * lib/gdb.exp (gdb_test_exact): Fix typo.
25140
25141 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25142 don't give an error.
25143
25144 * gdb.base/term.exp: Call delete_breakpoints before starting.
25145
25146 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25147 (t10): Add comment.
25148
25149Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25150
25151 Reorganization of the GDB Test Suite.
25152
25153 * gdb.base: New directory, contains all the basic tests.
25154 * gdb.c++: New directory, tests specific to C++.
25155 * gdb.chill: New directory, tests specific to Chill.
25156 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25157 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25158 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25159 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25160 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25161 t30-31 to chill).
25162 * */gdbme.*: Rename to match appropriate expect scripts.
25163 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25164 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25165 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25166 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25167 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25168 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25169 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25170 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25171 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25172 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25173 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25174 gdb.c++/virtfunc.cc: New names of C++ files.
25175 * gdb.chill/chillvars.ch: New name of Chill file.
25176 * gdb.base/configure.in, gdb.c++/configure.in,
25177 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25178 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25179 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25180 * configure.in (configdirs): Update to reflect directory changes.
25181 (target_abbrev): No longer define for any configuration.
25182 * Makefile.in: Cosmetic improvements to header comments.
25183
25184Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25185
25186 Various changes to gdb.t31:
25187
25188 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25189 * gdbme.ch: Make all key-words and predefineds be upper-case.
25190 * chillvars.exp: Expect key-words and predefinds in upper-case.
25191
25192 * chillvars.exp: Use gdb_test_exact many places.
25193 Change expected output for arrays (which now includes index labels).
25194
25195 * pr-5020.exp, gdme.ch (module PR_5020):
25196 New test, for PR-5020.
25197
25198Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25199
25200 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25201 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25202
25203Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25204
25205 * Makefile.in: Fix bit-rot in definitions of CHILL,
25206 CHILL_FOR_TARGET and Chill_LIB.
25207 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25208 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25209 CHILL, and CHILL_LIB.
25210
25211Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25212
25213 * Revert the previous changes. Please see Rob's directory
25214 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25215
25216Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25217
25218 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25219 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25220 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25221 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25222 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25223 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25224 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25225 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25226 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25227 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25228 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25229 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25230 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25231 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25232 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25233 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25234 changes from 94Q1.
25235
25236Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25237
25238 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25239 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25240 Rob's new testing fragments.
25241
25242Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25243
25244 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25245 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25246
25247Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25248
25249 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25250 version also, match on casted version strings, and match on
25251 gdb startup case where the line numbers might be messed up.
25252
25253Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25254
25255 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25256 (CFLAGS): Delete it from here.
c906108c
SS
25257
25258Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25259
25260 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25261
25262Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25263
25264 * Makefile.in (RUNTEST): Default to just "runtest".
25265
25266Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25267
25268 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25269 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25270 the code has been restructured.
25271
25272Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25273
25274 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25275 \n, not just one of each.
25276
25277 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25278 /bin/cc gives a warning if you do.
25279
25280Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25281
d63a86f8 25282 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25283 __t10ListS_link1ZUiRCUiPT0
25284
25285Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25286
25287 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25288 on local variables in recursive functions.
25289
25290 * gdb.t07/Makefile.in: Build the new test.
25291
25292Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25293
25294 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25295 directly. Instead compare the return values from actual calls.
25296
25297Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25298
25299 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25300
25301Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25302
25303 * From Peter Schauer with minor modifications.
a9c64011
AS
25304 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25305 stops in mid-line in the caller. Add xfail for returning a float
25306 value on X86 targets.
c906108c
SS
25307
25308Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25309
25310 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25311 to avoid expect lossage.
25312 (fmem_LRbug_tests): Likewise.
25313 * gdb.disasm/hppa.s: Corresponding changes.
25314
25315 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25316 conditions to work with latest dejagnu/expect.
25317
25318 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25319 expected to fail on the PA.
25320 (backtrace in call with trampolines): Explicitly require main
25321 to be frame #1 (no trampolines should show up in backtrace).
25322
25323 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25324 "continue -expect".
25325 * gdb.t06/break.exp: Likewise.
25326 * gdb.t07/watchpoint.exp: Likewise.
25327 * gdb.t13/bitfields.exp: Likewise.
25328 * gdb.t15/{funcargs,return}.exp: Likewise.
25329 * gdb.stabs/weird.exp: Likewise.
25330 * config/{mips,udi}-gdb.exp: Likewise.
25331
25332 * hppa.sed: Enclose comments within a sed command to avoid
25333 losing with the old OSF1 sed.
25334
25335Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25336
25337 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25338 sequent dynix.
25339 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25340 * gdb.t15/funcargs.exp: Conditionally step again to really
25341 finish from marker_call_with_trampolines. Handle the case where
25342 the first step from within call_with_trampolines already steps
25343 us back to main.
25344 * gdb.t15/gdbme.c: Add comment to closing brace of
25345 call_with_trampolines for funcargs.exp.
25346
25347Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25348
d63a86f8 25349 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25350 Fix typo(s).
25351
25352Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25353
25354 * gdb.t07/gdbme.c: More code for watchpoint testing.
25355
25356 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25357 "Hardware watchpoint" throughout file.
25358 (test_watchpoint_triggered_in_syscall): New test.
25359 (test_complex_watchpoint): New test.
25360
25361Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25362
25363 * gdbme.c (call_with_trampolines): New function to try and step
25364 into. Tests trampoline problems on the PA.
25365
25366 * funcargs.exp (localvars_in_indirect_call): No longer expect
25367 stepping into indirect call to fail on PAs.
25368 (test_stepping_over_trampolines): New test.
25369
25370Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25371
25372 * TODO: Add suggestions for static member function tests, and
25373 completion tests.
25374
25375Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25376
25377 * TODO: Add suggestions for "p/a" tests.
25378
25379 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25380 (default_gdb_exit): Replace all the hair with sending "quit" to
25381 the process with a simple close.
25382
25383Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25384
25385 * TODO: Add suggestions for shared library tests.
25386
25387Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25388
25389 * TODO: Add suggestions for x/s tests.
25390
25391Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25392
25393 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25394 "enable once", and "enable breakpoints once" with ".*".
25395
25396Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25397
25398 * TODO: Add suggestions about structure passing tests.
25399
25400Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25401
25402 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25403 the primary1 test, use work around if __GNUC__ < 2.
25404 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25405 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25406 Test for bad output rather than waiting for timeout. Issue
25407 second continue only if first continue failed.
25408
25409Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25410
25411 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25412 operator[] test with gdb_test because the old code didn't seem to
25413 be getting the quoting right with the new dejagnu.
25414
25415Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25416
25417 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25418 one from the path.
25419 * Makefile.in: Use a fresh expect if there is one, use runtest
25420 from the src tree if there is one.
d63a86f8 25421
c906108c
SS
25422Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25423
25424 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25425 next over recursive call. Revise the tests from that point on
25426 (which had been skipped) to match GDB's actual (correct) output.
25427
25428 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25429 with next over a breakpoint whose condition is false.
25430
25431 * gdb.t00/help.exp: Comment out "help set print" tests just like
25432 (and for same reason as) "help set" test.
25433
25434Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25435
25436 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25437 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25438
25439Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25440
25441 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25442 necessary gdb_target_udi.
25443
25444 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25445
25446 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25447 1838 and 2417; they are fixed.
25448
25449 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25450 gdb.t03/ptype.exp (ptype structure, ptype union):
25451 Remove xfails; the test is looser than when the xfails were added.
25452
25453 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25454 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25455
25456 * gdb.t01/run.exp: Only run shell test if isnative.
25457
25458 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25459 since "run" automatically loads if necessary. Call gdb_target_udi
25460 after the "file" since "file" kills any execution target.
25461
25462 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25463 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25464 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25465 argument for UDI.
25466
25467Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25468
25469 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25470
25471 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25472
25473Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25474
25475 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25476 properly quoting regexps. This makes the second argument to
25477 demangle a fixed string, which matches the callers, instead of a
25478 shell-style pattern which is what the previous implementation
25479 used. Update some of the callers.
25480
25481Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25482
25483 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25484 (comib_nullified_tests): Fix typo.
25485 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25486 strings. No longer expected to fail.
25487
25488 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25489 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25490 strings. No longer expected to fail.
25491
25492 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25493 string. No longer expected to fail.
25494
25495Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25496
25497 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25498 No longer expected to fail.
25499
25500 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25501 string. No longer expected to fail.
25502
25503Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25504
25505 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25506 only in the names (I probably got most of them). I was even
25507 generous with some which differed in underscores in names, and
25508 probably missed a few, and I *still* was able to remove almost a
25509 third of the file with almost no impact on testsuite coverage.
25510
25511Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25512
25513 * gdb.t00/default.exp: Match udi_attach error message as well as
25514 the one from child_attach.
25515
25516 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25517
25518 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25519
25520 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25521 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25522
25523 * Move test with enums and partial symbols back to
25524 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25525 Reverts the change of 26 May 93. Per today's change to
25526 stabs.texinfo, the behavior that weird.exp was expecting was
25527 unreasonable; what is important is that the compiler+gdb get
25528 things right, which happens with a recent gcc. Also fix the test
25529 to deal with native compilers which put out the stab gdb can't
25530 deal with.
25531
25532Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25533
25534 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25535 in the names. The main thing these accomplish is to slow things down.
25536 Many more such duplicates surely remain.
25537
25538 * gdb.t00/help.exp: Comment out "help support" test just like
25539 (and for same reason as) "help set" test.
25540
25541Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25542
25543 * gdb.t06/break.exp: Remove setup_xfails for
25544 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25545 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25546 about known bug in gcc to include up through 2.5.8.
25547 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25548 well as "_vb$".
25549 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25550 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25551 with latest gcc and gdb.
25552 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25553 well as "_vb$".
25554
25555Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25556
25557 * configure.in (hppa*-*-*): Also configure and build stabs-only
25558 tests.
25559
25560Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25561
25562 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25563 * gdb.t10/configure.in (hppa*-*-*): Use it.
25564
25565Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25566
25567 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25568
25569Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25570
25571 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25572 versions prior to 1.13.5.
25573
25574Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25575
25576 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25577 the prompt is at the start of a line.
25578
25579Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25580
25581 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25582 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25583 in the copr tests now.
25584 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25585 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25586 expected to fail.
25587
25588Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25589
25590 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25591 gdb.t31/chillvars.exp, lib/gdb.exp:
25592 Tweak to run under either version of expect.
25593 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25594 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25595 * gdb.t11/list.exp: Remove extraneous whitespace.
25596
25597Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25598
25599 * gdb.t16/printcmds.exp (test_print_strings): Accept
25600 "(unsigned char *) " before the string.
25601
25602 * TODO: Add notes about printing of fancy types and GDB expressions.
25603
25604Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25605
25606 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25607 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25608 if doing mips-idt-ecoff.
c906108c
SS
25609
25610Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25611
25612 * Most .exp files: Tweak to run under either version of expect.
25613
25614Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25615
25616 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25617 xfails; I'm not sure why they are failing, but not because of PR 1806.
25618
25619Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25620
25621 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25622 defined in lib/gdb.exp.
25623
25624Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25625
25626 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25627 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25628 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25629 have to be typeless.
25630
25631Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25632
25633 * TODO: Add suggestion for copyright year test.
25634
25635Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25636
25637 * configure.in (*-*-lynxos*): Add stabs tests.
25638
25639Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25640
25641 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25642 so insert a tab before any assembler directive in column zero.
25643
25644 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25645 stores.
25646 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25647 stores.
25648 (fpu_short_memory_tests): Likewise.
25649
25650Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25651
25652 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25653 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25654 .stabs directives in comments.
25655
25656Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25657
25658 * TODO: New file, describing tests we could write.
25659 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25660
25661Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25662
25663 * gdb.t06/signals.exp: Add kludge to force re-sync.
25664
25665 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25666 to xgdb instead of gdb, get out of gdb.
25667
25668Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25669
25670 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25671 for info.
25672
25673Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25674
25675 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25676 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25677 * gdb.stabs/hppa.sed: New sed script for the PA.
25678
25679Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25680
25681 * gdb.stabs: Re-write weird.def and configuration to use sed
25682 instead of cpp. sed is portable and POSIX; cpp is neither.
25683
25684Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25685
25686 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25687
25688Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25689
25690 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25691
25692Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25693
25694 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25695 "_vb$".
25696 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25697 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25698
25699Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25700
25701 * lib/gdb.exp: Comment out code which depends on non-existent
25702 `transform' procedure.
25703
25704Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25705
25706 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25707 * lib/gdb.exp: Transform tool name.
25708 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25709 1.1's new error handling system.
25710
25711Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25712
25713 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25714
25715Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25716
25717 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25718 They made pattern matching so slow that timeouts happened on
25719 heavily loaded systems. Now any output from "show print" which
25720 gets us back to the GDB prompt is a PASS.
25721
25722Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25723
25724 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25725
25726Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25727
25728 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25729
25730 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25731 It is not from PR 3220.
25732
25733Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25734
25735 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25736 just started failing because they depended on the order the
25737 subcommands are presented, or exact docstring text. This kind of
25738 test is a pain and has minimal benefit.
25739
25740Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25741
25742 * gdb.t09/corefile.exp: At end of test, use "core" command with
25743 no arguments.
25744
25745Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25746
25747 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25748 17}/Makefile.in: Make it possible to run the testsuite with Sun
25749 make and CC = cross gcc by adding explicit build rules for .o
25750 files.
25751
25752Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25753
25754 * gdb.t15/funcargs.exp: Don't put comments on same line as
25755 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25756
c906108c
SS
25757Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25758
25759 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25760
25761Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25762
25763 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25764 * gdb.t20/inherit.exp: remove three dumplicate entries.
25765
25766Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25767
25768 * gdb.t06/break.exp: For "next over recursive call", fail on any
25769 incorrect output, not just on "factorial (value=2)".
25770
25771Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25772
25773 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25774 working now. Add an xfail if accesing a bss variable causes
25775 a memory error if the target is not yet run.
25776
25777Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25778
25779 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25780 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25781 name of __st* demangling (2 strings). Did Kung really get the
25782 more than 95 others right without testing them?
25783
25784Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25785
25786 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25787
25788Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25789
25790 * configure.in (configdirs): Add gdb.disasm
25791 * gdb.disasm: New directory for GDB disassembler tests.
25792 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25793
25794Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25795
25796 * gdb.t00/help.exp: Don't test "help set".
25797
25798 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25799 from within expect statements. None of these happen anymore and
25800 they cause regressions to be silently unnoticed.
25801
25802 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25803 messages) about known failures with gcc cygnus-2.4.5-930417.
25804
25805 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25806 comp-info.exp so it gets built if it doesn't exist.
25807
25808 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25809 it is no longer used.
25810 * gdb.t13/comp-info.c: Removed.
25811
25812Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25813
25814 * gdb.t06/signals.exp: Add xfail for sun3.
25815
25816Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25817
25818 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25819 relevant because ^C doesn't get sent but failure can be reproduced
25820 interactively).
25821
25822Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25823
25824 * gdb.stabs/alpha.mt: New configuration file for alpha.
25825 * gdb.stabs/configure.in: Use it.
25826 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25827 sharing with alpha.mt, redefine long to word via preprocessor.
25828 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25829 for alpha.
25830 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25831 native cc.
25832 * gdb.t00/teststrategy.exp: Change expect string so that we
25833 consume the `(xgdb)' from the command echo and from the gdb prompt.
25834 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25835 gdb currently compares all values as long, so this failure probably
25836 applies to any configuration where LONGEST is bigger than a target int.
25837 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25838 with gcc.
25839 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25840 to handle opaque pointers, gcc is.
25841 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25842 as first argument. Include <sys/types.h> and change all operator
25843 new definitions to use size_t.
25844 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25845 now that we use size_t.
25846
25847Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25848
a9c64011 25849 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25850 a long or float array cast all array members to the same type.
a9c64011 25851 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25852 with 64 bit longs.
a9c64011 25853 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25854 on alpha.
a9c64011 25855 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25856
25857Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25858
25859 * gdb.t24 (demangle.exp): Constructors of templates have names like
25860 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25861 section 14.6 of the ARM.
25862
25863 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25864 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25865 accomplish little and slow down the testsuite.
25866
25867 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25868 Accept spaces various places.
25869
25870Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25871
25872 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25873 with watchpoint enabled.
25874
25875 * Makefile.in: Remove definition of CC and remove the second
25876 definition of CXX (the "CXX = gcc" one remains). These definitions
25877 were causing backquotes to be expanded within backquotes, which
25878 doesn't work.
25879
25880Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25881
25882 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25883
25884Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25885
a9c64011
AS
25886 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25887 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25888 by mips cc and contains no stabs entries.
25889
25890Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25891
25892 * config/vx-gdb.exp: Use fake device to load files rather than
25893 NFS.
25894 * lib/gdb.exp: New proc to do "file" command.
25895 * config/unix-gdb.exp: Use new "file" proc.
25896
25897Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25898
25899 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25900 Rework board rebooting slightly.
25901 (gdb_exit): Don't exit from the remote shell; there isn't one.
25902 * gdb.stabs/weird.exp: If a program is being debugged already,
25903 kill it.
25904 * gdb.t04/setvar.exp: Stop and restart gdb.
25905 * gdb.t05/expr.exp: Likewise.
25906 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25907 restart gdb and reload the program.
25908 * gdb.t08/opaque.exp: Likewise.
25909 * gdb.t12/scope.exp: Likewise.
25910 * gdb.t13/bitfields.exp: Likewise.
25911 * gdb.t15/funcargs.exp: Likewise.
25912 * gdb.t20/classes.exp: Likewise.
25913 * gdb.t03/ptype.exp: Increase timeout.
25914 * gdb.t16/printcmds.exp (test_print_string_constants,
25915 test_print_array_constants): Likewise.
25916 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25917 * gdb.t20/classes.exp (do_tests): Likewise.
25918 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25919
25920Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25921
25922 * gdb.stabs: Renamed *wierd* to *weird*.
25923
25924Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25925
25926 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25927 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25928
25929Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25930
25931 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25932 (do_tests): Remove xfail for whatis on one_var and two_var.
25933
25934Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25935
25936 * Makefile.in: Made cross building work better by adding
25937 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25938
25939Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25940
25941 * gdb.t15/{return.c,return.exp,Makefile.in}:
25942 New test, currently commented out.
25943
25944Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25945
25946 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25947 still running and removes the leftover named socket so GDb can do
25948 clean restarts.
25949
25950Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25951
25952 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25953 console, not GDB.
25954 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25955 cross testing works better with "make check"
25956 * config/unix-gdb: Use default procedures for exit and version.
25957 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25958 with the newest VxWorks.
25959
25960Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25961
25962 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25963 old form.
25964
25965 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25966 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25967
25968 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25969
25970 * config/unix-gdb.exp: Remove this version of gdb_exit
25971 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25972 Rob says he'll look at it when he gets back to testing boards.
25973
25974Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25975
25976 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25977 an expected fail for certain ptype commands.
25978
25979 * gdb.t20/classes.exp: Update expected results of "ptype class
25980 Base1" to account for the constructor that now appears in the type.
25981
25982Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25983
25984 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25985 disappeared from list.
25986 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25987 "alldone" proc with call to cleanup and exit.
25988 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25989 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25990 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25991 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25992 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25993 "alldone" proc with simple returns that suppress remaining
25994 tests. The alldone proc went away many months ago.
25995
25996Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25997
25998 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25999
26000 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26001
26002Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26003
26004 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26005 as vax gdb will display them.
26006
26007Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26008
26009 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26010 optimizers.
26011
26012 * scope.exp: Change "bad value for localval" messages so each one
26013 is unique.
26014
26015 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26016 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26017
26018 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26019
26020Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26021
26022 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26023 doesn't exist (due to optimization).
26024
26025Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26026
26027 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26028 contains \r because the filename is long.
26029
26030 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26031 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26032
26033Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26034
26035 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26036 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26037 Ultrix.
26038 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26039 int tests.
26040 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26041
26042Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26043
26044 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26045
26046 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26047 to match does not match the passing case but still matches the
c906108c
SS
26048 failing case.
26049
26050Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26051
26052 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26053
26054Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26055
26056 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26057 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26058 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26059 Remove various versions of gdb_exit.
26060 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26061 gdb_exit.
26062 * config/unix-gdb.exp: gdb_exit remains here, and should override
26063 the generic version, since it's doing a lot of wierd stuff that
26064 the other versions aren't. FIXME, fold it in, or abandon this
26065 version.
26066
26067Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26068
26069 * gdb.t24/demangle.exp: Add tests for PR 3220.
26070
26071Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26072
26073 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26074
26075Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26076
26077 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26078 "i386-*-*". Works for i486 as well.
26079
26080 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26081 bug, and expand domain of xfail to all SVR4 systems, since the
26082 actual problem is likely to be in generic SVR4 /proc support.
26083
26084Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26085
26086 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26087
26088Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26089
26090 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26091 xfails for other systems. Match a missing 'Continuing.' as an
26092 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26093
26094 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26095 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26096 Only issue warning for missing executables if -all option is used.
26097
26098 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26099 file if -all option is used. It's like an unpredictable XFAIL.
26100
26101Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26102
26103 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26104 for dynamically linked binaries.
26105
26106 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26107
26108Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26109
26110 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26111 to state that this is a known bug in old versions of g++.
26112
26113Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26114
26115 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26116 while waiting for `Continuing'.
26117
26118Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26119
26120 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26121 in text, data, and bss.
26122 * gdb.t10/nodebug.c: Add local and global test variables for
26123 initialized and uninitialized data.
26124
26125Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26126
26127 * config/unix-gdb.exp (gdb_exit): Add "wait".
26128
26129Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26130
26131 * gdb.t06/signals.exp: xfail the continue from the handler for all
26132 targets.
26133
26134 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26135 function with watchpoints enabled, the i386 call dummy starts with
26136 a call.
26137
26138 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26139 386 bsd names its corefiles.
26140
26141Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26142
26143 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26144 compilers don't grok it.
26145 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26146 with small octal ints rather than character constants, which
26147 are signed and might not fit if first promoted to int.
26148
26149Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26150
26151 * gdb.t09/Makefile.in (clean): Remove corefile.
26152
26153Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26154
26155 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26156
26157Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26158 and Jim Kingdon (kingdon@cygnus.com)
26159
26160 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26161 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26162 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26163
26164Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26165
26166 * gdb.t17/interrupt.exp: Add xfail for hppa.
26167
26168Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26169
26170 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26171 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26172 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26173 to determine signed-ness of bitfields and use the result to setup
26174 the xfail.
26175 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26176 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26177 call line is reached if necessary.
26178
26179Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26180
26181 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26182
26183Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26184
26185 * gdb.t06/break.exp: Also test `clear' command.
26186
26187Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26188
26189 * gdb.t00/teststrategy.exp: Remove extra quote.
26190
26191 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26192 watchpoint enabled to be for all non-68k machines.
26193
26194 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26195
26196Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26197
26198 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26199 targets use aout.mt instead of ecoff.mt as gas understands
26200 standard aout format.
26201
26202Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26203
26204 * lib/gdb.exp (runto): Don't insist that function we are running to
26205 was compiled with -g.
26206
26207 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26208
26209 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26210 to get back into the read system call.
26211 Accept leading newline in case where we woke it up.
26212
26213Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26214
26215 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26216 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26217 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26218 enable ecoff configuration.
26219
26220Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26221
26222 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26223
26224Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26225
26226 * gdb.t16/printcmds.exp: Add another printf test.
26227
26228Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26229
26230 * configure.in: If configured -with-stabs on any target, add
26231 stabsdirs to configdirs.
26232
26233Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26234
26235 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26236 fun" so pattern does not match the command itself.
26237
26238Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26239
26240 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26241
26242Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26243
26244 * gdb.t17/interrupt.exp: Test for more things.
26245
26246Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26247
26248 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26249 compiler arranges the code and line numbers.
26250
26251 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26252
26253Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26254
26255 * gdb.t00/help.exp: Increase expect input buffer size.
26256
26257Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26258
26259 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26260
26261 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26262
26263 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26264
26265 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26266 [0-9]*, not just [0-9].
26267
26268Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26269
26270 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26271
26272 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26273
26274Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26275
26276 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26277
26278Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26279
26280 * gdb.t06/signals.c: Add xfails for sun3.
26281
26282 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26283
26284 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26285 test_stepping tests.
26286
26287Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26288
26289 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26290
26291 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26292
26293 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26294 rather than actually putting it through cpp twice.
26295
26296 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26297
26298Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26299
26300 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26301 no longer needed.
26302
26303Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26304
26305 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26306
26307 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26308 C++ features prints as "struct", make it a pass, not an xfail.
26309
26310Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26311
26312 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26313 Don't require VA to print as "class" rather than "struct".
26314
26315Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26316
26317 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26318
26319Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26320
26321 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26322
26323Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26324
26325 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26326 order.
26327
26328Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26329
26330 * gdb.t16/printcmds.exp: Add printf tests.
26331
26332 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26333
26334 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26335
26336Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26337
26338 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26339 pass counts, to counteract any existing or future setup_xfails.
26340
26341Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26342
26343 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26344 {BEGIN,END}_COMMON for common block instead of STAB.
26345 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26346
26347 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26348 intp_var should be N_GSYM not N_LSYM.
26349 wierd-aout.S: Use a label for the value of the N_SO.
26350 wierd.def: Remove all backslashes.
26351 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26352
26353Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26354
26355 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26356 get the expected next to inheritance3.
26357
26358Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26359
26360 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26361 now that gcc-2.4 gets it right.
26362
26363Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26364
26365 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26366
26367 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26368 generating comp-info.exp which works for cross-compilation.
26369
26370Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26371
26372 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26373 "*-*-sysv4.*".
26374
26375Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26376
26377 * gdb.t01/run.exp: Start with a fresh gdb.
26378 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26379 SVR4.x.
26380
26381Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26382
26383 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26384 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26385 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26386 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26387 things to remove.
26388
26389Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26390
26391 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26392 test cases from bug reports.
26393
26394Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26395
26396 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26397 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26398 avoid spurious xfails.
26399 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26400 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26401 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26402
26403Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26404
26405 * gdb.t00/teststrategy.exp: Rework to provide more useful
26406 description of each test, fix problem with systems that define
26407 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26408 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26409 results for "next over recursive call" so timeouts aren't taken
26410 by error.
26411
26412Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26413
26414 * gdb.t12/scope.exp: Test printing of variables before run.
26415
26416 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26417 printed in wrong order due to sorting.
26418
26419Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26420
26421 * gdb.t00/teststrategy.exp: Fix expected results for printing
26422 user entered string constant. Is array of char, prints with no
26423 address.
26424
26425 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26426 commands.
26427 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26428 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26429 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26430 of struct of char arrays.
26431 * gdb.t00/radix.exp: New tests for radix commands.
26432
26433Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26434
26435 * gdb.t16/printcmd.exp: Print a variable before running program
26436 (with xfail for AIX).
26437
26438Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26439
26440 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26441
26442 * gdb.t16/printcmd.exp: Don't print variables before running program.
26443
26444 * gdb.t06/break.exp: Don't require envp argument to main.
26445
26446 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26447
26448 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26449 Add xfails for rs6000.
26450
26451 * gdb.t02/whatis.exp: Change other tests not to re-test something
26452 we already tested.
26453
26454 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26455 each type used has a variable of that type.
26456
26457Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26458
26459 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26460
26461Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26462
26463 * configure.in: change srctrigger to be a file, not a directory
26464
26465Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26466
26467 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26468
26469 * gdb.t11/list.exp: Fixed a couple of typos.
26470
26471Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26472
26473 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26474 is fixed and PR is closed.
26475 * gdb.t16 (gdbme.c): Add simple test string variable.
26476 * gdb.t16 (printcmds.exp): Add tests with simple test string
26477 variable, primarily for boundaries on "set print elements".
26478
26479Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26480
26481 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26482 Make leading 0's optional and don't expect a tab in the middle
26483 of the number.
26484
26485 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26486
26487 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26488 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26489 don't end command passed to gdb_test with newline.
26490
26491 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26492 signed keyword away, don't expect signed bitfields to be signed.
26493
26494 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26495 printing with only as many 1's as are in the field as well as printing
26496 with 32 1's (see comment).
26497
26498Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26499
26500 * gdb.t00/default.exp: Start with a fresh gdb.
26501 * configure.in (configdirs): Remove gdb.t31 until the chill
26502 compiler works again. It no longer is able to find chillrt0
26503 since it isn't in libchill.a anymore.
26504 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26505 wierd.o, make more modular.
26506 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26507 spurious newlines that caused problems.
26508
26509Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26510
26511 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26512 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26513 gdb.stabs/wierd.{exp,def}: Many new tests.
26514
26515 * gdb.t00/default.exp: update info line for new message.
26516
26517 * gdb.t02/{whatis.exp,gdbme.c}:
26518 Test that "char *" doesn't print as "caddr_t".
26519
26520Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26521
26522 * gdb.t00/help.exp: Use .* in place of some help messages which
26523 just changed.
26524 gdb.t00/default.exp: Update "info frame" test for new message.
26525 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26526 Remove some xfails
26527
26528Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26529
26530 * gdb.t03/{gdbme.c,ptype.exp}:
26531 Add tests for typedef'd struct and union without tags.
26532 Also check "whatis" on a variable of a typedef'd enum without a tag.
26533
26534 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26535 PRMS 1823; the bug still exists but isn't reproduced by this test
26536 anymore), and remove rs6000 XFAIL (the bug is fixed).
26537
26538 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26539 duplicated from whatis.exp. For those that are left, accept
26540 "long", "long int", or "int" for long variables (whatis.exp already
26541 has an XFAIL for "int", so no need to fail it here).
26542
26543 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26544 Deal with GCC's names for types now that GDB uses the compiler's names.
26545
26546 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26547 setup_xfail's for sunos4. If we #defined the signed keyword away,
26548 don't expect GDB to know that char it is signed.
26549
26550 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26551
26552Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26553
26554 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26555 should work on any system, regardless of debugging format.
26556 * gdb.t21/demangle.exp: Move to gdb.t24.
26557 * gdb.t24/demangle.exp: Move from gdb.t21.
26558 * gdb.t24/{Makefile.in, configure.in}: New files.
26559
26560Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26561
26562 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26563 * gdb.stabs: New directory.
26564
26565Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26566
26567 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26568 not just "Quit anyway?".
26569
26570Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26571
26572 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26573 that all setup_xfails are immediately followed by clear_xfails.
26574
26575Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26576
26577 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26578 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26579 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26580 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26581 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26582 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26583 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26584 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26585 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26586 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26587 gdb.t31/chillvars.exp, lib/gdb.exp:
26588 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26589 bug-gdb@prep.ai.mit.edu.
26590
26591Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26592
26593 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26594 with 0.0, not integer 0.
26595
26596Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26597
26598 * gdb.t06/break.exp: Update for "Kill the program" message change.
26599
26600Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26601
26602 * Makefile.in (GDBFLAGS): Set to -nx.
26603 * Makefile.in (site.exp): Use GDBFLAGS.
26604
26605Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26606
26607 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26608 Makefiles.
26609 (check): depend on just-check.
26610 (just-check): added so that tests can be run without a noop
26611 build pass.
26612
26613Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26614
26615 Switch to using configure's configdirs.
26616 * Makefile.in (Makefile): add configure.in dependency.
26617 (SUBDIRS): removed redundant assignment.
26618 * configure.in: switch subdirs assignment to configdirs.
26619 * gdb.t*/configure.in: new files.
26620
26621Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26622
26623 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26624 works.
26625
26626Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26627
26628 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26629 in explicit rules. Apparently this is not supported by some makes.
26630
26631Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26632
26633 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26634
26635Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26636
26637 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26638 disappeared.
26639
26640Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26641
26642 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26643
26644Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26645
26646 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26647 watchpoint problem that is now fixed.
26648 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26649 uninitialized convenience variables.
26650 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26651 structures.
26652
26653Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26654
26655 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26656 which causes expect to get out of sync with gdb on long output
26657 from help set.
26658 * gdb.t09/corefile.exp: Make expected pattern for core file
26659 failing signal and frame output format less sun specific.
26660
26661Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26662
26663 * gdb.t31/chillvars.exp: Add and remove initial dummy
26664 breakpoint, so that symbol table is forced in.
26665 (Needed at least on Sunos4, though it seems not SVR4.)
26666 * gdb.t31/chillvars.exp: Update for changed output format.
26667
26668Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26669
a9c64011 26670 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26671
26672Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26673
26674 * Makefile.in: Added --srcdir when invoking runtest, removed the
26675 need for a local config file. (optional now)
26676
26677Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26678
26679 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26680 failure count used to force early termination. Add some more
26681 expected failures for gnu style demangling.
26682
26683Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26684
26685 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26686 pmi variable from gdb.t20/gdbme to get optimized away.
26687 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26688 Check for written corefile upon timeout _and_ eof.
26689
26690Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26691
26692 * config/unix-gdb.exp: Add missing return 0.
26693
26694Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26695
26696 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26697 test termination.
26698
26699Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26700
26701 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26702 disappeared.
26703
26704Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26705
26706 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26707 time as i860 support works.
26708
d63a86f8 26709 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26710 "backtrace 100\r" rather than just "backtrace\r", to match last
26711 change.
26712
26713Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26714
26715 * config/udi-gdb.exp (gdb_exit): Remove close command.
26716 (gdb_target_udi): New procedure to set the UDI target.
26717 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26718 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26719 Added waits for prompts after several question responses. Added
26720 some more responses used by a29k-amd-udi-gdb.
26721 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26722 pass different arguments, restart UDI connection after program
26723 completion.
26724 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26725 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26726 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26727 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26728 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26729 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26730 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26731 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26732 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26733 after program completion.
26734 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26735 compiled with a SELECT_VECS setting.
26736 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26737 infinite recursion.
26738
26739 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26740 Added checks for COFF results, and made them expected failures for
26741 all targets. It would be better to make them expected failures
26742 for COFF targets only.
26743
26744Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26745
26746 * Makefile.in: add null dvi target, don't bother to recurse
26747 through test directories for info and install-info; rename
26748 $(datadir) to be dejagnu instead of deja-gnu
26749
26750Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26751
26752 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26753 compiler to coredump.
26754 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26755 code.
26756
26757Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26758
26759 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26760 coredump.
26761 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26762 code.
26763
26764Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26765
26766 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26767 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26768 which in a shell. Deletes xgdb when done.
26769 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26770 Tests the return from the "set height" or "set width" commands.
26771 Added a few return codes where needed.
26772
26773Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26774
26775 * Makefile.in (SUBDIRS): Add gdb.t17.
26776 * configure.in (subdirs): Add gdb.t17.
26777 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26778 files to test gdb's calling of functions in the inferior with
26779 the correct arguments and gdb's ability to retrieve any
26780 result returned.
26781
26782Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26783
26784 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26785 may be called after gdb goes away. Previous versions of expect
26786 needed these to avoid file descriptor leaks, but they cause
26787 errors with the current revision of expect.
26788 * gdb.t00/gdbvars.exp: Use -re on expected output after
26789 setting sevenbit-strings.
26790 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26791 to set sevenbit-strings consistent across tests.
26792 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26793 set sevenbit-strings consistent across tests.
26794
26795Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26796
26797 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26798 expected output to match current "expect" expectations.
26799
26800Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26801
26802 * gdb.t00/default.exp: Change expected output for default "source"
26803 command, to match new gdb behavior which requires a filename to
26804 source.
26805
26806Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26807
26808 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26809 expected fail for i486-*-* that misses the marker2 function.
26810 * gdb.t10/crossload.exp (bfddefault): Allow successful
26811 recognition of a format to pass even if no symbols are found.
26812 Explicitly catch failures where the format is not recognized
26813 or is ambiguous, and add the reason to the fail message.
26814 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26815 the cause is and invalid target and add reason to failure message.
26816 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26817 elf32-i386, elf32-sparc, and elf32-i860.
26818 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26819 Set up expected failure for 'filename'::variable scope resolution,
26820 which is now apparently broken on all targets.
26821 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26822 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26823 gdb.t23/templates.exp: Change failure for missing binfile into
26824 just a warning.
26825 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26826 references.
26827
26828Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26829
26830 * gdb.t00/default.exp: Add expected output for default "source"
26831 command, to match new gdb behavior.
26832 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26833
26834Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26835
26836 * config/*-gdb.exp: returns an error, rather than exiting on
26837 internal errors.
26838
26839Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26840
26841 * gdb.t03/gdbme.c: Add pointer to struct variable.
26842 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26843 referencing struct members.
26844
26845Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26846
26847 * configure.in (mips-idt-ecoff): New target.
26848 * config/mips-gdb.exp: New file for remote board using MIPS remote
26849 debugging protocol.
26850
26851 * Redid configuration scheme. Removed gdb.t*/configure.in.
26852 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26853 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26854 distclean targets. Built executables via .o files. Adjusted
26855 tests to account for source files in $(srcdir) rather than
26856 $(objdir).
26857 * lib/gdb.exp (runto): Don't expect () after the function name,
26858 because it may have arguments.
26859
26860Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26861
26862 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26863 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26864 expected failures for mips-idt-* and mips-sgi-*.
26865 * gdb.t00/default.exp (attach): Kill process if requested.
26866 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26867 that does not read core files.
26868 * gdb.t01/run.exp: Removed checks for exit status code.
26869 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26870 it is linked in.
26871 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26872 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26873 appropriate, rather than doing it by hand.
26874 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26875 execution.
26876 * gdb.t10/crossload.exp: Kill existing program if needed.
26877 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26878 appropriate, rather than doing it by hand. Always increase
26879 timeout for this test, not just for VxWorks.
26880
26881Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26882
26883 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26884 of Chill STRUCT types and STRUCT values.
26885 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26886 than "char".
26887 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26888 struct2): New struct definitions and initializations to test
c906108c
SS
26889 simple Chill STRUCT types.
26890
26891Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26892
26893 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26894 the null byte at the end of strings.
26895 * gdb.t00/default.exp: Make show version insensitive to copyright
26896 date.
26897 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26898 to avoid dependencies on target char signedness.
26899 * gdb.t16/printcmds.exp: Update expected results for explicitly
26900 unsigned char.
26901 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26902 now work.
26903 * gdb.t21/demangle.exp: Add many more patterns for template
26904 demangling, most of them being expected failures.
26905 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26906 string we are matching for, to match on the whole string.
26907 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26908 and fix a whole bunch that had incorrect expected output but were
26909 passing anyway because of the bug in "proc demangle".
26910 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26911 type.
26912 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26913
26914Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26915
a9c64011
AS
26916 * gdb/testsuite: made modifications to testcases, etc., to allow
26917 them to work properly given the reorganization of deja-gnu and the
26918 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26919
26920Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26921
26922 * gdb/testsuite: Initial creation of gdb/testsuite.
26923 Migrated dejagnu testcases and support files for testing nm to
26924 gdb/testsuite from deja-gnu. These files were moved "as is"
26925 with no modifications. This migration is part of a major overhaul
26926 of dejagnu. The modifications to these testcases, etc., which
26927 will allow them to work with the new version of dejagnu will be
26928 made in a future update.
48efe704 26929
8d8cb839 26930 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26931\f
8d8cb839
EZ
26932;; Local Variables:
26933;; mode: change-log
26934;; left-margin: 8
26935;; fill-column: 74
26936;; version-control: never
26937;; End:
902f2ccb 26938
0b302171 26939 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26940 Copying and distribution of this file, with or without modification,
26941 are permitted provided the copyright notice and this notice are preserved.